Move SPARC public headers out of nptl/
[glibc.git] / ChangeLog
blob83764a5840fc6a25c0dabed2beab130b0a73ff2d
1 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10         * nptl/sysdeps/sparc/Makefile: Moved ...
11         * sysdeps/sparc/nptl/Makefile: ... here.
12         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14         * nptl/sysdeps/sparc/tls.h: Moved ...
15         * sysdeps/sparc/nptl/tls.h: ... here.
16         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
21         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34         Update #include.
35         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37         Update #include.
38         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
40         Update #include.
41         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43         Update #include.
45         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50         * sysdeps/pthread/posix-timer.h: Include <list.h>.
51         (struct list_links): Type removed.
52         (struct thread_node, struct timer_node): Replace struct list_links
53         with struct list_head.
54         (list_unlink_ip): Likewise.
55         * sysdeps/pthread/timer_routines.c
56         (timer_free_list, thread_free_list, thread_active_list): Likewise.
57         (list_append, list_insbefore): Likewise.
58         (list_init): Function removed.
59         (thread_init, init_module): Use INIT_LIST_HEAD instead.
60         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
61         * sysdeps/pthread/Makefile: ... here, new file.
63         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
64         * sysdeps/nptl/Implies: ... here.
65         * sysdeps/unix/sysv/linux/Implies: Add nptl.
66         * nptl/sysdeps/pthread/list.h: Moved ...
67         * include/list.h: ... here.
68         * nptl/sysdeps/pthread/createthread.c: Moved ...
69         * nptl/createthread.c: ... here.
70         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
71         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
72         * nptl/pt-longjmp.c: ... here.
73         * nptl/sysdeps/pthread/Makefile: Moved ...
74         * sysdeps/nptl/Makefile: ... here.
75         * nptl/sysdeps/pthread/Subdirs: Moved ...
76         * sysdeps/nptl/Subdirs: ... here.
77         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
78         * sysdeps/nptl/aio_misc.h: ... here.
79         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
80         * sysdeps/nptl/bits/libc-lock.h: ... here.
81         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
82         * sysdeps/nptl/bits/libc-lockP.h: ... here.
83         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
84         * sysdeps/nptl/bits/stdio-lock.h: ... here.
85         * nptl/sysdeps/pthread/configure: Moved ...
86         * sysdeps/nptl/configure: ... here.
87         * nptl/sysdeps/pthread/configure.ac: Moved ...
88         * sysdeps/nptl/configure.ac: ... here.
89         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
90         * sysdeps/nptl/gai_misc.h: ... here.
91         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
92         * sysdeps/nptl/librt-cancellation.c: ... here.
93         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
94         * sysdeps/nptl/malloc-machine.h: ... here.
95         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
96         * sysdeps/nptl/pthread-functions.h: ... here.
97         * nptl/sysdeps/pthread/pthread.h: Moved ...
98         * sysdeps/nptl/pthread.h: ... here.
99         * nptl/sysdeps/pthread/setxid.h: Moved ...
100         * sysdeps/nptl/setxid.h: ... here.
101         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
102         * sysdeps/nptl/sigfillset.c: ... here.
103         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
104         * sysdeps/nptl/tcb-offsets.h: ... here.
105         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
106         * sysdeps/nptl/tst-mqueue8x.c: ... here.
107         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
108         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
109         * nptl/sysdeps/pthread/allocalim.h: Moved ...
110         * sysdeps/pthread/allocalim.h: ... here.
111         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
112         * sysdeps/pthread/bits/sigthread.h: ... here.
113         * nptl/sysdeps/pthread/flockfile.c: Moved ...
114         * sysdeps/pthread/flockfile.c: ... here.
115         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
116         * sysdeps/pthread/ftrylockfile.c: ... here.
117         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
118         * sysdeps/pthread/funlockfile.c: ... here.
119         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
120         * sysdeps/pthread/posix-timer.h: ... here.
121         * nptl/sysdeps/pthread/timer_create.c: Moved ...
122         * sysdeps/pthread/timer_create.c: ... here.
123         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
124         * sysdeps/pthread/timer_delete.c: ... here.
125         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
126         * sysdeps/pthread/timer_getoverr.c: ... here.
127         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
128         * sysdeps/pthread/timer_gettime.c: ... here.
129         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
130         * sysdeps/pthread/timer_routines.c: ... here.
131         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
132         * sysdeps/pthread/timer_settime.c: ... here.
133         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
134         * sysdeps/pthread/tst-timer.c: ... here.
135         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
136         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
138         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
139         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
141         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
142         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
143         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
144         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
145         Update #include target.
146         * nptl/sysdeps/i386/i686/Makefile: Moved ...
147         * sysdeps/i386/i686/nptl/Makefile: ... here.
148         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
149         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
150         Update #include target.
151         * nptl/sysdeps/i386/i686/tls.h: Moved ...
152         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
153         * nptl/sysdeps/i386/Makefile: Moved ...
154         * sysdeps/i386/nptl/Makefile: ... here.
155         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
156         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
157         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
158         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
159         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
160         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
161         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
162         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
163         * sysdeps/i386/nptl/pthreaddef.h: ... here.
164         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
165         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
166         * nptl/sysdeps/i386/tls.h: Moved ...
167         * sysdeps/i386/nptl/tls.h: ... here.
169         * sysdeps/sh/Makefile [$(subdir) = csu]
170         (gen-as-const-headers): Add tcb-offsets.sym.
171         * nptl/sysdeps/sh/Makefile: File removed.
172         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
173         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
174         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
175         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
176         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
177         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
178         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
179         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
180         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
181         * sysdeps/sh/nptl/pthreaddef.h: ... here.
182         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
183         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
184         * nptl/sysdeps/sh/tls.h: Moved ...
185         * sysdeps/sh/nptl/tls.h: ... here.
186         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
187         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
188         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
189         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
190         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
191         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
192         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
193         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
194         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
195         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
197         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
199         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
201         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
203         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
205         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
207         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
211         Moved ...
212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
214         Moved ...
215         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
219         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
220         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
221         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
222         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
223         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
224         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
225         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
226         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
227         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
228         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
229         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
230         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
231         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
232         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
233         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
235 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
237         * posix/spawn_faction_addopen.c: Include string.h.
239 2014-06-11  Roland McGrath  <roland@hack.frob.com>
241         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
242         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
243         * nptl/sysdeps/x86_64/Makefile: Moved ...
244         * sysdeps/x86_64/nptl/Makefile: ... here.
245         * nptl/sysdeps/x86_64/configure: Moved ...
246         * sysdeps/x86_64/nptl/configure: ... here.
247         * nptl/sysdeps/x86_64/configure.ac: Moved ...
248         * sysdeps/x86_64/nptl/configure.ac: ... here.
249         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
250         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
251         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
252         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
253         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
254         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
255         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
256         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
257         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
258         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
259         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
260         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
261         * nptl/sysdeps/x86_64/tls.h: Moved ...
262         * sysdeps/x86_64/nptl/tls.h: ... here.
263         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
264         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
265         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
266         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
268         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
270 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
274 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
276         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
277         type.
278         [POSIX] (off_t): Likewise.
279         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
280         [POSIX] (S_ISBLK): Require macro.
281         [POSIX] (S_ISCHR): Likewise.
282         [POSIX] (S_ISDIR): Likewise.
283         [POSIX] (S_ISFIFO): Likewise.
284         [POSIX] (S_ISREG): Likewise.
285         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
286         optional-macro.
287         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
288         type.
289         [POSIX] (time_t): Likewise.
290         [POSIX] (timer_t): Likewise.
292 2014-06-11  Florian Weimer  <fweimer@redhat.com>
294         [BZ #17048]
295         * posix/spawn_int.h (struct __spawn_action): Make the path string
296         non-const to support deallocation.
297         * posix/spawn_faction_addopen.c
298         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
299         * posix/spawn_faction_destroy.c
300         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
301         path in all spawn_do_open actions.
302         * posix/tst-spawn.c (do_test): Exercise the copy operation in
303         posix_spawn_file_actions_addopen.
305 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
307         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
308         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
309         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
310         conditional code always true.
311         (__libc_vfork): New alias.
313 2014-06-11  Roland McGrath  <roland@hack.frob.com>
315         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
316         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
318         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
320         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
321         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
323         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
324         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
326         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
327         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
329 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
331         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
332         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
333         multiarch strcmp for PPC64.
334         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
335         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
337         multiarch optimizations.
338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
339         (__libc_ifunc_impl_list): Likewise.
341 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
343         * benchtests/scripts/validate_benchout.py: New script.
344         * benchtests/Makefile (bench-func): Call it.
345         * benchtests/scripts/benchout.schema.json: New file.
347 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
349         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
350         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
351         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
352         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
353         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
354         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
355         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
356         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
357         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
358         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
359         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
360         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
361         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
362         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
363         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
364         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
366         Moved ...
367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
368         ... here.
369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
370         Moved ...
371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
373         Moved ...
374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
375         ... here.
376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
377         Moved ...
378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
379         ... here.
380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
381         Moved ...
382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
384         Moved ...
385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
386         ... here.
387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
388         Moved ...
389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
390         ... here.
391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
392         Moved ...
393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
395         Moved ...
396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
397         ... here.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
399         Moved ...
400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
401         ... here.
402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
403         Moved ...
404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
405         ... here.
406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
407         Moved ...
408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
410         Moved ...
411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
412         ... here.
413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
414         Moved ...
415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
416         ... here.
417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
418         Moved ...
419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
420         ... here.
421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
422         Moved ...
423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
425         Moved ...
426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
427         ... here.
428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
429         Moved ...
430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
431         ... here.
432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
433         Moved ...
434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
436         Moved ...
437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
438         ... here.
439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
440         Moved ...
441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
443         Moved ...
444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
446         Moved ...
447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
448         ... here.
449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
450         Moved ...
451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
452         ... here.
453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
454         Moved ...
455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
456         ... here.
457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
458         Moved ...
459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
461         Moved ...
462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
463         ... here.
464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
465         Moved ...
466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
467         ... here.
468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
469         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
471         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
473         Moved ...
474         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
475         ... here.
476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
477         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
481         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
487         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
489         Moved ...
490         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
492         Moved ...
493         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
495         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
497         Moved ...
498         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
500         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
501         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
502         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
503         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
504         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
506 2014-06-10  Wilco  <wdijkstr@arm.com>
508         * math/test-fenv-return.c: New file.
509         * math/Makefile: Add new test test-fenv-return.
511 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
513         [BZ #17042]
514         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
515         when x - 1 is zero.
516         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
517         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
518         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
519         0.0L for an argument of 1.0L.
520         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
521         Likewise.
522         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
523         value when x - 1 is zero.
524         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
525         * sysdeps/i386/fpu/libm-test-ulps: Update.
526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
528 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
530         [BZ #15119]
531         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
533 2014-06-09  Roland McGrath  <roland@hack.frob.com>
535         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
536         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
538 2014-06-09  Roland McGrath  <roland@hack.frob.com>
540         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
541         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
543         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
544         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
546         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
547         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
549         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
550         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
552         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
553         if not already defined.
554         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
555         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
556         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
557         (TLS_INIT_TP): Use it.
558         (TLS_DEFINE_INIT_TP): New macro.
559         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
561 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
563         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
564         constant.
565         [POSIX] (IXANY): Likewise.
566         [POSIX] (OLCUC): Likewise.
567         [POSIX || POSIX2008] (CBAUD): Do not allow.
568         [POSIX || POSIX2008] (DEFECHO): Likewise.
569         [POSIX || POSIX2008] (ECHOCTL): Likewise.
570         [POSIX || POSIX2008] (ECHOKE): Likewise.
571         [POSIX || POSIX2008] (ECHOPRT): Likewise.
572         [POSIX || POSIX2008] (EXTA): Likewise.
573         [POSIX || POSIX2008] (EXTB): Likewise.
574         [POSIX || POSIX2008] (FLUSHO): Likewise.
575         [POSIX || POSIX2008] (LOBLK): Likewise.
576         [POSIX || POSIX2008] (PENDIN): Likewise.
577         [POSIX || POSIX2008] (SWTCH): Likewise.
578         [POSIX || POSIX2008] (VDISCARD): Likewise.
579         [POSIX || POSIX2008] (VDSUSP): Likewise.
580         [POSIX || POSIX2008] (VLNEXT): Likewise.
581         [POSIX || POSIX2008] (VREPRINT): Likewise.
582         [POSIX || POSIX2008] (VSTATUS): Likewise.
583         [POSIX || POSIX2008] (VWERASE): Likewise.
584         (B*): Change to B[0123456789]*.
585         * conform/data/time.h-data [POSIX || UNIX98]
586         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
587         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
588         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
589         [POSIX] (tm_*): Do not allow.
591 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
593         * Makefile (install): Don't set LANGUAGE.
594         * Makefile.in (install): Likewise.
595         * assert/Makefile (test-assert-ENV): Remove variable.
596         (test-assert-perr-ENV): Likewise.
597         * elf/Makefile (neededtest4-ENV): Likewise.
598         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
599         [$(cross-compiling) = no]: Don't set LANGUAGE.
600         * io/ftwtest-sh (LANG): Remove variable.
601         * libio/Makefile (tst-widetext-ENV): Likewise.
602         * manual/install.texi (Running make install): Don't refer to
603         environment settings for make install.
604         * INSTALL: Regenerated.
605         * nptl/tst-tls6.sh: Don't set LANG.
606         * posix/globtest.sh (LANG): Remove variable.
607         * string/Makefile (tester-ENV): Likewise.
608         (inl-tester-ENV): Likewise.
609         (noinl-tester-ENV): Likewise.
610         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
611         [$(cross-compiling) = no]: Don't set LANGUAGE.
612         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
613         without explicit environment settings.
615 2014-06-06  Roland McGrath  <roland@hack.frob.com>
617         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
618         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
619         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
620         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
622 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
624         * crypt/crypt-private.h [DOS]: Add some includes taken from the
625         other files in the crypt directory.
626         * crypt/crypt.c: Remove duplicate includes.
627         * crypt/crypt-entry.c: Likewise.
628         * crypt/crypt_util.c: Likewise.
630 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
632         * Makeconfig (run-program-env): New variable.
633         (run-program-prefix-before-env): Likewise.
634         (run-program-prefix-after-env): Likewise.
635         (run-program-prefix): Define in terms of new variables.
636         (built-program-cmd-before-env): New variable.
637         (built-program-cmd-after-env): Likewise.
638         (built-program-cmd): Define in terms of new variables.
639         (test-program-prefix-before-env): New variable.
640         (test-program-prefix-after-env): Likewise.
641         (test-program-prefix): Define in terms of new variables.
642         (test-program-cmd-before-env): New variable.
643         (test-program-cmd-after-env): Likewise.
644         (test-program-cmd): Define in terms of new variables.
645         * Rules (make-test-out): Use $(run-program-env).
646         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
647         (help): Do not mention environment variables.  Mention
648         --timeoutfactor option.
649         (timeoutfactor): New variable.
650         (blacklist_exports): Remove function.
651         (exports): Remove variable.
652         (command): Do not include ${exports}.
653         * manual/install.texi (Configuring and compiling): Do not mention
654         test wrappers preserving environment variables.  Mention that last
655         assignment to a variable must take precedence.
656         * INSTALL: Regenerated.
657         * benchtests/Makefile (run-bench): Use $(run-program-env).
658         * catgets/Makefile ($(objpfx)test1.cat): Use
659         $(built-program-cmd-before-env), $(run-program-env) and
660         $(built-program-cmd-after-env).
661         ($(objpfx)test2.cat): Do not specify environment variables
662         explicitly.
663         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
664         $(run-program-env) and $(built-program-cmd-after-env).
665         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
666         $(run-program-env) and $(test-program-cmd-after-env).
667         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
668         explicitly.
669         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
670         run_program_env and test_program_cmd_after_env arguments.
671         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
672         * elf/tst-pathopt.sh: Use run_program_env argument.
673         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
674         $(test-wrapper-env) and $(run-program-env).
675         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
676         run_program_env arguments.
677         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
678         * intl/Makefile ($(objpfx)tst-gettext.out): Use
679         $(test-program-prefix-before-env), $(run-program-env) and
680         $(test-program-prefix-after-env).
681         ($(objpfx)tst-gettext2.out): Likewise.
682         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
683         run_program_env and test_program_prefix_after_env arguments.
684         * intl/tst-gettext2.sh: Likewise.
685         * intl/tst-gettext4.sh: Do not set environment variables
686         explicitly.
687         * intl/tst-gettext6.sh: Likewise.
688         * intl/tst-translit.sh: Likewise.
689         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
690         $(test-program-prefix-before-env), $(run-program-env) and
691         $(test-program-prefix-after-env).
692         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
693         run_program_env and test_program_prefix_after_env arguments.
694         * math/Makefile (run-regen-ulps): Use $(run-program-env).
695         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
696         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
697         explicitly with each use of ${test_wrapper_env}.
698         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
699         $(test-program-prefix-before-env), $(run-program-env) and
700         $(test-program-prefix-after-env).
701         * posix/tst-getconf.sh: Do not set environment variables
702         explicitly.
703         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
704         run_program_env and test_program_prefix_after_env arguments.
705         * stdio-common/tst-printf.sh: Do not set environment variables
706         explicitly.
707         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
708         $(test-program-prefix-before-env), $(run-program-env) and
709         $(test-program-prefix-after-env).
710         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
711         run_program_env and test_program_prefix_after_env arguments.
712         Split $test calls into $test_pre and $test.
713         * timezone/Makefile (build-testdata): Use
714         $(built-program-cmd-before-env), $(run-program-env) and
715         $(built-program-cmd-after-env).
717 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
719         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
720         strlen for non SHARED builds.
722 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
724         * nptl/allocatestack.c (check_list): Inlined function...
725         (__reclaim_stacks): ... here.
727 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
729         [BZ #15698]
730         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
731         memory overrun.
733 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
735         * Rules (make-test-out): Include
736         LOCPATH=$(common-objpfx)localedata in default environment.
737         * debug/Makefile (tst-chk1-ENV): Remove variable.
738         (tst-chk2-ENV): Likewise.
739         (tst-chk3-ENV): Likewise.
740         (tst-chk4-ENV): Likewise.
741         (tst-chk5-ENV): Likewise.
742         (tst-chk6-ENV): Likewise.
743         (tst-lfschk1-ENV): Likewise.
744         (tst-lfschk2-ENV): Likewise.
745         (tst-lfschk3-ENV): Likewise.
746         (tst-lfschk4-ENV): Likewise.
747         (tst-lfschk5-ENV): Likewise.
748         (tst-lfschk6-ENV): Likewise.
749         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
750         (tst-iconv7-ENV): Likewise.
751         * intl/Makefile (LOCPATH-ENV): Likewise.
752         (tst-codeset-ENV): Likewise.
753         (tst-gettext3-ENV): Likewise.
754         (tst-gettext5-ENV): Likewise.
755         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
756         (tst-fopenloc-ENV): Likewise.
757         (tst-fgetws-ENV): Remove variable.
758         (tst-ungetwc1-ENV): Likewise.
759         (tst-ungetwc2-ENV): Likewise.
760         (bug-ungetwc2-ENV): Likewise.
761         (tst-swscanf-ENV): Likewise.
762         (bug-ftell-ENV): Likewise.
763         (tst-fgetwc-ENV): Likewise.
764         (tst-fseek-ENV): Likewise.
765         (tst-ftell-partial-wide-ENV): Likewise.
766         (tst-ftell-active-handler-ENV): Likewise.
767         (tst-ftell-append-ENV): Likewise.
768         * posix/Makefile (tst-fnmatch-ENV): Likewise.
769         (tst-regexloc-ENV): Likewise.
770         (bug-regex1-ENV): Likewise.
771         (tst-regex-ENV): Likewise.
772         (tst-regex2-ENV): Likewise.
773         (bug-regex5-ENV): Likewise.
774         (bug-regex6-ENV): Likewise.
775         (bug-regex17-ENV): Likewise.
776         (bug-regex18-ENV): Likewise.
777         (bug-regex19-ENV): Likewise.
778         (bug-regex20-ENV): Likewise.
779         (bug-regex22-ENV): Likewise.
780         (bug-regex23-ENV): Likewise.
781         (bug-regex25-ENV): Likewise.
782         (bug-regex26-ENV): Likewise.
783         (bug-regex30-ENV): Likewise.
784         (bug-regex32-ENV): Likewise.
785         (bug-regex33-ENV): Likewise.
786         (bug-regex34-ENV): Likewise.
787         (bug-regex35-ENV): Likewise.
788         (tst-rxspencer-ENV): Likewise.
789         (tst-rxspencer-no-utf8-ENV): Likewise.
790         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
791         (tst-sscanf-ENV): Likewise.
792         (tst-swprintf-ENV): Likewise.
793         (tst-swscanf-ENV): Likewise.
794         (test-vfprintf-ENV): Likewise.
795         (scanf13-ENV): Likewise.
796         (bug14-ENV): Likewise.
797         (tst-grouping-ENV): Likewise.
798         * stdlib/Makefile (tst-strtod-ENV): Likewise.
799         (tst-strtod3-ENV): Likewise.
800         (tst-strtod4-ENV): Likewise.
801         (tst-strtod5-ENV): Likewise.
802         (testmb2-ENV): Likewise./
803         * string/Makefile (tst-strxfrm-ENV): Likewise.
804         (tst-strxfrm2-ENV): Likewise.
805         (bug-strcoll1-ENV): Likewise.
806         (test-strcasecmp-ENV): Likewise.
807         (test-strncasecmp-ENV): Likewise.
808         * time/Makefile (tst-strptime-ENV): Likewise.
809         (tst-ftime_l-ENV): Likewise.
810         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
811         (tst-mbrtowc-ENV): Likewise.
812         (tst-wcrtomb-ENV): Likewise.
813         (tst-mbrtowc2-ENV): Likewise.
814         (tst-c16c32-1-ENV): Likewise.
815         (tst-mbsnrtowcs-ENV): Likewise.
817 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
819         * manual/resource.texi (How to get information about the memory
820         subsystem?): Fix typo.
821         Reported by Peon de la Parra Ivan <peon@keba.com>
823 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
825         [BZ #16882]
826         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
827         (pthread_spin_lock): Branch out of spin loop to proper location.
828         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
829         (pthread_spin_lock): Likewise.
831         * nptl/tst-spin4.c: New test.
832         * nptl/Makefile (tests): Add tst-spin4.
834 2014-06-03  Andreas Schwab  <schwab@suse.de>
836         [BZ #15946]
837         * resolv/res_send.c (send_dg): Reload file descriptor after
838         calling reopen.
840 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
842         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
844 2014-06-03  Richard Henderson  <rth@redhat.com>
846         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
847         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
848         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
849         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
850         in the SAVE_PID block.
851         (__libc_vfork): New alias.
852         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
854         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
855         child in registers, not on the stack.  Remove RESET_PID conditionals.
856         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
858 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
860         * sysdeps/aarch64/libm-test-ulps: Regenerate.
862 2014-06-03  Wilco  <wdijkstr@arm.com>
864         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
865         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
866         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
867         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
868         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
869         Likewise.
871 2014-06-03  Wilco  <wdijkstr@arm.com>
873         * sysdeps/aarch64/fpu/math_private.h
874         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
875         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
876         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
877         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
878         Fix declarations.
880 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
882         * crypt/crypt-private.h: Include ufc-crypt.h.
883         (__b64_from_24bit): Declare extern.
884         * crypt/crypt_util.c(__b64_from_24bit): New function.
885         (b64t): New static const variable.
886         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
887         (b64t): Remove variable.
888         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
889         * crypt/sha256-crypt.c: Include crypt-private.h.
890         (b64t): Remove variable.
891         (__sha256_crypt_r): Remove b64_from_24bit and replace
892         with __b64_from_24bit.
893         * crypt/sha512-crypt.c: Likewise.
895 2014-06-02  Roland McGrath  <roland@hack.frob.com>
897         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
898         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
899         Label the code __libc_vfork rather than __vfork.
900         [!NOT_IN_libc] (vfork): Define as weak alias.
901         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
902         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
903         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
905 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
907         * malloc/malloc.c (malloc_info): Fix format specifier for
908         n_mmaps.
910 2014-06-02  Wilco  <wdijkstr@arm.com>
912         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
913         FPCR write.
915 2014-06-02  Wilco  <wdijkstr@arm.com>
917         [BZ #17009]
918         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
919         Rewrite to reduce FPCR/FPSR accesses.
921 2014-06-01  David S. Miller  <davem@davemloft.net>
923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
925 2014-05-31  David S. Miller  <davem@davemloft.net>
927         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
928         to occur in round to nearest mode when |x| >= 2.0
930 2014-05-30  Richard Henderson  <rth@twiddle.net>
932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
933         (PSEUDO_RET_NOERRNO): Remove.
934         (ret): Don't redefine.
935         (ret_NOERRNO): Define in terms of ret.
936         (ret_ERRVAL): Likewise.
938         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
939         use of PSEUDO_RET; perform the error check directly.
941 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
943         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
944         with __int128_t.
946 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
948         * malloc/malloc (malloc_info): Fix formatting.
950 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
951             Roland McGrath  <roland@hack.frob.com>
953         * malloc/malloc (malloc_info): Also print mmapped statistics.
955 2014-05-30  Roland McGrath  <roland@hack.frob.com>
957         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
958         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
960 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
962         * malloc/malloc.c (malloc_info): Inline mi_arena.
964 2014-05-29  Richard Henderson  <rth@twiddle.net>
966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
967         Remove comma before expanding ASM_ARGS_##nr.
968         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
969         Make _x0 a strict output; make _x8 a strict input; adjust expansion
970         of ASM_ARGS_##nr.
971         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
972         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
973         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
974         (ASM_ARGS_1): Add leading comma.
976         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
977         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
978         to __errno_location.
979         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
980         Remove the expected plt for __errno_location.
982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
983         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
984         call to __read_tp.
986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
987         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
988         it and break it down.
989         (DOCARGS_0, DOCARGS_1): Do nothing.
990         (DOCARGS_2): Update to store into the new stack frame.
991         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
992         (UNDOCARGS_1): Update to restore from the new stack frame.
993         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
994         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
997         (SINGLE_THREAD_P): New parameter for result regno.
998         (PSEUDO): Update to match; use cbz instead of beq.
1000         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1001         Use ENTRY to define the _nocancel entry point.  Share the syscall
1002         and syscall error check paths with the cancel path.
1003         (PSEUDO_END): New.
1005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1006         whitespace; tabs before and after asm mnemonics.
1008 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1010         [BZ #15132]
1011         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1012         Call fstat64 or stat64 internally, depending on arguments passed.
1013         Replace stat buffer argument with file descriptor argument.
1014         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1015         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1016         Pass fd to __internal_statvfs instead of calling fstat64.
1017         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1018         Pass fd to __internal_statvfs64 instead of calling fstat64.
1019         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1020         Pass -1 to __internal_statvfs instead of calling stat64.
1021         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1022         Pass -1 to __internal_statvfs64 instead of calling stat64.
1024 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1026         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1027         that was previously under [RESET_PID].
1028         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1030         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1031         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1033 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1035         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1037         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1038         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1040 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1042         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1044 2014-05-27  Andreas Schwab  <schwab@suse.de>
1046         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1047         TLS_INIT_TP macro.
1048         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1049         * elf/rtld.c (init_tls, dl_main): Likewise.
1050         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1051         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1052         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1053         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1054         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1055         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1056         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1057         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1058         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1059         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1060         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1061         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1062         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1063         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1064         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1065         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1066         * sysdeps/generic/tls.h: Update description.
1068 2014-05-27  Will Newton  <will.newton@linaro.org>
1070         [BZ #16990]
1071         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1072         and restore r2 rather than just restoring.
1074 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1076         [BZ #16724]
1077         * libio/tst-ftell-append.c: New test case.
1078         * libio/Makefile (tests): Add test case.
1079         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1080         append mode.
1081         * libio/wfileops.c (do_ftell_wide): Likewise.
1083 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1087         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1088         ...
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1091         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1092         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1093         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1094         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1095         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1096         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1101         Moved ...
1102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1103         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1104         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1105         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1106         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1107         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1108         ...
1109         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1110         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1111         Moved ...
1112         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1113         here.
1114         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1115         ...
1116         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1117         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1118         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1120         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1121         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1122         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1123         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1126         merge into ...
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1129         ...
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1132         ...
1133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1135         Moved ...
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1137         here.
1138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1139         Moved ...
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1142         Moved ...
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1146         conditional [RESET_PID].
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1149         removed.
1150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1151         removed.
1153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1154         <tcb-offsets.h>.
1155         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1156         (__libc_vfork): New strong alias.
1157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1158         removed.
1159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1160         Removed.
1162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1163         <tcb-offsets.h>.
1164         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1165         (__libc_vfork): New strong alias.
1166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1167         removed.
1168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1169         removed.
1171 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1173         * malloc/malloc.c (mi_arena): New function.
1174         (malloc_info): Remove nested function mi_arena. Call non-nosted
1175         function mi_arena.
1177 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1179         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1180         by insrwi.
1181         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1182         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1183         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1184         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1185         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1186         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1187         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1189 2014-05-26  Andreas Schwab  <schwab@suse.de>
1191         [BZ #16984]
1192         * locale/programs/repertoire.c (repertoire_read): Add slash
1193         between I18NPATH element and file name.
1194         * locale/programs/locfile.c (locfile_read): Likewise.
1196 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1198         * nptl/pthread_mutexattr_settype.c
1199         (__pthread_mutexattr_settype):
1200         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1202 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1204         * nptl/tst-mutex5 (do_test):
1205         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1207 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1209         * benchtests/README: Document 'init' directive.
1210         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1211         BENCH_INIT.
1212         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1213         (parse_file): Recognize 'init' directive.
1215 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1217         [BZ #16796]
1218         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1219         alignment of struct pthread.
1221 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1223         [BZ #16878]
1224         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1225         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1226         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1227         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1229 2014-05-25  Richard Henderson  <rth@twiddle.net>
1231         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1232         (SINGLE_THREAD_P_PIC): Remove.
1233         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1234         (SINGLE_THREAD_P_PIC): Remove.
1236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1237         branch to syscall error ...
1238         (PSEUDO): ... here.
1239         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1240         from __local_syscall_error to .Lsyscall_error.
1241         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1242         (SYSCALL_ERROR): Update label name.
1244         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1245         Do not use DOARGS/UNDOARGS.
1246         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1247         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1248         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1249         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1250         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1253         block comment.
1255         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1256         define if !NOT_IN_libc.
1257         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1258         define with non-default symbol versions.
1260 2014-05-23  Richard Henderson  <rth@twiddle.net>
1262         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1263         (vfork, __vfork): Define via compat_symbol.
1265         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1266         [!HAVE_IFUNC] (vfork_compat): Remove.
1267         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1269 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1271         [BZ #16978]
1272         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1273         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1274         variable.
1276 2014-05-23  Richard Henderson  <rth@twiddle.net>
1278         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1279         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1280         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1281         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1283         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1284         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1285         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1286         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1288         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1289         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1290         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1291         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1292         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1293         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1294         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1295         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1298         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1299         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1300         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1301         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1302         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1303         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1304         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1306         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1308         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1310         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1312         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1313         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1314         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1315         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1316         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1318         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1319         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1320         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1322         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1323         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1324         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1325         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1326         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1327         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1328         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1330         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1331         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1332         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1333         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1334         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1335         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1336         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1338         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1340         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1341         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1342         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1343         before exiting on error.
1344         (__libc_vfork): New strong alias.
1345         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1346         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1348         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1349         that was previously under [RESET_PID].
1350         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1352         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1354 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1356         [BZ #16977]
1357         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1358         value when x - 1 is zero.
1359         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1360         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1361         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1362         0.0L for an argument of 1.0L.
1363         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1364         Likewise.
1365         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1366         value when x - 1 is zero.
1367         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1368         * sysdeps/i386/fpu/libm-test-ulps: Update.
1369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1373         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1374         alphasort and versionsort.
1376 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1378         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1379         macro.
1380         [copysignf]: Likewise.
1382 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1384         * crypt/md5-crypt.c: Fix formatting.
1386 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1388         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1389         (b64_from_24bit): New function.
1391 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1394         libc_hidden_builtin_def to ifunc.
1395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1396         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1398 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1400         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1401         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1403 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1405         * nscd/Depend (linuxthreads): Remove.
1406         (nptl): Add.
1407         * resolv/Depend (linuxthreads): Remove.
1408         * rt/Depend (linuxthreads): Remove.
1410         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1411         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1412         $(common-objpfx)elf/.
1413         (link-libc-before-gnulib): Likewise.
1414         (elfobjdir): Remove variable.
1415         * Makefile (install): Use $(elf-objpfx) instead of
1416         $(common-objpfx)elf/.
1417         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1418         $(elfobjdir)/.
1419         (link-libc-deps): Likewise.
1420         ($(common-objpfx)libc.so): Likewise.
1421         ($(common-objpfx)linkobj/libc.so): Likewise.
1422         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1423         instead of $(common-objpfx)elf/.
1424         (symbolic-link-list): Likewise.
1425         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1426         [$(cross-compiling) = no]: Likewise.
1427         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1428         $(elfobjdir)/.
1429         (static-gnulib-arch): Likewise.
1430         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1431         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1432         $(common-objpfx)elf/.
1434 2014-05-21  Richard Henderson  <rth@redhat.com>
1436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1437         (SINGLE_THREAD_P): Use the correct width load.  Fold
1438         into the ldr offset.
1440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1441         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1443 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1445         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1446         (libgcc_s_resume): Use __attribute_used__.
1447         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1448         Likewise.
1450 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1452         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1453         optimization when used with float constants.
1455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1457 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1459         [BZ #16915]
1460         * locale/nl_langinfo_l.c: Make direct reference to every
1461         _nl_current_CATEGORY symbol.
1462         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1463         (tests-static): Add tst-langinfo-static.
1464         (tests-special): Add tst-langinfo-static.out.
1465         ($(objpfx)tst-langinfo.out): Redirect output.
1466         ($(objpfx)tst-langinfo-static.out): New.
1467         * localedata/tst-langinfo.sh: Send output to stdout.
1468         * localedata/tst-langinfo-static.c: New file.
1470         [BZ #16965]
1471         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1472         when the shift amount is modulo the limb size.
1474 2014-05-20  Richard Henderson  <rth@redhat.com>
1476         [BZ #16967]
1477         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1478         Change type of sa_flags from unsigned int to int.
1480         [BZ #16966]
1481         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1483         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1485 2014-05-20  Will Newton  <will.newton@linaro.org>
1487         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1488         Test the return value of the system call in the nocancel case.
1490 2014-05-20  Will Newton  <will.newton@linaro.org>
1491             Yvan Roux  <yvan.roux@linaro.org>
1493         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1494         #include of asm/ptrace.h.
1495         (PTRACE_GET_THREAD_AREA): Remove #undef.
1496         (PTRACE_GETHBPREGS): Likewise.
1497         (PTRACE_SETHBPREGS): Likewise.
1498         (struct user_regs_struct): New structure.
1499         (struct user_fpsimd_struct): New structure.
1500         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1501         #include of asm/ptrace.h and second #include of sys/user.h.
1502         (PTRACE_GET_THREAD_AREA): Remove #undef.
1503         (PTRACE_GETHBPREGS): Likewise.
1504         (PTRACE_SETHBPREGS): Likewise.
1505         (ELF_NGREG): Use new struct user_regs_struct.
1506         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1508 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1510         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1511         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1513 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1515         [BZ #16958]
1516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1517         membar to avoid block loads/stores to overlap previous stores.
1519 2014-05-17  Richard Henderson  <rth@redhat.com>
1521         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1522         Create the __##syscall_name##_nocancel entry point.
1523         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1524         Remove; let the sysdep-cancel.h code create it.
1526 2014-05-17  David S. Miller  <davem@davemloft.net>
1528         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1529         Protect with __USE_GNU.
1530         (TIOCSET_TEMPT): Likewise.
1531         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1532         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1533         these are already provided in bits/ioctl-types.h
1535 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1537         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1538         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1540         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1541         Use wait4 regardless of [__NR_waitpid].
1543 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1545         PR libgcc/60166
1546         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1547         (_FP_NANSIGN_Q): Set the quiet bit.
1549 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1551         * benchtests/Makefile
1552         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1553         not $(common-objpfx)math/libm.so.
1554         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1555         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1556         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1557         $(common-objpfx)dlfcn/libdl.so.
1558         ($(objpfx)tst-audit8): Depend on $(libm), not
1559         $(common-objpfx)math/libm.so.
1560         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1561         not $(common-objpfx)dlfcn/libdl.so.
1562         * math/Makefile
1563         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1564         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1565         [$(build-shared) = yes].
1566         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1567         $(common-objpfx)nptl/libpthread.so.
1568         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1569         $(common-objpfx)math/libm.so$(libm.so-version) or
1570         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1571         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1572         $(common-objpfx)dlfcn/libdl.so.
1573         * setjmp/Makefile (link-libm): Remove variable.
1574         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1575         * stdio-common/Makefile (link-libm): Remove variable.
1576         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1577         * stdlib/Makefile (link-libm): Remove variable.
1578         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1579         ($(objpfx)tst-strtod-round): Likewise.
1580         ($(objpfx)tst-tininess): Likewise.
1581         ($(objpfx)tst-strtod-underflow): Likewise.
1582         ($(objpfx)tst-strtod6): Likewise.
1583         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1584         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1585         $(common-objpfx)dlfcn/libdl.so.
1587 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1589         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1590         BSD terminal modes definitions.
1592 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1594         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1595         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1597         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1598         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1599         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1600         Don't do #include_next.
1601         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1602         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1603         Don't do #include_next.
1604         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1605         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1606         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1607         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1609 2014-05-16  Allan McRae  <allan@archlinux.org>
1611         * po/sv.po: Update Swedish translation from translation project.
1613         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1614         in sed expression.
1616 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1618         [BZ #16917]
1619         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1620         errno if the TIOCGPTN ioctl fails with an error different than
1621         EINVAL.
1622         * login/tst-ptsname.c: New file.
1623         * login/Makefile (tests): Add tst-ptsname.
1625         [BZ #16943]
1626         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1627         and prlimit64.
1629 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1631         [BZ #16849]
1632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1633         herrno to return EAI_AGAIN.
1635 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1637         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1638         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1639         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1640         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1641         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1642         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1643         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1644         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1645         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1646         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1647         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1648         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1650         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1652         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1654         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1656         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1657         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1658         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1660         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1661         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1662         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1664         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1665         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1666         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1668         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1670         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1672         Moved ...
1673         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1677         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1679         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1685         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1687         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1689         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1691         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1693         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1695         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1697         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1699         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1701         Moved ...
1702         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1704         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1706         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1708         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1710         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1712         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1718         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1720         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1722         Moved ...
1723         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1725         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1727         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1728         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1729         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1730         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1731         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1733         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1734         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1735         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1737         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1739         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1741         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1743         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1745         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1747         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1749         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1750         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1751         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1752         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1753         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1755         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1756         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1757         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1759         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1760         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1762         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1763         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1764         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1766         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1771         Moved ...
1772         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1773         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1774         Moved ...
1775         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1776         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1777         Moved ...
1778         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1779         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1780         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1782         Moved ...
1783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1784         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1785         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1787         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1788         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1789         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1791         Moved ...
1792         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1794         Moved ...
1795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1796         ... here.
1797         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1798         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1799         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1800         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1802         Moved ...
1803         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1804         ... here.
1805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1806         Moved ...
1807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1808         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1809         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1810         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1811         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1813         Moved ...
1814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1816         Moved ...
1817         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1818         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1819         Moved ...
1820         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1822         Moved ...
1823         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1824         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1825         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1827         Moved ...
1828         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1830         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1832         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1834         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1836         Moved ...
1837         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1839         Moved ...
1840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1841         ... here.
1842         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1843         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1844         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1845         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1847         Moved ...
1848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1849         ... here.
1850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1851         Moved ...
1852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1854         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1856         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1857         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1859         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1860         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1862         Moved ...
1863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1865         Moved ...
1866         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1868         Moved ...
1869         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1871         Moved ...
1872         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1873         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1874         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1875         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1876         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1878         Moved ...
1879         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1880         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1881         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1883         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1884         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1885         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1887         Moved ...
1888         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1892         ... here.
1893         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1894         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1896         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1898         Moved ...
1899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1900         ... here.
1901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1902         Moved ...
1903         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1904         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1905         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1906         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1907         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1908         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1909         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1910         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1911         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1912         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1913         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1915         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1916         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1918         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1919         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1921         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1922         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1923         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1925         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1927         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1929         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1931         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1933         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1935         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1937         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1939         Moved ...
1940         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1944         Moved ...
1945         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1947         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1956         Moved ...
1957         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1961         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1963         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1965         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1966         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1967         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1969         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1970         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1971         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1972         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1973         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1976         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1977         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1978         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1979         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1981         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1982         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1984         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1985         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1986         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1987         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1988         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1989         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1990         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1995         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1996         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1997         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1998         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2000         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2001         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2002         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2003         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2004         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2005         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2006         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2007         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2008         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2010         Update #include.
2011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2012         Likewise.
2013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2014         Likewise.
2015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2016         Likewise.
2017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2018         Likewise.
2019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2020         Likewise.
2021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2022         Likewise.
2023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2024         Likewise.
2025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2026         Likewise.
2027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2028         Likewise.
2029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2034         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2036         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2037         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2038         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2042         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2045         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2046         that was previously under [RESET_PID].
2047         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2048         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2049         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2051         * sysdeps/i386/nptl/Implies: New file.
2052         * sysdeps/x86_64/nptl/Implies: New file.
2053         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2054         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2055         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2056         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2058         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2059         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2060         (__libc_vfork): New strong alias.
2061         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2062         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2064         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2065         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2066         (__libc_vfork): New strong alias.
2067         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2068         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2070         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2071         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2072         (__libc_vfork): New strong alias.
2073         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2074         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2075         * nptl/pt-vfork.c: New file.
2076         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2077         (libpthread: GLIBC_2.20): New version set (empty).
2079 2014-05-14  Will Newton  <will.newton@linaro.org>
2081         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2082         rather than #if.
2084 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2086         [BZ #16564]
2087         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2088         arguments with exponent 65 or above.
2089         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2090         arguments 0x1p113L or above.
2091         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2092         to arguments 0x1p107L or above.
2093         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2094         positive arguments with exponent 65 or above.
2095         * math/auto-libm-test-in: Add more tests of log1p.
2096         * math/auto-libm-test-out: Regenerated.
2098         [BZ #16928]
2099         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2100         non-finite arguments is +0.
2101         * math/s_cacosf.c (__cacosf): Likewise.
2102         * math/s_cacosl.c (__cacosl): Likewise.
2103         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2104         * sysdeps/i386/fpu/libm-test-ulps: Update.
2105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2107         [BZ #16927]
2108         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2109         value.
2110         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2111         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2112         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2113         for explicit high bit of mantissa when testing for argument equal
2114         to 1.
2115         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2116         * sysdeps/i386/fpu/libm-test-ulps: Update.
2117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2119         [BZ #16516]
2120         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2121         (__erf): Scale by 16 instead of 8 in potentially underflowing
2122         case.  Ensure exception if result actually underflows.
2123         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2124         (__erff): Scale by 16 instead of 8 in potentially underflowing
2125         case.  Ensure exception if result actually underflows.
2126         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2127         (efx8): Remove variable.
2128         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2129         case.  Ensure exception if result actually underflows.
2130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2131         (efx8): Remove variable.
2132         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2133         case.  Ensure exception if result actually underflows.
2134         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2135         (efx8): Remove variable.
2136         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2137         case.  Ensure exception if result actually underflows.
2138         * math/auto-libm-test-in: Add more tests of erf.
2139         * math/auto-libm-test-out: Regenerated.
2141 2014-05-14  Andreas Schwab  <schwab@suse.de>
2143         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2144         Remove code conditionalized on USE___THREAD.
2146         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2147         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2148         not definedness.
2150 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2153         Define unconditionally.
2154         (__ASSUME_O_CLOEXEC): Likewise.
2155         (__ASSUME_SOCK_CLOEXEC): Likewise.
2156         (__ASSUME_IN_NONBLOCK): Likewise.
2157         (__ASSUME_PIPE2): Likewise.
2158         (__ASSUME_EVENTFD2): Likewise.
2159         (__ASSUME_SIGNALFD4): Likewise.
2160         (__ASSUME_DUP3): Likewise.
2161         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2162         (__ASSUME_DUP3): Do not define.
2163         (__ASSUME_EVENTFD2): Likewise.
2164         (__ASSUME_IN_NONBLOCK): Likewise.
2165         (__ASSUME_O_CLOEXEC): Likewise.
2166         (__ASSUME_PIPE2): Likewise.
2167         (__ASSUME_SIGNALFD4): Likewise.
2168         (__ASSUME_SOCK_CLOEXEC): Likewise.
2169         (__ASSUME_UTIMES): Undefine.
2170         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2171         (__ASSUME_UTIMES): Do not define.
2172         (__ASSUME_O_CLOEXEC): Likewise.
2173         (__ASSUME_SOCK_CLOEXEC): Likewise.
2174         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2175         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2176         0x020621].
2177         (__ASSUME_PIPE2): Likewise.
2178         (__ASSUME_EVENTFD2): Likewise.
2179         (__ASSUME_SIGNALFD4): Likewise.
2180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2181         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2182         Do not define.
2183         (__ASSUME_EVENTFD2): Likewise.
2184         (__ASSUME_SIGNALFD4): Likewise.
2185         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2186         (__ASSUME_32BITUIDS): Likewise.
2187         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2188         (__ASSUME_IPC64): Likewise.
2189         (__ASSUME_ST_INO_64_BIT): Likewise.
2190         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2191         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2192         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2193         (__ASSUME_UTIMES): Do not define.
2194         (__ASSUME_PSELECT): Likewise.
2195         (__ASSUME_PPOLL): Likewise.
2196         (__ASSUME_O_CLOEXEC): Likewise.
2197         (__ASSUME_SOCK_CLOEXEC): Likewise.
2198         (__ASSUME_IN_NONBLOCK): Likewise.
2199         (__ASSUME_PIPE2): Likewise.
2200         (__ASSUME_EVENTFD2): Likewise.
2201         (__ASSUME_SIGNALFD4): Likewise.
2202         (__ASSUME_DUP3): Likewise.
2203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2204         (__ASSUME_UTIMES): Likewise.
2205         (__ASSUME_O_CLOEXEC): Likewise.
2206         (__ASSUME_SOCK_CLOEXEC): Likewise.
2207         (__ASSUME_IN_NONBLOCK): Likewise.
2208         (__ASSUME_PIPE2): Likewise.
2209         (__ASSUME_EVENTFD2): Likewise.
2210         (__ASSUME_SIGNALFD4): Likewise.
2211         (__ASSUME_DUP3): Likewise.
2212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2213         (__ASSUME_UTIMES): Likewise.
2214         (__ASSUME_O_CLOEXEC): Likewise.
2215         (__ASSUME_SOCK_CLOEXEC): Likewise.
2216         (__ASSUME_IN_NONBLOCK): Likewise.
2217         (__ASSUME_PIPE2): Likewise.
2218         (__ASSUME_EVENTFD2): Likewise.
2219         (__ASSUME_SIGNALFD4): Likewise.
2220         (__ASSUME_DUP3): Likewise.
2221         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2222         Likewise.
2223         (__ASSUME_UTIMES): Likewise.
2224         (__ASSUME_EVENTFD2): Likewise.
2225         (__ASSUME_SIGNALFD4): Likewise.
2226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2227         (__ASSUME_O_CLOEXEC): Likewise.
2228         (__ASSUME_SOCK_CLOEXEC): Likewise.
2229         (__ASSUME_IN_NONBLOCK): Likewise.
2230         (__ASSUME_PIPE2): Likewise.
2231         (__ASSUME_EVENTFD2): Likewise.
2232         (__ASSUME_SIGNALFD4): Likewise.
2233         (__ASSUME_DUP3): Likewise.
2234         (__ASSUME_UTIMES): Undefine.
2236         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2237         feclearexcept.  Remove symbol versioning code.
2238         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2239         symbol versioning code.
2240         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2241         symbol versioning code.
2242         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2243         feupdateenv.  Remove symbol versioning code.
2244         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2245         fegetexceptflag.  Remove symbol versioning code.
2246         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2247         fesetexceptflag.  Remove symbol versioning code.
2248         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2249         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2250         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2251         (__posix_fadvise64_l32): Remove prototype.
2252         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2253         code.
2255 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2257         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2258         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2259         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2260         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2262 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2264         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2265         current working directory
2267 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2269         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2270         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2271         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2272         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2273         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2274         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2275         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2276         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2280         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2281         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2284         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2292         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2302         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2303         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2304         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2305         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2306         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2307         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2308         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2309         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2310         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2312         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2313         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2315         * sysdeps/unix/sysv/linux/arm/Makefile
2316         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2317         Add rt-aeabi_unwind_cpp_pr1.
2318         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2319         Add nptl-aeabi_unwind_cpp_pr1.
2320         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2321         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2322         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2323         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2324         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2325         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2327         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2328         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2329         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2330         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2332         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2333         Deconditionalize the code that was previously under [RESET_PID].
2334         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2336         * sysdeps/generic/exit-thread.h: New file.
2337         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2338         * include/unistd.h (__exit_thread): Remove declaration.
2339         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2340         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2341         * csu/libc-start.c: Include <exit-thread.h>.
2342         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2343         * nptl/pthread_create.c: Include <exit-thread.h>.
2344         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2345         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2346         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2347         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2348         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2349         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2350         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2351         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2352         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2353         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2354         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2355         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2356         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2357         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2358         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2359         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2360         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2362 2014-05-13  Andreas Schwab  <schwab@suse.de>
2364         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2366 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2368         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2369         (__ASSUME_UTIMES): Do not condition on kernel version.
2370         (__ASSUME_PSELECT): Define unconditionally.
2371         (__ASSUME_PPOLL): Likewise.
2372         (__ASSUME_ATFCTS): Likewise.
2373         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2374         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2375         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2376         (__ASSUME_UTIMENSAT): Define unconditionally.
2377         (__ASSUME_PRIVATE_FUTEX): Likewise.
2378         (__ASSUME_FALLOCATE): Likewise.
2379         (__ASSUME_O_CLOEXEC): Likewise.
2380         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2381         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2382         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2383         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2384         (__ASSUME_IN_NONBLOCK): Likewise.
2385         (__ASSUME_PIPE2): Likewise.
2386         (__ASSUME_EVENTFD2): Likewise.
2387         (__ASSUME_SIGNALFD4): Likewise.
2388         (__ASSUME_DUP3): Likewise.
2389         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2390         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2391         (__ASSUME_AT_RANDOM): Likewise.
2392         (__ASSUME_PREADV): Likewise.
2393         (__ASSUME_PWRITEV): Likewise.
2394         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2395         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2396         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2397         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2398         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2400         (__ASSUME_O_CLOEXEC): Define unconditionally.
2401         (__ASSUME_PSELECT): Do not undefine conditionally.
2402         (__ASSUME_PPOLL): Likewise.
2403         (__ASSUME_ATFCTS): Likewise.
2404         (__ASSUME_SET_ROBUST_LIST): Likewise.
2405         (__ASSUME_UTIMENSAT): Likewise.
2406         (__ASSUME_FDATASYNC): Define unconditionally.
2407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2408         (__ASSUME_SIGFRAME_V2): Likewise.
2409         )__ASSUME_EVENTFD2): Likewise.
2410         (__ASSUME_SIGNALFD4): Likewise.
2411         (__ASSUME_PSELECT): Do not undefine conditionally.
2412         (__ASSUME_PPOLL): Likewise.
2413         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2414         (__ASSUME_PSELECT): Define unconditionally.
2415         (__ASSUME_PPOLL): Likewise.
2416         (__ASSUME_O_CLOEXEC): Likewise.
2417         (__ASSUME_SOCK_CLOEXEC): Likewise.
2418         (__ASSUME_IN_NONBLOCK): Likewise.
2419         (__ASSUME_PIPE2): Likewise.
2420         (__ASSUME_EVENTFD2): Likewise.
2421         (__ASSUME_SIGNALFD4): Likewise.
2422         (__ASSUME_DUP3): Likewise.
2423         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2424         (__ASSUME_O_CLOEXEC): Likewise.
2425         (__ASSUME_SOCK_CLOEXEC): Likewise.
2426         (__ASSUME_IN_NONBLOCK): Likewise.
2427         (__ASSUME_PIPE2): Likewise.
2428         (__ASSUME_EVENTFD2): Likewise.
2429         (__ASSUME_SIGNALFD4): Likewise.
2430         (__ASSUME_DUP3): Likewise.
2431         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2432         (__ASSUME_EVENTFD2): Likewise.
2433         (__ASSUME_SIGNALFD4): Likewise.
2434         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2436 2014-05-12  Andreas Schwab  <schwab@suse.de>
2438         [BZ #16932]
2439         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2440         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2441         than maximum RPC packet size.
2442         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2443         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2444         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2445         (_nss_nis_getservbyport_r): Likewise.
2447 2014-05-12  Will Newton  <will.newton@linaro.org>
2449         * malloc/Makefile (tests): Add tst-mallopt.
2450         * malloc/tst-mallopt.c: New file.
2452 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2454         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2455         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2457 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2459         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2460         (tst-tlsmod6.so): Likewise.
2462 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2464         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2466 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2468         [BZ #16064]
2469         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2470         and <dl-procinfo.h>.
2471         (__fegetenv): Save SSE state in envp->__eip if supported.
2472         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2473         envp->__eip if supported.
2474         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2475         and <dl-procinfo.h>.
2476         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2477         __data_offset and __data_selector in environment to 0.  Set SSE
2478         state if supported.
2479         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2480         test-fenv-sse.
2481         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2482         -mfpmath=sse.
2483         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2485 2014-05-09  Will Newton  <will.newton@linaro.org>
2487         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2488         and libc_relro_required for ARM.
2489         * sysdeps/arm/preconfigure: Regenerate.
2491 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2492             Stefan Liebler  <stli@linux.vnet.ibm.com>
2494         * config.make.in (enable-lock-elision): New Makefile variable.
2495         * configure.ac: Likewise.
2496         * configure: Regenerate.
2497         * sysdeps/s390/configure.ac:
2498         Add check for gcc transactions support.
2499         * sysdeps/s390/configure: Regenerate.
2500         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2501         Build elision files if enabled.
2502         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2503         Add lock elision support for s390.
2504         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2505         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2506         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2507         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2508         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2509         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2510         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2511         Likewise.
2512         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2513         Likewise.
2514         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2515         Likewise.
2516         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2517         Likewise.
2518         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2519         (__lll_timedlock_elision, __lll_lock_elision)
2520         (__lll_unlock_elision, __lll_trylock_elision)
2521         (lll_timedlock_elision, lll_lock_elision)
2522         (lll_unlock_elision, lll_trylock_elision): Add.
2523         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2524         (pthread_mutex_t): Add lock elision support for s390.
2526 2014-05-14  Wilco  <wdijkstr@arm.com>
2528         * sysdeps/arm/fclrexcpt.c: Cleanup.
2529         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2530         * sysdeps/arm/feenablxcpt.c: Cleanup.
2531         * sysdeps/arm/fegetenv.c: Cleanup.
2532         * sysdeps/arm/fegetexcept.c: Cleanup.
2533         * sysdeps/arm/fegetround.c: Cleanup.
2534         * sysdeps/arm/feholdexcpt.c: Cleanup.
2535         * sysdeps/arm/fesetenv.c: Cleanup.
2536         * sysdeps/arm/fesetround.c: Cleanup.
2537         * sysdeps/arm/feupdateenv.c: Cleanup.
2538         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2539         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2540         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2541         * sysdeps/arm/ftestexcept.c: Cleanup.
2542         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2543         * sysdeps/arm/setfpucw.c: Cleanup.
2545 2014-05-09  Will Newton  <will.newton@linaro.org>
2547         * sysdeps/arm/armv7/strcmp.S: New file.
2548         * NEWS: Mention addition of ARMv7 optimized strcmp.
2550 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2552         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2553         look for %.ac rather than %.in.
2555         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2556         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2557         * sysdeps/mach/hurd/configure: Regenerated.
2558         * sysdeps/unix/sysv/linux/configure: Regenerated.
2560         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2562 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2564         [BZ# 16922]
2565         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2566         (LONG_SUB): Ditto.
2567         (PTR_SUB): Ditto.
2569 2014-05-07  Andreas Schwab  <schwab@suse.de>
2571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2572         when skipping over non-matching result from nscd.
2574 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2576         [BZ #16876]
2577         * nptl/sockperf.c (client): Check socket return value.
2579         [BZ #16877]
2580         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2581         nscd security class.
2583 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2585         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2586         * sysdeps/arm/unwind.h: ... here.
2588 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2590         [BZ# 16916]
2591         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2592         Define.
2594 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2596         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2597         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2598         multiarch strncpy for PPC64.
2599         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2600         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2602         multiarch optimizations.
2603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2604         (__libc_ifunc_impl_list): Likewise.
2605         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2607         multiarch stpncpy for PPC64.
2608         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2609         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2611 2014-05-06  Andreas Schwab  <schwab@suse.de>
2613         [BZ #16912]
2614         * gmon/mcount.c (_MCOUNT_DECL): Use
2615         atomic_compare_and_exchange_bool_acq instead of
2616         catomic_compare_and_exchange_bool_acq.
2618 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2620         * elf/Makefile (others, install-bin): Remove pldd.
2621         (pldd-modules): Variable removed.
2622         ($(objpfx)pldd): Target removed.
2623         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2624         (others, install-bin): Append pldd here.
2625         ($(objpfx)pldd): New target.
2627         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2628         to 0, so the first #if test emitted later doesn't see it undefined.
2629         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2630         * sysdeps/gnu/errlist.c: Regenerated.
2632 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2634         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2635         [libc_hidden_builtin_def]: Define to empty value.
2636         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2637         [libc_hidden_builtin_def]: Likewise.
2638         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2639         [libc_hidden_builtin_def]: Likewise.
2640         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2641         [libc_hidden_builtin_def]: Likewise.
2642         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2643         __redirect_memcpy and define ifunc as default hidden symbol.
2644         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2645         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2647 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2649         * locale/iso-4217.def: Reintroduce XDR currency.
2651 2014-05-04  Allan McRae  <allan@archlinux.org>
2653         * po/eo.po: Update Esperanto translation from translation project.
2655 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2657         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2658         and FEATURE_INDEX_MAX to 1.
2659         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2661 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2663         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2664         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2665         * iconvdata/big5.c (ONE_DIRECTION): Define.
2666         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2667         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2668         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2669         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2670         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2671         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2672         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2673         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2674         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2675         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2676         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2677         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2678         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2679         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2680         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2681         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2682         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2683         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2684         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2685         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2686         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2687         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2688         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2689         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2690         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2691         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2692         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2693         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2694         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2695         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2696         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2697         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2698         * iconvdata/johab.c (ONE_DIRECTION): Define.
2699         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2700         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2701         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2702         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2703         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2704         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2705         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2706         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2707         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2708         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2710 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2712         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2713         (_IO_JUMPS_OFFSET): Define to 0.
2715         * nptl/sysdeps/pthread/bits/libc-lock.h
2716         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2717         (__libc_lock_define_initialized_recursive): Always define using
2718         initializer.  Modern compilers treat uninitialized (implicit zero) and
2719         explicit zero initializers the same (i.e. put the datum in bss).
2721 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2723         * nscd/nscd-client.h: Include <string.h>.
2725 2014-05-01  David S. Miller  <davem@davemloft.net>
2727         [BZ #16885]
2728         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2729         multiple zero bytes exist at the end of a string.
2730         Reported by Aurelien Jarno <aurelien@aurel32.net>
2732         * string/test-strcmp.c (check): Add explicit test for situations where
2733         there are multiple zero bytes after the first.
2735 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2737         [BZ #16890]
2738         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2739         when compiling wprintf.
2740         * stdio-common/tstdiomisc.c (t3): New function.
2741         (main): Call it.
2743 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2745         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2746         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2747         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2748         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2750 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2752         * stdlib/longlong.h: Updated from GCC.
2754 2014-05-01  Will Newton  <will.newton@linaro.org>
2755             Bernard Ogden  <bernie.ogden@linaro.org>
2757         * NEWS: Update fixed bug list.
2759         [BZ #15119]
2760         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2762 2014-04-30  David S. Miller  <davem@davemloft.net>
2764         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2765         (libc_feholdexcept_setround_sparc_ctx): New function.
2766         (libc_fesetenv_sparc_ctx): Likewise.
2767         (libc_feupdateenv_sparc_ctx): Likewise.
2768         (libc_feholdsetround_sparc_ctx): Likewise.
2769         (libc_feholdexcept_setround_ctx): Define.
2770         (libc_feholdexcept_setroundf_ctx): Likewise.
2771         (libc_feholdexcept_setroundl_ctx): Likewise.
2772         (libc_fesetenv_ctx): Likewise.
2773         (libc_fesetenvf_ctx): Likewise.
2774         (libc_fesetenvl_ctx): Likewise.
2775         (libc_feupdateenv_ctx): Likewise.
2776         (libc_feupdateenvf_ctx): Likewise.
2777         (libc_feupdateenvl_ctx): Likewise.
2778         (libc_feresetround_ctx): Likewise.
2779         (libc_feresetroundf_ctx): Likewise.
2780         (libc_feresetroundl_ctx): Likewise.
2781         (libc_feholdsetround_ctx): Likewise.
2782         (libc_feholdsetroundf_ctx): Likewise.
2783         (libc_feholdsetroundl_ctx): Likewise.
2785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2786         with __USE_GNU instead of XOPEN cpp guards.
2788         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2789         0.
2791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2792         with XOPEN cpp guards.
2794 2014-04-30  Julian Brown  <julian@codesourcery.com>
2796         [BZ #16888]
2797         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2798         handling.
2800 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2802         [BZ #9894]
2803         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2804         Change to 2.6.32.
2805         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2806         * sysdeps/unix/sysv/linux/configure: Regenerated.
2807         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2808         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2809         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2810         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2811         * README: Update reference to required Linux kernel version.
2812         * manual/install.texi (Linux): Update reference to required Linux
2813         kernel headers version.
2814         * INSTALL: Regenerated.
2816         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2817         header inclusion.
2818         [POSIX] (limits.h): Likewise.
2819         [POSIX] (math.h): Likewise.
2820         [POSIX] (sys/wait.h): Likewise.
2821         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2822         function.
2823         [POSIX] (stddef.h): Do not allow header inclusion.
2825 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2827         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2829 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2831         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2832         Return immediately after lll_futex_wake.
2834 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2836         [BZ #16791]
2837         * nscd/nscd-client.h (datahead_init_common): Initialize entire
2838         structure.
2839         (datahead_init_pos): Call datahead_init_common early.
2840         (datahead_init_neg): Likewise.
2842         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2843         datahead_init_neg): New functions.
2844         * nscd/aicache.c (addhstaiX): Use them.
2845         * nscd/grpcache.c (cache_addgr): Likewise.
2846         * nscd/hstcache.c (cache_addhst): Likewise.
2847         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2848         * nscd/netgroupcache.c (do_notfound): Likewise.
2849         (addgetnetgrentX): Likewise.
2850         (addinnetgrX): Likewise.
2851         * nscd/pwdcache.c (cache_addpw): Likewise.
2852         * nscd/servicescache.c (cache_addserv): Likewise.
2854 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2855             Atsushi Onoe  <atsushi@onoe.org>
2857         [BZ #14308]
2858         [BZ #12994]
2859         [BZ #13651]
2860         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2861         one response is valid.
2862         * resolv/res_send.c (send_dg): Check for validity of other
2863         response if the current response is a referral.
2865 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2867         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2869 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2871         [BZ #16823]
2872         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2873         Always divide by positive zero when computing -Inf result.
2874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2875         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2877 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2879         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2880         FPSCR if value do not change.
2881         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2882         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2883         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2884         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2885         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2886         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2887         function.
2889 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2891         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2892         * sysdeps/unix/sysv/linux/hppa: Move directory from
2893         ports/systeps/unix/sysv/linux/hppa.
2894         * README: Update listing for hppa-*-linux-gnu.
2896 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2898         [BZ #16754]
2899         * manual/stdio.texi (Hook functions): Fix types of stream hook
2900         functions.
2901         [BZ #16854]
2902         * socket/sys/socket.h: Fix typo in comment.
2904 2014-04-28  Wilco  <wdijkstr@arm.com>
2906         * sysdeps/arm/fenv_private.h: New file.
2907         * sysdeps/arm/math_private.h: New file.
2908         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2910 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2912         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2913         with __int128_t.
2914         (La_x86_64_retval): Likewise.
2916 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2918         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2919         fpsr if value didn't change.
2920         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2921         to fpcr if value didn't change.
2922         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2923         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2924         fpsr or fpcr if value didn't change.
2925         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2926         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2927         fpcr if value didn't change.
2928         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2929         to fpsr if value didn't change.
2931 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2933         * nptl/tst-sem3.c: Use test-skeleton.c
2934         (main): Rename to do_test.  Use return instead of
2935         exit.
2936         * nptl/tst-sem4.c: Use test-skeleton.c
2937         (main): Rename to do_test.
2939 2014-04-22  David S. Miller  <davem@davemloft.net>
2941         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2942         (struct sigaction): New struct member __glibc_reserved0, change
2943         type of sa_flags to int.
2945 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2947         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2948         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2950 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2952         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2953         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2955 2014-04-22  Will Newton  <will.newton@linaro.org>
2956             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2958         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2959         (__longjmp): Add longjmp and longjmp_target SystemTap
2960         probes.
2961         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2962         (__sigsetjmp): Add setjmp SystemTap probe.
2964 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2966         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2967         match manual order.
2969 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2971         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2973         * sysdeps/powerpc/fpu/fenv_private.h
2974         (libc_feholdexcept_setroundl_ctx): Define to
2975         libc_feholdexcept_setround_ppc_ctx.
2976         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2977         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2978         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2979         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2981 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2983         * sysdeps/aarch64/math-tests.h: New file.
2985 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2987         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2988         New.
2989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2990         Check and set bit_AVX2_Usable.
2991         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2992         macro.
2993         (bit_AVX2): Likewise.
2994         (index_AVX2_Usable): Likewise.
2995         (CPUID_AVX2): Likewise.
2996         (HAS_AVX2): Likewise.
2998 2014-04-17  Will Newton  <will.newton@linaro.org>
3000         * manual/setjmp.texi (System V contexts): Add note that
3001         calling setcontext on a context created by a call to a
3002         signal handler is undefined.  Update text to note that
3003         setcontext from a signal handler is possible but not
3004         recommended.
3006         [BZ #16629]
3007         * stdlib/tst-setcontext.c: Include signal.h.
3008         (main): Check that the signal stack before and
3009         after swapcontext is the same.
3011         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3012         Re-implement to restore registers in user code and avoid
3013         rt_sigreturn system call.
3015 2014-04-17  Wilco  <wdijkstr@arm.com>
3017         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3018         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3019         * math/test-fenv.c: Skip exception trap tests on targets which only
3020         support non-stop mode.
3022 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3023             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3025         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3026         (libc_feholdsetround_aarch64_ctx)
3027         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3028         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3029         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3030         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3031         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3032         (libc_feresetround_noexl_ctx): Define.
3034 2014-04-16  Richard Henderson  <rth@redhat.com>
3036         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3038         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3039         unwind tables.
3041         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3042         const from the non-libc, non-ldso copy.
3044         * sysdeps/alpha/libm-test-ulps: Regenerate.
3046 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3047             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3049         * sysdeps/aarch64/fpu/math_private.h: New file.
3051 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3053         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3055 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3057         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3058         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3060         Intel MPX bound registers before _dl_profile_fixup.
3061         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3062         registers after _dl_profile_fixup.  Save and restore bound
3063         registers bnd0/bnd1 when calling _dl_call_pltexit.
3064         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3065         (LR_BND_OFFSET): Likewise.
3066         (LRV_BND0_OFFSET): Likewise.
3067         (LRV_BND1_OFFSET): Likewise.
3069 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3071         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3072         to...
3073         * sysdeps/mach/hurd/i386/tls.h: ... here.
3074         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3075         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3076         fields.
3078 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3080         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3082 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3084         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3086 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3088         [BZ #14770]
3089         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3090         * sysdeps/s390/configure: Regenerate.
3092         [BZ #16824]
3093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3094         Set round-to-nearest internally to reduce error accumulation.
3096 2014-04-16  Alan Modra  <amodra@gmail.com>
3098         [BZ #16740]
3099         [BZ #16619]
3100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3101         * math/libm-test.inc (frexp_test_data): Add tests.
3102         * NEWS: Update fixed bug list.
3104 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3106         * benchtests/Makefile: Depend on libraries in build directory.
3107         (bench-math): Separate out math tests.
3108         (bench-pthread): Separate out pthread tests.
3109         (bench): Include math and pthread tests.
3111 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3113         [BZ #16831]
3114         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3115         _dl_debug_initialize.
3117         * configure.ac: Remove SELinux header check.
3118         * configure: Regenerate.
3119         * nscd/selinux.c (perms): Array of const char* to permission names.
3120         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3121         default policy. Call string_to_security_class and string_to_av_perm to
3122         translate strings. Enforce default policy and call avs_has_perm with
3123         results of translated strings.
3125 2014-04-13  David S. Miller  <davem@davemloft.net>
3127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3129 2014-04-12  Allan McRae  <allan@archlinux.org>
3131         [BZ #16838]
3132         * manual/string.texi (Collation Functions): Fix qsort argument
3133         order in example.
3134         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3136 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3138         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3139         Make the test a no-op if there are no exceptions defined.
3141 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3143         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3144         enable-hardcoded-path-in-tests
3146 2014-04-11  Will Newton  <will.newton@linaro.org>
3148         * benchtests/Makefile (extra-objs): Add json-lib.o.
3149         (bench-func): Tidy up JSON output.
3150         * benchtests/bench-skeleton.c: Include json-lib.h.
3151         (main): Use JSON library functions to do output of
3152         benchmark results.
3153         * benchtests/bench-timing-type.c (main): Output the
3154         timing type simply, leaving formatting to the user.
3155         * benchtests/json-lib.c: New file.
3156         * benchtests/json-lib.h: Likewise.
3158 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3160         [BZ #15215]
3161         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3162         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3163         memory barriers.  Add comments.
3164         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3165         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3166         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3167         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3168         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3169         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3171 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3173         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3174         * sysdeps/s390/s390-64/configure.ac: ... this ...
3175         * sysdeps/s390/configure.ac: ... to here.
3176         * sysdeps/s390/s390-32/configure: Delete file.
3177         * sysdeps/s390/s390-64/configure: Delete file.
3178         * sysdeps/s390/configure: Regenerate.
3180 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3182         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3184 2014-04-11  Will Newton  <will.newton@linaro.org>
3186         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3187         to zero if it is not defined elsewhere.  (mtrim): Test
3188         the value of MALLOC_DEBUG with #if rather than #ifdef.
3190 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3192         * benchtests/pthread_once-inputs: New file.
3193         * benchtests/pthread_once-source.c: New file.
3194         * benchtests/README: Update documentation.
3196 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3197             H.J. Lu  <hongjiu.lu@intel.com>
3199         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3200         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3201         * sysdeps/x86_64/configure: Regenerated.
3202         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3203         macro.
3204         (REGISTER_SAVE_RAX): Likewise.
3205         (REGISTER_SAVE_RCX): Likewise.
3206         (REGISTER_SAVE_RDX): Likewise.
3207         (REGISTER_SAVE_RSI): Likewise.
3208         (REGISTER_SAVE_RDI): Likewise.
3209         (REGISTER_SAVE_R8): Likewise.
3210         (REGISTER_SAVE_R9): Likewise.
3211         (REGISTER_SAVE_BND0): Likewise.
3212         (REGISTER_SAVE_BND1): Likewise.
3213         (REGISTER_SAVE_BND2): Likewise.
3214         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3215         bound registers when calling _dl_fixup.
3217 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3219         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3220         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3221         of its definition.
3222         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3223         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3224         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3225         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3226         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3227         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3228         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3230 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3232         [BZ #15514]
3233         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3234         pathconf(_PC_NAME_MAX).
3236 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3238         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3239         Remove macro usage.
3240         (__PTHREAD_SPINS): Move definition to ...
3241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3242         (__PTHREAD_SPINS): ... here.
3243         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3244         (__PTHREAD_SPIN): Likewise.
3245         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3246         (__PTHREAD_SPIN): Likewise.
3247         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3248         (__PTHREAD_SPIN): Likewise.
3249         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3250         (__PTHREAD_SPIN): Likewise.
3251         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3252         (__PTHREAD_SPIN): Likewise.
3253         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3254         (__PTHREAD_SPIN): Likewise.
3255         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3256         (__PTHREAD_SPIN): Likewise.
3257         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3258         (__PTHREAD_SPIN): Likewise.
3259         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3260         (__PTHREAD_SPIN): Likewise.
3261         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3262         (__PTHREAD_SPIN): Likewise.
3263         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3264         (__PTHREAD_SPIN): Likewise.
3265         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3266         (__PTHREAD_SPIN): Likewise.
3268         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3269         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3270         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3271         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3272         imply folder.
3273         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3274         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3275         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3276         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3277         correct imply path.
3278         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3279         strlen symbol for non multi-arch builds.
3280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3281         missing hidden_def and weak_alias.
3283 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3285         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3287 2014-04-07  Will Newton  <will.newton@linaro.org>
3289         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3290         and contents.  [!_LIBC] Remove #ifndef and contents.
3291         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3292         * string/memccpy.c (__memccpy): Use ANSI prototype.
3293         * string/memfrob.c (memfrob): Likewise.
3294         * string/strcoll.c (STRCOLL): Likewise.
3295         * string/strlen.c (strlen): Likewise.
3296         * string/strtok.c (STRTOK): Likewise.
3297         * string/strcat.c: Remove unused #include of memcopy.h.
3298         (strcat): Use ANSI prototype.
3299         * string/strchr.c: Remove unused #include of memcopy.h.
3300         (strchr): Use ANSI prototype.
3301         * string/strcmp.c: Remove unused #include of memcopy.h.
3302         (strcmp): Use ANSI prototype.
3303         * string/strcpy.c: Remove unused #include of memcopy.h.
3304         (strcpy): Use ANSI prototype.
3306 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3308         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3309         * config.make.in (config-extra-cppflags): Set it from
3310         libc_extra_cppflags.
3311         * configure.ac (libc_extra_cflags): Make it accumulate over
3312         configure fragments.
3313         (libc_extra_cppflags): New flag.
3314         * configure. Regenerate.
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3316         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3317         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3320         [BZ #16815]
3321         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3322         result for FE_DOWNWARD rounding mode.
3323         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3324         Likewise.
3325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3327 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3329         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3330         in function argument name.
3332 2014-04-03  David Svoboda  <svoboda@cert.org>
3334         [BZ #5666]
3335         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3336         explicitly.
3338 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3340         * elf/dl-unmap-segments.h: New file.
3341         * sysdeps/generic/ldsodefs.h
3342         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3343         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3344         * elf/dl-fptr.c: Likewise.
3345         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3346         * sysdeps/aarch64/tlsdesc.c: Likewise.
3347         * sysdeps/arm/tlsdesc.c: Likewise.
3348         * sysdeps/i386/tlsdesc.c: Likewise.
3349         * sysdeps/tile/dl-runtime.c: Likewise.
3350         * sysdeps/x86_64/tlsdesc.c: Likewise.
3351         * elf/dl-load.h: New file.
3352         * elf/dl-load.c: Include it.
3353         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3354         Macros moved to dl-load.h.
3355         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3356         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3357         Use _dl_unmap_segments in place of __munmap.
3358         Break out segment-mapping loop into ...
3359         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3361 2014-04-03  Will Newton  <will.newton@linaro.org>
3363         * elf/dl-lookup.c (do_lookup_x): Remove comment
3364         referring to nested function and move variable
3365         declarations down to before first use.
3367 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3369         [BZ #16799]
3370         [BZ #16800]
3371         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3372         with 0 numerator.
3373         * math/s_catanf.c (__catanf): Likewise.
3374         * math/s_catanh.c (__catanh): Likewise.
3375         * math/s_catanhf.c (__catanhf): Likewise.
3376         * math/s_catanhl.c (__catanhl): Likewise.
3377         * math/s_catanl.c (__catanl): Likewise.
3378         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3379         by positive zero when computing -Inf result.
3380         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3381         (catanh_test): Likewise.
3382         * sysdeps/i386/fpu/libm-test-ulps: Update.
3383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3385         [BZ #16789]
3386         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3387         instead of using underflowing value in computing result.
3388         * math/s_clog10.c (__clog10): Likewise.
3389         * math/s_clog10f.c (__clog10f): Likewise.
3390         * math/s_clog10l.c (__clog10l): Likewise.
3391         * math/s_clogf.c (__clogf): Likewise.
3392         * math/s_clogl.c (__clogl): Likewise.
3393         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3394         (clog10_test): Likewise.
3395         * sysdeps/i386/fpu/libm-test-ulps: Update.
3396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3398 2014-04-02  Alan Modra  <amodra@gmail.com>
3400         [BZ #16739]
3401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3402         output when value is near a power of two.  Use int64_t for lx and
3403         remove casts.  Use decimal rather than hex exponent constants.
3404         Don't use long double multiplication when double will suffice.
3405         * math/libm-test.inc (nextafter_test_data): Add tests.
3406         * NEWS: Add 16739 and 16786 to bug list.
3408         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3410         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3412 2014-04-01  Will Newton  <will.newton@linaro.org>
3414         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3415         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3417 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3419         [BZ #13347]
3420         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3421         * nptl/tst-setuid2.c: New file.
3422         * nptl/Makefile (xtests): Add tst-setuid2.
3424 2014-04-01  Alan Modra  <amodra@gmail.com>
3426         [BZ #16786]
3427         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3429 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3431         [BZ #6803]
3432         [BZ #6804]
3433         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3434         set errno as appropriate.
3435         * math/w_scalbf.c (__scalbf): Likewise.
3436         * math/w_scalbl.c (__scalbl): Likewise.
3437         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3438         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3439         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3440         Add more NaN tests.
3442         [BZ #16349]
3443         * math/w_atan2.c: Include <errno.h>.
3444         (__atan2): Set errno for result underflowing to zero.
3445         * math/w_atan2f.c: Include <errno.h>.
3446         (__atan2f): Set errno for result underflowing to zero.
3447         * math/w_atan2l.c: Include <errno.h>.
3448         (__atan2l): Set errno for result underflowing to zero.
3449         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3450         tests.
3451         * math/auto-libm-test-out: Regenerated.
3453 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3456         Encode instruction correctly in little endian.
3457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3458         Likewise.
3459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3460         Likewise.
3461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3462         Likewise.
3463         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3464         Likewise.
3466 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3468         [BZ #9894]
3469         * sysdeps/unix/sysv/linux/kernel-features.h
3470         [__sparc__ && !__arch64__ && !__sparc_v9__]
3471         (__ASSUME_SET_ROBUST_LIST): Do not define.
3472         [__sparc__ && !__arch64__ && !__sparc_v9__]
3473         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3474         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3475         Likewise.
3476         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3477         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3478         (__ASSUME_REQUEUE_PI): Likewise.
3479         (__ASSUME_SET_ROBUST_LIST): Likewise.
3480         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3481         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3482         Undefine.
3483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3484         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3485         Likewise.
3486         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3487         Likewise.
3488         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3489         Likewise.
3490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3491         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3492         Undefine.
3493         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3494         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3495         Likewise.
3497         [BZ #16648]
3498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3500         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3502 2014-03-31  Will Newton  <will.newton@linaro.org>
3504         * benchtests/Makefile (bench): Add ffs and ffsll to list
3505         of tests.
3506         * benchtests/ffs-inputs: New file.
3507         * benchtests/ffsll-inputs: Likewise.
3509 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3511         [BZ #16770]
3512         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3513         too large before casting to int.
3514         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3515         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3516         * math/libm-test.inc (scalb_test_data): Add more tests.
3518 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3520         * benchtests/Makefile (DETAILED_OPT): New make option.
3521         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3522         set.
3523         * benchtests/bench-skeleton.c: Include stdbool.h.
3524         (main): Store and print timings per input.
3525         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3526         member to each argument value.
3527         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3528         (_print_arg_data): Initialize per-input timing to 0.
3530         * benchtests/Makefile (timing-type): New binary.
3531         (bench-clean): Also remove bench-timing-type.
3532         (bench): New target for timing-type.
3533         (bench-func): Print output in JSON format.
3534         * benchtests/bench-skeleton.c (main): Print output in JSON
3535         format.
3536         * benchtests/bench-timing-type.c: New file.
3537         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3538         (TIMING_PRINT_STATS): Remove.
3539         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3540         name separately.
3542         * benchtests/bench-modf.c: Remove.
3543         * benchtests/modf-inputs: New inputs file.
3545 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3547         [BZ #16362]
3548         * math/s_clog10.c (M_PI_LOG10E): New macro.
3549         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3550         imaginary parts are 0.
3551         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3552         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3553         imaginary parts are 0.
3554         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3555         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3556         imaginary parts are 0.
3557         * math/libm-test.inc (clog10_test_data): Update expected results
3558         for when real and imaginary parts are 0.
3560 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3562         * elf/dl-load.c: Finish conversion of __builtin_expect into
3563         __glibc_{un}likely.
3565 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3567         [BZ #16348]
3568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3569         1+x for argument with exponent below -67.
3570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3571         Likewise.
3572         * math/auto-libm-test-in: Add more tests of exp.
3573         * math/auto-libm-test-out: Regenerated.
3575 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3577         [BZ #16759]
3578         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3579         (nscd_getnetgrent): Use it.
3581         [BZ #16760]
3582         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3583         of stpcpy.
3585 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3588         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3589         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3590         (lll_robust_unlock): Remove out of line section. Use cfi
3591         intrinsics.
3592         (LLL_STUB_UNWIND_INFO*): Remove.
3593         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3594         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3595         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3596         (lll_robust_unlock): Remove out of line section. Use cfi
3597         intrinsics.
3598         (LLL_STUB_UNWIND_INFO*): Remove.
3600 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3602         [BZ #16758]
3603         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3604         blank values.
3606 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3608         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3610 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #16198]
3613         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3614         fnstenv.
3615         * math/test-fenv-preserve.c: New file.
3616         * math/Makefile (tests): Add test-fenv-preserve.
3618 2014-03-26  Will Newton <will.newton@linaro.org>
3620         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3622 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3624         * scripts/versionlist.awk: Partition the version sets and emit all
3625         GLIBC_* (sorted) before all others (sorted).
3627 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3629         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3630         GLIBC_2.2.5 version.
3632 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3634         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3635         calls.
3637         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3638         previous change.
3640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3642 2014-03-25  Andreas Schwab  <schwab@suse.de>
3644         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3645         label to be used after in6ailist is initialized.
3647 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3649         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3650         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3652 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3654         [BZ #16357]
3655         [BZ #16599]
3656         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3657         min_plus_half.
3658         (fp_formats): Update initializers.
3659         (init_fp_formats): Initialize new field.
3660         (output_for_one_input_case): Allow underflow for results up to
3661         min_plus_half.
3662         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3663         * math/auto-libm-test-in: Don't mark some underflows from asin and
3664         atanh as spurious.
3665         * math/auto-libm-test-out: Regenerated.
3666         * sysdeps/i386/fpu/libm-test-ulps: Update.
3667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669 2014-03-25  Andreas Schwab  <schwab@suse.de>
3671         * libio/Makefile (tst-ftell-partial-wide-ENV)
3672         (tst-ftell-active-handler-ENV): Define.
3674 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3676         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3678 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3680         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3682 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3684         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3685         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3686         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3688 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3690         [BZ #16634]
3691         * elf/dl-load.c (open_verify): Add mode parameter.
3692         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3693         (open_path): Change from boolean 'secure' to complete flag 'mode'
3694         (_dl_map_object): Adjust.
3695         * elf/Makefile (tests): Add tst-dlopen-aout.
3696         * elf/tst-dlopen-aout.c: New test.
3698 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3700         [BZ #16714]
3701         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3702         (struct stat): Rename member pad0 to __glibc_reserved0.
3704         [BZ #16712]
3705         * sysdeps/s390/s390-32/bits/wordsize.h
3706         (__WORDSIZE32_SIZE_ULONG): New define.
3707         * sysdeps/s390/s390-64/bits/wordsize.h
3708         (__WORDSIZE32_SIZE_ULONG): Likewise.
3709         * sysdeps/generic/stdint.h (SIZE_MAX):
3710         Define as UL if __WORDSIZE32_SIZE_ULONG.
3712         [BZ #16713]
3713         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3714         (__glibc_reserved0): New variable.
3715         (sa_flags): Change type to int.
3717         * posix/Makefile (before-compile): Use += before-compile instead
3718         of a :=.
3720         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3721         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3723 2014-03-20  Andreas Schwab  <schwab@suse.de>
3725         [BZ #16743]
3726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3727         non-matching result from nscd.
3729 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3731         * scripts/bench.py: Moved to ...
3732         * benchtests/scripts/bench.py: ... here.
3733         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3735 2014-03-24  Andreas Schwab  <schwab@suse.de>
3737         [BZ #16002]
3738         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3739         alloca_account and account alloca use for struct in6ailist.
3741 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3743         [BZ #16284]
3744         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3745         rounding mode to recompute results that overflow to infinity or
3746         underflow to zero.
3747         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3748         bug 16284.
3749         * math/auto-libm-test-out: Regenerated.
3750         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3751         (ccosh_test): Likewise.
3752         (csin_test_data): Use plus_oflow.
3753         (csin_test): Use ALL_RM_TEST.
3754         (csinh_test_data): Use plus_oflow.
3755         (csinh_test): Use ALL_RM_TEST.
3756         * sysdeps/i386/fpu/libm-test-ulps: Update.
3757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3761         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3762         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3763         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3765         [BZ #16731]
3766         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3767         when x - 1 is zero.
3768         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3769         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3770         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3771         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3772         argument is 1.
3773         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3774         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3775         zero.
3776         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3777         * sysdeps/i386/fpu/libm-test-ulps: Update.
3778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3780 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3782         * scripts/bench.pl: Remove file.
3783         * scripts/bench.py: New benchmark script.
3784         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3785         * benchtests/README: Mention python dependency.
3786         * scripts/pylintrc: New file.
3787         * scripts/pylint: New file.
3789         * bits/mathdef.h: Use #ifdef instead of #if.
3790         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3791         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3792         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3793         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3794         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3795         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3797 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3798             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3800         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3802         and strpbrk-ppc64 objects.
3803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3804         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3805         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3806         multiarch strpbrk for POWER7.
3807         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3808         multiarch strpbrk for PPC64.
3809         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3810         ifunc selector.
3811         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3812         strpbrk for POWER7.
3814 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3816         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3817         (atan_test): Likewise.
3818         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3819         (atanh_test): Use ALL_RM_TEST.
3820         (atan2_test_data): Likewise.
3821         (cabs_test): Likewise.
3822         (cacosh_test): Likewise.
3823         (carg_test): Likewise.
3824         (casin_test): Likewise.
3825         (casinh_test): Likewise.
3826         (cbrt_test): Likewise.
3827         (csqrt_test): Likewise.
3828         (erf_test): Likewise.
3829         (erfc_test): Likewise.
3830         (pow10_test): Likewise.
3831         (exp2_test): Likewise.
3832         (hypot_test): Likewise.
3833         (j0_test): Likewise.
3834         (j1_test): Likewise.
3835         (lgamma_test): Likewise.
3836         (gamma_test): Likewise.
3837         (sincos_test): Likewise.
3838         (tanh_test): Likewise.
3839         (y0_test): Likewise.
3840         (y1_test): Likewise.
3841         * sysdeps/i386/fpu/libm-test-ulps: Update.
3842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3846         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3848         and strcspn-ppc64 objects.
3849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3850         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3851         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3852         multiarch strcspn for POWER7.
3853         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3854         multiarch strcspn for PPC64.
3855         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3856         ifunc selector.
3857         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3858         strcspn for POWER7.
3860 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3862         * math/gen-libm-test.pl (generate_testfile): Expect only function
3863         name as argument to AUTO_TESTS_* and pass results for all rounding
3864         modes to parse_args.
3865         (parse_auto_input): Separate inputs of automatic tests from
3866         outputs before storing in %auto_tests.
3867         * math/libm-test.inc (acos_test_data): Update call to
3868         AUTO_TESTS_f_f.
3869         (acos_test): Use ALL_RM_TEST.
3870         (acos_tonearest_test_data): Remove.
3871         (acos_test_tonearest): Likewise.
3872         (acos_towardzero_test_data): Likewise.
3873         (acos_test_towardzero): Likewise.
3874         (acos_downward_test_data): Likewise.
3875         (acos_test_downward): Likewise.
3876         (acos_upward_test_data): Likewise.
3877         (acos_test_upward): Likewise.
3878         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3879         (asin_test_data): Likewise.
3880         (asin_test): Use ALL_RM_TEST.
3881         (asin_tonearest_test_data): Remove.
3882         (asin_test_tonearest): Likewise.
3883         (asin_towardzero_test_data): Likewise.
3884         (asin_test_towardzero): Likewise.
3885         (asin_downward_test_data): Likewise.
3886         (asin_test_downward): Likewise.
3887         (asin_upward_test_data): Likewise.
3888         (asin_test_upward): Likewise.
3889         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3890         (atan_test_data): Likewise.
3891         (atanh_test_data): Likewise.
3892         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3893         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3894         (carg_test_data): Likewise.
3895         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3896         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3897         (ccosh_test_data): Likewise.
3898         (cexp_test_data): Likewise.
3899         (clog_test_data): Likewise.
3900         (clog10_test_data): Likewise.
3901         (cos_test_data): Update call to AUTO_TESTS_f_f.
3902         (cos_test): Use ALL_RM_TEST.
3903         (cos_tonearest_test_data): Remove.
3904         (cos_test_tonearest): Likewise.
3905         (cos_towardzero_test_data): Likewise.
3906         (cos_test_towardzero): Likewise.
3907         (cos_downward_test_data): Likewise.
3908         (cos_test_downward): Likewise.
3909         (cos_upward_test_data): Likewise.
3910         (cos_test_upward): Likewise.
3911         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3912         (cosh_test): Use ALL_RM_TEST.
3913         (cosh_tonearest_test_data): Remove.
3914         (cosh_test_tonearest): Likewise.
3915         (cosh_towardzero_test_data): Likewise.
3916         (cosh_test_towardzero): Likewise.
3917         (cosh_downward_test_data): Likewise.
3918         (cosh_test_downward): Likewise.
3919         (cosh_upward_test_data): Likewise.
3920         (cosh_test_upward): Likewise.
3921         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3922         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3923         (ctan_test_data): Likewise.
3924         (ctan_test): Use ALL_RM_TEST.
3925         (ctan_tonearest_test_data): Remove.
3926         (ctan_test_tonearest): Likewise.
3927         (ctan_towardzero_test_data): Likewise.
3928         (ctan_test_towardzero): Likewise.
3929         (ctan_downward_test_data): Likewise.
3930         (ctan_test_downward): Likewise.
3931         (ctan_upward_test_data): Likewise.
3932         (ctan_test_upward): Likewise.
3933         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3934         (ctanh_test): Use ALL_RM_TEST.
3935         (ctanh_tonearest_test_data): Remove.
3936         (ctanh_test_tonearest): Likewise.
3937         (ctanh_towardzero_test_data): Likewise.
3938         (ctanh_test_towardzero): Likewise.
3939         (ctanh_downward_test_data): Likewise.
3940         (ctanh_test_downward): Likewise.
3941         (ctanh_upward_test_data): Likewise.
3942         (ctanh_test_upward): Likewise.
3943         (erf_test_data): Update call to AUTO_TESTS_f_f.
3944         (erfc_test_data): Likewise.
3945         (exp_test_data): Likewise.
3946         (exp_test): Use ALL_RM_TEST.
3947         (exp_tonearest_test_data): Remove.
3948         (exp_test_tonearest): Likewise.
3949         (exp_towardzero_test_data): Likewise.
3950         (exp_test_towardzero): Likewise.
3951         (exp_downward_test_data): Likewise.
3952         (exp_test_downward): Likewise.
3953         (exp_upward_test_data): Likewise.
3954         (exp_test_upward): Likewise.
3955         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3956         (exp10_test): Use ALL_RM_TEST.
3957         (exp10_tonearest_test_data): Remove.
3958         (exp10_test_tonearest): Likewise.
3959         (exp10_towardzero_test_data): Likewise.
3960         (exp10_test_towardzero): Likewise.
3961         (exp10_downward_test_data): Likewise.
3962         (exp10_test_downward): Likewise.
3963         (exp10_upward_test_data): Likewise.
3964         (exp10_test_upward): Likewise.
3965         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3966         (expm1_test_data): Likewise.
3967         (expm1_test): Use ALL_RM_TEST.
3968         (expm1_tonearest_test_data): Remove.
3969         (expm1_test_tonearest): Likewise.
3970         (expm1_towardzero_test_data): Likewise.
3971         (expm1_test_towardzero): Likewise.
3972         (expm1_downward_test_data): Likewise.
3973         (expm1_test_downward): Likewise.
3974         (expm1_upward_test_data): Likewise.
3975         (expm1_test_upward): Likewise.
3976         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3977         (fma_test): Use ALL_RM_TEST.
3978         (fma_towardzero_test_data): Remove.
3979         (fma_test_towardzero): Likewise.
3980         (fma_downward_test_data): Likewise.
3981         (fma_test_downward): Likewise.
3982         (fma_upward_test_data): Likewise.
3983         (fma_test_upward): Likewise.
3984         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3985         (j0_test_data): Update call to AUTO_TESTS_f_f.
3986         (j1_test_data): Likewise.
3987         (jn_test_data): Update call to AUTO_TESTS_if_f.
3988         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3989         (log_test_data): Update call to AUTO_TESTS_f_f.
3990         (log10_test_data): Likewise.
3991         (log1p_test_data): Likewise.
3992         (log2_test_data): Likewise.
3993         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3994         (pow_tonearest_test_data): Likewise.
3995         (sin_test_data): Update call to AUTO_TESTS_f_f.
3996         (sin_test): Use ALL_RM_TEST.
3997         (sin_tonearest_test_data): Remove.
3998         (sin_test_tonearest): Likewise.
3999         (sin_towardzero_test_data): Likewise.
4000         (sin_test_towardzero): Likewise.
4001         (sin_downward_test_data): Likewise.
4002         (sin_test_downward): Likewise.
4003         (sin_upward_test_data): Likewise.
4004         (sin_test_upward): Likewise.
4005         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4006         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4007         (sinh_test): Use ALL_RM_TEST.
4008         (sinh_tonearest_test_data): Remove.
4009         (sinh_test_tonearest): Likewise.
4010         (sinh_towardzero_test_data): Likewise.
4011         (sinh_test_towardzero): Likewise.
4012         (sinh_downward_test_data): Likewise.
4013         (sinh_test_downward): Likewise.
4014         (sinh_upward_test_data): Likewise.
4015         (sinh_test_upward): Likewise.
4016         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4017         (sqrt_test): Use ALL_RM_TEST.
4018         (sqrt_tonearest_test_data): Remove.
4019         (sqrt_test_tonearest): Likewise.
4020         (sqrt_towardzero_test_data): Likewise.
4021         (sqrt_test_towardzero): Likewise.
4022         (sqrt_downward_test_data): Likewise.
4023         (sqrt_test_downward): Likewise.
4024         (sqrt_upward_test_data): Likewise.
4025         (sqrt_test_upward): Likewise.
4026         (tan_test_data): Update call to AUTO_TESTS_f_f.
4027         (tan_test): Use ALL_RM_TEST.
4028         (tan_tonearest_test_data): Remove.
4029         (tan_test_tonearest): Likewise.
4030         (tan_towardzero_test_data): Likewise.
4031         (tan_test_towardzero): Likewise.
4032         (tan_downward_test_data): Likewise.
4033         (tan_test_downward): Likewise.
4034         (tan_upward_test_data): Likewise.
4035         (tan_test_upward): Likewise.
4036         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4037         (tgamma_test_data): Likewise.
4038         (y0_test_data): Likewise.
4039         (y1_test_data): Likewise.
4040         (yn_test_data): Update call to AUTO_TESTS_if_f.
4041         (main): Do not call removed functions.
4043 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4045         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4046         (ldexp_test_data): Remove.
4047         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4048         scalbn_test_data.
4049         (scalb_test): Use ALL_RM_TEST.
4051 2014-03-19  Andreas Schwab  <schwab@suse.de>
4053         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4055 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4057         [BZ #16649]
4058         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4062         (__ASSUME_PREADV): Undefine.
4063         (__ASSUME_PWRITEV): Likewise.
4065 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4067         * bits/mman-linux.h: Add comment about non-Linux use.
4068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4069         bits/mman-linux.h resting place.
4071         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4072         * bits/mman-linux.h: ... here.
4074 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4076         * conform/conformtest.pl: Add standard definition when calling C
4077         preprocessor on data files.
4078         (checknamespace): Remove unused variable.
4080 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4082         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4083         minus_oflow, plus_uflow and minus_uflow in expected results.
4084         * math/libm-test.inc (scalbn_test_data): Add more tests of
4085         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4086         minus_uflow.
4087         (scalbn_test): Use ALL_RM_TEST.
4088         (scalbln_test_data): Add more tests of negative arguments.  Use
4089         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4090         (scalbln_test): Use ALL_RM_TEST.
4092 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4094         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4096 2014-03-18  Will Newton  <will.newton@linaro.org>
4098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4099         inaccurate comment.
4101 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4103         * Makerules [!subdir] (check-abi): Exit with error status if a
4104         test failed.
4106 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4108         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4109         for rint.  Include results for all rounding modes.
4110         (nearbyint_test): Use ALL_RM_TEST.
4111         (rint_test_data): Include all tests used for nearbyint.
4113 2014-03-17  Will Newton  <will.newton@linaro.org>
4115         * nptl/sysdeps/pthread/pthread.h: Revert previous
4116         change.
4118         * sysdeps/generic/ldsodefs.h: Revert previous
4119         change.
4121         * libio/genops.c: Revert previous change.
4122         * libio/libioP.h: Likewise.
4123         * stdio-common/vfprintf.c: Likewise.
4125         * sysdeps/generic/math_private.h: Revert previous
4126         change.
4128         * sysdeps/generic/math_private.h: Check whether
4129         HAVE_RM_CTX is defined with #ifdef rather
4130         than #if.
4132         * argp/argp-fmtstream.h: Check whether
4133         __STRICT_ANSI__ is defined with #ifdef rather
4134         than #if.
4135         * argp/argp.h: Likewise.
4137         * libio/genops.c: Check whether
4138         _IO_JUMPS_OFFSET is defined with #ifdef rather
4139         than #if.
4140         * libio/libioP.h: Likewise.
4141         * stdio-common/vfprintf.c: Likewise.
4143         * sysdeps/generic/ldsodefs.h: Check whether
4144         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4145         than #if.
4147         * nptl/sysdeps/pthread/pthread.h: Check
4148         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4149         its value.
4151 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4153         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4154         setting O_APPEND.
4155         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4156         test case.
4158         [BZ #16680]
4159         * libio/fileops.c (_IO_file_open): Seek to end of file but
4160         don't cache the offset.
4161         (get_file_offset): Remove function.
4162         (do_ftell): Use cached offset when available.
4163         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4164         don't cache the offset.
4165         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4166         case.
4167         (do_one_test): Call it.
4168         (do_ftell_test): Fix up expected old offset for a+ mode.
4169         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4170         available.
4172         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4173         up test status with function return status.
4174         (do_write_test): Likewise.
4175         (do_append_test): Likewise.
4177         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4178         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4179         Remove.
4181 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4183         * math/gen-libm-test.pl (parse_args): Handle results specified for
4184         each rounding mode separately.
4185         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4186         tests and results from lrint_tonearest_test_data,
4187         lrint_towardzero_test_data, lrint_downward_test_data and
4188         lrint_upward_test_data.
4189         (lrint_test): Use ALL_RM_TEST.
4190         (lrint_tonearest_test_data): Remove.
4191         (lrint_test_tonearest): Likewise.
4192         (lrint_towardzero_test_data): Likewise.
4193         (lrint_test_towardzero): Likewise.
4194         (lrint_downward_test_data): Likewise.
4195         (lrint_test_downward): Likewise.
4196         (lrint_upward_test_data): Likewise.
4197         (lrint_test_upward): Likewise.
4198         (llrint_test_data): Merge in per-rounding-mode tests and results
4199         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4200         llrint_downward_test_data and llrint_upward_test_data.
4201         (llrint_test): Use ALL_RM_TEST.
4202         (llrint_tonearest_test_data): Remove.
4203         (llrint_test_tonearest): Likewise.
4204         (llrint_towardzero_test_data): Likewise.
4205         (llrint_test_towardzero): Likewise.
4206         (llrint_downward_test_data): Likewise.
4207         (llrint_test_downward): Likewise.
4208         (llrint_upward_test_data): Likewise.
4209         (llrint_test_upward): Likewise.
4210         (rint_test_data): Merge in per-rounding-mode tests and results
4211         from rint_tonearest_test_data, rint_towardzero_test_data,
4212         rint_downward_test_data and rint_upward_test_data.  Add
4213         per-rounding-mode results for tests not in those arrays.
4214         (rint_test): Use ALL_RM_TEST.
4215         (rint_tonearest_test_data): Remove.
4216         (rint_test_tonearest): Likewise.
4217         (rint_towardzero_test_data): Likewise.
4218         (rint_test_towardzero): Likewise.
4219         (rint_downward_test_data): Likewise.
4220         (rint_test_downward): Likewise.
4221         (rint_upward_test_data): Likewise.
4222         (rint_test_upward): Likewise.
4223         (main): Don't call removed functions.
4225 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4227         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4228         "Compiled on ..." crapola.  It is anti-useful.
4230 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4232         * scripts/evaluate-test.sh: Handle fourth argument to determine
4233         whether test run should stop on failure.
4234         * Makeconfig (stop-on-test-failure): New variable.
4235         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4236         $(stop-on-test-failure).
4237         * Makefile (tests): Give a summary of results from testing and
4238         exit with failure status if they include an ERROR or FAIL.
4239         (xtests): Likewise.
4240         * manual/install.texi (Configuring and compiling): Mention
4241         stop-on-test-failure=y.
4242         * INSTALL: Regenerated.
4244 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4246         * scripts/versionlist.awk: New file.
4247         * Makerules [$(build-shared) = yes]
4248         (postclean-generated): Add Versions.def, not Versions.def.v and
4249         Versions.def.v.i.
4250         ($(common-objpfx)Versions.def.v.i): Target removed.
4251         ($(common-objpfx)Versions.def): New target.
4252         ($(common-objpfx)Versions.all): Depend on that rather that
4253         $(common-objpfx)Versions.def.v.
4254         * Versions.def: File removed.
4256         * Makeconfig (+gccwarn): Add -Wundef.
4257         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4258         a dl-sysdep.h breaking its contract.
4259         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4260         * include/stackinfo.h: New file.
4261         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4262         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4263         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4264         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4265         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4266         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4267         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4268         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4269         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4270         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4271         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4272         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4273         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4274         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4275         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4277 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4279         [BZ #16707]
4280         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4281         implementation.
4282         * math/libm-test.inc (round_test_data): Add more tests.
4284         [BZ #16706]
4285         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4286         implementation.
4287         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4289         [BZ #16701]
4290         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4291         implementation.
4292         * math/libm-test.inc (ceil_test_data): Add more tests.
4294         * math/libm-test.inc (trunc_test_data): Add more tests related to
4295         BZ#16414.
4297 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4299         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4300         with #if rather than #ifdef.
4301         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4303 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4305         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4306         first.  Disable AVX-512 GCC support if assembler doesn't support
4307         it.
4308         * sysdeps/x86_64/configure: Regenerated.
4310 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4312         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4313         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4314         (__old_pthread_attr_setstack): Likewise.
4315         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4316         [!_STACK_GROWS_DOWN]: Likewise.
4318 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4320         * config.make.in (have-bash2): Delete.
4321         * configure.ac (libc_cv_have_bash2): Delete.
4322         * configure: Regenerate.
4323         * elf/Makefile (common-ldd-rewrite): Rename to ...
4324         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4325         (sh-ldd-rewrite): Delete.
4326         (bash-ldd-rewrite): Delete.
4327         (have-bash2): Delete checks.
4328         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4329         ldd-rewrite.
4331         * config.make.in (have-ksh): Delete.
4332         (KSH): Delete.
4333         * configure.ac (libc_cv_have_ksh): Delete.
4334         * configure: Regenerate.
4336         * elf/Makefile: Delete $(have-ksh) check.
4337         ($(objpfx)sotruss): Change KSH to BASH.
4338         * elf/sotruss.ksh: Rename to ...
4339         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4340         function style to match POSIX.  Drop ksh vim mode setting.
4342         * manual/time.texi (Specifying the Time Zone with TZ): Change
4343         Tuesday to Thursday.
4345         * debug/tst-longjmp_chk2.c: Update header comment.
4346         (stackoverflow_handler): Add comment.  Call assert on pass value.
4348 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4350         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4351         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4352         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4353         (La_x86_64_vector): Add zmm.
4354         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4355         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4356         ($(objpfx)tst-audit10): New target.
4357         ($(objpfx)tst-audit10.out): Likewise.
4358         (tst-audit10-ENV): New.
4359         (AVX512-CFLAGS): Likewise.
4360         (CFLAGS-tst-audit10.c): Likewise.
4361         (CFLAGS-tst-auditmod10a.c): Likewise.
4362         (CFLAGS-tst-auditmod10b.c): Likewise.
4363         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4364         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4365         * sysdeps/x86_64/configure: Regenerated.
4366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4367         AVX-512 zmm register support.
4368         (_dl_x86_64_save_sse): Likewise.
4369         (_dl_x86_64_restore_sse): Likewise.
4370         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4371         size vector registers.
4372         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4373         (ZMM_SIZE): Likewise.
4374         * sysdeps/x86_64/tst-audit10.c: New file.
4375         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4376         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4378 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4380         * configure.ac (HAVE_EHDR_START): New check.
4381         * configure: Regenerated.
4382         * config.h.in (HAVE_EHDR_START): New #undef.
4383         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4384         assuming the lowest-addressed segment maps the start of the file.
4386 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4388         * INSTALL: Regenerated.
4390 2014-03-13  Will Newton  <will.newton@linaro.org>
4392         * manual/setjmp.texi (System V contexts): Improve
4393         clarity and grammar of documentation.
4395 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4397         [BZ #16381]
4398         * elf/Makefile (tests): Add tst-pie2.
4399         (tests-pie): Add tst-pie2.
4400         * elf/tst-pie2.c: New file.
4401         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4402         for ET_EXEC.
4403         * elf/rtld.c (map_doit): Load executable as lt_executable.
4404         (dl_main): Likewise.
4406 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4408         [BZ #16642]
4409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4410         (__ASSUME_PSELECT): Undefine.
4412 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4414         [BZ #16689]
4415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4416         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4417         static build.
4418         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4419         selector for static builds.
4421 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4423         [BZ #16695]
4424         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4425         key in the buffer.
4427 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4430         IFUNC selector for static builds.
4432 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4434         * sysdeps/mips/math_private.h [__mips_hard_float]
4435         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4436         libc_feresetround_mips_ctx.
4437         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4438         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4439         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4441         [BZ #16677]
4442         * math/s_nextafter.c (__nextafter): Do not return value from
4443         overflowing computation.
4444         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4445         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4446         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4447         Likewise.
4448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4449         Likewise.
4450         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4451         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4453 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4455         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4456         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4457         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4458         the new mov targetting sp.
4460 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4462         [BZ #16683]
4463         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4464         Define it for static builds as well.
4465         (NO_BZERO_IMPL): Likewise.
4467 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4469         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4471         multiarch strspn for PPC64.
4472         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4473         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4475         (__libc_ifunc_impl_list): Likewise.
4476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4477         multiarch optimizations
4478         * string/strspn.c (strspn): Using macro to redefine symbol name.
4480 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4483         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4484         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4485         multiarch strncat for PPC64.
4486         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4487         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4489         (__libc_ifunc_impl_list): Likewise.
4490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4491         multiarch optimizations
4493 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4495         [BZ #16639]
4496         * nscd/nscd.service: Make service type forking.
4498 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4500         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4501         sign in non default rounding modes.
4502         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4504 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4506         * math/libm-test.inc (ALL_RM_TEST): New macro.
4507         (ceil_test): Use ALL_RM_TEST.
4508         (cimag_test): Likewise.
4509         (conj_test): Likewise.
4510         (copysign_test): Likewise.
4511         (cproj_test): Likewise.
4512         (creal_test): Likewise.
4513         (fabs_test): Likewise.
4514         (floor_test): Likewise.
4515         (fmax_test): Likewise.
4516         (fmin_test): Likewise.
4517         (fmod_test): Likewise.
4518         (fpclassify_test): Likewise.
4519         (frexp_test): Likewise.
4520         (ilogb_test): Likewise.
4521         (isfinite_test): Likewise.
4522         (finite_test): Likewise.
4523         (isgreater_test): Likewise.
4524         (isgreaterequal_test): Likewise.
4525         (isinf_test): Likewise.
4526         (isless_test): Likewise.
4527         (islessequal_test): Likewise.
4528         (islessgreater_test): Likewise.
4529         (isnan_test): Likewise.
4530         (isnormal_test): Likewise.
4531         (issignaling_test): Likewise.
4532         (isunordered_test): Likewise.
4533         (logb_test): Likewise.
4534         (logb_downward_test_data): Remove.
4535         (logb_test_downward): Likewise.
4536         (lround_test): Use ALL_RM_TEST.
4537         (llround_test): Likewise.
4538         (modf_test): Likewise.
4539         (nexttoward_test): Likewise.
4540         (remainder_test): Likewise.
4541         (drem_test): Likewise.
4542         (remainder_tonearest_test_data): Likewise.
4543         (remainder_test_tonearest): Likewise.
4544         (drem_test_tonearest): Likewise.
4545         (remainder_towardzero_test_data): Likewise.
4546         (remainder_test_towardzero): Likewise.
4547         (drem_test_towardzero): Likewise.
4548         (remainder_downward_test_data): Likewise.
4549         (remainder_test_downward): Likewise.
4550         (drem_test_downward): Likewise.
4551         (remainder_upward_test_data): Likewise.
4552         (remainder_test_upward): Likewise.
4553         (drem_test_upward): Likewise.
4554         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4555         (round_test): Use ALL_RM_TEST.
4556         (signbit_test): Likewise.
4557         (trunc_test): Likewise.
4558         (significand_test): Likewise.
4559         (main): Don't call removed functions.
4561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4563         [BZ #16674]
4564         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4565         || __USE_XOPEN2K8].
4566         (ILL_ILLOPN): Likewise.
4567         (ILL_ILLADR): Likewise.
4568         (ILL_ILLTRP): Likewise.
4569         (ILL_PRVOPC): Likewise.
4570         (ILL_PRVREG): Likewise.
4571         (ILL_COPROC): Likewise.
4572         (ILL_BADSTK): Likewise.
4573         (FPE_INTDIV): Likewise.
4574         (FPE_INTOVF): Likewise.
4575         (FPE_FLTDIV): Likewise.
4576         (FPE_FLTOVF): Likewise.
4577         (FPE_FLTUND): Likewise.
4578         (FPE_FLTRES): Likewise.
4579         (FPE_FLTINV): Likewise.
4580         (FPE_FLTSUB): Likewise.
4581         (SEGV_MAPERR): Likewise.
4582         (SEGV_ACCERR): Likewise.
4583         (BUS_ADRALN): Likewise.
4584         (BUS_ADRERR): Likewise.
4585         (BUS_OBJERR): Likewise.
4586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4587         (TRAP_TRACE): Likewise.
4588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4589         __USE_XOPEN2K8].
4590         (CLD_KILLED): Likewise.
4591         (CLD_DUMPED): Likewise.
4592         (CLD_TRAPPED): Likewise.
4593         (CLD_STOPPED): Likewise.
4594         (CLD_CONTINUED): Likewise.
4595         (POLL_IN): Likewise.
4596         (POLL_OUT): Likewise.
4597         (POLL_MSG): Likewise.
4598         (POLL_ERR): Likewise.
4599         (POLL_PRI): Likewise.
4600         (POLL_HUP): Likewise.
4601         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4602         Likewise.
4603         (ILL_ILLOPN): Likewise.
4604         (ILL_ILLADR): Likewise.
4605         (ILL_ILLTRP): Likewise.
4606         (ILL_PRVOPC): Likewise.
4607         (ILL_PRVREG): Likewise.
4608         (ILL_COPROC): Likewise.
4609         (ILL_BADSTK): Likewise.
4610         (FPE_INTDIV): Likewise.
4611         (FPE_INTOVF): Likewise.
4612         (FPE_FLTDIV): Likewise.
4613         (FPE_FLTOVF): Likewise.
4614         (FPE_FLTUND): Likewise.
4615         (FPE_FLTRES): Likewise.
4616         (FPE_FLTINV): Likewise.
4617         (FPE_FLTSUB): Likewise.
4618         (SEGV_MAPERR): Likewise.
4619         (SEGV_ACCERR): Likewise.
4620         (BUS_ADRALN): Likewise.
4621         (BUS_ADRERR): Likewise.
4622         (BUS_OBJERR): Likewise.
4623         (BUS_MCEERR_AR): Likewise.
4624         (BUS_MCEERR_AO): Likewise.
4625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4626         (TRAP_TRACE): Likewise.
4627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4628         __USE_XOPEN2K8].
4629         (CLD_KILLED): Likewise.
4630         (CLD_DUMPED): Likewise.
4631         (CLD_TRAPPED): Likewise.
4632         (CLD_STOPPED): Likewise.
4633         (CLD_CONTINUED): Likewise.
4634         (POLL_IN): Likewise.
4635         (POLL_OUT): Likewise.
4636         (POLL_MSG): Likewise.
4637         (POLL_ERR): Likewise.
4638         (POLL_PRI): Likewise.
4639         (POLL_HUP): Likewise.
4640         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4641         (ILL_ILLOPN): Likewise.
4642         (ILL_ILLADR): Likewise.
4643         (ILL_ILLTRP): Likewise.
4644         (ILL_PRVOPC): Likewise.
4645         (ILL_PRVREG): Likewise.
4646         (ILL_COPROC): Likewise.
4647         (ILL_BADSTK): Likewise.
4648         (FPE_INTDIV): Likewise.
4649         (FPE_INTOVF): Likewise.
4650         (FPE_FLTDIV): Likewise.
4651         (FPE_FLTOVF): Likewise.
4652         (FPE_FLTUND): Likewise.
4653         (FPE_FLTRES): Likewise.
4654         (FPE_FLTINV): Likewise.
4655         (FPE_FLTSUB): Likewise.
4656         (SEGV_MAPERR): Likewise.
4657         (SEGV_ACCERR): Likewise.
4658         (BUS_ADRALN): Likewise.
4659         (BUS_ADRERR): Likewise.
4660         (BUS_OBJERR): Likewise.
4661         (BUS_MCEERR_AR): Likewise.
4662         (BUS_MCEERR_AO): Likewise.
4663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4664         (TRAP_TRACE): Likewise.
4665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4666         __USE_XOPEN2K8].
4667         (CLD_KILLED): Likewise.
4668         (CLD_DUMPED): Likewise.
4669         (CLD_TRAPPED): Likewise.
4670         (CLD_STOPPED): Likewise.
4671         (CLD_CONTINUED): Likewise.
4672         (POLL_IN): Likewise.
4673         (POLL_OUT): Likewise.
4674         (POLL_MSG): Likewise.
4675         (POLL_ERR): Likewise.
4676         (POLL_PRI): Likewise.
4677         (POLL_HUP): Likewise.
4678         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4679         Likewise.
4680         (ILL_ILLOPN): Likewise.
4681         (ILL_ILLADR): Likewise.
4682         (ILL_ILLTRP): Likewise.
4683         (ILL_PRVOPC): Likewise.
4684         (ILL_PRVREG): Likewise.
4685         (ILL_COPROC): Likewise.
4686         (ILL_BADSTK): Likewise.
4687         (ILL_BADIADDR): Likewise.
4688         (ILL_BREAK): Likewise.
4689         (FPE_INTDIV): Likewise.
4690         (FPE_INTOVF): Likewise.
4691         (FPE_FLTDIV): Likewise.
4692         (FPE_FLTOVF): Likewise.
4693         (FPE_FLTUND): Likewise.
4694         (FPE_FLTRES): Likewise.
4695         (FPE_FLTINV): Likewise.
4696         (FPE_FLTSUB): Likewise.
4697         (FPE_DECOVF): Likewise.
4698         (FPE_DECDIV): Likewise.
4699         (FPE_DECERR): Likewise.
4700         (FPE_INVASC): Likewise.
4701         (FPE_INVDEC): Likewise.
4702         (SEGV_MAPERR): Likewise.
4703         (SEGV_ACCERR): Likewise.
4704         (SEGV_PSTKOVF): Likewise.
4705         (BUS_ADRALN): Likewise.
4706         (BUS_ADRERR): Likewise.
4707         (BUS_OBJERR): Likewise.
4708         (BUS_MCEERR_AR): Likewise.
4709         (BUS_MCEERR_AO): Likewise.
4710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4711         (TRAP_TRACE): Likewise.
4712         (TRAP_BRANCH): Likewise.
4713         (TRAP_HWBKPT): Likewise.
4714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4715         __USE_XOPEN2K8].
4716         (CLD_KILLED): Likewise.
4717         (CLD_DUMPED): Likewise.
4718         (CLD_TRAPPED): Likewise.
4719         (CLD_STOPPED): Likewise.
4720         (CLD_CONTINUED): Likewise.
4721         (POLL_IN): Likewise.
4722         (POLL_OUT): Likewise.
4723         (POLL_MSG): Likewise.
4724         (POLL_ERR): Likewise.
4725         (POLL_PRI): Likewise.
4726         (POLL_HUP): Likewise.
4727         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4728         (ILL_ILLOPN): Likewise.
4729         (ILL_ILLADR): Likewise.
4730         (ILL_ILLTRP): Likewise.
4731         (ILL_PRVOPC): Likewise.
4732         (ILL_PRVREG): Likewise.
4733         (ILL_COPROC): Likewise.
4734         (ILL_BADSTK): Likewise.
4735         (FPE_INTDIV): Likewise.
4736         (FPE_INTOVF): Likewise.
4737         (FPE_FLTDIV): Likewise.
4738         (FPE_FLTOVF): Likewise.
4739         (FPE_FLTUND): Likewise.
4740         (FPE_FLTRES): Likewise.
4741         (FPE_FLTINV): Likewise.
4742         (FPE_FLTSUB): Likewise.
4743         (SEGV_MAPERR): Likewise.
4744         (SEGV_ACCERR): Likewise.
4745         (BUS_ADRALN): Likewise.
4746         (BUS_ADRERR): Likewise.
4747         (BUS_OBJERR): Likewise.
4748         (BUS_MCEERR_AR): Likewise.
4749         (BUS_MCEERR_AO): Likewise.
4750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4751         (TRAP_TRACE): Likewise.
4752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4753         __USE_XOPEN2K8].
4754         (CLD_KILLED): Likewise.
4755         (CLD_DUMPED): Likewise.
4756         (CLD_TRAPPED): Likewise.
4757         (CLD_STOPPED): Likewise.
4758         (CLD_CONTINUED): Likewise.
4759         (POLL_IN): Likewise.
4760         (POLL_OUT): Likewise.
4761         (POLL_MSG): Likewise.
4762         (POLL_ERR): Likewise.
4763         (POLL_PRI): Likewise.
4764         (POLL_HUP): Likewise.
4765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4766         (ILL_ILLOPN): Likewise.
4767         (ILL_ILLADR): Likewise.
4768         (ILL_ILLTRP): Likewise.
4769         (ILL_PRVOPC): Likewise.
4770         (ILL_PRVREG): Likewise.
4771         (ILL_COPROC): Likewise.
4772         (ILL_BADSTK): Likewise.
4773         (FPE_INTDIV): Likewise.
4774         (FPE_INTOVF): Likewise.
4775         (FPE_FLTDIV): Likewise.
4776         (FPE_FLTOVF): Likewise.
4777         (FPE_FLTUND): Likewise.
4778         (FPE_FLTRES): Likewise.
4779         (FPE_FLTINV): Likewise.
4780         (FPE_FLTSUB): Likewise.
4781         (SEGV_MAPERR): Likewise.
4782         (SEGV_ACCERR): Likewise.
4783         (BUS_ADRALN): Likewise.
4784         (BUS_ADRERR): Likewise.
4785         (BUS_OBJERR): Likewise.
4786         (BUS_MCEERR_AR): Likewise.
4787         (BUS_MCEERR_AO): Likewise.
4788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4789         (TRAP_TRACE): Likewise.
4790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4791         __USE_XOPEN2K8].
4792         (CLD_KILLED): Likewise.
4793         (CLD_DUMPED): Likewise.
4794         (CLD_TRAPPED): Likewise.
4795         (CLD_STOPPED): Likewise.
4796         (CLD_CONTINUED): Likewise.
4797         (POLL_IN): Likewise.
4798         (POLL_OUT): Likewise.
4799         (POLL_MSG): Likewise.
4800         (POLL_ERR): Likewise.
4801         (POLL_PRI): Likewise.
4802         (POLL_HUP): Likewise.
4803         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4804         (ILL_ILLOPN): Likewise.
4805         (ILL_ILLADR): Likewise.
4806         (ILL_ILLTRP): Likewise.
4807         (ILL_PRVOPC): Likewise.
4808         (ILL_PRVREG): Likewise.
4809         (ILL_COPROC): Likewise.
4810         (ILL_BADSTK): Likewise.
4811         (FPE_INTDIV): Likewise.
4812         (FPE_INTOVF): Likewise.
4813         (FPE_FLTDIV): Likewise.
4814         (FPE_FLTOVF): Likewise.
4815         (FPE_FLTUND): Likewise.
4816         (FPE_FLTRES): Likewise.
4817         (FPE_FLTINV): Likewise.
4818         (FPE_FLTSUB): Likewise.
4819         (SEGV_MAPERR): Likewise.
4820         (SEGV_ACCERR): Likewise.
4821         (BUS_ADRALN): Likewise.
4822         (BUS_ADRERR): Likewise.
4823         (BUS_OBJERR): Likewise.
4824         (BUS_MCEERR_AR): Likewise.
4825         (BUS_MCEERR_AO): Likewise.
4826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4827         (TRAP_TRACE): Likewise.
4828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4829         __USE_XOPEN2K8].
4830         (CLD_KILLED): Likewise.
4831         (CLD_DUMPED): Likewise.
4832         (CLD_TRAPPED): Likewise.
4833         (CLD_STOPPED): Likewise.
4834         (CLD_CONTINUED): Likewise.
4835         (POLL_IN): Likewise.
4836         (POLL_OUT): Likewise.
4837         (POLL_MSG): Likewise.
4838         (POLL_ERR): Likewise.
4839         (POLL_PRI): Likewise.
4840         (POLL_HUP): Likewise.
4841         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4842         (ILL_ILLOPN): Likewise.
4843         (ILL_ILLADR): Likewise.
4844         (ILL_ILLTRP): Likewise.
4845         (ILL_PRVOPC): Likewise.
4846         (ILL_PRVREG): Likewise.
4847         (ILL_COPROC): Likewise.
4848         (ILL_BADSTK): Likewise.
4849         (ILL_DBLFLT): Likewise.
4850         (ILL_HARDWALL): Likewise.
4851         (FPE_INTDIV): Likewise.
4852         (FPE_INTOVF): Likewise.
4853         (FPE_FLTDIV): Likewise.
4854         (FPE_FLTOVF): Likewise.
4855         (FPE_FLTUND): Likewise.
4856         (FPE_FLTRES): Likewise.
4857         (FPE_FLTINV): Likewise.
4858         (FPE_FLTSUB): Likewise.
4859         (SEGV_MAPERR): Likewise.
4860         (SEGV_ACCERR): Likewise.
4861         (BUS_ADRALN): Likewise.
4862         (BUS_ADRERR): Likewise.
4863         (BUS_OBJERR): Likewise.
4864         (BUS_MCEERR_AR): Likewise.
4865         (BUS_MCEERR_AO): Likewise.
4866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4867         (TRAP_TRACE): Likewise.
4868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4869         __USE_XOPEN2K8].
4870         (CLD_KILLED): Likewise.
4871         (CLD_DUMPED): Likewise.
4872         (CLD_TRAPPED): Likewise.
4873         (CLD_STOPPED): Likewise.
4874         (CLD_CONTINUED): Likewise.
4875         (POLL_IN): Likewise.
4876         (POLL_OUT): Likewise.
4877         (POLL_MSG): Likewise.
4878         (POLL_ERR): Likewise.
4879         (POLL_PRI): Likewise.
4880         (POLL_HUP): Likewise.
4881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4882         (ILL_ILLOPN): Likewise.
4883         (ILL_ILLADR): Likewise.
4884         (ILL_ILLTRP): Likewise.
4885         (ILL_PRVOPC): Likewise.
4886         (ILL_PRVREG): Likewise.
4887         (ILL_COPROC): Likewise.
4888         (ILL_BADSTK): Likewise.
4889         (FPE_INTDIV): Likewise.
4890         (FPE_INTOVF): Likewise.
4891         (FPE_FLTDIV): Likewise.
4892         (FPE_FLTOVF): Likewise.
4893         (FPE_FLTUND): Likewise.
4894         (FPE_FLTRES): Likewise.
4895         (FPE_FLTINV): Likewise.
4896         (FPE_FLTSUB): Likewise.
4897         (SEGV_MAPERR): Likewise.
4898         (SEGV_ACCERR): Likewise.
4899         (BUS_ADRALN): Likewise.
4900         (BUS_ADRERR): Likewise.
4901         (BUS_OBJERR): Likewise.
4902         (BUS_MCEERR_AR): Likewise.
4903         (BUS_MCEERR_AO): Likewise.
4904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4905         (TRAP_TRACE): Likewise.
4906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4907         __USE_XOPEN2K8].
4908         (CLD_KILLED): Likewise.
4909         (CLD_DUMPED): Likewise.
4910         (CLD_TRAPPED): Likewise.
4911         (CLD_STOPPED): Likewise.
4912         (CLD_CONTINUED): Likewise.
4913         (POLL_IN): Likewise.
4914         (POLL_OUT): Likewise.
4915         (POLL_MSG): Likewise.
4916         (POLL_ERR): Likewise.
4917         (POLL_PRI): Likewise.
4918         (POLL_HUP): Likewise.
4919         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4920         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4922         [BZ #16670]
4923         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4924         before #include of <time.h>.
4925         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4926         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4927         (test-xfail-UNIX98/sched.h/conform): Likewise.
4929 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4931         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4932         error absence of trapping exception support.
4933         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4935 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4937         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4938         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4939         * timezone/Makefile (testdata): Move definition above include of
4940         Rules.
4941         (test-zones): New variable.
4942         (tests-special): Add zone files.
4943         (build-testdata): Use $(evaluate-test).
4945         * elf/Makefile (tests-special): Rename tests to end with .out.
4946         ($(objpfx)noload-mem): Likewise.
4947         ($(objpfx)tst-leaks1-mem): Likewise.
4948         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4949         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4950         $(objpfx)test-iconvconfig.out.
4951         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4952         set -e inside subshell and redirect output to file.
4953         * iconvdata/Makefile (generated): Rename tests to end with .out.
4954         Correct type.
4955         (tests-special): Rename tests to end with .out.
4956         ($(objpfx)mtrace-tst-loading): Likewise.
4957         * intl/Makefile (generated): Likewise.
4958         (tests-special): Likewise.
4959         ($(objpfx)mtrace-tst-gettext): Likewise.
4960         * misc/Makefile (generated): Likewise.
4961         (tests-special): Likewise.
4962         ($(objpfx)tst-error1-mem): Likewise.
4963         * nptl/Makefile (tests-special): Likewise.
4964         ($(objpfx)tst-stack3-mem): Likewise.
4965         (generated): Likewise.
4966         * posix/Makefile (generated): Likewise.
4967         (tests-special): Likewise.
4968         (xtests-special): Likewise.
4969         ($(objpfx)tst-fnmatch-mem): Likewise.
4970         ($(objpfx)bug-regex2-mem): Likewise.
4971         ($(objpfx)bug-regex14-mem): Likewise.
4972         ($(objpfx)bug-regex21-mem): Likewise.
4973         ($(objpfx)bug-regex31-mem): Likewise.
4974         ($(objpfx)tst-vfork3-mem): Likewise.
4975         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4976         ($(objpfx)tst-pcre-mem): Likewise.
4977         ($(objpfx)tst-boost-mem): Likewise.
4978         ($(objpfx)bug-ga2-mem): Likewise.
4979         ($(objpfx)bug-glob2-mem): Likewise.
4980         * resolv/Makefile (generate): Likewise.
4981         (tests-special): Likewise.
4982         (xtests-special): Likewise.
4983         (generated): Likewise.
4984         ($(objpfx)mtrace-tst-leaks): Likewise.
4985         ($(objpfx)mtrace-tst-leaks2): Likewise.
4987         * scripts/merge-test-results.sh: New file.
4988         * Makefile (tests-special-notdir): New variable.
4989         (tests): Run merge-test-results.sh.
4990         (xtests): Likewise.
4991         * Rules (tests-special-notdir): New variable.
4992         (xtests-special-notdir): Likewise.
4993         (tests): Run merge-test-results.sh
4994         (xtests): Likewise.
4996         * Makeconfig (test-xfail-name): New variable.
4997         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4998         compute variable name for expected failures.
4999         * conform/Makefile (conformtest-headers-data): New variable.
5000         (conformtest-standards): Likewise.
5001         (conformtest-headers-ISO): Likewise.
5002         (conformtest-headers-ISO99): Likewise.
5003         (conformtest-headers-ISO11): Likewise.
5004         (conformtest-headers-POSIX): Likewise.
5005         (conformtest-headers-XPG3): Likewise.
5006         (conformtest-headers-XPG4): Likewise.
5007         (conformtest-headers-UNIX98): Likewise.
5008         (conformtest-headers-XOPEN2K): Likewise.
5009         (conformtest-headers-POSIX2008): Likewise.
5010         (conformtest-headers-XOPEN2K8): Likewise.
5011         (conformtest-header-list-base): Likewise.
5012         (conformtest-header-list-tests): Likewise.
5013         (conformtest-header-base): Likewise.
5014         (conformtest-header-tests): Likewise.
5015         (tests-special): Add $(conformtest-header-list-tests).  If
5016         [$(fast-check) && !$(cross-compiling)], add
5017         $(conformtest-header-tests) instead of
5018         $(objpfx)run-conformtest.out.
5019         (generated): Add $(conformtest-header-list-base).  If
5020         [$(fast-check) && !$(cross-compiling)], add
5021         $(conformtest-header-base).  Remove previous setting.
5022         ($(conformtest-header-list-tests)): New target.
5023         (test-xfail-run-conformtest): Remove variable.
5024         ($(objpfx)run-conformtest.out): Remove target.
5025         (test-xfail-ISO11/complex.h/conform): New variable.
5026         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5027         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5028         (test-xfail-XPG3/varargs.h/conform): Likewise.
5029         (test-xfail-XPG4/varargs.h/conform): Likewise.
5030         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5031         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5032         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5033         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5034         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5035         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5036         (test-xfail-XPG3/ftw.h/conform): Likewise.
5037         (test-xfail-XPG3/grp.h/conform): Likewise.
5038         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5039         (test-xfail-XPG3/limits.h/conform): Likewise.
5040         (test-xfail-XPG3/pwd.h/conform): Likewise.
5041         (test-xfail-XPG3/search.h/conform): Likewise.
5042         (test-xfail-XPG3/signal.h/conform): Likewise.
5043         (test-xfail-XPG3/stdio.h/conform): Likewise.
5044         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5045         (test-xfail-XPG3/string.h/conform): Likewise.
5046         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5047         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5048         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5049         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5050         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5051         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5052         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5053         (test-xfail-XPG3/termios.h/conform): Likewise.
5054         (test-xfail-XPG3/time.h/conform): Likewise.
5055         (test-xfail-XPG3/unistd.h/conform): Likewise.
5056         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5057         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5058         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5059         (test-xfail-XPG4/netdb.h/conform): Likewise.
5060         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5061         (test-xfail-XPG4/signal.h/conform): Likewise.
5062         (test-xfail-XPG4/stdio.h/conform): Likewise.
5063         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5064         (test-xfail-XPG4/stropts.h/conform): Likewise.
5065         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5066         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5067         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5068         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5069         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5070         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5071         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5072         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5073         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5074         (test-xfail-XPG4/termios.h/conform): Likewise.
5075         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5076         (test-xfail-XPG4/unistd.h/conform): Likewise.
5077         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5078         (test-xfail-POSIX/sched.h/conform): Likewise.
5079         (test-xfail-POSIX/signal.h/conform): Likewise.
5080         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5081         (test-xfail-POSIX/tar.h/conform): Likewise.
5082         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5083         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5084         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5085         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5086         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5087         (test-xfail-UNIX98/sched.h/conform): Likewise.
5088         (test-xfail-UNIX98/signal.h/conform): Likewise.
5089         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5090         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5091         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5092         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5093         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5094         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5095         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5096         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5097         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5098         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5099         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5100         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5101         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5102         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5103         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5104         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5105         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5106         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5107         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5108         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5109         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5110         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5111         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5112         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5113         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5114         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5115         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5116         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5117         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5118         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5119         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5120         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5121         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5122         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5123         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5124         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5125         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5126         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5127         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5128         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5129         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5130         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5131         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5132         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5133         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5134         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5135         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5136         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5137         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5138         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5139         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5140         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5141         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5142         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5143         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5144         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5145         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5146         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5147         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5148         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5149         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5150         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5151         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5152         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5153         (conformtest-cc-flags): Likewise.
5154         ($(conformtest-header-tests): New target.
5155         * conform/check-header-lists.sh: New file.
5156         * conform/run-conformtest.sh: Remove.
5158         * conform/conformtest.pl: Allow ' and \ in values given for
5159         constants.
5160         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5161         inclusion.
5162         [POSIX] (sys/types.h): Likewise.
5163         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5164         inclusion.
5165         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5166         inclusion.
5167         * conform/data/signal.h-data (SIGIO): Remove expectation.
5168         [XPG3] (SIGBUS): Do not expect.
5169         [POSIX || XPG3] (SIGPOLL): Likewise.
5170         [POSIX || XPG3] (SIGPROF): Likewise.
5171         [POSIX || XPG3] (SIGSYS): Likewise.
5172         [XPG3] (SIGTRAP): Likewise.
5173         [POSIX || XPG3] (SIGURG): Likewise.
5174         [POSIX || XPG3] (SIGVTALRM): Likewise.
5175         [POSIX || XPG3] (SIGXCPU): Likewise.
5176         [POSIX || XPG3] (SIGXFSZ): Likewise.
5177         [POSIX] (SA_SIGINFO): Expect.
5178         [XPG3] (siginfo_t): Do not expect type or contents.
5179         [POSIX] (si_pid): Do not expect element.
5180         [POSIX] (si_uid): Likewise.
5181         [POSIX] (si_addr): Likewise.
5182         [POSIX] (si_status): Likewise.
5183         [POSIX] (si_band): Likewise.
5184         [XPG4] (si_value): Likewise.
5185         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5186         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5187         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5188         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5189         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5190         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5191         [POSIX || XPG3] (ILL_COPROC): Likewise.
5192         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5193         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5194         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5195         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5196         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5197         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5198         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5199         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5200         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5201         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5202         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5203         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5204         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5205         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5206         [POSIX || XPG3] (CLD_EXITED): Likewise.
5207         [POSIX || XPG3] (CLD_KILLED): Likewise.
5208         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5209         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5210         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5211         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5212         [POSIX || XPG3] (POLL_IN): Likewise.
5213         [POSIX || XPG3] (POLL_OUT): Likewise.
5214         [POSIX || XPG3] (POLL_MSG): Likewise.
5215         [POSIX || XPG3] (POLL_ERR): Likewise.
5216         [POSIX || XPG3] (POLL_PRI): Likewise.
5217         [POSIX || XPG3] (POLL_HUP): Likewise.
5218         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5219         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5220         (SIG*): Do not allow.
5221         [XPG3] (si_*): Likewise.
5222         [XPG3] (SI_*): Likewise.
5223         [XPG3 || XPG4] (sigev_*): Likewise.
5224         [XPG3 || XPG4] (SIGEV_*): Likewise.
5225         [XPG3 || XPG4] (sival_*): Likewise.
5226         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5227         [POSIX || XPG3] (BUS_*): Likewise.
5228         [POSIX || XPG3] (CLD_*): Likewise.
5229         [POSIX || XPG3] (FPE_*): Likewise.
5230         [POSIX || XPG3] (ILL_*): Likewise.
5231         [POSIX || XPG3] (POLL_*): Likewise.
5232         [POSIX || XPG3] (SEGV_*): Likewise.
5233         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5234         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5235         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5236         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5237         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5238         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5239         Specify type and value.
5240         (TVERSLEN): Likewise.
5241         (REGTYPE): Likewise.
5242         (AREGTYPE): Likewise.
5243         (LNKTYPE): Likewise.
5244         (SYMTYPE): Likewise.
5245         (CHRTYPE): Likewise.
5246         (BLKTYPE): Likewise.
5247         (DIRTYPE): Likewise.
5248         (FIFOTYPE): Likewise.
5249         (CONTTYPE): Likewise.
5250         (TSUID): Likewise.
5251         (TSGID): Likewise.
5252         (TSVTX): Likewise.
5253         (TUREAD): Likewise.
5254         (TUWRITE): Likewise.
5255         (TUEXEC): Likewise.
5256         (TGREAD): Likewise.
5257         (TGWRITE): Likewise.
5258         (TGEXEC): Likewise.
5259         (TOREAD): Likewise.
5260         (TOWRITE): Likewise.
5261         (TOEXEC): Likewise.
5262         [POSIX] (TSVTX): Expect constant.
5264 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5266         * Makefile (tests): Change dependencies to ....
5267         (tests-special): ... additions to this variable.
5268         (tests): Depend on $(tests-special).
5269         * Makerules (check-abi-list): New variable.
5270         (check-abi): Depend on $(check-abi-list).
5271         [$(subdir) = elf] (tests-special): Add
5272         $(objpfx)check-abi-libc.out.
5273         [$(build-shared) = yes && subdir] (tests-special): Add
5274         $(check-abi-list).
5275         [$(build-shared) = yes && subdir] (tests): Do not depend on
5276         check-abi.
5277         * Rules (tests): Depend on $(tests-special).
5278         (xtests): Depend on $(xtests-special).
5279         * catgets/Makefile (tests): Change dependencies to ....
5280         (tests-special): ... additions to this variable.
5281         * conform/Makefile (tests): Change dependencies to ....
5282         (tests-special): ... additions to this variable.
5283         * elf/Makefile (tests): Change dependencies to ....
5284         (tests-special): ... additions to this variable.
5285         * grp/Makefile (tests): Change dependencies to ....
5286         (tests-special): ... additions to this variable.
5287         * iconv/Makefile (xtests): Change dependencies to ....
5288         (xtests-special): ... additions to this variable.
5289         * iconvdata/Makefile (tests): Change dependencies to ....
5290         (tests-special): ... additions to this variable.
5291         * intl/Makefile (tests): Change dependencies to ....
5292         (tests-special): ... additions to this variable.  Also add
5293         $(objpfx)tst-gettext.out.
5294         * io/Makefile (tests): Change dependencies to ....
5295         (tests-special): ... additions to this variable.
5296         * libio/Makefile (tests): Change dependencies to ....
5297         (tests-special): ... additions to this variable.
5298         * malloc/Makefile (tests): Change dependencies to ....
5299         (tests-special): ... additions to this variable.
5300         * misc/Makefile (tests): Change dependencies to ....
5301         (tests-special): ... additions to this variable.
5302         * nptl/Makefile (tests): Change dependencies to ....
5303         (tests-special): ... additions to this variable.
5304         * nptl_db/Makefile (tests): Change dependencies to ....
5305         (tests-special): ... additions to this variable.
5306         * posix/Makefile (tests): Change dependencies to ....
5307         (tests-special): ... additions to this variable.
5308         (xtests): Change dependencies to ....
5309         (xtests-special): ... additions to this variable.
5310         * resolv/Makefile (tests): Change dependencies to ....
5311         (tests-special): ... additions to this variable.
5312         (xtests): Change dependencies to ....
5313         (xtests-special): ... additions to this variable.
5314         * stdio-common/Makefile (tests): Change dependencies to ....
5315         (tests-special): ... additions to this variable.
5316         (do-tst-unbputc): Remove target.
5317         (do-tst-printf): Likewise.
5318         * stdlib/Makefile (tests): Change dependencies to ....
5319         (tests-special): ... additions to this variable.
5320         * string/Makefile (tests): Change dependencies to ....
5321         (tests-special): ... additions to this variable.
5322         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5323         (tests-special): ... additions to this variable.
5325         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5326         whole file.
5327         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5328         whole file.
5329         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5330         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5332         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5333         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5334         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5335         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5336         * conform/data/libgen.h-data [XPG3]: Likewise.
5337         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5338         * conform/data/ndbm.h-data [XPG3]: Likewise.
5339         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5340         * conform/data/netdb.h-data [XPG3]: Likewise.
5341         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5342         * conform/data/poll.h-data [XPG3]: Likewise.
5343         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5344         * conform/data/strings.h-data [XPG3]: Likewise.
5345         * conform/data/stropts.h-data [XPG3]: Likewise.
5346         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5347         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5348         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5349         Likewise.
5350         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5351         * conform/data/sys/time.h-data [XPG3]: Likewise.
5352         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5353         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5354         * conform/data/sys/un.h-data [XPG3]: Likewise.
5355         * conform/data/syslog.h-data [XPG3]: Likewise.
5356         * conform/data/ucontext.h-data [XPG3]: Likewise.
5357         * conform/data/utmpx.h-data [XPG3]: Likewise.
5358         * conform/data/varargs.h-data [UNIX98]: Enable file.
5360         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5362         * math/libm-test.inc (struct test_f_f_data): Move expected results
5363         into structure for each rounding mode.
5364         (struct test_ff_f_data): Likewise.
5365         (struct test_ff_f_data_nexttoward): Likewise.
5366         (struct test_fi_f_data): Likewise.
5367         (struct test_fl_f_data): Likewise.
5368         (struct test_if_f_data): Likewise.
5369         (struct test_fff_f_data): Likewise.
5370         (struct test_c_f_data): Likewise.
5371         (struct test_f_f1_data): Likewise.
5372         (struct test_fF_f1_data): Likewise.
5373         (struct test_ffI_f1_data): Likewise.
5374         (struct test_c_c_data): Likewise.
5375         (struct test_cc_c_data): Likewise.
5376         (struct test_f_i_data): Likewise.
5377         (struct test_ff_i_data): Likewise.
5378         (struct test_f_l_data): Likewise.
5379         (struct test_f_L_data): Likewise.
5380         (struct test_fFF_11_data): Likewise.
5381         (RM_): New macro.
5382         (RM_FE_DOWNWARD): Likewise.
5383         (RM_FE_TONEAREST): Likewise.
5384         (RM_FE_TOWARDZERO): Likewise.
5385         (RM_FE_UPWARD): Likewise.
5386         (RUN_TEST_LOOP_f_f): Update references to expected results.
5387         (RUN_TEST_LOOP_2_f): Likewise.
5388         (RUN_TEST_LOOP_fff_f): Likewise.
5389         (RUN_TEST_LOOP_c_f): Likewise.
5390         (RUN_TEST_LOOP_f_f1): Likewise.
5391         (RUN_TEST_LOOP_fF_f1): Likewise.
5392         (RUN_TEST_LOOP_fI_f1): Likewise.
5393         (RUN_TEST_LOOP_ffI_f1): Likewise.
5394         (RUN_TEST_LOOP_c_c): Likewise.
5395         (RUN_TEST_LOOP_cc_c): Likewise.
5396         (RUN_TEST_LOOP_f_i): Likewise.
5397         (RUN_TEST_LOOP_f_i_tg): Likewise.
5398         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5399         (RUN_TEST_LOOP_f_b): Likewise.
5400         (RUN_TEST_LOOP_f_b_tg): Likewise.
5401         (RUN_TEST_LOOP_f_l): Likewise.
5402         (RUN_TEST_LOOP_f_L): Likewise.
5403         (RUN_TEST_LOOP_fFF_11): Likewise.
5404         * math/gen-libm-test.pl (parse_args): Output four copies of
5405         expected results for each test.
5407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5408         (__ASSUME_UTIMES): Remove.
5409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5410         (__ASSUME_UTIMES): Likewise.
5412         * math/gen-auto-libm-tests.c: Update comment on output format.
5413         (output_for_one_input_case): Generate before-rounding and
5414         after-rounding information as conditions on output flags not
5415         floating-point format.
5416         * math/auto-libm-test-out: Regenerated.
5417         * math/gen-libm-test.pl (cond_value): New function.
5418         (or_cond_value): Use cond_value.
5419         (generate_testfile): Handle conditional exceptions.
5421 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5423         * math/libm-test.inc (max_valid_error): New variable.
5424         (init_max_error): Take new argument specifying whether function
5425         results are exactly determined.  Set max_valid_error and bound
5426         other variables for errors based on this argument.
5427         (set_max_error): Do not record results above max_valid_error.
5428         (check_float_internal): Only accept errors of up to 0.5ulps if
5429         also at most max_valid_error.
5430         (START): Take new argument EXACT and pass it to init_max_error.
5431         (acos_test): Update call to START.
5432         (acos_test_tonearest): Likewise.
5433         (acos_test_towardzero): Likewise.
5434         (acos_test_downward): Likewise.
5435         (acos_test_upward): Likewise.
5436         (acosh_test): Likewise.
5437         (asin_test): Likewise.
5438         (asin_test_tonearest): Likewise.
5439         (asin_test_towardzero): Likewise.
5440         (asin_test_downward): Likewise.
5441         (asin_test_upward): Likewise.
5442         (asinh_test): Likewise.
5443         (atan_test): Likewise.
5444         (atanh_test): Likewise.
5445         (atan2_test): Likewise.
5446         (cabs_test): Likewise.
5447         (cacos_test): Likewise.
5448         (cacosh_test): Likewise.
5449         (carg_test): Likewise.
5450         (casin_test): Likewise.
5451         (casinh_test): Likewise.
5452         (catan_test): Likewise.
5453         (catanh_test): Likewise.
5454         (cbrt_test): Likewise.
5455         (ccos_test): Likewise.
5456         (ccosh_test): Likewise.
5457         (ceil_test): Likewise.
5458         (cexp_test): Likewise.
5459         (cimag_test): Likewise.
5460         (clog_test): Likewise.
5461         (clog10_test): Likewise.
5462         (conj_test): Likewise.
5463         (copysign_test): Likewise.
5464         (cos_test): Likewise.
5465         (cos_test_tonearest): Likewise.
5466         (cos_test_towardzero): Likewise.
5467         (cos_test_downward): Likewise.
5468         (cos_test_upward): Likewise.
5469         (cosh_test): Likewise.
5470         (cosh_test_tonearest): Likewise.
5471         (cosh_test_towardzero): Likewise.
5472         (cosh_test_downward): Likewise.
5473         (cosh_test_upward): Likewise.
5474         (cpow_test): Likewise.
5475         (cproj_test): Likewise.
5476         (creal_test): Likewise.
5477         (csin_test): Likewise.
5478         (csinh_test): Likewise.
5479         (csqrt_test): Likewise.
5480         (ctan_test): Likewise.
5481         (ctan_test_tonearest): Likewise.
5482         (ctan_test_towardzero): Likewise.
5483         (ctan_test_downward): Likewise.
5484         (ctan_test_upward): Likewise.
5485         (ctanh_test): Likewise.
5486         (ctanh_test_tonearest): Likewise.
5487         (ctanh_test_towardzero): Likewise.
5488         (ctanh_test_downward): Likewise.
5489         (ctanh_test_upward): Likewise.
5490         (erf_test): Likewise.
5491         (erfc_test): Likewise.
5492         (exp_test): Likewise.
5493         (exp_test_tonearest): Likewise.
5494         (exp_test_towardzero): Likewise.
5495         (exp_test_downward): Likewise.
5496         (exp_test_upward): Likewise.
5497         (exp10_test): Likewise.
5498         (exp10_test_tonearest): Likewise.
5499         (exp10_test_towardzero): Likewise.
5500         (exp10_test_downward): Likewise.
5501         (exp10_test_upward): Likewise.
5502         (pow10_test): Likewise.
5503         (exp2_test): Likewise.
5504         (expm1_test): Likewise.
5505         (expm1_test_tonearest): Likewise.
5506         (expm1_test_towardzero): Likewise.
5507         (expm1_test_downward): Likewise.
5508         (expm1_test_upward): Likewise.
5509         (fabs_test): Likewise.
5510         (fdim_test): Likewise.
5511         (floor_test): Likewise.
5512         (fma_test): Likewise.
5513         (fma_test_towardzero): Likewise.
5514         (fma_test_downward): Likewise.
5515         (fma_test_upward): Likewise.
5516         (fmax_test): Likewise.
5517         (fmin_test): Likewise.
5518         (fmod_test): Likewise.
5519         (fpclassify_test): Likewise.
5520         (frexp_test): Likewise.
5521         (hypot_test): Likewise.
5522         (ilogb_test): Likewise.
5523         (isfinite_test): Likewise.
5524         (finite_test): Likewise.
5525         (isgreater_test): Likewise.
5526         (isgreaterequal_test): Likewise.
5527         (isinf_test): Likewise.
5528         (isless_test): Likewise.
5529         (islessequal_test): Likewise.
5530         (islessgreater_test): Likewise.
5531         (isnan_test): Likewise.
5532         (isnormal_test): Likewise.
5533         (issignaling_test): Likewise.
5534         (isunordered_test): Likewise.
5535         (j0_test): Likewise.
5536         (j1_test): Likewise.
5537         (jn_test): Likewise.
5538         (ldexp_test): Likewise.
5539         (lgamma_test): Likewise.
5540         (gamma_test): Likewise.
5541         (lrint_test): Likewise.
5542         (lrint_test_tonearest): Likewise.
5543         (lrint_test_towardzero): Likewise.
5544         (lrint_test_downward): Likewise.
5545         (lrint_test_upward): Likewise.
5546         (llrint_test): Likewise.
5547         (llrint_test_tonearest): Likewise.
5548         (llrint_test_towardzero): Likewise.
5549         (llrint_test_downward): Likewise.
5550         (llrint_test_upward): Likewise.
5551         (log_test): Likewise.
5552         (log10_test): Likewise.
5553         (log1p_test): Likewise.
5554         (log2_test): Likewise.
5555         (logb_test): Likewise.
5556         (logb_test_downward): Likewise.
5557         (lround_test): Likewise.
5558         (llround_test): Likewise.
5559         (modf_test): Likewise.
5560         (nearbyint_test): Likewise.
5561         (nextafter_test): Likewise.
5562         (nexttoward_test): Likewise.
5563         (pow_test): Likewise.
5564         (pow_test_tonearest): Likewise.
5565         (pow_test_towardzero): Likewise.
5566         (pow_test_downward): Likewise.
5567         (pow_test_upward): Likewise.
5568         (remainder_test): Likewise.
5569         (drem_test): Likewise.
5570         (remainder_test_tonearest): Likewise.
5571         (drem_test_tonearest): Likewise.
5572         (remainder_test_towardzero): Likewise.
5573         (drem_test_towardzero): Likewise.
5574         (remainder_test_downward): Likewise.
5575         (drem_test_downward): Likewise.
5576         (remainder_test_upward): Likewise.
5577         (drem_test_upward): Likewise.
5578         (remquo_test): Likewise.
5579         (rint_test): Likewise.
5580         (rint_test_tonearest): Likewise.
5581         (rint_test_towardzero): Likewise.
5582         (rint_test_downward): Likewise.
5583         (rint_test_upward): Likewise.
5584         (round_test): Likewise.
5585         (scalb_test): Likewise.
5586         (scalbn_test): Likewise.
5587         (scalbln_test): Likewise.
5588         (signbit_test): Likewise.
5589         (sin_test): Likewise.
5590         (sin_test_tonearest): Likewise.
5591         (sin_test_towardzero): Likewise.
5592         (sin_test_downward): Likewise.
5593         (sin_test_upward): Likewise.
5594         (sincos_test): Likewise.
5595         (sinh_test): Likewise.
5596         (sinh_test_tonearest): Likewise.
5597         (sinh_test_towardzero): Likewise.
5598         (sinh_test_downward): Likewise.
5599         (sinh_test_upward): Likewise.
5600         (sqrt_test): Likewise.
5601         (sqrt_test_tonearest): Likewise.
5602         (sqrt_test_towardzero): Likewise.
5603         (sqrt_test_downward): Likewise.
5604         (sqrt_test_upward): Likewise.
5605         (tan_test): Likewise.
5606         (tan_test_tonearest): Likewise.
5607         (tan_test_towardzero): Likewise.
5608         (tan_test_downward): Likewise.
5609         (tan_test_upward): Likewise.
5610         (tanh_test): Likewise.
5611         (tgamma_test): Likewise.
5612         (trunc_test): Likewise.
5613         (y0_test): Likewise.
5614         (y1_test): Likewise.
5615         (yn_test): Likewise.
5616         (significand_test): Likewise.
5618         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5619         individual tests in comment.
5620         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5621         (prev_max_error): New variable.
5622         (prev_real_max_error): Likewise.
5623         (prev_imag_max_error): Likewise.
5624         (compare_ulp_data): Don't refer to test names in comment.
5625         (find_test_ulps): Remove function.
5626         (find_function_ulps): Likewise.
5627         (find_complex_function_ulps): Likewise.
5628         (init_max_error): Take function name as argument.  Look up ulps
5629         for that function.
5630         (print_ulps): Remove function.
5631         (print_max_error): Use prev_max_error instead of calling
5632         find_function_ulps.
5633         (print_complex_max_error): Use prev_real_max_error and
5634         prev_imag_max_error instead of calling find_complex_function_ulps.
5635         (check_float_internal): Take max_ulp parameter instead of calling
5636         find_test_ulps.  Don't call print_ulps.
5637         (check_float): Update call to check_float_internal.
5638         (check_complex): Update calls to check_float_internal.
5639         (START): Pass argument to init_max_error.
5640         * math/gen-libm-test.pl (%results): Don't include "kind"
5641         information.
5642         (parse_ulps): Don't handle ulps of individual tests.
5643         (print_ulps_file): Likewise.
5644         (output_ulps): Likewise.
5645         * math/README.libm-test: Update.
5646         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5647         individual tests.
5648         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5649         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5650         * sysdeps/arm/libm-test-ulps: Likewise.
5651         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5652         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5653         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5654         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5655         * sysdeps/microblaze/libm-test-ulps: Likewise.
5656         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5657         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5659         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5660         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5661         * sysdeps/sh/libm-test-ulps: Likewise.
5662         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5663         * sysdeps/tile/libm-test-ulps: Likewise.
5664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5668         * math/libm-test.inc (print_complex_max_error): Check separately
5669         whether real and imaginary errors are within allowed range and
5670         pass 0 to print_complex_function_ulps instead of value within
5671         allowed range.
5673 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5675         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5676         formatting.
5677         (get_handles_fopen): Likewise.
5678         (do_write_test): Likewise.
5680         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5682         * libio/fileops.c (do_ftell): Use cached offset when
5683         available.
5684         * libio/iofwide.c (do_ftell_wide): Likewise.
5685         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5686         _IO_file_attach.
5687         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5689         [BZ #16532]
5690         * libio/libioP.h (get_file_offset): New function.
5691         * libio/fileops.c (get_file_offset): Likewise.
5692         (do_ftell): Likewise.
5693         (_IO_new_file_seekoff): Split out ftell logic.
5694         * libio/wfileops.c (do_ftell_wide): Likewise.
5695         (_IO_wfile_seekoff): Split out ftell logic.
5696         * libio/tst-ftell-active-handler.c: New test case.
5697         * libio/Makefile (tests): Add it.
5699 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5701         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5702         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5704 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5706         [BZ #16639]
5707         * nscd/connections.c (nscd_init): Call do_exit.
5708         (start_threads): Call do_exit and notify_parent.
5709         (begin_drop_privileges): Call do_exit.
5710         (finish_drop_privileges): Likewise.
5711         * nscd/selinux.c (preserve_capabilities): Likewise.
5712         (install_real_capabilities): Likewise.
5713         (nscd_selinux_enabled): Likewise.
5714         (avc_create_thread): Likewise.
5715         (avc_alloc_lock): Likewise.
5716         (nscd_avc_init): Likewise.
5717         * nscd/nscd.c (parent_fd): New static variable.
5718         (main): Create a pipe between parent and child processes.
5719         Skip closing parent_fd.
5720         (monitor_child): New function.
5721         (do_exit): Likewise.
5722         (notify_parent): Likewise.
5723         * nscd/nscd.h (notify_parent): Likewise.
5724         (do_exit): Likewise.
5726 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5728         * malloc/malloc.c (__libc_calloc): Revert last change.
5730 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5734 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5736         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5738         implementation.
5739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5740         (__libc_ifunc_impl_list): Likewise.
5741         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5742         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5743         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5744         * string/strrchr.c: Define STRRCHR.
5746 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5748         * benchtest/bench-strtok.c (simple_strtok): Delete.
5749         (strtok_string): Use as benchmark.
5750         * string/strtok (STRTOK): New macro.
5752 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5754         * manual/threads.texi: Add header and standard comments to all
5755         functions.
5757         * elf/dl-lookup.c (check_match): New function.
5758         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5759         (do_lookup_x): Remove nested function check_match. Use non-nested
5760         function check_match.
5762 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5764         * csu/Makefile (generated, before-compile): Use += rather than =.
5765         * catgets/Makefile (generated, generated-dirs): Likewise.
5766         * debug/Makefile (generated): Likewise.
5767         * dlfcn/Makefile (generated): Likewise.
5768         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5769         * iconvdata/Makefile (before-compile, generated): Likewise.
5770         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5771         * libio/Makefile (generated): Likewise.
5772         * malloc/Makefile (generated): Likewise.
5773         * manual/Makefile (generated, generated-dirs): Likewise.
5774         * misc/Makefile (generated): Likewise.
5775         * posix/Makefile (generated): Likewise.
5776         * resolv/Makefile (generated): Likewise.
5777         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5778         * timezone/Makefile (generated, generated-dirs): Likewise.
5780         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5782 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5785         power8 implementation.
5786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5787         file: POWER8 llround ifunc implementation.
5788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5789         (__lllround): Add POWER8 implementation.
5790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5791         POWER8 llround implementation.
5793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5794         power8 implementation.
5795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5796         file: POWER8 llrint ifunc implementation.
5797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5798         Add POWER8 implementation.
5799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5800         POWER8 llrint implementation.
5802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5803         power8 implementation.
5804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5805         file: POWER8 finite ifunc implementation.
5806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5807         Add POWER8 implementation.
5808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5809         Likewise.
5810         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5811         POWER8 finite implementation.
5812         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5815         power8 implementation.
5816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5817         file: POWER8 isinf ifunc implementation.
5818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5819         POWER8 implementation.
5820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5821         Likewise.
5822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5823         isinf implementation.
5824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5826         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5827         (INIT_ARCH): Add hwcap2 initialization.
5828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5829         power8 implementation.
5830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5831         file: POWER8 isnan ifunc implementation.
5832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5833         POWER8 implementation.
5834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5835         Likewise.
5836         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5837         isnan implementation.
5838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5840 2014-02-27  Joey Ye  <joey.ye@arm.com>
5842         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5843         (_FP_NANFRAC_Q): Set to zero.
5845 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5847         [BZ #16623]
5848         * math/auto-libm-test-in: New test inputs.
5849         * math/auto-libm-test-out: Regenerate.
5850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5851         and DA.
5852         (__cos): Likewise.
5853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5855 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
5857         * scripts/evaluate-test.sh: Take new argument indicating whether
5858         failure is expected.
5859         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5860         indicating whether failure is expected.
5861         * conform/Makefile (test-xfail-run-conformtest): New variable.
5862         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5863         level.
5864         * posix/Makefile (test-xfail-annexc): New variable.
5865         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5867 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5869         * argp/Makefile: Include Makeconfig immediately after defining
5870         subdir.
5871         * assert/Makefile: Likewise.
5872         * benchtests/Makefile: Likewise.
5873         * catgets/Makefile: Likewise.
5874         * conform/Makefile: Likewise.
5875         * crypt/Makefile: Likewise.
5876         * csu/Makefile: Likewise.
5877         (all): Remove target.
5878         * ctype/Makefile: Include Makeconfig immediately after defining
5879         subdir.
5880         * debug/Makefile: Likewise.
5881         * dirent/Makefile: Likewise.
5882         * dlfcn/Makefile: Likewise.
5883         * gmon/Makefile: Likewise.
5884         * gnulib/Makefile: Likewise.
5885         * grp/Makefile: Likewise.
5886         * gshadow/Makefile: Likewise.
5887         * hesiod/Makefile: Likewise.
5888         * hurd/Makefile: Likewise.
5889         (all): Remove target.
5890         * iconvdata/Makefile: Include Makeconfig immediately after
5891         defining subdir.
5892         * inet/Makefile: Likewise.
5893         * intl/Makefile: Likewise.
5894         * io/Makefile: Likewise.
5895         * libio/Makefile: Likewise.
5896         (all): Remove target.
5897         * locale/Makefile: Include Makeconfig immediately after defining
5898         subdir.
5899         * login/Makefile: Likewise.
5900         * mach/Makefile: Likewise.
5901         (all): Remove target.
5902         * malloc/Makefile: Include Makeconfig immediately after defining
5903         subdir.
5904         (all): Remove target.
5905         * manual/Makefile: Include Makeconfig immediately after defining
5906         subdir.
5907         * math/Makefile: Likewise.
5908         * misc/Makefile: Likewise.
5909         * nis/Makefile: Likewise.
5910         * nss/Makefile: Likewise.
5911         * po/Makefile: Likewise.
5912         (all): Remove target.
5913         * posix/Makefile: Include Makeconfig immediately after defining
5914         subdir.
5915         * pwd/Makefile: Likewise.
5916         * resolv/Makefile: Likewise.
5917         * resource/Makefile: Likewise.
5918         * rt/Makefile: Likewise.
5919         * setjmp/Makefile: Likewise.
5920         * shadow/Makefile: Likewise.
5921         * signal/Makefile: Likewise.
5922         * socket/Makefile: Likewise.
5923         * soft-fp/Makefile: Likewise.
5924         * stdio-common/Makefile: Likewise.
5925         * stdlib/Makefile: Likewise.
5926         * streams/Makefile: Likewise.
5927         * string/Makefile: Likewise.
5928         * sunrpc/Makefile: Likewise.
5929         (all): Remove target.
5930         * sysvipc/Makefile: Include Makeconfig immediately after defining
5931         subdir.
5932         * termios/Makefile: Likewise.
5933         * time/Makefile: Likewise.
5934         * timezone/Makefile: Likewise.
5935         (all): Remove target.
5936         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5937         subdir.
5938         * wctype/Makefile: Likewise.
5940 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5942         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5943         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5944         (libc_feholdexcept_setround_mips): Ditto.
5945         (libc_feholdsetround): New.
5946         (libc_feholdsetroundf): New.
5947         (libc_feholdsetroundl): New.
5948         (libc_feupdateenv_test_mips): New.
5949         (libc_feupdateenv_test): New.
5950         (libc_feupdateenv_testf): New.
5951         (libc_feupdateenv_testl): New.
5952         (libc_feresetround): New.
5953         (libc_feresetroundf): New.
5954         (libc_feresetroundl): New.
5955         (libc_fetestexcept_mips): New.
5956         (libc_fetestexcept): New.
5957         (libc_fetestexceptf): New.
5958         (libc_fetestexceptl): New.
5959         (HAVE_RM_CTX): New.
5960         (libc_feholdexcept_setround_mips_ctx): New.
5961         (libc_feholdexcept_setround_ctx): New.
5962         (libc_feholdexcept_setroundf_ctx): New.
5963         (libc_feholdexcept_setroundl_ctx): New.
5964         (libc_fesetenv_mips_ctx): New.
5965         (libc_fesetenv_ctx): New.
5966         (libc_fesetenv_ctxf): New.
5967         (libc_fesetenv_ctxl): New.
5968         (libc_feupdateenv_mips_ctx): New.
5969         (libc_feupdateenv_ctx): New.
5970         (libc_feupdateenvf_ctx): New.
5971         (libc_feupdateenvl_ctx): New.
5972         (libc_feholdsetround_mips_ctx): New.
5973         (libc_feholdsetround_ctx): New.
5974         (libc_feholdsetroundf_ctx): New.
5975         (libc_feholdsetroundl_ctx): New.
5976         (libc_feresetround_mips_ctx): New.
5977         (libc_feresetround_ctx): New.
5978         (libc_feresetroundf_ctx): New.
5979         (libc_feresetroundl_ctx): New.
5981 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5983         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5985         * manual/ipc.texi: New file.
5986         * manual/Makefile (chapters): Add ipc.
5987         * manual/job.texi: Add "Inter-Process Communication" to next.
5988         * manual/process.texi: Add "Inter-Process Communication" to prev.
5990 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5994 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5996         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5998         * manual/arith.texi: Fix spaces after sentences.
5999         * manual/charset.texi: Likewise.
6000         * manual/errno.texi: Likewise.
6001         * manual/install.texi: Likewise.
6002         * manual/llio.texi: Likewise.
6003         * manual/locale.texi: Likewise.
6004         * manual/maint.texi: Likewise.
6005         * manual/math.texi: Likewise.
6006         * manual/memory.texi: Likewise.
6007         * manual/message.texi: Likewise.
6008         * manual/probes.texi: Likewise.
6009         * manual/resource.texi: Likewise.
6010         * manual/signal.texi: Likewise.
6011         * manual/socket.texi: Likewise.
6012         * manual/stdio.texi: Likewise.
6013         * manual/string.texi: Likewise.
6014         * manual/time.texi: Likewise.
6015         * manual/users.texi: Likewise.
6017 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6019         [BZ #16632]
6020         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6021         _DEFAULT_SOURCE is defined.
6023 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6024             Carlos O'Donell  <carlos@redhat.com>
6026         [BZ #16613]
6027         * elf/dl-tls.c (_dl_count_modids): New function.
6028         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6029         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6030         audit library and increment generation counter.
6031         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6032         * elf/tst-audit9.c: New file.
6033         * elf/tst-auditmod9a.c: New file.
6034         * elf/tst-auditmod9b.c: New file.
6035         * elf/Makefile: Add rules to build and run tst-audit9.
6037 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6039         [BZ #15347]
6040         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6042 2014-02-25  Will Newton  <will.newton@linaro.org>
6044         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6045         (__longjmp): Restore sp and lr before restoring callee
6046         saved registers.  Add longjmp and longjmp_target
6047         SystemTap probe point.
6048         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6049         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6050         Define to zero to match jmpbuf layout.
6051         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6052         (__sigsetjmp): Save sp and lr before saving callee
6053         saved registers.  Add setjmp SystemTap probe point.
6055 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6057         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6059 2014-02-24  Andreas Schwab  <schwab@suse.de>
6061         [BZ #15804]
6062         * elf/pldd.c (wait_for_ptrace_stop): New function.
6063         (main): Call it after attaching.
6065 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6067         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6068         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6069         Versions files is now verboten.
6070         * hurd/Versions (libc: GLIBC_2.0):
6071         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6072         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6073         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6074         * mach/Versions: Likewise.
6076         * csu/Versions: Remove unused %include.
6077         * resolv/Versions: Likewise.
6079 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6081         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6082         ($(objpfx)check-local-headers.out): Likewise.
6083         ($(objpfx)begin-end-check.out): Likewise.
6084         * Makerules (check-abi-%.out): Likewise.
6085         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6086         ($(objpfx)test2.cat): Likewise.
6087         ($(objpfx)de/libc.cat): Likewise.
6088         ($(objpfx)test-gencat.out): Likewise.
6089         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6090         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6091         ($(objpfx)noload-mem): Likewise.
6092         ($(objpfx)tst-pathopt.out): Likewise.
6093         ($(objpfx)tst-rtld-load-self.out): Likewise.
6094         ($(objpfx)tst-array1-cmp.out): Likewise.
6095         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6096         ($(objpfx)tst-array2-cmp.out): Likewise.
6097         ($(objpfx)tst-array3-cmp.out): Likewise.
6098         ($(objpfx)tst-array4-cmp.out): Likewise.
6099         ($(objpfx)tst-array5-cmp.out): Likewise.
6100         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6101         ($(objpfx)check-textrel.out): Likewise.
6102         ($(objpfx)check-execstack.out): Likewise.
6103         ($(objpfx)check-localplt.out): Likewise.
6104         ($(objpfx)order2-cmp.out): Likewise.
6105         ($(objpfx)tst-leaks1-mem): Likewise.
6106         ($(objpfx)tst-leaks1-static-mem): Likewise.
6107         ($(objpfx)tst-initorder-cmp.out): Likewise.
6108         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6109         ($(objpfx)tst-unused-dep.out): Likewise.
6110         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6111         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6112         * iconv/Makefile (test-iconvconfig): Likewise.
6113         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6114         ($(objpfx)iconv-test.out): Likewise.
6115         ($(objpfx)tst-tables.out): Likewise.
6116         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6117         ($(objpfx)tst-gettext.out): Likewise.
6118         ($(objpfx)tst-translit.out): Likewise.
6119         ($(objpfx)tst-gettext2.out): Likewise.
6120         ($(objpfx)tst-gettext4.out): Likewise.
6121         ($(objpfx)tst-gettext6.out): Likewise.
6122         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6123         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6124         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6125         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6126         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6127         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6128         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6129         ($(objpfx)wordexp-tst.out): Likewise.
6130         ($(objpfx)annexc.out): Likewise.
6131         ($(objpfx)tst-fnmatch-mem): Likewise.
6132         ($(objpfx)bug-regex2-mem): Likewise.
6133         ($(objpfx)bug-regex14-mem): Likewise.
6134         ($(objpfx)bug-regex21-mem): Likewise.
6135         ($(objpfx)bug-regex31-mem): Likewise.
6136         ($(objpfx)tst-vfork3-mem): Likewise.
6137         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6138         ($(objpfx)tst-pcre-mem): Likewise.
6139         ($(objpfx)tst-boost-mem): Likewise.
6140         ($(objpfx)tst-getconf.out): Likewise.
6141         ($(objpfx)bug-ga2-mem): Likewise.
6142         ($(objpfx)bug-glob2-mem): Likewise.
6143         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6144         ($(objpfx)mtrace-tst-leaks2): Likewise.
6145         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6146         ($(objpfx)tst-printf.out): Likewise.
6147         ($(objpfx)tst-setvbuf1.out): Likewise.
6148         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6149         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6150         ($(objpfx)tst-fmtmsg.out): Likewise.
6151         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6152         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6154         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6155         * bits/sigaction.h [__USE_MISC]: Likewise.
6156         * bits/waitstatus.h: Update #endif comments.
6157         * ctype/ctype.h: Likewise.
6158         * dirent/dirent.h: Likewise.
6159         [__USE_MISC]: Remove redundant conditionals.
6160         * grp/grp.h: Update #endif comments.
6161         [__USE_GNU]: Remove redundant conditionals.
6162         [__USE_MISC]: Likewise.
6163         * inet/netinet/in.h [__USE_GNU]: Likewise.
6164         * io/sys/stat.h [__USE_MISC]: Likewise.
6165         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6166         * libio/bits/stdio.h: Update #endif comments.
6167         [__USE_MISC]: Remove redundant conditionals.
6168         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6169         * libio/stdio.h: Update #endif comments.
6170         [__USE_MISC]: Remove redundant conditionals.
6171         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6172         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6173         * math/math.h: Update #else and #endif comments.
6174         [__USE_MISC]: Remove redundant conditionals.
6175         * misc/sys/uio.h: Update #endif comments.
6176         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6177         * posix/glob.h [__USE_MISC]: Likewise.
6178         * posix/sys/types.h: Update #endif comments.
6179         [__USE_MISC]: Remove redundant conditionals.
6180         * posix/sys/wait.h: Update #endif comments.
6181         [__USE_MISC]: Remove redundant conditionals.
6182         * posix/unistd.h: Update #endif comments.
6183         [__USE_MISC]: Remove redundant conditionals.
6184         * pwd/pwd.h [__USE_GNU]: Likewise.
6185         [__USE_MISC]: Likewise.
6186         * resolv/netdb.h [__USE_GNU]: Likewise.
6187         * signal/signal.h: Update #endif comments.
6188         [__USE_MISC]: Remove redundant conditionals.
6189         * stdlib/stdlib.h: Update #else and #endif comments.
6190         [__USE_MISC]: Remove redundant conditionals.
6191         [__USE_GNU]: Likewise.
6192         * string/bits/string2.h [__USE_MISC]: Likewise.
6193         * string/string.h: Update #endif comments.
6194         [__USE_MISC]: Remove redundant conditionals.
6195         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6196         Likewise.
6197         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6198         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6199         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6200         Likewise.
6201         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6202         Likewise.
6203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6204         comments.
6205         [__USE_MISC]: Remove redundant conditionals.
6206         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6207         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6208         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6209         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6210         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6211         Likewise.
6212         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6213         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6214         Likewise.
6215         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6216         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6217         Likewise.
6218         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6221         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6222         Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6224         Likewise.
6225         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6226         * sysdeps/x86/bits/string.h: Update #endif comments.
6227         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6228         conditionals.
6229         * time/sys/time.h: Update #endif comments.
6230         * time/time.h: Likewise.
6231         [__USE_MISC]: Remove redundant conditionals.
6233 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6235         [BZ #16600]
6236         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6238 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6240         * Versions.def (librt): Add GLIBC_2.17.
6242 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6244         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6245         synonym for _SYS_AUXV_H to allow direct inclusion.
6246         * sysdeps/sparc/bits/hwcap.h: Likewise.
6247         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6248         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6249         * sysdeps/sparc/sysdep.h: Likewise.
6251 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6253         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6255 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6257         * benchtests/bench-strrchr.c: Print length instead of position.
6259 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6261         [BZ #16611]
6262         * sysdeps/unix/sysv/linux/kernel-features.h
6263         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6264         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6265         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6266         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6267         Likewise.
6268         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6269         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6270         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6271         (__ASSUME_SENDMMSG): Define instead of using previous
6272         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6273         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6274         (__ASSUME_SENDMMSG_SYSCALL): Define.
6275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6276         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6277         Likewise.
6278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6279         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6280         Likewise.
6281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6282         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6283         Likewise.
6284         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6285         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6286         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6287         [__ASSUME_SENDMMSG]: Change conditionals to
6288         [__ASSUME_SENDMMSG_SOCKETCALL].
6289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6290         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6291         Define.
6292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6293         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6296         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6297         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6298         [!__ASSUME_SENDMMSG]: Change conditional to
6299         [!__ASSUME_SENDMMSG_SOCKETCALL].
6300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6302         Define.
6304         [BZ #16610]
6305         * sysdeps/unix/sysv/linux/kernel-features.h
6306         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6307         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6308         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6309         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6310         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6311         [__i386__ || __sparc__]
6312         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6313         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6314         (__ASSUME_RECVMMSG): Define instead of using previous
6315         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6316         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6317         (__ASSUME_RECVMMSG_SYSCALL): Define.
6318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6320         Likewise.
6321         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6323         Likewise.
6324         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6326         Likewise.
6327         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6328         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6329         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6330         [__ASSUME_RECVMMSG]: Change condition to
6331         [__ASSUME_RECVMMSG_SOCKETCALL].
6332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6334         Define.
6335         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6336         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6337         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6338         Likewise.
6339         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6340         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6341         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6342         [!__ASSUME_RECVMMSG]: Change condition to
6343         [!__ASSUME_RECVMMSG_SOCKETCALL].
6344         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6345         (__ASSUME_RECVMMSG_SYSCALL): Define.
6347         [BZ #16609]
6348         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6349         __powerpc__ || __s390__ || __sh__ || __sparc__]
6350         (__ASSUME_SOCKETCALL): Define.
6351         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6352         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6353         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6354         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6355         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6356         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6357         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6358         (__ASSUME_ACCEPT4): Define instead of using previous
6359         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6360         __powerpc__ || __sparc__ || __s390__)] condition.
6361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6362         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6363         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6364         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6365         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6366         [!__ASSUME_ACCEPT4]: Change condition to
6367         [!__ASSUME_ACCEPT4_SOCKETCALL].
6368         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6369         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6370         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6372         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6373         __ASSUME_ACCEPT4_SYSCALL.
6374         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6375         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6377         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6378         __ASSUME_ACCEPT4_SYSCALL.
6379         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6380         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6381         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6382         [__ASSUME_ACCEPT4]: Change condition to
6383         [__ASSUME_ACCEPT4_SOCKETCALL].
6384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6385         (__ASSUME_SOCKETCALL): Define.
6386         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6388         (__ASSUME_SOCKETCALL): Define.
6389         (__ASSUME_ACCEPT4): Remove.
6390         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6391         Define.
6392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6393         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6396         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6398         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6399         macro.
6400         (HWCAP_ARM_LPAE): Likewise.
6401         (HWCAP_ARM_EVTSTRM): Likewise.
6402         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6403         Add vpfd32, lpae and evtstrm.
6404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6405         Increase to 22.
6407 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6409         * math/auto-libm-test-in: Add tests of clog10.
6410         * math/auto-libm-test-out: Regenerated.
6411         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6412         * sysdeps/i386/fpu/libm-test-ulps: Update.
6413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6415 2014-02-18  Andreas Schwab  <schwab@suse.de>
6417         [BZ #16574]
6418         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6419         Store non-zero if the second buffer was newly allocated.
6420         (send_dg): Likewise.
6421         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6422         to send_vc and send_dg.
6423         (res_nsend): Pass NULL for ansp2_malloced.
6424         * resolv/res_query.c (__libc_res_nquery): Add parameter
6425         answerp2_malloced and pass it down to __libc_res_nsend.
6426         (res_nquery): Pass additional NULL to __libc_res_nquery.
6427         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6428         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6429         second answer buffer if answerp2_malloced was set.
6430         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6431         (__libc_res_nquerydomain): Add parameter
6432         answerp2_malloced and pass it down to __libc_res_nquery.
6433         (res_nquerydomain): Pass additional NULL to
6434         __libc_res_nquerydomain.
6435         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6436         additional NULL to __libc_res_nsend and __libc_res_nquery.
6437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6438         additional NULL to __libc_res_nsearch.
6439         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6440         parameter of __libc_res_nsearch to check for separately allocated
6441         second buffer.
6442         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6443         __libc_res_nquery.
6444         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6445         additional NULL to __libc_res_nquery.
6446         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6447         __libc_res_nsearch.
6448         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6449         * include/resolv.h: Update prototypes of __libc_res_nquery,
6450         __libc_res_nsearch, __libc_res_nsend.
6452 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6454         * math/auto-libm-test-in: Add tests of fma.
6455         * math/auto-libm-test-out: Regenerated.
6456         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6457         (fma_towardzero_test_data): Likewise.
6458         (fma_downward_test_data): Likewise.
6459         (fma_upward_test_data): Likewise.
6460         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6461         mpc_mode.
6462         (rounding_modes): Add values for new field.
6463         (func_calc_method): Add value mpfr_fff_f.
6464         (func_calc_desc): Add mpfr_fff_f union field.
6465         (test_function): Add field exact_args.
6466         (FUNC): Add macro argument EXACT_ARGS.
6467         (FUNC_mpfr_f_f): Update call to FUNC.
6468         (FUNC_mpfr_f_f): Likewise.
6469         (FUNC_mpfr_ff_f): Likewise.
6470         (FUNC_mpfr_if_f): Likewise.
6471         (FUNC_mpc_c_f): Likewise.
6472         (FUNC_mpc_c_c): Likewise.
6473         (test_functions): Add fma.  Update calls to FUNC.
6474         (handle_input_arg): Add argument exact_args.
6475         (add_test): Update call to handle_input_arg.
6476         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6477         (output_for_one_input_case): Update call to calc_generic_results.
6478         Recalculate exact zero results in each rounding mode.
6480         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6481         non-negative before setting low bit.
6482         * math/auto-libm-test-in: Mark one asin test possibly having
6483         spurious underflow.
6484         * math/auto-libm-test-out: Regenerated.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6490         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6491         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6492         ports/sysdeps/unix/sysv/linux/microblaze.
6493         * README: Add missing listing for microblaze*-*-linux-gnu.
6495 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6497         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6498         * sysdeps/unix/sysv/linux/ia64: Move directory from
6499         ports/sysdeps/unix/sysv/linux/ia64.
6500         * README: Update listing for ia64-*-linux-gnu.
6502 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6503             Joseph Myers  <joseph@codesourcery.com>
6505         * Makeconfig (test-name): New variable.
6506         (evaluate-test): Likewise.
6507         * Makerules (do-test-clean): Remove .test-result files.
6508         (common-mostlyclean): Likewise.
6509         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6510         * scripts/evaluate-test.sh: New file.
6512 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6514         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6515         separate $(objpfx)tst-fopenloc-cmp.out and
6516         $(objpfx)tst-fopenloc-mem.out targets.
6517         (tests): Update dependencies.
6518         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6519         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6520         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6521         (tst-rxspencer-no-utf8-ARGS): New variable.
6522         (tst-rxspencer-no-utf8-ENV): Likewise.
6523         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6524         instead of $(objpfx)tst-rxspencer-mem.
6525         ($(objpfx)tst-rxspencer-mem): Change target to
6526         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6527         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6528         * posix/tst-rxspencer-no-utf8.c: New file.
6530         * elf/Makefile ($(objpfx)order.out): Remove rule.
6531         [$(run-built-tests) = yes] (tests): Depend on
6532         $(objpfx)order-cmp.out.
6533         ($(objpfx)order-cmp.out): New rule.
6534         [$(run-built-tests) = yes] (tests): Depend on
6535         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6536         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6537         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6538         $(objpfx)tst-array5-static-cmp.out.
6539         ($(objpfx)tst-array1.out): Remove rule.
6540         ($(objpfx)tst-array1-cmp.out): New rule.
6541         ($(objpfx)tst-array1-static.out): Remove rule.
6542         ($(objpfx)tst-array1-static-cmp.out): New rule.
6543         ($(objpfx)tst-array2.out): Remove rule.
6544         ($(objpfx)tst-array2-cmp.out): New rule.
6545         ($(objpfx)tst-array3.out): Remove rule.
6546         ($(objpfx)tst-array3-cmp.out): New rule.
6547         ($(objpfx)tst-array4.out): Remove rule.
6548         ($(objpfx)tst-array4-cmp.out): New rule.
6549         ($(objpfx)tst-array5.out): Remove rule.
6550         ($(objpfx)tst-array5-cmp.out): New rule.
6551         ($(objpfx)tst-array5-static.out): Remove rule.
6552         ($(objpfx)tst-array5-static-cmp.out): New rule.
6553         [$(run-built-tests) = yes] (tests): Depend on
6554         $(objpfx)order2-cmp.out.
6555         ($(objpfx)order2.out): Remove rule.
6556         ($(objpfx)order2-cmp.out): New rule.
6557         ($(objpfx)tst-initorder.out): Remove rule.
6558         [$(run-built-tests) = yes] (tests): Depend on
6559         $(objpfx)tst-initorder-cmp.out.
6560         ($(objpfx)tst-initorder-cmp.out): New rule.
6561         ($(objpfx)tst-initorder2.out): Remove rule.
6562         [$(run-built-tests) = yes] (tests): Depend on
6563         $(objpfx)tst-initorder2-cmp.out.
6564         ($(objpfx)tst-initorder2-cmp.out): New rule.
6565         [$(run-built-tests) = yes] (tests): Depend on
6566         $(objpfx)tst-unused-dep-cmp.out.
6567         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6568         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6569         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6570         on $(objpfx)tst-setvbuf1-cmp.out.
6571         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6572         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6573         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6574         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6575         ($(objpfx)tst-svc.out): Remove rule.
6576         ($(objpfx)tst-svc-cmp.out): New rule.
6578 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6580         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6581         * ctype/ctype.h [__USE_MISC]: Likewise.
6582         * dirent/dirent.h [__USE_MISC]: Likewise.
6583         * grp/grp.h [__USE_MISC]: Likewise.
6584         * io/fcntl.h [__USE_MISC]: Likewise.
6585         * io/sys/stat.h [__USE_MISC]: Likewise.
6586         * libio/stdio.h [__USE_MISC]: Likewise.
6587         * posix/unistd.h [__USE_MISC]: Likewise.
6588         * pwd/pwd.h [__USE_MISC]: Likewise.
6589         * stdlib.h [__USE_MISC]: Likewise.
6590         * string/bits/string2.h [__USE_MISC]: Likewise.
6591         * string/string.h [__USE_MISC]: Likewise.
6592         * time/time.h [__USE_MISC]: Likewise.
6594 2014-02-13  Andreas Schwab  <schwab@suse.de>
6596         [BZ #16574]
6597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6598         second answer buffer if it was separately allocated.
6600 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6602         * sysdeps/mips/math-tests.h: Include <features.h>.
6603         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6604         (ROUNDING_TESTS_long_double): Do not define.
6605         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6606         (EXCEPTION_TESTS_long_double): Likewise.
6607         * sysdeps/mips/mips64/libm-test-ulps: Update.
6609         * include/features.h (__USE_BSD): Remove macro definitions.
6610         (__USE_SVID): Likewise.
6611         (_BSD_SOURCE): Likewise.
6612         (_SVID_SOURCE): Likewise.
6613         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6614         from definition of _DEFAULT_SOURCE.
6615         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6616         [_DEFAULT_SOURCE].
6617         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6618         * bits/mman.h [__USE_BSD]: Likewise.
6619         * bits/termios.h [__USE_BSD]: Likewise.
6620         * bits/waitstatus.h [__USE_BSD]: Likewise.
6621         * ctype/ctype.h [__USE_SVID]: Likewise.
6622         * dirent/dirent.h [__USE_BSD]: Likewise.
6623         * grp/grp.h [__USE_SVID]: Likewise.
6624         [__USE_BSD]: Likewise.
6625         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6626         * io/fcntl.h [__USE_BSD]: Likewise.
6627         * io/ftw.h [__USE_BSD]: Likewise.
6628         * io/sys/stat.h [__USE_BSD]: Likewise.
6629         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6630         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6631         * libio/stdio.h [__USE_SVID]: Likewise.
6632         [__USE_BSD]: Likewise.
6633         * math/math.h [__USE_SVID]: Likewise.
6634         [__USE_BSD]: Likewise.
6635         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6636         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6637         * misc/search.h [__USE_SVID]: Likewise.
6638         * misc/sys/mman.h [__USE_BSD]: Likewise.
6639         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6640         * misc/sys/uio.h [__USE_BSD]: Likewise.
6641         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6642         * posix/glob.h [__USE_BSD]: Likewise.
6643         * posix/regex.h [__USE_BSD]: Likewise.
6644         * posix/sys/types.h [__USE_BSD]: Likewise.
6645         [__USE_SVID]: Likewise.
6646         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6647         * posix/sys/wait.h [__USE_BSD]: Likewise.
6648         [__USE_SVID]: Likewise.
6649         * posix/unistd.h [__USE_BSD]: Likewise.
6650         [__USE_SVID]: Likewise.
6651         * pwd/pwd.h [__USE_SVID]: Likewise.
6652         * resolv/netdb.h [__USE_BSD]: Likewise.
6653         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6654         * signal/signal.h [__USE_BSD]: Likewise.
6655         [__USE_SVID]: Likewise.
6656         * socket/sys/socket.h [__USE_BSD]: Likewise.
6657         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6658         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6659         [__USE_SVID]: Likewise.
6660         * string/bits/string2.h [__USE_BSD]: Likewise.
6661         [__USE_SVID]: Likewise.
6662         * string/bits/string3.h [__USE_BSD]: Likewise.
6663         * string/endian.h [__USE_BSD]: Likewise.
6664         * string/string.h [__USE_SVID]: Likewise.
6665         [__USE_BSD]: Likewise.
6666         * string/strings.h [__USE_BSD]: Likewise.
6667         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6668         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6669         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6670         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6671         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6672         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6677         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6678         Likewise.
6679         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6680         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6683         Likewise.
6684         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6685         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6686         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6689         Likewise.
6690         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6691         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6692         * termios/termios.h [__USE_BSD]: Likewise.
6693         * time/sys/time.h [__USE_BSD]: Likewise.
6694         * time/time.h [__USE_BSD]: Likewise.
6695         [__USE_SVID]: Likewise.
6697         * Makefile (subdir_targets): Remove subdir_lint.out.
6699         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6700         (do-tst-printf): Likewise.
6701         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6702         $(objpfx)tst-printf.out.
6704         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6706         * Makerules (check-abi-%): Change target to
6707         $(objpfx)check-abi-%.out.
6708         (check-abi target): Update dependencies.
6709         (check-abi-pattern variable): Redirect output of diff to $@.
6710         (check-abi variable): Likewise.
6711         * elf/Makefile (check-abi): Update dependencies.
6713         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6714         unused.
6715         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6716         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6717         subnormal range.
6718         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6719         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6720         value has largest subnormal exponent.
6721         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6722         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6723         * sysdeps/aarch64/soft-fp/sfp-machine.h
6724         (_FP_TININESS_AFTER_ROUNDING): New macro.
6725         * sysdeps/alpha/soft-fp/sfp-machine.h
6726         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6727         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6728         Likewise.
6729         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6730         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6731         * sysdeps/mips/soft-fp/sfp-machine.h
6732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6733         * sysdeps/powerpc/soft-fp/sfp-machine.h
6734         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6735         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6736         Likewise.
6737         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6738         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6739         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6740         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6741         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6742         Likewise.
6744 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6746         [BZ #16545]
6747         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6748         model 1.
6750 2014-02-12  Richard Henderson  <rth@redhat.com>
6752         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6753         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6754         * sysdeps/unix/sysv/linux/alpha: Move directory from
6755         ports/sysdeps/unix/sysv/linux/alpha.
6756         * README: Update listing for alpha-*-linux-gnu.
6758 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6760         * include/features.h: Update comment documenting feature test
6761         macros.
6762         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6763         _DEFAULT_SOURCE.
6764         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6765         (_SVID_SOURCE): Likewise.
6766         (_DEFAULT_SOURCE): Update description of default features.
6767         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6768         with _GNU_SOURCE.
6769         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6770         (S_ISVTX): Likewise.
6771         * manual/math.texi (Mathematical Constants): Likewise.
6772         * manual/signal.texi (Interrupted Primitives): Likewise.
6773         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6774         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6775         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6776         Don't refer to _SVID_SOURCE in warning text.
6778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6780         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6781         already defined.
6782         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6783         * sysdeps/mips/dl-lookup.c: Remove.
6784         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6786 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6788         [BZ #16447]
6789         * math/auto-libm-test-in: Add testcase for expl.
6790         * math/auto-libm-test-out: Regenerate.
6791         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6792         calculation of unsafe.
6793         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6795 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6797         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6798         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6799         ports/sysdeps/unix/sysv/linux/aarch64.
6800         * README: Update listing for aarch64*-*-linux-gnu.
6802 2014-02-11  Will Newton  <will.newton@linaro.org>
6804         * manual/probes.texi (Mathematical Function Probes): Use
6805         "triggered" instead of "hit".
6807         * manual/probes.texi (Internal Probes): Add documentation
6808         of setjmp, longjmp and longjmp_target probes.
6810         * include/stap-probe.h: Add comment about probe argument
6811         format.
6813         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6814         definition.  (tr_where, tr_freehook, tr_mallochook,
6815         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6817 2014-02-11  David S. Miller  <davem@davemloft.net>
6819         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6820         processing int_tests.
6822 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6824         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6825         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6826         * sysdeps/unix/sysv/linux/mips: Move directory from
6827         ports/sysdeps/unix/sysv/linux/mips.
6828         * README: Update listing for mips-*-linux-gnu and
6829         mips64-*-linux-gnu.
6831 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6833         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6834         * sysdeps/unix/sysv/linux/m68k: Move directory from
6835         ports/sysdeps/unix/sysv/linux/m68k.
6836         * README: Update listing for m68k-*-linux-gnu.
6838 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
6840         * sysdeps/tile: Move directory from ports/sysdeps/tile.
6841         * sysdeps/unix/sysv/linux/generic: Move directory from
6842         ports/sysdeps/unix/sysv/linux/generic.
6843         * sysdeps/unix/sysv/linux/tile: Move directory from
6844         ports/sysdeps/unix/sysv/linux/tile.
6845         * README: Update listing for tile*-*-linux-gnu.
6847 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
6849         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6850         __builtin_expect.
6851         * benchtests/bench-memmem.c (simple_memmem): Likewise.
6852         * catgets/open_catalog.c (__open_catalog): Likewise.
6853         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6854         * debug/confstr_chk.c: Likewise.
6855         * debug/fread_chk.c (__fread_chk): Likewise.
6856         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6857         * debug/getgroups_chk.c: Likewise.
6858         * debug/mbsnrtowcs_chk.c: Likewise.
6859         * debug/mbsrtowcs_chk.c: Likewise.
6860         * debug/mbstowcs_chk.c: Likewise.
6861         * debug/memcpy_chk.c: Likewise.
6862         * debug/memmove_chk.c: Likewise.
6863         * debug/mempcpy_chk.c: Likewise.
6864         * debug/memset_chk.c: Likewise.
6865         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6866         * debug/strcat_chk.c (__strcat_chk): Likewise.
6867         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6868         * debug/strncat_chk.c (__strncat_chk): Likewise.
6869         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6870         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6871         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6872         * debug/wcpncpy_chk.c: Likewise.
6873         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6874         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6875         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6876         * debug/wcsncpy_chk.c: Likewise.
6877         * debug/wcsnrtombs_chk.c: Likewise.
6878         * debug/wcsrtombs_chk.c: Likewise.
6879         * debug/wcstombs_chk.c: Likewise.
6880         * debug/wmemcpy_chk.c: Likewise.
6881         * debug/wmemmove_chk.c: Likewise.
6882         * debug/wmempcpy_chk.c: Likewise.
6883         * debug/wmemset_chk.c: Likewise.
6884         * dirent/scandirat.c (SCANDIRAT): Likewise.
6885         * dlfcn/dladdr1.c (dladdr1): Likewise.
6886         * dlfcn/dladdr.c (dladdr): Likewise.
6887         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6888         * dlfcn/dlerror.c (__dlerror): Likewise.
6889         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6890         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6891         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6892         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6893         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6894         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6895         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6896         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6897         Likewise.
6898         * elf/dl-conflict.c: Likewise.
6899         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6900         * elf/dl-dst.h: Likewise.
6901         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6902         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6903         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6904         * elf/dl-init.c (call_init, _dl_init): Likewise.
6905         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6906         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6907         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6908         Likewise.
6909         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6910         Likewise.
6911         * elf/dl-minimal.c (__libc_memalign): Likewise.
6912         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6913         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6914         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6915         * elf/dl-sym.c (do_sym): Likewise.
6916         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6917         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6918         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6919         * elf/dl-writev.h (_dl_writev): Likewise.
6920         * elf/ldconfig.c (search_dir): Likewise.
6921         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6922         (dl_main): Likewise.
6923         * elf/setup-vdso.h (setup_vdso): Likewise.
6924         * grp/compat-initgroups.c (compat_call): Likewise.
6925         * grp/fgetgrent.c (fgetgrent): Likewise.
6926         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6927         * grp/putgrent.c (putgrent): Likewise.
6928         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6929         Likewise.
6930         * hurd/hurdinit.c: Likewise.
6931         * iconvdata/8bit-gap.c (struct): Likewise.
6932         * iconvdata/ansi_x3.110.c : Likewise.
6933         * iconvdata/big5.c : Likewise.
6934         * iconvdata/big5hkscs.c : Likewise.
6935         * iconvdata/cp1255.c: Likewise.
6936         * iconvdata/cp1258.c : Likewise.
6937         * iconvdata/cp932.c : Likewise.
6938         * iconvdata/euc-cn.c: Likewise.
6939         * iconvdata/euc-jisx0213.c : Likewise.
6940         * iconvdata/euc-jp.c: Likewise.
6941         * iconvdata/euc-jp-ms.c : Likewise.
6942         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6943         * iconvdata/gb18030.c : Likewise.
6944         * iconvdata/gbbig5.c (const): Likewise.
6945         * iconvdata/gbgbk.c: Likewise.
6946         * iconvdata/gbk.c : Likewise.
6947         * iconvdata/ibm1364.c : Likewise.
6948         * iconvdata/ibm930.c : Likewise.
6949         * iconvdata/ibm932.c: Likewise.
6950         * iconvdata/ibm933.c : Likewise.
6951         * iconvdata/ibm935.c : Likewise.
6952         * iconvdata/ibm937.c : Likewise.
6953         * iconvdata/ibm939.c : Likewise.
6954         * iconvdata/ibm943.c: Likewise.
6955         * iconvdata/iso_11548-1.c: Likewise.
6956         * iconvdata/iso-2022-cn.c : Likewise.
6957         * iconvdata/iso-2022-cn-ext.c : Likewise.
6958         * iconvdata/iso-2022-jp-3.c: Likewise.
6959         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6960         * iconvdata/iso-2022-kr.c : Likewise.
6961         * iconvdata/iso646.c (gconv_end): Likewise.
6962         * iconvdata/iso_6937-2.c : Likewise.
6963         * iconvdata/iso_6937.c : Likewise.
6964         * iconvdata/iso8859-1.c: Likewise.
6965         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6966         * iconvdata/shift_jisx0213.c : Likewise.
6967         * iconvdata/sjis.c : Likewise.
6968         * iconvdata/t.61.c : Likewise.
6969         * iconvdata/tcvn5712-1.c : Likewise.
6970         * iconvdata/tscii.c: Likewise.
6971         * iconvdata/uhc.c : Likewise.
6972         * iconvdata/unicode.c (gconv_end): Likewise.
6973         * iconvdata/utf-16.c (gconv_end): Likewise.
6974         * iconvdata/utf-32.c (gconv_end): Likewise.
6975         * iconvdata/utf-7.c (base64): Likewise.
6976         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6977         * iconv/gconv_close.c (__gconv_close): Likewise.
6978         * iconv/gconv_open.c (__gconv_open): Likewise.
6979         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6980         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6981         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6982         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6983         (ucs4le_internal_loop_single): Likewise.
6984         * iconv/iconv.c (iconv): Likewise.
6985         * iconv/iconv_close.c: Likewise.
6986         * iconv/loop.c (SINGLE): Likewise.
6987         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6988         * include/atomic.h: Likewise.
6989         * inet/inet6_option.c (option_alloc): Likewise.
6990         * intl/bindtextdom.c (set_binding_values): Likewise.
6991         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6992         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6993         * intl/localealias.c (read_alias_file): Likewise.
6994         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6995         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6996         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6997         * libio/fmemopen.c (fmemopen): Likewise.
6998         * libio/iofgets.c (_IO_fgets): Likewise.
6999         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7000         * libio/iofgetws.c (fgetws): Likewise.
7001         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7002         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7003         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7004         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7005         * locale/findlocale.c (_nl_find_locale): Likewise.
7006         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7007         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7008         Likewise.
7009         * locale/setlocale.c (setlocale): Likewise.
7010         * login/programs/pt_chown.c (main): Likewise.
7011         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7012         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7013         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7014         (mmap, mmap64, mremap, munmap): Likewise.
7015         * math/e_exp2l.c: Likewise.
7016         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7017         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7018         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7019         * math/s_catan.c (__catan): Likewise.
7020         * math/s_catanf.c (__catanf): Likewise.
7021         * math/s_catanh.c (__catanh): Likewise.
7022         * math/s_catanhf.c (__catanhf): Likewise.
7023         * math/s_catanhl.c (__catanhl): Likewise.
7024         * math/s_catanl.c (__catanl): Likewise.
7025         * math/s_ccosh.c (__ccosh): Likewise.
7026         * math/s_ccoshf.c (__ccoshf): Likewise.
7027         * math/s_ccoshl.c (__ccoshl): Likewise.
7028         * math/s_cexp.c (__cexp): Likewise.
7029         * math/s_cexpf.c (__cexpf): Likewise.
7030         * math/s_cexpl.c (__cexpl): Likewise.
7031         * math/s_clog10.c (__clog10): Likewise.
7032         * math/s_clog10f.c (__clog10f): Likewise.
7033         * math/s_clog10l.c (__clog10l): Likewise.
7034         * math/s_clog.c (__clog): Likewise.
7035         * math/s_clogf.c (__clogf): Likewise.
7036         * math/s_clogl.c (__clogl): Likewise.
7037         * math/s_csin.c (__csin): Likewise.
7038         * math/s_csinf.c (__csinf): Likewise.
7039         * math/s_csinh.c (__csinh): Likewise.
7040         * math/s_csinhf.c (__csinhf): Likewise.
7041         * math/s_csinhl.c (__csinhl): Likewise.
7042         * math/s_csinl.c (__csinl): Likewise.
7043         * math/s_csqrt.c (__csqrt): Likewise.
7044         * math/s_csqrtf.c (__csqrtf): Likewise.
7045         * math/s_csqrtl.c (__csqrtl): Likewise.
7046         * math/s_ctan.c (__ctan): Likewise.
7047         * math/s_ctanf.c (__ctanf): Likewise.
7048         * math/s_ctanh.c (__ctanh): Likewise.
7049         * math/s_ctanhf.c (__ctanhf): Likewise.
7050         * math/s_ctanhl.c (__ctanhl): Likewise.
7051         * math/s_ctanl.c (__ctanl): Likewise.
7052         * math/w_pow.c: Likewise.
7053         * math/w_powf.c: Likewise.
7054         * math/w_powl.c: Likewise.
7055         * math/w_scalb.c (sysv_scalb): Likewise.
7056         * math/w_scalbf.c (sysv_scalbf): Likewise.
7057         * math/w_scalbl.c (sysv_scalbl): Likewise.
7058         * misc/error.c (error_tail): Likewise.
7059         * misc/pselect.c (__pselect): Likewise.
7060         * nis/nis_callback.c (__nis_create_callback): Likewise.
7061         * nis/nis_call.c (__nisfind_server): Likewise.
7062         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7063         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7064         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7065         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7066         * nis/nis_lookup.c (nis_lookup): Likewise.
7067         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7068         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7069         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7070         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7071         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7072         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7073         * nis/nss_compat/compat-initgroups.c (add_group)
7074         (internal_getgrent_r): Likewise.
7075         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7076         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7077         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7078         (internal_getspnam_r): Likewise.
7079         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7080         (_nss_nis_getaliasbyname_r): Likewise.
7081         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7082         (_nss_nis_getntohost_r): Likewise.
7083         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7084         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7085         (_nss_nis_getgrgid_r): Likewise.
7086         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7087         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7088         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7089         (_nss_nis_gethostbyname4_r): Likewise.
7090         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7091         (initgroups_netid): Likewise.
7092         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7093         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7094         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7095         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7096         (_nss_nis_getprotobynumber_r): Likewise.
7097         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7098         (_nss_nis_getsecretkey): Likewise.
7099         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7100         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7101         (_nss_nis_getpwuid_r): Likewise.
7102         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7103         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7104         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7105         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7106         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7107         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7108         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7109         Likewise.
7110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7111         (_nss_nisplus_getntohost_r): Likewise.
7112         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7113         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7114         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7115         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7116         Likewise.
7117         * nis/nss_nisplus/nisplus-initgroups.c
7118         (_nss_nisplus_initgroups_dyn): Likewise.
7119         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7120         (_nss_nisplus_getnetbyaddr_r): Likewise.
7121         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7122         (_nss_nisplus_getprotobynumber_r): Likewise.
7123         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7124         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7125         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7126         Likewise.
7127         * nis/nss_nisplus/nisplus-service.c
7128         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7129         (_nss_nisplus_getservbyport_r): Likewise.
7130         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7131         (_nss_nisplus_getspnam_r): Likewise.
7132         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7133         Likewise.
7134         * nscd/aicache.c (addhstaiX): Likewise.
7135         * nscd/cache.c (cache_search, prune_cache): Likewise.
7136         * nscd/connections.c (register_traced_file, send_ro_fd)
7137         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7138         (main_loop_epoll): Likewise.
7139         * nscd/grpcache.c (addgrbyX): Likewise.
7140         * nscd/hstcache.c (addhstbyX): Likewise.
7141         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7142         * nscd/mem.c (gc, mempool_alloc): Likewise.
7143         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7144         (addinnetgrX): Likewise.
7145         * nscd/nscd-client.h (__nscd_acquire_maplock)
7146         (__nscd_drop_map_ref): Likewise.
7147         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7148         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7149         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7150         Likewise.
7151         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7152         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7153         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7154         (__nscd_get_map_ref): Likewise.
7155         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7156         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7157         Likewise.
7158         * nscd/pwdcache.c (addpwbyX): Likewise.
7159         * nscd/selinux.c (preserve_capabilities): Likewise.
7160         * nscd/servicescache.c (addservbyX): Likewise.
7161         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7162         * posix/fnmatch.c (fnmatch): Likewise.
7163         * posix/getopt.c (_getopt_internal_r): Likewise.
7164         * posix/glob.c (glob, glob_in_dir): Likewise.
7165         * posix/wordexp.c (exec_comm_child): Likewise.
7166         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7167         (getanswer_r, gaih_getanswer_slice): Likewise.
7168         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7169         * resolv/res_init.c: Likewise.
7170         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7171         * resolv/res_query.c (__libc_res_nquery): Likewise.
7172         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7173         Likewise.
7174         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7175         * stdio-common/perror.c (perror): Likewise.
7176         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7177         * stdio-common/tmpnam.c (tmpnam): Likewise.
7178         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7179         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7180         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7181         Likewise.
7182         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7183         * stdlib/putenv.c (putenv): Likewise.
7184         * stdlib/setenv.c (__add_to_environ): Likewise.
7185         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7186         * stdlib/strtol_l.c (INTERNAL): Likewise.
7187         * string/memmem.c (memmem): Likewise.
7188         * string/strerror.c (strerror): Likewise.
7189         * string/strnlen.c (__strnlen): Likewise.
7190         * string/test-memmem.c (simple_memmem): Likewise.
7191         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7192         * sunrpc/pm_getport.c (__get_socket): Likewise.
7193         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7194         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7195         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7196         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7197         Likewise.
7198         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7199         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7200         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7201         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7202         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7203         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7204         Likewise.
7205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7206         Likewise.
7207         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7208         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7209         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7210         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7211         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7213         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7214         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7215         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7216         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7217         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7218         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7219         Likewise.
7220         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7221         Likewise.
7222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7223         Likewise.
7224         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7225         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7226         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7227         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7228         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7229         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7230         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7231         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7233         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7234         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7236         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7237         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7239         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7240         Likewise.
7241         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7242         Likewise.
7243         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7244         Likewise.
7245         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7246         Likewise.
7247         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7249         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7250         Likewise.
7251         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7252         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7253         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7254         * sysdeps/posix/sleep.c: Likewise.
7255         * sysdeps/posix/tempname.c: Likewise.
7256         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7257         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7258         Likewise.
7259         * sysdeps/powerpc/powerpc32/dl-machine.h
7260         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7261         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7263         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7264         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7265         Likewise.
7266         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7268         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7269         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7270         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7271         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7272         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7273         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7274         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7275         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7277         (elf_machine_lazy_rel): Likewise.
7278         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7279         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7280         (elf_machine_lazy_rel): Likewise.
7281         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7282         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7283         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7284         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7285         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7286         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7287         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7289         Likewise.
7290         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7291         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7292         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7293         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7294         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7295         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7296         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7297         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7298         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7299         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7300         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7301         Likewise.
7302         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7303         (__posix_fallocate64_l64): Likewise.
7304         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7305         (posix_fallocate): Likewise.
7306         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7307         Likewise.
7308         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7309         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7310         (getifaddrs_internal): Likewise.
7311         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7312         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7313         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7314         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7315         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7316         (__posix_fallocate64_l64): Likewise.
7317         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7318         Likewise.
7319         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7320         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7321         (__get_clockfreq): Likewise.
7322         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7323         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7324         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7327         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7328         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7329         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7332         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7333         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7334         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7335         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7336         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7337         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7338         Likewise.
7339         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7340         (posix_fallocate): Likewise.
7341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7342         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7343         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7344         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7345         (elf_machine_rela, elf_machine_rela_relative)
7346         (elf_machine_lazy_rel): Likewise.
7347         * time/asctime.c (asctime_internal): Likewise.
7348         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7349         * time/tzset.c (__tzset_parse_tz): Likewise.
7350         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7351         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7352         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7353         * wcsmbs/wcsmbsload.h: Likewise.
7355         [BZ #15894]
7356         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7358         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7359         (arena_get2): Remove THREAD_STATS conditionals.
7360         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7361         (__malloc_stats, int): Likewise.
7363 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7365         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7366         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7368         * manual/setjmp.texi: Fix typos/grammar errors.
7370         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7371         Only return early when n is <= 0.  Delete unused return statement.
7373         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7374         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7375         * debug/tst-longjmp_chk3.c: New file.
7377         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7378         (test_main): Replace code with set_fortify_handler call.
7379         * debug/test-strcpy_chk.c: Likewise.
7380         * debug/tst-chk1.c: Likewise.
7381         * debug/tst-longjmp_chk.c: Likewise.
7382         * test-skeleton.c: Include fcntl.h & paths.h
7383         (set_fortify_handler): Define.
7385         * debug/tst-longjmp_chk.c: Add header comment and include
7386         ../test-skeleton.c.
7387         (do_test): Mark static.
7388         (TEST_FUNCTION): Define.
7390         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7391         (IP_PMTUDISC_INTERFACE): Likewise.
7392         (IP_MULTICAST_IF): Likewise.
7393         (IP_MULTICAST_TTL): Likewise.
7394         (IP_MULTICAST_LOOP): Likewise.
7395         (IP_ADD_MEMBERSHIP): Likewise.
7396         (IP_DROP_MEMBERSHIP): Likewise.
7397         (IP_UNBLOCK_SOURCE): Likewise.
7398         (IP_BLOCK_SOURCE): Likewise.
7399         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7400         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7401         (IP_MSFILTER): Likewise.
7402         (MCAST_JOIN_GROUP): Likewise.
7403         (MCAST_BLOCK_SOURCE): Likewise.
7404         (MCAST_UNBLOCK_SOURCE): Likewise.
7405         (MCAST_LEAVE_GROUP): Likewise.
7406         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7407         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7408         (MCAST_MSFILTER): Likewise.
7409         (IP_MULTICAST_ALL): Likewise.
7410         (IP_UNICAST_IF): Likewise.
7412         * timezone/Makefile: Delete $(have-ksh) check.
7413         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7414         * timezone/tzselect.ksh: Add +x mode bits.
7416         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7417         (ANON_INODE_FS_MAGIC): Likewise.
7418         (BDEVFS_MAGIC): Likewise.
7419         (BINFMTFS_MAGIC): Likewise.
7420         (BTRFS_TEST_MAGIC): Likewise.
7421         (CRAMFS_MAGIC_WEND): Likewise.
7422         (DEBUGFS_MAGIC): Likewise.
7423         (ECRYPTFS_SUPER_MAGIC): Likewise.
7424         (EXT3_SUPER_MAGIC): Likewise.
7425         (EXT4_SUPER_MAGIC): Likewise.
7426         (FUTEXFS_SUPER_MAGIC): Likewise.
7427         (HOSTFS_SUPER_MAGIC): Likewise.
7428         (HUGETLBFS_MAGIC): Likewise.
7429         (MINIX3_SUPER_MAGIC): Likewise.
7430         (MTD_INODE_FS_MAGIC): Likewise.
7431         (NILFS_SUPER_MAGIC): Likewise.
7432         (OPENPROM_SUPER_MAGIC): Likewise.
7433         (PIPEFS_MAGIC): Likewise.
7434         (PSTOREFS_MAGIC): Likewise.
7435         (QNX6_SUPER_MAGIC): Likewise.
7436         (RAMFS_MAGIC): Likewise.
7437         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7438         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7439         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7440         (SECURITYFS_MAGIC): Likewise.
7441         (SELINUX_MAGIC): Likewise.
7442         (SMACK_MAGIC): Likewise.
7443         (SOCKFS_MAGIC): Likewise.
7444         (SQUASHFS_MAGIC): Likewise.
7445         (STACK_END_MAGIC): Likewise.
7446         (TMPFS_MAGIC): Likewise.
7447         (USBDEVICE_SUPER_MAGIC): Likewise.
7448         (V9FS_MAGIC): Likewise.
7449         (XENFS_SUPER_MAGIC): Likewise.
7450         (CRAMFS_MAGIC): Fix typo in comment.
7451         (EXT2_SUPER_MAGIC): Update comment.
7452         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7454 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7456         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7457         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7458         * sysdeps/unix/sysv/linux/arm: Move directory from
7459         ports/sysdeps/unix/sysv/linux/arm.
7460         * README: Update listing for arm-*-linux-gnueabi.
7462         * README: Remove mention of am33.
7464 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7466         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7467         than the comma operator, to avoid "rhs of comma has no effect"
7468         compiler warnings.
7469         (__sigfillset, __sigandset, __sigorset): Likewise.
7470         * include/signal.h (__sigemptyset): Likewise.
7471         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7473 2014-02-07  Allan McRae  <allan@archlinux.org>
7475         * version.h (RELEASE): Set to "development".
7476         (VERSION): Set to "2.19.90"
7477         * NEWS: Add 2.20 section.
7479 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7481         [BZ #16529]
7482         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7484 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7486         * manual/contrib.texi: Update entry for Carlos O'Donell,
7487         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7489 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7491         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7493         * sysdeps/unix/sysv/linux/kernel-features.h
7494         [__LINUX_KERNEL_VERSION >= 0x020621]
7495         (__ASSUME_PROC_PID_TASK_COMM): Define.
7497 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7499         [BZ #16398]
7500         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7501         conversion when destination buffer does not have enough space.
7502         * libio/tst-ftell-partial-wide.c: New test case.
7503         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7505         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7506         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7507         Leonard and Allan McRae.
7509 2014-02-04  David S. Miller  <davem@davemloft.net>
7511         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7512         32-bit.
7514 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7517         New file
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7519         New file
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7521         New file.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7523         New file.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7525         New file.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7527         New file.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7529         New file.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7531         New file.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7533         New file.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7535         New file.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7537         New file.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7539         New file.
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7541         New file.
7543 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7545         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7546         * shlib-versions: Likewise.
7548 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7549             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7551         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7552         (abilist-pattern): New variable, set to %-le.abilist.
7554         * Makerules (abilist-pattern): New variable.
7555         (vpath): Use $(abilist-pattern) in place of %.abilist.
7556         (check-abi-% pattern rule): Likewise.
7557         (check-abi, update-abi): Likewise.
7559 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7563 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7565         * manual/startup.texi: Add next, previous, and top entries for
7566         the `Program Arguments' and `Environment Variables' nodes.
7568 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7570         * manual/macros.texi: Add comments before MTASC-safety macros.
7572         * manual/users.texi: Document MTASC-safety properties.
7574         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7575         (pthread_getspecific, pthread_setspecific): Format with
7576         @deftypefun, and add @safety note.
7577         * manual/signal.texi: Move comments that analyze the above
7578         functions to their home place.
7580 2014-02-03  Allan McRae  <allan@archlinux.org>
7582         * po/sl.po: Update Slovenian translation from translation project.
7584 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7586         * manual/time.texi (timegm): Add missing blank after @c.
7587         Reported by Joseph Myers <joseph@codesourcery.com>.
7589 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7591         * manual/check-safety.sh: New.
7592         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7594         * manual/terminal.texi: Document MTASC-safety properties.
7596         * manual/filesys.texi: Document MTASC-safety properties.
7598         * manual/errno.texi: Document MTASC-safety properties.
7600         * manual/intro.texi: Document safety identifiers and
7601         conditionals.
7603         * manual/string.texi (wcstok): Fix prototype.
7604         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7606         * manual/time.texi: Document MTASC-safety properties.
7608         * manual/string.texi: Document MTASC-safety properties.
7610         * manual/threads.texi: Document MTASC-safety properties.
7612         * manual/stdio.texi: Document MTASC-safety properties.
7614         * manual/syslog.texi: Document MTASC-safety properties.
7616         * manual/sysinfo.texi: Document MTASC-safety properties.
7618         * manual/startup.texi: Document MTASC-safety properties.
7620         * manual/socket.texi: Document MTASC-safety properties.
7622         * manual/signal.texi: Document MTASC-safety properties.
7624 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7626         * manual/setjmp.texi: Document MTASC-safety properties.
7628         * manual/search.texi: Document MTASC-safety properties.
7630         * manual/resource.texi: Document MTASC-safety properties.
7632         * manual/process.texi: Document MTASC-safety properties.
7634         * manual/platform.texi: Document MTASC-safety properties.
7636         * manual/pipe.texi: Document MTASC-safety properties.
7638         * manual/pattern.texi: Document MTASC-safety properties.
7640         * manual/message.texi: Document MTASC-safety properties.
7642         [BZ #12751]
7643         * manual/memory.texi: Document MTASC-safety properties.
7645         * manual/math.texi: Document MTASC-safety properties.
7647         * manual/locale.texi: Document MTASC-safety properties.
7649         * manual/llio.texi: Document MTASC-safety properties.
7651         * manual/libdl.texi: New.
7653         * manual/lang.texi: Document MTASC-safety properties.
7655         * manual/job.texi: Document MTASC-safety properties.
7657         * manual/getopt.texi: Document MTASC-safety properties.
7659         * manual/ctype.texi: Document MTASC-safety properties.
7661 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7663         [BZ #16046]
7664         * csu/libc-tls.c (static_map): Remove variable.
7665         (__libc_setup_tls): Use main executable's link map for TLS data.
7666         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7667         casing for LM_ID_BASE and GL(dl_nns).
7668         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7669         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7670         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7671         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7672         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7673         member.
7674         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7675         l_phnum members.
7677 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7679         * manual/debug.texi: Document MTASC-safety properties.
7681 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7683         [BZ #16510]
7684         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7685         of __x86_64__ when disabling x87 inline functions.
7687 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7689         * manual/charset.texi: Document MTASC-safety properties.
7691         * manual/crypt.texi: Document MTASC-safety properties.
7693         * manual/conf.texi: Document MTASC-safety properties.
7695         * manual/arith.texi: Document MTASC-safety properties.
7697         * manual/argp.texi: Document MTASC-safety properties.
7699         * manual/macros.texi: Introduce macros to document multi
7700         thread, asynchronous signal and asynchronous cancellation
7701         safety properties.
7702         * manual/intro.texi: Introduce the properties themselves.
7704 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7706         * sysdeps/sh/sh4/Makefile: New file.
7708 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7710         * math/gen-libm-test.pl ($srcdir): New variable.
7711         ($auto_input): Use it.
7713 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7715         [BZ #16506]
7716         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7717         access beyond array bounds when parsing netgroups file.
7719         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7720         the old buffer before realloc.
7722 2014-01-27  Allan McRae  <allan@archlinux.org>
7724         * po/fr.po: Update French translation from translation project.
7726 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7728         * sysdeps/sh/libm-test-ulps: Regenerate.
7730 2014-01-24  David S. Miller  <davem@davemloft.net>
7732         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7734 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7736         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7737         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7739 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7741         [BZ #16474]
7742         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7743         string pointers after reallocation.
7745 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7747         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7748         __SH4A__ instead of __SH_FPU_ANY__.
7750 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7752         * sysdeps/sh/fpu_control.h: New file.
7753         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7754         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7755         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7756         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7757         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7758         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7759         * sysdeps/sh/sys/ucontext.h: Remove.
7760         * sysdeps/sh/sys: Remove directory.
7762 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7764         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7765         s390/sys/ucontext.h.
7766         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7767         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7769 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7771         [BZ #15605]
7772         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7774 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7776         [BZ#16431]
7777         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7778         Adjust the vDSO correctly for internal calls.
7779         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7781 2014-01-20  Allan McRae  <allan@archlinux.org>
7783         * po/ca.po: Update Catalan translation from translation project.
7785 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7787         * sysdeps/s390/sotruss-lib.c: New file.
7789 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7791         [BZ#16430]
7792         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7793         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7794         local calls issues by not having a PLT stub required for IFUNC calls.
7795         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7797 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7799         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7800         * math/test-fpucw-static.c: Likewise.
7802 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7804         [BZ #16453]
7805         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7807 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7809         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7810         implementation for powerpc.
7812 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7814         [BZ #14782]
7815         * sysdeps/posix/system.c (__libc_system): Do not enable
7816         asynchronous cancellation.
7818 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7820         [BZ #16427]
7821         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7822         handling only for numbers special also in the IEEE case.
7824 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7826         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7828 2014-01-11  Allan McRae  <allan@archlinux.org>
7830         * po/bg.po: Update Bulgarian translation from translation project.
7832         * po/de.po: Update German translation from translation project.
7834 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7836         * sysdeps/generic/gcc-compat.h: New file.
7838 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7840         * benchtests/asin-inputs: Correct slow inputs.
7841         * benchtests/acos-inputs: Likewise.
7843 2014-01-10  Allan McRae  <allan@archlinux.org>
7845         * po:sv.po: Update Swedish translation from translation project.
7847         * po/vi.po: Update Vietnamese translation from translation project.
7849         * po/eo.po: Update Esperanto translation from translation project.
7851         * po/cs.po: Update Czech translation from translation project.
7853         * po/nl.po: Update Dutch translation from translation project.
7855         * po/pl.po: Update Polish translation from translation project.
7857         * po/ru.po: Update Russian translation from translation project.
7859         * po/uk.po: Update Ukrainian translation from translation project.
7861 2014-01-08  Brooks Moses  <bmoses@google.com>
7863         * elf/dl-load.c: Fix comment typo.
7865 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7867         * po/header.pot: Rename to...
7868         * po/pot.header: ... this.
7869         * po/Makefile: Use pot.header.
7871 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7872             Maxim Kuvyrkov  <maxim@kugelworks.com>
7874         [BZ #16394]
7875         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7876         SRC and DEST against LEN.
7878 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7880         [BZ #16414]
7881         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7882         implementation.
7883         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7885 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7889 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7891         [BZ #16408]
7892         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7893         for large positive arguments.
7895 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7897         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7899         * math/auto-libm-test-in: Mark various tests with
7900         xfail-rounding:ldbl-128ibm.
7901         * math/auto-libm-test-out: Regenerated.
7903         [BZ #16407]
7904         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7905         Increase overflow threshold.
7907 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7909         [BZ #14286]
7910         * stdio-common/vfprintf.c: Check for integer overflow.
7912 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7914         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7915         the first argument and return value of __tls_get_addr_internal.
7917 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7919         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7920         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7922 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7924         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7925         * sysdeps/s390/rtld-global-offsets.sym: New file.
7926         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7927         GLIBC_2.19 symbol.
7928         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7930         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7931         ... this.
7932         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7933         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7934         ... this.
7935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7936         Regenerate.
7937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7938         Regenerate.
7939         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7940         halfs of GPRs for high_gprs contexts.
7941         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7942         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7943         field.
7944         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7945         uc_flags field.
7946         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7947         64 bit versions:
7948         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7949         for high GPRs (uc_high_gprs) and for future extensions
7950         (__reserved).
7951         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7952         for future extensions (__reserved).
7953         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7954         64 bit versions:
7955         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7956         SC_HIGHGPRS offset definition.
7957         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7958         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7960         * Versions.def: Add GLIBC_2.19 for libpthread.
7961         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7962         siglongjmp for libpthread with GLIBC_2.19 symver.
7963         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7964         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7965         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7966         * sysdeps/s390/__longjmp.c: New file.
7967         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7968         * sysdeps/s390/longjmp.c: New file.
7969         * sysdeps/s390/setjmp.S: New file.
7970         * sysdeps/s390/sigjmp.S: New file.
7971         * sysdeps/s390/v1-longjmp.c: New file.
7972         * sysdeps/s390/v1-setjmp.h: New file.
7973         * sysdeps/s390/v1-sigjmp.c: New file.
7974         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7975         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7976         GLIBC_2.19 version.
7977         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7978         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7979         versioned symbols for ____longjmp_chk.
7980         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7983         Regenerate.
7984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7985         Regenerate.
7986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7987         Regenerate.
7988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7989         Regenerate.
7990         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7991         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7992         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7993         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7994         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7995         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7996         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7997         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7998         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7999         * sysdeps/s390/rtld-__longjmp.c: New file.
8000         * sysdeps/s390/rtld-setjmp.S: New file.
8002 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8004         [BZ #16400]
8005         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8006         Return -__logl (x) for small positive arguments without evaluating
8007         a polynomial.
8009 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8011         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8012         Rename to ...
8013         (__ptrace_peeksiginfo_args): ... this.
8014         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8015         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8016         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8018 2014-01-06  Allan McRae  <allan@archlinux.org>
8020         * inet/netinet/in.h: Fix typo in comment.
8022 2014-01-05  Andreas Jaeger  <aj@suse.de>
8024         * sysdeps/i386/fpu/libm-test-ulps: Update.
8026 2014-01-05  Allan McRae  <allan@archlinux.org>
8028         * po/libc.pot: Regenerated.
8030         * malloc/memusagestat.c: Fix gettext call formatting.
8032 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8034         * nscd/nscd.c: Improve usage() output.
8036 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8038         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8039         * sysdeps/unix/sysv/linux/configure: Regenerated.
8040         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8041         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8043 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #16390]
8046         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8047         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8049 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8051         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8052         extra tokens at end of #undef directive.
8053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8054         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8055         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8057 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8059         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8061         * math/auto-libm-test-in: Mark various tests with
8062         xfail-rounding:ldbl-128ibm.
8063         * math/auto-libm-test-out: Regenerated.
8065 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8067         [BZ #16386]
8068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8069         numbers with subnormal high part when calculating exponent.
8071         [BZ #16385]
8072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8073         fabs.
8075         [BZ #16384]
8076         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8077         M_LN2l.
8078         (__ieee754_acoshl): Use __log1pl not __log1p.
8080 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8082         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8083         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8084         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8085         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8086         (reused_arena, arena_get2): Convert to GNU style.
8087         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8088         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8089         (memalign_check, __malloc_set_state): Likewise.
8090         * malloc/mallocbug.c (main): Likewise.
8091         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8092         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8093         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8094         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8095         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8096         (__posix_memalign, malloc_info): Likewise.
8097         * malloc/malloc.h: Likewise.
8098         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8099         (mallochook, memalignhook, reallochook, mabort): Likewise.
8100         * malloc/mcheck.h: Likewise.
8101         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8102         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8103         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8104         * malloc/morecore.c (__default_morecore): Likewise.
8105         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8106         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8107         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8108         (print_and_abort): Likewise.
8109         * malloc/obstack.h: Likewise.
8110         * malloc/set-freeres.c (__libc_freeres): Likewise.
8111         * malloc/tst-mallocstate.c (main): Likewise.
8112         * malloc/tst-mtrace.c (main): Likewise.
8113         * malloc/tst-realloc.c (do_test): Likewise.
8115 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8117         [BZ #16366]
8118         * nscd/netgroupcache.c (do_notfound): New function.
8119         (addgetnetgrentX): Use it.
8121         [BZ # 16365]
8122         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8123         NSS_STATUS_NOTFOUND.
8125 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8127         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8130 2014-01-01  Allan McRae  <allan@archlinux.org>
8132         * scripts/update-copyrights: Update configure input file suffix.
8134         * NEWS: Update copyright year.
8135         * catgets/gencat.c: Likewise.
8136         * csu/version.c: Likewise.
8137         * debug/catchsegv.sh: Likewise.
8138         * debug/pcprofiledump.c: Likewise.
8139         * debug/xtrace.sh: Likewise.
8140         * elf/ldconfig.c: Likewise.
8141         * elf/ldd.bash.in: Likewise.
8142         * elf/pldd.c: Likewise.
8143         * elf/sotruss.ksh: Likewise.
8144         * elf/sprof.c: Likewise.
8145         * iconv/iconv_prog.c: Likewise.
8146         * iconv/iconvconfig.c: Likewise.
8147         * locale/programs/locale.c: Likewise.
8148         * locale/programs/localedef.c: Likewise.
8149         * login/programs/pt_chown.c: Likewise.
8150         * malloc/memusage.sh: Likewise.
8151         * malloc/memusagestat.c: Likewise.
8152         * malloc/mtrace.pl: Likewise.
8153         * manual/libc.texinfo: Likewise.
8154         * nscd/nscd.c: Likewise.
8155         * nss/getent.c: Likewise.
8156         * nss/makedb.c: Likewise.
8157         * posix/getconf.c: Likewise.
8158         * scripts/test-installation.pl: Likewise.
8160         * All files with FSF copyright notices: Update copyright dates
8161         using scripts/update-copyrights.
8162         * intl/plural.c: Regenerated.
8163         * locale/programs/charmap-kw.h: Likewise.
8164         * locale/programs/locfile-kw.h: Likewise.
8166 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8168         * sysdeps/unix/sysv/linux/configure: Regenerated.
8169         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8170         the linux/fanotify.h header.
8171         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8172         HAVE_LINUX_FANOTIFY_H is defined.
8174 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8176         * benchtests/cos-inputs: New inputs.
8177         * benchtests/sin-inputs: Likewise.
8179         * benchtests/atan-inputs: New inputs. Fix name of multiple
8180         precision fallback inputs.
8182         * benchtests/atanh-inputs: New inputs.
8183         * benchtests/tanh-inputs: Likewise.
8185         * benchtests/acosh-inputs: New inputs.
8186         * benchtests/asinh-inputs: Likewise.
8188         * benchtests/cosh-inputs: New inputs.
8189         * benchtests/sinh-inputs: Likewise.
8191         * benchtests/acos-inputs: Add more inputs.
8192         * benchtests/asin-inputs: Likewise.
8194 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8196         [BZ #16375]
8197         * manual/arith.texi: Fix spelling.
8198         * manual/charset.texi: Likewise.
8199         * manual/errno.texi: Likewise.
8200         * manual/filesys.texi: Likewise.
8201         * manual/lang.texi: Likewise.
8202         * manual/llio.texi: Likewise.
8203         * manual/locale.texi: Likewise.
8204         * manual/message.texi: Likewise.
8205         * manual/resource.texi: Likewise.
8206         * manual/search.texi: Likewise.
8207         * manual/setjmp.texi: Likewise.
8208         * manual/stdio.texi: Likewise.
8209         * manual/string.texi: Likewise.
8210         * manual/sysinfo.texi: Likewise.
8211         * manual/time.texi: Likewise.
8213 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8215         * po/sl.po: New file.
8217 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8219         * .gitignore: Add core/.gdbinit/.gdb_history.
8221 2013-12-27  Allan McRae  <allan@archlinux.org>
8223         [BZ #16369]
8224         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8225         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8227 2013-12-24  Brooks Moses  <bmoses@google.com>
8229         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8230         all compilers that claim C++98 compliance, not just GCC.
8231         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8232         Likewise.
8234 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8236         * NEWS: Restore accidentally deleted bug-fix entries.
8238 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8239             Ondřej Bílka  <neleai@seznam.cz>
8241         [BZ #15073]
8242         * malloc/malloc.c (_int_free): Perform sanity check only if we
8243         have_lock.
8245 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8247         [BZ #12986]
8248         * manual/stdio.texi (String Input Conversions): Clarify that character
8249         classes are not supported.
8251 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8255 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #16337]
8258         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8259         Calculate results for small negative arguments directly rather
8260         than using reflection formula with special underflow handling.
8262         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8263         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8264         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8265         (fchflags): Likewise.
8266         (revoke): Likewise.
8267         (setlogin): Likewise.
8268         (sigaltstack): Likewise.
8269         (wait4): Likewise.
8270         (sigblock): Remove.
8271         (sigsetmask): Likewise.
8272         (wait3): Likewise.
8273         (waitpid): Likewise.
8274         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8275         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8276         file.
8277         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8278         * sysdeps/unix/bsd/Makefile: ... here.
8279         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8280         * sysdeps/unix/bsd/Versions: ... here.
8281         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8282         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8283         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8284         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8285         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8286         * sysdeps/unix/bsd/sigblock.c: ... here.
8287         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8288         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8289         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8290         * sysdeps/unix/bsd/sigvec.c: ... here.
8291         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8292         * sysdeps/unix/bsd/tcdrain.c: ... here.
8293         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8294         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8295         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8296         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8297         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8298         * sysdeps/unix/bsd/wait.c: ... here.
8299         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8300         * sysdeps/unix/bsd/wait3.c: ... here.
8301         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8302         * sysdeps/unix/bsd/waitpid.c: ... here.
8304 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8306         [BZ #16356]
8307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8308         round-to-nearest for [!USE_AS_EXPM1L].
8309         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8310         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8311         more tests of exp and exp10.  Expect some exp10 tests to miss
8312         exceptions or fail in directed rounding modes.
8313         * math/auto-libm-test-out: Regenerated.
8314         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8315         (exp10_test_tonearest): New function.
8316         (exp10_towardzero_test_data): New array.
8317         (exp10_test_towardzero): New function.
8318         (exp10_downward_test_data): New array.
8319         (exp10_test_downward): New function.
8320         (exp10_upward_test_data): New array.
8321         (exp10_test_upward): New function.
8322         (main): Call the new functions.
8323         * sysdeps/i386/fpu/libm-test-ulps: Update.
8324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8326 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8328         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8329         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8330         * math/auto-libm-test-out: Regenerated.
8331         * math/libm-test.inc (acosh_test_data): Add more tests.
8332         (atanh_test_data): Likewise.
8333         (ceil_test_data): Likewise.
8334         (copysign_test_data): Likewise.
8335         * sysdeps/i386/fpu/libm-test-ulps: Update.
8336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8338         * timezone/checktab.awk: Update from tzcode 2013i.
8339         * timezone/private.h: Likewise.
8340         * timezone/scheck.c: Likewise.
8341         * timezone/tzfile.h: Likewise.
8342         * timezone/tzselect.ksh: Likewise.
8343         * timezone/zdump.c: Likewise.
8344         * timezone/zic.c: Likewise.
8346         * math/auto-libm-test-in: Add tests of cpow.
8347         * math/auto-libm-test-out: Regenerated.
8348         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8349         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8350         mpc_cc_c.
8351         (func_calc_desc): Add mpc_cc_c union field.
8352         (test_functions): Add cpow.
8353         (special_fill_2pi): New function.
8354         (special_real_inputs): Add 2pi.
8355         (calc_generic_results): Handle mpc_cc_c.
8356         * sysdeps/i386/fpu/libm-test-ulps: Update.
8357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8359         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8360         csqrt, ctan and ctanh.
8361         * math/auto-libm-test-out: Regenerated.
8362         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8363         (TEST_COND_x86): Likewise.
8364         (ccos_test_data): Use AUTO_TESTS_c_c.
8365         (ccosh_test_data): Likewise.
8366         (cexp_test_data): Likewise.
8367         (clog_test_data): Likewise.
8368         (csqrt_test_data): Likewise.
8369         (ctan_test_data): Likewise.
8370         (ctan_tonearest_test_data): Likewise.
8371         (ctan_towardzero_test_data): Likewise.
8372         (ctan_downward_test_data): Likewise.
8373         (ctan_upward_test_data): Likewise.
8374         (ctanh_test_data): Likewise.
8375         (ctanh_tonearest_test_data): Likewise.
8376         (ctanh_towardzero_test_data): Likewise.
8377         (ctanh_downward_test_data): Likewise.
8378         (ctanh_upward_test_data): Likewise.
8379         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8380         mpc_c_c.
8381         (func_calc_desc): Add mpc_c_c union field.
8382         (FUNC_mpc_c_c): New macro.
8383         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8384         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8385         ctanh.
8386         (special_fill_min_subnorm_p120): New function.
8387         (special_real_inputs): Add min_subnorm_p120.
8388         (calc_generic_results): Handle mpc_c_c.
8389         * sysdeps/i386/fpu/libm-test-ulps: Update.
8390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8392 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8394         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8395         (do_sin_slow): New functions.
8396         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8397         (cslow2, csloww1, csloww2): Use the new functions.
8399         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8400         Use M to change sign of result instead of X.  Assume X is
8401         positive.
8402         (csloww1): Likewise.
8403         (__sin): Adjust.
8404         (__cos): Adjust.
8406         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8407         arguments A and DA.
8408         (__sin): Adjust.
8409         (__cos): Likewise.
8411         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8412         (__cos): Likewise.
8413         (sloww1): Don't adjust sign of DX.
8414         (csloww1): Likewise.
8415         (sloww2): Use X directly and don't adjust sign of DX.
8416         (csloww2): Likewise.
8418 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8420         * math/auto-libm-test-in: Add tests of cabs and carg.
8421         * math/auto-libm-test-out: Regenerated.
8422         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8423         (carg_test_data): Likewise.
8424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8425         mpc_c_f.
8426         (func_calc_desc): Add mpc_c_f union field.
8427         (test_functions): Add cabs and carg.
8428         (calc_generic_results): Handle mpc_c_f.
8430         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8431         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8432         as a macro and a compat symbol.
8433         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8434         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8435         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8436         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8437         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8438         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8439         not use .hidden.
8440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8441         Likewise.
8442         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8443         Likewise.
8444         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8445         Likewise.
8446         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8447         Likewise.
8448         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8449         Likewise.
8450         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8451         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8452         from GLIBC_2.3.2.
8454 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8458 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8460         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8461         trailing whitespace removed.
8462         * scripts/config.guess: Update to version 2013-11-29.
8463         * scripts/config.sub: Update to version 2013-10-01.
8465         * math/auto-libm-test-in: Add tests of sincos.
8466         * math/auto-libm-test-out: Regenerated.
8467         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8468         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8469         mpfr_f_11.
8470         (func_calc_desc): Add mpfr_f_11 union field.
8471         (test_functions): Add sincos.
8472         (calc_generic_results): Handle mpfr_f_11.
8473         * sysdeps/i386/fpu/libm-test-ulps: Update.
8474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8476 2013-12-19  Andreas Schwab  <schwab@suse.de>
8478         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8479         CALL_MCOUNT.
8480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8481         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8482         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8484 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8486         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8487         * sysdeps/i386/fpu/libm-test-ulps: Update.
8488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8490         [BZ #16293]
8491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8492         round-to-nearest mode when using frndint.
8493         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8494         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8496         Likewise.
8497         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8498         sinh test to fail.
8499         * math/auto-libm-test-out: Regenerated.
8500         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8501         (TEST_COND_x86): Likewise.
8502         (expm1_tonearest_test_data): New array.
8503         (expm1_test_tonearest): New function.
8504         (expm1_towardzero_test_data): New array.
8505         (expm1_test_towardzero): New function.
8506         (expm1_downward_test_data): New array.
8507         (expm1_test_downward): New function.
8508         (expm1_upward_test_data): New array.
8509         (expm1_test_upward): New function.
8510         (main): Run the new test functions.
8511         * sysdeps/i386/fpu/libm-test-ulps: Update.
8512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514         * include/features.h: Update comment documenting feature test
8515         macros.  Mention _DEFAULT_SOURCE in comment.
8516         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8517         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8518         _BSD_SOURCE and _SVID_SOURCE.
8519         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8520         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8521         !_SVID_SOURCE]: Likewise.
8522         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8523         (__USE_POSIX_IMPLICITLY): Define.
8524         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8525         (_POSIX_SOURCE): Undefine and redefine.
8526         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8527         (_POSIX_C_SOURCE): Likewise.
8528         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8529         (Feature Test Macros): Update documentation of default features.
8531 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8533         * benchtests/Makefile: Add bench-strtok.
8534         * benchtests/bench-strtok.c: New file: strtok benchtest.
8536 2013-12-19  Allan McRae  <allan@archlinux.org>
8538         * manual/install.texi: Suppress menu for plain text output.
8539         * INSTALL: Regenerated.
8541 2013-12-18  Brooks Moses  <bmoses@google.com>
8543         [BZ #15846]
8544         * misc/getauxval.c: Include errno.h.
8545         (__getauxval): Set errno to ENOENT if the requested type is not
8546         found.
8547         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8548         don't declare with __attribute_const__.
8549         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8550         * manual/startup.texi: Document that getauxval sets errno.
8552 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8554         * math/auto-libm-test-in: Add tests of jn and yn.
8555         * math/auto-libm-test-out: Regenerated.
8556         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8557         (yn_test_data): Likewise.
8558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8559         mpfr_if_f.
8560         (func_calc_desc): Add mpfr_if_f union field.
8561         (FUNC_mpfr_if_f): New macro.
8562         (test_functions): Add jn and yn.
8563         (calc_generic_results): Assert type of second input for
8564         mpfr_ff_f.  Handle mpfr_if_f.
8565         (output_for_one_input_case): Disable all checking for arguments
8566         fitting floating-point types in case of an integer argument.
8567         * sysdeps/i386/fpu/libm-test-ulps: Update.
8568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8571         Don't expect fegetround reference in libm.so.
8573 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8575         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8576         $(config-cflags-nofma).
8578 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8580         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8581         * math/auto-libm-test-out: Regenerated.
8583         [BZ #16338]
8584         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8585         to determine exponent and adjust argument to have exponent of -1.
8586         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8587         log2.
8588         * math/auto-libm-test-out: Regenerated.
8589         * sysdeps/i386/fpu/libm-test-ulps: Update.
8590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8592 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8594         * manual/probes.texi: Remove cases when per-thread arenas are
8595         disabled.
8597 2013-12-18  Andreas Schwab  <schwab@suse.de>
8599         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8600         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8601         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8602         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8603         * sysdeps/i386/i686/multiarch/Makefile: Update.
8604         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8606 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8608         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8609         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8611 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8613         [BZ #15968]
8614         Support TZ transition times < 00:00:00.
8615         This is needed for version-3 tz-format files; it supports time
8616         stamps past 2037 for America/Godthab (the only entry in the tz
8617         database for which this change is relevant).
8618         * manual/time.texi (TZ Variable): Document transition times
8619         from -167:59:59 through -00:00:01.
8620         * time/tzset.c (tz_rule): Time of day is now signed.
8621         (__tzset_parse_tz): Parse negative time of day.
8623         Document TZ transition times >= 25:00:00.
8624         * manual/time.texi (TZ Variable): Document transition times from
8625         25:00:00 through 167:59:59.  These are already supported, and this
8626         support will help with version-3 tz-format files.
8628         * manual/time.texi (TZ Variable): Modernize North America example
8629         to reflect current (i.e., 2007-and-later) daylight saving rules.
8631         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8633 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8635         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8636         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8639         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8640         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8641         * sysdeps/unix/bsd/clock.c: Likewise.
8642         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8643         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8644         * sysdeps/unix/bsd/init-posix.c: Likewise.
8645         * sysdeps/unix/bsd/poll.c: Likewise.
8646         * sysdeps/unix/bsd/ptsname.c: Likewise.
8647         * sysdeps/unix/bsd/seekdir.c: Likewise.
8648         * sysdeps/unix/bsd/setegid.c: Likewise.
8649         * sysdeps/unix/bsd/seteuid.c: Likewise.
8650         * sysdeps/unix/bsd/setgid.c: Likewise.
8651         * sysdeps/unix/bsd/setrgid.c: Likewise.
8652         * sysdeps/unix/bsd/setruid.c: Likewise.
8653         * sysdeps/unix/bsd/setsid.c: Likewise.
8654         * sysdeps/unix/bsd/setuid.c: Likewise.
8655         * sysdeps/unix/bsd/sigaction.c: Likewise.
8656         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8657         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8658         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8659         * sysdeps/unix/bsd/telldir.c: Likewise.
8660         * sysdeps/unix/bsd/times.c: Likewise.
8661         * sysdeps/unix/bsd/usleep.c: Likewise.
8663         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8664         ($(objpfx)libbsd-compat.a): Remove rule.
8666         * include/features.h (__FAVOR_BSD): Do not define.
8667         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8668         features conflicting with POSIX.
8669         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8670         (_BSD_SOURCE): Remove description of not being a subset of other
8671         feature test macros.
8672         * manual/job.texi (getpgrp): Do not document BSD version.
8673         (getpgid): Do not document by reference to BSD getpgrp.
8674         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8675         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8676         * signal/signal.h [__FAVOR_BSD]: Likewise.
8677         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8678         instead of making contents conditional on [__FAVOR_BSD].
8679         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8681 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8685 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8687         [BZ #16314]
8688         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8689         values below 2**-450, not 2**-500.
8690         * math/auto-libm-test-in: Don't allow spurious underflow from
8691         hypot.
8692         * math/auto-libm-test-out: Regenerated.
8694         [BZ #16316]
8695         [BZ #16330]
8696         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8697         values of ha and hb and sort them after adjusting subnormal
8698         arguments.
8699         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8700         Likewise.
8701         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8702         values of ea and eb and sort them after adjusting subnormal
8703         arguments.
8704         * math/auto-libm-test-in: Do not expect some hypot tests of
8705         subnormals to fail.  Add more hypot tests.
8706         * math/auto-libm-test-out: Regenerated.
8708 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8710         [BZ #13304]
8711         * sysdeps/sh/s_fma.c: New file.
8712         * sysdeps/sh/s_fmaf.c: New file.
8713         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8714         version.
8715         * sysdeps/sh/Implies: Add sh/soft-fp.
8717 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8719         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8720         level of indirection to members `objname', `errstring', `malloced'.
8721         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8722         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8723         it as the __longjmp argument (just pass 1 instead).
8724         (_dl_catch_error): Initialize C with argument pointers and address of
8725         volatile local ERRCODE rather than copying values out of C at return.
8727 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8729         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8730         * math/auto-libm-test-out: Regenerated.
8731         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8732         (hypot_test_data): Likewise.
8733         (pow_test_data): Likewise.
8734         (pow_tonearest_test_data): Likewise.
8735         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8736         mpfr_ff_f.
8737         (func_calc_desc): Add mpfr_ff_f union field.
8738         (FUNC_mpfr_ff_f): New macro.
8739         (test_functions): Add atan2, hypot and pow.
8740         (special_fill_min): New function.
8741         (special_fill_minus_min): Likewise.
8742         (special_fill_min_subnorm): Likewise.
8743         (special_fill_minus_min_subnorm): Likewise.
8744         (special_real_inputs): Add min, -min, min_subnorm and
8745         -min_subnorm.
8746         (calc_generic_results): Handle mpfr_ff_f.
8747         * sysdeps/i386/fpu/libm-test-ulps: Update.
8748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8750 2013-12-16  Will Newton  <will.newton@linaro.org>
8752         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8753         (Aligned Memory Blocks): Add documentation for aligned_alloc
8754         and suggest it as an alternative to posix_memalign.
8755         (Hooks for Malloc): Document __memalign_hook is also called
8756         for aligned_alloc.  (Summary of Malloc): Add summary for
8757         aligned alloc.  Document __memalign_hook is also called
8758         for aligned_alloc.
8760 2013-12-16  Will Newton  <will.newton@linaro.org>
8762         * manual/memory.texi (Malloc Examples): Clarify default
8763         alignment documentation.  Suggest posix_memalign rather
8764         than memalign or valloc.
8765         (Aligned Memory Blocks): Remove suggestion to use memalign
8766         or valloc.  Remove obsolete comment about BSD.
8767         Document memalign errno values and mark the function obsolete.
8768         Document posix_memalign returned error codes.  Mark valloc
8769         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8770         called for posix_memalign and valloc.
8771         (Summary of Malloc): Add posix_memalign to function summary.
8772         __memalign_hook is also called for posix_memalign and valloc.
8774 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8776         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8777         TAYLOR_SIN.
8778         (__sin): Adjust.
8779         (__cos): Likewise.
8780         (sloww): Use mynumber union.  Expand ternary operator into
8781         if-else statements.
8782         (cslow): use mynumber union.
8784 2013-12-16  Allan McRae  <allan@archlinux.org>
8786         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8787         * configure: Regenerated.
8789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8791         [BZ #14120]
8792         * configure.ac: Added --enable-maintainer-mode. Check for
8793         autoconf when enabled.
8794         * configure: Regenerated.
8796         * nscd/nscd.service: New file.
8797         * nscd/nscd.tmpfiles: New file.
8799 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8801         [BZ #12100]
8802         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8803         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8804         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8805         (strstr): Add __strstr_sse2_unaligned ifunc.
8806         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8807         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8808         (strcasestr): Remove __strcasestr_sse42 ifunc.
8809         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8813 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8815         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8816         * sysdeps/sh/bits/fenv.h: ... here.
8817         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8819 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8821         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8824         hypotf multiarch implementations.
8825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8828         multiarch hypot for PPC64.
8829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8832         multiarch hypotf for PPC64.
8834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8835         modff multiarch implementations.
8836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8839         multiarch modf for PPC64.
8840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8843         multiarch modff for PPC64.
8845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8846         and logl multiarch implementations.
8847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8850         multiarch logb for PPC64.
8851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8854         multiarch logb for PPC64.
8855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8858         multiarch logb for PPC64.
8860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8861         isinff multiarch implementation.
8862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8863         file.
8864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8866         multiarch isinf for PPC64.
8867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8868         file.
8869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8870         multiarch isinff for PPC64.
8872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8873         finitef multiarch implementation.
8874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8875         file.
8876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8878         multiarch finite for PPC64.
8879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8880         file.
8881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8882         multiarch finitef for PPC64.
8884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8885         lrint multiarch implementation.
8886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8887         file.
8888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8890         multiarch llrint for PPC64.
8891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8892         multiarch lrint for PPC64.
8894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8895         copysignf multiarch implementation.
8896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8897         file.
8898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8899         file.
8900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8901         multiarch copysign for PPC64.
8902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8903         multiarch copysignf for PPC64.
8905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8906         multiarch implementation.
8907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8908         file.
8909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8910         file.
8911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8912         file.
8913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8914         file.
8915         multiarch llround for PPC64.
8916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8917         multiarch trunc for PPC64.
8918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8919         multiarch truncf for PPC64.
8921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8922         multiarch implementation.
8923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8924         file.
8925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8926         file.
8927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8928         file.
8929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8930         file.
8931         multiarch llround for PPC64.
8932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8933         multiarch round for PPC64.
8934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8935         multiarch roundf for PPC64.
8937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8938         multiarch implementation.
8939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8940         file.
8941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8942         file.
8943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8944         file.
8945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8946         file.
8947         multiarch llround for PPC64.
8948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8949         multiarch floor for PPC64.
8950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8951         multiarch floorf for PPC64.
8953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8954         multiarch implementation.
8955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8956         file.
8957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8958         file.
8959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8960         file.
8961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8962         file.
8963         multiarch llround for PPC64.
8964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8965         multiarch ceil for PPC64.
8966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8967         multiarch ceilf for PPC64.
8969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8970         multiarch implementation.
8971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8972         file.
8973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8974         file.
8975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8976         file.
8977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8978         multiarch llround for PPC64.
8979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8980         multiarch lround for PPC64.
8982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8983         multiarch implementation.
8984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8987         file.
8988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8991         multiarch isnan for PPC64.
8992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8993         multiarch isnanf for PPC64.
8995         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8996         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8997         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8998         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8999         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9002         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9003         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9005         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9008         multiarch implementations.
9009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9010         (__libc_ifunc_impl_list): Likewise.
9011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9013         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9014         multiarch stpcpy for PPC64.
9016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9017         multiarch implementations.
9018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9019         (__libc_ifunc_impl_list): Likewise.
9020         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9021         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9022         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9023         multiarch strcpy for PPC64.
9025         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9026         redefine function name.
9027         (_wordcopy_fwd_dest_aligned): Likewise.
9028         (_wordcopy_bwd_aligned): Likewise.
9029         (_wordcopy_bwd_dest_aligned): Likewise.
9030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9031         multiarch implementations.
9032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9033         (__libc_ifunc_impl_list): Likewise.
9034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9035         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9038         multiarch wcscpy for PPC64.
9040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9041         multiarch implementations.
9042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9043         (__libc_ifunc_impl_list): Likewise.
9044         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9045         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9046         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9047         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9048         multiarch wcscpy for PPC64.
9050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9051         multiarch implementations.
9052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9053         (__libc_ifunc_impl_list): Likewise.
9054         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9055         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9056         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9057         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9058         multiarch wcsrchr for PPC64.
9060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9061         multiarch implementations.
9062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9063         (__libc_ifunc_impl_list): Likewise.
9064         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9065         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9066         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9067         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9068         multiarch wcschr for PPC64.
9070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9071         multiarch implementations.
9072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9073         (__libc_ifunc_impl_list): Likewise.
9074         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9075         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9076         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9077         multiarch strchrnul for PPC64.
9079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9080         implementations.
9081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9082         (__libc_ifunc_impl_list): Likewise.
9083         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9084         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9085         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9086         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9087         strchr for PPC64.
9089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9090         implementations.
9091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9092         (__libc_ifunc_impl_list): Likewise.
9093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9094         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9095         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9096         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9097         strncmp for PPC64.
9099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9100         multiarch implementations.
9101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9102         (__libc_ifunc_impl_list): Likewise.
9103         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9104         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9105         strncasecmp for PPC64.
9106         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9107         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9108         multiarch strncasecmp_l for PPC64.
9110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9111         multiarch implementations.
9112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9113         (__libc_ifunc_impl_list): Likewise.
9114         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9116         multiarch strcasecmp for PPC64.
9117         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9118         file.
9119         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9120         multiarch strcasecmp_l for PPC64.
9122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9123         implementations.
9124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9125         (__libc_ifunc_impl_list): Likewise.
9126         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9127         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9128         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9129         strnlen for PPC64.
9131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9132         implementations.
9133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9134         (__libc_ifunc_impl_list): Likewise.
9135         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9136         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9137         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9138         strlen for PPC64.
9140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9141         implementations.
9142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9143         (__libc_ifunc_impl_list): Likewise.
9144         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9145         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9146         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9147         rawmemrchr for PPC64.
9149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9150         implementation.
9151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9152         (__libc_ifunc_impl_list): Likewise.
9153         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9154         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9155         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9156         memrchr for PPC64.
9158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9159         implementation.
9160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9161         (__libc_ifunc_impl_list): Likewise.
9162         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9163         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9164         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9165         memchr for PPC64.
9167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9168         implementation.
9169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9170         (__libc_ifunc_impl_list): Likewise.
9171         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9172         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9173         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9174         mempcpy for PPC64.
9176         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9177         avoid cretion of __bzero symbol.
9178         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9179         Likewise.
9180         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9181         Likewise.
9182         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9183         Likewise.
9184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9185         multiarch implementations.
9186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9187         (__libc_ifunc_impl_list): Likewise.
9188         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9189         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9190         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9191         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9192         bzero for PPC32.
9193         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9194         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9195         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9196         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9197         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9198         memset for PPC64.
9199         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9201         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9203         implementations.
9204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9205         (__libc_ifunc_impl_list): Likewise.
9206         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9207         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9208         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9209         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9210         memcmp for PPC64.
9212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9213         multiarch for POWER/PPC64.
9214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9215         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9218         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9219         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9220         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9221         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9222         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9223         memcpy for PPC64.
9225         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9226         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9227         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9228         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9229         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9230         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9231         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9232         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9233         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9234         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9235         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9236         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9237         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9238         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9239         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9248 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9252 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9254         * benchtests/Makefile (bench): Add exp2 and log2.
9255         (LDLIBS-bench-exp2): Add -lm.
9256         (LDLIBS-bench-log2): Likewise.
9257         * benchtests/exp2-inputs: New inputs file.
9258         * benchtests/log2-inputs: New inputs file.
9259         * benchtests/log-inputs: Add new inputs.
9260         * benchtests/tan-inputs: Likewise.
9262 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9264         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9265         definition...
9266         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9267         (csloww2): ... from here.
9269         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9270         instead of structures.
9271         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9272         (POLYNOMIAL): Likewise.
9273         (TAYLOR_SLOW): Likewise.
9274         (__sin): Likewise.
9275         (__cos): Likewise.
9276         (slow1): Likewise.
9277         (slow2): Likewise.
9278         (sloww): Likewise.
9279         (sloww1); Likewise.
9280         (sloww2): Likewise.
9281         (bsloww1): Likewise.
9282         (bsloww2): Likewise.
9283         (cslow2): Likewise.
9284         (csloww): Likewise.
9285         (csloww1): Likewise.
9286         (csloww2): Likewise.
9288 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9290         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9291         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9292         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9293         * malloc/hooks.c (realloc_check): Likewise.
9295         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9296         * malloc/arena.c: Remove PER_THREAD conditional.
9297         [!PER_THREAD]: Remove code.
9298         (ptmalloc_unlock_all2): Likewise.
9299         (ptmalloc_init): Likewise.
9300         (_int_new_arena): Likewise.
9301         (arena_get2): Likewise.
9302         * malloc/hooks.c (__malloc_get_state): Likewise.
9303         (__malloc_set_state): Likewise.
9304         * malloc/malloc.c: Likewise.
9305         (struct malloc_state): Likewise.
9306         (struct malloc_par): Likewise.
9307         (__libc_realloc): Likewise.
9308         (__libc_mallopt): Likewise.
9310 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9312         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9314 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9316         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9317         macro to a function.  Check for zero perturb_byte.
9318         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9320         * malloc/malloc.c: (force_reg): Remove.
9321         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9322         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9323         force_reg by atomic_forced_read.
9324         * malloc/arena.c (ptmalloc_init): Likewise.
9325         * malloc/hooks.c (top_check): Likewise.
9327 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9331 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9335 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9337         * math/auto-libm-test-in: Add tests of lgamma.
9338         * math/auto-libm-test-out: Regenerated.
9339         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9340         (M_LOG_2_SQRT_PIl): Likewise.
9341         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9342         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9343         mpfr_f_f1.
9344         (func_calc_desc): Add mpfr_f_f1 union field.
9345         (ARGS1): New macro.
9346         (ARGS2): Likewise.
9347         (ARGS3): Likewise.
9348         (ARGS4): Likewise.
9349         (RET1): Likewise.
9350         (RET2): Likewise.
9351         (CALC): Likewise.
9352         (FUNC): Likewise.
9353         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9354         (test_functions): Add lgamma.
9355         (calc_generic_results): Handle mpfr_f_f1.
9356         * sysdeps/i386/fpu/libm-test-ulps: Update.
9357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9359 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9361         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9362         __mpn_add_n for PowerPC64/POWER7.
9363         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9364         __mpn_sub_n for PowerPC64/POWER7.
9366         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9367         __mpn_addmul_1 for PowerPC64.
9368         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9369         __mpn_submul_1 for PowerPC64.
9370         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9371         for PowerPC64.
9372         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9373         for PowerPC64.
9375 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9377         [BZ #15089]
9378         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9380 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9382         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9384         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9385         add multiarch folders.
9386         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9387         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9388         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9389         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9390         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9391         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9392         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9393         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9394         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9395         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9396         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9405         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9407         New file.
9408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9409         New file.
9410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9411         multiarch __ieee754_hypot for PowerPC32.
9412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9413         New file.
9414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9415         New file.
9416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9417         multiarch __ieee754_hypotf for PowerPC32.
9419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9420         long_double_symbol only if __logbl is defined.
9421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9422         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9424         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9426         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9428         path for implementation.
9429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9430         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9432         logb, and logbl multiarch implementations for PowerPC32.
9433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9434         file.
9435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9436         file.
9437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9438         multiarch logb for PowerPC32.
9439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9440         file.
9441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9442         file.
9443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9444         multiarch logbf for PowerPC32.
9445         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9447         file.
9448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9449         multiarch logbl implementation for PowerPC32.
9451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9452         and modff multiarch implementations.
9453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9454         New file.
9455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9456         New file.
9457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9458         multiarch modf for PowerPC32.
9459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9460         New file.
9461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9462         New file.
9463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9464         multiarch modff for PowerPC32.
9466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9467         and lrintf multiarch implementations.
9468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9469         New file.
9470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9471         New file.
9472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9473         multiarch lrint for PowerPC32.
9474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9475         file: multiarch lrintf for PowerPC32.
9477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9478         and lroundf multiarch implementations.
9479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9480         New file.
9481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9482         New file.
9483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9484         New file.
9485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9486         multiarch lround for PowerPC32.
9487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9488         file: multiarch lroundf for PowerPC32.
9490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9491         copysign and copysignf multiarch implementations.
9492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9493         New file.
9494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9495         New file.
9496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9497         file: multiarch copysign for PowerPC32.
9498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9499         file: multiarch copysignf for PowerPC32.
9501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9502         and truncf multiarch implementations.
9503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9504         New file.
9505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9506         file.
9507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9508         multiarch trunc for PowerPC32.
9509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9510         New file.
9511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9512         New file.
9513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9514         multiarch truncf for PowerPC32.
9516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9517         and roundf multiarch implementations.
9518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9519         New file.
9520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9521         file.
9522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9523         multiarch round for PowerPC32.
9524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9525         New file.
9526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9527         New file.
9528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9529         multiarch roundf for PowerPC32.
9531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9532         and floorf multiarch implementations.
9533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9534         New file.
9535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9536         file.
9537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9538         multiarch floor for PowerPC32.
9539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9540         New file.
9541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9542         New file.
9543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9544         multiarch floorf for PowerPC32.
9546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9547         and ceilf multiarch implementations.
9548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9549         New file.
9550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9551         file.
9552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9553         multiarch ceil for PowerPC32.
9554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9555         New file.
9556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9557         file.
9558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9559         multiarch ceilf for PowerPC32.
9561         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9562         is defined.
9563         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9564         FINITEF is defined.
9565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9566         and finitef multiarch implementations.
9567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9568         New file.
9569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9570         file.
9571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9572         multiarch finite for PowerPC32.
9573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9574         New file.
9575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9576         file: multiarch finitef for PowerPC32.
9578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9579         and isinff multiarch implementations.
9580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9581         file.
9582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9583         file.
9584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9585         multiarch isinf for PowerPC32.
9586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9587         New file.
9588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9589         multiarch isinff for PowerPC32.
9591         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9592         alias when __isnan is defined.
9593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9594         and isnanf multiarch implementations.
9595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9596         file.
9597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9598         file.
9599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9600         file.
9601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9602         file.
9603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9604         multiarch isnan for PowerPC32.
9605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9606         New file.
9607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9608         New file.
9609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9610         multiarch isnanf for PowerPC32.
9612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9613         and sqrtf multiarch implementations.
9614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9615         file.
9616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9617         file.
9618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9619         multiarch sqrt for PowerPC32.
9620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9621         file.
9622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9623         file.
9624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9625         multiarch sqrtf for PowerPC32.
9627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9628         and llroundf multiarch implementations.
9629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9630         New file.
9631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9632         New file.
9633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9634         New file.
9635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9636         file: multiarch llround for PowerPC32.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9638         file: multiarch llroundf for PowerPC32.
9640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9641         multiarch PowerPC32 fpu implementations.
9642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9643         New file.
9644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9645         New file.
9646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9647         multiarch llrint for PowerPC32.
9648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9649         New file.
9650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9651         New file.
9652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9653         file.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9658         file.
9659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9660         file.
9661         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9662         file.
9663         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9664         multiarch wordcopy for PPC32.
9665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9666         wordcopy objects.
9667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9668         (__libc_ifunc_impl_list): Likewise.
9669         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9670         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9672         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9673         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9674         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9676         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9678         file.
9679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9680         file.
9681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9682         file.
9683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9684         multiarch wcscpy for PPC32.
9685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9686         multiarch objects.
9687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9688         (__libc_ifunc_impl_list): Likewise.
9689         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9690         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9691         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9692         sysdeps/powerpc/power6/wcscpy.c.
9694         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9696         file.
9697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9698         file.
9699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9700         file.
9701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9702         multiarch wcsrchr for PPC32.
9703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9704         multiarch objects.
9705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9706         (__libc_ifunc_impl_list): Likewise.
9707         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9708         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9709         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9710         sysdeps/powerpc/power6/wcsrchr.c.
9712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9713         file.
9714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9715         file.
9716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9718         multiarch wcschr for PPc32.
9719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9720         multiarch objects.
9721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9722         (__libc_ifunc_impl_list): Likewise.
9723         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9724         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9725         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9726         sysdeps/powerpc/power6/wcschr.c.
9728         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9730         file.
9731         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9732         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9733         file: multiarch strchr for PPC32.
9734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9735         multiarch objects.
9736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9737         (__libc_ifunc_impl_list): Likewise.
9739         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9740         name.
9741         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9742         file.
9743         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9744         file.
9745         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9746         multiarch strchrnul for PPC32.
9747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9748         multiarch objects.
9749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9750         (__libc_ifunc_impl_list): Likewise.
9752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9753         file.
9754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9755         multiarch strncasecmp for PPC32.
9756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9757         file.
9758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9759         multiarch strncasecmp_l for PPC32.
9760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9761         strncasecmp multiarch objects.
9762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9763         (__libc_ifunc_impl_list): Likewise.
9765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9766         file.
9767         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9768         multiarch strncasecmp for PPC32.
9769         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9770         New file.
9771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9772         multiarch strcasecmp_l for PPC32.
9773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9774         multiarch objects.
9775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9776         (__libc_ifunc_impl_list): Likewise.
9778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9779         file.
9780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9781         file.
9782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9783         multiarch strncmp for PPC32.
9784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9785         multiarch objects.
9786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9787         (__libc_ifunc_impl_list): Likewise.
9789         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9790         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9791         file.
9792         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9793         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9795         multiarch objects.
9796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9797         (__libc_ifunc_impl_list): Likewise.
9799         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9800         file.
9801         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9802         file.
9803         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9805         multiarch objects.
9806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9807         (__libc_ifunc_impl_list): Likewise.
9809         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9810         file.
9811         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9812         file.
9813         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9814         multiarch rawmemchr for PPC32.
9815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9816         multiarch objects.
9817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9818         (__libc_ifunc_impl_list): Likewise.
9820         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9821         file.
9822         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9823         file.
9824         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9825         file: memrchr multiarch for PPC32.
9826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9827         multiarch objects.
9828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9829         (__libc_ifunc_impl_list): Likewise.
9831         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9832         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9833         file.
9834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9836         multiarch memchr for PPC32.
9837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9838         multiarch objects.
9839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9840         (__libc_ifunc_impl_list): Likewise.
9842         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9843         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9844         file.
9845         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9846         file.
9847         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9848         file: multiarch mempcpy for PPC32.
9849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9850         multiarch objects.
9851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9852         (__libc_ifunc_impl_list): Likewise.
9854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9855         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9856         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9857         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9858         multiarch bzero for PPC32.
9859         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9860         file.
9861         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9862         file.
9863         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9864         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9865         file: multiarch memset for PPC32.
9866         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9868         memset multiarch objects.
9869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9870         (__libc_ifunc_impl_list): Likewise.
9872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9873         file.
9874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9875         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9876         memcmp for PPC32.
9877         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9879         multiarch objects.
9880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9881         (__libc_ifunc_impl_list): Likewise.
9883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9886         file.
9887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9888         file.
9889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9890         file.
9891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9892         multiarch memcpy for PPC32.
9893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9894         multiarch objects.
9895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9896         (__libc_ifunc_impl_list): Likewise.
9898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9899         support multiarch for POWER/PPC32.
9900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9901         Likewise.
9902         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9904         Implies file to make multiarch folder appers before the fpu and
9905         default folder for power4 configuration.
9907 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9909         * scripts/bench.pl: Append volatile keyword to type.
9911 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9913         * sysdeps/sh/sotruss-lib.c: New file.
9914         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9916 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9920 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9922         [BZ #6810]
9923         * math/w_tgamma.c: Include <errno.h>.
9924         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9925         * math/w_tgammaf.c: Include <errno.h>.
9926         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9927         * math/w_tgammal.c: Include <errno.h>.
9928         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9929         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9930         underflow.  Add more tgamma tests.
9931         * math/auto-libm-test-out: Regenerated.
9932         * sysdeps/i386/fpu/libm-test-ulps: Update.
9933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9935         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9936         sin, sinh, tan, tanh, tgamma, y0 and y1.
9937         * math/auto-libm-test-out: Regenerated.
9938         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9939         (TEST_COND_x86): Likewise.
9940         (M_E2l): Remove macro.
9941         (M_E3l): Likewise.
9942         (M_2_SQRT_PIl): Likewise.
9943         (M_SQRT_PIl): Likewise.
9944         (M_1_DIV_El): Likewise.
9945         (log_test_data): Use AUTO_TESTS_f_f.
9946         (log10_test_data): Likewise.
9947         (log1p_test_data): Likewise.
9948         (log2_test_data): Likewise.
9949         (sin_test_data): Likewise.
9950         (sin_tonearest_test_data): Likewise.
9951         (sin_towardzero_test_data): Likewise.
9952         (sin_downward_test_data): Likewise.
9953         (sin_upward_test_data): Likewise.
9954         (sinh_test_data): Likewise.
9955         (sinh_tonearest_test_data): Likewise.
9956         (sinh_towardzero_test_data): Likewise.
9957         (sinh_downward_test_data): Likewise.
9958         (sinh_upward_test_data): Likewise.
9959         (tan_test_data): Likewise.
9960         (tan_tonearest_test_data): Likewise.
9961         (tan_towardzero_test_data): Likewise.
9962         (tan_downward_test_data): Likewise.
9963         (tan_upward_test_data): Likewise.
9964         (tanh_test_data): Likewise.
9965         (tgamma_test_data): Likewise.
9966         (y0_test_data): Likewise.
9967         (y1_test_data): Likewise.
9968         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9969         (special_real_inputs): Add pi/4.
9970         * sysdeps/i386/fpu/libm-test-ulps: Update.
9971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9975         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9976         "longjmp_target" static probes.
9977         (__longjmp): Rename to __longjmp_symbol.
9978         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9979         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9980         on which longjmp to generate.
9981         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9982         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9983         probe.
9984         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9985         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9986         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9987         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9988         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9989         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9991         __longjmp_symbol based on which __longjmp to generate.
9992         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9993         probe.
9994         (setjmp): Rename to setjmp_symbol.
9995         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9996         (_setjmp): Rename to _setjmp_symbol.
9997         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9998         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9999         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10000         which setjmp to generate.
10001         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10002         "longjmp_target" static probes.
10004 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10006         * benchtests/README: Add note about output arguments.
10007         * benchtests/bench-sincos.c: Remove file.
10008         * benchtests/sincos-inputs: New file.
10009         * scripts/bench.pl: Identify output arguments and define
10010         static variables for them.
10012         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10014         [BZ #15941]
10015         * Makefile (INSTALL): Add install-plain.texi as the primary
10016         dependency.
10017         * manual/install-plain.texi: New file.
10018         * manual/install.texi: Include node directive only for
10019         non-plaintext output.
10021 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10023         * stdlib/longlong.h: Update from GCC.
10025         [BZ #6807]
10026         [BZ #15901]
10027         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10028         * math/w_j0f.c (y0f): Likewise.
10029         * math/w_j0l.c (__y0l): Likewise.
10030         * math/w_j1.c (y1): Likewise.
10031         * math/w_j1f.c (y1f): Likewise.
10032         * math/w_j1l.c (__y1l): Likewise
10033         * math/w_jn.c (yn): Likewise.
10034         * math/w_jnf.c (ynf): Likewise.
10035         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10036         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10037         value for Bessel function domain errors outside _SVID_ mode.
10038         Adjust sign of return value for yn (negative integer, 0).
10039         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10040         by zero in return for negative x and set sign appropriately for
10041         negative n.
10042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10043         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10044         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10045         expectations in error cases.
10046         (y1_test_data): Likewise.
10047         (yn_test_data): Likewise.
10048         * sysdeps/i386/fpu/libm-test-ulps: Update.
10049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10053         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10054         "64" to "64-v1".  Add "64-v2".
10055         (abi-64-options): Rename to ...
10056         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10057         (abi-64-condition): Rename to ...
10058         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10059         (abi-64-ld-soname): Rename to ...
10060         (abi-64-v1-ld-soname): ... this.
10061         (abi-64-v2-options): Define.
10062         (abi-64-v2-condition): Likewise.
10063         (abi-64-v2-ld-soname): Likewise.
10064         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10065         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10070 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10071             Alan Modra  <amodra@gmail.com>
10073         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10074         New versions for use with the ELFv2 ABI.
10075         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10076         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10077         declaration.
10078         (struct La_ppc64v2_retval): Likewise.
10079         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10080         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10081         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10082         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10083         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10085         Do not save or restore CR.
10086         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10087         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10088         return values for ELFv2 ABI.  Fix location of FPR return registers.
10089         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10090         updated values for _CALL_ELF == 2.
10091         (La_regs, La_retval, int_retval): Likewise.
10093 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10095         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10096         (FRAME_MIN_SIZE_PARM): Likewise.
10097         (FRAME_BACKCHAIN): Likewise.
10098         (FRAME_CR_SAVE): Likewise.
10099         (FRAME_LR_SAVE): Likewise.
10100         (FRAME_TOC_SAVE): Likewise.
10101         (FRAME_PARM_SAVE): Likewise.
10102         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10103         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10104         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10105         (call_mcount_parm_offset): New macro.
10106         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10107         (PROF): Use symbolic stack frame offsets.
10108         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10109         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10110         Redefine in terms of FRAME_MIN_SIZE.
10111         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10112         (_dl_profile_resolve): Likewise.  Update comment.
10113         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10114         symbols stack frame offsets.
10115         (__sigsetjmp): Likewise.
10116         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10117         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10118         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10119         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10122         (FRAME_BACKCHAIN): Remove.
10123         (FRAME_CR_SAVE): Likewise.
10124         (FRAME_LR_SAVE): Likewise.
10125         (FRAME_COMPILER_DW): Likewise.
10126         (FRAME_LINKER_DW): Likewise.
10127         (FRAME_TOC_SAVE): Likewise.
10128         (FRAME_PARM_SAVE): Likewise.
10129         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10130         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10131         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10133         (CHECK_SP): Use symbolic stack frame offsets.
10134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10135         zone" instead of caller's parameter save area for temp storage.
10136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10137         Likewise.  Also, use symbolic stack frame offsets.
10138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10139         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10140         our own stack frame instead of the caller's.
10141         (__socket): Use symbolic stack frame offsets.
10143 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10144             Alan Modra  <amodra@gmail.com>
10146         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10147         Define.
10148         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10149         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10150         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10151         New function.
10152         (elf_machine_fixup_plt): Call it.
10153         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10154         reloc arguments.
10155         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10156         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10157         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10158         r2 before calling target.
10160 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10161             Alan Modra  <amodra@gmail.com>
10163         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10164         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10165         versions of macros to support ELFv2 ABI.
10166         (LOCALENTRY): New macro.
10167         (ENTRY, EALIGN): Use it.
10168         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10169         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10170         fall through into ENTRY entry point.
10171         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10172         Only define if _CALL_ELF != 2.
10174         (elf_machine_matches_host): Verify ABI version matches.
10175         (RTLD_START): Use LOCALENTRY.
10176         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10177         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10178         (PLT_ENTRY_WORDS): New macro.
10179         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10180         (elf_machine_runtime_setup): Support ELFv2 ABI.
10181         (elf_machine_fixup_plt): Likewise.
10182         (elf_machine_plt_conflict): Likewise.
10183         (resolve_ifunc): Likewise.
10184         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10185         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10186         Likewise.
10187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10188         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10190         (makecontext): Support ELFv2 ABI.
10191         * elf/elf.h (EF_PPC64_ABI): Define.
10193 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10195         * sysdeps/powerpc/powerpc64/sysdep.h
10196         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10197         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10198         (ENTRY) [ASSEMBLER]: ... but instead here ...
10199         (EALIGN) [ASSEMBLER]: ... and here.
10200         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10201         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10202         (ENTRY_2) [!ASSEMBLER]: Use it.
10203         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10204         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10205         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10206         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10207         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10209         Use PPC64_LOAD_FUNCPTR.
10211         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10213 2013-12-04  Alan Modra  <amodra@gmail.com>
10215         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10216         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10217         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10218         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10221         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10222         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10223         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10224         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10225         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10227 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10230         (__makecontext): Fix incorrect CFI when backtracing out of
10231         context created via makecontext.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10233         (__setcontext): Fix incorrect CFI during switch to new context.
10234         (__novec_setcontext): Likewise.
10236 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10238         [BZ #4772]
10239         * time/strptime_l.c (__strptime_internal): Allow modifiers
10240         in strptime.
10241         * time/tst-strptime.c (day_tests): Add testcase.
10243 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10245         * scripts/bench.pl: Skip over blank lines.
10247 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10249         [BZ #926]
10250         * manual/time.texi (Calendar Time): Clarify what timezone functions
10251         use.
10253 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10257 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10259         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10260         implementation.
10261         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10262         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10263         * debug/memset_chk.c (__memset_chk): Likewise.
10264         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10265         * debug/strncpy_chk.c: Likewise.
10267 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10269         [BZ #15268]
10270         [BZ #15425]
10271         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10272         (__ieee754_exp): For possibly underflowing results, check size of
10273         result and force underflow exception if required.
10274         * math/auto-libm-test-in: Add more tests of exp.
10275         * math/auto-libm-test-out: Regenerated.
10276         * sysdeps/i386/fpu/libm-test-ulps: Update.
10277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279         [BZ #16283]
10280         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10281         * math/w_exp2f.c (__exp2f): Likewise.
10282         * math/w_exp2l.c (__exp2l): Likewise.
10283         * math/auto-libm-test-in: Do not allow missing errno on exp2
10284         underflow.
10285         * math/auto-libm-test-out: Regenerated.
10287 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10289         [BZ #16274]
10290         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10291         handle filename validation.
10292         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10293         (do_open): Delete.
10295 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10297         [BZ #6786]
10298         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10299         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10300         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10301         <float.h>.
10302         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10303         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10304         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10306         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10307         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10308         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10309         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10310         Add more erfc tests.
10311         * math/auto-libm-test-out: Regenerated.
10312         * sysdeps/i386/fpu/libm-test-ulps: Update.
10313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10316         exp2, expm1, j0 and j1.
10317         * math/auto-libm-test-out: Regenerated.
10318         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10319         (erfc_test_data): Likewise.
10320         (exp_test_data): Likewise.
10321         (exp_tonearest_test_data): Likewise.
10322         (exp_towardzero_test_data): Likewise.
10323         (exp_downward_test_data): Likewise.
10324         (exp_upward_test_data): Likewise.
10325         (exp10_test_data): Likewise.
10326         (exp2_test_data): Likewise.
10327         (expm1_test_data): Likewise.
10328         (j0_test_data): Likewise.
10329         (j1_test_data): Likewise.
10330         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10331         (input_flag_type): Add flag_xfail_rounding.
10332         (input_flags): Add xfail-rounding.
10333         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10334         (output_for_one_input_case): Handle flag_xfail_rounding.
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10338 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10340         [BZ #16289]
10341         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10342         division by 0.
10344 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10346         [BZ #16195]
10347         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10348         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10349         (STAP_PROBE0): New macro.
10350         (STAP_PROBE1): Likewise.
10351         (STAP_PROBE2): Likewise.
10352         (STAP_PROBE3): Likewise.
10353         (STAP_PROBE4): Likewise.
10355 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10357         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10359 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10361         * benchtests/Makefile (bench): Add sqrt.
10362         (LDLIBS-bench-sqrt): New.
10363         * benchtests/sqrt-input: New.
10365 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10367         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10368         (GAIH_EAI): Likewise.
10369         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10370         (gaih_inet): Likewise.
10371         (getaddrinfo): Don't use GAIH_EAI.
10373         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10374         (struct gaih): Remove definition.
10376 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10378         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10379         Use HERRNOP directly.
10381 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10385 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10387         * math/gen-auto-libm-tests.c (test_functions): Add more
10388         single-argument functions.
10389         (special_fill_pi_2): New function.
10390         (special_fill_minus_pi_2): Likewise.
10391         (special_fill_pi_6): Likewise.
10392         (special_fill_minus_pi_6): Likewise.
10393         (special_fill_pi_3): Likewise.
10394         (special_fill_2pi_3): Likewise.
10395         (special_fill_e): Likewise.
10396         (special_fill_1_e): Likewise.
10397         (special_fill_e_minus_1): Likewise.
10398         (special_real_inputs): Add more special inputs.
10399         (output_for_one_input_case): Do not require ERANGE on underflow to
10400         zero if round-to-nearest result does not underflow to zero, unless
10401         exact results required.
10402         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10403         atan, atanh, cbrt, cos and cosh.
10404         * math/auto-libm-test-out: Regenerated.
10405         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10406         (acos_tonearest_test_data): Likewise.
10407         (acos_towardzero_test_data): Likewise.
10408         (acos_downward_test_data): Likewise.
10409         (acos_upward_test_data): Likewise.
10410         (acosh_test_data): Likewise.
10411         (asin_test_data): Likewise.
10412         (asin_tonearest_test_data): Likewise.
10413         (asin_towardzero_test_data): Likewise.
10414         (asin_upward_test_data): Likewise.
10415         (asinh_test_data): Likewise.
10416         (atan_test_data): Likewise.
10417         (atanh_test_data): Likewise.
10418         (cbrt_test_data): Likewise.
10419         (cos_test_data): Likewise.
10420         (cos_tonearest_test_data): Likewise.
10421         (cos_towardzero_test_data): Likewise.
10422         (cos_downward_test_data): Likewise.
10423         (cos_upward_test_data): Likewise.
10424         (cosh_test_data): Likewise.
10425         (cosh_tonearest_test_data): Likewise.
10426         (cosh_towardzero_test_data): Likewise.
10427         (cosh_downward_test_data): Likewise.
10428         (cosh_upward_test_data): Likewise.
10429         * sysdeps/i386/fpu/libm-test-ulps: Update.
10430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10432 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10434         [BZ #6787]
10435         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10436         * math/w_exp10f.c (__exp10f): Likewise.
10437         * math/w_exp10l.c (__exp10l): Likewise.
10438         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10439         errno settings in existing tests.
10441         [BZ #14032]
10442         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10443         precision control set to double precision.
10444         * sysdeps/i386/fpu/w_sqrt.c: New file.
10445         * math/auto-libm-test-in: Add more tests.
10446         * math/auto-libm-test-out: Update.
10448         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10449         (sqrt_test_tonearest): New function.
10450         (sqrt_towardzero_test_data): New variable.
10451         (sqrt_test_towardzero): New function.
10452         (sqrt_downward_test_data): New variable.
10453         (sqrt_test_downward): New function.
10454         (sqrt_upward_test_data): New variable.
10455         (sqrt_test_upward): New function.
10456         (main): Call the new functions.
10458         * math/gen-auto-libm-tests.c: New file.
10459         * math/auto-libm-test-in: Likewise.
10460         * math/auto-libm-test-out: New generated file.
10461         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10462         variables.
10463         (%beautify): Add generated representations of zero.
10464         (top level): Set $auto_input and call parse_auto_input.
10465         (beautify): Remove trailing "f" from hex float constants.
10466         (parse_args): Handle XFAIL_TEST.
10467         (convert_condition): New function.
10468         (or_value): Likewise.
10469         (or_cond_value): Likewise.
10470         (generate_testfile): Handle AUTO_TESTS_* lines.
10471         (parse_auto_input): New function.
10472         * math/libm-test.inc (XFAIL_TEST): New macro.
10473         (ERRNO_UNCHANGED): Update value.
10474         (ERRNO_EDOM): Likewise.
10475         (ERRNO_ERANGE): Likewise.
10476         (IGNORE_RESULT): Likewise.
10477         (TEST_COND_flt_32): New macro.
10478         (TEST_COND_dbl_64): Likewise.
10479         (TEST_COND_ldbl_96_intel): Likewise.
10480         (TEST_COND_ldbl_96_m68k): Likewise.
10481         (TEST_COND_ldbl_128): Likewise.
10482         (TEST_COND_ldbl_128ibm): Likewise.
10483         (TEST_COND_long32): Likewise.
10484         (TEST_COND_long64): Likewise.
10485         (TEST_COND_before_rounding): Likewise.
10486         (TEST_COND_after_rounding): Likewise.
10487         (enable_test): Handle XFAIL_TEST flag.
10488         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10489         with finite results.
10490         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10491         auto-libm-test-out.
10493 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10494             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10496         [BZ #16214]
10497         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10498         __tls_get_addr_internal instead of __tls_get_offset in order to
10499         avoid GOT pointer dependency.  Make rtld export
10500         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10501         __tls_get_addr since we are a __tls_get_offset platform.
10502         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10503         GOT pointer being set up before.
10504         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10506 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10508         * manual/math.texi (Errors in Math Functions): Document accuracy
10509         goals.
10511         [BZ #15004]
10512         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10513         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10519         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10521         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10522         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10523         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10524         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10525         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10526         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10527         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10529         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10530         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10531         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10532         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10533         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10534         Likewise.
10535         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10536         Likewise.
10537         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10538         Likewise.
10539         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10540         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10541         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10542         atomic-feupdateenv and flt-rounds.
10543         * sysdeps/powerpc/nofpu/Versions (libc): Add
10544         __atomic_feholdexcept, __atomic_feclearexcept,
10545         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10546         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10547         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10548         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10549         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10550         here.
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10552         Update.
10554         * manual/arith.texi (FP Exceptions): Document that exceptions may
10555         not be raised when matherr is used.
10556         (Math Error Reporting): Document overflow in directed rounding
10557         modes.  Document that errno may not be set when finite values are
10558         returned on overflow.  Document intent to set errno on underflow
10559         only for underflow to zero.
10561         [BZ #16271]
10562         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10563         round-to-nearest then adjust result for other rounding modes.
10564         * include/fenv.h (fegetround): Use libm_hidden_proto.
10565         * math/fegetround.c (fegetround): Use libm_hidden_def.
10566         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10567         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10568         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10569         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10570         Likewise.
10571         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10573         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10574         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10576 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578         [BZ #16077]
10579         * nss/Versions (libnss_files): Add
10580         _nss_files_gethostbyname3_r.
10581         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10582         New function.
10583         (HOST_DB_LOOKUP): Remove macro.
10584         (_nss_files_gethostbyname_r): Implement function without the
10585         HOST_DB_LOOKUP macro.
10586         (_nss_files_gethostbyname2_r): Likewise.
10588 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10590         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10592 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10594         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10595         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10596         warning.
10598 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10600         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10601         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10602         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10603         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10604         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10605         __fe_nomask_env_priv and attribute_hidden.
10606         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10607         (libc_feupdateenv_test_ppc): Likewise.
10608         (libc_feresetround_ppc): Likewise.
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10610         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10611         compat_symbol macro.
10612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10613         (__fe_nomask_env): Likewise.
10614         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10616 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10618         * string/Makefile: Remove ifunc tests.
10619         * string/test-string.h: Define TEST_IFUNC.
10620         * string/test-bcopy-ifunc.c: Remove.
10621         * string/test-bzero-ifunc.c: Likewise.
10622         * string/test-memccpy-ifunc.c: Likewise.
10623         * string/test-memchr-ifunc.c: Likewise.
10624         * string/test-memcmp-ifunc.c: Likewise.
10625         * string/test-memcpy-ifunc.c: Likewise.
10626         * string/test-memmem-ifunc.c: Likewise.
10627         * string/test-memmove-ifunc.c: Likewise.
10628         * string/test-mempcpy-ifunc.c: Likewise.
10629         * string/test-memrchr-ifunc.c: Likewise.
10630         * string/test-memset-ifunc.c: Likewise.
10631         * string/test-rawmemchr-ifunc.c: Likewise.
10632         * string/test-stpcpy-ifunc.c: Likewise.
10633         * string/test-stpncpy-ifunc.c: Likewise.
10634         * string/test-strcasecmp-ifunc.c: Likewise.
10635         * string/test-strcasestr-ifunc.c: Likewise.
10636         * string/test-strcat-ifunc.c: Likewise.
10637         * string/test-strchr-ifunc.c: Likewise.
10638         * string/test-strchrnul-ifunc.c: Likewise.
10639         * string/test-strcmp-ifunc.c: Likewise.
10640         * string/test-strcpy-ifunc.c: Likewise.
10641         * string/test-strcspn-ifunc.c: Likewise.
10642         * string/test-strlen-ifunc.c: Likewise.
10643         * string/test-strncasecmp-ifunc.c: Likewise.
10644         * string/test-strncat-ifunc.c: Likewise.
10645         * string/test-strncmp-ifunc.c: Likewise.
10646         * string/test-strncpy-ifunc.c: Likewise.
10647         * string/test-strnlen-ifunc.c: Likewise.
10648         * string/test-strpbrk-ifunc.c: Likewise.
10649         * string/test-strrchr-ifunc.c: Likewise.
10650         * string/test-strspn-ifunc.c: Likewise.
10651         * string/test-strstr-ifunc.c: Likewise.
10653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10655         * benchtests/Makefile: Remove ifunc tests.
10656         * benchtests/bench-string.h: Define TEST_IFUNC.
10657         * benchtests/bench-bcopy-ifunc.c: Remove.
10658         * benchtests/bench-bzero-ifunc.c: Likewise.
10659         * benchtests/bench-memccpy-ifunc.c: Likewise.
10660         * benchtests/bench-memchr-ifunc.c: Likewise.
10661         * benchtests/bench-memcmp-ifunc.c: Likewise.
10662         * benchtests/bench-memcpy-ifunc.c: Likewise.
10663         * benchtests/bench-memmem-ifunc.c: Likewise.
10664         * benchtests/bench-memmove-ifunc.c: Likewise.
10665         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10666         * benchtests/bench-memrchr-ifunc.c: Likewise.
10667         * benchtests/bench-memset-ifunc.c: Likewise.
10668         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10669         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10670         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10671         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10672         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10673         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10674         * benchtests/bench-strcat-ifunc.c: Likewise.
10675         * benchtests/bench-strchr-ifunc.c: Likewise.
10676         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10677         * benchtests/bench-strcmp-ifunc.c: Likewise.
10678         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10679         * benchtests/bench-strcpy-ifunc.c: Likewise.
10680         * benchtests/bench-strcspn-ifunc.c: Likewise.
10681         * benchtests/bench-strlen-ifunc.c: Likewise.
10682         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10683         * benchtests/bench-strncat-ifunc.c: Likewise.
10684         * benchtests/bench-strncmp-ifunc.c: Likewise.
10685         * benchtests/bench-strncpy-ifunc.c: Likewise.
10686         * benchtests/bench-strnlen-ifunc.c: Likewise.
10687         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10688         * benchtests/bench-strrchr-ifunc.c: Likewise.
10689         * benchtests/bench-strsep-ifunc.c: Likewise.
10690         * benchtests/bench-strspn-ifunc.c: Likewise.
10691         * benchtests/bench-strstr-ifunc.c: Likewise.
10693 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10695         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10697 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10699         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10700         * rt/aio.h: Likewise.
10701         * sysdeps/gnu/bits/utmp.h: Likewise.
10702         * sysdeps/gnu/bits/utmpx.h: Likewise.
10703         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10704         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10705         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10706         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10707         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10708         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10709         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10710         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10711         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10712         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10714         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10715         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10718         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10719         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10720         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10721         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10722         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10723         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10724         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10725         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10726         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10727         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10729         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10730         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10731         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10732         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10733         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10734         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10735         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10736         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10737         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10738         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10739         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10740         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10741         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10742         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10743         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10744         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10746 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10748         [BZ #16245]
10749         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10750         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10752 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10754         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10756         Likewise.
10758 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10761         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10762         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10763         (__fesetround): Remove define.
10764         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10765         rounding and exceptions handling.
10766         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10767         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10768         (__fe_nomask_env): Likewise.
10769         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10770         __fegetround instead of fegetround.
10771         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10772         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10774 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10776         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10777         it's there.
10779         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10781 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10783         [BZ #11157]
10784         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10785         (encrypt_r): Likewise.
10786         * malloc/obstack.h (obstack_free): Likewise.
10787         * posix/unistd.h (encrypt): Likewise.
10789 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10791         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10792         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10793         DL_CALL_DT_FINI() that call the functions directly.
10794         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10795         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10796         * elf/dl-fini.c: Likewise.
10798 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10800         * malloc/hooks.c (memalign_check): Add alignment rounding.
10801         * malloc/malloc.c (_mid_memalign): New function.
10802         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10803         Implement by calling _mid_memalign.
10804         * manual/probes.texi (Memory Allocation Probes): Remove
10805         memory_valloc_retry and memory_pvalloc_retry.
10807 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10809         * locale/programs/locarchive.c (open_archive): Add const
10810         qualifier to ARCHIVEFNAME and copy default fname to
10811         DEFAULT_FNAME.
10813         [BZ #15601]
10814         * libio/tst-widetext.input: Rename Oriya to Odia.
10815         * locale/iso-639.def: Likewise.
10817         * manual/probes.texi (Mathematical Function Probes): Add
10818         documentation for sin, cos, asin and acos probes.
10819         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10820         (__sin32): Add slowasin probe.
10821         (__cos32): Add slowacos probe.
10822         (__mpsin): Add slowsin probe.
10823         (__mpcos): Add slowcos probe.
10825 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10827         [BZ #15483]
10828         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10829         thread-local __sim_exceptions_thread and global
10830         __sim_exceptions_global.
10831         (__sim_disabled_exceptions): Change to thread-local
10832         __sim_disabled_exceptions_thread and global
10833         __sim_disabled_exceptions_global.
10834         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10835         and global __sim_round_mode_global.
10836         (__simulate_exceptions): Use thread-local floating-point state and
10837         set global state from it as needed.
10838         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10839         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10840         __sim_round_mode_thread.
10841         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10842         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10843         and global __sim_exceptions_global.
10844         (__sim_disabled_exceptions): Change to thread-local
10845         __sim_disabled_exceptions_thread and global
10846         __sim_disabled_exceptions_global.
10847         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10848         and global __sim_round_mode_global.
10849         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10850         (SIM_SET_GLOBAL): Likewise.
10851         * sysdeps/powerpc/soft-fp/sfp-machine.h
10852         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10853         __sim_round_mode_thread.
10854         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10855         __sim_disabled_exceptions_thread.
10856         (__sim_exceptions): Change to __sim_exceptions_thread.
10857         (__sim_disabled_exceptions): Change to
10858         __sim_disabled_exceptions_thread.
10859         (__sim_round_mode): Change to __sim_round_mode_thread.
10860         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10861         thread-local floating-point state and set global state from it as
10862         needed.
10863         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10864         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10865         (__sim_disabled_exceptions): Remove extern declaration.
10866         (feenableexcept): Use thread-local floating-point state and set
10867         global state from it as needed.
10868         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10869         extern declaration.
10870         (__sim_disabled_exceptions): Likewise.
10871         (__sim_round_mode): Likewise.
10872         (__fegetenv): Use thread-local floating-point state.
10873         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10874         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10875         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10876         floating-point state and set global state from it as needed.
10877         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10878         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10879         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10880         Likewise.
10881         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10882         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10883         Likewise.
10884         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10885         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10886         Use __sim_round_mode_thread.
10887         * math/test-fenv-tls.c: New file.
10888         * math/Makefile (tests): Add test-fenv-tls.
10889         ($(objpfx)test-fenv-tls): Depend on
10890         $(common-objpfx)nptl/libpthread.so.
10892 2013-11-19  Andreas Schwab  <schwab@suse.de>
10894         * locale/programs/locale.c (show_info): Decode wordarray elements.
10895         * locale/categories.def (LC_MONETARY): Add element for
10896         _NL_MONETARY_CRNCYSTR.
10897         * locale/C-monetary.c (conversion_rate): New variable.
10898         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10899         element.
10901 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10903         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10904         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10906 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10908         * elf/Makefile (tst-auxv): New test.
10909         * elf/tst-auxv.c: New
10910         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10912 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10914         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10915         (hidden_proto): Caller changed.
10916         (hidden_tls_proto): New macro.
10917         (libc_hidden_tls_proto): Likewise.
10918         (rtld_hidden_tls_proto): Likewise.
10919         (libm_hidden_tls_proto): Likewise.
10920         (libresolv_hidden_tls_proto): Likewise.
10921         (librt_hidden_tls_proto): Likewise.
10922         (libdl_hidden_tls_proto): Likewise.
10923         (libnss_files_hidden_tls_proto): Likewise.
10924         (libnsl_hidden_tls_proto): Likewise.
10925         (libnss_nisplus_hidden_tls_proto): Likewise.
10926         (libutil_hidden_tls_proto): Likewise.
10928 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10930         [BZ #10253]
10931         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10932         (decompose_rpath): Defer expansion to fillin_rpath.
10933         (_dl_init_paths): Pass linkmap to fillin_rpath.
10935 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10937         * benchtests/Makefile: Add strsep.
10938         * benchtests/bench-strsep.c: New file: strsep benchtest.
10939         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10941 2013-11-18  Andreas Schwab  <schwab@suse.de>
10943         * locale/programs/locale.c (show_info) [case byte]: Check for
10944         '\377' instead of '\177'.
10945         * locale/C-monetary.c (not_available): Always use "\377".
10946         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10947         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10948         detect unavailable sign_posn locale elements.
10949         * locale/localeconv.c (__localeconv): For grouping and
10950         mon_grouping handle "\177" and "\377" like no grouping.
10951         (INT_ELEM): New macro.  Use it to set all numeric members.
10952         * locale/programs/ld-monetary.c (monetary_read)
10953         <tok_mon_grouping>: Normalize single -1 to the empty string.
10954         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10955         Likewise.
10957 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10959         [BZ #16055]
10960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10961         when we match (nil).
10962         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10964 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10966         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10967         (NO_TEST_INLINE): Update value.
10968         (ERRNO_UNCHANGED): Likewise.
10969         (ERRNO_EDOM): Likewise.
10970         (ERRNO_ERANGE): Likewise.
10971         (IGNORE_RESULT): Likewise.
10972         (check_float_internal): Check signs of NaN results if
10973         TEST_NAN_SIGN used.
10974         (check_complex): Pass TEST_NAN_SIGN flag through to second
10975         check_float_internal call.
10976         (copysign_test_data): Add tests with quiet NaNs as second
10977         argument.  Use TEST_NAN_SIGN.
10978         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10979         TEST_NAN_SIGN.
10980         (signbit_test_data): Add tests of quiet NaN argument.
10981         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10983         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10984         $ignore_result.
10985         (parse_args): Handle function results specified as IGNORE.
10986         * math/libm-test.inc (IGNORE_RESULT): New macro.
10987         (check_float_internal): Do not check numerical result if flag
10988         IGNORE_RESULT set.
10989         (check_complex): Pass through IGNORE_RESULT to second
10990         check_float_internal call.
10991         (check_int): Do not check numerical result if flag IGNORE_RESULT
10992         set.
10993         (check_long): Likewise.
10994         (check_bool): Likewise.
10995         (check_longlong): Likewise.
10996         (lrint_test_data): Add tests of infinite and NaN arguments.
10997         (lrint_tonearest_test_data): Likewise.
10998         (lrint_towardzero_test_data): Likewise.
10999         (lrint_downward_test_data): Likewise.
11000         (lrint_upward_test_data): Likewise.
11001         (llrint_test_data): Likewise.
11002         (llrint_tonearest_test_data): Likewise.
11003         (llrint_towardzero_test_data): Likewise.
11004         (llrint_downward_test_data): Likewise.
11005         (llrint_upward_test_data): Likewise.
11006         (lround_test_data): Likewise.
11007         (llround_test_data): Likewise.
11009         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11010         (ERRNO_UNCHANGED): Update value.
11011         (ERRNO_EDOM): Likewise.
11012         (ERRNO_ERANGE): Likewise.
11013         (NO_TEST_INLINE_FLOAT): New macro.
11014         (NO_TEST_INLINE_DOUBLE): Likewise.
11015         (enable_test): New function.
11016         (RUN_TEST_f_f): Check enable_test before running test.
11017         (RUN_TEST_2_f): Likewise.
11018         (RUN_TEST_fff_f): Likewise.
11019         (RUN_TEST_c_f): Likewise.
11020         (RUN_TEST_f_f1): Likewise.
11021         (RUN_TEST_fF_f1): Likewise.
11022         (RUN_TEST_fI_f1): Likewise.
11023         (RUN_TEST_ffI_f1): Likewise.
11024         (RUN_TEST_c_c): Likewise.
11025         (RUN_TEST_cc_c): Likewise.
11026         (RUN_TEST_f_i): Likewise.
11027         (RUN_TEST_f_i_tg): Likewise.
11028         (RUN_TEST_ff_i_tg): Likewise.
11029         (RUN_TEST_f_b): Likewise.
11030         (RUN_TEST_f_b_tg): Likewise.
11031         (RUN_TEST_f_l): Likewise.
11032         (RUN_TEST_f_L): Likewise.
11033         (RUN_TEST_fFF_11): Likewise.
11034         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11035         conditionals.
11036         (cosh_test_data): Likewise.
11037         (exp_test_data): Likewise.
11038         (expm1_test_data): Likewise.
11039         (hypot_test_data): Likewise.
11040         (pow_test_data): Likewise.
11041         (sinh_test_data): Likewise.
11042         (tanh_test_data): Likewise.
11043         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11044         flags argument.
11046         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11047         tests with quiet NaN input and output.
11048         (acosh_test_data): Likewise.
11049         (asin_test_data): Likewise.
11050         (asinh_test_data): Likewise.
11051         (atan_test_data): Likewise.
11052         (atanh_test_data): Likewise.
11053         (atan2_test_data): Likewise.
11054         (cbrt_test_data): Likewise.
11055         (cos_test_data): Likewise.
11056         (cosh_test_data): Likewise.
11057         (erf_test_data): Likewise.
11058         (erfc_test_data): Likewise.
11059         (exp_test_data): Likewise.
11060         (exp10_test_data): Likewise.
11061         (exp2_test_data): Likewise.
11062         (expm1_test_data): Likewise.
11063         (hypot_test_data): Likewise.
11064         (j0_test_data): Likewise.
11065         (j1_test_data): Likewise.
11066         (jn_test_data): Likewise.
11067         (lgamma_test_data): Likewise.
11068         (log_test_data): Likewise.
11069         (log10_test_data): Likewise.
11070         (log1p_test_data): Likewise.
11071         (log2_test_data): Likewise.
11072         (pow_test_data): Likewise.
11073         (scalb_test_data): Likewise.
11074         (sin_test_data): Likewise.
11075         (sincos_test_data): Likewise.
11076         (sinh_test_data): Likewise.
11077         (tan_test_data): Likewise.
11078         (tanh_test_data): Likewise.
11079         (tgamma_test_data): Likewise.
11080         (y0_test_data): Likewise.
11081         (y1_test_data): Likewise.
11082         (yn_test_data): Likewise.
11084         [BZ #16167]
11085         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11086         argument being NaN and avoid computations with second argument in
11087         that case.
11088         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11089         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11090         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11092 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11094         * locale/iso-639.def: Add Chitwani Tharu (the).
11096 2013-11-14  Andreas Schwab  <schwab@suse.de>
11098         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11099         word instead of empty string.
11101 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11104         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11106         (__fe_nomask_env): Likewise.
11108 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11110         * benchtests/bench-timing.h: Include time.h.
11112 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11114         [BZ #15997]
11115         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11116         to 3.4.0 for x32.
11117         * sysdeps/unix/sysv/linux/configure: Regenerated.
11119 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11121         [BZ #16151]
11122         * stdlib/strtod_l.c (round_and_return): Do not consider
11123         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11124         exponent one less than half the least subnormal exponent.
11125         * stdlib/test-strtod-round-data: Add more tests.
11126         * stdlib/tst-strtod-round.c (tests): Regenerated.
11128 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11130         [BZ #14143]
11131         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11132         (__fe_mask_env): Likewise.
11133         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11134         libm_hidden_proto and add function prototype.
11135         (__fe_mask_env): Add function prototype.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11137         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11139         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11141         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11143 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11145         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11146         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11148 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11150         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11151         of htab_find_slot().
11153 2013-11-11  David S. Miller  <davem@davemloft.net>
11155         [BZ #16150]
11156         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11157         symbol in the non-vis3 case in static builds.
11158         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11159         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11160         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11161         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11163 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11165         [BZ #387]
11166         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11167         it is empty.
11169 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11171         * benchtests/Makefile: Add bench-strtod.
11172         * benchtests/bench-strtod.c: New file: strtod benchtest
11174 2013-11-11  Andreas Schwab  <schwab@suse.de>
11176         [BZ #16153]
11177         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11178         terminating NUL in key length.
11180 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11182         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11183         Add artificial ODP entry for vDSO symbol for PPC64.
11184         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11185         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11187 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11189         [BZ #15374]
11190         * nss/getent.c (services_keys): Recognize services starting with digit.
11192 2013-11-06  David S. Miller  <davem@davemloft.net>
11194         [BZ #15985]
11195         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11196         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11198 2013-11-06  Will Newton  <will.newton@linaro.org>
11200         * manual/memory.texi (Malloc Examples): Remove register
11201         keyword from examples.
11203 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11205         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11207 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11209         [BZ #6981]
11210         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11211         depending on [__GCC_IEC_559 > 0].
11212         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11213         depending on [__GCC_IEC_559_COMPLEX > 0].
11215 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11217         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11218         to iso-639.def.
11220 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11222         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11224 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11226         [BZ #16112]
11227         * malloc/malloc (malloc_info): Do not handle first bin as
11228         special case.
11230 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11232         * locale/iso-639.def: Add Central Nahuatl (nhn).
11234 2013-11-01  Bruno Haible  <bruno@clisp.org>
11236         [BZ #7003]
11237         * manual/math.texi (BSD Random): Specify range upper bound as
11238         in POSIX.
11240 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11242         * locale/iso-639.def: Add Meadow Mari (mhr).
11244 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11246         [BZ #14752], [BZ #15763]
11247         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11248         Validate name.
11249         * rt/tst_shm.c: Add test for escaping directory.
11251 2013-10-31  Andreas Schwab  <schwab@suse.de>
11253         [BZ #15917]
11254         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11255         followed by 'x' as part of digit sequence.
11256         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11258 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11260         [BZ #16037]
11261         * configure.ac: allow GNU Make 4.0 and greater.
11262         * configure: Regenerated.
11264 2013-10-30  Will Newton  <will.newton@linaro.org>
11266         [BZ #16038]
11267         * malloc/hooks.c (memalign_check): Limit alignment to the
11268         maximum representable power of two.
11269         * malloc/malloc.c (__libc_memalign): Likewise.
11270         * malloc/tst-memalign.c (do_test): Add test for very
11271         large alignment values.
11272         * malloc/tst-posix_memalign.c (do_test): Likewise.
11274 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11276         [BZ #11087]
11277         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11278         (munmap_chunk): Likewise.
11279         (mremap_chunk): Likewise.
11281 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11283         [BZ #15799]
11284         * stdlib/div.c (div): Remove obsolete code.
11285         * stdlib/ldiv.c (ldiv): Likewise.
11286         * stdlib/lldiv.c (lldiv): Likewise.
11288 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290         [BZ #16071]
11291         * nss/nss_files/files-XXX.c (get_contents_ret): New
11292         enumerator.
11293         (get_contents): New function.
11294         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11296 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11298         * configure.in: Moved to ...
11299         * configure.ac: ... here. Change reference to configure.in
11300         to configure.ac.
11301         * sysdeps/arm/preconfigure.ac: ... here.
11302         configure.in to configure.ac.
11303         * sysdeps/gnu/configure.in: Moved to ...
11304         * sysdeps/gnu/configure.ac: ... here.
11305         * sysdeps/i386/configure.in: Moved to ...
11306         * sysdeps/i386/configure.ac: ... here.
11307         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11308         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11309         * sysdeps/mach/configure.in: Moved to ...
11310         * sysdeps/mach/configure.ac: ... here.
11311         * sysdeps/mach/hurd/configure.in: Moved to ...
11312         * sysdeps/mach/hurd/configure.ac: ... here.
11313         * sysdeps/powerpc/configure.in: Moved to ...
11314         * sysdeps/powerpc/configure.ac: ... here.
11315         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11316         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11317         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11318         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11319         * sysdeps/s390/s390-32/configure.in: Moved to ...
11320         * sysdeps/s390/s390-32/configure.ac: ... here.
11321         * sysdeps/s390/s390-64/configure.in: Moved to ...
11322         * sysdeps/s390/s390-64/configure.ac: ... here.
11323         * sysdeps/sh/configure.in: Moved to ...
11324         * sysdeps/sh/configure.ac: ... here.
11325         * sysdeps/sparc/configure.in: Moved to ...
11326         * sysdeps/sparc/configure.ac: ... here.
11327         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11328         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11329         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11330         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11331         * sysdeps/x86_64/configure.in: Moved to ...
11332         * sysdeps/x86_64/configure.ac: ... here.
11333         * sysdeps/x86_64/preconfigure.in: Moved to ...
11334         * sysdeps/x86_64/preconfigure.ac: ... here.
11335         * aclocal.m4: Change reference to configure.in to configure.ac.
11336         * config.h.in: Likewise.
11337         * manual/install.texi: Likewise.
11338         * manual/maint.texi: Likewise.
11339         * Makefile: Likewise.
11340         * malloc/Makefile: Likewise.
11341         * nscd/Makefile: Likewise.
11342         * Makeconfig: Change reference to configure.in and
11343         preconfigure.in to configure.ac and preconfigure.ac
11344         respectively.
11345         * INSTALL: Regenerated.
11346         * configure: Likewise.
11347         * sysdeps/gnu/configure: Likewise.
11348         * sysdeps/i386/configure: Likewise.
11349         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11350         * sysdeps/mach/configure: Likewise.
11351         * sysdeps/mach/hurd/configure: Likewise.
11352         * sysdeps/powerpc/configure: Likewise.
11353         * sysdeps/powerpc/powerpc32/configure: Likewise.
11354         * sysdeps/powerpc/powerpc64/configure: Likewise.
11355         * sysdeps/s390/s390-32/configure: Likewise.
11356         * sysdeps/s390/s390-64/configure: Likewise.
11357         * sysdeps/sh/configure: Likewise.
11358         * sysdeps/sparc/configure: Likewise.
11359         * sysdeps/unix/sysv/linux/configure: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11361         * sysdeps/x86_64/configure: Likewise.
11362         * sysdeps/x86_64/preconfigure: Likewise.
11364 2013-10-29  Andreas Schwab  <schwab@suse.de>
11366         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11368 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370         * benchtests/pow-inputs: Add new inputs.
11372         * benchtests/exp-inputs: Add new inputs.
11374         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11375         conditional check for return value.
11376         (__cos32): Likewise.
11378 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11380         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11381         to provide a boost for large inputs with word alignment.
11382         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11383         implementation based on optimized PPC64 strcpy.
11384         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11385         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11386         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11387         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11389 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11391         [BZ #2801]
11392         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11394 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11396         [BZ #14876]
11397         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11398         * time/tst-strptime.c (day_tests): Add testcase.
11400 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11402         [BZ #14029]
11403         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11405 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11407         [BZ #16074]
11408         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11409         MAP_FAILED on error.
11411 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11413         [BZ #16072]
11414         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11415         heap for large requests.
11417 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11419         [BZ #9954]
11420         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11421         result if the result has no associated interface.
11422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11423         interface for all 127.X.Y.Z addresses.
11425 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11427         * locale/iso-639.def: Add Ligurian (lij)
11429 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11431         [BZ #15825]
11432         * sunrpc/rpc_main.c: Document rpcgen -5.
11434 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11436         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11438 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11440         [BZ #10278]
11441         * posix/glob.c: Match only directories when trailing slash is present.
11442         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11443         (main): Add testcase.
11445 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11447         [BZ #15670]
11448         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11450 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11452         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11453         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11454         AUTH_DES and cindex for FIPS 140-2.
11455         (DES Encryption): Add cindex FIPS 46-3.
11457         * locale/locarchive.h (struct locarhandle): Add fname.
11458         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11459         if an optional argument was specified to --list-archive,
11460         otherwise NULL.
11461         * locale/programs/locarchive.c (show_archive_content): Take new
11462         argument fname and pass it via ah.fname to open_archive.
11463         * locale/programs/localedef.h: Update decl.
11464         (open_archive): If AH->fname is non-null, open that file
11465         rather than the default file name, and don't ignore ENOENT.
11466         (create_archive): Set AH.fname to NULL.
11467         (delete_locales_from_archive): Likewise.
11468         (add_locales_to_archive): Likewise.
11469         * locale/programs/locfile.c (write_all_categories): Likewise.
11471 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11472             Aldy Hernandez  <aldyh@redhat.com>
11474         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11475         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11476         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11477         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11478         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11480         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11481         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11482         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11483         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11484         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11485         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11486         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11487         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11488         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11489         Likewise.
11490         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11491         Likewise.
11492         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11493         Likewise.
11494         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11495         Likewise.
11496         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11497         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11498         Likewise.
11499         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11500         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11501         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11502         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11503         Likewise.
11504         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11505         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11506         * sysdeps/powerpc/preconfigure: Likewise.
11507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11508         Likewise.
11509         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11510         Replace contents of file by #include of <fenv_libc.h>.
11511         * sysdeps/powerpc/soft-fp/sfp-machine.h
11512         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11513         and <sys/prctl.h>.
11514         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11525         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11527         Allow copysignl PLT reference to be missing.
11529 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11530             Joseph Myers  <joseph@codesourcery.com
11532         [BZ #15948]
11533         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11534         single character.
11535         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11537 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11539         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11540         * elf/tst-tls1.c: Likewise.
11541         * elf/tst-tls10.h: Likewise.
11542         * elf/tst-tls14.c: Likewise.
11543         * elf/tst-tls2.c: Likewise.
11544         * elf/tst-tls3.c: Likewise.
11545         * elf/tst-tls4.c: Likewise.
11546         * elf/tst-tls5.c: Likewise.
11547         * elf/tst-tls6.c: Likewise.
11548         * elf/tst-tls7.c: Likewise.
11549         * elf/tst-tls8.c: Likewise.
11550         * elf/tst-tls9.c: Likewise.
11551         * elf/tst-tlsmod1.c: Likewise.
11552         * elf/tst-tlsmod13.c: Likewise.
11553         * elf/tst-tlsmod13a.c: Likewise.
11554         * elf/tst-tlsmod14a.c: Likewise.
11555         * elf/tst-tlsmod16a.c: Likewise.
11556         * elf/tst-tlsmod16b.c: Likewise.
11557         * elf/tst-tlsmod2.c: Likewise.
11558         * elf/tst-tlsmod3.c: Likewise.
11559         * elf/tst-tlsmod4.c: Likewise.
11560         * elf/tst-tlsmod5.c: Likewise.
11561         * elf/tst-tlsmod6.c: Likewise.
11563 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11565         [BZ #12486]
11566         * malloc/malloc.c: remove checks for statistics.
11568 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11570         [BZ #15277]
11571         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11572         * inet/tst-network.c: Add testcase.
11574 2013-10-17  Andreas Schwab  <schwab@suse.de>
11576         [BZ #15218]
11577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11578         to determine canonical name.
11580 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11582         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11583         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11586         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11587         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11588         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11589         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11590         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11591         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11592         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11596         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11597         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11599         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11600         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11601         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11602         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11605         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11606         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11608         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11609         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11610         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11611         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11612         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11613         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11614         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11615         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11616         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11619         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11620         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11622         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11623         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11624         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11625         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11626         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11627         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11628         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11629         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11630         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11631         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11632         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11633         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11635         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11636         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11637         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11639         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11641 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11643         [BZ #16041]
11644         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11645         make result into a quiet NaN.
11647 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11649         * soft-fp/adddf3.c: Fix horizontal whitespace.
11650         * soft-fp/addsf3.c: Likewise.
11651         * soft-fp/addtf3.c: Likewise.
11652         * soft-fp/divdf3.c: Likewise.
11653         * soft-fp/divsf3.c: Likewise.
11654         * soft-fp/divtf3.c: Likewise.
11655         * soft-fp/double.h: Likewise.
11656         * soft-fp/eqdf2.c: Likewise.
11657         * soft-fp/eqsf2.c: Likewise.
11658         * soft-fp/eqtf2.c: Likewise.
11659         * soft-fp/extenddftf2.c: Likewise.
11660         * soft-fp/extended.h: Likewise.
11661         * soft-fp/extendsfdf2.c: Likewise.
11662         * soft-fp/extendsftf2.c: Likewise.
11663         * soft-fp/extendxftf2.c: Likewise.
11664         * soft-fp/fixdfdi.c: Likewise.
11665         * soft-fp/fixdfsi.c: Likewise.
11666         * soft-fp/fixdfti.c: Likewise.
11667         * soft-fp/fixsfdi.c: Likewise.
11668         * soft-fp/fixsfsi.c: Likewise.
11669         * soft-fp/fixsfti.c: Likewise.
11670         * soft-fp/fixtfdi.c: Likewise.
11671         * soft-fp/fixtfsi.c: Likewise.
11672         * soft-fp/fixtfti.c: Likewise.
11673         * soft-fp/fixunsdfdi.c: Likewise.
11674         * soft-fp/fixunsdfsi.c: Likewise.
11675         * soft-fp/fixunsdfti.c: Likewise.
11676         * soft-fp/fixunssfdi.c: Likewise.
11677         * soft-fp/fixunssfsi.c: Likewise.
11678         * soft-fp/fixunssfti.c: Likewise.
11679         * soft-fp/fixunstfdi.c: Likewise.
11680         * soft-fp/fixunstfsi.c: Likewise.
11681         * soft-fp/fixunstfti.c: Likewise.
11682         * soft-fp/floatdidf.c: Likewise.
11683         * soft-fp/floatdisf.c: Likewise.
11684         * soft-fp/floatditf.c: Likewise.
11685         * soft-fp/floatsidf.c: Likewise.
11686         * soft-fp/floatsisf.c: Likewise.
11687         * soft-fp/floatsitf.c: Likewise.
11688         * soft-fp/floattidf.c: Likewise.
11689         * soft-fp/floattisf.c: Likewise.
11690         * soft-fp/floattitf.c: Likewise.
11691         * soft-fp/floatundidf.c: Likewise.
11692         * soft-fp/floatundisf.c: Likewise.
11693         * soft-fp/floatunditf.c: Likewise.
11694         * soft-fp/floatunsidf.c: Likewise.
11695         * soft-fp/floatunsisf.c: Likewise.
11696         * soft-fp/floatunsitf.c: Likewise.
11697         * soft-fp/floatuntidf.c: Likewise.
11698         * soft-fp/floatuntisf.c: Likewise.
11699         * soft-fp/floatuntitf.c: Likewise.
11700         * soft-fp/fmadf4.c: Likewise.
11701         * soft-fp/fmasf4.c: Likewise.
11702         * soft-fp/fmatf4.c: Likewise.
11703         * soft-fp/gedf2.c: Likewise.
11704         * soft-fp/gesf2.c: Likewise.
11705         * soft-fp/getf2.c: Likewise.
11706         * soft-fp/ledf2.c: Likewise.
11707         * soft-fp/lesf2.c: Likewise.
11708         * soft-fp/letf2.c: Likewise.
11709         * soft-fp/muldf3.c: Likewise.
11710         * soft-fp/mulsf3.c: Likewise.
11711         * soft-fp/multf3.c: Likewise.
11712         * soft-fp/negdf2.c: Likewise.
11713         * soft-fp/negsf2.c: Likewise.
11714         * soft-fp/negtf2.c: Likewise.
11715         * soft-fp/op-1.h: Likewise.
11716         * soft-fp/op-2.h: Likewise.
11717         * soft-fp/op-4.h: Likewise.
11718         * soft-fp/op-8.h: Likewise.
11719         * soft-fp/op-common.h: Likewise.
11720         * soft-fp/quad.h: Likewise.
11721         * soft-fp/single.h: Likewise.
11722         * soft-fp/soft-fp.h: Likewise.
11723         * soft-fp/sqrtdf2.c: Likewise.
11724         * soft-fp/sqrtsf2.c: Likewise.
11725         * soft-fp/sqrttf2.c: Likewise.
11726         * soft-fp/subdf3.c: Likewise.
11727         * soft-fp/subsf3.c: Likewise.
11728         * soft-fp/subtf3.c: Likewise.
11729         * soft-fp/truncdfsf2.c: Likewise.
11730         * soft-fp/trunctfdf2.c: Likewise.
11731         * soft-fp/trunctfsf2.c: Likewise.
11732         * soft-fp/trunctfxf2.c: Likewise.
11733         * soft-fp/unorddf2.c: Likewise.
11734         * soft-fp/unordsf2.c: Likewise.
11735         * soft-fp/unordtf2.c: Likewise.
11737 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11739         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11740         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11742 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11744         * elf/dl-libc.c: Clear initfini list after freeing.
11746 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11748         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11749         * soft-fp/addsf3.c: Likewise.
11750         * soft-fp/addtf3.c: Likewise.
11751         * soft-fp/divdf3.c: Likewise.
11752         * soft-fp/divsf3.c: Likewise.
11753         * soft-fp/divtf3.c: Likewise.
11754         * soft-fp/double.h: Likewise.
11755         * soft-fp/eqdf2.c: Likewise.
11756         * soft-fp/eqsf2.c: Likewise.
11757         * soft-fp/eqtf2.c: Likewise.
11758         * soft-fp/extenddftf2.c: Likewise.
11759         * soft-fp/extended.h: Likewise.
11760         * soft-fp/extendsfdf2.c: Likewise.
11761         * soft-fp/extendsftf2.c: Likewise.
11762         * soft-fp/extendxftf2.c: Likewise.
11763         * soft-fp/fixdfdi.c: Likewise.
11764         * soft-fp/fixdfsi.c: Likewise.
11765         * soft-fp/fixdfti.c: Likewise.
11766         * soft-fp/fixsfdi.c: Likewise.
11767         * soft-fp/fixsfsi.c: Likewise.
11768         * soft-fp/fixsfti.c: Likewise.
11769         * soft-fp/fixtfdi.c: Likewise.
11770         * soft-fp/fixtfsi.c: Likewise.
11771         * soft-fp/fixtfti.c: Likewise.
11772         * soft-fp/fixunsdfdi.c: Likewise.
11773         * soft-fp/fixunsdfsi.c: Likewise.
11774         * soft-fp/fixunsdfti.c: Likewise.
11775         * soft-fp/fixunssfdi.c: Likewise.
11776         * soft-fp/fixunssfsi.c: Likewise.
11777         * soft-fp/fixunssfti.c: Likewise.
11778         * soft-fp/fixunstfdi.c: Likewise.
11779         * soft-fp/fixunstfsi.c: Likewise.
11780         * soft-fp/fixunstfti.c: Likewise.
11781         * soft-fp/floatdidf.c: Likewise.
11782         * soft-fp/floatdisf.c: Likewise.
11783         * soft-fp/floatditf.c: Likewise.
11784         * soft-fp/floatsidf.c: Likewise.
11785         * soft-fp/floatsisf.c: Likewise.
11786         * soft-fp/floatsitf.c: Likewise.
11787         * soft-fp/floattidf.c: Likewise.
11788         * soft-fp/floattisf.c: Likewise.
11789         * soft-fp/floattitf.c: Likewise.
11790         * soft-fp/floatundidf.c: Likewise.
11791         * soft-fp/floatundisf.c: Likewise.
11792         * soft-fp/floatunsidf.c: Likewise.
11793         * soft-fp/floatunsisf.c: Likewise.
11794         * soft-fp/floatuntidf.c: Likewise.
11795         * soft-fp/floatuntisf.c: Likewise.
11796         * soft-fp/floatuntitf.c: Likewise.
11797         * soft-fp/fmadf4.c: Likewise.
11798         * soft-fp/fmasf4.c: Likewise.
11799         * soft-fp/fmatf4.c: Likewise.
11800         * soft-fp/gedf2.c: Likewise.
11801         * soft-fp/gesf2.c: Likewise.
11802         * soft-fp/getf2.c: Likewise.
11803         * soft-fp/ledf2.c: Likewise.
11804         * soft-fp/lesf2.c: Likewise.
11805         * soft-fp/letf2.c: Likewise.
11806         * soft-fp/muldf3.c: Likewise.
11807         * soft-fp/mulsf3.c: Likewise.
11808         * soft-fp/multf3.c: Likewise.
11809         * soft-fp/negdf2.c: Likewise.
11810         * soft-fp/negsf2.c: Likewise.
11811         * soft-fp/negtf2.c: Likewise.
11812         * soft-fp/op-1.h: Likewise.
11813         * soft-fp/op-2.h: Likewise.
11814         * soft-fp/op-4.h: Likewise.
11815         * soft-fp/op-8.h: Likewise.
11816         * soft-fp/op-common.h: Likewise.
11817         * soft-fp/quad.h: Likewise.
11818         * soft-fp/single.h: Likewise.
11819         * soft-fp/soft-fp.h: Likewise.
11820         * soft-fp/sqrtdf2.c: Likewise.
11821         * soft-fp/sqrtsf2.c: Likewise.
11822         * soft-fp/sqrttf2.c: Likewise.
11823         * soft-fp/subdf3.c: Likewise.
11824         * soft-fp/subsf3.c: Likewise.
11825         * soft-fp/subtf3.c: Likewise.
11826         * soft-fp/truncdfsf2.c: Likewise.
11827         * soft-fp/trunctfdf2.c: Likewise.
11828         * soft-fp/trunctfsf2.c: Likewise.
11829         * soft-fp/trunctfxf2.c: Likewise.
11830         * soft-fp/unorddf2.c: Likewise.
11831         * soft-fp/unordsf2.c: Likewise.
11832         * soft-fp/unordtf2.c: Likewise.
11834 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11836         [BZ #15672]
11837         * misc/error.c (error_tail): Fix possible buffer overflow.
11839 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
11841         [BZ #13028]
11842         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11843         address.
11845 2013-10-14  P. J. McDermott  <pj@pehjota.net>
11847         [BZ #832]
11848         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
11849         testing pipefail option.
11851 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11853         * soft-fp/double.h: Indent preprocessor directives inside #if.
11854         * soft-fp/extended.h: Likewise.
11855         * soft-fp/op-2.h: Likewise.
11856         * soft-fp/op-4.h: Likewise.
11857         * soft-fp/op-common.h: Likewise.
11858         * soft-fp/quad.h: Likewise.
11859         * soft-fp/single.h: Likewise.
11860         * soft-fp/soft-fp.h: Likewise.
11862 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11864         * iconv/iconv_prog.c: Fix typos.
11865         * stdio-common/psiginfo-data.h: Likewise.
11867 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11869         [BZ #15764]
11870         * locale/setlocale.c: Fix typo.
11872 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11874         [BZ #16036]
11875         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11876         signaling NaN arguments.
11877         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11878         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11880         [BZ #14910]
11881         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11882         unordered operands.
11883         * soft-fp/gesf2.c (__gesf2): Likewise.
11884         * soft-fp/getf2.c (__getf2): Likewise.
11885         * soft-fp/ledf2.c (__ledf2): Likewise.
11886         * soft-fp/lesf2.c (__lesf2): Likewise.
11887         * soft-fp/letf2.c (__letf2): Likewise.
11889         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11890         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11891         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11892         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11893         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11894         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11895         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11896         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11897         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11898         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11899         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11900         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11901         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11902         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11903         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11904         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11905         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11906         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11907         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11908         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11909         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11910         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11911         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11912         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11913         * soft-fp/floattidf.c (__floattidf): Likewise.
11914         * soft-fp/floattisf.c (__floattisf): Likewise.
11915         * soft-fp/floattitf.c (__floattitf): Likewise.
11916         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11917         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11918         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11919         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11920         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11921         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11922         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11923         * soft-fp/gesf2.c (__gesf2): Likewise.
11924         * soft-fp/getf2.c (__getf2): Likewise.
11925         * soft-fp/ledf2.c (__ledf2): Likewise.
11926         * soft-fp/lesf2.c (__lesf2): Likewise.
11927         * soft-fp/letf2.c (__letf2): Likewise.
11929         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11930         Undefine and redefine.
11931         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11932         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11933         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11934         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11935         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11936         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11937         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11938         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11939         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11940         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11941         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11942         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11943         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11944         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11945         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11947         [BZ #16032]
11948         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11949         without decrementing exponent if mantissa >= that for the
11950         denominator, not >.
11951         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11952         denominator, not >.  Decrement exponent in < case instead of
11953         incrementing in >= case.
11954         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11955         without decrementing exponent if mantissa >= that for the
11956         denominator, not >.
11958         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11959         computing saturated result for unsigned overflow.
11961 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962             Jeff Law  <law@redhat.com>
11964         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11965         (atan2Mp): Add systemtap probe marker.
11966         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11967         (__ieee754_log): Add systemtap probe marker.
11968         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11969         (atanMp): Add systemtap probe marker.
11970         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11971         (tanMp): Add systemtap probe marker.
11972         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11973         (__slowexp): Add systemtap probe marker.
11974         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11975         (__slowpow): Add systemtap probe marker.
11976         * manual/probes.texi: Document probes.
11978 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11980         [BZ #15362]
11981         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11982         written.
11983         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11984         written.
11985         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11986         written to buffer but not flushed.
11987         * libio/iofwrite_u.c:  Likewise.
11988         * libio/iopadn.c:  Return bytes returned even if EOF was
11989         encountered.
11990         * libio/iowpadn.c:  Likewise.
11991         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11992         if _IO_padn does not write the whole buffer.
11993         [!COMPILE_WPRINTF] (PAD): Likewise.
11995 2013-10-10  David S. Miller  <davem@davemloft.net>
11997         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11998         directory block.
12000 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12002         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12003         instead of FSF address.
12004         * soft-fp/fixdfti.c: Likewise.
12005         * soft-fp/fixsfti.c: Likewise.
12006         * soft-fp/fixtfti.c: Likewise.
12007         * soft-fp/fixunsdfti.c: Likewise.
12008         * soft-fp/fixunssfti.c: Likewise.
12009         * soft-fp/fixunstfti.c: Likewise.
12010         * soft-fp/floattidf.c: Likewise.
12011         * soft-fp/floattisf.c: Likewise.
12012         * soft-fp/floattitf.c: Likewise.
12013         * soft-fp/floatuntidf.c: Likewise.
12014         * soft-fp/floatuntisf.c: Likewise.
12015         * soft-fp/floatuntitf.c: Likewise.
12016         * soft-fp/trunctfxf2.c: Likewise.
12018         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12019         * soft-fp/fixdfti.c: Likewise.
12020         * soft-fp/fixsfti.c: Likewise.
12021         * soft-fp/fixtfti.c: Likewise.
12022         * soft-fp/fixunsdfti.c: Likewise.
12023         * soft-fp/fixunssfti.c: Likewise.
12024         * soft-fp/fixunstfti.c: Likewise.
12025         * soft-fp/floattidf.c: Likewise.
12026         * soft-fp/floattisf.c: Likewise.
12027         * soft-fp/floattitf.c: Likewise.
12028         * soft-fp/floatuntidf.c: Likewise.
12029         * soft-fp/floatuntisf.c: Likewise.
12030         * soft-fp/floatuntitf.c: Likewise.
12031         * soft-fp/trunctfxf2.c: Likewise.
12033 2013-10-10  David S. Miller  <davem@davemloft.net>
12035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12037 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12039         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12040         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12041         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12042         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12043         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12044         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12045         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12048         for NaNs before doing comparisons on argument.
12049         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12050         Likewise.
12052 2013-10-10  Will Newton  <will.newton@linaro.org>
12054         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12055         passed to _int_memalign does not overflow.
12057 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12059         * scripts/bench.pl: Add include-sources directive.
12060         * benchtests/README: Update documentation.
12062 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12064         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12065         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12066         instead of FP_INIT_ROUNDMODE.
12067         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12068         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12070         [BZ #16034]
12071         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12072         copy class of input value.
12073         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12074         not handle exceptions.
12075         * soft-fp/negsf2.c (__negsf2): Likewise.
12076         * soft-fp/negtf2.c (__negtf2): Likewise.
12077         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12079 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12081         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12082         semicolon.  From Linux kernel.
12084 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12086         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12088 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12090         [BZ #156]
12091         * manual/socket.texi: Added statement about buffer
12092         for gethostbyname2_r.
12094 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12096         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12097         Use .p2align directive instead, throughout.
12098         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12099         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12100         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12102         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12103         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12104         * sysdeps/x86_64/strchr.S: Likewise.
12105         * sysdeps/x86_64/strrchr.S: Likewise.
12107 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12109         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12111         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12113         * sysdeps/generic/math_private.h (__mpsin1): Remove
12114         declaration.
12115         (__mpcos1): Likewise.
12116         (__mpsin): New argument __range_reduce.
12117         (__mpcos): Likewise.
12118         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12119         (slow): Use __mpsin and __mpcos.
12120         (slow1): Likewise.
12121         (slow2): Likewise.
12122         (sloww): Likewise.
12123         (sloww1): Likewise.
12124         (sloww2): Likewise.
12125         (bsloww): Likewise.
12126         (bsloww1): Likewise.
12127         (bsloww2): Likewise.
12128         (cslow2): Likewise.
12129         (csloww): Likewise.
12130         (csloww1): Likewise.
12131         (csloww2): Likewise.
12132         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12133         range_reduce.  Merge in __mpsin1.
12134         (__mpcos): Likewise.
12135         (__mpsin1): Remove.
12136         (__mpcos1): Likewise.
12138 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12140         * locale/loadlocale.c (_nl_intern_locale_data): Use
12141         LOCFILE_ALIGNED_P.
12142         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12143         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12144         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12145         obstack data is appropriately aligned.
12146         (obstack_int32_grow_fast): Likewise.
12147         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12148         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12149         (add_locale_uint32_array): Likewise.
12151 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12153         * benchtests/Makefile: Remove ARGLIST and RET variables.
12154         ($(objpfx)bench-%.c): Pass only function name to the script.
12155         * benchtests/README: Update documentation.
12156         * benchtests/acos-inputs: Add new directives.
12157         * benchtests/acosh-inputs: Likewise.
12158         * benchtests/asin-inputs: Likewise.
12159         * benchtests/asinh-inputs: Likewise.
12160         * benchtests/atan-inputs: Likewise.
12161         * benchtests/atanh-inputs: Likewise.
12162         * benchtests/cos-inputs: Likewise.
12163         * benchtests/cosh-inputs: Likewise.
12164         * benchtests/exp-inputs: Likewise.
12165         * benchtests/log-inputs: Likewise.
12166         * benchtests/pow-inputs: Likewise.
12167         * benchtests/rint-inputs: Likewise.
12168         * benchtests/sin-inputs: Likewise.
12169         * benchtests/sinh-inputs: Likewise.
12170         * benchtests/tan-inputs: Likewise.
12171         * benchtests/tanh-inputs: Likewise.
12172         * scripts/bench.pl: Add support for new directives.
12174 2013-10-07  Alan Modra  <amodra@gmail.com>
12176         * README: Fix careless merge.
12178 2013-10-05  Alan Modra  <amodra@gmail.com>
12180         * NEWS: Mention powerpc64le support and bugs fixed.
12181         * README: Both big-endian and little-endian powerpc64 supported.
12183 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12185         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12186         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12187         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12188         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12190 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12192         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12193         match prototype.
12195 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12197         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12198         Move -mhard-float appending from
12199         ports/sysdeps/powerpc/powerpc32/Makefile.
12200         [$(with-fp) = yes] (ASFLAGS): Likewise.
12201         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12202         * sysdeps/powerpc/nofpu: Move directory from
12203         ports/sysdeps/powerpc/nofpu.
12204         * sysdeps/powerpc/soft-fp: Move directory from
12205         ports/sysdeps/powerpc/soft-fp.
12206         * sysdeps/powerpc/powerpc32/405: Move directory from
12207         ports/sysdeps/powerpc/powerpc32/405.
12208         * sysdeps/powerpc/powerpc32/440: Move directory from
12209         ports/sysdeps/powerpc/powerpc32/440.
12210         * sysdeps/powerpc/powerpc32/464: Move directory from
12211         ports/sysdeps/powerpc/powerpc32/464.
12212         * sysdeps/powerpc/powerpc32/476: Move directory from
12213         ports/sysdeps/powerpc/powerpc32/476.
12214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12219         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12223         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12224         * README: Update for powerpc-*-linux-gnu software floating point
12225         support in libc.
12227         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12228         case to powerpc/powerpc32*.
12229         * sysdeps/unix/sysv/linux/configure: Regenerated.
12231         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12232         (_FPU_MASK_OM): Define as 0x04.
12233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12235         0x00c10080.
12236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12237         0x0000003c.
12238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12241         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12242         getcontext_e500.
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12244         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12245         setcontext_e500.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12247         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12248         and setcontext_e500.
12250 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12252         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12254 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12256         * manual/threads.texi (Default Thread Attributes): Fix typo.
12258 2013-10-04  Will Newton  <will.newton@linaro.org>
12260         * malloc/Makefile: Add tst-memalign.
12261         * malloc/tst-memalign.c: New file.
12263         * malloc/tst-posix_memalign.c: Add comments.
12264         (do_test): Add comments and call free on all potentially
12265         allocated pointers. Add space after cast.
12267         * malloc/tst-pvalloc.c: Add comments.
12268         (do_test): Add comments and call free on all potentially
12269         allocated pointers. Remove duplicate check for NULL pointer.
12270         Add space after cast.
12272         * malloc/tst-valloc.c: Add comments.
12273         (do_test): Add comments and call free on all potentially
12274         allocated pointers. Remove duplicate check for NULL pointer.
12275         Add space after cast.
12277 2013-10-04  Alan Modra  <amodra@gmail.com>
12279         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12280         Use stdint types in rather than __attribute__((mode())).
12281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12283 2013-10-04  Alan Modra  <amodra@gmail.com>
12285         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12286         Correct handling of unaligned relocs for little-endian.
12287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12289 2013-10-04  Alan Modra  <amodra@gmail.com>
12291         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12292         * configure: Regenerate.
12293         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12294         * shlib-versions: Likewise.
12296 2013-10-04  Alan Modra  <amodra@gmail.com>
12298         * string/tester.c (test_memrchr): Increment reported test cycle.
12300 2013-10-04  Alan Modra  <amodra@gmail.com>
12302         * string/test-memcpy.c (do_one_test): When reporting errors, print
12303         string address and don't overrun end of string.
12305 2013-10-04  Alan Modra  <amodra@gmail.com>
12307         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12308         insrdi.  Make better use of reg selection to speed exit slightly.
12309         Schedule entry path a little better.  Remove useless "are we done"
12310         checks on entry to main loop.  Handle wrapping around zero address.
12311         Correct main loop count.  Handle single left-over word from main
12312         loop inline rather than by using loop_small.  Remove extra word
12313         case in loop_small caused by wrong loop count.  Add little-endian
12314         support.
12315         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12316         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12317         cache hint.
12318         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12319         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12320         support.  Avoid rlwimi.
12321         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12323 2013-10-04  Alan Modra  <amodra@gmail.com>
12325         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12326         insrdi.  Formatting.
12327         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12328         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12329         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12330         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12331         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12332         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12334 2013-10-04  Alan Modra  <amodra@gmail.com>
12336         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12337         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12339         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12340         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12341         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12342         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12343         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12344         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12345         use of regs.  Use power7 mtocrf.  Tidy function tails.
12347 2013-10-04  Alan Modra  <amodra@gmail.com>
12349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12350         Formatting.  Consistently use rXXX register defines or rN defines.
12351         Use early exit labels that avoid restoring unused non-volatile regs.
12352         Make cr field use more consistent with rWORDn compares.  Rename
12353         regs used as shift registers for unaligned loop, using rN defines
12354         for short lifetime/multiple use regs.
12355         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12357         addi 1,1,64 to pop stack frame.  Simplify return value code.
12358         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12360 2013-10-04  Alan Modra  <amodra@gmail.com>
12362         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12363         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12364         rather than rlwimi.
12365         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12366         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12367         little-endian support.  Correct typos.
12368         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12369         rather than rlwimi.
12370         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12371         in loop and entry code to keep "and." results.
12372         (strchr): Add little-endian support.  Comment.  Move cntlzd
12373         earlier in tail.
12374         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12376 2013-10-04  Alan Modra  <amodra@gmail.com>
12378         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12379         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12380         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12381         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12383 2013-10-04  Alan Modra  <amodra@gmail.com>
12385         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12386         (rTMP): Define as r11.
12387         (strcmp): Add little-endian support.  Optimise tail.
12388         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12389         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12390         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12391         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12392         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12396 2013-10-04  Alan Modra  <amodra@gmail.com>
12398         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12399         little-endian support.  Remove unnecessary "are we done" tests.
12400         Handle "s" wrapping around zero and extremely large "size".
12401         Correct main loop count.  Handle single left-over word from main
12402         loop inline rather than by using small_loop.  Correct comments.
12403         Delete "zero" tail, use "end_max" instead.
12404         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12406 2013-10-04  Alan Modra  <amodra@gmail.com>
12408         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12409         support.  Don't branch over align.
12410         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12411         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12412         support.  Rearrange tmp reg use to suit.  Comment.
12413         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12415 2013-10-04  Alan Modra  <amodra@gmail.com>
12417         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12419 2013-10-04  Alan Modra  <amodra@gmail.com>
12421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12422         conditional form of branch and link when obtaining pc.
12423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12425 2013-10-04  Alan Modra  <amodra@gmail.com>
12427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12428         HIWORD/LOWORD.
12429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12432 2013-10-04  Alan Modra  <amodra@gmail.com>
12434         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12435         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12436         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12437         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12438         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12439         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12440         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12441         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12442         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12443         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12445 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12446             Alistair Popple <alistair@ozlabs.au.ibm.com>
12447             Alan Modra <amodra@gmail.com>
12449         [BZ #15723]
12450         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12451         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12452         _dl_hwcap access for little-endian.
12453         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12454         destroy vmx regs when saving unaligned.
12455         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12456         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12457         destroy vmx regs when saving unaligned.
12459 2013-10-04  Alan Modra  <amodra@gmail.com>
12461         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12462         Don't use a union to pack hi/low value.
12464 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12466         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12467         for little-endian.
12468         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12470         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12471         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12472         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12474 2013-10-04  Alan Modra  <amodra@gmail.com>
12476         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12477         constants to usual value for .cst8 section, and remove redundant
12478         high address load.
12479         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12480         constant for 0x1p52.  Load little-endian words of double from
12481         correct stack offsets.
12483 2013-10-04  Alan Modra  <amodra@gmail.com>
12485         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12486         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12487         words of double from correct stack offsets.
12488         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12489         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12490         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12491         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12492         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12493         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12494         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12495         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12496         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12498         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12499         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12500         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12501         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12502         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12503         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12504         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12506 2013-10-04  Alan Modra  <amodra@gmail.com>
12508         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12509         64-bit int/double union.
12510         (_FPU_SETCW): Likewise.
12511         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12512         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12514 2013-10-04  Alan Modra  <amodra@gmail.com>
12516         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12517         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12519 2013-10-04  Alan Modra  <amodra@gmail.com>
12521         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12522         use vector int constants.
12523         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12525 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12527         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12528         array with long long.
12529         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12530         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12531         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12532         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12533         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12534         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12535         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12536         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12537         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12538         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12539         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12540         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12541         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12543 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12545         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12546         (__signbit): Likewise.  Correct for little-endian.
12547         (__signbitl): Call __signbit.
12548         (lrint): Correct for little-endian.
12549         (lrintf): Call lrint.
12551 2013-10-04  Alan Modra  <amodra@gmail.com>
12553         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12554         union 32-bit int array member with 64-bit int array.
12555         (t515, tm256): Double rather than long double.
12556         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12558 2013-10-04  Alan Modra  <amodra@gmail.com>
12560         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12561         Delete.
12562         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12563         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12564         version of math_ldbl.h.
12566 2013-10-04  Alan Modra  <amodra@gmail.com>
12568         [BZ #15734], [BZ #15735]
12569         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12570         all uses of ieee875 long double macros and unions.  Simplify test
12571         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12572         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12573         normalize after ldbl_extract_mantissa, and don't add hidden bit
12574         already handled.  Don't treat low word of ieee854 mantissa like
12575         low word of IBM long double and mask off bit when testing for
12576         zero.
12577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12578         all uses of ieee875 long double macros and unions.  Simplify tests
12579         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12580         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12581         two1022, instead use their values.  Recognise that tests for large
12582         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12583         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12584         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12585         test for 0.0L and nan.  Correct negation.
12586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12587         ieee875 long double macros and unions.  Correct output for large
12588         magnitude x.  Correct absolute value calculation.
12589         (__erfcl): Likewise.
12590         * math/libm-test.inc: Add tests for errors discovered in IBM long
12591         double versions of fmodl, remainderl, erfl and erfcl.
12593 2013-10-04  Alan Modra  <amodra@gmail.com>
12595         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12596         all uses of ieee854 long double macros and unions.  Simplify tests
12597         for long doubles that are fully specified by the high double.
12598         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12599         Likewise.
12600         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12601         Remove dead code too.
12602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12603         (__ieee754_ynl): Likewise.
12604         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12605         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12606         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12607         Remove dead code too.
12608         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12609         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12611         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12612         Simplify.
12613         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12614         Simplify.
12615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12616         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12618         Comment on variable precision.
12619         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12620         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12621         Likewise.
12622         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12623         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12624         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12625         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12626         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12628 2013-10-04  Alan Modra  <amodra@gmail.com>
12630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12631         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12632         all uses of ieee854 long double macros and unions.
12633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12635         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12636         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12638         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12639         Likewise.
12640         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12641         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12642         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12643         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12644         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12645         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12646         Simplify sign and nan test too.
12647         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12649         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12650         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12651         Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12653         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12654         Likewise.
12655         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12656         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12657         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12658         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12659         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12662 2013-10-04  Alan Modra  <amodra@gmail.com>
12664         * stdio-common/printf_size.c (__printf_size): Don't use
12665         union ieee854_long_double in fpnum union.
12666         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12667         signbit macro to retrieve sign from long double.
12668         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12669         retrieve sign from long double.
12670         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12671         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12672         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12673         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12674         * math/test-misc.c (main): Don't use union ieee854_long_double.
12676 2013-10-04  Alan Modra  <amodra@gmail.com>
12678         [BZ #15680]
12679         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12680         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12681         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12682         calculation.  Remove unnecessary test for denormal exponent.
12683         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12684         Correct handling of denormals.  Avoid undefined shift behaviour.
12685         Correct normalisation of low mantissa when low double is denormal.
12686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12687         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12688         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12689         Correct normalisation of low mantissa.  Test for overflow of high
12690         mantissa and normalise.
12691         (ldbl_nearbyint): Use more readable constant for two52.
12692         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12693         (__mpn_construct_long_double): Fix test for overflow of high
12694         mantissa and correct normalisation.  Avoid undefined shift.
12696 2013-10-04  Alan Modra  <amodra@gmail.com>
12698         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12699         (union ibm_extended_long_double): Define as an array of ieee754_double.
12700         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12701         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12702         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12703         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12704         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12705         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12707         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12708         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12709         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12712 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12714         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12715         page size instead of calling getpagesize.
12717         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12718         (LOCFILE_ALIGN_MASK): Likewise.
12719         (LOCFILE_ALIGN_UP): Likewise.
12720         (LOCFILE_ALIGNED_P): Likewise.
12721         * locale/programs/ld-collate.c (collate_output): Use the new
12722         macros instead of __alignof__ (int32_t).
12723         * locale/weight.h (findidx): Likewise.
12725 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12727         [BZ #431]
12728         * manual/string.texi: Fix strncat and wcsncat.
12730 2013-10-03  Brooks Moses  <bmoses@google.com>
12732         [BZ #15915]
12733         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12734         * Makerules: ...here, and adjust associated comments.
12736 2013-10-02  Will Newton  <will.newton@linaro.org>
12738         * malloc/Makefile: Add tst-pvalloc.
12739         * malloc/tst-pvalloc.c: New file.
12741 2013-10-02  Will Newton  <will.newton@linaro.org>
12743         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12744         improve test coverage.
12746 2013-10-02  Will Newton  <will.newton@linaro.org>
12748         * malloc/Makefile: Add tst-posix_memalign.
12749         * malloc/tst-posix_memalign.c: New file.
12751 2013-10-01  Eric Blake  <eblake@redhat.com>
12753         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12754         Use __THROWNL rather than __THROW on static functions.
12756 2013-09-30  Petr Machata  <pmachata@redhat.com>
12758         * elf/elf.h (R_AARCH64_ABS16): New macro.
12759         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12760         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12761         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12762         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12763         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12764         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12765         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12766         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12767         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12768         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12769         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12770         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12771         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12772         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12773         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12774         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12775         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12776         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12777         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12778         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12779         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12780         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12781         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12782         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12783         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12784         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12785         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12786         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12787         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12788         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12789         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12790         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12791         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12792         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12793         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12794         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12795         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12796         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12797         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12798         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12799         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12800         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12801         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12802         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12803         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12804         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12805         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12806         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12807         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12808         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12809         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12810         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12811         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12812         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12813         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12814         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12815         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12816         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12817         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12818         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12819         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12820         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12821         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12822         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12823         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12824         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12825         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12826         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12827         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12828         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12829         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12830         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12831         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12832         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12833         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12834         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12835         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12836         (R_AARCH64_TLSDESC_LDR): Likewise.
12837         (R_AARCH64_TLSDESC_ADD): Likewise.
12838         (R_AARCH64_TLSDESC_CALL): Likewise.
12840 2013-09-30  Andreas Schwab  <schwab@suse.de>
12842         [BZ #15048]
12843         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12844         the nss database lookup.
12845         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12848 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
12850         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12852 2013-09-28  P. J. McDermott  <pj@pehjota.net>
12854         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12855         ${Bash-specific parameter/pattern/string} parameter expansion.
12856         * sysdeps/unix/make-syscalls.sh: Likewise.
12858 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12860         * sysdeps/sh/stackguard-macros.h: New file.
12862 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12866         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12867         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12868         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12869         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12871 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12873         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12874         Fix thread ID register.
12876 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12878         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12879         [POSIX || UNIX98]: Require rather than permitting all symbols from
12880         <time.h>.
12881         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12882         element of struct sched_param.
12883         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12884         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12885         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12886         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12887         constant.
12889 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12891         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12892         argument calculation.
12894 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12896         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12897         Expect macro.
12898         [POSIX] (pthread_attr_t): Do not require type.
12899         [POSIX] (pthread_cond_t): Likewise.
12900         [POSIX] (pthread_condattr_t): Likewise.
12901         [POSIX] (pthread_key_t): Likewise.
12902         [POSIX] (pthread_mutex_t): Likewise.
12903         [POSIX] (pthread_mutexattr_t): Likewise.
12904         [POSIX] (pthread_once_t): Likewise.
12905         [POSIX] (pthread_t): Likewise.
12906         [POSIX-based standards] (pthread_atfork): Expect function.
12908 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12909             Richard Sandiford  <richard@codesourcery.com>
12911         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12912         (swap_endianness_p): New extern variable.
12913         (set_big_endian): New inline function.
12914         (maybe_swap_uint32): Likewise.
12915         (maybe_swap_uint32_array): Likewise.
12916         (maybe_swap_uint32_obstack): Likewise.
12917         * locale/programs/locfile.c: Include <stdbool.h>.
12918         (swap_endianness_p): New variable.
12919         (add_locale_uint32): Call maybe_swap_uint32.
12920         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12921         (write_locale_data): Call maybe_swap_uint32_array.
12922         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12923         maybe_swap_uint32.
12924         (obstack_int32_grow_fast): Likewise.
12925         (output_weightwc): Call maybe_swap_uint32_obstack.
12926         (collate_output): Likewise.
12927         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12928         (OPT_LITTLE_ENDIAN): Likewise.
12929         (options): Add --little-endian and --big-endian options.
12930         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12931         * locale/programs/locarchive.c: Include "locfile.h".
12932         (GET): New macro.
12933         (SET): Likewise.
12934         (INC): Likewise.
12935         (create_archive): Use the new macros to access fields of
12936         structures directly mapped from or written to locale archives.
12937         (oldlocrecentcmp): Likewise.
12938         (enlarge_archive): Likewise.
12939         (insert_name): Likewise.
12940         (add_alias): Likewise.
12941         (add_locale): Likewise.
12942         (delete_locales_from_archive): Likewise.
12943         (show_archive_content): Likewise.
12944         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12945         locale data.
12947 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12949         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12950         http://www.gnu.org/doc/freemanuals.texi.
12951         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12953 2013-09-24  Will Newton  <will.newton@linaro.org>
12955         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12956         macro.
12958 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12960         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12961         unsigned char.
12963 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12965         * manual/threads.texi (POSIX Threads): Fix a typo.
12967 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12969         [BZ #14547]
12970         * string/tst-strcoll-overflow.c: New test case.
12971         * string/Makefile (xtests): Add tst-strcoll-overflow.
12972         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12973         cache if string sizes may cause integer overflow.
12975         [BZ #14547]
12976         * string/strcoll_l.c (coll_seq): New members rule, idx,
12977         save_idx and back_us.
12978         (get_next_seq_nocache): New function.
12979         (do_compare_nocache): New function.
12980         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12981         when malloc fails.
12983 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12985         [BZ #15754]
12986         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12987         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12988         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12990         [BZ #15754]
12991         * elf/Makefile (tests): Add tst-ptrguard1.
12992         (tests-static): Add tst-ptrguard1-static.
12993         (tst-ptrguard1-ARGS): Define.
12994         (tst-ptrguard1-static-ARGS): Define.
12995         * elf/tst-ptrguard1.c: New file.
12996         * elf/tst-ptrguard1-static.c: New file.
12997         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12998         * sysdeps/i386/stackguard-macros.h: Likewise.
12999         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13000         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13001         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13002         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13003         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13004         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13006 2013-09-23  Hector Marco  <hecmargi@upv.es>
13007             Ismael Ripoll  <iripoll@disca.upv.es>
13008             Carlos O'Donell  <carlos@redhat.com>
13010         [BZ #15754]
13011         * sysdeps/generic/stackguard-macros.h: Define
13012         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13013         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13014         Define __pointer_chk_guard_local.
13015         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13016         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13018 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13020         [BZ #15859]
13021         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13023 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13025         * include/string.h (__ffs): Declare as hidden.
13026         * string/ffs.c (__ffs): Define as hidden.
13027         * sysdeps/i386/ffs.c (__ffs): Likewise.
13028         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13029         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13030         * sysdeps/s390/ffs.c (__ffs): Likewise.
13031         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13033 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13035         * NEWS: Mention malloc probes.
13037         * malloc/arena.c (new_heap): New memory_heap_new probe.
13038         (grow_heap): New memory_heap_more probe.
13039         (shrink_heap): New memory_heap_less probe.
13040         (heap_trim): New memory_heap_free probe.
13041         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13042         (systrim): New memory_sbrk_less probe.
13043         * manual/probes.texi: Document them.
13045         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13046         * manual/probes.texi: Document it.
13048         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13049         (__libc_realloc): Add memory_realloc_retry probe.
13050         (__libc_memalign): Add memory_memalign_retry probe.
13051         (__libc_valloc): Add memory_valloc_retry probe.
13052         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13053         (__libc_calloc): Add memory_calloc_retry probe.
13054         * manual/probes.texi: Document them.
13056         * malloc/arena.c (get_free_list): Add probe
13057         memory_arena_reuse_free_list.
13058         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13059         and memory_arena_reuse.
13060         (arena_get2) [!PER_THREAD]: Likewise.
13061         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13062         memory_arena_reuse_realloc.
13063         * manual/probes.texi: Document them.
13065         * malloc/malloc.c (__libc_free): Add
13066         memory_mallopt_free_dyn_thresholds probe.
13067         (__libc_mallopt): Add multiple memory_mallopt probes.
13068         * manual/probes.texi: Document them.
13070         * malloc/malloc.c: Include stap-probe.h.
13071         (__libc_mallopt): Add memory_mallopt probe.
13072         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13073         * manual/probes.texi: New.
13074         * manual/Makefile (chapters): Add probes.
13075         * manual/threads.texi: Set next node.
13077 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13079         [BZ #15963, #13985]
13080         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13081         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13082         Add `Chinese' to `nan' entry name.
13084 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13086         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13087         (POLYNOMIAL): Likewise.
13088         (TAYLOR_SINCOS): Likewise.
13089         (TAYLOR_SLOW): Likewise.
13090         (__sin): Use TAYLOR_SINCOS.
13091         (__cos): Likewise.
13092         (slow): Use TAYLOR_SLOW.
13093         (sloww): Likewise.
13094         (bsloww): Likewise.
13095         (csloww): Likewise.
13097 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13099         * stdlib/strtod_l.c: Fix buffer overrun.
13101 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         * benchtests/Makefile (bench): Add sincos.
13104         * benchtests/bench-sincos.c: New file.
13106         * math/libm-test.inc (cos_test_data): New test inputs.
13107         (sin_test_data): Likewise.
13109         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13110         macro.
13111         (__sin): Use it.
13112         (__cos): Likewise.
13113         (slow1): Likewise.
13114         (slow2): Likewise.
13115         (sloww1): Likewise.
13116         (sloww2): Likewise.
13117         (bsloww1): Likewise.
13118         (bsloww2): Likewise.
13119         (cslow2): Likewise.
13120         (csloww1): Likewise.
13121         (csloww2): Likewise.
13123         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13124         function.
13125         (__sin): Use it.
13126         (__cos): Likewise.
13128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13129         gotos.
13130         (__cos): Likewise.
13132 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13134         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13135         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13136         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13137         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13138         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13139         * elf/cache.c (print_entry): Handle the new cache flags.
13141 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13142             Aldy Hernandez  <aldyh@redhat.com>
13144         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13145         Change condition to [_SOFT_FLOAT].
13146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13158         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13161         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13162         declaration.
13164 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13166         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13167         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13168         (__longjmp): Use LOAD_GP to load saved GPRs.
13169         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13170         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13171         (__sigsetjmp): Use SAVE_GP to save GPRs.
13173         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13174         Do not append -msoft-float.
13175         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13177 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13179         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13181 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13183         [BZ #15966]
13184         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13185         (_FPU_GETCW): Use initial "__" on variable and field names but not
13186         on macro parameter name.
13187         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13188         parentheses around reference to macro parameter.
13190 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13192         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13193         prototype.
13194         (ctype_startup): Use uint32_t in cast and sizeof for
13195         ctype->charnames.
13197 2013-09-11  Jia Liu  <proljc@gmail.com>
13199         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13200         __daddr_t_defined.
13201         [__FreeBSD__]: Likewise.
13203 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13206         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13207         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13208         (strchr): Remove __strchr_sse42 ifunc selection.
13209         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13210         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13212 2013-09-11  Will Newton  <will.newton@linaro.org>
13214         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13215         parameter to RES. Remove hardcoded 1000 value.
13216         * benchtests/bench-skeleton.c (main): Pass RES parameter
13217         to TIMING_INIT and multiply result by 1000.
13219 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13223 2013-09-11  Andreas Schwab  <schwab@suse.de>
13225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13226         if not defined.
13227         (O_TMPFILE) [__USE_GNU]: Define.
13228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13229         Define.
13231 2013-09-11  Will Newton  <will.newton@linaro.org>
13233         [BZ #15857]
13234         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13235         does not overflow.
13237 2013-09-11  Will Newton  <will.newton@linaro.org>
13239         [BZ #15856]
13240         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13241         does not overflow.
13243 2013-09-11  Will Newton  <will.newton@linaro.org>
13245         [BZ #15855]
13246         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13247         does not overflow.
13249 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13251         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13252         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13253         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13254         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13255         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13257 2013-09-10  Allan McRae  <allan@archlinux.org>
13259         [BZ #15748]
13260         * manual/arith.texi (Parsing of Floats): Clarify
13261         cross-reference.
13263         [BZ #15849]
13264         * manual/install.texi (Running make install): Mention
13265         --enable-pt-chown.
13266         * INSTALL: Regenerated.
13268 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13270         * csu/init-first.c (_init): Remove the !SHARED condition around
13271         FPU control word initialization.
13272         * elf/dl-support.c (_dl_fpu_control): New variable.
13273         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13274         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13275         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13276         * math/test-fpucw-static.c: New file.
13277         * math/test-fpucw-ieee.c: New file.
13278         * math/test-fpucw-ieee-static.c: New file.
13279         * math/Makefile (tests): Add `test-fpucw-ieee' and
13280         `$(tests-static)'.
13281         (tests-static): New variable.
13282         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13283         dependency to...
13284         [($(build-shared),yes)]
13285         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13286         ... this.
13287         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13288         New dependency.
13290 2013-09-09  Allan McRae  <allan@archlinux.org>
13292         [BZ #15939]
13293         * manual/string.texi (Collation Functions): Fix typo in
13294         strcoll example.
13295         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13297         [BZ #15893]
13298         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13300         [BZ #15892]
13301         * libio/memstream.c (open_memstream): Fix memory leak.
13302         * libio/wmemstream.c (open_wmemstream): Likewise.
13304         [BZ #15895]
13305         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13307 2013-09-09  Will Newton  <will.newton@linaro.org>
13309         * malloc/Makefile: Add tst-realloc to tests.
13310         * malloc/tst-realloc.c: New file.
13312 2013-09-09  Allan McRae  <allan@archlinux.org>
13314         [BZ #15844]
13315         * COPYING: Update from GNU website to fix FSF address.
13316         * COPYING.LIB: Likewise.
13318 2013-09-06  David S. Miller  <davem@davemloft.net>
13320         * po/zh_TW.po: Update Chinese (traditional) translation from
13321         translation project.
13323 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13324             Joseph Myers  <joseph@codesourcery.com>
13326         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13327         "localeinfo.h".
13328         (obstack_chunk_alloc): New macro.
13329         (obstack_chunk_free): Likewise.
13330         (record_offset): New function.
13331         (init_locale_data): Likewise.
13332         (align_locale_data): Likewise.
13333         (add_locale_empty): Likewise.
13334         (add_locale_raw_data): Likewise.
13335         (add_locale_raw_obstack): Likewise.
13336         (add_locale_string): Likewise.
13337         (add_locale_wstring): Likewise.
13338         (add_locale_uint32): Likewise.
13339         (add_locale_uint32_array): Likewise.
13340         (add_locale_char): Likewise.
13341         (start_locale_structure): Likewise.
13342         (end_locale_structure): Likewise.
13343         (start_locale_prelude): Likewise.
13344         (end_locale_prelude): Likewise.
13345         (write_locale_data): Take locale_file structure rather than an
13346         iovec.
13347         * locale/programs/locfile.h: Include "obstack.h".
13348         (struct locale_file): Change to store locale file contents instead
13349         of header.
13350         (init_locale_data): New prototype.
13351         (align_locale_data): Likewise.
13352         (add_locale_empty): Likewise.
13353         (add_locale_raw_data): Likewise.
13354         (add_locale_raw_obstack): Likewise.
13355         (add_locale_string): Likewise.
13356         (add_locale_wstring): Likewise.
13357         (add_locale_uint32): Likewise.
13358         (add_locale_uint32_array): Likewise.
13359         (add_locale_char): Likewise.
13360         (start_locale_structure): Likewise.
13361         (end_locale_structure): Likewise.
13362         (start_locale_prelude): Likewise.
13363         (end_locale_prelude): Likewise.
13364         (write_locale_data): Update prototype.
13365         * locale/programs/3level.h (struct TABLE): Remove result field.
13366         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13367         Use new locale_file interface.
13368         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13369         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13370         * locale/programs/ld-address.c (address_output): Use new
13371         locale_file interface.
13372         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13373         NO_ADD_LOCALE.
13374         (collate_finish): Don't call collseq_table_finalize.
13375         (collate_output): Use new locale_file interface.
13376         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13377         in file.
13378         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13379         (TABLE): Move defines earlier in file.
13380         (ELEMENT): Likewise.
13381         (DEFAULT): Likewise.
13382         (wctrans_table_add): Move macro and inline function earlier in
13383         file.
13384         (struct wctype_table): Move type earlier in file.
13385         (add_locale_wctype_table): New static prototype.
13386         (struct locale_ctype_t): Use logical types instead of struct iovec
13387         pointers for members.
13388         (ctype_output): Use new locale_file interface.
13389         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13390         new locale_file interface.
13391         (allocate_arrays): Update for use of new locale_file interface.
13392         * locale/programs/ld-identification.c (identification_output): Use
13393         new locale_file interface.
13394         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13395         * locale/programs/ld-messages.c (messages_output): Likewise.
13396         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13397         * locale/programs/ld-name.c (name_output): Likewise.
13398         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13399         * locale/programs/ld-paper.c (paper_output): Likewise.
13400         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13401         * locale/programs/ld-time.c (time_output): Likewise.
13403 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13405         * benchtests/Makefile: Add memrchr benchmark.
13406         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13407         benchmark as memrchr.
13408         * benchtests/bench-memrchr-ifunc.c: New file.
13409         * benchtests/bench-memrchr.c: New file.
13411 2013-09-06   Will Newton  <will.newton@linaro.org>
13413         * benchtests/Makefile (string-bench): Add memcpy.
13415 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13416             Cong Wang  <amwang@redhat.com>
13418         [BZ #15850]
13419         * sysdeps/unix/sysv/linux/bits/in.h
13420         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13421         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13422         before __USE_KERNEL_IPV6_DEFS uses.
13423         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13424         IPPROTO_BEETPH.
13425         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13426         sockaddr_in6, or ipv6_mreq.
13428 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13430         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13431         memory access for final bytes in some large inputs.
13432         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13434 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13436         * string/test-memrchr.c: New file.
13437         * string/test-memrchr-ifunc.c: New file.
13438         * string/Makefile: Add new memrchr testcase.
13440 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13442         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13443         fanotify_init returns EPERM.
13445 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13447         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13448         errors.
13449         (top level): Treat second token from macro or constant entries for
13450         allowed headers as allowed.
13451         * include/complex.h: Condition internal declarations on
13452         [!_ISOMAC].
13453         * include/fenv.h: Condition include of <stdbool.h> and internal
13454         declarations on [!_ISOMAC].
13456 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13458         [BZ #15923]
13459         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13461 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13463         * configure.in (--enable-versioning): Remove configure option.
13464         (libc_cv_asm_symver_directive): Remove configure test.
13465         (libc_cv_ld_version_script_option): Likewise.
13466         (VERSIONING): Remove variable and AC_SUBST.
13467         (DO_VERSIONING): Remove AC_DEFINE.
13468         * configure: Regenerated.
13469         * config.h.in (DO_VERSIONING): Remove macro.
13470         * Makerules [$(versioning) = yes]: Change conditionals to
13471         [$(build-shared) = yes].
13472         * config.make.in (versioning): Remove variable.
13473         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13474         [$(build-shared) = yes].
13475         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13476         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13477         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13478         [$(build-shared) = yes].
13479         * extra-lib.mk [$(versioning) = yes]: Likewise.
13480         * hurd/Makefile [$(versioning) = yes]: Likewise.
13481         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13482         [SHARED].
13483         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13484         [SHARED].
13485         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13486         [SHARED && !NO_HIDDEN].
13487         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13488         [SHARED].
13489         [SHARED && DO_VERSIONING]: Likewise..
13490         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13491         [$(build-shared) = yes].
13492         * manual/install.texi (--disable-versioning): Remove
13493         documentation.
13494         * INSTALL: Regenerated.
13495         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13496         to [SHARED].
13497         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13498         [$(build-shared) = yes].
13499         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13500         * sysdeps/i386/i686/multiarch/strstr-c.c
13501         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13502         [SHARED && !NO_HIDDEN].
13503         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13504         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13505         * sysdeps/powerpc/powerpc32/dl-machine.c
13506         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13507         * sysdeps/powerpc/powerpc32/sysdep.h
13508         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13509         to [SHARED && PIC && !NO_HIDDEN].
13510         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13511         conditional to [SHARED].
13513 2013-09-04   Will Newton  <will.newton@linaro.org>
13515         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13516         * benchtests/bench-string.h: Include bench-timing.h instead
13517         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13518         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13519         call to HP_TIMING_DIFF_INIT.
13520         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13521         instead of hp-timing.h macros.
13522         * benchtests/bench-memchr.c: Likewise.
13523         * benchtests/bench-memcmp.c: Likewise.
13524         * benchtests/bench-memcpy.c: Likewise.
13525         * benchtests/bench-memmem.c: Likewise.
13526         * benchtests/bench-memmove.c: Likewise.
13527         * benchtests/bench-memset.c: Likewise.
13528         * benchtests/bench-rawmemchr.c: Likewise.
13529         * benchtests/bench-strcasecmp.c: Likewise.
13530         * benchtests/bench-strcasestr.c: Likewise.
13531         * benchtests/bench-strcat.c: Likewise.
13532         * benchtests/bench-strchr.c: Likewise.
13533         * benchtests/bench-strcmp.c: Likewise.
13534         * benchtests/bench-strcpy.c: Likewise.
13535         * benchtests/bench-strcpy_chk.c: Likewise.
13536         * benchtests/bench-strlen.c: Likewise.
13537         * benchtests/bench-strncasecmp.c: Likewise.
13538         * benchtests/bench-strncat.c: Likewise.
13539         * benchtests/bench-strncmp.c: Likewise.
13540         * benchtests/bench-strncpy.c: Likewise.
13541         * benchtests/bench-strnlen.c: Likewise.
13542         * benchtests/bench-strpbrk.c: Likewise.
13543         * benchtests/bench-strrchr.c: Likewise.
13544         * benchtests/bench-strspn.c: Likewise.
13545         * benchtests/bench-strstr.c: Likewise.
13547 2013-09-04  Will Newton  <will.newton@linaro.org>
13549         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13551 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13553         [BZ #15427]
13554         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13555         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13556         * math/libm-test.inc (lgamma_test_data): Add more tests.
13557         * sysdeps/i386/fpu/libm-test-ulps: Update.
13558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13560 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13562         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13564         Add ifunc.
13565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13566         Add strcmp-sse2-unaligned
13567         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13569 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13571         * Versions.def (libc): Add GLIBC_2.19.
13573 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13575         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13576         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13578 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13580         [BZ #14155]
13581         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13582         intermediate calculations in recurrence.
13583         (__ieee754_ynf): Likewise.
13584         * math/libm-test.inc (jn_test_data): Do not allow spurious
13585         underflow exception.  Add more tests.
13586         (yn_test_data): Add more tests.
13587         * sysdeps/i386/fpu/libm-test-ulps: Update.
13588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13590 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13592         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13594 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13596         * csu/init-first.c: Fix then/than typos.
13597         * locale/programs/ld-collate.c: Likewise.
13598         * locale/programs/linereader.h: Likewise.
13599         * manual/charset.texi: Likewise.
13600         * manual/filesys.texi: Likewise.
13601         * manual/stdio.texi: Likewise.
13602         * manual/string.texi: Likewise.
13603         * stdlib/fmtmsg.c: Likewise.
13604         * sysdeps/i386/stpncpy.S: Likewise.
13605         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13606         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13607         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13608         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13610 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13612         * elf/dl-open.c: Fix typos.
13613         * iconvdata/gbbig5.c: Likewise.
13614         * iconvdata/iso-2022-jp.c: Likewise.
13615         * iconv/gconv_int.h: Likewise.
13616         * iconv/loop.c: Likewise.
13617         * nis/rpcsvc/nis.h: Likewise.
13618         * resolv/ns_name.c: Likewise.
13619         * stdio-common/vfscanf.c: Likewise.
13620         * streams/stropts.h: Likewise.
13621         * sunrpc/rpc_thread.c: Likewise.
13622         * sysdeps/i386/strpbrk.S: Likewise.
13623         * sysdeps/ieee754/k_standard.c: Likewise.
13624         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13625         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13626         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13627         * sysdeps/mach/hurd/profil.c: Likewise.
13628         * sysdeps/s390/dl-procinfo.h: Likewise.
13629         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13630         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13631         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13632         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13633         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13635 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13637         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13640 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13643         aix specific files.
13644         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13645         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13646         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13647         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13648         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13649         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13650         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13651         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13653 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13654             Roland McGrath  <roland@hack.frob.com>
13656         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13657         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13659 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13661         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13662         __executable_start symbol instead of _start.
13664 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13666         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13667         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13668         Move macros to...
13669         * sysdeps/gnu/ldsodefs.h: ... this new file.
13671         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13672         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13673         instead of ELFOSABI_LINUX.
13675         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13676         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13677         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13678         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13679         Likewise.
13680         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13681         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13682         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13683         Likewise.
13684         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13685         (ibm_extended_long_double): Add ieee_nan member.
13686         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13687         (do_test): New function.
13689         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13690         TEST_TRUNC.
13691         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13692         functions, renamed from truncdfsf_test, trunctfsf_test,
13693         trunctfdf_test.
13694         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13695         functions.
13696         (do_test): Run all these.
13698 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13700         * argp/argp-help.c: Fix typos.
13701         * argp/argp-parse.c: Likewise.
13702         * debug/backtracesyms.c: Likewise.
13703         * elf/elf.h: Likewise.
13704         * malloc/malloc.c: Likewise.
13705         * nis/nis_print.c: Likewise.
13706         * resolv/res_comp.c: Likewise.
13707         * stdlib/stdlib.h: Likewise.
13708         * sunrpc/clnt_tcp.c: Likewise.
13709         * sunrpc/clnt_udp.c: Likewise.
13710         * sunrpc/clnt_unix.c: Likewise.
13711         * sysdeps/unix/bsd/ptsname.c: Likewise.
13712         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13713         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13715         Likewise.
13716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13717         Likewise.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13719         Likewise.
13720         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13722 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13724         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13727 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13729         [BZ #15897]
13730         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13731         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13732         ($(objpfx)bug-dl-leaf): New rule.
13733         ($(objpfx)bug-dl-leaf.so): Likewise.
13734         ($(objpfx)bug-dl-leaf.out): Likewise.
13735         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13736         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13737         * dlfcn/bug-dl-leaf.c: New test.
13738         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13739         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13740         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13741         (dlclose): Likewise.
13742         (dlmopen): Likewise.
13744 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13746         * include/netdb.h [!_ISOMAC]:
13747         Don't include <tls.h>.
13748         (h_errno, __libc_h_errno): Move declaration and macros out of
13749         [_LIBC_REENTRANT].
13751         * include/resolv.h [_RESOLV_H_]:
13752         Don't include <tls.h>.
13753         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13754         * resolv/res_libc.c: Don't include <tls.h>.
13755         (_res): Use __attribute__ ((nocommon)) in place of
13756         __attribute__ ((section (".bss"))).
13758         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13759         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13761         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13763         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13764         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13766         * resolv/res_mkquery.c: Include <sys/time.h>.
13768         * inet/ifreq.c: Moved to ...
13769         * sysdeps/unix/ifreq.c: ... here.
13770         * inet/ifreq.c: New file, true stub version.
13772         * socket/sa_len.c: New file.
13773         * socket/Makefile (aux): Add it.
13774         * sysdeps/unix/sysv/linux/Makefile
13775         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13776         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13777         and #include <socket/sa_len.c>.
13778         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13779         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13781         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13782         * bits/socket.h: ... here.
13784         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13785         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13786         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13788 2013-08-27  Andreas Schwab  <schwab@suse.de>
13790         [BZ #15736]
13791         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13792         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13793         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13794         * string/test-strcasecmp.c (test_main): Run tests in several
13795         locales.
13796         * string/test-strncasecmp.c (test_main): Likewise.
13798         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13799         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13800         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13802         (__strncasecmp_ssse3) [PIC]: Likewise.
13804 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13806         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13808         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13809         instead of explicitly declaring xdecrypt.
13810         * nis/nss_nis/nis-publickey.c: Likewise.
13812 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13814         [BZ #15890]
13815         * nscd/aicache.c: Include res_hconf.h.
13816         (addhstaiX): Initialize res_hconf.
13818 2013-08-26  Andreas Schwab  <schwab@suse.de>
13820         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13821         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13823 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13825         * nscd/aicache.c (addhstaiX): Fix indentation.
13827 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13829         * configure.ac: Quote $build_pt_chown test.
13830         * configure: Regenerated.
13832 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13834         [BZ #15532]
13835         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13836         * math/s_cexpf.c (__cexpf): Likewise.
13837         * math/s_cexpl.c (__cexpl): Likewise.
13838         * math/libm-test.inc (cexp_test_data): Correct expected return
13839         value for NaN + i0.  Add another test.
13841 2013-08-22  David S. Miller  <davem@davemloft.net>
13843         * po/ca.po: Update Catalan translation from translation project.
13844         * po/uk.po: Add Ukrainian translations from translation project.
13846 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
13848         [BZ #15797]
13849         * math/s_fdim.c (__fdim): Check for infinite arguments if result
13850         is infinite, not alongside NaN test.
13851         * math/s_fdimf.c (__fdimf): Likewise.
13852         * math/s_fdiml.c (__fdiml): Likewise.
13853         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
13854         errno is unchanged.
13856 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13858         * argp/argp-help.c: Fix typos.
13859         * crypt/speeds.c: Likewise.
13860         * csu/check_fds.c: Likewise.
13861         * elf/dl-load.c: Likewise.
13862         * elf/dl-open.c: Likewise.
13863         * elf/reldep3.c: Likewise.
13864         * elf/reldep.c: Likewise.
13865         * elf/sprof.c: Likewise.
13866         * iconv/iconv_charmap.c: Likewise.
13867         * iconv/skeleton.c: Likewise.
13868         * iconv/strtab.c: Likewise.
13869         * io/lockf64.c: Likewise.
13870         * libio/libioP.h: Likewise.
13871         * resolv/gai_notify.c: Likewise.
13872         * resolv/ns_name.c: Likewise.
13873         * resolv/ns_samedomain.c: Likewise.
13874         * resolv/res_send.c: Likewise.
13875         * stdlib/random.c: Likewise.
13876         * sunrpc/rpc/xdr.h: Likewise.
13877         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13878         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13879         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13880         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13882         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13884         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13885         * sysdeps/mach/hurd/check_fds.c: Likewise.
13886         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13887         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13888         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13890         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13891         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13892         * sysdeps/pthread/aio_notify.c: Likewise.
13893         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13894         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13895         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13897         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13899 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13901         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13902         version if bit_Slow_SSE4_2 is set.
13903         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13904         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13906 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13908         [BZ #15867]
13909         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13910         trampoline stack frame information.
13911         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13912         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13913         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13914         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13915         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13916         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13917         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13918         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13919         sa_flags value.
13920         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13921         interrupting a syscall and set with option SA_SIGINFO.
13923 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13925         [BZ #15531]
13926         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13927         argument is infinite.
13928         * math/s_cprojf.c (__cprojf): Likewise.
13929         * math/s_cprojl.c (__cprojl): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13931         * math/libm-test.inc (cproj_test_data): Add more tests.
13933         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13935         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13936         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13937         size.  Use __ffs to determine corresponding shift.
13939 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13940             Roland McGrath  <roland@hack.frob.com>
13942         * Makefile (INSTALL): Remove trailing blank lines from output of
13943         makeinfo.
13945 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13947         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13948         Align 32 bit compat elf_greg to 8 bytes.
13950 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13952         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13954 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13956         * string/strcoll_l.c (coll_seq): New structure.
13957         (get_next_seq_cached): New function.
13958         (get_next_seq): New function.
13959         (do_compare): New function.
13960         (STRCOLL): Use GNU style definition.  Simplify implementation
13961         by using get_next_seq, get_next_seq_cached and do_compare.
13963 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13965         [BZ #14699]
13966         CVE-2013-4237
13967         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13968         member.
13969         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13970         member.
13971         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13972         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13973         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13974         conditional.
13975         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13976         GETDENTS_64BIT_ALIGNED.
13977         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13978         * manual/filesys.texi (Reading/Closing Directory): Document
13979         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13980         strongly.
13981         * manual/conf.texi (Limits for Files): Add portability note to
13982         NAME_MAX, PATH_MAX.
13983         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13985 2013-08-13  Andreas Schwab  <schwab@suse.de>
13987         [BZ #15749]
13988         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13989         of fabs.
13990         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13991         LDBL_MAX_EXP >= 16384]: Add tests for it.
13993 2013-08-12  David S. Miller  <davem@davemloft.net>
13995         * version.h (RELEASE): Set to "development".
13996         (VERSION): Set to "2.18.90".
13997         * NEWS: Add 2.19 section.
13999 2013-08-03  David S. Miller  <davem@davemloft.net>
14001         * po/ko.po: Update Korean translation from translation project.
14003 2013-08-01  David S. Miller  <davem@davemloft.net>
14005         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14006         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14007         Bilka.
14009 2013-07-30  David S. Miller  <davem@davemloft.net>
14011         * po/fr.po: Update French translation from translation project.
14013 2013-07-28  David S. Miller  <davem@davemloft.net>
14015         * po/cs.po: Update Czech translation from translation project.
14017         * po/sv.po: Update Swedish translation from translation project.
14019 2013-07-27  David S. Miller  <davem@davemloft.net>
14021         * po/eo.po: Update Esperanto translation from translation project.
14023         * po/vi.po: Update Vietnamese translation from translation project.
14025         * po/de.po: Update German translation from translation project.
14027 2013-07-26  David S. Miller  <davem@davemloft.net>
14029         * po/bg.po: Update Bulgarian translation from translation project.
14031         * po/nl.po: Update Dutch translation from translation project.
14032         * po/pl.po: Update Polish translation from translation project.
14033         * po/ru.po: Update Russian translation from translation project.
14035 2013-07-24  David S. Miller  <davem@davemloft.net>
14037         * po/libc.pot: Update.
14039 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14041         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14042         variable page size.
14043         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14044         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14045         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14047 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14049         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14051 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052             Andreas Schwab  <schwab@suse.de>
14053             Roland McGrath  <roland@hack.frob.com>
14054             Joseph Myers  <joseph@codesourcery.com>
14055             Carlos O'Donell  <carlos@redhat.com>
14057         [BZ #15755]
14058         * config.h.in: Define HAVE_PT_CHOWN.
14059         * config.make.in (build-pt-chown): New variable.
14060         * configure.in (--enable-pt_chown): New configure option.
14061         * configure: Regenerate.
14062         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14063         build-pt-chown is enabled.
14064         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14065         pt_chown to fix pty ownership.
14066         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14067         CLOSE_ALL_FDS.
14068         * manual/install.texi (Configuring and compiling): Mention
14069         --enable-pt_chown. Add @findex for grantpt.
14070         * INSTALL: Regenerate.
14072 2013-07-20  David S. Miller  <davem@davemloft.net>
14074         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14075         difference between 32-bit and 64-bit.
14077 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14079         [BZ #15711]
14080         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14081         Avoid system header dependency with -ffreestanding.
14082         ($(objpfx)bits/syscall%d): Likewise.
14084 2013-07-13  David S. Miller  <davem@davemloft.net>
14086         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14087         underflows from atanl/atan2l due to bug 15319.
14088         (casinh_test_data): Likewise.
14090 2013-07-07  David S. Miller  <davem@davemloft.net>
14092         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14094 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14096         * sysdeps/i386/fpu/libm-test-ulps: Update.
14097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14099 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14101         * configure.in (--enable-lock-elision): Fix message text.
14102         * INSTALL: Regenerate.
14103         * configure: Regenerate.
14105 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14109 2013-07-03  Andreas Jaeger  <aj@suse.de>
14111         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14112         define.
14113         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14114         (ptrace_peeksiginfo_args): Add.
14115         (__ptrace_peeksiginfo_flags): Add.
14116         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14117         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14118         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14120 2013-07-03  Allan McRae  <allan@archlinux.org>
14122         * sysdeps/i386/fpu/libm-test-ulps: Update.
14124 2013-07-02  David S. Miller  <davem@davemloft.net>
14126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14128 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14132 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14134         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14137 2013-07-02  Andi Kleen <ak@linux.intel.com>
14139         * config.h.in (ENABLE_LOCK_ELISION): Add.
14140         * configure.in (--enable-lock-elision): Add option.
14141         * manual/install.texi: Document --enable lock elision.
14142         * configure: Regenerate
14143         * INSTALL: Regenerate.
14145 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14147         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14148         SSE4.2 strcasecmp for libc.a.
14149         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14151 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #13304]
14154         * soft-fp/op-common.h (_FP_FMA): New macro.
14155         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14156         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14157         (_FP_MUL_MEAT_1_imm): ... here.
14158         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14159         (_FP_MUL_MEAT_1_wide): ... here.
14160         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14161         (_FP_MUL_MEAT_1_hard): ... here.
14162         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14163         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14164         (_FP_MUL_MEAT_2_wide): ... here.
14165         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14166         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14167         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14168         (_FP_MUL_MEAT_2_gmp): ... here.
14169         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14170         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14171         (_FP_MUL_MEAT_4_wide): ... here.
14172         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14173         (_FP_MUL_MEAT_4_gmp): ... here.
14174         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14175         (_FP_WFRACBITS_DW_S): Likewise.
14176         (_FP_WFRACXBITS_DW_S): Likewise.
14177         (_FP_HIGHBIT_DW_S): Likewise.
14178         (FP_FMA_S): Likewise.
14179         (_FP_FRAC_HIGH_DW_S): Likewise.
14180         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14181         (_FP_WFRACBITS_DW_D): Likewise.
14182         (_FP_WFRACXBITS_DW_D): Likewise.
14183         (_FP_HIGHBIT_DW_D): Likewise.
14184         (FP_FMA_D): Likewise.
14185         (_FP_FRAC_HIGH_DW_D): Likewise.
14186         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14187         (_FP_WFRACBITS_DW_E): Likewise.
14188         (_FP_WFRACXBITS_DW_E): Likewise.
14189         (_FP_HIGHBIT_DW_E): Likewise.
14190         (FP_FMA_E): Likewise.
14191         (_FP_FRAC_HIGH_DW_E): Likewise.
14192         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14193         (_FP_WFRACBITS_DW_Q): Likewise.
14194         (_FP_WFRACXBITS_DW_Q): Likewise.
14195         (_FP_HIGHBIT_DW_Q): Likewise.
14196         (FP_FMA_Q): Likewise.
14197         (_FP_FRAC_HIGH_DW_Q): Likewise.
14198         * soft-fp/fmasf4.c: New file.
14199         * soft-fp/fmadf4.c: Likewise.
14200         * soft-fp/fmatf4.c: Likewise.
14202 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14205         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14206         Silvermont.
14207         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14208         macro.
14209         (index_Slow_SSE4_2): Likewise.
14210         (index_Prefer_PMINUB_for_stringop): Likewise.
14211         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14212         bit_Slow_SSE4_2 is set.
14213         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14214         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14216 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14218         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14219         rtld_global._dl_hwcap2.
14220         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14221         POWER8.
14222         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14223         POWER8 feature descriptions defined in _dl_hwcap2.
14224         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14225         string handling for POWER8 feature bits.
14226         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14227         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14228         _dl_powerpc_cap_flags.
14229         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14230         * sysdeps/powerpc/rtld-global-offsets.sym
14231         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14232         _dl_hwcap2 in the rtld_global_ro structure.
14234 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14236         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14237         hardware capabilities in support of AT_HWCAP2.
14238         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14239         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14240         GLRO(dl_hwcap2).
14241         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14242         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14243         explicitly the unknown a_type display mechanism is used.
14244         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14245         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14246         struct member.
14247         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14248         to macro prototype for AT_HWCAP2 support.
14249         * sysdeps/i386/dl-procinfo.h: Likewise.
14250         * sysdeps/s390/dl-procinfo.h: Likewise.
14251         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14252         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14253         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14254         return -1 for unknown a_type display fallback.
14255         * sysdeps/sparc/dl-procinfo.h: Likewise.
14256         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14257         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14259 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14261         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14262         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14264 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14266         [BZ #12492]
14267         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14268         mprotect making __stack_prot writable.
14270 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14271             Joseph Myers  <joseph@codesourcery.com>
14273         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14274         as being properly aligned.
14276 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14278         * dlfcn/modstatic5.c: New file.
14279         * dlfcn/tststatic5.c: New file.
14280         * dlfcn/Makefile (tests): Add tststatic5.
14281         (tests-static): Likewise.
14282         (modules-names): Add modstatic5.
14283         (tststatic5-ENV): New variable.
14284         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14286         [BZ #15022]
14287         * elf/dl-support.c (_dl_main_map): New variable.
14288         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14289         (_dl_nns, _dl_load_adds): Set to 1.
14290         (_dl_initial_searchlist): Refer to _dl_main_map.
14291         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14292         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14293         call to _dl_get_origin.
14294         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14295         around call_map.
14296         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14297         * dlfcn/modstatic3.c: New file.
14298         * dlfcn/tststatic3.c: New file.
14299         * dlfcn/tststatic4.c: New file.
14300         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14301         (tests-static): Likewise.
14302         (modules-names): Add modstatic3.
14303         (tststatic3-ENV, tststatic4-ENV): New variables.
14304         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14305         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14307 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14309         * configure.in (CC): Require GCC version 4.4 or later.
14310         * configure: Regenerated.
14311         * manual/install.texi (Tools for Compilation): Update GCC version
14312         requirement.
14313         * INSTALL: Regenerated.
14315 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14317         [BZ #15674]
14318         * string/test-memcmp.c (check2): New.
14319         (main): Call check2.
14321         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14323 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14325         [BZ #15022]
14326         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14327         over to...
14328         (dl_open_worker) [!SHARED]: ... here.
14330 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14332         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14334 2013-06-25  Richard Henderson  <rth@redhat.com>
14336         * locale/programs/locarchive.c: Include <libc-internal.h>
14338 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14340         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14341         trailing whitespace removed.
14343 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14345         [BZ #10283]
14346         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14347         * locale/programs/locarchive.c: Include libc-mmap.h.
14348         (prepare_address_space): Take two new outputs (the mmap base and len).
14349         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14350         values.
14351         (create_archive): Declare new mmap base and len values for
14352         prepare_address_space, and store the result in ah.
14353         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14354         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14355         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14356         Declare new mmap base and len values for
14357         prepare_address_space, and store the result in new_ah.
14358         (open_archive): Declare new mmap base and len values for
14359         prepare_address_space, and store the result in ah.
14360         (close_archive): If ah->mmap_base is not NULL, use that and
14361         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14362         * sysdeps/generic/libc-mmap.h: New file.
14364 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14366         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14367         (ALIGN_UP): Likewise.
14368         (PTR_ALIGN_DOWN): Likewise.
14369         (PTR_ALIGN_UP): Likewise.
14371 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14373         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14374         entry mapped to PPC_PLATFORM_POWER8.
14375         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14376         POWER8.
14377         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14378         (_dl_string_platform): Add case for exporting platform position for
14379         POWER8.
14380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14381         search path to sysdeps/powerpc/powerpc32/power8 directory.
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14383         search path to sysdeps/powerpc/powerpc64/power8 directory.
14384         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14385         power7 directories.
14386         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14387         power7 directories.
14389 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14391         * INSTALL: Regenerate.
14393         * nscd/connections.c (nscd_init): Fix comment.
14395 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14397         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14399         [BZ #15667]
14400         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14401         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14403 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14405         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14406         DL_DST_REQ_STATIC.
14407         (DL_DST_REQ_STATIC): Remove macro.
14409 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14411         [BZ #7006]
14412         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14413         with a shift of 0 bits.
14415 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14417         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14418         $(tststatic-ENV).
14420 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14422         [BZ #15655]
14423         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14425 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14427         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14428         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14429         accepts -fno-tree-loop-distribute-patterns.
14430         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14431         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14432         recursive call.
14433         * string/memset.c (memset): Likewise.
14434         * string/test-memmove.c (simple_memmove): Disable loop transformation
14435         to library calls.
14436         * string/test-memset.c (simple_memset): Likewise.
14437         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14438         * benchtests/bench-memset.c (simple_memset): Likewise.
14439         * configure: Regenerated.
14441 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14443         * math/test-misc.c (main): Ignore fesetround failure when failures
14444         of subsequent rounding tests would be ignored.
14446         [BZ #15654]
14447         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14448         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14449         * math/fegetenv.c (__fegetenv): Return 0.
14450         * math/fegetexcept.c (fegetexcept): Return 0.
14451         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14452         FE_TONEAREST.
14453         * math/feholdexcpt.c (feholdexcept): Return 0.
14454         * math/fesetenv.c (__fesetenv): Return 0.
14455         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14456         argument FE_TONEAREST.
14457         * math/feupdateenv.c (__feupdateenv): Return 0.
14458         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14460 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14462         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14463         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14464         ($(objpfx)rtld-%.os rules): Use them.
14466 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14468         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14469         fields.
14471 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14473         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14474         length of target pattern, then descending length of dependency pattern.
14475         * configure.in (AWK): Require gawk 3.1.2 or newer.
14476         * manual/install.texi (Tools for Compilation): Say that we do.
14477         * configure: Regenerated.
14479         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14480         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14481         * scripts/sysd-rules.awk: ... this new script.
14482         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14483         than a glob-style pattern.
14485 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14487         * math/test-misc.c (main): Do not treat incorrectly rounded
14488         conversions as failure unless ROUNDING_TESTS passes.
14490 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14492         [BZ #15631]
14493         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14494         restore exception state around main square root computation, then
14495         check for inexactness explicitly.
14497         * math/libm-test.inc (fma_test_data): Add another test.
14499 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14501         * manual/threads.texi (Non-POSIX Extensions): New document
14502         node.  Document pthread_getattr_default_np and
14503         pthread_setattr_default_np.
14505         * Versions.def (libpthread): Add GLIBC_2.18.
14506         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14510         Likewise.
14511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14512         Likewise.
14513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14514         Likewise.
14515         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14516         Likewise.
14517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14518         Likewise.
14519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14520         Likewise.
14521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14522         Likewise.
14523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14524         Likewise.
14526 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14529         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14531 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14532             H.J. Lu  <hjl.tools@gmail.com>
14534         [BZ #15627]
14535         * sysdeps/x86_64/rtld-memset.c: Remove file.
14536         * sysdeps/x86_64/rtld-memset.S: New file.
14538 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14540         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14541         (test_in_one_mode): Take arguments for whether the rounding mode
14542         is supported for each floating-point type.
14543         (do_test): Pass new arguments to test_in_one_mode using
14544         ROUNDING_TESTS.
14546 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14548         * posix/tst-waitid.c (do_test): Distinguish different instances of
14549         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14550         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14551         before entering the kernel for waitpid.
14553 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555         * NEWS: Fix note on clock function precision.  Text by Roland
14556         McGrath.
14558 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14560         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14561         it into place only when and if the sanity check passes.
14563 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14565         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14566         output for whether conversion result is exact.  Take argument
14567         indicating whether type is IBM long double.
14568         (round_for_all): Change need_exact field to ibm_ld.
14569         * stdlib/tst-strtod-round.c (struct exactness): New type.
14570         (struct test): Change bool ld_ok field to struct exactness exact.
14571         (TEST): Update all definitions for change to field.
14572         (tests): Regenerate array contents.
14573         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14574         field value.  Check for IBM long double here.
14575         (do_test): Update calls to test_in_one_mode.
14577 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14579         [BZ #12515]
14580         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14581         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14583 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14585         [BZ #15605]
14586         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14587         generated by the compiler on loop optimizations.
14588         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14589         general definitions.
14591 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14593         * math/bug-nextafter.c: Include <math-tests.h>.
14594         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14595         the relevant type.
14596         * math/bug-nexttoward.c: Include <math-tests.h>.
14597         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14598         the relevant type.
14599         * math/test-misc.c: Include <math-tests.h>.
14600         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14601         the relevant type.
14603 2013-06-12  Andreas Jaeger  <aj@suse.de>
14605         * po/ia.po: Update Interlingua translation from translation
14606         project.
14608 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14610         * include/fenv.h: Include stdbool.h.
14611         (struct rm_ctx): New structure.
14612         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14613         Define macro.
14614         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14615         (SET_RESTORE_ROUNDF): Likewise.
14616         (SET_RESTORE_ROUNDL): Likewise.
14617         (SET_RESTORE_ROUND_NOEX): Likewise.
14618         (SET_RESTORE_ROUND_NOEXF): Likewise.
14619         (SET_RESTORE_ROUND_NOEXL): Likewise.
14620         (SET_RESTORE_ROUND_53BIT): Likewise.
14621         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14622         (libc_feresetround_noexf_ctx): Likewise.
14623         (libc_feresetround_noexl_ctx): Likewise.
14624         (libc_feholdsetround_53bit_ctx): Likewise.
14625         (libc_feresetround_53bit_ctx): Likewise.
14626         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14627         (libc_feholdexcept_setround_sse_ctx): New function.
14628         (libc_fesetenv_sse_ctx): Likewise.
14629         (libc_feupdateenv_sse_ctx): Likewise.
14630         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14631         (libc_feholdexcept_setround_387_ctx): Likewise.
14632         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14633         (libc_feholdsetround_387_prec_ctx): Likewise.
14634         (libc_feholdsetround_387_ctx): Likewise.
14635         (libc_feholdsetround_387_53bit_ctx): Likewise.
14636         (libc_feholdsetround_sse_ctx): Likewise.
14637         (libc_feresetround_sse_ctx): Likewise.
14638         (libc_feresetround_387_ctx): Likewise.
14639         (libc_feupdateenv_387_ctx): Likewise.
14640         (libc_feholdexcept_setroundf_ctx): Define macro.
14641         (libc_fesetenvf_ctx): Likewise.
14642         (libc_feupdateenvf_ctx): Likewise.
14643         (libc_feholdsetroundf_ctx): Likewise.
14644         (libc_feresetroundf_ctx): Likewise.
14645         (libc_feholdexcept_setround_ctx): Likewise.
14646         (libc_fesetenv_ctx): Likewise.
14647         (libc_feupdateenv_ctx): Likewise.
14648         (libc_feholdsetround_ctx): Likewise.
14649         (libc_feresetround_ctx): Likewise.
14650         (libc_feholdexcept_setroundl_ctx): Likewise.
14651         (libc_feupdateenvl_ctx): Likewise.
14652         (libc_feholdsetroundl_ctx): Likewise.
14653         (libc_feresetroundl_ctx): Likewise.
14654         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14655         (libc_feresetround_53bit_ctx): Likewise.
14657 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14659         * locale/iso-639.def: Convert to UTF-8.
14661 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14663         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14664         (EXCEPTION_TESTS_double): Likewise.
14665         (EXCEPTION_TESTS_long_double): Likewise.
14666         (EXCEPTION_TESTS): Likewise.
14667         * math/libm-test.inc (test_exceptions): Only test exceptions if
14668         EXCEPTION_TESTS (FLOAT).
14670 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14672         * benchtests/Makefile (string-bench): Add strcpy_chk and
14673         stpcpy_chk.
14674         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14675         * benchtests/bench-stpcpy_chk.c: New file.
14676         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14677         * benchtests/bench-strcpy_chk.c: New file.
14678         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14679         code.
14680         (do_test): Likewise.
14682 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14684         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14685         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14686         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14687         with tabs where appropriate.
14688         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14689         dl-procinfo.h.
14690         [PPC_PLATFORM_PPC440]: Likewise.
14691         [PPC_PLATFORM_PPC464]: Likewise.
14692         [PPC_PLATFORM_PPC476]: Likewise.
14693         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14694         ppc464, and ppc476 platform strings merging from ports/
14695         dl-procinfo.h.
14697 2013-06-11  Andreas Schwab  <schwab@suse.de>
14699         [BZ #14991]
14700         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14701         (from_ucs4_idx): Regenerate.
14702         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14703         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14704         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14705         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14706         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14707         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14708         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14709         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14710         from FROM_LOOP and TO_LOOP specific macros.
14711         (BODY): Handle combining characters.
14712         * iconvdata/BIG5HKSCS.irreversible: Update.
14713         * iconvdata/BIG5HKSCS.precomposed: New file.
14714         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14715         characters.
14716         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14718 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14720         * include/sys/time.h: Fix indentation and add copyright header.
14722         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14723         (do_test): Likewise.
14724         * string/test-memchr.c (do_one_test): Likewise.
14725         (do_test): Likewise.
14726         * string/test-memcmp.c (do_one_test): Likewise.
14727         (do_test): Likewise.
14728         * string/test-memcpy.c (do_one_test): Likewise.
14729         (do_test): Likewise.
14730         * string/test-memmem.c (do_one_test): Likewise.
14731         (do_test): Likewise.
14732         (do_random_tests): Likewise.
14733         * string/test-memmove.c (do_one_test): Likewise.
14734         (do_test): Likewise.
14735         * string/test-memset.c (do_one_test): Likewise.
14736         (do_test): Likewise.
14737         * string/test-rawmemchr.c (do_one_test): Likewise.
14738         (do_test): Likewise.
14739         * string/test-strcasecmp.c (do_one_test): Likewise.
14740         (do_test): Likewise.
14741         * string/test-strcasestr.c (do_one_test): Likewise.
14742         (do_test): Likewise.
14743         * string/test-strcat.c (do_one_test): Likewise.
14744         (do_test): Likewise.
14745         * string/test-strchr.c (do_one_test): Likewise.
14746         (do_test): Likewise.
14747         * string/test-strcmp.c (do_one_test): Likewise.
14748         (do_test): Likewise.
14749         * string/test-strcpy.c (do_one_test): Likewise.
14750         (do_test): Likewise.
14751         * string/test-string.h: Likewise.
14752         (test_init): Likewise.
14753         * string/test-strlen.c (do_one_test): Likewise.
14754         (do_test): Likewise.
14755         * string/test-strncasecmp.c (do_one_test): Likewise.
14756         (do_test): Likewise.
14757         * string/test-strncat.c (do_one_test): Likewise.
14758         (do_test): Likewise.
14759         * string/test-strncmp.c (do_one_test): Likewise.
14760         (do_test_limit): Likewise.
14761         (do_test): Likewise.
14762         * string/test-strncpy.c (do_one_test): Likewise.
14763         (do_test): Likewise.
14764         * string/test-strnlen.c (do_one_test): Likewise.
14765         (do_test): Likewise.
14766         * string/test-strpbrk.c (do_one_test): Likewise.
14767         (do_test): Likewise.
14768         * string/test-strrchr.c (do_one_test): Likewise.
14769         (do_test): Likewise.
14770         * string/test-strspn.c (do_one_test): Likewise.
14771         (do_test): Likewise.
14772         * string/test-strstr.c (do_one_test): Likewise.
14773         (do_test): Likewise.
14775         * benchtests/Makefile (string-bench): Add string benchmarks.
14776         * benchtests/bench-bcopy-ifunc.c: New file.
14777         * benchtests/bench-bcopy.c: New file.
14778         * benchtests/bench-bzero-ifunc.c: New file.
14779         * benchtests/bench-bzero.c: New file.
14780         * benchtests/bench-memccpy-ifunc.c: New file.
14781         * benchtests/bench-memccpy.c: New file.
14782         * benchtests/bench-memchr-ifunc.c: New file.
14783         * benchtests/bench-memchr.c: New file.
14784         * benchtests/bench-memcmp-ifunc.c: New file.
14785         * benchtests/bench-memcmp.c: New file.
14786         * benchtests/bench-memmem-ifunc.c: New file.
14787         * benchtests/bench-memmem.c: New file.
14788         * benchtests/bench-memmove-ifunc.c: New file.
14789         * benchtests/bench-memmove.c: New file.
14790         * benchtests/bench-mempcpy-ifunc.c: New file.
14791         * benchtests/bench-mempcpy.c: New file.
14792         * benchtests/bench-memset-ifunc.c: New file.
14793         * benchtests/bench-memset.c: New file.
14794         * benchtests/bench-rawmemchr-ifunc.c: New file.
14795         * benchtests/bench-rawmemchr.c: New file.
14796         * benchtests/bench-stpcpy-ifunc.c: New file.
14797         * benchtests/bench-stpcpy.c: New file.
14798         * benchtests/bench-stpncpy-ifunc.c: New file.
14799         * benchtests/bench-stpncpy.c: New file.
14800         * benchtests/bench-strcasecmp-ifunc.c: New file.
14801         * benchtests/bench-strcasecmp.c: New file.
14802         * benchtests/bench-strcasestr-ifunc.c: New file.
14803         * benchtests/bench-strcasestr.c: New file.
14804         * benchtests/bench-strcat-ifunc.c: New file.
14805         * benchtests/bench-strcat.c: New file.
14806         * benchtests/bench-strchr-ifunc.c: New file.
14807         * benchtests/bench-strchr.c: New file.
14808         * benchtests/bench-strchrnul-ifunc.c: New file.
14809         * benchtests/bench-strchrnul.c: New file.
14810         * benchtests/bench-strcmp-ifunc.c: New file.
14811         * benchtests/bench-strcmp.c: New file.
14812         * benchtests/bench-strcpy-ifunc.c: New file.
14813         * benchtests/bench-strcpy.c: New file.
14814         * benchtests/bench-strcspn-ifunc.c: New file.
14815         * benchtests/bench-strcspn.c: New file.
14816         * benchtests/bench-strlen-ifunc.c: New file.
14817         * benchtests/bench-strlen.c: New file.
14818         * benchtests/bench-strncasecmp-ifunc.c: New file.
14819         * benchtests/bench-strncasecmp.c: New file.
14820         * benchtests/bench-strncat-ifunc.c: New file.
14821         * benchtests/bench-strncat.c: New file.
14822         * benchtests/bench-strncmp-ifunc.c: New file.
14823         * benchtests/bench-strncmp.c: New file.
14824         * benchtests/bench-strncpy-ifunc.c: New file.
14825         * benchtests/bench-strncpy.c: New file.
14826         * benchtests/bench-strnlen-ifunc.c: New file.
14827         * benchtests/bench-strnlen.c: New file.
14828         * benchtests/bench-strpbrk-ifunc.c: New file.
14829         * benchtests/bench-strpbrk.c: New file.
14830         * benchtests/bench-strrchr-ifunc.c: New file.
14831         * benchtests/bench-strrchr.c: New file.
14832         * benchtests/bench-strspn-ifunc.c: New file.
14833         * benchtests/bench-strspn.c: New file.
14834         * benchtests/bench-strstr-ifunc.c: New file.
14835         * benchtests/bench-strstr.c: New file.
14837         * benchtests/Makefile: Disable parallel execution of targets.
14838         (string-bench): Add memcpy.
14839         (benchset): New variable to store a list of benchmark sets.
14840         (bench-func): Renamed from bench.
14841         (bench-set): New target.
14842         (bench): Depend on bench-func and bench-set.
14843         * benchtests/README: Add section on benchmark sets.
14844         * benchtests/bench-memcpy-ifunc.c: New file.
14845         * benchtests/bench-memcpy.c: New file.
14846         * benchtests/bench-string.h: New file.
14848 2013-06-11  Andreas Schwab  <schwab@suse.de>
14850         [BZ #15577]
14851         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14852         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14853         values in the triple.
14854         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14855         terminator in the group key.
14857 2013-06-11  Andreas Jaeger  <aj@suse.de>
14859         * po/zh_TW.po: Update Chinese (traditional) translation from
14860         translation project.
14862 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14864         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14865         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14866         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14868         (clock_getcpuclockid): Likewise.
14869         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14870         Add weak_alias and libc_hidden_def.
14871         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14872         * rt/clock_gettime.c (clock_gettime): Rename to
14873         __clock_gettime.  Add weak_alias and libc_hidden_def.
14874         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14875         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14876         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14877         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14878         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14879         Likewise.
14880         * rt/clock_settime.c (clock_settime): Rename to
14881         __clock_settime.  Add weak_alias and libc_hidden_def.
14882         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14884 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14886         * mach/err_boot.sub: Remove trailing whitespace.
14887         * mach/err_ipc.sub: Likewise.
14888         * mach/err_mach.sub: Likewise.
14890         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14891         (ROUNDING_TESTS_double): Likewise.
14892         (ROUNDING_TESTS_long_double): Likewise.
14893         (ROUNDING_TESTS): Likewise.
14894         * math/libm-test.inc: Include <math-tests.h>.
14895         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14896         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14897         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14898         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14900 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14902         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14903         of assigning.
14905 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14907         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14908         otherwise empty TRANS lines.
14909         * sysdeps/gnu/errlist.c: Regenerated.
14911         * catgets/gencat.c (error_print): Use (void) in function
14912         definition.
14913         * crypt/crypt_util.c (__init_des): Likewise.
14914         * crypt/speeds.c (Stop): Likewise.
14915         (main): Likewise.
14916         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14917         * inet/ruserpass.c (token): Likewise.
14918         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14919         * intl/localealias.c (extend_alias_table): Likewise.
14920         * intl/plural-exp.c (init_germanic_plural): Likewise.
14921         * libio/fcloseall.c (__fcloseall): Likewise.
14922         * libio/genops.c (_IO_flush_all): Likewise.
14923         (_IO_flush_all_linebuffered): Likewise.
14924         (_IO_cleanup): Likewise.
14925         (_IO_iter_begin): Likewise.
14926         (_IO_iter_end): Likewise.
14927         (_IO_list_lock): Likewise.
14928         (_IO_list_unlock): Likewise.
14929         (_IO_list_resetlock): Likewise.
14930         * libio/getchar.c (getchar): Likewise.
14931         * libio/getchar_u.c (getchar_unlocked): Likewise.
14932         * libio/getwchar.c (getwchar): Likewise.
14933         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14934         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14935         * login/getpt.c (__getpt): Likewise.
14936         * login/tst-utmp.c (main): Likewise.
14937         * malloc/hooks.c (__malloc_check_init): Likewise.
14938         * malloc/malloc.c (__malloc_stats): Likewise.
14939         * malloc/mtrace.c (tr_break): Likewise.
14940         (mtrace): Likewise.
14941         (muntrace): Likewise.
14942         * misc/fstab.c (endfsent): Likewise.
14943         * misc/getclktck.c (__getclktck): Likewise.
14944         * misc/getdtsz.c (__getdtablesize): Likewise.
14945         * misc/gethostid.c (gethostid): Likewise.
14946         * misc/getpagesize.c (__getpagesize): Likewise.
14947         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14948         (__get_nprocs): Likewise.
14949         (__get_phys_pages): Likewise.
14950         (__get_avphys_pages): Likewise.
14951         * misc/getttyent.c (getttyent): Likewise.
14952         (setttyent): Likewise.
14953         (endttyent): Likewise.
14954         * misc/getusershell.c (getusershell): Likewise.
14955         (endusershell): Likewise.
14956         (setusershell): Likewise.
14957         (initshells): Likewise.
14958         * misc/hsearch.c (__hdestroy): Likewise.
14959         * misc/sync.c (sync): Likewise.
14960         * misc/syslog.c (closelog_internal): Likewise.
14961         (closelog): Likewise.
14962         * misc/ttyslot.c (ttyslot): Likewise.
14963         * misc/vhangup.c (vhangup): Likewise.
14964         * posix/fork.c (__fork): Likewise.
14965         * posix/getegid.c (__getegid): Likewise.
14966         * posix/geteuid.c (__geteuid): Likewise.
14967         * posix/getgid.c (__getgid): Likewise.
14968         * posix/getpid.c (__getpid): Likewise.
14969         * posix/getppid.c (__getppid): Likewise.
14970         * posix/getuid.c (__getuid): Likewise.
14971         * posix/pause.c (pause): Likewise.
14972         * posix/setpgrp.c (setpgrp): Likewise.
14973         * posix/setsid.c (__setsid): Likewise.
14974         * posix/test-vfork.c (noop): Likewise.
14975         * resolv/gethnamaddr.c (_endhtent): Likewise.
14976         (_gethtent): Likewise.
14977         (ht_endhostent): Likewise.
14978         (gethostent): Likewise.
14979         (dns_service): Likewise.
14980         * stdlib/drand48.c (drand48): Likewise.
14981         * stdlib/lrand48.c (lrand48): Likewise.
14982         * stdlib/mrand48.c (mrand48): Likewise.
14983         * stdlib/rand.c (rand): Likewise.
14984         * stdlib/random.c (__random): Likewise.
14985         * stdlib/setenv.c (clearenv): Likewise.
14986         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14987         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14988         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14989         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14990         (__get_nprocs): Likewise.
14991         (__get_phys_pages): Likewise.
14992         (__get_avphys_pages): Likewise.
14993         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14994         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14995         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14996         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14997         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14998         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14999         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15000         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15001         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15002         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15003         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15004         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15005         * sysdeps/posix/clock.c (clock): Likewise.
15006         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15007         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15008         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15009         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15010         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15011         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15012         (__get_nprocs_conf): Likewise.
15013         (__get_phys_pages): Likewise.
15014         (__get_avphys_pages): Likewise.
15015         * time/clock.c (clock): Likewise.
15016         * time/tzset.c (__tzname_max): Likewise.
15018 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15020         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15021         (__bswap_32): Do not use "register".
15022         * crypt/crypt.c (_ufc_doit_r): Likewise.
15023         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15024         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15025         * gmon/gmon.c (__monstartup): Likewise.
15026         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15027         * hurd/hurdmalloc.c (more_memory): Likewise.
15028         (malloc): Likewise.
15029         (free): Likewise.
15030         (realloc): Likewise.
15031         (malloc_fork_prepare): Likewise.
15032         (malloc_fork_parent): Likewise.
15033         (malloc_fork_child): Likewise.
15034         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15035         (_svcauth_des): Likewise.
15036         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15037         * inet/inet_net.c (inet_network): Likewise.
15038         * inet/inet_netof.c (inet_netof): Likewise.
15039         * inet/rcmd.c (__validuser2_sa): Likewise.
15040         * io/fts.c (fts_open): Likewise.
15041         (fts_load): Likewise.
15042         (fts_close): Likewise.
15043         (fts_read): Likewise.
15044         (fts_children): Likewise.
15045         (fts_build): Likewise.
15046         (fts_stat): Likewise.
15047         (fts_sort): Likewise.
15048         (fts_alloc): Likewise.
15049         (fts_lfree): Likewise.
15050         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15051         (_IO_file_xsgetn): Likewise.
15052         (_IO_file_xsgetn_mmap): Likewise.
15053         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15054         (_IO_cookie_write): Likewise.
15055         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15056         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15057         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15058         * malloc/obstack.c (_obstack_begin): Likewise.
15059         (_obstack_begin_1): Likewise.
15060         (_obstack_newchunk): Likewise.
15061         (_obstack_allocated_p): Likewise.
15062         (obstack_free): Likewise.
15063         (_obstack_memory_used): Likewise.
15064         * misc/getttyent.c (getttynam): Likewise.
15065         (getttyent): Likewise.
15066         (skip): Likewise.
15067         (value): Likewise.
15068         * misc/getusershell.c (initshells): Likewise.
15069         * misc/syslog.c (__vsyslog_chk): Likewise.
15070         * misc/ttyslot.c (ttyslot): Likewise.
15071         * nis/nis_hash.c (__nis_hash): Likewise.
15072         * posix/fnmatch_loop.c (FCT): Likewise.
15073         * posix/getconf.c (print_all): Likewise.
15074         (main): Likewise.
15075         * posix/getopt.c (exchange): Likewise.
15076         * posix/glob.c (globfree): Likewise.
15077         (prefix_array): Likewise.
15078         (__glob_pattern_type): Likewise.
15079         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15080         (NS_GET32): Likewise.
15081         (NS_PUT16): Likewise.
15082         (NS_PUT32): Likewise.
15083         * resolv/gethnamaddr.c (getanswer): Likewise.
15084         (gethostbyname2): Likewise.
15085         (gethostbyaddr): Likewise.
15086         (_gethtent): Likewise.
15087         (_gethtbyname2): Likewise.
15088         (_gethtbyaddr): Likewise.
15089         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15090         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15091         * resolv/res_init.c (__res_vinit): Likewise.
15092         (net_mask): Likewise.
15093         * resolv/res_mkquery.c (outchar): Likewise.
15094         (PRINT): Likewise.
15095         * stdio-common/printf_fp.c (outchar): Likewise.
15096         (PRINT): Likewise.
15097         * stdio-common/printf_fphex.c (outchar): Likewise.
15098         (PRINT): Likewise.
15099         * stdio-common/printf_size.c (outchar): Likewise.
15100         (PRINT): Likewise.
15101         * stdio-common/test_rdwr.c (main): Likewise.
15102         * stdio-common/tfformat.c (matches): Likewise.
15103         * stdio-common/vfprintf.c (outchar): Likewise.
15104         (printf_unknown): Likewise.
15105         (buffered_vfprintf): Likewise.
15106         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15107         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15108         (ReadFile): Likewise.
15109         * stdlib/qsort.c (SWAP): Likewise.
15110         (_quicksort): Likewise.
15111         * stdlib/setenv.c (__add_to_environ): Likewise.
15112         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15113         * stdlib/strtol_l.c (__strtol_l): Likewise.
15114         * stdlib/tst-strtod.c (main): Likewise.
15115         * stdlib/tst-strtol.c (main): Likewise.
15116         * stdlib/tst-strtoll.c (main): Likewise.
15117         * string/bits/string2.h (__strcmp_cc): Likewise.
15118         (__strcmp_cg): Likewise.
15119         (__strcspn_c1): Likewise.
15120         (__strcspn_c2): Likewise.
15121         (__strcspn_c3): Likewise.
15122         (__strspn_c1): Likewise.
15123         (__strspn_c2): Likewise.
15124         (__strspn_c3): Likewise.
15125         (__strsep_1c): Likewise.
15126         (__strsep_2c): Likewise.
15127         (__strsep_3c): Likewise.
15128         * string/memccpy.c (__memccpy): Likewise.
15129         * string/stpcpy.c (__stpcpy): Likewise.
15130         * string/strcmp.c (strcmp): Likewise.
15131         * string/strrchr.c (strrchr): Likewise.
15132         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15133         Likewise.
15134         * sysdeps/mach/hurd/getcwd.c
15135         (_hurd_canonicalize_directory_name_internal): Likewise.
15136         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15137         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15138         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15139         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15140         Likewise, in both definitions.
15141         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15142         definitions.
15143         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15144         64] (__bswap_64): Likewise.
15145         * time/test_time.c (main): Likewise.
15146         * time/tzfile.c (__tzfile_read): Likewise.
15147         (__tzfile_compute): Likewise.
15148         * time/tzset.c (__tzset_parse_tz): Likewise.
15149         (tzset_internal): Likewise.
15150         (compute_change): Likewise.
15151         * wcsmbs/wcscat.c (__wcscat): Likewise.
15152         * wcsmbs/wcschr.c (wcschr): Likewise.
15153         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15154         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15155         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15156         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15157         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15158         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15159         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15160         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15161         * wcsmbs/wmemset.c (wmemset): Likewise.
15163 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15165         * scripts/config.guess: Update to version 2013-05-16.
15166         * scripts/config.sub: Update to version 2013-04-24.
15167         * scripts/install-sh: Update to version 2011-11-20.07.
15168         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15169         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15171 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15173         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15174         * elf/sln.c: Likewise.
15175         * hurd/hurd/ioctl.h: Likewise.
15176         * hurd/hurdmalloc.c: Likewise.
15177         * hurd/xattr.c: Likewise.
15178         * include/shlib-compat.h: Likewise.
15179         * inet/ruserpass.c: Likewise.
15180         * libio/iofgets_u.c: Likewise.
15181         * libio/iofgetws_u.c: Likewise.
15182         * locale/programs/ld-identification.c: Likewise.
15183         * locale/programs/ld-time.c: Likewise.
15184         * mach/msg-destroy.c: Likewise.
15185         * nss/nss_files/files-netgrp.c: Likewise.
15186         * resolv/res_data.c: Likewise.
15187         * soft-fp/op-1.h: Likewise.
15188         * soft-fp/op-2.h: Likewise.
15189         * soft-fp/op-4.h: Likewise.
15190         * soft-fp/op-common.h: Likewise.
15191         * stdio-common/printf_fphex.c: Likewise.
15192         * stdlib/strtod_l.c: Likewise.
15193         * sunrpc/rpc/clnt.h: Likewise.
15194         * sysdeps/generic/framestate.c: Likewise.
15195         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15196         * sysdeps/i386/bsd-setjmp.S: Likewise.
15197         * sysdeps/i386/__longjmp.S: Likewise.
15198         * sysdeps/i386/setjmp.S: Likewise.
15199         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15200         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15201         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15202         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15203         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15205         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15208         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15209         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15210         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15211         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15212         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15213         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15214         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15215         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15216         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15217         * sysdeps/ieee754/support.c: Likewise.
15218         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15219         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15220         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15221         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15222         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15223         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15224         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15225         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15226         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15227         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15228         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15229         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15230         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15231         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15232         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15233         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15234         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15237 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15239         * posix/transbug.c: Remove executable mode.
15241 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15243         * crypt/speeds.c: Remove trailing whitespace.
15244         * dlfcn/default.c: Likewise.
15245         * elf/ifuncdep2.c: Likewise.
15246         * elf/ifuncmain1.c: Likewise.
15247         * elf/ifuncmain1vis.c: Likewise.
15248         * elf/testobj.h: Likewise.
15249         * elf/tst-stackguard1.c: Likewise.
15250         * gmon/sys/gmon.h: Likewise.
15251         * hurd/hurdmsg.c: Likewise.
15252         * hurd/new-fd.c: Likewise.
15253         * hurd/ports-get.c: Likewise.
15254         * iconvdata/ibm1008_420.c: Likewise.
15255         * inet/tst-getni1.c: Likewise.
15256         * inet/tst-getni2.c: Likewise.
15257         * libio/ioungetc.c: Likewise.
15258         * libio/wfiledoalloc.c: Likewise.
15259         * manual/libm-err-tab.pl: Likewise.
15260         * math/w_dremf.c: Likewise.
15261         * misc/ftruncate.c: Likewise.
15262         * posix/bug-glob2.c: Likewise.
15263         * posix/tst-pcre.c: Likewise.
15264         * posix/wait4.c: Likewise.
15265         * resolv/README: Likewise.
15266         * resolv/res_debug.h: Likewise.
15267         * resolv/tst-inet_ntop.c: Likewise.
15268         * setjmp/bug269-setjmp.c: Likewise.
15269         * soft-fp/extended.h: Likewise.
15270         * soft-fp/op-1.h: Likewise.
15271         * soft-fp/op-2.h: Likewise.
15272         * soft-fp/op-4.h: Likewise.
15273         * soft-fp/op-8.h: Likewise.
15274         * soft-fp/testit.c: Likewise.
15275         * stdio-common/bug16.c: Likewise.
15276         * stdlib/random.c: Likewise.
15277         * sunrpc/rpcsvc/rquota.x: Likewise.
15278         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15283         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15284         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15285         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15286         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15287         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15288         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15289         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15290         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15291         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15293         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15294         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15295         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15296         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15299         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15300         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15301         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15302         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15304         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15305         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15307         * sysdeps/ieee754/s_lib_version.c: Likewise.
15308         * sysdeps/mach/hurd/check_fds.c: Likewise.
15309         * sysdeps/mach/hurd/getsockname.c: Likewise.
15310         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15311         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15312         * sysdeps/powerpc/bits/link.h: Likewise.
15313         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15314         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15315         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15316         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15317         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15318         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15319         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15320         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15321         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15322         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15323         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15324         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15325         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15326         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15327         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15328         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15329         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15330         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15331         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15333         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15334         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15336         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15337         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15338         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15339         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15340         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15341         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15342         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15343         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15344         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15345         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15346         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15347         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15348         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15349         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15350         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15351         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15352         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15353         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15354         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15355         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15356         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15357         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15358         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15359         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15360         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15361         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15362         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15365         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15366         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15367         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15368         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15369         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15370         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15371         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15372         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15373         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15374         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15375         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15376         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15377         * sysdeps/powerpc/sysdep.h: Likewise.
15378         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15379         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15380         * sysdeps/sh/dl-trampoline.S: Likewise.
15381         * sysdeps/sh/memset.S: Likewise.
15382         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15383         * sysdeps/sh/strlen.S: Likewise.
15384         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15385         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15386         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15387         * sysdeps/sparc/sparc32/rem.S: Likewise.
15388         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15389         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15390         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15391         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15392         * sysdeps/sparc/sparc32/urem.S: Likewise.
15393         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15394         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15395         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15396         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15397         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15398         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15399         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15400         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15401         * sysdeps/unix/bsd/times.c: Likewise.
15402         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15403         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15407         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15408         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15409         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15410         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15411         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15412         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15413         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15414         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15415         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15416         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15417         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15418         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15419         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15420         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15421         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15422         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15423         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15424         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15425         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15426         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15427         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15428         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15429         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15430         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15431         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15432         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15433         * sysdeps/x86_64/strcspn.S: Likewise.
15435 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15437         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15438         generated file.  Regenerate properly from gen-translit.pl.
15439         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15440         locale/C-translit.h.
15442 2013-06-05  Andreas Schwab  <schwab@suse.de>
15444         [BZ #15100]
15445         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15446         week as 6 instead of -1.
15447         * time/tst-strptime.c (day_tests): Add test case.
15449 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15451         * sysdeps/generic/math_private.h
15452         (libc_feholdexcept_setround_53bit): Replace with
15453         libc_feholdsetround_53bit.
15454         (libc_feupdateenv_53bit): Replace with
15455         libc_feresetround_53bit.
15456         (SET_RESTORE_ROUND_53BIT): Adjust.
15458 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15460         * string/test-strchrnul.c: Add copyright header.
15462         * posix/tst-getaddrinfo4.c: Increase test timeout.
15464 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15466         [BZ #15536]
15467         * math/libm-test.inc (MAX_EXP): Remove
15468         (MIN_EXP): Define.
15469         (ulp): Use MIN_EXP - MANT_DIG.
15470         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15472 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15474         * po/be.po: Revert last change.
15475         * po/zh_CN.po: Likewise.
15476         * po/header.pot: Likewise.
15478 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15480         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15481         link-libc-deps to empty as target-specific variable.
15482         * Makerules (link-libc-args): New variable.
15483         (libc-for-link): Likewise.
15484         (link-libc-deps): Likewise.
15485         (lib%.so): Depend on $(link-libc-deps).  Link with
15486         $(link-libc-args).
15487         (build-module): Link with $(link-libc-args).
15488         (build-module-asneeded): Likewise.
15489         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15490         list of objects.
15491         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15492         target-specific variable.
15493         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15494         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15495         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15496         libc.
15497         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15498         libc and ld.so.
15499         ($(objpfx)libpcprofile.so): Likewise.
15500         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15501         libc_nonshared.a.
15502         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15503         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15504         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15505         $(link-libc-deps).
15506         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15507         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15508         * login/Makefile ($(objpfx)libutil.so): Likewise.
15509         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15510         * math/Makefile ($(objpfx)libm.so): Likewise.
15511         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15512         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15513         variable instead of depending directly on libc.
15514         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15515         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15516         $(link-libc-deps).
15517         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15518         libc.
15519         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15520         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15521         ($(objpfx)libanl.so): Likewise.
15522         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15523         ld.so.
15524         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15525         $(link-libc-deps).
15526         * sysdeps/i386/fpu/Makefile: Remove file.
15527         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15528         ($(objpfx)libm.so): Remove dependency on ld.so.
15530 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15532         [BZ # 15553]
15533         * nis/yp_xdr.c (XDRMAXNAME): Define.
15534         (XDRMAXRECORD): Define.
15535         (xdr_domainname): Use XDRMAXNAME.
15536         (xdr_mapname): Likewise.
15537         (xdr_peername): Likewise.
15538         (xdr_keydat): Use XDRMAXRECORD.
15539         (xdr_valdat): Likewise.
15541 2013-05-30  Jeff Law  <law@redhat.com>
15543         [BZ #14256]
15544         * manual/errno.texi (ESTALE): Update to account for more than
15545         just NFS file systems.
15546         * sysdeps/gnu/errlist.c: Regenerated.
15548 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15550         [BZ #15465]
15551         * elf/Makefile (tests): Add tst-null-argv.
15552         (modules-names):  Add tst-null-argv-lib.
15553         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15554         (tst-null-argv-ENV): Set environment for tst-null-argv.
15555         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15556         (RTLD_PROGNAME): New macro.
15557         * elf/tst-null-argv.c: New test case.
15558         * elf/tst-null-argv-lib.c: Library for test case.
15559         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15560         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15561         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15562         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15563         * elf/dl-init.c (call_init): Likewise.
15564         (_dl_init): Likewise.
15565         * elf/dl-load.c (print_search_path): Likewise.
15566         (_dl_map_object): Likewise.
15567         * elf/dl-lookup.c (do_lookup_x): Likewise.
15568         (add_dependency): Likewise.
15569         (_dl_lookup_symbol_x): Likewise.
15570         (_dl_debug_bindings): Likewise.
15571         * elf/dl-open.c (_dl_show_scope): Likewise.
15572         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15573         * elf/dl-version.c (match_symbol): Likewise.
15574         (_dl_check_map_versions): Likewise.
15575         * elf/rtld.c (dl_main): Likewise.
15576         (print_unresolved): Use RTLD_PROGNAME.
15577         (print_missing_version): Likewise.
15578         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15579         (elf_machine_rela): Likewise.
15580         * sysdeps/powerpc/powerpc32/dl-machine.c
15581         (__process_machine_rela): Likewise.
15582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15583         Likewise.
15584         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15585         Likewise.
15586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15587         Likewise.
15588         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15589         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15590         Likewise.
15591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15592         Likewise.
15593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15595 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15597         * po/be.po: Add descriptive title.
15598         * po/zh_CN.po: Likewise.
15599         * po/header.pot: Likewise.
15601 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15603         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15604         error message.
15605         (enlarge_archive): Likewise.
15607 2013-05-28  Ben North  <ben@redfrontdoor.org>
15609         * manual/arith.texi (frexp): It is the magnitude of the return
15610         value which lies in [0.5, 1), not the return value itself.
15612 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15616 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15618         * stdio-common/bug26.c (main): Correct fscanf template.
15620         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15621         declare _dl_skip_args.
15623         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15624         Don't declare.
15626         * manual/platform.texi: Add missing @end deftypefun.
15628 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15630         [BZ #15529]
15631         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15632         bit of mantissa of 2^16382.
15633         * math/libm-test.inc (hypot_test_data): Add more tests.
15635         * math/libm-test.inc: Add drem and pow10 to list of tested
15636         functions.
15637         (pow10_test): New function.
15638         (drem_test): Likewise.
15639         (drem_test_tonearest): Likewise.
15640         (drem_test_towardzero): Likewise.
15641         (drem_test_downward): Likewise.
15642         (drem_test_upward): Likewise.
15643         (main): Call the new functions.
15645         * math/libm-test.inc (finite_test_data): Remove.
15646         (finite_test): Run tests from isfinite_test_data.
15647         (gamma_test_data): Remove.
15648         (gamma_test): Run tests from lgamma_test_data.
15649         * sysdeps/i386/fpu/libm-test-ulps: Update.
15650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15652 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654         * manual/platform.texi: Add PowerPC PPR function set documentation.
15655         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15656         implementation.
15658 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15660         * math/libm-test.inc (MAX_EXP): Define.
15661         (ULPDIFF): Define.
15662         (ulp): New function.
15663         (check_float_internal): Use ULPDIFF.
15664         (cpow_test): Disable failing test.
15665         (check_ulp): Test ulp() implemetnation.
15666         (main): Call check_ulp before starting tests.
15668 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15670         * math/gen-libm-test.pl (generate_testfile): Do not handle
15671         START_DATA and END_DATA.
15672         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15673         END_DATA.
15674         (acos_tonearest_test_data): Likewise.
15675         (acos_towardzero_test_data): Likewise.
15676         (acos_downward_test_data): Likewise.
15677         (acos_upward_test_data): Likewise.
15678         (acosh_test_data): Likewise.
15679         (asin_test_data): Likewise.
15680         (asin_tonearest_test_data): Likewise.
15681         (asin_towardzero_test_data): Likewise.
15682         (asin_downward_test_data): Likewise.
15683         (asin_upward_test_data): Likewise.
15684         (asinh_test_data): Likewise.
15685         (atan_test_data): Likewise.
15686         (atanh_test_data): Likewise.
15687         (atan2_test_data): Likewise.
15688         (cabs_test_data): Likewise.
15689         (cacos_test_data): Likewise.
15690         (cacosh_test_data): Likewise.
15691         (carg_test_data): Likewise.
15692         (casin_test_data): Likewise.
15693         (casinh_test_data): Likewise.
15694         (catan_test_data): Likewise.
15695         (catanh_test_data): Likewise.
15696         (cbrt_test_data): Likewise.
15697         (ccos_test_data): Likewise.
15698         (ccosh_test_data): Likewise.
15699         (ceil_test_data): Likewise.
15700         (cexp_test_data): Likewise.
15701         (cimag_test_data): Likewise.
15702         (clog_test_data): Likewise.
15703         (clog10_test_data): Likewise.
15704         (conj_test_data): Likewise.
15705         (copysign_test_data): Likewise.
15706         (cos_test_data): Likewise.
15707         (cos_tonearest_test_data): Likewise.
15708         (cos_towardzero_test_data): Likewise.
15709         (cos_downward_test_data): Likewise.
15710         (cos_upward_test_data): Likewise.
15711         (cosh_test_data): Likewise.
15712         (cosh_tonearest_test_data): Likewise.
15713         (cosh_towardzero_test_data): Likewise.
15714         (cosh_downward_test_data): Likewise.
15715         (cosh_upward_test_data): Likewise.
15716         (cpow_test_data): Likewise.
15717         (cproj_test_data): Likewise.
15718         (creal_test_data): Likewise.
15719         (csin_test_data): Likewise.
15720         (csinh_test_data): Likewise.
15721         (csqrt_test_data): Likewise.
15722         (ctan_test_data): Likewise.
15723         (ctan_tonearest_test_data): Likewise.
15724         (ctan_towardzero_test_data): Likewise.
15725         (ctan_downward_test_data): Likewise.
15726         (ctan_upward_test_data): Likewise.
15727         (ctanh_test_data): Likewise.
15728         (ctanh_tonearest_test_data): Likewise.
15729         (ctanh_towardzero_test_data): Likewise.
15730         (ctanh_downward_test_data): Likewise.
15731         (ctanh_upward_test_data): Likewise.
15732         (erf_test_data): Likewise.
15733         (erfc_test_data): Likewise.
15734         (exp_test_data): Likewise.
15735         (exp_tonearest_test_data): Likewise.
15736         (exp_towardzero_test_data): Likewise.
15737         (exp_downward_test_data): Likewise.
15738         (exp_upward_test_data): Likewise.
15739         (exp10_test_data): Likewise.
15740         (exp2_test_data): Likewise.
15741         (expm1_test_data): Likewise.
15742         (fabs_test_data): Likewise.
15743         (fdim_test_data): Likewise.
15744         (finite_test_data): Likewise.
15745         (floor_test_data): Likewise.
15746         (fma_test_data): Likewise.
15747         (fma_towardzero_test_data): Likewise.
15748         (fma_downward_test_data): Likewise.
15749         (fma_upward_test_data): Likewise.
15750         (fmax_test_data): Likewise.
15751         (fmin_test_data): Likewise.
15752         (fmod_test_data): Likewise.
15753         (fpclassify_test_data): Likewise.
15754         (frexp_test_data): Likewise.
15755         (gamma_test_data): Likewise.
15756         (hypot_test_data): Likewise.
15757         (ilogb_test_data): Likewise.
15758         (isfinite_test_data): Likewise.
15759         (isgreater_test_data): Likewise.
15760         (isgreaterequal_test_data): Likewise.
15761         (isinf_test_data): Likewise.
15762         (isless_test_data): Likewise.
15763         (islessequal_test_data): Likewise.
15764         (islessgreater_test_data): Likewise.
15765         (isnan_test_data): Likewise.
15766         (isnormal_test_data): Likewise.
15767         (issignaling_test_data): Likewise.
15768         (isunordered_test_data): Likewise.
15769         (j0_test_data): Likewise.
15770         (j1_test_data): Likewise.
15771         (jn_test_data): Likewise.
15772         (ldexp_test_data): Likewise.
15773         (lgamma_test_data): Likewise.
15774         (lrint_test_data): Likewise.
15775         (lrint_tonearest_test_data): Likewise.
15776         (lrint_towardzero_test_data): Likewise.
15777         (lrint_downward_test_data): Likewise.
15778         (lrint_upward_test_data): Likewise.
15779         (llrint_test_data): Likewise.
15780         (llrint_tonearest_test_data): Likewise.
15781         (llrint_towardzero_test_data): Likewise.
15782         (llrint_downward_test_data): Likewise.
15783         (llrint_upward_test_data): Likewise.
15784         (log_test_data): Likewise.
15785         (log10_test_data): Likewise.
15786         (log1p_test_data): Likewise.
15787         (log2_test_data): Likewise.
15788         (logb_test_data): Likewise.
15789         (logb_downward_test_data): Likewise.
15790         (lround_test_data): Likewise.
15791         (llround_test_data): Likewise.
15792         (modf_test_data): Likewise.
15793         (nearbyint_test_data): Likewise.
15794         (nextafter_test_data): Likewise.
15795         (nexttoward_test_data): Likewise.
15796         (pow_test_data): Likewise.
15797         (pow_tonearest_test_data): Likewise.
15798         (pow_towardzero_test_data): Likewise.
15799         (pow_downward_test_data): Likewise.
15800         (pow_upward_test_data): Likewise.
15801         (remainder_test_data): Likewise.
15802         (remainder_tonearest_test_data): Likewise.
15803         (remainder_towardzero_test_data): Likewise.
15804         (remainder_downward_test_data): Likewise.
15805         (remainder_upward_test_data): Likewise.
15806         (remquo_test_data): Likewise.
15807         (rint_test_data): Likewise.
15808         (rint_tonearest_test_data): Likewise.
15809         (rint_towardzero_test_data): Likewise.
15810         (rint_downward_test_data): Likewise.
15811         (rint_upward_test_data): Likewise.
15812         (round_test_data): Likewise.
15813         (scalb_test_data): Likewise.
15814         (scalbn_test_data): Likewise.
15815         (scalbln_test_data): Likewise.
15816         (signbit_test_data): Likewise.
15817         (sin_test_data): Likewise.
15818         (sin_tonearest_test_data): Likewise.
15819         (sin_towardzero_test_data): Likewise.
15820         (sin_downward_test_data): Likewise.
15821         (sin_upward_test_data): Likewise.
15822         (sincos_test_data): Likewise.
15823         (sinh_test_data): Likewise.
15824         (sinh_tonearest_test_data): Likewise.
15825         (sinh_towardzero_test_data): Likewise.
15826         (sinh_downward_test_data): Likewise.
15827         (sinh_upward_test_data): Likewise.
15828         (sqrt_test_data): Likewise.
15829         (tan_test_data): Likewise.
15830         (tan_tonearest_test_data): Likewise.
15831         (tan_towardzero_test_data): Likewise.
15832         (tan_downward_test_data): Likewise.
15833         (tan_upward_test_data): Likewise.
15834         (tanh_test_data): Likewise.
15835         (tgamma_test_data): Likewise.
15836         (trunc_test_data): Likewise.
15837         (y0_test_data): Likewise.
15838         (y1_test_data): Likewise.
15839         (yn_test_data): Likewise.
15840         (significand_test_data): Likewise.
15842         * math/gen-libm-test.pl (@functions): Remove variable.
15843         (generate_testfile): Don't handle START and END lines.
15844         * math/libm-test.inc (START): New macro.
15845         (END): Likewise.
15846         (END_COMPLEX): Likewise.
15847         (acos_test): Use END macro without arguments.
15848         (acos_test_tonearest): Likewise.
15849         (acos_test_towardzero): Likewise.
15850         (acos_test_downward): Likewise.
15851         (acos_test_upward): Likewise.
15852         (acosh_test): Likewise.
15853         (asin_test): Likewise.
15854         (asin_test_tonearest): Likewise.
15855         (asin_test_towardzero): Likewise.
15856         (asin_test_downward): Likewise.
15857         (asin_test_upward): Likewise.
15858         (asinh_test): Likewise.
15859         (atan_test): Likewise.
15860         (atanh_test): Likewise.
15861         (atan2_test): Likewise.
15862         (cabs_test): Likewise.
15863         (cacos_test): Use END_COMPLEX macro without arguments.
15864         (cacosh_test): Likewise.
15865         (carg_test): Use END macro without arguments.
15866         (casin_test): Use END_COMPLEX macro without arguments.
15867         (casinh_test): Likewise.
15868         (catan_test): Likewise.
15869         (catanh_test): Likewise.
15870         (cbrt_test): Use END macro without arguments.
15871         (ccos_test): Use END_COMPLEX macro without arguments.
15872         (ccosh_test): Likewise.
15873         (ceil_test): Use END macro without arguments.
15874         (cexp_test): Use END_COMPLEX macro without arguments.
15875         (cimag_test): Use END macro without arguments.
15876         (clog_test): Use END_COMPLEX macro without arguments.
15877         (clog10_test): Likewise.
15878         (conj_test): Likewise.
15879         (copysign_test): Use END macro without arguments.
15880         (cos_test): Likewise.
15881         (cos_test_tonearest): Likewise.
15882         (cos_test_towardzero): Likewise.
15883         (cos_test_downward): Likewise.
15884         (cos_test_upward): Likewise.
15885         (cosh_test): Likewise.
15886         (cosh_test_tonearest): Likewise.
15887         (cosh_test_towardzero): Likewise.
15888         (cosh_test_downward): Likewise.
15889         (cosh_test_upward): Likewise.
15890         (cpow_test): Use END_COMPLEX macro without arguments.
15891         (cproj_test): Likewise.
15892         (creal_test): Use END macro without arguments.
15893         (csin_test): Use END_COMPLEX macro without arguments.
15894         (csinh_test): Likewise.
15895         (csqrt_test): Likewise.
15896         (ctan_test): Likewise.
15897         (ctan_test_tonearest): Likewise.
15898         (ctan_test_towardzero): Likewise.
15899         (ctan_test_downward): Likewise.
15900         (ctan_test_upward): Likewise.
15901         (ctanh_test): Likewise.
15902         (ctanh_test_tonearest): Likewise.
15903         (ctanh_test_towardzero): Likewise.
15904         (ctanh_test_downward): Likewise.
15905         (ctanh_test_upward): Likewise.
15906         (erf_test): Use END macro without arguments.
15907         (erfc_test): Likewise.
15908         (exp_test): Likewise.
15909         (exp_test_tonearest): Likewise.
15910         (exp_test_towardzero): Likewise.
15911         (exp_test_downward): Likewise.
15912         (exp_test_upward): Likewise.
15913         (exp10_test): Likewise.
15914         (exp2_test): Likewise.
15915         (expm1_test): Likewise.
15916         (fabs_test): Likewise.
15917         (fdim_test): Likewise.
15918         (finite_test): Likewise.
15919         (floor_test): Likewise.
15920         (fma_test): Likewise.
15921         (fma_test_towardzero): Likewise.
15922         (fma_test_downward): Likewise.
15923         (fma_test_upward): Likewise.
15924         (fmax_test): Likewise.
15925         (fmin_test): Likewise.
15926         (fmod_test): Likewise.
15927         (fpclassify_test): Likewise.
15928         (frexp_test): Likewise.
15929         (gamma_test): Likewise.
15930         (hypot_test): Likewise.
15931         (ilogb_test): Likewise.
15932         (isfinite_test): Likewise.
15933         (isgreater_test): Likewise.
15934         (isgreaterequal_test): Likewise.
15935         (isinf_test): Likewise.
15936         (isless_test): Likewise.
15937         (islessequal_test): Likewise.
15938         (islessgreater_test): Likewise.
15939         (isnan_test): Likewise.
15940         (isnormal_test): Likewise.
15941         (issignaling_test): Likewise.
15942         (isunordered_test): Likewise.
15943         (j0_test): Likewise.
15944         (j1_test): Likewise.
15945         (jn_test): Likewise.
15946         (ldexp_test): Likewise.
15947         (lgamma_test): Likewise.
15948         (lrint_test): Likewise.
15949         (lrint_test_tonearest): Likewise.
15950         (lrint_test_towardzero): Likewise.
15951         (lrint_test_downward): Likewise.
15952         (lrint_test_upward): Likewise.
15953         (llrint_test): Likewise.
15954         (llrint_test_tonearest): Likewise.
15955         (llrint_test_towardzero): Likewise.
15956         (llrint_test_downward): Likewise.
15957         (llrint_test_upward): Likewise.
15958         (log_test): Likewise.
15959         (log10_test): Likewise.
15960         (log1p_test): Likewise.
15961         (log2_test): Likewise.
15962         (logb_test): Likewise.
15963         (logb_test_downward): Likewise.
15964         (lround_test): Likewise.
15965         (llround_test): Likewise.
15966         (modf_test): Likewise.
15967         (nearbyint_test): Likewise.
15968         (nextafter_test): Likewise.
15969         (nexttoward_test): Likewise.
15970         (pow_test): Likewise.
15971         (pow_test_tonearest): Likewise.
15972         (pow_test_towardzero): Likewise.
15973         (pow_test_downward): Likewise.
15974         (pow_test_upward): Likewise.
15975         (remainder_test): Likewise.
15976         (remainder_test_tonearest): Likewise.
15977         (remainder_test_towardzero): Likewise.
15978         (remainder_test_downward): Likewise.
15979         (remainder_test_upward): Likewise.
15980         (remquo_test): Likewise.
15981         (rint_test): Likewise.
15982         (rint_test_tonearest): Likewise.
15983         (rint_test_towardzero): Likewise.
15984         (rint_test_downward): Likewise.
15985         (rint_test_upward): Likewise.
15986         (round_test): Likewise.
15987         (scalb_test): Likewise.
15988         (scalbn_test): Likewise.
15989         (scalbln_test): Likewise.
15990         (signbit_test): Likewise.
15991         (sin_test): Likewise.
15992         (sin_test_tonearest): Likewise.
15993         (sin_test_towardzero): Likewise.
15994         (sin_test_downward): Likewise.
15995         (sin_test_upward): Likewise.
15996         (sincos_test): Likewise.
15997         (sinh_test): Likewise.
15998         (sinh_test_tonearest): Likewise.
15999         (sinh_test_towardzero): Likewise.
16000         (sinh_test_downward): Likewise.
16001         (sinh_test_upward): Likewise.
16002         (sqrt_test): Likewise.
16003         (tan_test): Likewise.
16004         (tan_test_tonearest): Likewise.
16005         (tan_test_towardzero): Likewise.
16006         (tan_test_downward): Likewise.
16007         (tan_test_upward): Likewise.
16008         (tanh_test): Likewise.
16009         (tgamma_test): Likewise.
16010         (trunc_test): Likewise.
16011         (y0_test): Likewise.
16012         (y1_test): Likewise.
16013         (yn_test): Likewise.
16014         (significand_test): Likewise.
16016 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16018         [BZ #15381]
16019         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16021 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16023         [BZ #14894]
16024         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16025         __ppc_mdoio and __ppc_mdoom.
16026         * manual/platform.texi: Document new functions __ppc_yield,
16027         __ppc_mdoio and __ppc_mdoom.
16029 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16031         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16032         (main): Mention "tls" pseudo-hwcap is legacy.
16033         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16037         * math/gen-libm-test.pl (parse_args): Output only string of
16038         arguments as text for test name, not full call or descriptions of
16039         tests for extra outputs.
16040         (generate_testfile): Do not pass function name to parse_args.
16041         Generate this_func variable from START.
16042         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16043         field to arg_str.
16044         (struct test_ff_f_data): Likewise.
16045         (test_ff_f_data_nexttoward): Likewise.
16046         (struct test_fi_f_data): Likewise.
16047         (struct test_fl_f_data): Likewise.
16048         (struct test_if_f_data): Likewise.
16049         (struct test_fff_f_data): Likewise.
16050         (struct test_c_f_data): Likewise.
16051         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16052         (struct test_fF_f1_data): Likewise.
16053         (struct test_ffI_f1_data): Likewise.
16054         (struct test_c_c_data): Rename test_name field to arg_str.
16055         (struct test_cc_c_data): Likewise.
16056         (struct test_f_i_data): Likewise.
16057         (struct test_ff_i_data): Likewise.
16058         (struct test_f_l_data): Likewise.
16059         (struct test_f_L_data): Likewise.
16060         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16061         and extra2_name.
16062         (COMMON_TEST_SETUP): New macro.
16063         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16064         (COMMON_TEST_CLEANUP): Likewise.
16065         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16066         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16067         macros.
16068         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16069         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16070         macros.
16071         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16072         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16073         cleanup macros.
16074         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16075         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16076         macros.
16077         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16078         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16079         macros.
16080         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16081         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16082         cleanup macros.
16083         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16084         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16085         cleanup macros.
16086         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16087         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16088         cleanup macros.
16089         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16090         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16091         macros.
16092         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16093         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16094         macros.
16095         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16096         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16097         macros.
16098         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16099         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16100         cleanup macros.
16101         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16102         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16103         cleanup macros.
16104         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16105         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16106         macros.
16107         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16108         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16109         cleanup macros.
16110         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16111         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16112         macros.
16113         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16114         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16115         macros.
16116         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16117         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16118         cleanup macros.
16119         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16121 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16123         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16124         to _sifields.sigfault.
16125         (si_addr_lsb): Define new macro.
16126         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16128         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16130 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16132         [BZ #15441]
16133         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16134         returns -1.
16135         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16136         null return -1.
16137         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16138         loading the domain.
16140 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16142         * math/gen-libm-test.pl (parse_args): Do not include expected
16143         result in test name.
16144         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16145         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16146         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16147         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16148         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16151 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16153         * benchtests/Makefile: Sort function entries.
16155         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16156         tanh, asinh, acosh, atanh.
16157         * benchtests/acos-inputs: New file.
16158         * benchtests/acosh-inputs: New file.
16159         * benchtests/asin-inputs: New file.
16160         * benchtests/asinh-inputs: New file.
16161         * benchtests/atanh-inputs: New file.
16162         * benchtests/cosh-inputs: New file.
16163         * benchtests/log-inputs: New file.
16164         * benchtests/sinh-inputs: New file.
16165         * benchtests/tanh-inputs: New file.
16167 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16169         [BZ #15339]
16170         * posix/tst-getaddrinfo4.c: New test.
16171         * posix/Makefile (tests): Add it.
16173 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16175         [BZ #15339]
16176         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16177         when no services were used.
16178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16179         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16181 2013-05-21  Andreas Schwab  <schwab@suse.de>
16183         [BZ #15014]
16184         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16185         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16186         successful.
16187         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16188         redundant variable declarations and reallocation of buffer when
16189         parsing as IPv6 address.  Always set NSS status when called from
16190         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16191         buffer too small.  Correct computation of needed size.
16192         * nss/Makefile (tests): Add test-digits-dots.
16193         * nss/test-digits-dots.c: New test.
16195 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16197         * benchtests/Makefile: Remove instructions for adding
16198         benchmark tests.
16199         * benchtests/README: New file to explain how to execute and
16200         enhance the benchmark tests.
16202 2013-05-21  Andreas Schwab  <schwab@suse.de>
16204         [BZ #15493]
16205         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16206         * setjmp/tst-sigsetjmp.c: New test.
16208 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16210         * sysdeps/x86_64/memset.S (memset): New implementation.
16211         (__bzero): Likewise.
16212         (__memset_tail): New function.
16214 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16216         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16217         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16218         __memcpy_sse2_unaligned ifunc selection.
16219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16220         Add memcpy-sse2-unaligned.S.
16221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16222         Add: __memcpy_sse2_unaligned.
16224 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16226         [BZ #15490]
16227         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16228         math_force_eval before restoring floating-point envrionment.
16229         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16231         Likewise.
16232         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16233         <math_private.h>.
16234         (__nearbyintl): Use math_force_eval before restoring
16235         floating-point environment.
16236         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16238         * math/gen-libm-test.pl (special_functions): Remove.
16239         (parse_args): Don't handle TEST_extra.  Handle functions with no
16240         return value.
16241         * math/libm-test.inc (struct test_sincos_data): Replace with
16242         struct test_fFF_11_data.
16243         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16244         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16245         (sincos_test_data): Change element type to struct
16246         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16247         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16248         RUN_TEST_LOOP_sincos.
16249         * math/README.libm-test: Don't mention special handling of
16250         individual functions.
16251         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16252         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16253         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16254         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16255         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258         * math/gen-libm-test.pl (get_variable): Remove function.
16259         (parse_args): Don't show pointer parameters to call in test
16260         names.  Use "extra output N" in test names for extra outputs
16261         rather than naming variables.
16263 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16265         [BZ #15488]
16266         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16267         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16268         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16269         double tests.
16270         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16271         disable.
16272         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16273         check_long_double.
16275         * math/gen-libm-test.pl (@tests): Remove variable.
16276         ($count): Likewise.
16277         (new_test): Remove function.
16278         (show_exceptions): New function.
16279         (special_functions): Use show_exceptions instead of new_test.
16280         (parse_args): Likewise.
16281         (generate_testfile): Pass only function name in generated call to
16282         print_max_error or print_complex_max_error.
16283         (get_ulps): Do not handle complex tests specially.
16284         (output_test): Rename to ...
16285         (get_all_ulps_for_test): ... this.  Return a string rather than
16286         printing to a file.  Require ulps to be present.
16287         (output_ulps): Generate arrays rather than #defines.
16288         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16289         (struct ulp_data): New type.
16290         (BUILD_COMPLEX_ULP): Remove macro.
16291         (compare_ulp_data): New function.
16292         (find_ulps): Likewise.
16293         (find_test_ulps): Likewise.
16294         (find_function_ulps): Likewise.
16295         (find_complex_function_ulps): Likewise.
16296         (print_max_error): Determine allowed ulps using
16297         find_function_ulps.
16298         (print_complex_max_error): Determine allowed ulps using
16299         find_complex_function_ulps.
16300         (check_float_internal): Determine max ulps using find_test_ulps.
16301         (check_float): Do not take max_ulp parameter.  Update call to
16302         check_float_internal.
16303         (check_complex): Likewise.
16304         (check_int): Do not take max_ulp parameter.
16305         (check_long): Likewise.
16306         (check_bool): Likewise.
16307         (check_longlong): Likewise.
16308         (struct test_f_f_data): Remove max_ulp field.
16309         (struct test_ff_f_data): Likewise.
16310         (struct test_ff_f_data_nexttoward): Likewise.
16311         (struct test_fi_f_data): Likewise.
16312         (struct test_fl_f_data): Likewise.
16313         (struct test_if_f_data): Likewise.
16314         (struct test_fff_f_data): Likewise.
16315         (struct test_c_f_data): Likewise.
16316         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16317         (struct test_fF_f1_data): Likewise.
16318         (struct test_ffI_f1_data): Likewise.
16319         (struct test_c_c_data): Remove max_ulp field.
16320         (struct test_cc_c_data): Likewise.
16321         (struct test_f_i_data): Likewise.
16322         (struct test_ff_i_data): Likewise.
16323         (struct test_f_l_data): Likewise.
16324         (struct test_f_L_data): Likewise.
16325         (struct test_sincos_data): Likewise.
16326         (RUN_TEST_f_f): Do not handle ulps.
16327         (RUN_TEST_LOOP_f_f): Likewise.
16328         (RUN_TEST_2_f): Likewise.
16329         (RUN_TEST_LOOP_2_f): Likewise.
16330         (RUN_TEST_fff_f): Likewise.
16331         (RUN_TEST_LOOP_fff_f): Likewise.
16332         (RUN_TEST_c_f): Likewise.
16333         (RUN_TEST_LOOP_c_f): Likewise.
16334         (RUN_TEST_f_f1): Likewise.
16335         (RUN_TEST_LOOP_f_f1): Likewise.
16336         (RUN_TEST_fF_f1): Likewise.
16337         (RUN_TEST_LOOP_fF_f1): Likewise.
16338         (RUN_TEST_fI_f1): Likewise.
16339         (RUN_TEST_LOOP_fI_f1): Likewise.
16340         (RUN_TEST_ffI_f1): Likewise.
16341         (RUN_TEST_LOOP_ffI_f1): Likewise.
16342         (RUN_TEST_c_c): Likewise.
16343         (RUN_TEST_LOOP_c_c): Likewise.
16344         (RUN_TEST_cc_c): Likewise.
16345         (RUN_TEST_LOOP_cc_c): Likewise.
16346         (RUN_TEST_f_i): Likewise.
16347         (RUN_TEST_LOOP_f_i): Likewise.
16348         (RUN_TEST_f_i_tg): Likewise.
16349         (RUN_TEST_LOOP_f_i_tg): Likewise.
16350         (RUN_TEST_ff_i_tg): Likewise.
16351         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16352         (RUN_TEST_f_b): Likewise.
16353         (RUN_TEST_LOOP_f_b): Likewise.
16354         (RUN_TEST_f_b_tg): Likewise.
16355         (RUN_TEST_LOOP_f_b_tg): Likewise.
16356         (RUN_TEST_f_l): Likewise.
16357         (RUN_TEST_LOOP_f_l): Likewise.
16358         (RUN_TEST_f_L): Likewise.
16359         (RUN_TEST_LOOP_f_L): Likewise.
16360         (RUN_TEST_sincos): Likewise.
16361         (RUN_TEST_LOOP_sincos): Likewise.
16363 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16365         [BZ #15480]
16366         [BZ #15485]
16367         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16368         main case of finite arguments, set rounding mode to FE_TONEAREST
16369         and discard exceptions.
16370         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16371         exceptions.
16372         (remainder_tonearest_test_data): New variable.
16373         (remainder_test_tonearest): New function.
16374         (remainder_towardzero_test_data): New variable.
16375         (remainder_test_towardzero): New function.
16376         (remainder_downward_test_data): New variable.
16377         (remainder_test_downward): New function.
16378         (remainder_upward_test_data): New variable.
16379         (remainder_test_upward): New function.
16380         (main): Call the new test functions.
16382         * math/libm-test.inc (struct test_f_f1_data): Remove field
16383         extra_init.
16384         (struct test_fF_f1_data): Likewise.
16385         (struct test_ffI_f1_data): Likewise.
16386         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16387         based on value of EXTRA_EXPECTED.
16388         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16389         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16390         EXTRA_VAR based on value of EXTRA_EXPECTED.
16391         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16392         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16393         EXTRA_VAR based on value of EXTRA_EXPECTED.
16394         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16395         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16396         EXTRA_VAR based on value of EXTRA_EXPECTED.
16397         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16398         * math/gen-libm-test.pl (parse_args): Don't output initializers
16399         for extra output values.
16401         * math/libm-test.inc (check_int): Expect result to be exactly
16402         equal to expected value and do not handle ulps.
16403         (check_long): Likewise.
16404         (check_longlong): Likewise.
16406         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16407         exceptions.
16408         (cimag_test_data): Likewise.
16409         (conj_test_data): Likewise.
16410         (copysign_test_data): Likewise.
16411         (cproj_test_data): Likewise.
16412         (creal_test_data): Likewise.
16413         (fabs_test_data): Likewise.
16414         (fdim_test_data): Likewise.
16415         (finite_test_data): Likewise.
16416         (floor_test_data): Likewise.
16417         (fmax_test_data): Likewise.
16418         (fmin_test_data): Likewise.
16419         (fmod_test_data): Likewise.
16420         (fpclassify_test_data): Likewise.
16421         (frexp_test_data): Likewise.
16422         (ilogb_test_data): Likewise.
16423         (isfinite_test_data): Likewise.
16424         (isgreater_test_data): Likewise.
16425         (isgreaterequal_test_data): Likewise.
16426         (isinf_test_data): Likewise.
16427         (isless_test_data): Likewise.
16428         (islessequal_test_data): Likewise.
16429         (islessgreater_test_data): Likewise.
16430         (isnan_test_data): Likewise.
16431         (isnormal_test_data): Likewise.
16432         (issignaling_test_data): Likewise.
16433         (isunordered_test_data): Likewise.
16434         (ldexp_test_data): Likewise.
16435         (lrint_test_data): Likewise.
16436         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16437         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16438         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16439         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16440         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16441         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16442         test input.
16443         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16444         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16445         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16446         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16447         that test input.
16448         (lrint_downward_test_data): Test for "inexact" exceptions.
16449         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16450         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16451         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16452         test input.
16453         (lrint_upward_test_data): Test for "inexact" exceptions.
16454         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16455         test input.
16456         (llrint_test_data): Test for "inexact" exceptions.
16457         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16458         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16459         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16460         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16461         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16462         (llrint_downward_test_data): Test for "inexact" exceptions.
16463         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16464         (llrint_upward_test_data): Test for "inexact" exceptions.
16465         (logb_test_data): Likewise.
16466         (logb_downward_test_data): Likewise.
16467         (nextafter_test_data): Likewise.
16468         (nexttoward_test_data): Likewise.
16469         (remainder_test_data): Likewise.
16470         (remquo_test_data): Likewise.
16471         (scalbn_test_data): Likewise.
16472         (scalbln_test_data): Likewise.
16473         (signbit_test_data): Likewise.
16474         (sqrt_test_data): Likewise.
16475         (significand_test_data): Likewise.
16477 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16479         [BZ #15424]
16480         * benchtests/bench-modf.c (struct args): Mark arg0 as
16481         volatile.
16482         * scripts/bench.pl: Mark members of struct args as volatile.
16484 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16486         [BZ # 15497]
16487         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16488         negative infinity on POWER6 or lower.
16489         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16491 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16493         [BZ #15442]
16494         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16495         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16496         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16497         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16498         (_FP_SETQNAN): New macro.
16499         (_FP_SETQNAN_SEMIRAW): Likewise.
16500         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16501         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16502         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16503         (FP_EXTEND): Use _FP_FRAC_SNANP.
16504         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16505         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16506         into account.
16507         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16508         New macro.
16509         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16510         Likewise.
16512 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16514         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16515         with DIVIDE_BY_ZERO_EXCEPTION.
16516         (gamma_test_data): Likewise.
16517         (lgamma_test_data): Likewise.
16518         (log_test_data): Likewise.
16519         (log10_test_data): Likewise.
16520         (log2_test_data): Likewise.
16521         (tgamma_test_data): Likewise.
16523         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16524         (acos_test_tonearest): Likewise.
16525         (acos_test_towardzero): Likewise.
16526         (acos_test_downward): Likewise.
16527         (acos_test_upward): Likewise.
16528         (acosh_test): Likewise.
16529         (asin_test): Likewise.
16530         (asin_test_tonearest): Likewise.
16531         (asin_test_towardzero): Likewise.
16532         (asin_test_downward): Likewise.
16533         (asin_test_upward): Likewise.
16534         (asinh_test): Likewise.
16535         (atan_test): Likewise.
16536         (atanh_test): Likewise.
16537         (atan2_test): Likewise.
16538         (cabs_test): Likewise.
16539         (cacos_test): Likewise.
16540         (cacosh_test): Likewise.
16541         (casin_test): Likewise.
16542         (casinh_test): Likewise.
16543         (catan_test): Likewise.
16544         (catanh_test): Likewise.
16545         (cbrt_test): Likewise.
16546         (ccos_test): Likewise.
16547         (ccosh_test): Likewise.
16548         (cexp_test): Likewise.
16549         (clog_test): Likewise.
16550         (clog10_test): Likewise.
16551         (cos_test): Likewise.
16552         (cos_test_tonearest): Likewise.
16553         (cos_test_towardzero): Likewise.
16554         (cos_test_downward): Likewise.
16555         (cos_test_upward): Likewise.
16556         (cosh_test): Likewise.
16557         (cosh_test_tonearest): Likewise.
16558         (cosh_test_towardzero): Likewise.
16559         (cosh_test_downward): Likewise.
16560         (cosh_test_upward): Likewise.
16561         (cpow_test): Likewise.
16562         (csin_test): Likewise.
16563         (csinh_test): Likewise.
16564         (csqrt_test): Likewise.
16565         (ctan_test): Likewise.
16566         (ctan_test_tonearest): Likewise.
16567         (ctan_test_towardzero): Likewise.
16568         (ctan_test_downward): Likewise.
16569         (ctan_test_upward): Likewise.
16570         (ctanh_test): Likewise.
16571         (ctanh_test_tonearest): Likewise.
16572         (ctanh_test_towardzero): Likewise.
16573         (ctanh_test_downward): Likewise.
16574         (ctanh_test_upward): Likewise.
16575         (erf_test): Likewise.
16576         (erfc_test): Likewise.
16577         (exp_test): Likewise.
16578         (exp_test_tonearest): Likewise.
16579         (exp_test_towardzero): Likewise.
16580         (exp_test_downward): Likewise.
16581         (exp_test_upward): Likewise.
16582         (exp10_test): Likewise.
16583         (exp2_test): Likewise.
16584         (expm1_test): Likewise.
16585         (fmod_test): Likewise.
16586         (gamma_test): Likewise.
16587         (hypot_test): Likewise.
16588         (j0_test): Likewise.
16589         (j1_test): Likewise.
16590         (jn_test): Likewise.
16591         (lgamma_test): Likewise.
16592         (log_test): Likewise.
16593         (log10_test): Likewise.
16594         (log1p_test): Likewise.
16595         (log2_test): Likewise.
16596         (logb_test_downward): Likewise.
16597         (pow_test): Likewise.
16598         (pow_test_tonearest): Likewise.
16599         (pow_test_towardzero): Likewise.
16600         (pow_test_downward): Likewise.
16601         (pow_test_upward): Likewise.
16602         (remainder_test): Likewise.
16603         (remquo_test): Likewise.
16604         (sin_test): Likewise.
16605         (sin_test_tonearest): Likewise.
16606         (sin_test_towardzero): Likewise.
16607         (sin_test_downward): Likewise.
16608         (sin_test_upward): Likewise.
16609         (sincos_test): Likewise.
16610         (sinh_test): Likewise.
16611         (sinh_test_tonearest): Likewise.
16612         (sinh_test_towardzero): Likewise.
16613         (sinh_test_downward): Likewise.
16614         (sinh_test_upward): Likewise.
16615         (sqrt_test): Likewise.
16616         (tan_test): Likewise.
16617         (tan_test_tonearest): Likewise.
16618         (tan_test_towardzero): Likewise.
16619         (tan_test_downward): Likewise.
16620         (tan_test_upward): Likewise.
16621         (tanh_test): Likewise.
16622         (tgamma_test): Likewise.
16623         (y0_test): Likewise.
16624         (y1_test): Likewise.
16625         (yn_test): Likewise.
16627         * math/gen-libm-test.pl (adjust_arg): Remove function.
16628         (special_function): Remove argument $in_func.  Only handle
16629         generating output for tables of tests, not inside functions.
16630         (parse_args): Likewise.
16631         (generate_testfile): Remove variable $in_func.  Update call to
16632         parse_args.
16633         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16634         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16635         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16636         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16637         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16638         (MAX_VALUE_INIT): Rename macro to max_value.
16639         (MIN_VALUE_INIT): Rename macro to min_value.
16640         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16641         (plus_zero): Remove variable.
16642         (minus_zero): Likewise.
16643         (plus_infty): Likewise.
16644         (minus_infty): Likewise.
16645         (qnan_value): Likewise.
16646         (max_value): Likewise.
16647         (min_value): Likewise.
16648         (min_subnorm_value): Likewise.
16650 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16652         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16653         uint64_t or uint32_t usage.
16654         * crypt/sha256-block.c: Likewise.
16655         * crypt/sha256-crypt.c: Likewise.
16656         * crypt/sha256.c: Likewise.
16657         * crypt/sha512-block.c: Likewise.
16658         * crypt/sha512-crypt.c: Likewise.
16659         * crypt/sha512.c: Likewise.
16660         * debug/backtrace-tst.c: Likewise.
16661         * debug/pcprofiledump.c: Likewise.
16662         * elf/cache.c: Likewise.
16663         * elf/dl-cache.c: Likewise.
16664         * elf/dl-misc.c: Likewise.
16665         * elf/dl-profile.c: Likewise.
16666         * elf/dl-support.c: Likewise.
16667         * elf/ldconfig.c: Likewise.
16668         * elf/sprof.c: Likewise.
16669         * iconv/dummy-repertoire.c: Likewise.
16670         * iconv/iconv_charmap.c: Likewise.
16671         * iconv/skeleton.c: Likewise.
16672         * iconvdata/8bit-generic.c: Likewise.
16673         * iconvdata/cp737.h: Likewise.
16674         * iconvdata/cp775.h: Likewise.
16675         * iconvdata/ibm1008.h: Likewise.
16676         * iconvdata/ibm1025.h: Likewise.
16677         * iconvdata/ibm1046.h: Likewise.
16678         * iconvdata/ibm1097.h: Likewise.
16679         * iconvdata/ibm1112.h: Likewise.
16680         * iconvdata/ibm1122.h: Likewise.
16681         * iconvdata/ibm1123.h: Likewise.
16682         * iconvdata/ibm1124.h: Likewise.
16683         * iconvdata/ibm1129.h: Likewise.
16684         * iconvdata/ibm1130.h: Likewise.
16685         * iconvdata/ibm1132.h: Likewise.
16686         * iconvdata/ibm1133.h: Likewise.
16687         * iconvdata/ibm1137.h: Likewise.
16688         * iconvdata/ibm1140.h: Likewise.
16689         * iconvdata/ibm1141.h: Likewise.
16690         * iconvdata/ibm1142.h: Likewise.
16691         * iconvdata/ibm1143.h: Likewise.
16692         * iconvdata/ibm1144.h: Likewise.
16693         * iconvdata/ibm1145.h: Likewise.
16694         * iconvdata/ibm1146.h: Likewise.
16695         * iconvdata/ibm1147.h: Likewise.
16696         * iconvdata/ibm1148.h: Likewise.
16697         * iconvdata/ibm1149.h: Likewise.
16698         * iconvdata/ibm1153.h: Likewise.
16699         * iconvdata/ibm1154.h: Likewise.
16700         * iconvdata/ibm1155.h: Likewise.
16701         * iconvdata/ibm1156.h: Likewise.
16702         * iconvdata/ibm1157.h: Likewise.
16703         * iconvdata/ibm1158.h: Likewise.
16704         * iconvdata/ibm1160.h: Likewise.
16705         * iconvdata/ibm1161.h: Likewise.
16706         * iconvdata/ibm1162.h: Likewise.
16707         * iconvdata/ibm1163.h: Likewise.
16708         * iconvdata/ibm1164.h: Likewise.
16709         * iconvdata/ibm1166.h: Likewise.
16710         * iconvdata/ibm1167.h: Likewise.
16711         * iconvdata/ibm12712.h: Likewise.
16712         * iconvdata/ibm1390.h: Likewise.
16713         * iconvdata/ibm1399.h: Likewise.
16714         * iconvdata/ibm16804.h: Likewise.
16715         * iconvdata/ibm4517.h: Likewise.
16716         * iconvdata/ibm4899.h: Likewise.
16717         * iconvdata/ibm4909.h: Likewise.
16718         * iconvdata/ibm4971.h: Likewise.
16719         * iconvdata/ibm5347.h: Likewise.
16720         * iconvdata/ibm803.h: Likewise.
16721         * iconvdata/ibm856.h: Likewise.
16722         * iconvdata/ibm901.h: Likewise.
16723         * iconvdata/ibm902.h: Likewise.
16724         * iconvdata/ibm9030.h: Likewise.
16725         * iconvdata/ibm9066.h: Likewise.
16726         * iconvdata/ibm921.h: Likewise.
16727         * iconvdata/ibm922.h: Likewise.
16728         * iconvdata/ibm9448.h: Likewise.
16729         * iconvdata/isiri-3342.h: Likewise.
16730         * iconvdata/jis0201.h: Likewise.
16731         * include/link.h: Likewise.
16732         * include/netdb.h: Likewise.
16733         * inet/check_native.c: Likewise.
16734         * inet/check_pf.c: Likewise.
16735         * inet/getipv4sourcefilter.c: Likewise.
16736         * inet/getnameinfo.c: Likewise.
16737         * inet/getsourcefilter.c: Likewise.
16738         * inet/htonl.c: Likewise.
16739         * inet/setipv4sourcefilter.c: Likewise.
16740         * inet/setsourcefilter.c: Likewise.
16741         * inet/test-inet6_opt.c: Likewise.
16742         * inet/tst-network.c: Likewise.
16743         * locale/C-collate.c: Likewise.
16744         * locale/C-ctype.c: Likewise.
16745         * locale/C-time.c: Likewise.
16746         * locale/C-translit.h: Likewise.
16747         * locale/loadarchive.c: Likewise.
16748         * locale/programs/3level.h: Likewise.
16749         * locale/programs/charmap.c: Likewise.
16750         * locale/programs/charmap.h: Likewise.
16751         * locale/programs/ld-address.c: Likewise.
16752         * locale/programs/ld-collate.c: Likewise.
16753         * locale/programs/ld-ctype.c: Likewise.
16754         * locale/programs/ld-identification.c: Likewise.
16755         * locale/programs/ld-measurement.c: Likewise.
16756         * locale/programs/ld-messages.c: Likewise.
16757         * locale/programs/ld-monetary.c: Likewise.
16758         * locale/programs/ld-name.c: Likewise.
16759         * locale/programs/ld-numeric.c: Likewise.
16760         * locale/programs/ld-paper.c: Likewise.
16761         * locale/programs/ld-telephone.c: Likewise.
16762         * locale/programs/ld-time.c: Likewise.
16763         * locale/programs/linereader.c: Likewise.
16764         * locale/programs/locale.c: Likewise.
16765         * locale/programs/locarchive.c: Likewise.
16766         * locale/programs/locfile.h: Likewise.
16767         * locale/programs/repertoire.c: Likewise.
16768         * locale/programs/simple-hash.c: Likewise.
16769         * locale/programs/simple-hash.h: Likewise.
16770         * malloc/memusage.c: Likewise.
16771         * malloc/memusagestat.c: Likewise.
16772         * nis/nis_defaults.c: Likewise.
16773         * nis/nis_hash.c: Likewise.
16774         * nis/nis_print.c: Likewise.
16775         * nis/nis_xdr.c: Likewise.
16776         * nscd/connections.c: Likewise.
16777         * nscd/hstcache.c: Likewise.
16778         * nscd/nscd_gethst_r.c: Likewise.
16779         * nscd/nscd_getserv_r.c: Likewise.
16780         * nscd/nscd_helper.c: Likewise.
16781         * nscd/servicescache.c: Likewise.
16782         * nss/makedb.c: Likewise.
16783         * nss/nss_db/db-XXX.c: Likewise.
16784         * nss/nss_db/db-initgroups.c: Likewise.
16785         * nss/nss_db/db-netgrp.c: Likewise.
16786         * nss/nss_files/files-network.c: Likewise.
16787         * nss/nss_files/files-parse.c: Likewise.
16788         * posix/bug-regex5.c: Likewise.
16789         * posix/fnmatch_loop.c: Likewise.
16790         * posix/regcomp.c: Likewise.
16791         * posix/regexec.c: Likewise.
16792         * posix/tst-rfc3484-2.c: Likewise.
16793         * posix/tst-rfc3484-3.c: Likewise.
16794         * posix/tst-rfc3484.c: Likewise.
16795         * resolv/nss_dns/dns-canon.c: Likewise.
16796         * resolv/nss_dns/dns-network.c: Likewise.
16797         * resolv/res_init.c: Likewise.
16798         * resolv/res_mkquery.c: Likewise.
16799         * resolv/tst-aton.c: Likewise.
16800         * stdlib/cxa_atexit.c: Likewise.
16801         * stdlib/cxa_finalize.c: Likewise.
16802         * stdlib/gen-fpioconst.c: Likewise.
16803         * stdlib/strtol_l.c: Likewise.
16804         * string/tst-endian.c: Likewise.
16805         * sunrpc/auth_des.c: Likewise.
16806         * sunrpc/clnt_udp.c: Likewise.
16807         * sunrpc/rtime.c: Likewise.
16808         * sunrpc/svcauth_des.c: Likewise.
16809         * sunrpc/xdr.c: Likewise.
16810         * sunrpc/xdr_intXX_t.c: Likewise.
16811         * sunrpc/xdr_rec.c: Likewise.
16812         * sysdeps/generic/ldconfig.h: Likewise.
16813         * sysdeps/generic/ldsodefs.h: Likewise.
16814         * sysdeps/generic/memusage.h: Likewise.
16815         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16816         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16817         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16818         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16819         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16820         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16821         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16823         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16825         * sysdeps/posix/getaddrinfo.c: Likewise.
16826         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16827         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16828         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16829         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16830         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16831         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16832         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16833         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16834         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16835         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16836         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16837         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16838         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16839         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16840         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16841         * sysdeps/x86_64/dl-tls.h: Likewise.
16842         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16843         * time/alt_digit.c: Likewise.
16844         * time/era.c: Likewise.
16845         * wcsmbs/tst-c16c32-1.c: Likewise.
16847 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16849         * math/libm-test.inc (struct test_sincos_data): New type.
16850         (RUN_TEST_LOOP_sincos): New macro.
16851         (sincos_test_data): New variable.
16852         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16854 2013-05-16  Richard Henderson  <rth@redhat.com>
16856         * math/atest-exp2.c (LIMB64): New macro.
16857         (CONSTSZ): New macro.
16858         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16859         (hexdig): Move ...
16860         (print_mpn_fp): ... to function scope.
16861         (read_mpn_hex): Remove.
16862         (get_log2): Remove.
16863         (exp2_mpn): Use mp_log2.
16864         (main): Use mp_exp1.
16866 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16868         * math/libm-test.inc: Remove comment about not testing "inexact"
16869         exceptions.
16870         (INEXACT_EXCEPTION): New macro.
16871         (NO_INEXACT_EXCEPTION): Likewise.
16872         (INVALID_EXCEPTION_OK): Update value.
16873         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16874         (OVERFLOW_EXCEPTION_OK): Likewise.
16875         (UNDERFLOW_EXCEPTION_OK): Likewise.
16876         (IGNORE_ZERO_INF_SIGN): Likewise.
16877         (ERRNO_UNCHANGED): Likewise.
16878         (ERRNO_EDOM): Likewise.
16879         (ERRNO_ERANGE): Likewise.
16880         (test_exceptions): Handle testing "inexact" exceptions.
16881         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16882         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16883         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16884         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16885         INEXACT_EXCEPTION.
16886         (rint_towardzero_test_data): Likewise.
16887         (rint_downward_test_data): Likewise.
16888         (rint_upward_test_data): Likewise.
16890         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16891         with OVERFLOW_EXCEPTION.
16892         (exp10_test_data): Likewise.
16893         (exp2_test_data): Likewise.
16894         (expm1_test_data): Likewise.
16895         (lgamma_test_data): Likewise.
16896         (pow_test_data): Likewise.
16897         (tgamma_test_data): Likewise.
16898         (yn_test_data): Remove duplicate test of overflow.
16900         * math/libm-test.inc (struct test_cc_c_data): New type.
16901         (RUN_TEST_LOOP_cc_c): New macro.
16902         (cpow_test_data): New variable.
16903         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16905         * math/libm-test.inc (struct test_f_L_data): New type.
16906         (RUN_TEST_LOOP_f_L): New macro.
16907         (llrint_test_data): New variable.
16908         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16909         (llrint_tonearest_test_data): New variable.
16910         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16911         (llrint_towardzero_test_data): New variable.
16912         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16913         (llrint_downward_test_data): New variable.
16914         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16915         (llrint_upward_test_data): New variable.
16916         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16917         (llround_test_data): New variable.
16918         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16920 2013-05-13  Peter Collingbourne  <pcc@google.com>
16922         * math/atest-exp2.c (get_log2): Remove const attribute.
16924 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16926         * math/libm-test.inc (struct test_f_l_data): New type.
16927         (RUN_TEST_LOOP_f_l): New macro.
16928         (lrint_test_data): New variable.
16929         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16930         (lrint_tonearest_test_data): New variable.
16931         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16932         (lrint_towardzero_test_data): New variable.
16933         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16934         (lrint_downward_test_data): New variable.
16935         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16936         (lrint_upward_test_data): New variable.
16937         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16938         (lround_test_data): New variable.
16939         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16941 2013-05-15  Peter Collingbourne  <pcc@google.com>
16943         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16944         (EXTRACT_WORDS64) Use where appropriate.
16945         (INSERT_WORDS64) Likewise.
16947         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16948         constraints with x constraints.
16949         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16951         * malloc/obstack.c (_obstack_compat): Add initializer.
16953 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16956         si_trapno and add si_addr_lsb to _sifields.sigfault.
16957         (si_trapno): Remove macro.
16958         (si_addr_lsb): Define new macro.
16959         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16961 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16963         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16964         instead of TEST_f_l.
16965         (llrint_test_tonearest): Likewise.
16966         (llrint_test_towardzero): Likewise.
16967         (llrint_test_downward): Likewise.
16968         (llrint_test_upward): Likewise.
16969         (llround_test): Likewise.
16971         * math/libm-test.inc (struct test_f_i_data): Add comment.
16972         (RUN_TEST_LOOP_f_b): New macro.
16973         (RUN_TEST_LOOP_f_b_tg): Likewise.
16974         (finite_test_data): New variable.
16975         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16976         (isfinite_test_data): New variable.
16977         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16978         (isinf_test_data): New variable.
16979         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16980         (isnan_test_data): New variable.
16981         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16982         (isnormal_test_data): New variable.
16983         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16984         (issignaling_test_data): New variable.
16985         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16986         (signbit_test_data): New variable.
16987         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16989         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16990         with INVALID_EXCEPTION.
16991         (acosh_test_data): Likewise.
16992         (asin_test_data): Likewise.
16993         (atanh_test_data): Likewise.
16994         (fmod_test_data): Likewise.
16995         (log_test_data): Likewise.
16996         (log10_test_data): Likewise.
16997         (log2_test_data): Likewise.
16998         (pow_test_data): Likewise.
16999         (sqrt_test_data): Likewise.
17000         (y0_test_data): Likewise.
17001         (y1_test_data): Likewise.
17002         (yn_test_data): Likewise.
17004         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17005         function contents.
17007         * math/libm-test.inc (struct test_ff_i_data): New type.
17008         (RUN_TEST_LOOP_ff_i_tg): New macro.
17009         (isgreater_test_data): New variable.
17010         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17011         (isgreaterequal_test_data): New variable.
17012         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17013         (isless_test_data): New variable.
17014         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17015         (islessequal_test_data): New variable.
17016         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17017         (islessgreater_test_data): New variable.
17018         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17019         (isunordered_test_data): New variable.
17020         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17022 2013-05-14  David S. Miller  <davem@davemloft.net>
17024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17026 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17028         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17030         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17031         extra_test to int.
17032         (struct test_f_i_data): Change type of max_ulp to int.
17034         * math/libm-test.inc (test_ffI_f1_data): New type.
17035         (RUN_TEST_LOOP_ffI_f1): New macro.
17036         (remquo_test_data): New variable.
17037         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17039         * setjmp/tst-setjmp-fp.c: New file.
17040         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17041         (link-libm): New variable.
17042         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17044         * math/libm-test.inc (struct test_f_i_data): New type.
17045         (RUN_TEST_LOOP_f_i): New macro.
17046         (RUN_TEST_LOOP_f_i_tg): Likewise.
17047         (fpclassify_test_data): New variable.
17048         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17049         (ilogb_test_data): New variable.
17050         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17052         * math/libm-test.inc (scalbln_test): Correct function name in END
17053         call.
17055         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17056         (RUN_TEST_LOOP_fI_f1): New macro.
17057         (frexp_test_data): New variable.
17058         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17060         * math/libm-test.inc (struct test_fF_f1_data): New type.
17061         (RUN_TEST_LOOP_fF_f1): New macro.
17062         (modf_test_data): New variable.
17063         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17065         * math/libm-test.inc (struct test_f_f1_data): New type.
17066         (RUN_TEST_LOOP_f_f1): New macro.
17067         (gamma_test_data): New variable.
17068         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17069         (lgamma_test_data): New variable.
17070         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17072 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17074         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17075         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17076         (main): Comment "tls" pseudo-hwcap.
17078 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17080         * math/libm-test.inc (struct test_fl_f_data): New type.
17081         (RUN_TEST_LOOP_fl_f): New variable.
17082         (scalbln_test_data): New variable.
17083         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17085         * math/libm-test.inc (struct test_fi_f_data): New type.
17086         (RUN_TEST_LOOP_fi_f): New macro.
17087         (ldexp_test_data): New variable.
17088         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17089         (scalbn_test_data): New variable.
17090         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17092         * math/libm-test.inc (struct test_c_f_data): New type.
17093         (RUN_TEST_LOOP_c_f): New macro.
17094         (cabs_test_data): New variable.
17095         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17096         (carg_test_data): New variable.
17097         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17098         (cimag_test_data): New variable.
17099         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17100         (creal_test_data): New variable.
17101         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17103         * math/libm-test.inc (struct test_if_f_data): New type.
17104         (RUN_TEST_LOOP_if_f): New macro.
17105         (jn_test_data): New variable.
17106         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17107         (yn_test_data): New variable.
17108         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17110         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17112 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17114         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17115         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17117 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17119         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17120         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17121         (bench-deps): Add bench-timing.h.
17122         * benchtests-bench-skeleton.c: Include bench-timing.h.
17123         (main): Use TIMING_* macros instead of clock_gettime.
17124         * benchtests/bench-timing.h: New file.
17126         [BZ #14582]
17127         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17128         Renamed from _LIB_VERSION.
17129         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17131 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17133         * math/libm-test.inc (struct test_fff_f_data): New type.
17134         (RUN_TEST_LOOP_fff_f): New macro.
17135         (fma_test_data): New variable.
17136         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17137         (fma_towardzero_test_data): New variable.
17138         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17139         (fma_downward_test_data): New variable.
17140         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17141         (fma_upward_test_data): New variable.
17142         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17144         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17145         (struct test_c_c_data): New type.
17146         (RUN_TEST_LOOP_c_c): New macro.
17147         (cacos_test_data): New variable.
17148         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17149         (cacosh_test_data): New variable.
17150         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17151         (casin_test_data): New variable.
17152         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17153         (casinh_test_data): New variable.
17154         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17155         (catan_test_data): New variable.
17156         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17157         (catanh_test_data): New variable.
17158         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17159         (ccos_test_data): New variable.
17160         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17161         (ccosh_test_data): New variable.
17162         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17163         (cexp_test_data): New variable.
17164         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17165         (clog_test_data): New variable.
17166         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17167         (clog10_test_data): New variable.
17168         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17169         (conj_test_data): New variable.
17170         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17171         (cproj_test_data): New variable.
17172         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17173         (csin_test_data): New variable.
17174         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17175         (csinh_test_data): New variable.
17176         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17177         (csqrt_test_data): New variable.
17178         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17179         (ctan_test_data): New variable.
17180         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17181         (ctan_tonearest_test_data): New variable.
17182         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17183         (ctan_towardzero_test_data): New variable.
17184         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17185         (ctan_downward_test_data): New variable.
17186         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17187         (ctan_upward_test_data): New variable.
17188         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17189         (ctanh_test_data): New variable.
17190         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17191         (ctanh_tonearest_test_data): New variable.
17192         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17193         (ctanh_towardzero_test_data): New variable.
17194         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17195         (ctanh_downward_test_data): New variable.
17196         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17197         (ctanh_upward_test_data): New variable.
17198         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17199         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17200         of BUILD_COMPLEX.
17202         * math/libm-test.inc (struct test_ff_f_data): New type.
17203         (struct test_ff_f_data_nexttoward): Likewise.
17204         (RUN_TEST_LOOP_2_f): New macro.
17205         (RUN_TEST_LOOP_ff_f): Likewise.
17206         (atan2_test_data): New variable.
17207         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17208         (copysign_test_data): New variable.
17209         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17210         (fdim_test_data): New variable.
17211         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17212         (fmax_test_data): New variable.
17213         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17214         (fmin_test_data): New variable.
17215         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17216         (fmod_test_data): New variable.
17217         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17218         (hypot_test_data): New variable.
17219         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17220         (nextafter_test_data): New variable.
17221         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17222         (nexttoward_test_data): New variable.
17223         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17224         (pow_test_data): New variable.
17225         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17226         (pow_tonearest_test_data): New variable.
17227         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17228         (pow_towardzero_test_data): New variable.
17229         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17230         (pow_downward_test_data): New variable.
17231         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17232         (pow_upward_test_data): New variable.
17233         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17234         (remainder_test_data): New variable.
17235         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17236         (scalb_test_data): New variable.
17237         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17238         * sysdeps/i386/fpu/libm-test-ulps: Update.
17240 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17242         * math/libm-test.inc (fma_test): Use max_value instead of local
17243         variable fltmax.
17244         (nextafter_test): Likewise.
17246         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17247         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17248         (acos_downward_test_data): New variable.
17249         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17250         (acos_upward_test_data): New variable.
17251         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17252         (acosh_test_data): New variable.
17253         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17254         (asin_test_data): New variable.
17255         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17256         (asin_tonearest_test_data): New variable.
17257         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17258         (asin_towardzero_test_data): New variable.
17259         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17260         (asin_downward_test_data): New variable.
17261         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17262         (asin_upward_test_data): New variable.
17263         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17264         (asinh_test_data): New variable.
17265         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17266         (atan_test_data): New variable.
17267         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17268         (atanh_test_data): New variable.
17269         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17270         (cbrt_test_data): New variable.
17271         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17272         (ceil_test_data): New variable.
17273         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17274         (cos_test_data): New variable.
17275         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17276         (cos_tonearest_test_data): New variable.
17277         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17278         (cos_towardzero_test_data): New variable.
17279         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17280         (cos_downward_test_data): New variable.
17281         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17282         (cos_upward_test_data): New variable.
17283         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17284         (cosh_test_data): New variable.
17285         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17286         (cosh_tonearest_test_data): New variable.
17287         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17288         (cosh_towardzero_test_data): New variable.
17289         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17290         (cosh_downward_test_data): New variable.
17291         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17292         (cosh_upward_test_data): New variable.
17293         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17294         (erf_test_data): New variable.
17295         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17296         (erfc_test_data): New variable.
17297         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17298         (exp_test_data): New variable.
17299         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17300         (exp_tonearest_test_data): New variable.
17301         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17302         (exp_towardzero_test_data): New variable.
17303         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17304         (exp_downward_test_data): New variable.
17305         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17306         (exp_upward_test_data): New variable.
17307         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17308         (exp10_test_data): New variable.
17309         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17310         (exp2_test_data): New variable.
17311         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17312         (expm1_test_data): New variable.
17313         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17314         (fabs_test_data): New variable.
17315         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17316         (floor_test_data): New variable.
17317         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17318         (j0_test_data): New variable.
17319         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17320         (j1_test_data): New variable.
17321         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17322         (log_test_data): New variable.
17323         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17324         (log10_test_data): New variable.
17325         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17326         (log1p_test_data): New variable.
17327         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17328         (log2_test_data): New variable.
17329         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17330         (logb_test_data): New variable.
17331         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17332         (logb_downward_test_data): New variable.
17333         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17334         (nearbyint_test_data): New variable.
17335         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17336         (rint_test_data): New variable.
17337         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17338         (rint_tonearest_test_data): New variable.
17339         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17340         (rint_towardzero_test_data): New variable.
17341         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17342         (rint_downward_test_data): New variable.
17343         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17344         (rint_upward_test_data): New variable.
17345         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17346         (round_test_data): New variable.
17347         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17348         (sin_test_data): New variable.
17349         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17350         (sin_tonearest_test_data): New variable.
17351         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17352         (sin_towardzero_test_data): New variable.
17353         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17354         (sin_downward_test_data): New variable.
17355         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17356         (sin_upward_test_data): New variable.
17357         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17358         (sinh_test_data): New variable.
17359         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17360         (sinh_tonearest_test_data): New variable.
17361         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17362         (sinh_towardzero_test_data): New variable.
17363         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17364         (sinh_downward_test_data): New variable.
17365         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17366         (sinh_upward_test_data): New variable.
17367         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17368         (sqrt_test_data): New variable.
17369         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17370         (tan_test_data): New variable.
17371         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17372         (tan_tonearest_test_data): New variable.
17373         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17374         (tan_towardzero_test_data): New variable.
17375         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17376         (tan_downward_test_data): New variable.
17377         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17378         (tan_upward_test_data): New variable.
17379         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17380         (tanh_test_data): New variable.
17381         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17382         (tgamma_test_data): New variable.
17383         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17384         (trunc_test_data): New variable.
17385         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17386         (y0_test_data): New variable.
17387         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17388         (y1_test_data): New variable.
17389         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17390         (significand_test_data): New variable.
17391         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17393 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17395         [BZ #12387]
17396         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17398 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17400         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17402 2013-05-10  Andreas Jaeger  <aj@suse.de>
17404         [BZ #15448]
17405         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17406         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17408 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17410         * math/gen-libm-test.pl (adjust_arg): New function.
17411         (special_functions): Handle generating output in both functions
17412         and arrays.
17413         (parse_args): Likewise.
17414         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17415         $in_func argument to parse_args.
17416         * math/libm-test.inc (struct test_f_f_data): New type.
17417         (IF_ROUND_INIT_): New macro.
17418         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17419         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17420         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17421         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17422         (ROUND_RESTORE_): Likewise.
17423         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17424         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17425         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17426         (ROUND_RESTORE_FE_UPWARD): Likewise.
17427         (RUN_TEST_LOOP_f_f): New macro.
17428         (acos_test_data): New variable.
17429         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17430         (acos_tonearest_test_data): New variable.
17431         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17433 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17435         * benchtests/bench-skeleton.c (startup): Fix coding style.
17437 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17439         [BZ #6809]
17440         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17441         negative infinity argument.
17442         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17443         negative infinity argument.
17444         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17445         negative infinity argument.
17446         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17447         domain errors.
17449 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17451         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17452         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17453         * iconv/iconv_prog.c (main): Likewise.
17454         * locale/programs/charmap-dir.c (charmap_readdir)
17455         (fopen_uncompressed): Likewise.
17456         * locale/programs/locfile.c (siblings_uncached)
17457         (write_locale_data): Use lstat64 instead of lstat.
17458         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17459         stat.
17461 2013-05-10  Andreas Jaeger  <aj@suse.de>
17463         [BZ #15395]
17464         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17465         localization.
17466         Include <locale.h>.
17468 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17470         * elf/dl-close.c (_dl_close_worker): Add comments.
17472 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17474         [BZ #15359]
17475         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17476         high part of pi/2.
17477         (__ieee754_rem_pio2l): Update comments.
17479         [BZ #15429]
17480         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17481         high part of pi/2.
17482         (__ieee754_rem_pio2l): Update comments.
17484         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17485         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17487         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17488         M_PI_4l.
17490         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17491         (M_PI_34_LOG10El): Likewise.
17492         (M_PI2_LOG10El): Likewise.
17493         (M_PI4_LOG10El): Likewise.
17494         (M_PI_LOG10El): Likewise.
17496 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17500 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17502         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17503         (MINUS_ZERO_INIT): Likewise.
17504         (PLUS_INFTY_INIT): Likewise.
17505         (MINUS_INFTY_INIT): Likewise.
17506         (QNAN_VALUE_INIT): Likewise.
17507         (MAX_VALUE_INIT): Likewise.
17508         (MIN_VALUE_INIT): Likewise.
17509         (MIN_SUBNORM_VALUE_INIT): Likewise.
17510         (plus_zero): Initialize with PLUS_ZERO_INIT.
17511         (minus_zero): Initialize with MINUS_ZERO_INIT.
17512         (plus_infty): Initialize with PLUS_INFTY_INIT.
17513         (minus_infty): Initialize with MINUS_INFTY_INIT.
17514         (qnan_value): Initialize with QNAN_VALUE_INIT.
17515         (max_value): Initialize with MAX_VALUE_INIT.
17516         (min_value): Initialize with MIN_VALUE_INIT.
17517         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17519         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17520         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17521         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17522         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17524         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17525         (RUN_TEST_2_f): Likewise.
17526         (RUN_TEST_ff_f): Likewise.
17527         (RUN_TEST_fi_f): Likewise.
17528         (RUN_TEST_fl_f): Likewise.
17529         (RUN_TEST_fff_f): Likewise.
17530         (RUN_TEST_c_f): Likewise.
17531         (RUN_TEST_f_f1): Likewise.
17532         (RUN_TEST_fF_f1): Likewise.
17533         (RUN_TEST_fI_f1): Likewise.
17534         (RUN_TEST_ffI_f1): Likewise.
17535         (RUN_TEST_c_c): Likewise.
17536         (RUN_TEST_cc_c): Likewise.
17537         (RUN_TEST_f_i): Likewise.
17538         (RUN_TEST_f_i_tg): Likewise.
17539         (RUN_TEST_ff_i_tg): Likewise.
17540         (RUN_TEST_f_b): Likewise.
17541         (RUN_TEST_f_b_tg): Likewise.
17542         (RUN_TEST_f_l): Likewise.
17543         (RUN_TEST_f_L): Likewise.
17544         (RUN_TEST_sincos): Likewise.
17545         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17546         whether to show exceptions.  Do not include ");\n" in return
17547         value.
17548         (special_functions): Output call to RUN_TEST_sincos instead of
17549         check_float calls.  Update calls to new_test.
17550         (parse_args): Output call to single RUN_TEST_* macro instead of
17551         check_* calls and other assignments.  Update calls to new_test.
17553         [BZ #2546]
17554         [BZ #2560]
17555         [BZ #5159]
17556         [BZ #15426]
17557         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17558         input to result for tgamma overflow.
17559         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17560         (gamma_coeff): New variable.
17561         (NCOEFF): New macro.
17562         (gamma_positive): New function.
17563         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17564         underflow here.  Use gamma_positive instead of exp (lgamma) for
17565         other arguments.
17566         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17567         (gamma_coeff): New variable.
17568         (NCOEFF): New macro.
17569         (gammaf_positive): New function.
17570         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17571         underflow here.  Use gamma_positive instead of exp (lgamma) for
17572         other arguments.
17573         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17574         (gamma_coeff): New variable.
17575         (NCOEFF): New macro.
17576         (gammal_positive): New function.
17577         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17578         underflow here.  Use gamma_positive instead of exp (lgamma) for
17579         other arguments.
17580         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17581         (gamma_coeff): New variable.
17582         (NCOEFF): New macro.
17583         (gammal_positive): New function.
17584         (__ieee754_gammal_r): Handle positive infinity, overflow and
17585         underflow here.  Handle NaN the same as positive infinity.  Remove
17586         check x < 0xffffffff for negative integers.  Use gamma_positive
17587         instead of exp (lgamma) for other arguments.
17588         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17589         (gamma_coeff): New variable.
17590         (NCOEFF): New macro.
17591         (gammal_positive): New function.
17592         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17593         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17595         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17596         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17597         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17598         * sysdeps/generic/math_private.h (__gamma_productf): New
17599         prototype.
17600         (__gamma_product): Likewise.
17601         (__gamma_productl): Likewise.
17602         * math/Makefile (libm-calls): Add gamma_product.
17603         * math/libm-test.inc (tgamma_test): Add more tests.
17604         * sysdeps/i386/fpu/libm-test-ulps: Update.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17607 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17609         * benchtests/bench-skeleton.c (main): Preheat CPU.
17611 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17613         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17615 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17617         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17618         and _dl_skip_args_internal.
17620 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17622         * manual/message.texi (Message Translation): Talk about users.
17623         Message to key mapping impacts design.
17625 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17627         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17629         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17631         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17632         * sysdeps/wordsize-64/glob64.c: ... here.
17634         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17635         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17636         New macros.
17638         * debug/getlogin_r_chk.c: Moved to ...
17639         * login/getlogin_r_chk.c: ... here.
17640         * debug/Makefile (routines): Move getlogin_r_chk to ...
17641         * login/Makefile (routines): ... here.
17642         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17643         * login/Versions (libc: GLIBC_2.4): ... here.
17645         * io/poll.c (__poll): Renamed from poll.
17646         Add libc_hidden_def.
17647         (poll): Define as weak alias.
17649         * debug/ptsname_r_chk.c: Moved to ...
17650         * login/ptsname_r_chk.c: ... here.
17651         * debug/Makefile (routines): Move ptsname_r_chk to ...
17652         * login/Makefile (routines): ... here.
17653         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17654         * login/Versions (libc: GLIBC_2.4): ... here.
17656         * posix/getlogin.c: Moved to ...
17657         * login/getlogin.c: ... here.
17658         * posix/getlogin_r.c: Moved to ...
17659         * login/getlogin_r.c: ... here.
17660         * posix/getlogin_r.c: Moved to ...
17661         * login/getlogin_r.c: ... here.
17662         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17663         * login/Makefile (routines): ... here.
17664         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17665         * login/Versions (libc: GLIBC_2.0): ... here.
17667         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17668         (setrlimit): Define as weak alias.
17670         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17671         Call __ names for open, ftruncate, and close.
17672         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17673         (truncate): Define as weak alias.
17675 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17677         * math/gen-libm-test.pl (parse_args): Initialize x before each
17678         test of frexp, modf and remquo.
17680         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17681         test signgam value.
17683 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17685         [BZ #15418]
17686         [BZ #15419]
17687         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17688         internal tests.
17689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17691 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17693         * elf/dl-writev.h: New file.
17694         * elf/dl-misc.c: Include it.
17695         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17696         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17698 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17700         * math/libm-test.inc (noXFails): Remove variable.
17701         (noXPasses): Likewise.
17702         (BUILD_COMPLEX_INT): Remove macro.
17703         (print_screen): Remove xfail argument.
17704         (print_screen_max_error): Likewise.
17705         (update_stats): Likewise.
17706         (print_max_error): Likewise.  Update calls to other affected
17707         functions.
17708         (print_complex_max_error): Likewise.
17709         (test_single_exception): Update calls to print_screen.
17710         (test_single_errno): Likewise.
17711         (check_float_internal): Remove xfail argument.  Update calls to
17712         other affected functions.
17713         (check_float): Likewise.
17714         (check_complex): Likewise.
17715         (check_int): Likewise.
17716         (check_long): Likewise.
17717         (check_bool): Likewise.
17718         (check_longlong): Likewise.
17719         (main): Don't print noXFails and noXPasses.
17720         * math/gen-libm-test.pl (top level): Don't mention expected
17721         failure handling in comment.
17722         (new_test): Don't handle expected failures.
17723         (parse_args): Don't mention expected failure handling in comment.
17724         (generate_testfile): Don't handle expected failures.
17725         (parse_ulps): Likewise.
17726         (print_ulps_file): Likewise.
17727         (get_failure): Remove function.
17728         (output_test): Don't handle expected failures.
17729         * make/README.libm-test: Don't mention expected failure handling.
17731         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17732         (minus_zero): Likewise.
17733         (plus_infty): Likewise.
17734         (minus_infty): Likewise.
17735         (qnan_value): Likewise.
17736         (max_value): Likewise.
17737         (min_value): Likewise.
17738         (min_subnorm_value): Likewise.
17739         (initialize): Do not initialize those variables dynamically.
17741 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17743         * io/open.c (__open_2): Moved to ...
17744         * io/open_2.c: ... this new file.
17745         * io/open64.c (__open64_2): Moved to ...
17746         * io/open64_2.c: ... this new file.
17747         * io/openat.c (__openat_2): Moved to ...
17748         * io/openat_2.c: ... this new file.
17749         * io/openat64.c (__openat64_2): Moved to ...
17750         * io/openat64_2.c: ... this new file.
17751         * io/Makefile (routines): Add them.
17752         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17753         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17754         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17755         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17756         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17757         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17758         (__openat64): Add hidden_ver.
17759         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17760         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17762         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17763         Separately conditionalize setting of GLRO(dl_sysinfo) so
17764         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17765         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17767 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17769         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17770         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17771         definition.
17772         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17773         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17774         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17775         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17776         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17778 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17780         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17781         test signgam value.
17783         * math/libm-test.inc (hypot_test): Do not use
17784         IGNORE_ZERO_INF_SIGN.
17786 2013-05-03  Andreas Jaeger  <aj@suse.de>
17788         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17789         Linux 3.9.
17790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17791         (PF_MAX): Adjust for VSOCK change.
17793 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17797 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17799         [BZ #15264]
17800         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17801         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17802         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17804 2013-05-02  David S. Miller  <davem@davemloft.net>
17806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17808 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17810         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17812 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17814         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17816 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17818         [BZ #14952]
17819         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17820         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17821         Use __attribute__ ((__gnu_inline__)).
17822         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17823         Don't use __attribute__ ((__gnu_inline__)).
17825 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17827         [BZ #15423]
17828         * math/s_catan.c (__catan): Handle small real or imaginary part of
17829         input specially to avoid spurious underflow.
17830         * math/s_catanf.c (__catanf): Likewise.
17831         * math/s_catanh.c (__catanh): Likewise.
17832         * math/s_catanhf.c (__catanhf): Likewise.
17833         * math/s_catanhl.c (__catanhl): Likewise.
17834         * math/s_catanl.c (__catanl): Likewise.
17835         * math/libm-test.inc (catan_test): Add more tests.
17836         (catanh_test): Likewise.
17837         * sysdeps/i386/fpu/libm-test-ulps: Update.
17838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17840 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17844 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
17846         [BZ #15416]
17847         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17848         accurately for denominator in atan2.
17849         * math/s_catanf.c (__catanf): Likewise.
17850         * math/s_catanh.c (__catanh): Likewise.
17851         * math/s_catanhf.c (__catanhf): Likewise.
17852         * math/s_catanhl.c (__catanhl): Likewise.
17853         * math/s_catanl.c (__catanl): Likewise.
17854         * math/libm-test.inc (catan_test): Add more tests.
17855         (catanh_test): Likewise.
17856         * sysdeps/i386/fpu/libm-test-ulps: Update.
17857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17861         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17863         * benchtests/Makefile (bench): Remove slow benchmarks.
17864         * benchtests/atan-inputs: Add slow benchmark inputs.
17865         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17866         (BENCH_FUNC): Accept variant offset.
17867         (VARIANT): Define.
17868         * benchtests/bench-skeleton.c (main): Run benchmark for each
17869         variant.
17870         * benchtests/cos-inputs: Add slow benchmark inputs.
17871         * benchtests/exp-inputs: Likewise.
17872         * benchtests/pow-inputs: Likewise.
17873         * benchtests/sin-inputs: Likewise.
17874         * benchtests/slowatan-inputs: Remove.
17875         * benchtests/slowatan.c: Remove.
17876         * benchtests/slowcos-inputs: Remove.
17877         * benchtests/slowcos.c: Remove.
17878         * benchtests/slowexp-inputs: Remove.
17879         * benchtests/slowexp.c: Remove.
17880         * benchtests/slowpow-inputs: Remove.
17881         * benchtests/slowpow.c: Remove.
17882         * benchtests/slowsin-inputs: Remove.
17883         * benchtests/slowsin.c: Remove.
17884         * benchtests/slowtan-inputs: Remove.
17885         * benchtests/slowtan.c: Remove.
17886         * benchtests/tan-inputs: Add slow benchmark inputs.
17887         * scripts/bench.pl: Parse comments and directives.
17889         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17890         in CPPFLAGS.
17891         ($(objpfx)bench-%.c): Remove *-ITER.
17892         * benchtests/bench-modf.c: Remove definition of ITER.
17893         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17894         (main): Loop for DURATION seconds instead of fixed number of
17895         iterations.
17896         * scripts/bench.pl: Don't expect iterations in parameters.
17898 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17900         * io/fchdir.c (__fchdir): Renamed from fchdir.
17901         (fchdir): Define as weak alias.
17903 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17905         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17906         (ERRNO_EDOM): Likewise.
17907         (ERRNO_ERANGE): Likewise.
17908         (noErrnoTests): New variable.
17909         (init_max_error): Set errno to 0.
17910         (test_single_errno): New function.
17911         (test_errno): Likewise.
17912         (check_float_internal): Call test_errno.  Set errno to 0.
17913         (check_complex): Refer to errno tests in comment.
17914         (check_int): Call test_errno.  Set errno to 0.
17915         (check_long): Likewise.
17916         (check_bool): Likewise.
17917         (check_longlong): Likewise.
17918         (cos_test): Use ERRNO_* flags for errno tests instead of
17919         check_int.
17920         (expm1_test): Likewise.
17921         (fmod_test): Likewise.
17922         (ilogb_test): Likewise.
17923         (lgamma_test): Likewise.
17924         (pow_test): Likewise.
17925         (remainder_test): Likewise.
17926         (sin_test): Likewise.
17927         (tan_test): Likewise.
17928         (yn_test): Likewise.
17929         (initialize): Set errno to 0.
17930         (main): Print number of errno tests.
17931         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17933 2013-04-29  Andreas Jaeger  <aj@suse.de>
17935         [BZ #15084]
17936         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17937         and RES_USEVC.
17939         [BZ #15085]
17940         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17941         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17942         unimplemented.
17944         [BZ #15380]
17945         * stdlib/random.c (__initstate): Return NULL if
17946         __initstate fails.
17948         [BZ #15086]
17949         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17950         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17951         RES_SNGLKUPREOP.
17953 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17957 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17959         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17960         of individual tests.
17961         (casin_test): Likewise.
17962         (casinh_test): Likewise.
17964 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17966         [BZ #15409]
17967         * math/s_catan.c (__catan): Handle arguments with large real or
17968         imaginary part separately without squaring.
17969         * math/s_catanf.c (__catanf): Likewise.
17970         * math/s_catanh.c (__catanh): Likewise.
17971         * math/s_catanhf.c (__catanhf): Likewise.
17972         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17973         and redefine.
17974         (__catanhl): Handle arguments with large real or imaginary part
17975         separately without squaring.
17976         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17977         and redefine.
17978         (__catanl): Handle arguments with large real or imaginary part
17979         separately without squaring.
17980         * math/libm-test.inc (catan_test): Add more tests.
17981         (catanh_test): Likewise.
17982         * sysdeps/i386/fpu/libm-test-ulps: Update.
17983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17985 2013-04-27  Andreas Jaeger  <aj@suse.de>
17987         [BZ #15007]
17988         * stdlib/stdlib.h: Update guards for qecvt.
17989         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17990         <stdlib.h>.
17992 2013-04-27  Allan McRae  <allan@archlinux.org>
17994         * sysdeps/i386/fpu/libm-test-ulps: Update.
17996 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17998         [BZ #15406]
17999         * math/s_catan.c: Include <float.h>.
18000         (__catan): Ensure underflow exception occurs for underflowed
18001         result.
18002         * math/s_catanf.c: Include <float.h>.
18003         (__catanf): Ensure underflow exception occurs for underflowed
18004         result.
18005         * math/s_catanh.c: Include <float.h>.
18006         (__catanh): Ensure underflow exception occurs for underflowed
18007         result.
18008         * math/s_catanhf.c: Include <float.h>.
18009         (__catanhf): Ensure underflow exception occurs for underflowed
18010         result.
18011         * math/s_catanhl.c: Include <float.h>.
18012         (__catanhl): Ensure underflow exception occurs for underflowed
18013         result.
18014         * math/s_catanl.c: Include <float.h>.
18015         (__catanl): Ensure underflow exception occurs for underflowed
18016         result.
18017         * math/libm-test.inc (catan_test): Add more tests.
18018         (catanh_test): Likewise.
18020         [BZ #15405]
18021         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18022         underflowed result.
18023         * math/s_ccoshf.c (__ccoshf): Likewise.
18024         * math/s_ccoshl.c (__ccoshl): Likewise.
18025         * math/s_csin.c (__csin): Likewise.
18026         * math/s_csinf.c (__csinf): Likewise.
18027         * math/s_csinh.c (__csinh): Likewise.
18028         * math/s_csinhf.c (__csinhf): Likewise.
18029         * math/s_csinhl.c (__csinhl): Likewise.
18030         * math/s_csinl.c (__csinl): Likewise.
18031         * math/libm-test.inc (ccos_test): Add more tests.
18032         (ccosh_test): Likewise.
18033         (csin_test): Likewise.
18034         (csinh_test): Likewise.
18036 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18038         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18039         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18040         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18041         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18042         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18043         powerpc/power5+/fpu folders.
18044         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18047 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18051 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18053         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18054         additions to variable.
18055         [$(config-machine) = x86_64] (modules-names): Likewise.
18056         ($(objpfx)tst-audit3): Remove dependency.
18057         ($(objpfx)tst-audit3.out): Likewise.
18058         ($(objpfx)tst-audit4): Likewise.
18059         ($(objpfx)tst-audit4.out): Likewise.
18060         ($(objpfx)tst-audit5): Likewise.
18061         ($(objpfx)tst-audit5.out): Likewise.
18062         ($(objpfx)tst-audit6): Likewise.
18063         ($(objpfx)tst-audit6.out): Likewise.
18064         ($(objpfx)tst-audit7): Likewise.
18065         ($(objpfx)tst-audit7.out): Likewise.
18066         (tst-audit3-ENV): Remove variable.
18067         (tst-audit4-ENV): Likewise.
18068         (tst-audit5-ENV): Likewise.
18069         (tst-audit6-ENV): Likewise.
18070         (tst-audit7-ENV): Likewise.
18071         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18072         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18073         addition to variable.
18074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18077         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18078         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18079         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18080         tst-audit3, tst-audit4 and tst-audit5.
18081         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18082         tst-audit6 and tst-audit7.
18083         [$(subdir) = elf] (modules-names): Add audit modules for those
18084         tests.
18085         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18086         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18087         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18088         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18089         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18090         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18091         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18092         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18093         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18094         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18095         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18096         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18097         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18098         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18099         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18100         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18101         Likewise.
18102         [$(subdir) = elf && $(config-cflags-avx) = yes]
18103         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18104         [$(subdir) = elf && $(config-cflags-avx) = yes]
18105         (CFLAGS-tst-auditmod4a.c): Likewise.
18106         [$(subdir) = elf && $(config-cflags-avx) = yes]
18107         (CFLAGS-tst-auditmod4b.c): Likewise.
18108         [$(subdir) = elf && $(config-cflags-avx) = yes]
18109         (CFLAGS-tst-auditmod6b.c): Likewise.
18110         [$(subdir) = elf && $(config-cflags-avx) = yes]
18111         (CFLAGS-tst-auditmod6c.c): Likewise.
18112         [$(subdir) = elf && $(config-cflags-avx) = yes]
18113         (CFLAGS-tst-auditmod7b.c): Likewise.
18114         * elf/tst-audit3.c: Move to ...
18115         * sysdeps/x86_64/tst-audit3.c: ... here.
18116         * elf/tst-audit4.c: Move to ...
18117         * sysdeps/x86_64/tst-audit4.c: ... here.
18118         * elf/tst-audit5.c: Move to ...
18119         * sysdeps/x86_64/tst-audit5.c: ... here.
18120         * elf/tst-audit6.c: Move to ...
18121         * sysdeps/x86_64/tst-audit6.c: ... here.
18122         * elf/tst-audit7.c: Move to ...
18123         * sysdeps/x86_64/tst-audit7.c: ... here.
18124         * elf/tst-auditmod3a.c: Move to ...
18125         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18126         * elf/tst-auditmod3b.c: Move to ...
18127         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18128         * elf/tst-auditmod4a.c: Move to ...
18129         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18130         * elf/tst-auditmod4b.c: Move to ...
18131         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18132         * elf/tst-auditmod5a.c: Move to ...
18133         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18134         * elf/tst-auditmod5b.c: Move to ...
18135         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18136         * elf/tst-auditmod6a.c: Move to ...
18137         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18138         * elf/tst-auditmod6b.c: Move to ...
18139         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18140         * elf/tst-auditmod6c.c: Move to ...
18141         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18142         * elf/tst-auditmod7a.c: Move to ...
18143         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18144         * elf/tst-auditmod7b.c: Move to ...
18145         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18147 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18149         [BZ #15366]
18150         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18151         define unconditionally.
18152         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18153         define unconditionally.
18154         (INT8_C, INT16_C, etc.): Likewise.
18156 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18158         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18159         __ehdr_start with hidden visibility.
18161         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18163 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18165         * math/libm-test.inc (cos_test): Use accurate hex constants.
18166         (sincost_test): Likewise.
18168 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18170         * math/libm-test.inc (catan_test): Add more tests.
18171         (catanh_test): Likewise.
18173         * math/s_catanf.c (__catanf): Use suffixed floating-point
18174         constants.
18175         * math/s_catanhf.c (__catanhf): Likewise.
18176         * math/s_catanhl.c (__catanhl): Likewise.
18177         * math/s_catanl.c (__catanl): Likewise.
18179         [BZ #15394]
18180         * math/s_catan.c (__catan): Calculate imaginary part of result
18181         with log1p not log unless computing log of number close to 0.
18182         * math/s_catanf.c (__catanf): Likewise.
18183         * math/s_catanl.c (__catanl): Likewise.
18184         * math/s_catanh.c (__catanh): Calculate real part of result with
18185         log1p not log unless computing log of number close to 0.
18186         * math/s_catanhf.c (__catanhf): Likewise.
18187         * math/s_catanhl.c (__catanhl): Likewise.
18188         * math/libm-test.inc (catan_test): Add more tests.
18189         (catanh_test): Likewise.
18190         * sysdeps/i386/fpu/libm-test-ulps: Update.
18191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18195         * benchtests/Makefile: Mention files in which fast and slow
18196         paths of math functions are implemented.
18198 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18200         * sysdeps/posix/timespec_get.c: New file.
18202 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18204         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18205         POWER.
18206         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18207         for POWER.
18208         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18209         powerpc/power5/fpu folders.
18210         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18211         * benchtests/Makefile: Add modf testcase.
18212         * benchtests/bench-modf.c: New file: Benchmark test for mo
18214 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18216         [BZ #14888]
18217         * time/Makefile (tests): Add tst-strptime-whitespace.
18218         * time/strptime_l.c (get_number): Use ISSPACE.
18219         (__strptime_internal): Likewise.
18220         * time/tst-strptime-whitespace.c: New test case.
18222 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18224         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18225         member.
18226         (_nss_files_init): Set it here.
18228 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18230         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18231         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18232         unsigned.
18234 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18236         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18238 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18241         size just once.
18243 2013-04-21  David S. Miller  <davem@davemloft.net>
18245         * po/ru.po: Update Russion translation from translation project.
18247 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18249         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18250         and setfsgid.
18252 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18254         * configure.in: Remove i386 configure warning. Remove i386 case.
18255         * configure: Regenerate.
18256         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18257         Add example to error message.
18258         * sysdeps/i386/configure: Regenerate.
18260 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18262         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18263         slowtan.
18264         * benchtests/cos-inputs: New file.
18265         * benchtests/slowcos-inputs: New file.
18266         * benchtests/slowcos.c: New file.
18267         * benchtests/slowtan-inputs: New file.
18268         * benchtests/slowtan.c: New file.
18269         * benchtests/tan-inputs: New file.
18271 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18273         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18274         considered kosher.
18276 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18278         * benchtests/Makefile: Include cppflags-iterator.mk to add
18279         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18281         * Makefile.in (bench-clean): New target.
18282         * benchtests/Makefile (bench-clean): Likewise.
18284 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18286         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18288 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18290         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18292 2013-04-15  Andreas Schwab  <schwab@suse.de>
18294         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18295         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18296         * nscd/pwdcache.c (cache_addpw): Likewise.
18297         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18298         more than recsize.
18300 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18302         * benchtests/Makefile (bench): Write all output to
18303         bench-out.tmp together.
18305 2013-04-15  Andreas Schwab  <schwab@suse.de>
18307         * nscd/nscd.c (main): Don't fork again after closing files.
18309 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18311         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18313         * benchtests/Rules (bench-deps): Collect dependencies into a
18314         single variable.  Add Makefile to dependencies.
18315         ($(objpfx)bench-%.c): Depend on bench-deps.
18317 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18318             Xavier Roche  <roche+kml2@exalead.com>
18320         [BZ #15361]
18321         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18322         just that it's a file descriptor.
18323         * manual/llio.texi (Synchronizing AIO Operations): Update description
18324         for EBADF error from aio_fsync.
18326 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18328         * Rules (bench): Move target definition...
18329         * benchtests/Makefile: ... here.
18331 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18333         * math/libm-test.inc (cos_test): Fix PI/2 test.
18334         (sincos_test): Likewise.
18335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18336         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18338 2013-04-11  Andreas Schwab  <schwab@suse.de>
18340         [BZ #13988]
18341         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18342         accept exponent character only when digits were seen.
18343         * stdio-common/Makefile (tests): Add bug26.
18344         * stdio-common/bug26.c: New file.
18346         [BZ #14293]
18347         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18348         non-freeable.
18350 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18352         * Makeconfig (rtld-prefix): Define built linker prefix.
18353         * Rules (run-bench): Use it.
18354         * math/Makefile (run-regen-ulps): Likewise.
18356         * Rules (bench): Remove eval.
18358 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18359             Roland McGrath  <roland@hack.frob.com>
18360             Ondrej Bilka  <neleai@seznam.cz>
18362         [BZ #15346]
18363         * time/getdate.c: Include ctype.h and alloca.h.
18364         (__getdate_r): Trim leading and trailing spaces of input.
18365         * time/tst-getdate.c (tests): Add tests with leading and
18366         trailing spaces.
18368 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18370         [BZ #14280]
18371         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18372         when computing value.
18374 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18376         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18377         Use testrun.sh to run libm tests.
18379         [BZ #15309]
18380         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18382 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18384         [BZ #15264]
18385         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18387 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18389         * Makefile.in (regen-ulps): New target.
18390         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18391         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18392         [ifneq (no,$(PERL)] (regen-ulps): New target.
18393         [ifeq (no,$(PERL)] (regen-ulps): New target.
18394         * math/libm-test.inc (ulps_file_name): Define.
18395         (output_dir): New variable.
18396         (options): Add "output-dir" option.
18397         (parse_opt): Handle 'o' case.
18398         (main): If output_dir is non-NULL use it as a prefix
18399         otherwise use "".
18400         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18402 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18404         [BZ #10060, #10062]
18405         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18406         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18407         fail configure if __sync_val_compare_and_swap is not inlined.
18408         * sysdeps/i386/configure: Regenerate.
18409         * configure.in: Build for i686 when configured for i386.
18410         * configure: Regenerate.
18411         * README: Remove i386 reference.
18413 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18415         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18416         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18418 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18420         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18421         (lmsnanval): New variables.
18422         (F): Add conversion tests.
18423         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18424         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18426         * stdio-common/tstdiomisc.c (F): Properly collect individual
18427         tests' results.
18429         [BZ #14686, #15336]
18430         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18431         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18432         Instead, use input NaN values or generate a qNaN by arithmetic
18433         operation.  Also fix bugs to comply with the standard.
18434         * math/libm-test.inc (remainder_test): Add more tests.
18436         [BZ #15335, #15342]
18437         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18439         input NaN values or generate a qNaN by arithmetic operation.
18441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18442         unreachable code.
18444         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18445         definitions.
18447 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18449         [BZ #14478]
18450         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18451         underflowed result.
18452         * math/s_cexpf.c (__cexpf): Likewise.
18453         * math/s_cexpl.c (__cexpl): Likewise.
18454         * math/libm-test.inc (cexp_test): Add more tests.
18456 2013-04-03  Andreas Schwab  <schwab@suse.de>
18458         [BZ #15330]
18459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18460         order arrays from heap if bigger than alloca cutoff.
18462 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18464         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18465         (SNAN_TESTS_double): Refer to GCC PR56831.
18466         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18467         GCC PR56828.
18469 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18471         * Rules (bench): Move bench.out after the run is complete.
18473         * Rules (bench): Echo currently running benchmark.
18475         * benchtests/Makefile (bench): Add atan and slowatan.
18476         * benchtests/atan-inputs: New file.
18477         * benchtests/slowatan-inputs: New file.
18478         * benchtests/slowatan.c: New file.
18480         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18481         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18482         its value.
18484         [BZ #15305]
18485         * sysdeps/unix/sysv/linux/kernel-features.h
18486         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18487         __ASSUME_XFS_RESTRICTED_CHOWN.
18488         * sysdeps/unix/sysv/linux/pathconf.c
18489         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18490         Save and restore errno.
18492 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18494         [BZ #15327]
18495         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18496         arguments using __kernel_casinh.
18497         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18498         arguments using __kernel_casinhf.
18499         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18500         arguments using __kernel_casinhl.
18501         * math/libm-test.inc (cacosh_test): Add more tests.
18502         * sysdeps/i386/fpu/libm-test-ulps: Update.
18503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18507         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18510         * bench/Makefile (bench): Add sin and slowsin.
18511         * benchtests/sin-inputs: New file.
18512         * benchtests/slowsin-inputs: New file.
18513         * benchtests/slowsin.c: New file.
18515         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18516         (bench): Add slowexp and slowpow.
18517         (exp-ITER): Increase iterations.
18518         (pow-ITER): Likewise.
18519         * benchtests/exp-inputs: Change input.
18520         * benchtests/pow-inputs: Likewise.
18521         * benchtests/slowexp-inputs: New file.
18522         * benchtests/slowexp.c: New file.
18523         * benchtests/slowpow-inputs: New file.
18524         * benchtests/slowpow.c: New file.
18526 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18528         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18529         instructions.
18530         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18531         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18532         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18533         * benchtests/Makefile: Add rint benchtest.
18534         * benchtests/rint-inputs: Input for rint benchtest.
18536 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18538         * Versions.def (libm): Add GLIBC_2.18.
18539         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18540         hidden libm prototypes.
18541         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18542         * math/Makefile (libm-calls): Add s_issignaling.
18543         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18544         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18545         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18546         declaration.
18547         * math/math.h [__USE_GNU] (issignaling): New macro.
18548         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18549         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18550         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18551         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18552         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18553         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18554         * manual/arith.texi (issignaling): New section.
18555         * manual/libm-err-tab.pl (@all_functions): Update comment.
18556         * math/gen-libm-test.pl (parse_args): Apply special handling for
18557         issignaling.
18558         * math/libm-test.inc (print_float, issignaling_test): New
18559         functions.
18560         (check_float_internal): Add issignaling checks.
18561         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18562         default definition.
18563         * sysdeps/powerpc/math-tests.h: New file.
18564         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18565         tests.
18566         * math/test-snan.c (TEST_FUNC): Likewise.
18568 2013-03-30  David S. Miller  <davem@davemloft.net>
18570         * po/de.po: Update from translation team.
18572 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18574         [BZ #10357]
18575         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18576         imaginary part less than 1.0 and real part less than 0.5
18577         specially.
18578         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18579         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18580         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18581         (cacos_test): Add more tests.
18582         (casin_test): Likewise.
18583         (casinh_test): Likewise.
18584         * sysdeps/i386/fpu/libm-test-ulps: Update.
18585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18589         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18590         ONE with its value.
18592         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18593         (__pow_mp): Replace ONE and MONE with their values.
18594         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18596         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18597         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18598         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18599         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18601         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18603         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18604         (__pow_mp): Replace ZERO and MZERO with their values.
18605         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18606         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18607         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18609         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18610         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18611         (__sqr): Likewise.
18613         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18615         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18617 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18619         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18620         Declare with __attribute__ ((weak)).
18621         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18622         Call __call_tls_dtors only if it's not NULL.
18624 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18626         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18627         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18628         magic __ehdr_start linker symbol if it's defined.
18629         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18630         them up here if it was already done.
18632         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18633         (_dl_aux_init): Use const in cast when setting it.
18634         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18635         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18636         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18638         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18639         Declare them here.
18640         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18641         * csu/libc-tls.c: Nor here.
18642         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18644         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18645         (__libc_message): Never call vsyslog.
18647 2013-03-28  Alan Modra  <amodra@gmail.com>
18649         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18650         Define as empty.
18651         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18652         Likewise.
18654 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18656         [BZ #15214]
18657         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18658         underflow.
18659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18661 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18663         [BZ #15304]
18664         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18665         Don't add gid passed as argument.
18667         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18669 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18671         [BZ #15307]
18672         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18673         imaginary part between 1.0 and 1.5 and real part less than 0.5
18674         specially.
18675         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18676         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18677         * math/libm-test.inc (cacos_test): Add more tests.
18678         (casin_test): Likewise.
18679         (casinh_test): Likewise.
18680         * sysdeps/i386/fpu/libm-test-ulps: Update.
18681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18683 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18685         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18686         constants.
18687         (norm): Likewise.
18688         (denorm): Likewise.
18689         (__dbl_mp): Likewise.
18690         (add_magnitudes): Likewise.
18691         (sub_magnitudes): Likewise.
18692         (__add): Likewise.
18693         (__sub): Likewise.
18694         (__mul): Likewise.
18695         (__sqr): Likewise.
18696         (__inv): Likewise.
18697         (__dvd): Likewise.
18699         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18700         commented code.
18701         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18702         (__dubcos): Likewise.
18703         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18704         (__ieee754_acos): Likewise.
18705         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18706         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18707         (__exp1): Likewise.
18708         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18710         (log1): Likewise.
18711         (my_log2): Likewise.
18712         (checkint): Likewise.
18713         * sysdeps/ieee754/dbl-64/e_remainder.c
18714         (__ieee754_remainder): Likewise.
18715         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18716         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18717         (bsloww): Likewise.
18718         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18720         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18721         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18722         MANTISSA_STORE_T to store computations on mantissa.  Use
18723         macros for rounding and division.
18724         (denorm): Likewise.
18725         (__dbl_mp): Likewise.
18726         (add_magnitudes): Likewise.
18727         (sub_magnitudes): Likewise.
18728         (__mul): Likewise.
18729         (__sqr): Likewise.
18730         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18731         powers of two in terms of TWOPOW macro.
18732         (mp_no): Make type of mantissa as MANTISSA_T.
18733         [!RADIXI]: Define RADIXI.
18734         [!TWO52]: Define TWO52.
18735         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18737 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18739         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18740         llroundl symbol when building for PPC32.
18742 2013-03-24  Mark H Weaver  <mhw@netris.org>
18744         * manual/arith.texi (Normalization Functions): Fix prototypes for
18745         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18747 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18749         [BZ #13889]
18750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18751         high value to check if expl overflow.
18752         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18753         to check for underflow and overflow.
18754         * math/libm-test.inc: Add exp test.
18756 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18758         [BZ #11120]
18759         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18760         with NOT_IN_libc.
18762 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18764         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18765         symbol.
18767 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18769         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18770         wrap blocks consisting of several statements.
18772         * sysdeps/generic/math-tests.h: New file.
18773         * sysdeps/i386/fpu/math-tests.h: Likewise.
18774         * math/test-snan.c: Include it.
18775         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18777 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18779         [BZ #15285]
18780         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18781         (__ieee754_j0l): Do not improve calculations using cos of twice
18782         input for inputs above LDBL_MAX / 2.0L.
18783         (__ieee754_y0l): Likewise.
18784         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18785         (__ieee754_j1l): Do not improve calculations using cos of twice
18786         input for inputs above LDBL_MAX / 2.0L.
18787         (__ieee754_y1l): Likewise.
18788         * math/libm-test.inc (j0_test): Add another test.
18789         (j1_test): Likewise.
18790         (y0_test): Likewise.
18791         (y1_test): Likewise.
18792         * sysdeps/i386/fpu/libm-test-ulps: Update.
18794 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18796         * Rules ($(objpfx)bench-%.c): Include code from a C source
18797         file.
18799 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18801         [BZ #15287]
18802         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18803         imaginary part 1.0 and real part less than 0.5 specially.
18804         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18805         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18806         * math/libm-test.inc (cacos_test): Add more tests.
18807         (casin_test): Likewise.
18808         (casinh_test): Likewise.
18809         * sysdeps/i386/fpu/libm-test-ulps: Update.
18810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18812 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18814         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18815         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18817 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18819         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18820         * config.make.in (config-cflags-sse4): Remove variable.
18821         (config-cflags-avx): Likewise.
18822         (config-cflags-sse2avx): Likewise.
18823         (config-cflags-novzeroupper): Likewise.
18824         (config-asflags-i686): Likewise.
18825         (have-mfma4): Likewise.
18826         (have-as-vis3): Likewise.
18827         (MIG): Likewise.
18828         * configure.in (MIG): Do not AC_SUBST.
18829         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18830         (libc_cv_cc_sse4): Do not AC_SUBST.
18831         (libc_cv_cc_avx): Likewise.
18832         (libc_cv_cc_sse2avx): Likewise.
18833         (libc_cv_cc_novzeroupper): Likewise.
18834         (libc_cv_cc_fma4): Likewise.
18835         (libc_cv_as_i686): Likewise.
18836         (libc_cv_sparc_as_vis3): Likewise.
18837         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18838         LIBC_CONFIG_VAR.
18839         (config-asflags-i686): Likewise.
18840         (config-cflags-avx): Likewise.
18841         (config-cflags-sse2avx): Likewise.
18842         (have-mfma4): Likewise.
18843         (config-cflags-novzeroupper): Likewise.
18844         * sysdeps/mach/configure.in (MIG): Likewise.
18845         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18846         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18847         LIBC_CONFIG_VAR.
18848         (config-cflags-avx): Likewise.
18849         (config-cflags-sse2avx): Likewise.
18850         (have-mfma4): Likewise.
18851         (config-cflags-novzeroupper): Likewise.
18852         * configure: Regenerated.
18853         * sysdeps/i386/configure: Likewise.
18854         * sysdeps/mach/configure: Likewise.
18855         * sysdeps/sparc/configure: Likewise.
18856         * sysdeps/x86_64/configure: Likewise.
18858 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18860         [BZ #14812]
18861         * locale/programs/localedef.c (options): Put N_ translation marker
18862         on argument names, not just descriptions.
18864 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18866         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18868 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18870         [BZ #14176]
18871         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18873 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18875         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18876         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18877         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18878         [!BEFORE_ABORT] (before_abort): New function.
18879         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18880         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18881         (writev_for_fatal): New function.
18882         (WRITEV_FOR_FATAL): New macro; call that.
18883         (backtrace_and_maps): New function.
18884         (BEFORE_ABORT): New macro; call that.
18885         (struct str_list): Type removed.
18886         (__libc_message, __libc_fatal): Functions removed.
18887         Include <sysdeps/posix/libc_fatal.c> instead.
18889 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18891         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18892         constants.
18893         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18894         double constants.
18896 2013-03-19  Andreas Schwab  <schwab@suse.de>
18898         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18899         * sysdeps/gnu/configure: Regenerate.
18901         * configure.in: Substitute libc_cv_rtlddir.
18902         * configure: Regenerate.
18903         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18904         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18905         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18906         * elf/Makefile (install-others, CFLAGS-interp.c)
18907         (ldso_install, common-ldd-rewrite): Likewise.
18908         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18909         $(inst_slibdir)/$(rtld-installed-name).
18910         * scripts/rellns-sh: Add -p option.
18911         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18912         for source.
18914 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18916         * manual/nptl.texi: Renamed to ...
18917         * manual/threads.texi: ... this.
18918         * manual/Makefile (chapters): Update.
18920 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18922         [BZ #14812]
18923         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18924         on argument names, not just descriptions.
18925         * malloc/memusagestat.c (options): Likewise.
18926         * nss/getent.c (options): Likewise.
18928 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18930         [BZ #14812]
18931         * iconv/iconv_prog.c (options): Put N_ translation marker
18932         on argument names, not just descriptions.
18933         * iconv/iconvconfig.c (options): Likewise.
18935 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18937         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18938         implementation which is faster on all x86_64 architectures.
18939         Tested on AMD, Intel Nehalem, SNB, IVB.
18940         * sysdeps/x86_64/strnlen.S: Likewise.
18942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18943         Remove all multiarch strlen and strnlen versions.
18944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18945         Remove strlen and strnlen related parts.
18947         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18948         Inline strlen part.
18949         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18951         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18952         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18953         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18954         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18955         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18956         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18958 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18960         * manual/memory.texi (Malloc Tunable Parameters):
18961         Sort parameters alphabetically. Add comments for missing entries.
18963 2013-03-17  David S. Miller  <davem@davemloft.net>
18965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18967 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18969         [BZ #15283]
18970         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18971         for arguments at most half maximum finite value.
18972         * math/libm-test.inc (j0_test): Add more tests.
18973         (j1_test): Likewise.
18974         (y0_test): Likewise.
18975         (y1_test): Likewise.
18976         * sysdeps/i386/fpu/libm-test-ulps: Update.
18977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18979         [BZ #14155]
18980         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18981         1 / x and functions P and Q for arguments above 0x1p256L.
18982         (__ieee754_y0l): Likewise.
18983         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18984         (__ieee754_y1l): Likewise.
18985         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18986         (j1_test): Likewise.
18987         (y0_test): Likewise.
18988         (y1_test): Likewise.
18990 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18992         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18993         variable.
18995 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18997         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18998         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18999         zero since it's initialized to EXEC_PAGESIZE.
19001         * sysdeps/unix/sysv/linux/ldsodefs.h
19002         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19003         * sysdeps/generic/ldsodefs.h: ... here.
19005 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19007         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19009         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19010         math/test-snan.c.
19011         * math/test-snan.c: Renamed from
19012         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19013         * math/Makefile (tests): Add test-snan.
19014         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19015         test-powerpc-snan.
19017         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19018         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19019         functions.
19020         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19021         __builtin_nan family of functions.
19022         * math/libm-test.inc (initialize): Initialize qnan_value with
19023         __builtin_nan family of functions.
19024         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19025         Remove variables.
19026         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19027         Remove functions.
19028         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19029         storage class.  Initialize qNaN_var and sNaN_var with
19030         __builtin_nan and __builtin_nans families of functions,
19031         respectively.
19033         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19034         (sqrt_test): Remove duplicate test with qNaN input.
19035         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19036         (round_test, signbit_test, significand_test): Note missing +/-Inf
19037         as well as qNaN tests.
19039         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19040         qNaN_var.  Fix a few strings, too.
19041         * math/libm-test.inc (nan_value): Rename to qnan_value.
19042         * math/gen-libm-test.pl (%beautify): Adjust to that.
19043         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19044         * math/test-misc.c (main): Likewise.
19045         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19046         to __qnan_bytes, and __qnan_union, respectively.
19047         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19048         Likewise.
19049         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19050         and lqnanval, respectively.
19051         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19052         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19053         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19054         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19056         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19057         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19058         doubles.
19060         * math/test-misc.c (main): Fix copy'n'pastos.
19061         * misc/tst-efgcvt.c (special): Likewise.
19063         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19064         Remove declarations.
19066 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19068         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19069         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19070         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19071         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19073 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19075         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19076         macro to return vdso values correctly in IFUNC implementations.
19077         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19078         Optimization by using IFUNC.
19080 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081             Richard Henderson  <rth@redhat.com>
19082             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19084         * Makefile.in (bench): New target.
19085         * NEWS: Mention the benchmark framework.
19086         * Rules (bench): Likewise.
19087         (binaries-bench): Generate binaries for functions to
19088         benchmark.
19089         * benchtests/Makefile: New makefile for benchmark tests.
19090         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19091         programs.
19092         * benchtests/exp-inputs: New input file for EXP function.
19093         * benchtests/pow-inputs: New input file for POW function.
19094         * scripts/bench.pl: New script to generate source files for
19095         benchmark programs.
19097 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19100         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19101         computations on mantissa.  Use macros for rounding and
19102         division.
19103         (denorm): Likewise.
19104         (__dbl_mp): Likewise.
19105         (add_magnitudes): Likewise.
19106         (sub_magnitudes): Likewise.
19107         (__mul): Likewise.
19108         (__sqr): Likewise.
19109         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19110         powers of two in terms of TWOPOW macro.
19111         (mp_no): Make type of mantissa as MANTISSA_T.
19112         [!RADIXI]: Define RADIXI.
19113         [!TWO52]: Define TWO52.
19114         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19116         * manual/nptl.texi (cindex): Modify threads to pthreads.
19118 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19120         * sysdeps/x86_64/preconfigure: Regenerated.
19122 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19124         [BZ #14155]
19125         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19126         0x1p28 and above.
19127         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19128         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19129         0x1p28 and above.
19130         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19131         * math/libm-test.inc (j0_test): Do not allow one spurious
19132         underflow exception.
19133         (y1_test): Likewise.
19135 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19137         * manual/Makefile (chapters): Add nptl.
19138         * manual/debug.texi (Debugging Support): Add link to Threads
19139         chapter.
19140         * manual/nptl.texi: New file.
19142         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19144 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19146         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19147         for non-NULL pointer before the memory validity test. Pointed
19148         out by Holger Brunck <holger.brunck@keymile.com>.
19150 2013-03-13  Andreas Schwab  <schwab@suse.de>
19152         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19153         instead of .os.
19155 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19157         * timezone/zic.c: Update from tzcode 2013b.
19159 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19161         * manual/install.texi (Configuring and compiling):
19162         Mention i686 and i586.
19163         * INSTALL: Regenerate.
19165 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19167         * sysdeps/init_array/elf-init.c: New file.
19168         * csu/elf-init.c
19169         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19170         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19172         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19173         __gmon_start__ as global, but as static with a .preinit_array pointer.
19174         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19175         * sysdeps/init_array/crti.S: New file, empty except for comments.
19176         * sysdeps/init_array/crtn.S: Likewise.
19178 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19180         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19181         definining bcopy.
19182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19183         Remove Prefer_SSE_for_memop.
19184         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19185         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19186         HAS_PREFER_SSE_FOR_MEMOP.
19187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19188         memset-x86-64.
19189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19190         Remove bzero, memset ifunc support.
19191         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19192         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19193         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19196 2013-03-11  Andreas Schwab  <schwab@suse.de>
19198         [BZ #15234]
19199         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19200         by SHLIB_COMPAT.
19201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19202         (GLIBC_2.16): Remove pthread_atfork.
19204 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19206         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19207         (ptestcases.h): Likewise.
19209 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19211         * Makeconfig ($(common-objpfx)config.status): Depend on
19212         sysdeps/*/preconfigure{,.in} too.
19214 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19216         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19217         (__free_hook): Use void * instead of __malloc_ptr_t.
19218         (__malloc_hook): Likewise.
19219         (__realloc_hook): Likewise.
19220         (__memalign_hook): Likewise.
19221         (__after_morecore_hook): Likewise.
19222         * malloc/arena.c (save_malloc_hook): Likewise.
19223         (save_free_hook): Likewise.
19224         * malloc/hooks.c (malloc_hook_ini): Likewise.
19225         (realloc_hook_ini): Likewise.
19226         (memalign_hook_ini): Likewise.
19227         * malloc/malloc.c (malloc_hook_ini): Likewise.
19228         (realloc_hook_ini): Likewise.
19229         (memalign_hook_ini): Likewise.
19230         (__free_hook): Likewise.
19231         (__malloc_hook): Likewise.
19232         (__realloc_hook): Likewise.
19233         (__memalign_hook): Likewise.
19234         (__libc_malloc): Likewise.
19235         (__libc_free): Likewise.
19236         (__libc_realloc): Likewise.
19237         (__libc_memalign): Likewise.
19238         (__libc_valloc): Likewise.
19239         (__libc_pvalloc): Likewise.
19240         (__libc_calloc): Likewise.
19241         (__posix_memalign): Likewise.
19242         * malloc/morecore.c (__sbrk): Likewise.
19243         (__default_morecore): Likewise.
19245         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19247         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19248         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19249         __malloc_ptrdiff_t.
19251         * malloc/malloc.h (__malloc_size_t): Remove macro.
19252         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19253         __malloc_size_t.
19254         (old_memalign_hook): Likewise.
19255         (old_realloc_hook): Likewise.
19256         (struct hdr): Likewise.
19257         (flood): Likewise.
19258         (mallochook): Likewise.
19259         (memalignhook): Likewise.
19260         (reallochook): Likewise.
19261         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19262         (tr_old_realloc_hook): Likewise.
19263         (tr_old_memalign_hook): Likewise.
19264         (tr_mallochook): Likewise.
19265         (tr_reallochook): Likewise.
19266         (tr_memalignhook): Likewise.
19268 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19271         default_ldbl_pack and using as default implementation.
19272         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19273         implementation.
19274         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19275         redundant definition.
19276         (ldbl_insert_mantissa): Likewise.
19277         (ldbl_canonicalize): Likewise.
19278         (ldbl_nearbyint): Likewise.
19279         (ldbl_pack): Rename to ldbl_pack_ppc.
19280         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19281         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19282         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19284 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19287         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19288         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19289         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19291         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19292         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19293         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19295 2013-03-07  Andreas Jaeger  <aj@suse.de>
19297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19298         bits/mman-linux.h.
19300 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19302         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19303         Include mpa.h and declare __MPEXP.
19304         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19305         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19306         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19307         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19308         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19309         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19310         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19312         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19313         (__slowpow): Use long double EXPL and LOGL functions to
19314         compute POW.
19315         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19316         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19317         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19318         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19319         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19320         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19323         intermediate variable to calculate exponent.
19324         (__sqr): Likewise.
19325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19326         Likewise.
19327         (__sqr): Likewise.
19329         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19330         [!NO__SQR]: Define __sqr.
19331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19332         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19333         sysdeps/ieee754/dbl-64/mpa.c.
19334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19336         [BZ #12723]
19337         * posix/Makefile (tests): Add tst-pathconf.
19338         * posix/tst-pathconf.c: New test case.
19339         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19340         _PC_PIPE_BUF.
19341         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19343 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19345         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19347 2013-03-06  Andreas Jaeger  <aj@suse.de>
19349         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19350         definition via __MAP_ANONYMOUS.
19352         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19353         it's not part of Linux headers.
19355         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19356         (MAP_HUGE_MASK): Define.
19358         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19359         Define.
19360         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19362         Define.
19363         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19364         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19365         Define.
19366         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19367         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19368         Define.
19369         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19371         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19372         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19373         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19374         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19375         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19376         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19379         Handle f2fs.
19381         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19382         Handle f2fs and efivarfs.
19384         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19385         f2fs.
19387         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19388         (EFIVARFS_MAGIC): Add.
19389         (F2FS_LINK_MAX): Add.
19391 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19393         * stdio-common/vfprintf.c: Replace __builtin_expect with
19394         __glibc_unlikely.
19396 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19398         [BZ #13550]
19399         * sysdeps/generic/bp-sym.h: Remove file.
19400         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19401         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19402         <bp-sym.h> and <bp-asm.h>.
19403         (__longjmp): Don't use BP_SYM.
19404         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19405         and <bp-asm.h>.
19406         (memcpy): Don't use BP_SYM.
19407         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19408         <bp-sym.h> and <bp-asm.h>.
19409         (memcpy): Don't use BP_SYM.
19410         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19411         <bp-asm.h>.
19412         (memcpy): Don't use BP_SYM.
19413         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19414         <bp-asm.h>.
19415         (memset): Don't use BP_SYM.
19416         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19417         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19418         (__bzero): Don't use BP_SYM.
19419         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19420         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19421         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19422         <bp-sym.h> and <bp-asm.h>.
19423         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19424         pointers.
19425         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19426         <bp-sym.h> and <bp-asm.h>.
19427         (memcpy): Don't use BP_SYM.
19428         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19429         <bp-sym.h> and <bp-asm.h>.
19430         (memset): Don't use BP_SYM.
19431         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19432         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19433         (__bzero): Don't use BP_SYM.
19434         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19435         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19436         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19437         <bp-sym.h> and <bp-asm.h>.
19438         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19439         pointers.
19440         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19441         <bp-sym.h> and <bp-asm.h>.
19442         (memcpy): Don't use BP_SYM.
19443         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19444         <bp-sym.h> and <bp-asm.h>.
19445         (memset): Don't use BP_SYM.
19446         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19447         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19448         (__bzero): Don't use BP_SYM.
19449         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19450         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19451         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19452         <bp-sym.h> and <bp-asm.h>.
19453         (__memchr): Don't use BP_SYM.
19454         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19455         <bp-sym.h> and <bp-asm.h>.
19456         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19457         pointers.
19458         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19459         <bp-sym.h> and <bp-asm.h>.
19460         (memcpy): Don't use BP_SYM.
19461         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19462         <bp-sym.h> and <bp-asm.h>.
19463         (__mempcpy): Don't use BP_SYM.
19464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19465         <bp-sym.h> and <bp-asm.h>.
19466         (__memrchr): Don't use BP_SYM.
19467         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19468         <bp-sym.h> and <bp-asm.h>.
19469         (memset): Don't use BP_SYM.
19470         (__bzero): Likewise.
19471         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19472         <bp-sym.h> and <bp-asm.h>.
19473         (__rawmemchr): Don't use BP_SYM.
19474         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19475         <bp-sym.h> and <bp-asm.h>.
19476         (__STRCMP): Don't use BP_SYM.
19477         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19478         <bp-sym.h> and <bp-asm.h>.
19479         (strchr): Don't use BP_SYM.
19480         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19481         <bp-sym.h> and <bp-asm.h>.
19482         (__strchrnul): Don't use BP_SYM.
19483         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19484         <bp-sym.h> and <bp-asm.h>.
19485         (strlen): Don't use BP_SYM.
19486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19487         <bp-sym.h> and <bp-asm.h>.
19488         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19489         pointers.
19490         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19491         <bp-sym.h> and <bp-asm.h>.
19492         (__strnlen): Don't use BP_SYM.
19493         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19494         <bp-sym.h> and <bp-asm.h>.
19495         (__GI__setjmp): Don't use BP_SYM.
19496         (_setjmp): Likewise.
19497         (__sigsetjmp): Likewise.
19498         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19499         (L(start_addresses)): Don't use BP_SYM.
19500         (_start): Likewise.
19501         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19502         <bp-asm.h>.
19503         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19504         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19505         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19506         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19508         <bp-asm.h>.
19509         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19510         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19511         about bounded pointers.
19512         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19513         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19514         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19515         <bp-asm.h>.
19516         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19517         about bounded pointers.  Remove GKM FIXME comments.
19518         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19519         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19520         <bp-asm.h>.
19521         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19522         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19523         Remove GKM FIXME comments.
19524         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19525         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19526         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19527         <bp-asm.h>.
19528         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19529         about bounded pointers.  Remove GKM FIXME comment.
19530         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19531         and <bp-asm.h>.
19532         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19533         pointers.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19535         <bp-sym.h> and <bp-asm.h>.
19536         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19538         <bp-sym.h> and <bp-asm.h>.
19539         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19540         comment.
19542 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19544         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19545         call free(NULL).
19547 2013-03-05  David S. Miller  <davem@davemloft.net>
19549         * po/es.po: Update from translation team.
19551 2013-03-05  Andreas Jaeger  <aj@suse.de>
19553         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19554         <bits/mman-linux.h>.
19555         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19556         is fine.
19557         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19558         <bits/mman-linux.h> to end of file.
19559         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19560         is fine.
19561         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19562         <bits/mman-linux.h> to end of file.
19563         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19564         is fine.
19565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19566         <bits/mman-linux.h> to end of file.
19568         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19569         (MCL_CURRENT, MCL_FUTURE): Define here.
19571 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19573         [BZ #15232]
19574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19575         attribute_hidden.
19576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19578 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19580         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19581         fourth parameter needed for rt_sigprocmask syscall.
19582         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19583         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19584         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19585         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19586         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19587         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19589 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19591         [BZ #13550]
19592         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19593         comment about bounded pointers.
19594         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19595         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19597 2013-03-04  Andreas Jaeger  <aj@suse.de>
19599         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19600         common definitions.
19602         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19603         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19604         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19605         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19606         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19607         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19609 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19611         [BZ #15055]
19612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19613         __ieee754_sqrl instead of __sqrl.
19615 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19617         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19618         * sysdeps/powerpc/fpu_control.h: ... here.
19619         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19620         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19621         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19622         * sysdeps/powerpc/bits/mathinline.h: ... here.
19624 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19626         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19627         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19628         to just [NEED_DL_SYSINFO_DSO].
19629         * elf/dl-support.c: Likewise.
19630         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19631         * elf/rtld.c (dl_main): Likewise.
19632         * elf/setup-vdso.h (setup_vdso): Likewise.
19633         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19634         * sysdeps/unix/sysv/linux/dl-sysdep.c
19635         (_dl_discover_osversion): Likewise.
19637 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19639         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19640         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19642 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19644         * NEWS: Mention libm performance improvements and non-x86 PI
19645         futex support.
19647         * csu/libc-start.c (__pthread_initialize_minimal): Change
19648         function arguments.
19649         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19651 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19653         [BZ #13550]
19654         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19655         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19656         <bp-sym.h> and <bp-asm.h>.
19657         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19658         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19659         and <bp-asm.h>.
19660         (memcpy): Don't use BP_SYM.
19661         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19662         <bp-asm.h>.
19663         (__mpn_add_n): Don't use BP_SYM.
19664         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19665         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19666         and <bp-asm.h>.
19667         (__mpn_addmul_1): Don't use BP_SYM.
19668         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19669         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19670         <bp-sym.h>.
19671         (_setjmp): Don't use BP_SYM.
19672         (__novmx_setjmp): Likewise.
19673         (__GI__setjmp): Likewise.
19674         (__vmx_setjmp): Likewise.
19675         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19676         <bp-sym.h>.
19677         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19678         (__bzero): Don't use BP_SYM.
19679         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19680         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19681         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19682         <bp-sym.h> and <bp-asm.h>.
19683         (memcpy): Don't use BP_SYM.
19684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19685         <bp-sym.h> and <bp-asm.h>.
19686         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19687         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19688         <bp-sym.h> and <bp-asm.h>.
19689         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19690         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19691         <bp-asm.h>.
19692         (__mpn_lshift): Don't use BP_SYM.
19693         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19694         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19695         <bp-asm.h>.
19696         (memset): Don't use BP_SYM.
19697         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19698         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19699         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19700         <bp-asm.h>.
19701         (__mpn_mul_1): Don't use BP_SYM.
19702         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19704         <bp-sym.h> and <bp-asm.h>.
19705         (memcmp): Don't use BP_SYM.
19706         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19707         <bp-sym.h> and <bp-asm.h>.
19708         (memcpy): Don't use BP_SYM.
19709         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19710         <bp-sym.h> and <bp-asm.h>.
19711         (memset): Don't use BP_SYM.
19712         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19713         <bp-sym.h> and <bp-asm.h>.
19714         (strncmp): Don't use BP_SYM.
19715         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19716         <bp-sym.h> and <bp-asm.h>.
19717         (memcpy): Don't use BP_SYM.
19718         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19719         <bp-sym.h> and <bp-asm.h>.
19720         (memset): Don't use BP_SYM.
19721         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19722         <bp-sym.h> and <bp-asm.h>.
19723         (__memchr): Don't use BP_SYM.
19724         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19725         <bp-sym.h> and <bp-asm.h>.
19726         (memcmp): Don't use BP_SYM.
19727         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19728         <bp-sym.h> and <bp-asm.h>.
19729         (memcpy): Don't use BP_SYM.
19730         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19731         <bp-sym.h> and <bp-asm.h>.
19732         (__mempcpy): Don't use BP_SYM.
19733         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19734         <bp-sym.h> and <bp-asm.h>.
19735         (__memrchr): Don't use BP_SYM.
19736         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19737         <bp-sym.h> and <bp-asm.h>.
19738         (memset): Don't use BP_SYM.
19739         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19740         <bp-sym.h> and <bp-asm.h>.
19741         (__rawmemchr): Don't use BP_SYM.
19742         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19743         <bp-sym.h> and <bp-asm.h>.
19744         (__STRCMP): Don't use BP_SYM.
19745         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19746         <bp-sym.h> and <bp-asm.h>.
19747         (strchr): Don't use BP_SYM.
19748         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19749         <bp-sym.h> and <bp-asm.h>.
19750         (__strchrnul): Don't use BP_SYM.
19751         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19752         <bp-sym.h> and <bp-asm.h>.
19753         (strlen): Don't use BP_SYM.
19754         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19755         <bp-sym.h> and <bp-asm.h>.
19756         (strncmp): Don't use BP_SYM.
19757         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19758         <bp-sym.h> and <bp-asm.h>.
19759         (__strnlen): Don't use BP_SYM.
19760         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19761         <bp-asm.h>.
19762         (__mpn_rshift): Don't use BP_SYM.
19763         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19764         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19765         <bp-sym.h> and <bp-asm.h>.
19766         (__sigsetjmp): Don't use BP_SYM.
19767         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19768         (L(start_addresses)): Don't use BP_SYM.
19769         (_start): Likewise.
19770         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19771         <bp-asm.h>.
19772         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19773         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19774         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19775         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19776         <bp-asm.h>.
19777         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19778         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19779         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19780         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19781         <bp-asm.h>.
19782         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19783         comments.
19784         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19785         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19786         <bp-asm.h>.
19787         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19788         FIXME comments.
19789         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19790         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19791         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19792         <bp-asm.h>.
19793         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19794         comment.
19795         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19796         and <bp-asm.h>.
19797         (strncmp): Don't use BP_SYM,
19798         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19799         <bp-asm.h>.
19800         (__mpn_sub_n): Don't use BP_SYM.
19801         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19802         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19803         and <bp-asm.h>.
19804         (__mpn_submul_1): Don't use BP_SYM.
19805         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19807         <bp-sym.h> and <bp-asm.h>.
19808         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19810         <bp-sym.h> and <bp-asm.h>.
19811         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19812         comment.
19814 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19817         Use ZK to minimize writes to Z.
19818         (sub_magnitudes): Simplify code a bit.
19819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19820         Use ZK to minimize writes to Z.
19821         (sub_magnitudes): Simplify code a bit.
19823 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19825         * csu/gmon-start.c: Add special exception to license text.
19827 2013-02-27  Richard Henderson  <rth@redhat.com>
19829         * scripts/config.guess: Update from config.git.
19830         * scripts/config.sub: Likewise.
19832 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19834         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19836         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19838         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19840         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19842         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19844 2013-02-26  Roland McGrath  <roland@hack.frob.com>
19846         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19847         [$(build-shared = yes].
19849 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19851         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19852         (__mul): Reduce iterations for calculating mantissa.
19854         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19855         MPTWO.
19856         (__mpranred): Likewise.
19858         [BZ #15160]
19859         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19860         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19862 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19864         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19865         Define __attribute__.
19867 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19869         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19870         unused.
19871         * posix/regex_internal.h (__attribute): Remove.
19872         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19873         (re_string_context_at): Likewise.
19874         (bitset_not): Use __attribute__ and mark function as possibly
19875         unused.
19876         (bitset_merge): Likewise.
19877         (bitset_mask): Likewise.
19878         (re_string_char_size_at): Likewise.
19879         (re_string_wchar_at): Likewise.
19880         (re_string_elem_size_at): Likewise.
19882 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19884         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19885         code.
19886         (cc32): Likewise.
19888         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19889         (__acr): Likewise.
19890         (__cpy): Likewise.
19891         (norm): Likewise.
19892         (denorm): Likewise.
19893         (__dbl_mp): Likewise.
19894         (add_magnitudes): Likewise.
19895         (sub_magnitudes): Likewise.
19896         (__mul): Likewise.
19897         (__inv): Likewise.
19899         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19900         style.
19902         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19903         style.
19905         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19906         code.
19908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19909         up changes with default code.
19910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19911         Likewise.
19913 2013-02-24  Allan McRae  <allan@archlinux.org>
19915         * manual/socket.texi (The Internet Namespace): Order menu items
19916         to match that in the file.
19918         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19919         node listing of the info page menu.
19921 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19923         [BZ #13550]
19924         * sysdeps/i386/bp-asm.h: Remove file.
19925         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19926         (PARMS): Do not use macros from bp-asm.h.
19927         (S1): Likewise.
19928         (S2): Likewise.
19929         (SIZE): Likewise.
19930         (__mpn_add_n): Do not use BP_SYM
19931         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19932         "bp-asm.h".
19933         (PARMS): Do not use macros from bp-asm.h.
19934         (S1): Likewise.
19935         (SIZE): Likewise.
19936         (__mpn_addmul_1): Do not use BP_SYM
19937         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19938         "bp-asm.h".
19939         (PARMS): Do not use macros from bp-asm.h.
19940         (SIGMSK): Likewise.
19941         (_setjmp): Likewise.  Do not use BP_SYM.
19942         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19943         "bp-asm.h".
19944         (PARMS): Do not use macros from bp-asm.h.
19945         (SIGMSK): Likewise.
19946         (setjmp): Likewise.  Do not use BP_SYM.
19947         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19948         "bp-asm.h".
19949         (PARMS): Do not use macros from bp-asm.h.
19950         (__frexp): Do not use BP_SYM.
19951         (frexp): Likewise.
19952         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19953         "bp-asm.h".
19954         (PARMS): Do not use macros from bp-asm.h.
19955         (__frexpf): Do not use BP_SYM.
19956         (frexpf): Likewise.
19957         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19958         "bp-asm.h".
19959         (PARMS): Do not use macros from bp-asm.h.
19960         (__frexpl): Do not use BP_SYM.
19961         (frexpl): Likewise.
19962         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19963         "bp-asm.h".
19964         (PARMS): Do not use macros from bp-asm.h.
19965         (__remquo): Do not use BP_SYM.
19966         (remquo): Likewise.
19967         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19968         "bp-asm.h".
19969         (PARMS): Do not use macros from bp-asm.h.
19970         (__remquof): Do not use BP_SYM.
19971         (remquof): Likewise.
19972         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19973         "bp-asm.h".
19974         (PARMS): Do not use macros from bp-asm.h.
19975         (__remquol): Do not use BP_SYM.
19976         (remquol): Likewise.
19977         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19978         "bp-asm.h".
19979         (PARMS): Do not use macros from bp-asm.h.
19980         (DEST): Likewise.
19981         (SRC): Likewise.
19982         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19983         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19984         "bp-asm.h".
19985         (PARMS): Do not use macros from bp-asm.h.
19986         (strlen): Do not use BP_SYM.
19987         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19988         "bp-asm.h".
19989         (PARMS): Do not use macros from bp-asm.h.
19990         (S1): Likewise.
19991         (S2): Likewise.
19992         (SIZE): Likewise.
19993         (__mpn_add_n): Do not use BP_SYM.
19994         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19995         "bp-asm.h".
19996         (PARMS): Do not use macros from bp-asm.h.
19997         (S1): Likewise.
19998         (SIZE): Likewise.
19999         (__mpn_addmul_1): Do not use BP_SYM.
20000         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20001         weak_alias.
20002         (bzero): Likewise.
20003         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20004         "bp-asm.h".
20005         (PARMS): Do not use macros from bp-asm.h.
20006         (S): Likewise.
20007         (SIZE): Likewise.
20008         (__mpn_lshift): Do not use BP_SYM.
20009         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20010         "bp-asm.h".
20011         (PARMS): Do not use macros from bp-asm.h.
20012         (DEST): Likewise.
20013         (SRC): Likewise.
20014         (LEN): Likewise.
20015         (memcpy): Likewise.  Do not use BP_SYM.
20016         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20017         libc_hidden_def and weak_alias.
20018         (mempcpy): Do not use BP_SYM in weak_alias.
20019         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20020         "bp-asm.h".
20021         (PARMS): Do not use macros from bp-asm.h.
20022         (DEST): Likewise.
20023         (LEN): Likewise.
20024         [!BZERO_P] (CHR): Likewise.
20025         (memset): Likewise.  Do not use BP_SYM.
20026         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20027         "bp-asm.h".
20028         (PARMS): Do not use macros from bp-asm.h.
20029         (S1): Likewise.
20030         (SIZE): Likewise.
20031         (__mpn_mul_1): Do not use BP_SYM.
20032         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20033         "bp-asm.h".
20034         (PARMS): Do not use macros from bp-asm.h.
20035         (S): Likewise.
20036         (SIZE): Likewise.
20037         (__mpn_rshift): Do not use BP_SYM.
20038         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20039         "bp-asm.h".
20040         (PARMS): Do not use macros from bp-asm.h.
20041         (STR): Likewise.
20042         (CHR): Likewise.
20043         (strchr): Likewise.  Do not use BP_SYM.
20044         (index): Do not use BP_SYM in weak_alias.
20045         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20046         "bp-asm.h".
20047         (PARMS): Do not use macros from bp-asm.h.
20048         (DEST): Likewise.
20049         (SRC): Likewise.
20050         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20051         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20052         "bp-asm.h".
20053         (PARMS): Do not use macros from bp-asm.h.
20054         (strlen): Do not use BP_SYM.
20055         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20056         "bp-asm.h".
20057         (PARMS): Do not use macros from bp-asm.h.
20058         (S1): Likewise.
20059         (S2): Likewise.
20060         (SIZE): Likewise.
20061         (__mpn_sub_n): Do not use BP_SYM.
20062         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20063         "bp-asm.h".
20064         (PARMS): Do not use macros from bp-asm.h.
20065         (S1): Likewise.
20066         (SIZE): Likewise.
20067         (__mpn_submul_1): Do not use BP_SYM.
20068         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20069         "bp-asm.h".
20070         (PARMS): Do not use macros from bp-asm.h.
20071         (S1): Likewise.
20072         (S2): Likewise.
20073         (SIZE): Likewise.
20074         (__mpn_add_n): Do not use BP_SYM.
20075         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20076         weak_alias.
20077         (bzero): Likewise.
20078         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20079         "bp-asm.h".
20080         (PARMS): Do not use macros from bp-asm.h.
20081         (BLK2): Likewise.
20082         (LEN): Likewise.
20083         (memcmp): Do not use BP_SYM.
20084         (bcmp): Do not use BP_SYM in weak_alias.
20085         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20086         "bp-asm.h".
20087         (PARMS): Do not use macros from bp-asm.h.
20088         (DEST): Likewise.
20089         (SRC): Likewise.
20090         (LEN): Likewise.
20091         (memcpy): Likewise.  Do not use BP_SYM.
20092         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20093         "bp-asm.h".
20094         (PARMS): Do not use macros from bp-asm.h.
20095         (DEST): Likewise.
20096         (SRC): Likewise.
20097         (LEN): Likewise.
20098         (memmove): Likewise.  Do not use BP_SYM.
20099         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20100         "bp-asm.h".
20101         (PARMS): Do not use macros from bp-asm.h.
20102         (DEST): Likewise.
20103         (SRC): Likewise.
20104         (LEN): Likewise.
20105         (__mempcpy): Likewise.  Do not use BP_SYM.
20106         (mempcpy): Do not use BP_SYM in weak_alias.
20107         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20108         "bp-asm.h".
20109         (PARMS): Do not use macros from bp-asm.h.
20110         (DEST): Likewise.
20111         (LEN): Likewise.
20112         [!BZERO_P] (CHR): Likewise.
20113         (memset): Likewise.  Do not use BP_SYM.
20114         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20115         "bp-asm.h".
20116         (PARMS): Do not use macros from bp-asm.h.
20117         (STR2): Likewise.
20118         (strcmp): Do not use BP_SYM.
20119         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20120         "bp-asm.h".
20121         (PARMS): Do not use macros from bp-asm.h.
20122         (STR): Likewise.
20123         (DELIM): Likewise.
20124         [USE_AS_STRTOK_R] (SAVE): Likewise.
20125         (FUNCTION): Likewise.  Do not use BP_SYM.
20126         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20127         aliases.
20128         (strtok_r): Likewise.
20129         (__GI___strtok_r): Likewise.
20130         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20131         (PARMS): Do not use macros from bp-asm.h.
20132         (S): Likewise.
20133         (SIZE): Likewise.
20134         (__mpn_lshift): Do not use BP_SYM.
20135         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20136         (PARMS): Do not use macros from bp-asm.h.
20137         (STR): Likewise.
20138         (CHR): Likewise.
20139         (__memchr): Do not use BP_SYM.
20140         (memchr): Do not use BP_SYM in weak_alias.
20141         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20142         (PARMS): Do not use macros from bp-asm.h.
20143         (BLK2): Likewise.
20144         (LEN): Likewise.
20145         (memcmp): Do not use BP_SYM.
20146         (bcmp): Do not use BP_SYM in weak_alias.
20147         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20148         (PARMS): Do not use macros from bp-asm.h.
20149         (S1): Likewise.
20150         (SIZE): Likewise.
20151         (__mpn_mul_1): Do not use BP_SYM.
20152         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20153         "bp-asm.h".
20154         (PARMS): Do not use macros from bp-asm.h.
20155         (STR): Likewise.
20156         (CHR): Likewise.
20157         (__rawmemchr): Do not use BP_SYM.
20158         (rawmemchr): Do not use BP_SYM in weak_alias.
20159         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20160         (PARMS): Do not use macros from bp-asm.h.
20161         (S): Likewise.
20162         (SIZE): Likewise.
20163         (__mpn_rshift): Do not use BP_SYM.
20164         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20165         (PARMS): Do not use macros from bp-asm.h.
20166         (SIGMSK): Likewise.
20167         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20168         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20169         (_start): Do not use BP_SYM.
20170         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20171         (PARMS): Do not use macros from bp-asm.h.
20172         (DEST): Likewise.
20173         (SRC): Likewise.
20174         (__stpcpy): Likewise.  Do not use BP_SYM.
20175         (stpcpy): Do not use BP_SYM in weak_alias.
20176         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20177         "bp-asm.h".
20178         (PARMS): Do not use macros from bp-asm.h.
20179         (DEST): Likewise.
20180         (SRC): Likewise.
20181         (LEN): Likewise.
20182         (__stpncpy): Likewise.  Do not use BP_SYM.
20183         (stpncpy): Do not use BP_SYM in weak_alias.
20184         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20185         (PARMS): Do not use macros from bp-asm.h.
20186         (STR): Likewise.
20187         (CHR): Likewise.
20188         (strchr): Likewise.  Do not use BP_SYM.
20189         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20190         "bp-asm.h".
20191         (PARMS): Do not use macros from bp-asm.h.
20192         (STR): Likewise.
20193         (CHR): Likewise.
20194         (__strchrnul): Likewise.  Do not use BP_SYM.
20195         (strchrnul): Do not use BP_SYM in weak_alias.
20196         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20197         "bp-asm.h".
20198         (PARMS): Do not use macros from bp-asm.h.
20199         (STOP): Likewise.
20200         (strcspn): Do not use BP_SYM.
20201         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20202         "bp-asm.h".
20203         (PARMS): Do not use macros from bp-asm.h.
20204         (STR): Likewise.
20205         (STOP): Likewise.
20206         (strpbrk): Likewise.  Do not use BP_SYM.
20207         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20208         "bp-asm.h".
20209         (PARMS): Do not use macros from bp-asm.h.
20210         (STR): Likewise.
20211         (CHR): Likewise.
20212         (strrchr): Likewise.  Do not use BP_SYM.
20213         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20214         (PARMS): Do not use macros from bp-asm.h.
20215         (SKIP): Likewise.
20216         (strspn): Do not use BP_SYM.
20217         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20218         (PARMS): Do not use macros from bp-asm.h.
20219         (STR): Likewise.
20220         (DELIM): Likewise.
20221         (SAVE): Likewise.
20222         (FUNCTION): Likewise.  Do not use BP_SYM.
20223         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20224         aliases.
20225         (strtok_r): Likewise.
20226         (__GI___strtok_r): Likewise.
20227         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20228         (PARMS): Do not use macros from bp-asm.h.
20229         (S1): Likewise.
20230         (S2): Likewise.
20231         (SIZE): Likewise.
20232         (__mpn_sub_n): Do not use BP_SYM.
20233         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20234         "bp-asm.h".
20235         (PARMS): Do not use macros from bp-asm.h.
20236         (S1): Likewise.
20237         (SIZE): Likewise.
20238         (__mpn_submul_1): Do not use BP_SYM.
20239         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20240         <bp-sym.h>.
20241         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20242         and <bp-asm.h>.
20243         (PARMS): Do not use macros from bp-asm.h.
20244         (FLAGS): Likewise.
20245         (PTID): Likewise.
20246         (TLS): Likewise.
20247         (CTID): Likewise.
20248         (__clone): Do not use BP_SYM.
20249         (clone): Do not use BP_SYM in weak_alias.
20250         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20251         and <bp-asm.h>.
20252         (PARMS): Do not use macros from bp-asm.h.
20253         (LEN): Likewise.
20254         (__mmap64): Do not use BP_SYM.
20255         (mmap64): Do not use BP_SYM in weak_alias.
20256         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20257         <bp-sym.h> and <bp-asm.h>.
20258         (PARMS): Do not use macros from bp-asm.h.
20259         (__posix_fadvise64_l64): Do not use BP_SYM.
20260         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20261         (PARMS): Do not use macros from bp-asm.h.
20262         (NSOPS): Likewise.
20263         (semtimedop): Do not use BP_SYM.
20264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20265         and <bp-asm.h>.
20267 2013-02-21  Allan McRae  <allan@archlinux.org>
20269         * manual/message.texi (Charset conversion in gettext):
20270         Move @end statement to beginning of line.
20272 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20275         static.
20276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20277         Likewise.
20279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20280         (denorm): Likewise.
20281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20284 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20286         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20287         tail-call to the resolved function if pltexit isn't needed.
20289 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20292         or Y being zero as being unlikely.
20293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20294         Likewise.
20296 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20298         * manual/nss.texi (System Databases and Name Service Switch):
20299         Remove frobnicate @pxref.
20301 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20303         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20304         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20306 2013-02-20  Petr Machata  <pmachata@redhat.com>
20308         * elf/elf.h (R_ARM_TARGET1): New macro.
20309         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20310         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20311         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20312         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20313         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20314         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20315         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20316         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20317         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20318         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20319         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20320         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20321         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20322         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20323         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20324         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20325         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20326         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20327         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20328         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20329         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20330         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20331         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20332         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20333         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20334         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20335         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20336         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20337         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20338         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20339         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20340         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20341         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20342         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20343         (R_ARM_THM_GOT_BREL12): Likewise.
20344         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20345         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20346         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20347         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20348         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20349         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20350         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20351         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20352         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20354 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20356         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20357         __attribute_used__ to __attribute__ ((unused)).
20359 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20361         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20362         powerpc mpa.c.
20363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20364         comment formatting.
20365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20367 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20369         [BZ #13550]
20370         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20371         Remove macro.
20372         (ENTER): Remove both macro definitions.
20373         (LEAVE): Likewise.
20374         (CHECK_BOUNDS_LOW): Likewise.
20375         (CHECK_BOUNDS_HIGH): Likewise.
20376         (CHECK_BOUNDS_BOTH): Likewise.
20377         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20378         (RETURN_BOUNDED_POINTER): Likewise.
20379         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20380         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20381         (POP_ERRNO_LOCATION_RETURN): Likewise.
20382         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20383         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20384         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20385         macros.
20386         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20387         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20388         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20389         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20390         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20391         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20392         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20393         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20394         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20395         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20396         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20397         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20398         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20399         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20400         removed macros.
20401         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20402         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20403         macros.
20404         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20405         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20406         * sysdeps/i386/i586/memset.S (memset): Likewise.
20407         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20408         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20409         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20410         macros.
20411         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20412         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20413         Change uses of L(2) to L(out).
20414         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20415         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20416         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20417         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20418         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20419         removed macros.
20420         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20421         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20422         macros.
20423         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20424         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20425         (RETURN): Do not use macro LEAVE.
20426         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20427         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20428         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20429         * sysdeps/i386/i686/memset.S (memset): Likewise.
20430         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20431         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20432         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20433         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20434         Likewise.
20435         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20436         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20437         L(1_2) and L(1_3) into L(1).
20438         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20439         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20440         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20441         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20442         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20443         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20444         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20445         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20446         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20447         macros.
20448         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20449         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20450         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20451         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20452         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20453         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20454         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20455         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20456         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20457         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20458         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20459         * sysdeps/i386/strspn.S (strspn): Likewise.
20460         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20461         conditional code.
20462         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20463         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20464         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20465         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20466         L(1_3) into L(1_1).
20467         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20468         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20469         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20470         macros.
20471         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20473 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20475         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20476         macro.
20478 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20480         * math/atest-exp.c (exp_mpn): Remove ROUND.
20481         * math/atest-exp2.c (exp_mpn): Likewise.
20482         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20484         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20485         * stdlib/tst-tls-atexit-lib.c: Likewise.
20486         * stdlib/tst-tls-atexit.c: Likewise.
20488 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20490         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20491         and __attribute_alloc_size__.
20493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20495         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20496         __attribute_alloc_size__.
20497         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20498         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20500 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20502         * include/programs/xmalloc.h: New file.
20503         * catgets/gencat.c: Include it.
20504         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20505         * elf/pldd.c: Likewise.
20506         * iconv/iconv_charmap.c: Likewise.
20507         * iconv/iconvconfig.c: Likewise.
20508         * iconv/strtab.c: Likewise.
20509         * locale/programs/locale.c: Likewise.
20510         * locale/programs/localedef.h: Likewise.
20511         * locale/programs/simple-hash.c: Likewise.
20512         * nscd/nscd.h: Likewise.
20513         * nss/makedb.c: Likewise.
20514         * sysdeps/generic/ldconfig.h: Likewise.
20516 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20518         * Versions.def: Add GLIBC_2.18.
20519         * include/link.h (struct link_map): New member l_tls_dtor_count.
20520         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20521         (__call_tls_dtors): Likewise.
20522         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20523         __cxa_thread_atexit_impl.
20524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20525         Likewise.
20526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20527         Likewise.
20528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20529         Likewise.
20530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20531         Likewise.
20532         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20534         Likewise.
20535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20536         Likewise.
20537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20539         Likewise.
20540         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20541         (tests): Add test case tst-tls-atexit.
20542         (modules-names): Add shared library for tst-tls-atexit.
20543         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20544         (GLIBC_PRIVATE): Add __call_tls_dtors.
20545         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20546         for libstdc++.
20547         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20548         * stdlib/tst-tls-atexit.c: New test case.
20549         * stdlib/tst-tls-atexit-lib.c: New test case.
20551         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20553         * elf/Versions (ld): Add _dl_find_dso_for_object.
20554         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20555         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20556         (dl_open_worker): Use _dl_find_dso_for_object.
20557         * elf/dl-sym.c (do_sym): Likewise.
20558         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20560 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20562         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20563         Syntactic changes only.
20564         (_dl_runtime_profile): Do a tail-call to the resolved function.
20566 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20568         [BZ #13550]
20569         * sysdeps/x86_64/bp-asm.h: Remove file.
20570         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20571         <bp-sym.h> and <bp-asm.h>.
20572         (__clone): Do not use BP_SYM.
20573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20574         <bp-sym.h> and <bp-asm.h>.
20575         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20576         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20577         "bp-asm.h".
20578         (_setjmp): Do not use BP_SYM.
20579         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20580         "bp-asm.h".
20581         (setjmp): Do not use BP_SYM.
20582         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20583         libc_hidden_def.
20584         (mempcpy): Do not use BP_SYM in weak_alias.
20585         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20586         "bp-asm.h".
20587         (strchr): Do not use BP_SYM.
20588         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20589         "bp-asm.h".
20590         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20591         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20592         (_start): Do not use BP_SYM.
20593         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20594         "bp-asm.h".
20595         (strcat): Do not use BP_SYM.
20596         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20597         "bp-asm.h".
20598         (STRCMP): Do not use BP_SYM.
20599         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20600         "bp-asm.h".
20601         (STRCPY): Do not use BP_SYM.
20602         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20603         "bp-asm.h".
20604         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20605         "bp-asm.h".
20606         (FUNCTION): Do not use BP_SYM.
20607         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20608         weak_alias.
20609         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20611 2013-02-17  Andreas Jaeger  <aj@suse.de>
20613         * time/Versions: Sort entries.
20614         * string/Versions: Likewise.
20615         * resolv/Versions: Likewise.
20616         * posix/Versions: Likewise.
20617         * iconv/Versions: Likewise.
20618         * elf/Versions: Likewise.
20619         * wcsmbs/Versions: Likewise.
20621 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20623         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20624         loop termination condition.
20626         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20627         variable to calculate EZ.
20628         (__sqr): Likewise.
20630         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20631         the lower precision input.
20633 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20635         [BZ #13550]
20636         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20637         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20638         (run-via-rtld-prefix): Do not handle %-bp tests.
20639         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20640         (all-object-suffixes): Remove .ob.
20641         (bppfx): Remove variable.
20642         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20643         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20644         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20645         [$(build-bounded) = yes] (libtype.ob): Likewise.
20646         * Makerules (elide-routines.ob): Remove variable.
20647         (do-tests-clean): Do not handle *-bp.out.
20648         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20649         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20650         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20651         (tests): Do not include $(tests-bp.out).
20652         (xtests): Do not include $(xtests-bp.out).
20653         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20654         [$(build-bounded) = yes] ($(addprefix
20655         $(objpfx),$(binaries-bounded))): Remove rule.
20656         ($(objpfx)%-bp.out): Remove rule.
20657         * config.make.in (build-bounded): Remove variable.
20658         * crypt/Makefile [$(build-bounded) = yes]
20659         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20660         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20661         append to variable.
20662         [$(build-bounded) = yes] (install-lib): Likewise.
20663         [$(build-bounded) = yes] (generated): Likewise.
20664         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20665         Remove rule.
20666         * intl/Makefile [$(build-bounded) = yes]
20667         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20668         * math/Makefile [$(build-bounded) = yes]
20669         ($(tests:%=$(objpfx)%-bp): Likewise.
20670         * misc/Makefile [$(build-bounded) = yes]
20671         ($(objpfx)tst-tsearch-bp): Likewise.
20672         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20673         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20674         Remove dependency.
20675         * string/Makefile (o-objects.ob): Remove variable.
20676         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20677         (CFLAGS-.ob): Remove variable.
20678         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20679         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20680         both definitions of variable.
20681         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20682         (ASFLAGS-.ob): Remove variable.
20684 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20686         [BZ #13550]
20687         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20688         Remove __BOUNDED_POINTERS__ from condition.
20689         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20690         * string/bits/string2.h [!__NO_STRING_INLINES &&
20691         !__BOUNDED_POINTERS__]: Likewise.
20692         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20693         Likewise.
20694         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20695         Remove conditional code.
20696         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20697         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20698         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20699         condition.
20701         [BZ #13550]
20702         * csu/libc-start.c: Do not include <bp-sym.h>.
20703         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20704         * elf/dl-open.c: Do not include <bp-sym.h>.
20705         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20706         * math/fegetenv.c: Do not include <bp-sym.h>.
20707         (fegetenv): Do not use BP_SYM in versioned symbols.
20708         * nptl/sysdeps/pthread/bits/libc-lockP.h
20709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20710         <bp-sym.h>.
20711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20712         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20714         (__pthread_mutex_destroy): Likewise.
20715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20716         (__pthread_mutex_lock): Likewise.
20717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20718         (__pthread_mutex_trylock): Likewise.
20719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20720         (__pthread_mutex_unlock): Likewise.
20721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20722         (__pthread_mutexattr_init): Likewise.
20723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20724         (__pthread_mutexattr_destroy): Likewise.
20725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20726         (__pthread_mutexattr_settype): Likewise.
20727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20728         (__pthread_rwlock_init): Likewise.
20729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20730         (__pthread_rwlock_destroy): Likewise.
20731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20732         (__pthread_rwlock_rdlock): Likewise.
20733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20734         (__pthread_rwlock_tryrdlock): Likewise.
20735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20736         (__pthread_rwlock_wrlock): Likewise.
20737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20738         (__pthread_rwlock_trywrlock): Likewise.
20739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20740         (__pthread_rwlock_unlock): Likewise.
20741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20742         (__pthread_key_create): Likewise.
20743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20744         (__pthread_setspecific): Likewise.
20745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20746         (__pthread_getspecific): Likewise.
20747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20748         Likewise.
20749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20750         (_pthread_cleanup_push_defer): Likewise.
20751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20752         (_pthread_cleanup_pop_restore): Likewise.
20753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20754         (pthread_setcancelstate): Likewise.
20755         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20756         <bp-sym.h>.
20757         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20758         (memchr): Do not use BP_SYM in weak_alias.
20759         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20760         (fegetenv): Do not use BP_SYM in versioned symbols.
20761         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20762         (fesetenv): Do not use BP_SYM in versioned symbols.
20763         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20764         (feupdateenv): Do not use BP_SYM in versioned symbols.
20765         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20766         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20767         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20768         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20769         (open64): Do not use BP_SYM in weak_alias.
20770         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20771         (fegetenv): Do not use BP_SYM in versioned symbols.
20772         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20773         (fesetenv): Do not use BP_SYM in versioned symbols.
20774         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20775         (feupdateenv): Do not use BP_SYM in versioned symbols.
20776         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20777         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20778         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20779         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20780         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20781         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20782         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20783         <bp-sym.h>.
20784         (__libc_start_main): Do not use BP_SYM.
20786 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20789         redundant return line.
20790         (norm): Likewise.
20791         (denorm): Likewise.
20792         (dbl_mp): Likewise.
20793         (sub_magnitudes): Likewise.
20794         (__add): Likewise.
20795         (__sub): Likewise.
20796         (__mul): Likewise.
20797         (__inv): Likewise.
20798         (__dvd): Likewise.
20799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20800         (norm): Likewise.
20801         (denorm): Likewise.
20802         (dbl_mp): Likewise.
20803         (sub_magnitudes): Likewise.
20804         (__add): Likewise.
20805         (__sub): Likewise.
20806         (__mul): Likewise.
20807         (__inv): Likewise.
20808         (__dvd): Likewise.
20810         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20811         instead of __mul.
20812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20813         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20814         (cc32): Likewise.
20816         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20817         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20819         of __mul for squares.
20820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20821         function
20822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20823         Likewise.
20824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20825         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20827 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #13550]
20830         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20831         code.
20832         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20833         prototype or function definition.  Rename ubp_* variables and
20834         parameters.  Remove argv definitions conditional on
20835         [__BOUNDED_POINTERS__].
20836         * debug/backtrace.c (__backtrace): Do not use __unbounded.
20837         * elf/dl-runtime.c (_dl_fixup): Likewise.
20838         * include/set-hooks.h (RUN_HOOK): Likewise.
20839         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20840         definition.
20841         * string/strcpy.c (strcpy): Do not use __unbounded.
20842         * sysdeps/generic/frame.h (struct layout): Likewise.
20843         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20844         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20845         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20846         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20847         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20848         (__backtrace): Likewise.
20849         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20850         use __ptrvalue.
20851         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20852         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20853         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20854         Likewise.
20855         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20856         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20857         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20858         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20859         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20860         Do not use __unbounded.
20861         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20862         Rename __unboundedrlimits parameter to rlimits in prototype.
20863         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20864         Do not use __unbounded.
20865         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20866         not use __ptrvalue.
20867         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20868         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20869         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20870         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20871         __ptrvalue or __unbounded.
20872         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20873         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20874         use __unbounded.
20875         (__new_msgctl): Do not use __ptrvalue.
20876         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20877         __unbounded.
20878         (__libc_msgrcv): Do not use __ptrvalue.
20879         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20880         startup_info): Do not use __unbounded.
20881         (__libc_start_main): Likewise.  Rename ubp_* variables and
20882         parameters.  Remove argv definitions conditional on
20883         [__BOUNDED_POINTERS__].
20884         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20885         __ptrvalue.
20886         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20887         use __unbounded.
20888         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20889         or __ptrvalue.
20890         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20891         use __unbounded.
20892         (__new_shmctl): Do not use __ptrvalue.
20893         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20894         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20895         Likewise.
20896         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20898         (__libc_sigaction): Likewise.
20899         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20900         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20901         Likewise.
20902         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20904 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20906         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20908         * string/mempcpy.c: Implement by calling memcpy.
20910 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20915         evaluation.
20917         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20918         values in the mantissa.
20920         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20921         minimize writes to Z.
20922         (sub_magnitudes): Simplify code a bit.
20924 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20926         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20927         from the message.  The linker prefixes all warnings with that already.
20929 2013-02-12  Andreas Schwab  <schwab@suse.de>
20931         [BZ #15078]
20932         * posix/regexec.c (extend_buffers): Add parameter min_len.
20933         (check_matching): Pass minimum needed length.
20934         (clean_state_log_if_needed): Likewise.
20935         (get_subexp): Likewise.
20936         * posix/Makefile (tests): Add bug-regex34.
20937         (bug-regex34-ENV): Define.
20938         * posix/bug-regex34.c: New file.
20940         [BZ #11561]
20941         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20942         elements compare against the byte sequence of it, not its name.
20943         * posix/Makefile (tests): Add bug-regex35.
20944         (bug-regex35-ENV): Define.
20945         * posix/bug-regex35.c: New file.
20947 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20949         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20950         comment.
20951         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20952         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20953         (CHECK_EOL): Add undef.
20955 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20957         * bits/stdlib-bsearch.h: New file.
20958         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20959         * stdlib/stdlib.h: Likewise.
20961 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20963         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20964         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20965         declaration.
20966         * manual/search.texi (Array Search Function): Add missing const in
20967         lfind prototype.
20968         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20969         declaration to use rlim_t.
20970         (Basic Scheduling Functions): Remove erroneous const from
20971         sched_getparam prototype.  Remove erroneous * from
20972         sched_get_priority_max and sched_get_priority_min prototypes.
20973         (Resource Usage): Fix summary @comment on vtimes to refer to
20974         sys/vtimes.h rather than vtimes.h.
20975         Add missing *s in vtimes prototype.
20976         (Limits on Resources): Fix ulimit prototype to return long int.
20977         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20978         prototypes to use long int rather than double.
20979         (BSD Random): Fix initstate and setstate to use char *, not void *.
20980         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20981         prototype to make second argument 'struct aiocb64 *const[]'.
20982         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20983         (Status of AIO Operations): Remove erroneous const in aio_return and
20984         aio_return64 prototypes.
20985         (Synchronizing I/O): Fix sync prototype to return void.
20986         * manual/startup.texi (Suboptions): Remove an erroneous const in
20987         getsubopt prototype.
20988         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20989         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20990         use size_t rather than int.
20991         (Scanning All Users): Likewise for getpwent_r.
20992         (Setting Groups): Add missing const to setgroups prototype.
20993         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20994         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20995         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20996         'const void *' rather than 'const char *'.
20997         (Host Address Functions): Likewise for inet_ntop.
20998         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20999         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21000         ssize_t for return value.
21001         (Sending Data): Likewise for send, sendto, sendmsg.
21002         (Socket Option Functions): Add a missing const in setsockopt prototype.
21003         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21004         use wchar_t for the argument.
21005         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21006         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21007         take no arguments.
21008         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21009         double/float/long double for second argument.
21010         Fix return types of significand, significandf, significandl.
21011         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21012         argument in fchmod prototype.
21013         (File Owner): Use uid_t and gid_t in fchown prototype.
21014         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21015         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21016         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21017         use 'const struct dirent **' as argument types to CMP function pointer
21018         argument.
21019         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21020         (File Times): Fix summary magic @comment for struct utimbuf and utime
21021         to refer to utime.h, not time.h.
21022         * manual/string.texi (Argz Functions): Add missing const in
21023         argz_extract and argz_next prototypes.
21024         (Finding Tokens in a String): Likewise for basename.
21025         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21026         (Copying and Concatenation): Fix typo in wmemmove prototype.
21027         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21028         (Signal Stack): Remove erroneous const in sigstack prototype.
21029         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21030         prototype.
21031         (Simple Calendar Time): Likewise for stime.
21032         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21033         prototype.
21034         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21035         say sys/sysctl.h instead.
21036         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21037         and vsyslog prototypes.
21039 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21041         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21042         Remove.
21044 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21046         * misc/sys/mman.h: Fix typo in mremap comment.
21048 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21050         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21051         the '\0' terminator.
21053 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21055         [BZ #13550]
21056         * debug/segfault.c: Don't include <bp-checks.h>.
21057         * sysdeps/generic/bp-checks.h: Remove file.
21058         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21059         (__GETDENTS): Don't use CHECK_N.
21060         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21061         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21062         (__getgroups): Don't use CHECK_N.
21063         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21064         (setgroups): Don't use CHECK_N.
21065         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21066         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21067         (__libc_msgrcv): Don't use CHECK_N.
21068         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21069         (__libc_msgsnd): Don't use CHECK_N.
21070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21071         <bp-checks.h>.
21072         (__libc_pread): Don't use CHECK_N.
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21074         include <bp-checks.h>.
21075         (__libc_pread64): Don't use CHECK_N.
21076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21077         include <bp-checks.h>.
21078         (__libc_pwrite): Don't use CHECK_N.
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21080         include <bp-checks.h>.
21081         (__libc_pwrite64): Don't use CHECK_N.
21082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21083         <bp-checks.h>.
21084         (__libc_pread): Don't use CHECK_N.
21085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21086         include <bp-checks.h>.
21087         (__libc_pread64): Don't use CHECK_N.
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21089         include <bp-checks.h>.
21090         (__libc_pwrite): Don't use CHECK_N.
21091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21092         include <bp-checks.h>.
21093         (__libc_pwrite64): Don't use CHECK_N.
21094         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21095         (do_pread): Don't use CHECK_N.
21096         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21097         (do_pread64): Don't use CHECK_N.
21098         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21099         (do_pwrite): Don't use CHECK_N.
21100         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21101         (do_pwrite64): Don't use CHECK_N.
21102         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21103         (__libc_readv): Don't use CHECK_N.
21104         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21105         (semop): Don't use CHECK_N.
21106         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21107         <bp-checks.h>.
21108         (semtimedop): Don't use CHECK_N.
21109         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21110         (__libc_pread): Don't use CHECK_N.
21111         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21112         <bp-checks.h>.
21113         (__libc_pread64): Don't use CHECK_N.
21114         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21115         <bp-checks.h>.
21116         (__libc_pwrite): Don't use CHECK_N.
21117         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21118         <bp-checks.h>.
21119         (__libc_pwrite64): Don't use CHECK_N.
21120         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21121         <bp-checks.h>.
21122         (__libc_msgrcv): Don't use CHECK_N.
21123         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21124         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21125         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21126         (__libc_writev): Don't use CHECK_N.
21128 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21130         * string/strcpy.c: Removed unused variable.
21132         * Makeconfig (+sysdep-includes): Define with := rather than =.
21133         Use an existing include/ subdir of each sysdeps dir before it.
21135 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21137         * nscd/connection.c (register_traced_file): Comment function.
21138         [HAVE_INOTIFY] (union __inev): Define.
21139         [HAVE_INOTIFY] (inotify_check_files): New function.
21140         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21141         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21142         clear_db_cache.
21143         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21145 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21147         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21148         loaded if not already and that a failure is permanent.
21150 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21152         [BZ #15006]
21153         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21154         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21156 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21158         [BZ #13550]
21159         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21160         (CHECK_1_NULL_OK): Likewise.
21161         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21162         (__fxstat): Do not use CHECK_1.
21163         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21164         <bp-checks.h>.
21165         (___fxstat64): Do not use CHECK_1.
21166         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21167         <bp-checks.h>.
21168         (__fxstatat): Do not use CHECK_1.
21169         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21170         <bp-checks.h>.
21171         (__fxstatat64): Do not use CHECK_1.
21172         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21173         <bp-checks.h>.
21174         (__fxstat): Do not use CHECK_1.
21175         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21176         <bp-checks.h>.
21177         (__fxstatat): Do not use CHECK_1.
21178         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21179         <bp-checks.h>.
21180         (__getresgid): Do not use CHECK_1.
21181         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21182         <bp-checks.h>.
21183         (__getresuid): Do not use CHECK_1.
21184         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21185         <bp-checks.h>.
21186         (__lxstat): Do not use CHECK_1.
21187         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21188         <bp-checks.h>.
21189         (__old_msgctl): Do not use CHECK_1.
21190         (__new_msgctl): Likewise.
21191         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21192         <bp-checks.h>.
21193         (__new_setrlimit): Do not use CHECK_1.
21194         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21195         <bp-checks.h>.
21196         (__old_shmctl): Do not use CHECK_1.
21197         (__new_shmctl): Likewise.
21198         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21199         <bp-checks.h>.
21200         (__xstat): Do not use CHECK_1.
21201         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21202         (__lxstat): Do not use CHECK_1.
21203         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21204         <bp-checks.h>.
21205         (___lxstat64): Do not use CHECK_1.
21206         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21207         (__old_msgctl): Do not use CHECK_1.
21208         (__new_msgctl): Likewise.
21209         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21210         <bp-checks.h>.
21211         (__gettimeofday): Do not use CHECK_1.
21212         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21213         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21214         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21215         <bp-checks.h>.
21216         (__gettimeofday): Do not use CHECK_1.
21217         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21218         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21219         (__new_shmctl): Do not use CHECK_1.
21220         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21221         <bp-checks.h>.
21222         (do_sigtimedwait): Do not use CHECK_1.
21223         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21224         <bp-checks.h>.
21225         (do_sigwaitinfo): Do not use CHECK_1.
21226         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21227         <bp-checks.h>.
21228         (msgctl): Do not use CHECK_1.
21229         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21230         <bp-checks.h>.
21231         (shmctl): Do not use CHECK_1.
21232         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21233         (ustat): Do not use CHECK_1.
21234         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21235         <bp-checks.h>.
21236         (__fxstat): Do not use CHECK_1.
21237         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21238         <bp-checks.h>.
21239         (__fxstatat): Do not use CHECK_1.
21240         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21241         <bp-checks.h>.
21242         (__lxstat): Do not use CHECK_1.
21243         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21244         <bp-checks.h>.
21245         (__xstat): Do not use CHECK_1.
21246         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21247         (__xstat): Do not use CHECK_1.
21248         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21249         (___xstat64): Do not use CHECK_1.
21251         [BZ #13550]
21252         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21253         definitions.
21254         (CHECK_BOUNDS_HIGH): Likewise.
21255         * string/strcpy.c: Do not include <bp-checks.h>.
21256         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21258 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21260         * nscd/nscd-client.h (__nscd_drop_map_ref):
21261         Add __attribute__ ((unused)).
21262         * nis/nss-nisplus.h (niserr2nss): Likewise.
21264         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21265         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21267         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21268         Remove inline keyword.
21269         * include/rounding-mode.h (round_away): Likewise.
21270         * libio/wfileops.c (adjust_wide_data): Likewise.
21271         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21272         (__m128i_strloadu_tolower): Likewise.
21273         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21274         (__m128i_strloadu_tolower): Likewise.
21275         * time/mktime.c (ydhms_diff): Likewise.
21276         * locale/elem-hash.h (elem_hash): Likewise.
21277         * locale/setlocale.c (setdata): Likewise.
21278         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21279         (re_string_wchar_at): Likewise.
21280         (bitset_not, bitset_merge, bitset_mask): Likewise.
21281         [!(__GNUC__ > 3)] (inline): Remove macro.
21282         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21283         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21284         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21285         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21286         * string/memcmp.c (memcmp_bytes): Likewise.
21287         * locale/programs/locarchive.c (compute_hashval): Likewise.
21288         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21289         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21290         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21291         * nss/getent.c (print_rpc, print_protocols): Likewise.
21292         (print_passwd, print_group, print_aliases): Likewise.
21293         * nis/nss-nisplus.h (niserr2nss): Likewise.
21294         * nscd/connections.c (restart_p): Likewise.
21295         Change return type to bool.
21297 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21299         * Makeconfig (all-Depend-files): Add existing
21300         $(sorted-subdirs:=/Depend) files.
21301         (all-subdirs): Remove nss.
21302         * sysdeps/unix/inet/Subdirs: Add it here instead.
21303         * hesiod/Depend: New file.
21305         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21306         instead of calling alloca.
21308         * io/lseek.c (__lseek): Rename to __libc_lseek.
21309         Define __lseek as an alias.
21311         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21313 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21315         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21316         else clause and remove check for non-standard endianness.
21318 2013-02-04  David S. Miller  <davem@davemloft.net>
21320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21322 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21324         [BZ #13550]
21325         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21326         (__ubp_memchr): Remove prototype.
21327         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21328         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21329         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21330         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21331         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21332         Remove alias.
21333         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21334         (__ubp_memchr): Likewise.
21335         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21336         (__ubp_memchr): Likewise.
21337         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21338         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21339         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21340         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21341         CHECK_STRING.
21342         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21343         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21344         (__getcwd): Do not use CHECK_STRING.
21345         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21346         <bp-checks.h>.
21347         (__real_chown): Do not use CHECK_STRING.
21348         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21349         <bp-checks.h>.
21350         (fchownat): Do not use CHECK_STRING.
21351         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21352         CHECK_STRING.
21353         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21354         <bp-checks.h>.
21355         (__lchown): Do not use CHECK_STRING.
21356         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21357         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21358         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21359         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21361         include <bp-checks.h>.
21362         (truncate64): Do not use CHECK_STRING.
21363         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21364         <bp-checks.h>.
21365         (__real_chown): Do not use CHECK_STRING.
21366         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21367         <bp-checks.h>.
21368         (__lchown): Do not use CHECK_STRING.
21369         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21370         <bp-checks.h>.
21371         (__chown): Do not use CHECK_STRING.
21372         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21373         <bp-checks.h>.
21374         (truncate64): Do not use CHECK_STRING.
21375         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21376         Likewise.
21377         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21378         (__xmknod): Do not use CHECK_STRING.
21379         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21380         <bp-checks.h>.
21381         (__xmknodat): Do not use CHECK_STRING.
21382         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21383         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21385 2013-02-04  Andreas Schwab  <schwab@suse.de>
21387         [BZ #14142]
21388         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21389         * include/netdb.h: Likewise for h_errno.
21390         * elf/tst-stackguard1.c: Include <tls.h>.
21392 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21394         * elf/link.h (struct link_map): Extend the l_addr comment.
21395         * include/link.h (struct link_map): Likewise.
21397 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21399         [BZ #13550]
21400         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21401         (BOUNDED_1): Remove macro.
21402         * debug/backtrace.c: Don't include <bp-checks.h>.
21403         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21404         (__backtrace): Likewise.
21405         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21406         <bp-checks.h>.
21407         (__backtrace): Don't use BOUNDED_1.
21408         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21409         <bp-checks.h>.
21410         (__backtrace): Don't use BOUNDED_1.
21411         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21412         (__backtrace): Don't use BOUNDED_1.
21413         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21414         (shmat): Don't use BOUNDED_N.
21416 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21418         [BZ #13550]
21419         * sysdeps/generic/bp-start.h: Remove file.
21420         * csu/libc-start.c: Don't include <bp-start.h>.
21421         (LIBC_START_MAIN): Set up __environ directly instead of using
21422         INIT_ARGV_and_ENVIRON.
21423         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21424         <bp-start.h>.
21426         [BZ #13550]
21427         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21428         definitions.
21429         (CHECK_FCNTL): Likewise.
21430         (CHECK_N_PAGES): Likewise.
21432         [BZ #13550]
21433         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21434         definitions.
21435         (CHECK_SIGSET_NULL_OK): Likewise.
21436         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21437         <bp-checks.h>.
21438         (sigpending): Don't use CHECK_SIGSET.
21439         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21440         <bp-checks.h>.
21441         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21442         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21443         <bp-checks.h>.
21444         (do_sigsuspend): Don't use CHECK_SIGSET.
21445         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21446         use CHECK_SIGSET.
21447         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21448         (do_sigwait): Don't use CHECK_SIGSET.
21449         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21450         use CHECK_SIGSET.
21451         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21452         include <bp-checks.h>.
21453         (sigpending): Don't use CHECK_SIGSET.
21454         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21455         include <bp-checks.h>.
21456         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21457         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21458         <bp-checks.h>.
21459         (sigpending): Don't use CHECK_SIGSET.
21460         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21461         <bp-checks.h>.
21462         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21464         [BZ #13550]
21465         * sysdeps/generic/bp-semctl.h: Remove file.
21466         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21467         <bp-checks.h> and <bp-semctl.h>.
21468         (__old_semctl): Don't use CHECK_SEMCTL.
21469         (__new_semctl): Likewise.
21470         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21471         and <bp-semctl.h>.
21472         (__old_semctl): Don't use CHECK_SEMCTL.
21473         (__new_semctl): Likewise.
21474         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21475         <bp-checks.h> and <bp-semctl.h>.
21476         (__old_semctl): Don't use CHECK_SEMCTL.
21477         (__new_semctl): Likewise.
21478         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21479         <bp-checks.h> and <bp-semctl.h>.
21480         (semctl): Don't use CHECK_SEMCTL.
21482         [BZ #13550]
21483         * Makerules (elide-bp-thunks): Remove variable.
21484         (elide-routines.oS): Don't use $(elide-bp-thunks).
21485         (elide-routines.os): Likewise.
21486         (elide-routines.o): Likewise.
21487         (elide-routines.op): Likewise.
21488         (elide-routines.og): Likewise.
21489         (objects): Don't use $(bp-thunks).
21490         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21491         include.
21492         (common-generated): Do not add s-proto-bp.d.
21493         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21494         (int): Likewise.
21495         (typ): Likewise.
21496         Do not generate makefile rules for bounded-pointer thunks.
21497         * sysdeps/generic/bp-thunks.h: Remove file.
21498         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21499         * sysdeps/unix/s-proto-bp.S: Likewise.
21501         [BZ #15062]
21502         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21503         parts of result separately when argument is not close to line from
21504         -i to i and one part of argument is small.
21505         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21506         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21507         * math/libm-test.inc (cacos_test): Add more tests.
21508         (casin_test): Likewise.
21509         (casinh_test): Likewise.
21510         * sysdeps/i386/fpu/libm-test-ulps: Update.
21511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21513 2013-01-31  David S. Miller  <davem@davemloft.net>
21515         * po/de.po: Update from translation team.
21517 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21519         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21521 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21523         * configure.in (_AC_PROG_CC_C89): New definition.
21524         * configure: Regenerate.
21526         * configure.in (AC_PROG_CPP): New definition.
21527         * configure: Regenerate.
21529 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21531         * debug/tst-backtrace.h: New file.
21532         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21533         (ret): Remove variable.
21534         (x): Likewise.
21535         (FAIL): Remove macro.
21536         (NO_INLINE): Likewise.
21537         (fn1): Use match function instead of strstr.
21538         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21539         (ret): Remove variable.
21540         (x): Likewise.
21541         (FAIL): Remove macro.
21542         (NO_INLINE): Likewise.
21543         (fn): Use match function instead of strstr.
21544         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21545         (ret): Remove variable.
21546         (x): Likewise.
21547         (FAIL): Remove macro.
21548         (NO_INLINE): Likewise.
21549         (handle_signal): Use match function instead of strstr.
21550         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21551         (ret): Remove variable.
21552         (x): Likewise.
21553         (FAIL): Remove macro.
21554         (NO_INLINE): Likewise.
21555         (handle_signal): Use match function instead of strstr.
21557 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21559         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21561 2013-01-23  David S. Miller  <davem@davemloft.net>
21563         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21564         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21565         argument of CAS if possible.
21566         * sysdeps/sparc/sparc64/bits/atomic.h
21567         (__arch_compare_and_exchange_val_32_acq): Likewise.
21568         (__arch_compare_and_exchange_val_64_acq): Likewise.
21570 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21572         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21573         * sysdeps/posix/ulimit.c: ... this.
21574         Include <limits.h>.
21575         * sysdeps/unix/bsd/ulimit.c: Remove file.
21577 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21579         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21580         (LDFLAGS-tst-array5): Likewise.
21582 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21584         [BZ #15036]
21585         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21586         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21587         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21588         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21590 2013-01-21  David S. Miller  <davem@davemloft.net>
21592         * sysdeps/sparc/backtrace.c: New file.
21593         * sysdeps/sparc/sparc32/backtrace.h: New file.
21594         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21595         * sysdeps/sparc/sparc64/backtrace.h: New file.
21596         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21597         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21598         -funwind-tables.
21600 2013-01-21  Andreas Schwab  <schwab@suse.de>
21602         [BZ #15020]
21603         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21604         closed its stdout.
21606 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21609         "mpa2.h".
21610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21612 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21613             Mark Mitchell  <mark@codesourcery.com>
21614             Tom de Vries  <tom@codesourcery.com>
21615             Paul Pluzhnikov  <ppluzhnikov@google.com>
21617         * debug/tst-backtrace2.c: New file.
21618         * debug/tst-backtrace3.c: Likewise.
21619         * debug/tst-backtrace4.c: Likewise.
21620         * debug/tst-backtrace5.c: Likewise.
21621         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21622         (CFLAGS-tst-backtrace3.c): Likewise.
21623         (CFLAGS-tst-backtrace4.c): Likewise.
21624         (CFLAGS-tst-backtrace5.c): Likewise.
21625         (LDFLAGS-tst-backtrace2): Likewise.
21626         (LDFLAGS-tst-backtrace3): Likewise.
21627         (LDFLAGS-tst-backtrace4): Likewise.
21628         (LDFLAGS-tst-backtrace5): Likewise.
21629         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21630         tst-backtrace4 and tst-backtrace5.
21632 2013-01-18  Anton Blanchard  <anton@samba.org>
21633             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21635         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21636         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21637         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21638         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21640         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21641         "+r" and remove output regs list as redundant.  Add explicit inline
21642         asm to specify register of return val to work around compiler codegen
21643         bug.  Remove (int) cast on return value.  Add return type parameter to
21644         use in macro so that this macro does not truncate return value for
21645         64-bit values.
21646         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21647         pass to INTERNAL_VSYSCALL_NCS.
21648         (INLINE_VSYSCALL): Add 'long int' as return type to
21649         INTERNAL_VSYSCALL_NCS macro invocation.
21650         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21651         INTERNAL_VSYSCALL_NCS macro invocation.
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21654 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21656         [BZ #14496]
21657         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21658         Fix application of SIMD FP exception mask.
21660         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21661         mp_no from a power of two.
21662         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21663         __mpexp_twomm1.  Use __pow_mp.
21665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21666         multiplication.
21668 2013-01-17  David S. Miller  <davem@davemloft.net>
21670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21672 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21674         [BZ #15023]
21675         * include/complex.h: Condition contents on [!_COMPLEX_H].
21676         (__kernel_casinhf): New prototype.
21677         (__kernel_casinh): Likewise.
21678         (__kernel_casinhl): Likewise.
21679         * math/Makefile (libm_calls): Add k_casinh.
21680         * math/k_casinh.c: New file.
21681         * math/k_casinhf.c: Likewise.
21682         * math/k_casinhl.c: Likewise.
21683         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21684         finite nonzero arguments.
21685         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21686         finite nonzero arguments.
21687         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21688         finite nonzero arguments.
21689         * math/s_casinh.c: Do not include <float.h>.
21690         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21691         * math/s_casinhf.c: Do not include <float.h>.
21692         (__casinhf): Move code for finite nonzero arguments to
21693         k_casinhf.c.
21694         * math/s_casinhl.c: Do not include <float.h>.
21695         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21696         redefine.
21697         (__casinhl): Move code for finite nonzero arguments to
21698         k_casinhl.c.
21699         * math/libm-test.inc (cacos_test): Add more tests.
21700         * sysdeps/i386/fpu/libm-test-ulps: Update.
21701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21703 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21705         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21706         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21707         [!HAVE_MREMAP]: Remove [defined linux] case.
21708         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21710 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21712         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21714 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21716         * elf/elf.h (R_386_SIZE32): New relocation.
21717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21718         R_386_SIZE32.
21719         (elf_machine_rela): Likewise.
21720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21721         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21723 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21725         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21726         (FP_FAST_FMA): Do not define.
21727         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21728         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21729         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21730         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21731         !_SOFT_FLOAT]: Likewise.
21732         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21733         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21734         value.
21735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21736         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21737         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21738         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21739         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21740         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21741         file.
21743 2013-01-16  Andreas Schwab  <schwab@suse.de>
21745         [BZ #14327]
21746         * include/stdlib.h (__mktemp): Add declaration.
21747         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21748         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21750 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21752         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21753         definitions.
21754         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21755         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21756         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21757         definitions here.
21758         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21759         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21760         definitions.
21761         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21762         and ONE.
21763         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21764         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21765         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21766         definitions.
21767         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21768         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21769         definitions.
21770         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21772         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21774 2013-01-15  David S. Miller  <davem@davemloft.net>
21776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21777         trunc{,f} to libm-sysdep_routes.
21778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21780         file.
21781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21783         file.
21784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21785         file.
21786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21788         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21789         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21790         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21791         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21792         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21793         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21796         nearbyint{,f} to libm-sysdep_routes.
21797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21799         New file.
21800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21801         file.
21802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21803         New file.
21804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21805         file.
21806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21808         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21809         file.
21810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21811         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21812         file.
21813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21814         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21815         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21817         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21818         libc_feholdexcept and libc_fesetenv.
21820 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21822         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21824 2013-01-14  David S. Miller  <davem@davemloft.net>
21826         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21827         (SPARC_ASM_VIS2_IFUNC): Likewise.
21828         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21830         use of 'siam' instruction.
21831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21832         Likewise.
21833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21834         Likewise.
21835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21836         Likewise.
21837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21842         file.
21843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21844         file.
21845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21846         file.
21847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21848         file.
21849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21854         new VIS2 routines.
21855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21858         Likewise.
21859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21862         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21864         routines to libm-sysdep_routines.
21865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21868         fdim/fdimf to libm-sysdep_routines.
21869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21870         file.
21871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21873         file.
21874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21877         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21878         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21879         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21880         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21882 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21884         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21885         to optimize copies.
21887         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21892         local variable MPTWO.
21893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21894         Likewise.
21896 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21898         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21899         GLOB_NOESCAPE.
21901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21903         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21905 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21907         * manual/pattern.texi (glob_t): Document gl_flags.
21908         (glob64_t): Likewise.
21910 2013-01-11  David S. Miller  <davem@davemloft.net>
21912         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21913         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21914         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21915         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21916         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21917         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21918         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21919         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21920         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21921         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21922         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21923         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21924         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21926         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21927         sparc V9 rather than using V8 code.
21928         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21929         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21931         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21932         Move to...
21933         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21934         Here.
21936 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21938         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21939         not in the main loop.
21940         * configure: Regenerated.
21942 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21944         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21945         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21946         to just #else.
21947         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21948         [!__GLIBC_HAVE_LONG_LONG] case.
21949         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21950         condition to just #else.
21951         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21952         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21953         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21954         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21955         unconditional.
21956         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21957         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21958         #elif condition to just #else.
21959         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21960         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21961         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21962         #elif condition to just #else.
21964 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21966         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21967         (EF_MIPS_ARCH_64): Fix value.
21968         (EF_MIPS_ARCH_32R2): New.
21969         (EF_MIPS_ARCH_64R2): New.
21971 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21973         * Makeconfig (+link-pie-before-libc): New.
21974         (+link-pie-after-libc): Likewise.
21975         (+link-pie-tests): Likewise.
21976         (+link-pie): Rewritten.
21977         (link-before-libc): Remove $(config-LDFLAGS).
21978         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21979         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21980         (config-LDFLAGS): Renamed to ...
21981         (rtld-LDFLAGS): This.
21982         (rtld-tests-LDFLAGS): New macro.
21983         (link-libc-rpath-link): Likewise.
21984         (link-libc-tests-rpath-link): Likewise.
21985         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21986         (link-libc): Prepand $(link-libc-rpath-link).
21987         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21988         (test-program-prefix): New macro.
21989         (test-via-rtld-prefix): Likewise.
21990         (test-program-cmd): Likewise.
21991         (host-test-program-cmd): Likewise.
21992         * Makefile ($(common-objpfx)testrun.sh): Replace
21993         $(run-program-prefix) with $(test-program-prefix).
21994         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21995         $(rtld-LDFLAGS).
21996         ($(common-objpfx)shlib.lds): Likewise.
21997         (build-module-helper): Likewise.
21998         ($(common-objpfx)format.lds): Likewise.
21999         * Rules (binaries-pie-tests): New.
22000         (binaries-pie-notests): Likewise.
22001         (binaries-pie): Rewritten.
22002         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22003         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22004         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22005         (make-test-out): Replace $(host-built-program-cmd) with
22006         $(host-test-program-cmd).
22007         * config.make.in (build-hardcoded-path-in-tests): New variable.
22008         * configure.in (--enable-hardcoded-path-in-tests): New configure
22009         option.
22010         (hardcoded_path_in_tests): New AC_SUBST.
22011         * configure: Regenerated.
22012         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22013         $(built-program-cmd) with $(test-program-cmd).
22014         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22015         (test_program_cmd): This.
22016         * elf/Makefile ($(objpfx)order.out): Run test with
22017         $(test-program-prefix).
22018         ($(objpfx)order2.out): Likewise.
22019         ($(objpfx)tst-initorder.out): Likewise.
22020         ($(objpfx)tst-initorder2.out): Likewise.
22021         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22022         $(test-program-cmd).
22023         ($(objpfx)tst-array1-static.out): Likewise.
22024         ($(objpfx)tst-array2.out): Likewise.
22025         ($(objpfx)tst-array3.out): Likewise.
22026         ($(objpfx)tst-array4.out): Likewise.
22027         ($(objpfx)tst-array5.out): Likewise.
22028         ($(objpfx)tst-array5-static.out): Likewise.
22029         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22030         $(test-program-cmd).
22031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22032         $(run-program-prefix) with $(test-program-prefix).
22033         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22034         (test_program_prefix): This.
22035         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22036         $(run-program-prefix) with $(test-program-prefix).
22037         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22038         (test_program_prefix): This.
22039         * iconvdata/tst-tables.sh: Likewise.
22040         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22041         $(run-program-prefix) with $(test-program-prefix).
22042         ($(objpfx)tst-translit.out): Likewise.
22043         ($(objpfx)tst-gettext2.out): Likewise.
22044         ($(objpfx)tst-gettext4.out): Likewise.
22045         ($(objpfx)tst-gettext6.out): Likewise.
22046         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22047         (test_program_prefix): This.
22048         * intl/tst-gettext2.sh: Likewise.
22049         * intl/tst-gettext4.sh  Likewise.
22050         * intl/tst-gettext6.sh: Likewise.
22051         * intl/tst-translit.sh: Likewise.
22052         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22053         with $(test-program-cmd).
22054         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22055         $(run-program-prefix) with $(test-program-prefix).
22056         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22057         (test_program_prefix): This.
22058         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22059         $(run-program-prefix) with $(test-program-prefix).
22060         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22061         (test_program_prefix): This.
22062         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22063         * posix/Makefile ($(objpfx)globtest.out): Replace
22064         $(run-via-rtld-prefix) and $(test-wrapper) with
22065         $(test-program-prefix) and $(test-via-rtld-prefix).
22066         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22067         $(test-program-prefix).
22068         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22069         $(host-test-program-cmd).
22070         (tst-spawn-ARGS): Likewise.
22071         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22072         $(test-program-prefix).
22073         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22074         (test_via_rtld_prefix): This.
22075         (test_wrapper): Renamed to ...
22076         (test_program_prefix): This.
22077         (run_program_prefix): Replaced by test_program_prefix.
22078         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22079         (test_program_prefix): This.
22080         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22081         with $(host-test-program-cmd).
22082         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22083         $(run-program-prefix) with $(test-program-prefix).
22084         ($(objpfx)tst-printf.out): Likewise.
22085         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22086         $(test-program-cmd).
22087         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22088         (test_program_prefix): This.
22089         * stdio-common/tst-unbputc.sh: Likewise.
22090         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22091         $(run-program-prefix) with $(test-program-prefix).
22092         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22093         (test_program_prefix): This.
22094         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22095         $(built-program-cmd) with $(test-program-cmd).
22097 2013-01-11  Andreas Jaeger  <aj@suse.de>
22099         [BZ #15003]
22100         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22101         value. Sync with Linux 3.7.
22103 2013-01-10  David S. Miller  <davem@davemloft.net>
22105         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22106         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22107         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22109 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22111         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22112         never set.
22113         * configure: Regenerated.
22115 2013-01-10  David S. Miller  <davem@davemloft.net>
22117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22118         sparc V9 rather than using V8 code.
22119         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22120         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22122 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22124         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22125         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22126         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22127         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22128         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22129         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22130         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22131         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22132         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22133         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22134         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22135         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22136         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22137         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22138         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22139         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22140         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22141         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22142         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22143         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22144         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22145         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22146         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22147         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22148         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22149         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22150         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22152 2013-01-10  David S. Miller  <davem@davemloft.net>
22154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22156 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22158         * posix/Makefile (tests-static): New variable.
22159         (tests): Add $(tests-static).
22160         (tst-exec-static-ARGS): New variable.
22161         (tst-spawn-static-ARGS): Likewise.
22162         * posix/tst-exec-static.c: New file.
22163         * posix/tst-spawn-static.c: Likewise.
22164         * posix/tst-exec.c: Support run directly.
22165         * posix/tst-spawn.c: Likewise.
22167 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22169         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22170         long.
22171         * math/bits/mathcalls.h (llrint): Likewise.
22172         (llround): Likewise.
22173         * stdlib/stdlib.h (struct drand48_data): Likewise.
22174         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22175         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22176         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22177         Likewise.
22178         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22179         Likewise.
22180         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22181         (elf_greg_t): Likewise.
22182         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22183         (__jmp_buf): Likewise.
22184         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22185         definitions.
22186         (llrint): Likewise, for all definitions.
22187         (llrintl): Likewise.
22189         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22190         Remove [__GNUC__] condition.
22191         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22192         condition to just [__USE_ISOC99].
22193         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22195 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22197         [BZ #14200]
22198         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22199         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22200         defined.
22201         (_POSIX_V6_ILP32_OFF32): Likewise.
22202         (_XBS5_ILP32_OFF32): Likewise.
22203         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22204         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22206 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22211         doubles __mpexp_twomm1.  Adjust usage.
22212         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22213         Remove.
22215 2013-01-10  Andreas Schwab  <schwab@suse.de>
22217         [BZ #14964]
22218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22219         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22221 2013-01-09  David S. Miller  <davem@davemloft.net>
22223         [BZ #15003]
22224         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22225         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22226         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22227         (TCP_FASTOPEN): Define.
22228         (tcp_repair_opt): New structure.
22229         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22230         enum values.
22231         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22232         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22233         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22234         (tcp_cookie_transactions): New structure.
22236 2013-01-09  Anton Blanchard  <anton@samba.org>
22238         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22239         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22240         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22243 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22245         * include/features.h (__USE_ANSI): Remove.
22247 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22249         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22251         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22253 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22255         * sysdeps/s390/fpu/libm-test-ulps: Update.
22257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22259         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22260         (__acr): Likewise.
22261         (__cpy): Likewise.
22262         (norm): Likewise.
22263         (denorm): Likewise.
22264         (__mp_dbl): Likewise.
22265         (__dbl_mp): Likewise.
22266         (add_magnitudes): Likewise.
22267         (sub_magnitudes): Likewise.
22268         (__add): Likewise.
22269         (__sub): Likewise.
22270         (__mul): Likewise.
22271         (__inv): Likewise.
22272         (__dvd): Likewise.
22273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22274         (__acr): Likewise.
22275         (__cpy): Likewise.
22276         (norm): Likewise.
22277         (denorm): Likewise.
22278         (__mp_dbl): Likewise.
22279         (__dbl_mp): Likewise.
22280         (add_magnitudes): Likewise.
22281         (sub_magnitudes): Likewise.
22282         (__add): Likewise.
22283         (__sub): Likewise.
22284         (__mul): Likewise.
22285         (__inv): Likewise.
22286         (__dvd): Likewise.
22287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22288         (__acr): Likewise.
22289         (__cpy): Likewise.
22290         (norm): Likewise.
22291         (denorm): Likewise.
22292         (__mp_dbl): Likewise.
22293         (__dbl_mp): Likewise.
22294         (add_magnitudes): Likewise.
22295         (sub_magnitudes): Likewise.
22296         (__add): Likewise.
22297         (__sub): Likewise.
22298         (__mul): Likewise.
22299         (__inv): Likewise.
22300         (__dvd): Likewise.
22302 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22304         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22305         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22306         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22307         2 && __USE_EXTERN_INLINES]: Likewise.
22309 2013-01-08  Andreas Jaeger  <aj@suse.de>
22311         [BZ# 14985]
22312         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22313         Remove.
22314         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22315         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22317 2013-01-07  Anton Blanchard  <anton@samba.org>
22319         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22320         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22321         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22322         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22323         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22324         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22325         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22326         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22331         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22333         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22335         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22336         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22337         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22338         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22339         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22340         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22342         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22343         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22344         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22345         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22346         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22347         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22348         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22349         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22351         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22353         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22354         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22355         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22357         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22359         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22360         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22361         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22363 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22365         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22366         (__MALLOC_PMT): Likewise.
22367         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22368         [__GNUC__], only on [_LIBC].
22369         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22370         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22371         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22372         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22373         forward declaration.
22374         (realloc_hook_ini): Likewise.
22375         (memalign_hook_ini): Likewise.
22376         (__libc_memalign): Do not use __MALLOC_PMT in variable
22377         declaration.
22378         (__libc_valloc): Likewise.
22379         (__libc_pvalloc): Likewise.
22380         (__libc_calloc): Likewise.
22381         (__posix_memalign): Likewise.
22383         [BZ #14996]
22384         * math/s_casinh.c: Include <float.h>.
22385         (__casinh): Do not do computation with squaring and square root
22386         for large arguments.
22387         * math/s_casinhf.c: Include <float.h>.
22388         (__casinhf): Do not do computation with squaring and square root
22389         for large arguments.
22390         * math/s_casinhl.c: Include <float.h>.
22391         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22392         (__casinhl): Do not do computation with squaring and square root
22393         for large arguments.
22394         * math/libm-test.inc (casin_test): Add more tests.
22395         (casinh_test): Likewise.
22396         * sysdeps/i386/fpu/libm-test-ulps: Update.
22397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22401         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22402         (__x86_64_raw_data_cache_size): Likewise.
22403         (__x86_64_data_cache_size_half): Likewise.
22404         (__x86_64_raw_data_cache_size_half): Likewise.
22405         (__x86_64_shared_cache_size): Likewise.
22406         (__x86_64_raw_shared_cache_size): Likewise.
22407         (__x86_64_shared_cache_size_half): Likewise.
22408         (__x86_64_raw_shared_cache_size_half): Likewise.
22409         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22410         to ...
22411         (__x86_data_cache_size): This.
22412         (__x86_64_raw_data_cache_size): Renamed to ...
22413         (__x86_raw_data_cache_size): This.
22414         (__x86_64_data_cache_size_half): Renamed to ...
22415         (__x86_data_cache_size_half): This.
22416         (__x86_64_raw_data_cache_size_half): Renamed to ...
22417         (__x86_raw_data_cache_size_half): This.
22418         (__x86_64_shared_cache_size): Renamed to ...
22419         (__x86_shared_cache_size): This.
22420         (__x86_64_raw_shared_cache_size): Renamed to ...
22421         (__x86_raw_shared_cache_size): This.
22422         (__x86_64_shared_cache_size_half): Renamed to ...
22423         (__x86_shared_cache_size_half): This.
22424         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22425         (__x86_raw_shared_cache_size_half): This.
22426         * sysdeps/x86_64/memcpy.S: Updated.
22427         * sysdeps/x86_64/memset.S: Likewise.
22428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22429         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22430         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22432 2013-01-04  David S. Miller  <davem@davemloft.net>
22434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22436 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22438         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22439         1 to avoid redefinition warning.
22440         (__USE_GNU): Don't define.
22441         (init_signaling_nan): Protoize.
22443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22445 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22447         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22449         (__cpymn): Likewise.
22450         (norm): Remove commented code.
22451         (denorm): Likewise.
22452         (__mp_dbl): Likewise.
22453         (__inv): Likewise.
22454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22455         (__cpymn): Likewise.
22456         (norm): Remove commented code.
22457         (denorm): Likewise.
22458         (__mp_dbl): Likewise.
22459         (__inv): Likewise.
22461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22462         mp_no value for 1.0 and 2.0.
22463         (norm): Use RADIXI instead of radixi.d.
22464         (denorm): Likewise.
22465         (__mul): Use 0.0 instead of zero.d.
22466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22467         mp_no value for 1.0 and 2.0.
22468         (norm): Use RADIXI instead of radixi.d.
22469         (denorm): Likewise.
22470         (__mul): Use 0.0 instead of zero.d.
22472 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22474         [BZ #14994]
22475         * math/s_casinh.c (__casinh): Reduce finite argument to first
22476         quadrant then set signs of results at the end.
22477         * math/s_casinhf.c (__casinhf): Likewise.
22478         * math/s_casinhl.c (__casinhl): Likewise.
22479         * math/libm-test.inc (casin_test): Add more tests.
22480         (casinh_test): Likewise.
22481         * sysdeps/i386/fpu/libm-test-ulps: Update.
22482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22484 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22486         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22488         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22490         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22491         declarations.
22492         (denorm): Likewise.
22493         (__mp_dbl): Likewise.
22494         (__inv): Likewise.
22496         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22497         and adjust the header comment.
22499         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22500         variable name from declaration.
22502 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22505         Initialize COMMON_CPUID_INDEX_7 element.
22506         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22507         (CPUID_RTM): Likewise.
22508         (HAS_RTM): Likewise.
22509         (COMMON_CPUID_INDEX_7): New enum.
22511 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22513         [BZ #14981]
22514         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22515         size is zero, record memory as freed.
22517 2013-01-03  Andreas Jaeger  <aj@suse.de>
22519         * po/ia.po: Add new Interlingua translation.
22521 2012-01-03  Allan McRae  <allan@archlinux.org>
22523         * locale/programs/localedef.c: Fix description of '--posix' flag.
22525 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22527         * NEWS: Update dates in second copyright notice.
22528         * README: Update copyright dates in example.
22529         * manual/libc.texinfo: Update copyright dates.
22530         * scripts/test-installation.pl: Update copyright date in --version
22531         output.
22533         * hurd/ctty-input.c: Fix copyright notice formatting.
22534         * hurd/ctty-output.c: Likewise.
22535         * hurd/dtable.c: Likewise.
22536         * hurd/hurd-raise.c: Likewise.
22537         * hurd/hurdprio.c: Likewise.
22538         * hurd/msgportdemux.c: Likewise.
22539         * misc/sys/file.h: Likewise.
22540         * misc/sys/ioctl.h: Likewise.
22541         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22542         * sysdeps/mach/hurd/chdir.c: Likewise.
22543         * sysdeps/mach/hurd/fchdir.c: Likewise.
22544         * sysdeps/mach/hurd/rename.c: Likewise.
22545         * sysdeps/mach/hurd/rmdir.c: Likewise.
22546         * sysdeps/mach/hurd/seekdir.c: Likewise.
22547         * sysdeps/mach/hurd/setsid.c: Likewise.
22548         * sysdeps/posix/wait3.c: Likewise.
22550         * All files with FSF copyright notices: Update copyright dates
22551         using scripts/update-copyrights.
22552         * intl/plural.c: Regenerated.
22553         * locale/programs/charmap-kw.h: Likewise.
22554         * locale/programs/locfile-kw.h: Likewise.
22556 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22559         four values.
22561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22562         calculation loop and add branch prediction.
22564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22565         check access beyond bounds of m1np.
22567         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22568         MPTWO.
22569         (__inv): Remove local variable MPTWO to use the global
22570         constant.
22571         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22573         variable MPTWO.
22574         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22575         MP3HALFS static const.
22577 2013-01-01  David S. Miller  <davem@davemloft.net>
22579         * po/ca.po: Update from translation team.
22581 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22583         * scripts/update-copyrights: New file.
22584         * Makeconfig: Reformat copyright notice.
22585         * ctype/ctype.h: Likewise.
22586         * debug/swprintf_chk.c: Likewise.
22587         * elf/dl-cache.c: Likewise.
22588         * elf/dl-debug.c: Likewise.
22589         * elf/dl-object.c: Likewise.
22590         * grp/initgroups.c: Likewise.
22591         * hurd/Makefile: Likewise.
22592         * hurd/hurd/signal.h: Likewise.
22593         * hurd/hurdfault.c: Likewise.
22594         * hurd/hurdioctl.c: Likewise.
22595         * hurd/hurdlookup.c: Likewise.
22596         * hurd/intr-msg.c: Likewise.
22597         * iconv/gconv_open.c: Likewise.
22598         * libio/swprintf.c: Likewise.
22599         * locale/lc-ctype.c: Likewise.
22600         * locale/nl_langinfo.c: Likewise.
22601         * mach/Machrules: Likewise.
22602         * mach/Makefile: Likewise.
22603         * malloc/obstack.h: Likewise.
22604         * manual/Makefile: Likewise.
22605         * manual/tsort.awk: Likewise.
22606         * misc/bits/stab.def: Likewise.
22607         * nis/nis_print_group_entry.c: Likewise.
22608         * nis/nis_table.c: Likewise.
22609         * nis/nss_compat/compat-pwd.c: Likewise.
22610         * nis/nss_compat/compat-spwd.c: Likewise.
22611         * po/Makefile: Likewise.
22612         * posix/fnmatch.c: Likewise.
22613         * posix/regex.h: Likewise.
22614         * resolv/Makefile: Likewise.
22615         * resolv/nss_dns/dns-network.c: Likewise.
22616         * resolv/res_hconf.c: Likewise.
22617         * scripts/gen-sorted.awk: Likewise.
22618         * soft-fp/soft-fp.h: Likewise.
22619         * stdio-common/printf.h: Likewise.
22620         * stdlib/monetary.h: Likewise.
22621         * stdlib/random.c: Likewise.
22622         * stdlib/random_r.c: Likewise.
22623         * sysdeps/generic/Makefile: Likewise.
22624         * sysdeps/gnu/Makefile: Likewise.
22625         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22627         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22632         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22633         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22634         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22635         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22636         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22637         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22638         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22639         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22640         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22641         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22642         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22643         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22645         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22646         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22647         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22649         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22653         * sysdeps/mach/hurd/errnos.awk: Likewise.
22654         * sysdeps/mach/hurd/fork.c: Likewise.
22655         * sysdeps/mach/hurd/getcwd.c: Likewise.
22656         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22657         * sysdeps/mach/hurd/mmap.c: Likewise.
22658         * sysdeps/mach/hurd/utimes.c: Likewise.
22659         * sysdeps/mach/hurd/xmknod.c: Likewise.
22660         * sysdeps/posix/profil.c: Likewise.
22661         * sysdeps/posix/readdir_r.c: Likewise.
22662         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22663         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22664         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22665         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22667         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22668         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22669         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22671         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22672         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22673         * sysdeps/pthread/lio_listio.c: Likewise.
22674         * sysdeps/sparc/dl-procinfo.h: Likewise.
22675         * sysdeps/unix/i386/sysdep.S: Likewise.
22676         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22677         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22678         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22679         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22681         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22682         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22683         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22684         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22685         * sysdeps/wordsize-32/divdi3.c: Likewise.
22686         * time/sys/time.h: Likewise.
22687         * wcsmbs/Makefile: Likewise.
22689 2013-01-01  David S. Miller  <davem@davemloft.net>
22691         * po/fr.po: Update from translation team.
22693         * catgets/gencat.c: Update copyright year.
22694         * csu/version.c: Likewise.
22695         * debug/catchsegv.sh: Likewise.
22696         * debug/pcprofiledump.c: Likewise.
22697         * debug/xtrace.sh: Likewise.
22698         * elf/ldconfig.c: Likewise.
22699         * elf/ldd.bash.in: Likewise.
22700         * elf/pldd.c: Likewise.
22701         * elf/sotruss.ksh: Likewise.
22702         * elf/sprof.c: Likewise.
22703         * iconv/iconv_prog.c: Likewise.
22704         * iconv/iconvconfig.c: Likewise.
22705         * locale/programs/locale.c: Likewise.
22706         * locale/programs/localedef.c: Likewise.
22707         * login/programs/pt_chown.c: Likewise.
22708         * malloc/memusage.sh: Likewise.
22709         * malloc/memusagestat.c: Likewise.
22710         * malloc/mtrace.pl: Likewise.
22711         * nscd/nscd.c: Likewise.
22712         * nss/getent.c: Likewise.
22713         * nss/makedb.c: Likewise.
22714         * posix/getconf.c: Likewise.
22716 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22718         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22719         numbers.
22721 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22723         * math/bits/mathcalls.h (modf): Use __nonnull.
22725 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22727         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22728         (split): Use macro CN instead of the bare value.
22729         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22730         could be used.
22731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22732         instead of the bare value.
22733         (power1): Likewise.
22735 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22738         __ATAN_TWOM.
22739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22741         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22742         their values.
22743         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22744         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22745         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22746         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22748 2012-12-28  Andreas Jaeger  <aj@suse.de>
22750         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22751         values are from Linux 3.7.
22753         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22754         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22756 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22758         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22759         TRUE case.
22761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22762         (norm): Likewise.
22763         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22764         variables with preprocessor constants.
22765         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22766         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22767         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22769 2012-12-27  Bruno Haible  <bruno@clisp.org>
22771         [BZ #14317]
22772         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22773         only if needed.
22775 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22778         and use variable directly.
22779         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22781         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22782         MPONE.
22783         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22785         variable MPONE.
22786         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22788         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22789         include directive.  Remove local variable MPONE.
22790         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22791         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22792         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22794 2012-12-25  David S. Miller  <davem@davemloft.net>
22796         * version.h (RELEASE): Set to "development".
22797         (VERSION): Set to "2.17.90".
22798         * NEWS: Add 2.18 section.
22800 2012-12-21  David S. Miller  <davem@davemloft.net>
22802         * po/hr.po: Update from translation team.
22804 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22806         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22808 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22810         * NEWS:  Mention new memcpy for MIPS.
22812 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22814         * manual/contrib.texi (Contributors): Spelling correction.
22816 2012-12-15  David S. Miller  <davem@davemloft.net>
22818         * po/ru.po: Update from translation team.
22820 2012-12-13  David S. Miller  <davem@davemloft.net>
22822         * NEWS: Mention IFUNC testsuite enhancements.
22824         * po/pl.po: Update from translation team.
22825         * po/bg.po: Likewise.
22827         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22828         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22830 2012-12-11  David S. Miller  <davem@davemloft.net>
22832         * po/sv.po: Update from translation team.
22834         * po/vi.po: Update from translation team.
22836         * po/cs.po: Update from translation team.
22838         * po/de.po: Update from translation team.
22839         * po/eo.po: Likewise.
22840         * po/nl.po: Likewise.
22842 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22844         [BZ #14246]
22845         * manual/argp.texi (Argp Helper Functions): Move node to follow
22846         Argp Parsing State.
22848         [BZ #14872]
22849         * manual/conf.texi (Limits on File System Capacity): Mention if
22850         terminating null is included in the max size.
22852 2012-12-10  Andreas Jaeger  <aj@suse.de>
22854         * po/cs.po: Update from translation team.
22856 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22858         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22859         void pointer and cast to uintptr_t.
22860         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22861         path.
22862         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22863         * sysdeps/s390/s390-64/memset.S: Likewise.
22865 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22867         [BZ #14833]
22868         * menual/message.texi (Message Translation): Fix typos.
22869         (Helper programs for gettext): Likewise.
22871 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22873         [BZ #14898]
22874         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22875         Change to -1.
22877 2012-12-07  David S. Miller  <davem@davemloft.net>
22879         * po/libc.pot: Update.
22881 2012-12-07  Richard Henderson  <rth@redhat.com>
22883         [BZ #10114]
22884         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22885         normal/normal case to before the switch.
22886         (_FP_DIV): Likewise.
22888 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22889             Mike Frysinger  <vapier@gentoo.org>
22891         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22892         check for __NR_fadvise64_64.
22894 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22896         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22897         0, not just to plain "0" as a statement.
22898         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22899         with cw.
22901 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22903         * NEWS: Use sourceware.org in Bugzilla URL.
22905 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22908         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22910         * stdio-common/tst-put-error.c (do_test): Add newline to the
22911         padded test to ensure flush.
22913 2012-12-05  Jeff Law  <law@redhat.com>
22915         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22917 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22919         * README: Don't refer to ports add-on as distributed separately.
22920         Mention AArch64 in list of systems supported in the ports add-on.
22922         * LICENSES: Add more non-FSF copyright and license notices.
22924         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22925         ((unused)).
22927         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22929         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22930         10000 as width of padded output.
22932 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22934         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22936         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22937         variable LX with __attribute__ ((unused)).
22938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22939         Likewise.
22940         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22943         with __attribute__ ((unused)).
22945 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22947         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22949 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22951         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22952         (CFLAGS-nldbl-acos.c): New variable.
22953         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22954         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22955         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22956         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22957         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22958         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22959         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22960         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22961         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22962         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22963         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22964         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22965         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22966         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22967         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22968         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22969         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22970         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22971         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22972         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22973         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22974         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22975         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22976         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22977         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22978         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22979         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22980         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22981         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22982         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22983         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22984         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22985         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22986         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22987         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22988         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22989         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22990         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22991         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22992         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22993         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22994         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22995         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22996         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22997         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22998         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22999         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23000         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23001         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23002         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23003         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23004         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23005         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23006         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23007         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23008         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23009         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23010         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23011         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23012         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23013         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23014         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23015         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23016         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23017         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23018         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23019         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23020         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23021         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23022         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23023         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23024         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23025         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23026         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23027         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23028         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23029         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23030         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23031         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23032         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23033         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23034         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23035         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23036         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23037         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23038         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23039         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23040         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23041         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23042         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23043         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23044         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23045         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23046         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23047         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23048         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23049         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23052         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23054         [BZ #14914]
23055         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23056         whole low double instead of just low 47 bits when splitting values
23057         into two parts.
23059 2012-12-03  Allan McRae  <allan@archlinux.org>
23061         * manual/stdio.texi (Predefined Printf Handlers): Remove
23062         @hsep and @vsep usage.
23064 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23066         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23067         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23069 2012-12-03  Jeff Law  <law@redhat.com>
23071         * time/sys/time.h (settimeofday): Do not mark TV argument
23072         as __nonnull.
23074 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23076         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23077         when currently writing and seek to current position when not.
23078         * libio/Makefile (tests): Remove bug-fclose1.
23079         * libio/bug-fclose1.c: Delete.
23081 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23083         * manual/arith.texi (feenableexcept): Fix typo.
23084         (fedisableexcept): Likewise.
23086 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23088         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23089         second, differently-typed declaration, rather than a cast.
23091 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23093         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23094         * include/rpc/svc.h: ... here.
23096 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23098         [BZ #13013]
23099         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23100         depending n and resplen2 to catch cases where answer
23101         equals answerp2.
23103 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23105         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23106         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23108 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23110         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23112 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23114         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23116 2012-11-28  Jeff Law  <law@redhat.com>
23118         [BZ #13761]
23119         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23120         dataset_temporary.  Track alloca usage into alloca_used.
23121         If dataset is large allocate and release it via malloc/free.
23123 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23125         [BZ #14197]
23126         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23128 2012-11-28  David S. Miller  <davem@davemloft.net>
23130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23132 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #14803]
23135         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23136         of pi/2 rounded to nearest to 64 bits.
23137         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23138         nearest to 64 bits.
23139         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23140         bits.
23142 2012-11-28  Jeff Law <law@redhat.com>
23143             Martin Osvald <mosvald@redhat.com>
23145         [BZ #14889]
23146         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23147         * sunrpc/svc.c: Include time.h.
23148         (__svc_accept_failed): New function.
23149         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23150         any reason other than EINTR, call __svc_accept_failed.
23151         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23152         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23154 2012-11-28  Andreas Schwab  <schwab@suse.de>
23156         * scripts/abilist.awk: Also handle indirect functions in .opd
23157         section.
23159 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23161         [BZ #13881]
23162         * sysdeps/x86/fpu/powl_helper.c: New file.
23163         * sysdeps/x86/fpu/Makefile: Likewise.
23164         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23165         (p3): New object.
23166         (__ieee754_powl): Use __powl_helper for finite arguments except
23167         integer exponents below 8.
23168         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23169         (p3): New object.
23170         (__ieee754_powl): Use __powl_helper for finite arguments except
23171         integer exponents below 8.
23172         * math/libm-test.inc (pow_test): Add more tests and enable some
23173         previously disabled tests.
23174         * sysdeps/i386/fpu/libm-test-ulps: Update.
23175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23177 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23178             Carlos O'Donell  <carlos_odonell@mentor.com>
23180         * nss/makedb.c (is_prime): Assert that input is odd and greater
23181         than 4.  Note that fact in a comment too.
23182         (next_prime): Add 4 to input.
23184 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186         [BZ #11741]
23187         * libio/Makefile (tests): Add test case tst-fwrite-error.
23188         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23189         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23190         * libio/tst-fwrite-error.c: New test case.
23192 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23194         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23195         before casting to void *.
23196         * include/libc-internal.h (__pointer_type): New macro.
23197         (__integer_if_pointer_type_sub): Likewise.
23198         (__integer_if_pointer_type): Likewise.
23199         (cast_to_integer): Likewise.
23200         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23201         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23202         before casting to atomic64_t.
23203         (atomic_exchange_acq): Likewise.
23204         (__arch_exchange_and_add_body): Likewise.
23205         (__arch_add_body): Likewise.
23206         (atomic_add_negative): Likewise.
23207         (atomic_add_zero): Likewise.
23209 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23211         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23212         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23213         (add_fdes): Likewise.
23214         (linear_search_fdes): Likewise.
23215         (binary_search_unencoded_fdes): Likewise.
23217 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23219         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23221 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23223         * configure.in: Autodetect C++ header directories.
23224         * configure: Regenerated.
23226 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23228         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23230 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23234 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23236         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23237         LDBL_MANT_DIG == 106]: Disable some tests.
23238         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23239         Likewise.
23240         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23241         Likewise.
23243         [BZ #14871]
23244         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23245         input for small inputs.  Return +/- pi/2 for large inputs.
23246         * math/libm-test.inc (atan_test): Add more tests.
23248         * sysdeps/generic/unwind-dw2-fde-glibc.c
23249         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23250         __attribute__ ((unused)).
23252         [BZ #14645]
23253         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23254         x * y if x and y are nonzero and z is zero.
23256         [BZ #14811]
23257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23258         nonzero exponents with absolute value below 0x1p-117 to +/-
23259         0x1p-117.
23261         [BZ #14869]
23262         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23263         up arguments below 2**-450, not just those below 2**-500.
23264         * math/libm-test.inc (hypot_test): Add another test.
23266         [BZ #14868]
23267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23268         Return a+b for ratio over 2**120, not 2**60.
23269         * math/libm-test.inc (hypot_test): Add another test.
23271         * math/libm-test.inc (clog_test): Use
23272         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23273         (clog10_test): Likewise.
23275         [BZ #6778]
23276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23278 2012-11-22  Andreas Schwab  <schwab@suse.de>
23280         * sysdeps/i386/fpu/libm-test-ulps: Update.
23282 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23284         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23285         printf output with newline.
23287 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23289         [BZ #14865]
23290         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23291         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23292         -z nodlopen, -z initfirst and -z execstack support.
23293         * configure: Regenerated.
23295         * elf/elf.h (DF_1_NODIRECT): New macro.
23296         (DF_1_IGNMULDEF): Likewise.
23297         (DF_1_NOKSYMS): Likewise.
23298         (DF_1_NOHDR): Likewise.
23299         (DF_1_EDITED): Likewise.
23300         (DF_1_NORELOC): Likewise.
23301         (DF_1_SYMINTPOSE): Likewise.
23302         (DF_1_GLOBAUDIT): Likewise.
23303         (DF_1_SINGLETON): Likewise.
23304         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23305         DT_1_SUPPORTED_MASK bits.
23306         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23308 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23310         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23312 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23314         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23315         macro.
23317         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23318         (sendmmsg): Move declarations...
23319         * socket/sys/socket.h: ... here.
23320         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23321         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23322         include it from...
23323         * socket/recvmmsg.c: ... this new file.
23324         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23325         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23326         definition of __sendmmsg hidden.
23327         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23328         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23329         Move ENOSYS stub into and include it from...
23330         * socket/sendmmsg.c: ... this new file.
23331         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23332         (sysdep_routines): Move recvmmsg and sendmmsg...
23333         * socket/Makefile (routines): ... here.
23334         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23335         (GLIBC_PRIVATE): Add __sendmmsg.
23336         * include/sys/socket.h (__sendmmsg): Add declarations.
23337         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23338         sendmmsg.
23340 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23342         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23343         variable I1 with __attribute__ ((unused)).
23344         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23346 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23348         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23349         DUMMY variables with __attribute__ ((unused)).
23351         * bits/byteswap.h: Include <bits/types.h>.
23352         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23354 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23356         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23357         string_t.  Do not manually set errno.
23358         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23359         length with __strnlen.  Make sure to both set errno and return it on
23360         failure.
23362 2012-11-19  David S. Miller  <davem@davemloft.net>
23364         With help from Joseph Myers.
23365         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23366         very large arguments properly.
23367         * math/libm-test.inc (atan_test): New tests.
23368         (atan2_test): New tests.
23369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23372 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23374         [BZ #14856]
23375         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23376         Define to 3.
23378         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23379         [POSIX] (EADDRNOTAVAIL): Likewise.
23380         [POSIX] (EAFNOSUPPORT): Likewise.
23381         [POSIX] (EALREADY): Likewise.
23382         [POSIX] (ECONNABORTED): Likewise.
23383         [POSIX] (ECONNREFUSED): Likewise.
23384         [POSIX] (ECONNRESET): Likewise.
23385         [POSIX] (EDESTADDRREQ): Likewise.
23386         [POSIX] (EDQUOT): Likewise.
23387         [POSIX] (EHOSTUNREACH): Likewise.
23388         [POSIX] (EIDRM): Likewise.
23389         [POSIX] (EISCONN): Likewise.
23390         [POSIX] (ELOOP): Likewise.
23391         [POSIX] (EMULTIHOP): Likewise.
23392         [POSIX] (ENETDOWN): Likewise.
23393         [POSIX] (ENETUNREACH): Likewise.
23394         [POSIX] (ENOBUFS): Likewise.
23395         [POSIX] (ENODATA): Likewise.
23396         [POSIX] (ENOLINK): Likewise.
23397         [POSIX] (ENOMSG): Likewise.
23398         [POSIX] (ENOPROTOOPT): Likewise.
23399         [POSIX] (ENOSR): Likewise.
23400         [POSIX] (ENOSTR): Likewise.
23401         [POSIX] (ENOTCONN): Likewise.
23402         [POSIX] (ENOTSOCK): Likewise.
23403         [POSIX] (EOPNOTSUPP): Likewise.
23404         [POSIX] (EOVERFLOW): Likewise.
23405         [POSIX] (EPROTO): Likewise.
23406         [POSIX] (EPROTONOSUPPORT): Likewise.
23407         [POSIX] (EPROTOTYPE): Likewise.
23408         [POSIX] (ESTALE): Likewise.
23409         [POSIX] (ETIME): Likewise.
23410         [POSIX] (ETXTBSY): Likewise.
23411         [POSIX] (EWOULDBLOCK): Likewise.
23412         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23413         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23414         [POSIX] (SEEK_CUR): Likewise.
23415         [POSIX] (SEEK_END): Likewise.
23416         [POSIX || UNIX98] (mode_t): Do not require.
23417         [POSIX] (off_t): Likewise.
23418         [POSIX] (pid_t): Likewise.
23419         [POSIX] (sys/stat.h): Do not allow header.
23420         [POSIX] (unistd.h): Likewise.
23421         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23422         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23423         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23424         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23425         require.
23426         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23427         sigevent): Specify elements.
23428         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23429         entry.
23430         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23431         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23433         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23434         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23435         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23436         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23437         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23438         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23439         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23440         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23441         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23442         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23443         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23444         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23445         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23447         Likewise.
23448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23449         Likewise.
23450         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23451         Likewise.
23452         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23453         Likewise.
23454         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23455         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23456         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23457         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23458         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23459         Specify lower bound on value.
23460         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23461         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23462         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23463         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23464         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23465         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23466         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23467         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23468         value.
23469         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23470         as optional.
23471         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23472         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23473         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23474         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23475         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23476         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23477         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23478         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23479         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23480         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23481         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23482         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23483         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23484         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23485         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23486         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23487         entry.
23488         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23489         optional.
23490         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23491         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23492         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23493         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23494         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23496         Likewise.
23497         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23498         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23499         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23500         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23501         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23502         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23504         as optional.
23505         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23506         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23507         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23508         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23509         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23510         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23511         specify as optional.
23512         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23513         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23514         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23515         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23516         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23517         [XPG3] (NL_LANGMAX): Likewise.
23518         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23519         [POSIX || XPG3] (NL_NMAX): Likewise.
23520         [POSIX || XPG3] (NL_SETMAX): Likewise.
23521         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23522         [XPG3] (NZERO): Likewise.
23523         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23524         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23525         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23526         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23527         (REG_ERANGE): Expect.
23528         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23529         optional-constant.
23530         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23531         Use (void) in prototype.
23532         [POSIX] (*_t): Allow.
23533         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23534         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23535         (WRDE_BADVAL): Expect.
23537         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23538         expect.
23539         [XPG3 || XPG4] (O_RSYNC): Likewise.
23540         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23541         Likewise.
23542         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23543         [XPG3 || XPG4] (sigqueue): Likewise.
23544         [XPG3 || XPG4] (sigtimedwait): Likewise.
23545         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23546         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23547         [XPG3 || XPG4] (vsnprintf): Likewise.
23548         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23549         Likewise.
23550         [XPG3 || XPG4] (blksize_t): Likewise.
23551         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23552         Likewise.
23553         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23554         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23555         [XPG3 || XPG4] (struct itimerspec): Likewise.
23556         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23557         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23558         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23559         [XPG3 || XPG4] (clockid_t): Likewise.
23560         [XPG3 || XPG4] (timer_t): Likewise.
23561         [XPG3 || XPG4] (clock_getres): Likewise.
23562         [XPG3 || XPG4] (clock_gettime): Likewise.
23563         [XPG3 || XPG4] (clock_settime): Likewise.
23564         [XPG3 || XPG4] (nanosleep): Likewise.
23565         [XPG3 || XPG4] (timer_create): Likewise.
23566         [XPG3 || XPG4] (timer_delete): Likewise.
23567         [XPG3 || XPG4] (timer_gettime): Likewise.
23568         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23569         [XPG3 || XPG4] (timer_settime): Likewise.
23570         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23571         [XPG3 || XPG4] (getlogin_r): Likewise.
23572         [XPG3 || XPG4] (pread): Likewise.
23573         [XPG3 || XPG4] (pthread_atfork): Likewise.
23574         [XPG3 || XPG4] (pwrite): Likewise.
23576         [BZ #14835]
23577         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23578         <bits/siginfo.h>.
23580 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23582         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23583         finalizing MALLSTREAM.
23585         * sysdeps/mach/hurd/syncfs.c: New file.
23587 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23589         [BZ #14719]
23590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23591         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23592         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23593         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23594         (_nss_dns_gethostbyname4_r): Likewise.
23595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23596         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23598 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23600         [BZ #13763]
23601         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23603 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23605         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23606         * elf/cache.c (print_entry): Print ",AArch64" for
23607         FLAG_AARCH64_LIB64
23609         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23610         * elf/cache.c (print_entry): Print ",hard-float" for
23611         FLAG_ARM_LIBHF.
23613 2012-11-18  David S. Miller  <davem@davemloft.net>
23615         With help from Joseph Myers.
23616         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23617         cutoff to 2**-13.
23618         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23619         cutoff to 2**-25.
23620         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23621         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23622         small.
23623         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23624         * math/libm-test.inc (y0_test): New tests.
23625         (y1_test): New tests.
23626         * sysdeps/i386/fpu/libm-test-ulps: Update.
23627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23630 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23632         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23633         64-bit targets.
23634         * configure: Regenerated.
23636 2012-11-17  David S. Miller  <davem@davemloft.net>
23638         [BZ #14811]
23639         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23640         nonzero exponents with absolute value below 0x1p-128 to +/-
23641         0x1p-128.
23643 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23645         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23647         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23649         * posix/getconf-speclist.c: New file.
23650         * posix/posix-envs.def: Likewise.
23651         * posix/confstr.c (START_ENV_GROUP): New macro.
23652         (END_ENV_GROUP): Likewise.
23653         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23654         (KNOWN_PRESENT_ENV_STRING): Likewise.
23655         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23656         (UNKNOWN_ENVIRONMENT): Likewise.
23657         (confstr): Include posix-envs.def instead of handling
23658         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23659         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23660         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23661         (END_ENV_GROUP): Likewise.
23662         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23663         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23664         (UNKNOWN_ENVIRONMENT): Likewise.
23665         (__sysconf): Include posix-envs.def instead of handling associated
23666         cases directly here.
23667         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23668         preprocessing getconf-speclist.c rather than running getconf or
23669         generating empty file.
23671 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23673         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23675 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23677         [BZ #14672]
23678         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23680 2012-11-16  David S. Miller  <davem@davemloft.net>
23682         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23683         smaller than LDBL_EPSILON/2.0L, just return xm1.
23685 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23687         * elf/tst-array1.c (init): Set constructor priority to 1000.
23688         (fini): Set destructor priority to 1000.
23689         * elf/tst-array2dep.c: Likewise.
23691 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23693         [BZ #11741]
23694         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23695         (_IO_new_file_xsputn): Also return EOF if none of the input
23696         data was written when overflow failed.
23697         * libio/iopadn.c (_IO_padn): Likewise.
23698         * libio/iowpadn.c (_IO_wpadn): Likewise.
23699         * stdio-common/tst-put-error.c: Add copyright notice.
23700         (do_test): Add case for printing padded string.
23701         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23702         _IO_padn returned error.
23703         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23704         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23705         return EOF.
23707 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23709         * libio/libioP.h: Add comment note that the references to C++
23710         bits are now obsolete.
23712 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23714         * math/libm-test.inc (check_complex): Use asprintf.
23716 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23718         * debug/pcprofiledump.c (print_version): Update copyright year.
23719         * malloc/memusagestat.c (print_version): Likewise.
23721 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23723         [BZ #14831]
23724         * elf/Makefile (tests): Add tst-audit8.
23725         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23726         ($(objpfx)tst-audit8.out): New target.
23727         (tst-audit8-ENV): New variable.
23728         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23729         audit if l_reloc_result is NULL.
23730         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23731         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23732         * elf/tst-audit8.c: New file.
23734 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23736         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23737         * misc/Makefile (CFLAGS-select.c): Define.
23738         * posix/Makefile (CFLAGS-pause.c): Define.
23740 2012-11-13  David S. Miller  <davem@davemloft.net>
23742         * crypt/Makefile: Move test targets after toplevel Rules
23743         inclusion.  Grab any necessary sysdep routines when linking.
23744         * crypt/md5.c (md5_process_block): Remove define, we will always
23745         name it __md5_process_block.
23746         (md5_finish_ctx): Update md5_process_block call.
23747         (md5_stream): Likewise.
23748         (md5_process_bytes): Likewise.
23749         (md5_process_block): Rename to __md5_process_block and move to ...
23750         * crypt/md5-block.c: ... here.
23751         * crypt/sha256.c (sha256_process_block): Move to ...
23752         * crypt/sha256-block.c: ... here.
23753         * crypt/sha512.c (sha512_process_block): Move to ...
23754         * crypt/sha512-block.c: ... here.
23755         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23756         path.
23757         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23758         * sysdeps/sparc/sparc64/multiarch/Makefile
23759         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23760         crypt subdir.
23761         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23762         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23763         multiarch changes.
23764         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23765         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23766         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23767         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23768         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23769         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23770         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23771         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23773         file.
23774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23775         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23776         file.
23777         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23779 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23781         * timezone/tzselect.ksh: Update from tzcode git revision
23782         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23783         * timezone/zdump.c: Likewise.
23784         * timezone/zic.c: Likewise.
23785         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23786         in TZVERSION setting, not $(PKGVERSION).
23787         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23788         REPORT_BUGS_TO settings.
23790         [BZ #14838]
23791         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23792         macro.
23794 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23796         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23797         detection to immediately after _FP_ROUND().
23798         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23799         bits are 0.
23801 2012-11-11  David S. Miller  <davem@davemloft.net>
23803         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23804         inttypes.h
23805         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23806         __close rather than their public counterparts.
23808 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23810         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23811         file.
23812         [UNIX98] (sem_timedwait): Do not expect.
23813         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23814         [XPG4 || UNIX98] (sockatmark): Do not expect.
23815         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23816         (clock_getcpuclockid): Do not expect.
23817         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23818         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23819         Do not expect.
23820         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23821         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23822         [UNIX98] (vwscanf): Likewise.
23823         [UNIX98] (vswscanf): Likewise.
23825 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23827         * timezone/version.h: Remove file.
23828         * timezone/README: Do not refer to version.h.
23829         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23830         $(objpfx)version.h.
23831         ($(objpfx)zdump.o): Likewise.
23832         ($(objpfx)version.h): New target.
23834         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23835         2012i.
23836         * timezone/README: Don't mention modification to tzselect.ksh.
23837         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23838         work on unmodified tzselect.ksh.  Substitute version numbers in
23839         tzselect.ksh.
23841         * Makefile (format-me): Remove.
23842         (INSTALL): Adjust indentation.  Use commands directly instead of
23843         using $(format-me).
23845         * aclocal.m4 (ACX_PKGVERSION): New macro.
23846         (ACX_BUGURL): Likewise.
23847         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23848         (PKGVERSION): New AC_DEFINE_UNQUOTED.
23849         (REPORT_BUGS_TO): Likewise.
23850         * configure: Regenerated.
23851         * config.h.in (PKGVERSION): New macro.
23852         (REPORT_BUGS_TO): Likewise.
23853         * config.make.in (PKGVERSION): New variable.
23854         (PKGVERSION_TEXI): Likewise.
23855         (REPORT_BUGS_TO): Likewise.
23856         (REPORT_BUGS_TEXI): Likewise.
23857         * Makefile (format-me): Use -I$(common-objpfx)manual.
23858         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23859         ($(common-objpfx)manual/%): New target.
23860         (manual/%): Remove target.
23861         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23862         (print_version): Use PKGVERSION.
23863         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23864         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23865         and REPORT_BUGS_TO.
23866         ($(objpfx)xtrace): Likewise.
23867         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23868         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23869         (print_version): Use PKGVERSION.
23870         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23871         (do_version): Use PKGVERSION.
23872         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23873         REPORT_BUGS_TO.
23874         (common-ldd-rewrite): Likewise.
23875         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23876         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23877         (print_version): Use PKGVERSION.
23878         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23879         * elf/pldd.c (argp_program_bug_address): Remove variable.
23880         (more_help): New function.
23881         (argp): Use more_help.
23882         (print_version): Use PKGVERSION.
23883         * elf/sln.c (main): Use PKGVERSION.
23884         (usage): Use REPORT_BUGS_TO.
23885         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23886         (top level): Use PKGVERSION.
23887         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23888         (print_version): Use PKGVERSION.
23889         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23890         (print_version): Use PKGVERSION.
23891         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23892         (print_version): Use PKGVERSION.
23893         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23894         (print_version): Use PKGVERSION.
23895         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23896         (print_version): Use PKGVERSION.
23897         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23898         (print_version): Use PKGVERSION.
23899         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23900         and BUGURL.
23901         ($(objpfx)memusage): Likewise.
23902         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23903         (do_version): Use PKGVERSION.
23904         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23905         (print_version): Use PKGVERSION.
23906         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23907         ($PKGVERSION): New variable.
23908         ($REPORT_BUGS_TO): Likewise.
23909         (usage): Use $REPORT_BUGS_TO.
23910         (top level): Use $PKGVERSION.
23911         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23912         ($(objpfx)pkgvers.texi): New rule.
23913         ($(objpfx)stamp-pkgvers): Likewise.
23914         * manual/install.texi: Include pkgvers.texi.
23915         (--with-pkgversion): Document new configure option.
23916         (--with-bugurl): Likewise.
23917         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23918         than necessarily for this particular distribution.  Use
23919         REPORT_BUGS_TO for where to report bugs.
23920         * INSTALL: Regenerated.
23921         * manual/libc.texinfo: Include pkgvers.texi.
23922         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23923         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23924         (print_version): Use PKGVERSION.
23925         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23926         (print_version): Use PKGVERSION.
23927         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23928         (print_version): Use PKGVERSION.
23929         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23930         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23931         macro.
23932         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23933         (print_version): Use PKGVERSION.
23934         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23935         (print_version): Use PKGVERSION.
23936         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23937         and PKGVERSION.
23939         * timezone/checktab.awk: Update from tzcode 2012i.
23940         * timezone/ialloc.c: Likewise.
23941         * timezone/private.h: Likewise.
23942         * timezone/scheck.c: Likewise.
23943         * timezone/tzfile.h: Likewise.
23944         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23945         (TZVERSION): Hardcode tzcode version number.
23946         * timezone/zdump.c: Update from tzcode 2012i.
23947         * timezone/zic.c: Likewise.
23948         * timezone/version.h: New file.
23949         * timezone/README: Describe version.h.  Update upstream location.
23951         [BZ #14824]
23952         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23953         (mktemp): Enable declaration.
23954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23958         Likewise.
23959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23960         Likewise.
23961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23962         Likewise.
23963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23964         Likewise.
23965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23966         Likewise.
23967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23968         Likewise.
23970         [BZ #14821]
23971         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23972         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23973         for copies of such integer values.
23974         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23975         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23977 2012-11-09  Andreas Jaeger  <aj@suse.de>
23979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23980         definitions and declarations that are provided by
23981         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23983 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23985         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23986         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23987         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23988         definition.
23990 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23992         * elf/elf.h: Update comment before AArch64 relocations.
23994 2012-11-07  David S. Miller  <davem@davemloft.net>
23996         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23997         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23998         (__start_context): Declare.
23999         (__makecontext_ret): Delete.
24000         (__makecontext): Hook up __start_context instead of
24001         __makecontext_ret.
24002         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24003         (sysdep_routines): Add __start_context when in stdlib.
24005 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24007         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24008         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24009         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24010         hardcoded "nm".
24011         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24012         (READELF): New variable.  Use it instead of hardcoded "readelf".
24014 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24016         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24017         * sysdeps/x86/Makefile: Here.
24018         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24019         * sysdeps/x86/tst-xmmymm.sh: This.
24021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24023         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24024         expectations.
24025         [UNIX98] (pthread_barrier_t): Do not expect.
24026         [UNIX98] (pthread_barrierattr_t): Likewise.
24027         [UNIX98] (pthread_spinlock_t): Likewise.
24028         [UNIX98] (pthread_barrier_destroy): Likewise.
24029         [UNIX98] (pthread_barrier_init): Likewise.
24030         [UNIX98] (pthread_barrier_wait): Likewise.
24031         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24032         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24033         [UNIX98] (pthread_barrierattr_init): Likewise.
24034         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24035         [UNIX98] (pthread_getcpuclockid): Likewise.
24036         [UNIX98] (pthread_mutex_timedlock): Likewise.
24037         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24038         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24039         [UNIX98] (pthread_sigmask): Likewise.
24040         [UNIX98] (pthread_spin_destroy): Likewise.
24041         [UNIX98] (pthread_spin_init): Likewise.
24042         [UNIX98] (pthread_spin_lock): Likewise.
24043         [UNIX98] (pthread_spin_trylock): Likewise.
24044         [UNIX98] (pthread_spin_unlock): Likewise.
24045         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24046         Do not expect.
24047         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24048         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24049         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24050         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24051         [XPG3 || XPG4] (pthread_key_t): Likewise.
24052         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24053         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24054         [XPG3 || XPG4] (pthread_once_t): Likewise.
24055         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24056         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24057         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24058         [XPG3 || XPG4] (pthread_t): Likewise.
24060         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24061         not expect.
24062         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24064         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24065         Change function return type to int.
24067         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24068         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24069         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24070         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24071         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24072         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24073         [!POSIX] (posix_madvise): Likewise.
24074         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24075         && !UNIX98].
24076         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24077         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24078         (mode_t): Likewise.
24079         (posix_mem_offset): Likewise.
24080         (posix_typed_mem_get_info): Likewise.
24081         (posix_typed_mem_open): Likewise.
24083         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24084         Change condition to [XOPEN2K8].
24086         * conform/conformtest.pl: Preprocess allow-header data with -x c
24087         instead of from stdin.
24088         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24089         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24090         [C99-based standards] (cerfc): Likewise.
24091         [C99-based standards] (cexp2): Likewise.
24092         [C99-based standards] (cexpm1): Likewise.
24093         [C99-based standards] (clog10): Likewise.
24094         [C99-based standards] (clog1p): Likewise.
24095         [C99-based standards] (clog2): Likewise.
24096         [C99-based standards] (clgamma): Likewise.
24097         [C99-based standards] (ctgamma): Likewise.
24098         [C99-based standards] (cerff): Likewise.
24099         [C99-based standards] (cerfcf): Likewise.
24100         [C99-based standards] (cexp2f): Likewise.
24101         [C99-based standards] (cexpm1f): Likewise.
24102         [C99-based standards] (clog10f): Likewise.
24103         [C99-based standards] (clog1pf): Likewise.
24104         [C99-based standards] (clog2f): Likewise.
24105         [C99-based standards] (clgammaf): Likewise.
24106         [C99-based standards] (ctgammaf): Likewise.
24107         [C99-based standards] (cerfl): Likewise.
24108         [C99-based standards] (cerfcl): Likewise.
24109         [C99-based standards] (cexp2l): Likewise.
24110         [C99-based standards] (cexpm1l): Likewise.
24111         [C99-based standards] (clog10l): Likewise.
24112         [C99-based standards] (clog1pl): Likewise.
24113         [C99-based standards] (clog2l): Likewise.
24114         [C99-based standards] (clgammal): Likewise.
24115         [C99-based standards] (ctgammal): Likewise.
24116         * conform/data/inttypes.h-data [C99-based standards]: Include
24117         stdint.h-data.  Remove all expectations for stdint.h contents.
24118         [C99-based standards] (PRI*): Do not allow.
24119         [C99-based standards] (SCN*): Likewise.
24120         [C99-based standards] (*_t): Likewise.
24121         [C99-based-standards] (PRId8): Expect macro.
24122         [C99-based-standards] (PRIi8): Likewise.
24123         [C99-based-standards] (PRIo8): Likewise.
24124         [C99-based-standards] (PRIu8): Likewise.
24125         [C99-based-standards] (PRIx8): Likewise.
24126         [C99-based-standards] (PRIX8): Likewise.
24127         [C99-based-standards] (SCNd8): Likewise.
24128         [C99-based-standards] (SCNi8): Likewise.
24129         [C99-based-standards] (SCNo8): Likewise.
24130         [C99-based-standards] (SCNu8): Likewise.
24131         [C99-based-standards] (SCNx8): Likewise.
24132         [C99-based-standards] (PRIdLEAST8): Likewise.
24133         [C99-based-standards] (PRIiLEAST8): Likewise.
24134         [C99-based-standards] (PRIoLEAST8): Likewise.
24135         [C99-based-standards] (PRIuLEAST8): Likewise.
24136         [C99-based-standards] (PRIxLEAST8): Likewise.
24137         [C99-based-standards] (PRIXLEAST8): Likewise.
24138         [C99-based-standards] (SCNdLEAST8): Likewise.
24139         [C99-based-standards] (SCNiLEAST8): Likewise.
24140         [C99-based-standards] (SCNoLEAST8): Likewise.
24141         [C99-based-standards] (SCNuLEAST8): Likewise.
24142         [C99-based-standards] (SCNxLEAST8): Likewise.
24143         [C99-based-standards] (PRIdFAST8): Likewise.
24144         [C99-based-standards] (PRIiFAST8): Likewise.
24145         [C99-based-standards] (PRIoFAST8): Likewise.
24146         [C99-based-standards] (PRIuFAST8): Likewise.
24147         [C99-based-standards] (PRIxFAST8): Likewise.
24148         [C99-based-standards] (PRIXFAST8): Likewise.
24149         [C99-based-standards] (SCNdFAST8): Likewise.
24150         [C99-based-standards] (SCNiFAST8): Likewise.
24151         [C99-based-standards] (SCNoFAST8): Likewise.
24152         [C99-based-standards] (SCNuFAST8): Likewise.
24153         [C99-based-standards] (SCNxFAST8): Likewise.
24154         [C99-based-standards] (PRId16): Likewise.
24155         [C99-based-standards] (PRIi16): Likewise.
24156         [C99-based-standards] (PRIo16): Likewise.
24157         [C99-based-standards] (PRIu16): Likewise.
24158         [C99-based-standards] (PRIx16): Likewise.
24159         [C99-based-standards] (PRIX16): Likewise.
24160         [C99-based-standards] (SCNd16): Likewise.
24161         [C99-based-standards] (SCNi16): Likewise.
24162         [C99-based-standards] (SCNo16): Likewise.
24163         [C99-based-standards] (SCNu16): Likewise.
24164         [C99-based-standards] (SCNx16): Likewise.
24165         [C99-based-standards] (PRIdLEAST16): Likewise.
24166         [C99-based-standards] (PRIiLEAST16): Likewise.
24167         [C99-based-standards] (PRIoLEAST16): Likewise.
24168         [C99-based-standards] (PRIuLEAST16): Likewise.
24169         [C99-based-standards] (PRIxLEAST16): Likewise.
24170         [C99-based-standards] (PRIXLEAST16): Likewise.
24171         [C99-based-standards] (SCNdLEAST16): Likewise.
24172         [C99-based-standards] (SCNiLEAST16): Likewise.
24173         [C99-based-standards] (SCNoLEAST16): Likewise.
24174         [C99-based-standards] (SCNuLEAST16): Likewise.
24175         [C99-based-standards] (SCNxLEAST16): Likewise.
24176         [C99-based-standards] (PRIdFAST16): Likewise.
24177         [C99-based-standards] (PRIiFAST16): Likewise.
24178         [C99-based-standards] (PRIoFAST16): Likewise.
24179         [C99-based-standards] (PRIuFAST16): Likewise.
24180         [C99-based-standards] (PRIxFAST16): Likewise.
24181         [C99-based-standards] (PRIXFAST16): Likewise.
24182         [C99-based-standards] (SCNdFAST16): Likewise.
24183         [C99-based-standards] (SCNiFAST16): Likewise.
24184         [C99-based-standards] (SCNoFAST16): Likewise.
24185         [C99-based-standards] (SCNuFAST16): Likewise.
24186         [C99-based-standards] (SCNxFAST16): Likewise.
24187         [C99-based-standards] (PRId32): Likewise.
24188         [C99-based-standards] (PRIi32): Likewise.
24189         [C99-based-standards] (PRIo32): Likewise.
24190         [C99-based-standards] (PRIu32): Likewise.
24191         [C99-based-standards] (PRIx32): Likewise.
24192         [C99-based-standards] (PRIX32): Likewise.
24193         [C99-based-standards] (SCNd32): Likewise.
24194         [C99-based-standards] (SCNi32): Likewise.
24195         [C99-based-standards] (SCNo32): Likewise.
24196         [C99-based-standards] (SCNu32): Likewise.
24197         [C99-based-standards] (SCNx32): Likewise.
24198         [C99-based-standards] (PRIdLEAST32): Likewise.
24199         [C99-based-standards] (PRIiLEAST32): Likewise.
24200         [C99-based-standards] (PRIoLEAST32): Likewise.
24201         [C99-based-standards] (PRIuLEAST32): Likewise.
24202         [C99-based-standards] (PRIxLEAST32): Likewise.
24203         [C99-based-standards] (PRIXLEAST32): Likewise.
24204         [C99-based-standards] (SCNdLEAST32): Likewise.
24205         [C99-based-standards] (SCNiLEAST32): Likewise.
24206         [C99-based-standards] (SCNoLEAST32): Likewise.
24207         [C99-based-standards] (SCNuLEAST32): Likewise.
24208         [C99-based-standards] (SCNxLEAST32): Likewise.
24209         [C99-based-standards] (PRIdFAST32): Likewise.
24210         [C99-based-standards] (PRIiFAST32): Likewise.
24211         [C99-based-standards] (PRIoFAST32): Likewise.
24212         [C99-based-standards] (PRIuFAST32): Likewise.
24213         [C99-based-standards] (PRIxFAST32): Likewise.
24214         [C99-based-standards] (PRIXFAST32): Likewise.
24215         [C99-based-standards] (SCNdFAST32): Likewise.
24216         [C99-based-standards] (SCNiFAST32): Likewise.
24217         [C99-based-standards] (SCNoFAST32): Likewise.
24218         [C99-based-standards] (SCNuFAST32): Likewise.
24219         [C99-based-standards] (SCNxFAST32): Likewise.
24220         [C99-based-standards] (PRId64): Likewise.
24221         [C99-based-standards] (PRIi64): Likewise.
24222         [C99-based-standards] (PRIo64): Likewise.
24223         [C99-based-standards] (PRIu64): Likewise.
24224         [C99-based-standards] (PRIx64): Likewise.
24225         [C99-based-standards] (PRIX64): Likewise.
24226         [C99-based-standards] (SCNd64): Likewise.
24227         [C99-based-standards] (SCNi64): Likewise.
24228         [C99-based-standards] (SCNo64): Likewise.
24229         [C99-based-standards] (SCNu64): Likewise.
24230         [C99-based-standards] (SCNx64): Likewise.
24231         [C99-based-standards] (PRIdLEAST64): Likewise.
24232         [C99-based-standards] (PRIiLEAST64): Likewise.
24233         [C99-based-standards] (PRIoLEAST64): Likewise.
24234         [C99-based-standards] (PRIuLEAST64): Likewise.
24235         [C99-based-standards] (PRIxLEAST64): Likewise.
24236         [C99-based-standards] (PRIXLEAST64): Likewise.
24237         [C99-based-standards] (SCNdLEAST64): Likewise.
24238         [C99-based-standards] (SCNiLEAST64): Likewise.
24239         [C99-based-standards] (SCNoLEAST64): Likewise.
24240         [C99-based-standards] (SCNuLEAST64): Likewise.
24241         [C99-based-standards] (SCNxLEAST64): Likewise.
24242         [C99-based-standards] (PRIdFAST64): Likewise.
24243         [C99-based-standards] (PRIiFAST64): Likewise.
24244         [C99-based-standards] (PRIoFAST64): Likewise.
24245         [C99-based-standards] (PRIuFAST64): Likewise.
24246         [C99-based-standards] (PRIxFAST64): Likewise.
24247         [C99-based-standards] (PRIXFAST64): Likewise.
24248         [C99-based-standards] (SCNdFAST64): Likewise.
24249         [C99-based-standards] (SCNiFAST64): Likewise.
24250         [C99-based-standards] (SCNoFAST64): Likewise.
24251         [C99-based-standards] (SCNuFAST64): Likewise.
24252         [C99-based-standards] (SCNxFAST64): Likewise.
24253         [C99-based-standards] (PRIdMAX): Likewise.
24254         [C99-based-standards] (PRIiMAX): Likewise.
24255         [C99-based-standards] (PRIoMAX): Likewise.
24256         [C99-based-standards] (PRIuMAX): Likewise.
24257         [C99-based-standards] (PRIxMAX): Likewise.
24258         [C99-based-standards] (PRIXMAX): Likewise.
24259         [C99-based-standards] (SCNdMAX): Likewise.
24260         [C99-based-standards] (SCNiMAX): Likewise.
24261         [C99-based-standards] (SCNoMAX): Likewise.
24262         [C99-based-standards] (SCNuMAX): Likewise.
24263         [C99-based-standards] (SCNxMAX): Likewise.
24264         [C99-based-standards] (PRIdPTR): Likewise.
24265         [C99-based-standards] (PRIiPTR): Likewise.
24266         [C99-based-standards] (PRIoPTR): Likewise.
24267         [C99-based-standards] (PRIuPTR): Likewise.
24268         [C99-based-standards] (PRIxPTR): Likewise.
24269         [C99-based-standards] (PRIXPTR): Likewise.
24270         [C99-based-standards] (SCNdPTR): Likewise.
24271         [C99-based-standards] (SCNiPTR): Likewise.
24272         [C99-based-standards] (SCNoPTR): Likewise.
24273         [C99-based-standards] (SCNuPTR): Likewise.
24274         [C99-based-standards] (SCNxPTR): Likewise.
24275         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24276         allow.
24277         * conform/data/stdint.h-data: Update comments to clarify
24278         requirements.
24279         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24280         type.
24281         [C99-based standards] (INT8_MAX): Likewise.
24282         [C99-based standards] (INT16_MIN): Likewise.
24283         [C99-based standards] (INT16_MAX): Likewise.
24284         [C99-based standards] (INT32_MIN): Likewise.
24285         [C99-based standards] (INT32_MAX): Likewise.
24286         [C99-based standards] (INT64_MIN): Likewise.
24287         [C99-based standards] (INT64_MAX): Likewise.
24288         [C99-based standards] (UINT8_MAX): Likewise.
24289         [C99-based standards] (UINT16_MAX): Likewise.
24290         [C99-based standards] (UINT32_MAX): Likewise.
24291         [C99-based standards] (UINT64_MAX): Likewise.
24292         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24293         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24294         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24295         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24296         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24297         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24298         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24299         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24300         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24301         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24302         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24303         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24304         [C99-based standards] (INT_FAST8_MIN): Likewise.
24305         [C99-based standards] (INT_FAST8_MAX): Likewise.
24306         [C99-based standards] (INT_FAST16_MIN): Likewise.
24307         [C99-based standards] (INT_FAST16_MAX): Likewise.
24308         [C99-based standards] (INT_FAST32_MIN): Likewise.
24309         [C99-based standards] (INT_FAST32_MAX): Likewise.
24310         [C99-based standards] (INT_FAST64_MIN): Likewise.
24311         [C99-based standards] (INT_FAST64_MAX): Likewise.
24312         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24313         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24314         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24315         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24316         [C99-based standards] (INTPTR_MIN): Likewise.
24317         [C99-based standards] (INTPTR_MAX): Likewise.
24318         [C99-based standards] (UINTPTR_MAX): Likewise.
24319         [C99-based standards] (INTMAX_MIN): Likewise.
24320         [C99-based standards] (INTMAX_MAX): Likewise.
24321         [C99-based standards] (UINTMAX_MAX): Likewise.
24322         [C99-based standards] (PTRDIFF_MIN): Likewise.
24323         [C99-based standards] (PTRDIFF_MAX): Likewise.
24324         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24325         [C99-based standards] (SIZE_MAX): Likewise.
24326         [C99-based standards] (WCHAR_MAX): Likewise.
24327         [C99-based standards] (WINT_MAX): Likewise.
24328         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24329         constraint on value.
24330         [C99-based standards] (WCHAR_MIN): Likewise.
24331         [C99-based standards] (WINT_MIN): Likewise.
24332         [C99-based standards] (*_t): Allow.
24333         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24334         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24335         Include math.h-data and complex.h-data.  Remove all expectations
24336         of math.h and complex.h contents.
24337         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24338         at end of line.
24339         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24340         (struct tm): Expect tag.
24341         [C99-based-standards] (wcstof): Expect function.
24342         [C99-based-standards] (wcstold): Likewise.
24343         [C99-based-standards] (wcstoll): Likewise.
24344         [C99-based-standards] (wcstoull): Likewise.
24345         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24346         macro-int-constant.  Specify type.
24347         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24348         constraint on value.
24349         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24350         Specify type.
24351         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24352         Specify value.
24353         [ISO C standards]: Do not allow headers.
24354         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24355         wcs[abcdefghijklmnopqrstuvwxyz]*.
24356         [ISO C standards] (*_t): Do not allow.
24357         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24358         Expect function.
24359         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24360         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24361         Specify type.
24362         [ISO C standards]: Do not allow headers.
24363         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24364         is[abcdefghijklmnopqrstuvwxyz]*.
24365         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24366         to[abcdefghijklmnopqrstuvwxyz]*.
24367         [ISO C standards] (*_t): Do not allow.
24368         * conform/data/stdalign.h-data: New file.
24369         * conform/data/stdbool.h-data: Likewise.
24370         * conform/data/stdnoreturn.h-data: Likewise.
24372 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24374         [BZ #14815]
24375         * manual/filesys.texi (Directory Entries): Typo fix.
24376         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24378 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24380         * elf/elf.h (EM_AARCH64): New macro.
24381         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24382         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24383         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24384         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24385         (R_AARCH64_TLSDESC): Likewise.
24386         (NT_ARM_TLS): Likewise.
24387         (NT_ARM_HW_BREAK): Likewise.
24388         (NT_ARM_HW_WATCH): Likewise.
24390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24392         [BZ #14811]
24393         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24394         (__ieee754_powl): Saturate nonzero exponents with absolute value
24395         below 0x1p-79 to +/- 0x1p-79.
24396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24397         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24398         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24399         nonzero exponents with absolute value below 0x1p-32 to +/-
24400         0x1p-32.
24401         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24402         (__ieee754_powl): Saturate nonzero exponents with absolute value
24403         below 0x1p-79 to +/- 0x1p-79.
24404         * math/libm-test.inc (pow_test): Add more tests.
24406 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24408         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24409         _dl_s390_cap_flags with kernel. Increase string length.
24410         (_dl_s390_platforms): Add z196 and zEC12.
24412 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24414         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24415         Change XOPEN21K to XOPEN2K.
24417 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24419         * string/memmove.c: Use memcpy when possible.
24421 2012-11-06  Andreas Jaeger  <aj@suse.de>
24423         * po/eo.po: Update from translation team.
24425 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24427         [BZ #14793]
24428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24429         exponent and small x and y exponents, scale x or y up.  Increase
24430         by 2 the exponent used in scaling up.
24431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24433         * math/libm-test.inc (fma_test): Add more tests.
24434         (fma_test_towardzero): Likewise.
24435         (fma_test_downward): Likewise.
24436         (fma_test_upward): Likewise.
24438 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #14805]
24441         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24442         fenv_t *.
24444         [BZ #14801]
24445         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24446         namespace for names of struct fields.
24447         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24448         fenv_t fields.
24449         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24450         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24452 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24454         [BZ #3665]
24455         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24457 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24459         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24460         PTR_DEMANGLE.
24462         [BZ #5246]
24463         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24464         PTR_DEMANGLE.
24466 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24468         [BZ #14797]
24469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24470         definitely overflow as x * y not x * y + z.
24471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24473         * math/libm-test.inc (fma_test): Add more tests.
24474         (fma_test_towardzero): Likewise.
24475         (fma_test_downward): Likewise.
24476         (fma_test_upward): Likewise.
24478 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24480         [BZ #157]
24482         * include/stub-tag.h: Remove file.
24483         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24484         '#include' of it.
24485         * manual/maint.texi (Porting): Don't reference it.
24486         * Makerules ($(objpfx)stubs): Likewise.
24487         * dirent/closedir.c: Don't include <stub-tag.h>.
24488         * dirent/dirfd.c: Likewise.
24489         * dirent/fdopendir.c: Likewise.
24490         * dirent/getdents.c: Likewise.
24491         * dirent/getdents64.c: Likewise.
24492         * dirent/opendir.c: Likewise.
24493         * dirent/readdir.c: Likewise.
24494         * dirent/readdir64.c: Likewise.
24495         * dirent/readdir64_r.c: Likewise.
24496         * dirent/readdir_r.c: Likewise.
24497         * dirent/rewinddir.c: Likewise.
24498         * dirent/seekdir.c: Likewise.
24499         * dirent/telldir.c: Likewise.
24500         * gmon/profil.c: Likewise.
24501         * grp/setgroups.c: Likewise.
24502         * inet/if_index.c: Likewise.
24503         * io/access.c: Likewise.
24504         * io/chdir.c: Likewise.
24505         * io/chmod.c: Likewise.
24506         * io/chown.c: Likewise.
24507         * io/close.c: Likewise.
24508         * io/dup.c: Likewise.
24509         * io/dup2.c: Likewise.
24510         * io/dup3.c: Likewise.
24511         * io/euidaccess.c: Likewise.
24512         * io/faccessat.c: Likewise.
24513         * io/fchdir.c: Likewise.
24514         * io/fchmod.c: Likewise.
24515         * io/fchmodat.c: Likewise.
24516         * io/fchown.c: Likewise.
24517         * io/fchownat.c: Likewise.
24518         * io/fcntl.c: Likewise.
24519         * io/flock.c: Likewise.
24520         * io/fstatfs.c: Likewise.
24521         * io/fstatfs64.c: Likewise.
24522         * io/fstatvfs.c: Likewise.
24523         * io/fstatvfs64.c: Likewise.
24524         * io/futimens.c: Likewise.
24525         * io/fxstat.c: Likewise.
24526         * io/fxstat64.c: Likewise.
24527         * io/fxstatat.c: Likewise.
24528         * io/fxstatat64.c: Likewise.
24529         * io/getcwd.c: Likewise.
24530         * io/isatty.c: Likewise.
24531         * io/lchmod.c: Likewise.
24532         * io/lchown.c: Likewise.
24533         * io/link.c: Likewise.
24534         * io/linkat.c: Likewise.
24535         * io/lseek.c: Likewise.
24536         * io/lseek64.c: Likewise.
24537         * io/lxstat64.c: Likewise.
24538         * io/mkdir.c: Likewise.
24539         * io/mkdirat.c: Likewise.
24540         * io/mkfifo.c: Likewise.
24541         * io/mkfifoat.c: Likewise.
24542         * io/open.c: Likewise.
24543         * io/open64.c: Likewise.
24544         * io/openat.c: Likewise.
24545         * io/openat64.c: Likewise.
24546         * io/pipe.c: Likewise.
24547         * io/pipe2.c: Likewise.
24548         * io/poll.c: Likewise.
24549         * io/posix_fadvise.c: Likewise.
24550         * io/posix_fadvise64.c: Likewise.
24551         * io/posix_fallocate.c: Likewise.
24552         * io/posix_fallocate64.c: Likewise.
24553         * io/read.c: Likewise.
24554         * io/readlink.c: Likewise.
24555         * io/readlinkat.c: Likewise.
24556         * io/rmdir.c: Likewise.
24557         * io/sendfile.c: Likewise.
24558         * io/sendfile64.c: Likewise.
24559         * io/statfs.c: Likewise.
24560         * io/statfs64.c: Likewise.
24561         * io/statvfs.c: Likewise.
24562         * io/statvfs64.c: Likewise.
24563         * io/symlink.c: Likewise.
24564         * io/symlinkat.c: Likewise.
24565         * io/ttyname.c: Likewise.
24566         * io/ttyname_r.c: Likewise.
24567         * io/umask.c: Likewise.
24568         * io/unlink.c: Likewise.
24569         * io/unlinkat.c: Likewise.
24570         * io/utime.c: Likewise.
24571         * io/utimensat.c: Likewise.
24572         * io/write.c: Likewise.
24573         * io/xmknod.c: Likewise.
24574         * io/xmknodat.c: Likewise.
24575         * io/xstat.c: Likewise.
24576         * io/xstat64.c: Likewise.
24577         * login/getpt.c: Likewise.
24578         * login/grantpt.c: Likewise.
24579         * login/unlockpt.c: Likewise.
24580         * math/e_acoshl.c: Likewise.
24581         * math/e_acosl.c: Likewise.
24582         * math/e_asinl.c: Likewise.
24583         * math/e_atan2l.c: Likewise.
24584         * math/e_atanhl.c: Likewise.
24585         * math/e_coshl.c: Likewise.
24586         * math/e_expl.c: Likewise.
24587         * math/e_fmodl.c: Likewise.
24588         * math/e_gammal_r.c: Likewise.
24589         * math/e_hypotl.c: Likewise.
24590         * math/e_j0l.c: Likewise.
24591         * math/e_j1l.c: Likewise.
24592         * math/e_jnl.c: Likewise.
24593         * math/e_lgammal_r.c: Likewise.
24594         * math/e_log10l.c: Likewise.
24595         * math/e_log2l.c: Likewise.
24596         * math/e_logl.c: Likewise.
24597         * math/e_powl.c: Likewise.
24598         * math/e_rem_pio2l.c: Likewise.
24599         * math/e_sinhl.c: Likewise.
24600         * math/e_sqrtl.c: Likewise.
24601         * math/fclrexcpt.c: Likewise.
24602         * math/fedisblxcpt.c: Likewise.
24603         * math/feenablxcpt.c: Likewise.
24604         * math/fegetenv.c: Likewise.
24605         * math/fegetexcept.c: Likewise.
24606         * math/fegetround.c: Likewise.
24607         * math/feholdexcpt.c: Likewise.
24608         * math/fesetenv.c: Likewise.
24609         * math/fesetround.c: Likewise.
24610         * math/feupdateenv.c: Likewise.
24611         * math/fgetexcptflg.c: Likewise.
24612         * math/fraiseexcpt.c: Likewise.
24613         * math/fsetexcptflg.c: Likewise.
24614         * math/ftestexcept.c: Likewise.
24615         * math/k_cosl.c: Likewise.
24616         * math/k_rem_pio2l.c: Likewise.
24617         * math/k_sinl.c: Likewise.
24618         * math/k_tanl.c: Likewise.
24619         * math/s_asinhl.c: Likewise.
24620         * math/s_atanl.c: Likewise.
24621         * math/s_cbrtl.c: Likewise.
24622         * math/s_erfl.c: Likewise.
24623         * math/s_expm1l.c: Likewise.
24624         * math/s_log1pl.c: Likewise.
24625         * math/s_tanhl.c: Likewise.
24626         * misc/acct.c: Likewise.
24627         * misc/brk.c: Likewise.
24628         * misc/chflags.c: Likewise.
24629         * misc/chroot.c: Likewise.
24630         * misc/fchflags.c: Likewise.
24631         * misc/fgetxattr.c: Likewise.
24632         * misc/flistxattr.c: Likewise.
24633         * misc/fremovexattr.c: Likewise.
24634         * misc/fsetxattr.c: Likewise.
24635         * misc/fsync.c: Likewise.
24636         * misc/ftruncate.c: Likewise.
24637         * misc/futimes.c: Likewise.
24638         * misc/futimesat.c: Likewise.
24639         * misc/getdomain.c: Likewise.
24640         * misc/getdtsz.c: Likewise.
24641         * misc/gethostid.c: Likewise.
24642         * misc/gethostname.c: Likewise.
24643         * misc/getloadavg.c: Likewise.
24644         * misc/getpagesize.c: Likewise.
24645         * misc/getsysstats.c: Likewise.
24646         * misc/getxattr.c: Likewise.
24647         * misc/gtty.c: Likewise.
24648         * misc/ioctl.c: Likewise.
24649         * misc/lgetxattr.c: Likewise.
24650         * misc/listxattr.c: Likewise.
24651         * misc/llistxattr.c: Likewise.
24652         * misc/lremovexattr.c: Likewise.
24653         * misc/lsetxattr.c: Likewise.
24654         * misc/lutimes.c: Likewise.
24655         * misc/madvise.c: Likewise.
24656         * misc/mincore.c: Likewise.
24657         * misc/mlock.c: Likewise.
24658         * misc/mlockall.c: Likewise.
24659         * misc/mmap.c: Likewise.
24660         * misc/mprotect.c: Likewise.
24661         * misc/msync.c: Likewise.
24662         * misc/munlock.c: Likewise.
24663         * misc/munlockall.c: Likewise.
24664         * misc/munmap.c: Likewise.
24665         * misc/preadv.c: Likewise.
24666         * misc/preadv64.c: Likewise.
24667         * misc/ptrace.c: Likewise.
24668         * misc/pwritev.c: Likewise.
24669         * misc/pwritev64.c: Likewise.
24670         * misc/readv.c: Likewise.
24671         * misc/reboot.c: Likewise.
24672         * misc/remap_file_pages.c: Likewise.
24673         * misc/removexattr.c: Likewise.
24674         * misc/revoke.c: Likewise.
24675         * misc/select.c: Likewise.
24676         * misc/setdomain.c: Likewise.
24677         * misc/setegid.c: Likewise.
24678         * misc/seteuid.c: Likewise.
24679         * misc/sethostid.c: Likewise.
24680         * misc/sethostname.c: Likewise.
24681         * misc/setregid.c: Likewise.
24682         * misc/setreuid.c: Likewise.
24683         * misc/setxattr.c: Likewise.
24684         * misc/sstk.c: Likewise.
24685         * misc/stty.c: Likewise.
24686         * misc/swapoff.c: Likewise.
24687         * misc/swapon.c: Likewise.
24688         * misc/sync.c: Likewise.
24689         * misc/syncfs.c: Likewise.
24690         * misc/syscall.c: Likewise.
24691         * misc/truncate.c: Likewise.
24692         * misc/ualarm.c: Likewise.
24693         * misc/usleep.c: Likewise.
24694         * misc/ustat.c: Likewise.
24695         * misc/utimes.c: Likewise.
24696         * misc/vhangup.c: Likewise.
24697         * misc/writev.c: Likewise.
24698         * posix/_exit.c: Likewise.
24699         * posix/alarm.c: Likewise.
24700         * posix/execve.c: Likewise.
24701         * posix/fexecve.c: Likewise.
24702         * posix/fork.c: Likewise.
24703         * posix/fpathconf.c: Likewise.
24704         * posix/getaddrinfo.c: Likewise.
24705         * posix/getegid.c: Likewise.
24706         * posix/geteuid.c: Likewise.
24707         * posix/getgid.c: Likewise.
24708         * posix/getgroups.c: Likewise.
24709         * posix/getlogin.c: Likewise.
24710         * posix/getlogin_r.c: Likewise.
24711         * posix/getpgid.c: Likewise.
24712         * posix/getpid.c: Likewise.
24713         * posix/getppid.c: Likewise.
24714         * posix/getresgid.c: Likewise.
24715         * posix/getresuid.c: Likewise.
24716         * posix/getsid.c: Likewise.
24717         * posix/getuid.c: Likewise.
24718         * posix/glob64.c: Likewise.
24719         * posix/nanosleep.c: Likewise.
24720         * posix/pathconf.c: Likewise.
24721         * posix/pause.c: Likewise.
24722         * posix/posix_madvise.c: Likewise.
24723         * posix/pread.c: Likewise.
24724         * posix/pread64.c: Likewise.
24725         * posix/pwrite.c: Likewise.
24726         * posix/pwrite64.c: Likewise.
24727         * posix/sched_getaffinity.c: Likewise.
24728         * posix/sched_getp.c: Likewise.
24729         * posix/sched_gets.c: Likewise.
24730         * posix/sched_primax.c: Likewise.
24731         * posix/sched_primin.c: Likewise.
24732         * posix/sched_rr_gi.c: Likewise.
24733         * posix/sched_setaffinity.c: Likewise.
24734         * posix/sched_setp.c: Likewise.
24735         * posix/sched_sets.c: Likewise.
24736         * posix/sched_yield.c: Likewise.
24737         * posix/setgid.c: Likewise.
24738         * posix/setlogin.c: Likewise.
24739         * posix/setpgid.c: Likewise.
24740         * posix/setresgid.c: Likewise.
24741         * posix/setresuid.c: Likewise.
24742         * posix/setsid.c: Likewise.
24743         * posix/setuid.c: Likewise.
24744         * posix/sleep.c: Likewise.
24745         * posix/spawni.c: Likewise.
24746         * posix/sysconf.c: Likewise.
24747         * posix/times.c: Likewise.
24748         * posix/wait.c: Likewise.
24749         * posix/wait3.c: Likewise.
24750         * posix/wait4.c: Likewise.
24751         * posix/waitpid.c: Likewise.
24752         * resolv/gai_sigqueue.c: Likewise.
24753         * resource/getpriority.c: Likewise.
24754         * resource/getrlimit.c: Likewise.
24755         * resource/getrusage.c: Likewise.
24756         * resource/nice.c: Likewise.
24757         * resource/setpriority.c: Likewise.
24758         * resource/setrlimit.c: Likewise.
24759         * resource/ulimit.c: Likewise.
24760         * rt/aio_cancel.c: Likewise.
24761         * rt/aio_fsync.c: Likewise.
24762         * rt/aio_read.c: Likewise.
24763         * rt/aio_sigqueue.c: Likewise.
24764         * rt/aio_suspend.c: Likewise.
24765         * rt/aio_write.c: Likewise.
24766         * rt/clock_getres.c: Likewise.
24767         * rt/clock_gettime.c: Likewise.
24768         * rt/clock_nanosleep.c: Likewise.
24769         * rt/clock_settime.c: Likewise.
24770         * rt/lio_listio.c: Likewise.
24771         * rt/mq_close.c: Likewise.
24772         * rt/mq_getattr.c: Likewise.
24773         * rt/mq_notify.c: Likewise.
24774         * rt/mq_open.c: Likewise.
24775         * rt/mq_receive.c: Likewise.
24776         * rt/mq_send.c: Likewise.
24777         * rt/mq_setattr.c: Likewise.
24778         * rt/mq_timedreceive.c: Likewise.
24779         * rt/mq_timedsend.c: Likewise.
24780         * rt/mq_unlink.c: Likewise.
24781         * rt/shm_open.c: Likewise.
24782         * rt/shm_unlink.c: Likewise.
24783         * rt/timer_create.c: Likewise.
24784         * rt/timer_delete.c: Likewise.
24785         * rt/timer_getoverr.c: Likewise.
24786         * rt/timer_gettime.c: Likewise.
24787         * rt/timer_settime.c: Likewise.
24788         * setjmp/__longjmp.c: Likewise.
24789         * setjmp/setjmp.c: Likewise.
24790         * signal/kill.c: Likewise.
24791         * signal/killpg.c: Likewise.
24792         * signal/raise.c: Likewise.
24793         * signal/sigaction.c: Likewise.
24794         * signal/sigaltstack.c: Likewise.
24795         * signal/sigblock.c: Likewise.
24796         * signal/sigignore.c: Likewise.
24797         * signal/sigintr.c: Likewise.
24798         * signal/signal.c: Likewise.
24799         * signal/sigpause.c: Likewise.
24800         * signal/sigpending.c: Likewise.
24801         * signal/sigqueue.c: Likewise.
24802         * signal/sigreturn.c: Likewise.
24803         * signal/sigset.c: Likewise.
24804         * signal/sigsetmask.c: Likewise.
24805         * signal/sigstack.c: Likewise.
24806         * signal/sigsuspend.c: Likewise.
24807         * signal/sigtimedwait.c: Likewise.
24808         * signal/sigvec.c: Likewise.
24809         * signal/sigwait.c: Likewise.
24810         * signal/sigwaitinfo.c: Likewise.
24811         * signal/sysv_signal.c: Likewise.
24812         * socket/accept.c: Likewise.
24813         * socket/accept4.c: Likewise.
24814         * socket/bind.c: Likewise.
24815         * socket/connect.c: Likewise.
24816         * socket/getpeername.c: Likewise.
24817         * socket/getsockname.c: Likewise.
24818         * socket/getsockopt.c: Likewise.
24819         * socket/isfdtype.c: Likewise.
24820         * socket/listen.c: Likewise.
24821         * socket/recv.c: Likewise.
24822         * socket/recvfrom.c: Likewise.
24823         * socket/recvmsg.c: Likewise.
24824         * socket/send.c: Likewise.
24825         * socket/sendmsg.c: Likewise.
24826         * socket/sendto.c: Likewise.
24827         * socket/setsockopt.c: Likewise.
24828         * socket/shutdown.c: Likewise.
24829         * socket/sockatmark.c: Likewise.
24830         * socket/socket.c: Likewise.
24831         * socket/socketpair.c: Likewise.
24832         * stdio-common/ctermid.c: Likewise.
24833         * stdio-common/cuserid.c: Likewise.
24834         * stdio-common/remove.c: Likewise.
24835         * stdio-common/rename.c: Likewise.
24836         * stdio-common/renameat.c: Likewise.
24837         * stdio-common/tempname.c: Likewise.
24838         * stdlib/getcontext.c: Likewise.
24839         * stdlib/makecontext.c: Likewise.
24840         * stdlib/setcontext.c: Likewise.
24841         * stdlib/swapcontext.c: Likewise.
24842         * stdlib/system.c: Likewise.
24843         * streams/fattach.c: Likewise.
24844         * streams/fdetach.c: Likewise.
24845         * streams/getmsg.c: Likewise.
24846         * streams/getpmsg.c: Likewise.
24847         * streams/putmsg.c: Likewise.
24848         * streams/putpmsg.c: Likewise.
24849         * sysdeps/unix/bsd/getpt.c: Likewise.
24850         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24851         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24852         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24854         Likewise.
24855         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24856         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24857         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24858         * sysvipc/msgctl.c: Likewise.
24859         * sysvipc/msgget.c: Likewise.
24860         * sysvipc/msgrcv.c: Likewise.
24861         * sysvipc/msgsnd.c: Likewise.
24862         * sysvipc/semctl.c: Likewise.
24863         * sysvipc/semget.c: Likewise.
24864         * sysvipc/semop.c: Likewise.
24865         * sysvipc/semtimedop.c: Likewise.
24866         * sysvipc/shmat.c: Likewise.
24867         * sysvipc/shmctl.c: Likewise.
24868         * sysvipc/shmdt.c: Likewise.
24869         * sysvipc/shmget.c: Likewise.
24870         * termios/tcdrain.c: Likewise.
24871         * termios/tcflow.c: Likewise.
24872         * termios/tcflush.c: Likewise.
24873         * termios/tcgetattr.c: Likewise.
24874         * termios/tcgetpgrp.c: Likewise.
24875         * termios/tcsendbrk.c: Likewise.
24876         * termios/tcsetattr.c: Likewise.
24877         * termios/tcsetpgrp.c: Likewise.
24878         * time/adjtime.c: Likewise.
24879         * time/clock.c: Likewise.
24880         * time/getitimer.c: Likewise.
24881         * time/gettimeofday.c: Likewise.
24882         * time/setitimer.c: Likewise.
24883         * time/settimeofday.c: Likewise.
24884         * time/stime.c: Likewise.
24885         * time/time.c: Likewise.
24887 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24889         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24890         /usr/old/bin.
24892         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24893         instead of spaces.
24894         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24896 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24898         [BZ #14796]
24899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24900         FE_TONEAREST before applying Dekker multiplication and Knuth
24901         addition.  Clear inexact exceptions and check for exact zero
24902         results afterwards.
24903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24906         * math/libm-test.inc (fma_test): Add more tests.
24907         (fma_test_towardzero): Likewise.
24908         (fma_test_downward): Likewise.
24909         (fma_test_upward): Likewise.
24910         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24911         function.
24912         (libc_fesetround): New macro.
24913         (libc_fesetroundf): Likewise.
24914         (libc_fesetroundl): Likewise.
24915         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24916         function.
24917         (libc_fesetround_387): Likewise.
24918         (libc_fesetroundf): New macro.
24919         (libc_fesetround): Likewise.
24920         (libc_fesetroundl): Likewise.
24921         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24922         function.
24923         (libc_fesetroundf): New macro.
24924         (libc_fesetround): Likewise.
24925         (libc_fesetroundl): Likewise.
24926         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24927         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24928         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24929         libm_hidden_ver.
24930         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24931         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24932         libm_hidden_def.
24933         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24934         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24935         libm_hidden_ver.
24936         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24937         libm_hidden_def.
24939         [BZ #3439]
24940         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24941         integer constant usable in #if and use that to give value to enum
24942         constant.
24943         (FE_DIVBYZERO): Likewise.
24944         (FE_UNDERFLOW): Likewise.
24945         (FE_OVERFLOW): Likewise.
24946         (FE_INVALID): Likewise.
24947         (FE_INVALID_SNAN): Likewise.
24948         (FE_INVALID_ISI): Likewise.
24949         (FE_INVALID_IDI): Likewise.
24950         (FE_INVALID_ZDZ): Likewise.
24951         (FE_INVALID_IMZ): Likewise.
24952         (FE_INVALID_COMPARE): Likewise.
24953         (FE_INVALID_SOFTWARE): Likewise.
24954         (FE_INVALID_SQRT): Likewise.
24955         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24956         (FE_TONEAREST): Likewise.
24957         (FE_TOWARDZERO): Likewise.
24958         (FE_UPWARD): Likewise.
24959         (FE_DOWNWARD): Likewise.
24960         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24961         (FE_DIVBYZERO): Likewise.
24962         (FE_OVERFLOW): Likewise.
24963         (FE_UNDERFLOW): Likewise.
24964         (FE_INEXACT): Likewise.
24965         (FE_TONEAREST): Likewise.
24966         (FE_DOWNWARD): Likewise.
24967         (FE_UPWARD): Likewise.
24968         (FE_TOWARDZERO): Likewise.
24969         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24970         (FE_UNDERFLOW): Likewise.
24971         (FE_OVERFLOW): Likewise.
24972         (FE_DIVBYZERO): Likewise.
24973         (FE_INVALID): Likewise.
24974         (FE_TONEAREST): Likewise.
24975         (FE_TOWARDZERO): Likewise.
24976         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24977         (FE_OVERFLOW): Likewise.
24978         (FE_UNDERFLOW): Likewise.
24979         (FE_DIVBYZERO): Likewise.
24980         (FE_INEXACT): Likewise.
24981         (FE_TONEAREST): Likewise.
24982         (FE_TOWARDZERO): Likewise.
24983         (FE_UPWARD): Likewise.
24984         (FE_DOWNWARD): Likewise.
24985         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24986         (FE_DIVBYZERO): Likewise.
24987         (FE_OVERFLOW): Likewise.
24988         (FE_UNDERFLOW): Likewise.
24989         (FE_INEXACT): Likewise.
24990         (FE_TONEAREST): Likewise.
24991         (FE_DOWNWARD): Likewise.
24992         (FE_UPWARD): Likewise.
24993         (FE_TOWARDZERO): Likewise.
24995 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24997         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24999 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25001         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25002         commands.  Quote $PWD.
25003         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25004         -x" by "export".
25005         (remove_newlines): Remove.
25007 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25009         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25010         * stdlib/stdlib.h (atof): Moved to ...
25011         * include/bits/stdlib-float.h: Here.  New file.
25012         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25013         * stdlib/bits/stdlib-float.h: New file.
25014         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25015         -mno-sse -mno-mmx.
25016         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25017         <xmmintrin.h>.
25019 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25021         * conform/conformtest.pl (@headers): Add fenv.h.
25022         * conform/data/fenv.h-data: New file.
25023         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25024         include of <math/fenv.h>.
25026         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25027         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25028         && !UNIX98].  Enables tests for XOPEN2K8.
25029         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25030         POSIX2008]: Likewise.
25032         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25033         (struct rusage): Do not expect type or its members.
25035         [BZ #3439]
25036         * math/math.h (FP_NAN): Define macro to integer constant usable in
25037         #if and use that to give value to enum constant.
25038         (FP_INFINITE): Likewise.
25039         (FP_ZERO): Likewise.
25040         (FP_SUBNORMAL): Likewise.
25041         (FP_NORMAL): Likewise.
25043 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25045         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25046         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25047         arguments.
25049 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25051         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25052         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25053         autoconf-time if not.
25054         * configure.in: Remove AC_PREREQ.
25056 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25058         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25059         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25060         of the internal implementation.
25062 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25064         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25065         except include of <misc/sys/syslog.h>.
25067 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25070         function returns with a NULL context exit with zero.
25072 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25074         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25076 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25078         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25079         (run_program_cmd): This.
25080         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25081         (tst_langinfo): New variable.  Use it.
25083 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25085         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25086         floating point opcodes.
25088 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25090         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25091         variable.
25093         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25095         * sysdeps/mach/hurd/powerpc: Remove directory.
25096         * sysdeps/mach/powerpc: Likewise.
25098 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25100         * scripts/check-local-headers.sh: Ignore c++ headers.
25102 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25104         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25105         __libc_cleanup_region_start argument.
25107 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25109         [BZ #14784]
25110         [BZ #14785]
25111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25112         x * y using scaling, not as x * y + z.
25113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25115         * math/libm-test.inc (fma_test): Add more tests.
25116         (fma_test_towardzero): Likewise.
25117         (fma_test_downward): Likewise.
25118         (fma_test_upward): Likewise.
25120 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25122         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25124 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25126         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25127         New variable.
25129 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25131         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25133 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25136         Fix sort order.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25138         Likewise.
25140 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25143         Fix the order of the list for glibc 2.17.
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25145         Likewise.
25147 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25151 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25153         [BZ #14610]
25154         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25155         for low part of x being zero before using __atanl (y).
25156         * math/libm-test.inc (atan2_test): Add another test.
25158         * manual/install.texi (Configuring and compiling): Document
25159         general use of test-wrapper and test-wrapper-env.
25160         * INSTALL: Regenerated.
25162         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25163         (__fma): Do not extract and scale down low bits on after-rounding
25164         systems when result rounded to normal precision would have normal
25165         exponent.
25166         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25167         (__fmal): Do not extract and scale down low bits on after-rounding
25168         systems when result rounded to normal precision would have normal
25169         exponent.
25170         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25171         (__fmal): Do not extract and scale down low bits on after-rounding
25172         systems when result rounded to normal precision would have normal
25173         exponent.
25174         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25175         macro.
25176         (fma_test): Add more tests.
25177         (fma_test_towardzero): Likewise.
25178         (fma_test_downward): Likewise.
25179         (fma_test_upward): Likewise.
25181 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25183         * sysdeps/i386/tininess.h: Renamed to ...
25184         * sysdeps/x86/tininess.h: This.
25185         * sysdeps/x86_64/tininess.h: Removed.
25187 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25189         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25190         input.  Use $(build-program-cmd).
25191         ($(objpfx)tst-array1-static.out): Likewise.
25192         ($(objpfx)tst-array2.out): Likewise.
25193         ($(objpfx)tst-array3.out): Likewise.
25194         ($(objpfx)tst-array4.out): Likewise.
25195         ($(objpfx)tst-array5.out): Likewise.
25196         ($(objpfx)tst-array5-static.out): Likewise.
25198 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25200         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25201         if defined.
25203         * nss/nsswitch.h (nss_interface_function): Provide new
25204         macro for use with NSS functions.
25205         * grp/initgroups.c: Use new macro.
25206         * nss/getXXbyYY.c: Likewise.
25207         * nss/getXXbyYY_r.c: Likewise.
25208         * nss/getXXent.c: Likewise.
25209         * nss/getXXent_r.c: Likewise.
25210         * sysdeps/posix/getaddrinfo.c: Likewise.
25212 2012-10-30  Andreas Jaeger  <aj@suse.de>
25214         * po/ru.po: Update Russion translation from translation project.
25216 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25218         [BZ #14152]
25219         [BZ #14783]
25220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25221         result and shift together with sticky bit instead of replicating
25222         round-to-nearest rounding.
25223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25225         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25226         missing underflow exceptions.
25227         (fma_test_towardzero): Add more tests.
25228         (fma_test_downward): Likewise.
25229         (fma_test_upward): Likewise.
25231         [BZ #14047]
25232         * sysdeps/generic/tininess.h: New file.
25233         * sysdeps/i386/tininess.h: Likewise.
25234         * sysdeps/sh/tininess.h: Likewise.
25235         * sysdeps/x86_64/tininess.h: Likewise.
25236         * stdlib/tst-strtod-underflow.c: Likewise.
25237         * stdlib/tst-tininess.c: Likewise.
25238         * stdlib/strtod_l.c: Include <tininess.h>.
25239         (round_and_return): Do not set errno for exact underflow cases.
25240         Force an underflow exception when setting errno for underflow.
25241         Determine underflow based on rounding to normal precision if
25242         TININESS_AFTER_ROUNDING.
25243         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25244         ERANGE for exact underflow cases.
25245         * stdlib/Makefile (tests): Add tst-tininess and
25246         tst-strtod-underflow.
25247         ($(objpfx)tst-tininess): Use $(link-libm).
25248         ($(objpfx)tst-strtod-underflow): Likewise.
25250 2012-10-30  Andreas Jaeger  <aj@suse.de>
25252         [BZ#14767]
25253         * elf/Makefile (tests): Remove conditional for have-initfini-array
25254         since this is now always required and the variable does not exist
25255         anymore.
25256         (tests-static): Likewise.
25257         (modules-names): Likewise.
25259         * po/eo.po: Add Esperanto translation from translation project.
25261         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25262         merged with constructor/destructor.
25263         (init_array): Likewise.
25264         * elf/tst-array2dep.c (fini_array): Likewise.
25265         (init_array): Likewise.
25267 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25269         * manual/message.texi: Delete @cartouche tags.
25271 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25273         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25274         EOPNOTSUPP.
25275         * sysdeps/mach/hurd/fsync.c: Likewise.
25277         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25278         [_POSIX_REALTIME_SIGNALS]: Change condition to
25279         [_POSIX_REALTIME_SIGNALS > 0].
25281 2012-10-27  Andreas Jaeger  <aj@suse.de>
25283         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25284         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25286         [__WORDSIZE != 64]: Likewise.
25288 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25290         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25291         *  iconvdata/tst-tables.sh: Likewise.
25293 2012-10-25  David S. Miller  <davem@davemloft.net>
25295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25296         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25297         of strtoull.
25299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25300         ifunc-impl-list.c
25301         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25302         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25303         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25304         file.
25306 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25309         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25310         __getdirentries.
25312 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25313             Jim Blandy  <jimb@codesourcery.com>
25315         * scripts/cross-test-ssh.sh: New file.
25316         * manual/install.texi (Configuring and compiling): Document use of
25317         cross-test-ssh.sh.
25318         * INSTALL: Regenerated.
25320 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25322         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25323         EOPNOTSUPP.
25325 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25327         * Makeconfig (run-program-prefix): Fix comment.
25329 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25330             Jim Blandy  <jimb@codesourcery.com>
25332         * Makeconfig (test-wrapper): New variable,
25333         (test-wrapper-env): Likewise.
25334         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25335         (run-built-tests): Define to yes.
25336         (run-program-prefix): Use $(test-wrapper).
25337         (built-program-cmd): Likewise.
25338         * Rules (make-test-out): Use $(test-wrapper-env) and
25339         $(host-built-program-cmd).
25340         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25341         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25342         tst-pathopt.sh.
25343         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25344         $(test-wrapper-env) to tst-rtld-load-self.sh.
25345         ($(objpfx)order2.out): Use $(test-wrapper).
25346         ($(objpfx)tst-initorder.out): Likewise.
25347         ($(objpfx)tst-initorder2.out): Likewise.
25348         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25349         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25350         (test_wrapper_env): New variable.  Use it to run ld.so.
25351         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25352         Use it to run ld.so.
25353         (test_wrapper_env): Likewise.
25354         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25355         $(test-wrapper) to run-iconv-test.sh.
25356         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25357         (ICONV): Use $test_wrapper.
25358         * posix/Makefile ($(objpfx)globtest.out): Pass
25359         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25360         globtest.sh, not $(run-program-prefix).
25361         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25362         (test_wrapper): Likewise.
25363         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25364         set together with run_via_rtld_prefix.
25365         (run_program_prefix): Define in terms of test_wrapper and
25366         run_via_rtld_prefix.
25368 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25370         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25371         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25372         Targets removed.
25374         [BZ #14743]
25375         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25376         Declare __clock_getres, __clock_gettime, __clock_settime,
25377         __clock_nanosleep, and __clock_getcpuclockid.
25378         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25379         Remove librt_hidden_def (clock_gettime).
25380         * sysdeps/unix/clock_gettime.c: Likewise.
25381         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25382         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25383         * rt/clock_getres.c: Define __clock_getres as an alias.
25384         * sysdeps/posix/clock_getres.c: Likewise.
25385         * rt/clock_settime.c: Define __clock_settime as an alias.
25386         * sysdeps/unix/clock_settime.c: Likewise.
25387         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25388         * sysdeps/unix/clock_nanosleep.c: Likewise.
25389         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25390         * rt/clock-compat.c: New file.
25391         * rt/Makefile (librt-routines): Add clock-compat and move
25392         $(clock-routines) to ...
25393         (routines): ... here, new variable.
25394         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25395         Don't add get_clockfreq here.
25396         * rt/Versions (libc: GLIBC_2.17): New version set.
25397         Add clock_* symbols here.
25398         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25399         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25400         (GLIBC_2.17): Add clock_* symbols.
25401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25405         Likewise.
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25407         Likewise.
25408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25412         * NEWS: Mention the move.
25414         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25415         Use __open, __read, __close rather than their public counterparts.
25416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25417         (__get_clockfreq_via_cpuinfo): Likewise.
25418         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25419         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25421         * config.h.in (HAVE_IFUNC): New #undef.
25422         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25423         was successful.
25424         * configure: Regenerated.
25426 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25428         * configure.in: Move READELF check to start of file.
25429         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25430         libc_cv_asm_gnu_indirect_function in the process.
25431         * configure: Regenerated.
25433 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25435         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25436         send the output to /dev/null.
25437         (libc_cv_cc_with_libunwind): Likewise.
25438         (libc_cv_as_noexecstack): Likewise.
25439         * configure: Regenerate.
25441 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25443         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25445         * posix/globtest.sh (TMPDIR): Do not set.
25446         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25447         (testout): Likewise.
25449 2012-10-24  Andreas Jaeger  <aj@suse.de>
25451         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25452         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25453         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25454         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25455         posix_fadvise64, posix_fallocate64.
25457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25458         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25459         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25460         Likewise.
25461         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25462         Likewise.
25463         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25466         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25467         <bits/fcntl-linux.h>.
25468         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25471         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25472         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25473         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25474         [__WORDSIZE != 64]: Likewise.
25476 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25478         * Makeconfig (run-built-tests): New variable.
25479         * Rules [$(cross-compiling) = yes]: Change condition to
25480         [$(run-built-tests) = no].
25481         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25482         to [$(run-built-tests) = yes].
25483         * elf/Makefile [$(cross-compiling) = no]: Likewise
25484         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25485         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25486         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25487         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25488         * io/Makefile [$(cross-compiling) = no]: Likewise.
25489         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25490         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25491         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25492         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25493         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25494         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25495         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25496         * string/Makefile [$(cross-compiling) = no]: Likewise.
25498         * posix/Makefile ($(objpfx)globtest.out): Pass
25499         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25500         $(rtld-installed-name).
25501         * posix/globtest.sh (elf_objpfx): Remove variable.
25502         (rtld_installed_name): Likewise.
25503         (library_path): Likewise.
25504         (run_program_prefix): New variable.  Use for running globtest
25505         binary.
25507 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25508             Joseph Myers  <joseph@codesourcery.com>
25510         * Makeconfig (host-built-program-cmd): New variable.
25511         * elf/Makefile (tst-stackguard1-ARGS): Use
25512         $(host-built-program-cmd).
25513         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25514         (tst-spawn-ARGS): Likewise.
25515         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25517 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25518             Jim Blandy  <jimb@codesourcery.com>
25520         * Makeconfig (run-via-rtld-prefix): New variable.
25521         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25522         (built-program-cmd): Likewise.
25524 2012-10-22  Andreas Jaeger  <aj@suse.de>
25526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25527         __O_RSYNC if it exists, otherwise to O_SYNC.
25529 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25530             Joseph Myers  <joseph@codesourcery.com>
25532         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25533         /dev/null.
25534         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25535         from /dev/null
25536         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25537         /dev/null.
25539 2012-10-22  Andreas Jaeger  <aj@suse.de>
25541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25542         Define always.
25543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25546         bits/fcntl-linux.h.
25548         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25549         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25552         to __O_LARGEFILE.
25553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25554         to __O_LARGEFILE.
25556 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25557             Joseph Myers  <joseph@codesourcery.com>
25559         * config.make.in (NM): New variable.
25561 2012-10-21  Andreas Jaeger  <aj@suse.de>
25563         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25564         definitions and declarations that are provided by
25565         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25567 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25569         [BZ #14683]
25570         * elf/Makefile (tests-static): Add tst-leaks1-static.
25571         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25572         ($(objpfx)tst-leaks1-static): New rule.
25573         ($(objpfx)tst-leaks1-static-mem): Likewise.
25574         (tst-leaks1-static-ENV): New macro.
25575         * elf/dl-open.c (dl_open_worker): Check the main application
25576         only if SHARED is defined.
25577         * elf/tst-leaks1-static.c: New file.
25579 2012-10-20  Andreas Jaeger  <aj@suse.de>
25581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25582         generic values for Linux.
25583         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25584         and declarations that are provided by <bits/fcntl-linux.h> and
25585         include <bits/fcntl-linux.h>.
25586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25589 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25591         * io/fcntl.h: Move include of <bits/types.h> to the top and
25592         include it unconditionally.
25594 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25596         * wcsmbs/Makefile (tests-ifunc): New variable.
25597         (tests): Add $(tests-ifunc).
25598         * wcsmbs/test-wcschr-ifunc.c: New file.
25599         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25600         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25601         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25602         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25603         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25605         * string/Makefile (tests-ifunc): New variable.
25606         (tests): Add $(tests-ifunc).
25607         * string/test-memccpy.c (TEST_NAME): New macro.
25608         * string/test-memchr.c (TEST_NAME): Likewise.
25609         * string/test-memcmp.c (TEST_NAME): Likewise.
25610         * string/test-memcpy.c (TEST_NAME): Likewise.
25611         * string/test-memmem.c (TEST_NAME): Likewise.
25612         * string/test-memmove.c (TEST_NAME): Likewise.
25613         * string/test-memset.c (TEST_NAME): Likewise.
25614         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25615         * string/test-stpcpy.c (TEST_NAME): Likewise.
25616         * string/test-stpncpy.c (TEST_NAME): Likewise.
25617         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25618         * string/test-strcasestr.c (TEST_NAME): Likewise.
25619         * string/test-strcat.c (TEST_NAME): Likewise.
25620         * string/test-strchr.c (TEST_NAME): Likewise.
25621         * string/test-strcmp.c(TEST_NAME): Likewise.
25622         * string/test-strcpy.c (TEST_NAME): Likewise.
25623         * string/test-strcspn.c (TEST_NAME): Likewise.
25624         * string/test-strlen.c (TEST_NAME): Likewise.
25625         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25626         * string/test-strncmp.c (TEST_NAME): Likewise.
25627         * string/test-strncpy.c (TEST_NAME): Likewise.
25628         * string/test-strnlen.c (TEST_NAME): Likewise.
25629         * string/test-strpbrk.c (TEST_NAME): Likewise.
25630         * string/test-strrchr.c (TEST_NAME): Likewise.
25631         * string/test-strspn.c (TEST_NAME): Likewise.
25632         * string/test-strstr.c (TEST_NAME): Likewise.
25633         * string/test-bcopy-ifunc.c: New file.
25634         * string/test-bzero-ifunc.c: Likewise.
25635         * string/test-memccpy-ifunc.c: Likewise.
25636         * string/test-memchr-ifunc.c: Likewise.
25637         * string/test-memcmp-ifunc.c: Likewise.
25638         * string/test-memcpy-ifunc.c: Likewise.
25639         * string/test-memmem-ifunc.c: Likewise.
25640         * string/test-memmove-ifunc.c: Likewise.
25641         * string/test-mempcpy-ifunc.c: Likewise.
25642         * string/test-memset-ifunc.c: Likewise.
25643         * string/test-rawmemchr-ifunc.c: Likewise.
25644         * string/test-stpcpy-ifunc.c: Likewise.
25645         * string/test-stpncpy-ifunc.c: Likewise.
25646         * string/test-strcasecmp-ifunc.c: Likewise.
25647         * string/test-strcasestr-ifunc.c: Likewise.
25648         * string/test-strcat-ifunc.c: Likewise.
25649         * string/test-strchr-ifunc.c: Likewise.
25650         * string/test-strchrnul-ifunc.c: Likewise.
25651         * string/test-strcmp-ifunc.c: Likewise.
25652         * string/test-strcpy-ifunc.c: Likewise.
25653         * string/test-strcspn-ifunc.c: Likewise.
25654         * string/test-strlen-ifunc.c: Likewise.
25655         * string/test-strncasecmp-ifunc.c: Likewise.
25656         * string/test-strncat-ifunc.c: Likewise.
25657         * string/test-strncmp-ifunc.c: Likewise.
25658         * string/test-strncpy-ifunc.c: Likewise.
25659         * string/test-strnlen-ifunc.c: Likewise.
25660         * string/test-strpbrk-ifunc.c: Likewise.
25661         * string/test-strrchr-ifunc.c: Likewise.
25662         * string/test-strspn-ifunc.c: Likewise.
25663         * string/test-strstr-ifunc.c: Likewise.
25665         * debug/Makefile (tests-ifunc): New variable.
25666         (tests): Add $(tests-ifunc).
25667         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25668         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25669         * debug/test-stpcpy_chk-ifunc.c: New file.
25670         * debug/test-strcpy_chk-ifunc.c: Likewise.
25672 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25674         [BZ #13601]
25675         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25676         header is not read in.
25678 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25680         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25681         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25682         directly.  Pass built executable to script as
25683         $(built-program-cmd).
25684         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25685         $testprogram without using LD_LIBRARY_PATH and $ldso.
25687         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25688         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25689         $(rtld-installed-name).
25690         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25691         (rtld_installed_name): Likewise.
25692         (library_path): Likewise.
25693         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25694         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25695         $(run-program-prefix) to tst-tables.sh.
25696         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25697         it to run tst-table-from and tst-table-to.
25698         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25699         Pass it to tst-table.sh.
25700         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25701         $(run-program-prefix) to tst-gettext.sh.
25702         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25703         tst-translit.sh.
25704         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25705         tst-gettext2.sh.
25706         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25707         to run tst-gettext.
25708         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25709         to run tst-gettext2.
25710         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25711         to run tst-translit.
25712         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25713         $(run-program-prefix) to tst-mtrace.sh.
25714         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25715         to run tst-mtrace.
25716         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25717         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25718         $(rtld-installed-name).
25719         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25720         (rtld_installed_name): Likewise.
25721         (run_program_prefix): New variable.  Use it to run wordexp-test.
25723         * Makeconfig (ARCH): Remove all definitions.
25724         (machine): Likewise.
25725         [ARCH]: Remove conditional code.
25726         [!objdir]: Give error.
25727         [!objdir] (objpfx): Remove.
25728         [!objdir] (common-objpfx): Likewise.
25729         [!objdir] (common-objdir): Likewise.
25730         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25731         AC_CONFIG_FILES call.
25732         * configure: Regenerated.
25734         [BZ #13888]
25735         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25736         or TMPDIR.
25737         (testout): Likewise.
25739         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25740         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25741         $(rtld-installed-name).
25742         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25743         (rtld_installed_name): Likwise.
25744         (runit): Remove function.
25745         (run_getconf): New variable,  Use it for running getconf binary.
25747 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25749         [BZ #14716]
25750         * string/test-memmem.c (check_result): New function.
25751         (do_one_test): Use it.
25752         (check1): New function.
25753         (test_main): Use it.
25755 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25757         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25759 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25761         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25762         (_G_LSEEK64): Likewise.
25763         (_G_MMAP64): Likewise.
25764         (_G_FSTAT64): Likewise.
25765         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25766         (_G_LSEEK64): Likewise.
25767         (_G_MMAP64): Likewise.
25768         (_G_FSTAT64): Likewise.
25769         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25770         unconditional.  Call __mmap64 directly.
25771         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25772         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25773         __lseek64 directly.
25774         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25775         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25776         __mmap64 directly.
25777         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25778         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25779         __lseek64 directly.
25780         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25781         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25782         __lseek64 directly.
25783         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25784         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25785         __lseek64 directly.
25786         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25787         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25788         __fxstat64 directly.
25789         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25790         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25791         unconditional.
25792         (freopen64) [!_G_OPEN64]: Remove conditional code.
25793         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25794         unconditional.
25795         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25796         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25797         unconditional.
25798         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25799         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25800         unconditional.
25801         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25802         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25803         unconditional.
25804         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25805         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25806         unconditional.
25807         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25808         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25809         unconditional.
25810         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25811         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25812         unconditional.
25813         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25815 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25817         [BZ #12140]
25818         * manual/memory.texi (Malloc Tunable Parameters): Add note
25819         about free list pointers overwriting some perturb bytes.
25820         Wording suggested by Roland McGrath.
25822 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25824         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25825         (lgamma_test): Likewise.
25826         (tgamma_test): Likewise.
25828 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25830         [BZ #14700]
25831         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25832         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25834 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25836         * NEWS: Mention BZ #14716.
25837         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25838         when removing AVAILABLE1_USES_J macro.
25840 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
25842         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25843         (__bswap_64): __uint64_t for unsigned 64-bit int.
25845 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
25847         * include/string.h (memmem): Declare libc hidden alias.
25848         * string/memmem.c (memmem): Define libc hidden alias.
25849         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25850         __read, __close instead of open, read, close.
25852 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
25854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25855         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25856         global and hidden.
25857         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25858         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25859         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25860         Likewise.
25861         (__rawmemchr_sse2): Likewise.
25862         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25863         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25864         (__strchr_sse2): Likewise.
25865         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25866         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25867         (__strcasecmp_sse2): Likewise.
25868         (__strncasecmp_sse2): Likewise.
25869         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25870         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25871         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25872         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25873         (__strrchr_sse2): Likewise.
25874         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25875         ifunc-impl-list.c.
25876         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25877         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25878         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25879         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25880         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25881         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25882         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25883         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25884         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25885         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25886         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25887         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25888         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25889         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25890         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25891         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25892         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25893         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25894         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25895         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25896         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25897         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25898         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25899         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25900         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25901         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25902         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25903         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25904         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25905         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25907         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25908         global and hidden.
25909         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25910         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25911         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25912         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25913         Likewise.
25914         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25915         Likewise.
25916         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25917         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25918         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25919         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25920         ifunc-impl-list.c.
25921         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25922         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25923         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25924         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25925         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25926         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25927         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25928         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25929         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25930         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25931         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25932         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25933         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25934         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25935         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25936         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25937         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25938         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25939         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25940         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25942         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25943         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25944         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25945         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25946         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25947         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25948         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25949         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25950         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25951         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25954         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25955         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25956         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25957         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25958         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25959         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25960         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25961         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25963         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25964         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25965         * include/ifunc-impl-list.h: New file.
25966         * misc/ifunc-impl-list.c: Likewise.
25967         * misc/Makefile (routines): Add ifunc-impl-list.
25968         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25969         * string/test-string.h: Include <ifunc-impl-list.h>.
25970         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25971         TEST_NAME]: New variables.
25972         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25973         are defined.
25974         (test_init): Call __libc_ifunc_impl_list to initialize
25975         func_list if TEST_IFUNC and TEST_NAME are defined.
25977         * string/Makefile (strop-tests): Add bcopy and bzero.
25978         * string/test-bcopy.c: New file.
25979         * string/test-bzero.c: Likewise.
25980         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25981         defined.
25982         * string/test-memset.c: Support bzero test if TEST_BZERO is
25983         defined.
25984         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25985         __libc_memmove.
25986         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25987         __libc_memset.
25988         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25989         of memset.
25991 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25993         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25994         * configure: Regenerated.
25996         * Makeconfig (+link-static-before-libc): Don't include
25997         $(link-static-libc).
25999         * libio/libio.h (_IO_pos_t): Remove.
26001 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26003         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26004         McGrath.
26006 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26008         * crypt/crypt-entry.c: Include fips-private.h.
26009         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26010         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26011         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26012         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26014 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26016         * crypt/crypt-private.h: Include stdbool.h.
26017         (_ufc_setup_salt_r): Return bool.
26018         * crypt/crypt-entry.c: Include errno.h.
26019         (__crypt_r): Return NULL with EINVAL for bad salt.
26020         * crypt/crypt_util.c (bad_for_salt): New.
26021         (_ufc_setup_salt_r): Check that salt is long enough and within
26022         the specified alphabet.
26023         * crypt/badsalttest.c: New file.
26024         * crypt/Makefile (tests): Add it.
26025         ($(objpfx)badsalttest): New.
26027 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26029         * NEWS: Add entry for BZ #14602.
26031 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26033         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26034         type-generic.
26035         * math/libm-test.inc: Update comment listing what functions and
26036         macros are tested.
26037         (isgreater_test): New function.
26038         (isgreaterequal_test): Likewise.
26039         (isless_test): Likewise.
26040         (islessequal_test): Likewise.
26041         (islessgreater_test): Likewise.
26042         (isunordered_test): Likewise.
26043         (main): Call the new functions.
26045 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26047         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26048         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26049         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26050         * sysdeps/i386/configure: Regenerated.
26051         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26052         * sysdeps/mach/configure: Regenerated.
26053         * sysdeps/mach/hurd/configure: Regenerated.
26054         * sysdeps/powerpc/configure: Regenerated.
26055         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26056         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26057         * sysdeps/s390/s390-32/configure: Regenerated.
26058         * sysdeps/s390/s390-64/configure: Regenerated.
26059         * sysdeps/sh/configure: Regenerated.
26060         * sysdeps/sparc/configure: Regenerated.
26061         * sysdeps/unix/sysv/linux/configure: Regenerated.
26062         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26063         * sysdeps/x86_64/configure: Regenerated.
26065         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26066         defined.  Don't check if MAP is NULL.
26068 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26070         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26071         (_G_stat64): Likewise.
26072         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26073         (_G_stat64): Likewise.
26074         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26075         instead of struct _G_stat64.
26076         * libio/fileops.c (mmap_remap_check): Likewise.
26077         (decide_maybe_mmap): Likewise.
26078         (_IO_new_file_seekoff): Likewise.
26079         (_IO_file_stat): Likewise.
26080         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26081         _G_off64_t.
26082         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26083         instead of struct _G_stat64.
26084         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26086 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26088         [BZ #14602]
26089         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26090         Replace with ...
26091         (CHECK_EOL): New macro.
26092         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26093         CHECK_EOL.
26094         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26095         Replace with CHECK_EOL.
26096         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26097         Replace with CHECK_EOL.
26099 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26101         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26102         type-generic.
26103         * math/libm-test.inc: Update comment listing what functions and
26104         macros are tested.
26105         (finite_test): New function.
26106         (isinf_test): Likewise.
26107         (isnan_test): Likewise.
26108         (fpclassify_test): Test subnormal input.
26109         (isfinite_test): Likewise.
26110         (isnormal_test): Likewise.
26111         (main): Call the new functions.
26113 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26115         [BZ #14660]
26116         * Makerules (%.dynsym): Force C locale when running
26117         $(OBJDUMP) --dynamic-syms.
26119 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26121         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26122         <stdint.h>.
26124 2012-10-06  David S. Miller  <davem@davemloft.net>
26126         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26127         upper 32-bits of the length value in %o2 since we use branch-on-register
26128         tests which consider the entire 64-bit register.
26130 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26132         * string/test-strstr.c (check2): Add a test for page boundary.
26134 2012-10-05  David S. Miller  <davem@davemloft.net>
26136         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26137         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26138         file.
26139         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26140         sysdep_routines.
26141         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26142         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26143         and bzero when HWCAP_SPARC_CRYPTO is present.
26145 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26147         [BZ #14602]
26148         * string/test-strstr.c (check2): New function.
26149         (test_main): Call check2.
26151         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26152         and bug-strchr1.
26153         * string/bug-strcasestr1.c (do_test): Moved to ...
26154         * string/test-strcasestr.c (check1): Here.  New function.
26155         (do_one_test): Break out result checking code into ...
26156         (check_result): This.  New function.
26157         (do_one_test): Call check_result.
26158         (test_main): Call check1.
26159         * string/bug-strchr1.c (do_test): Moved to ...
26160         * string/test-strchr.c (check1): Here.  New function.
26161         (do_one_test): Break out result checking code into ...
26162         (check_result): This.  New function.
26163         (do_one_test): Call check_result.
26164         (test_main): Call check1.
26165         * string/bug-strstr1.c (main): Moved to ...
26166         * string/test-strstr.c (check1): Here.  New function.
26167         (do_one_test): Break out result checking code into ...
26168         (check_result): This.  New function.
26169         (do_one_test): Call check_result.
26170         (test_main): Call check1.
26171         * string/bug-strcasestr1.c: Removed.
26172         * string/bug-strchr1.c: Likewise.
26173         * string/bug-strstr1.c: Likewise.
26175         * elf/Makefile (dl-routines): Add hwcaps.
26176         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26177         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26178         (_dl_important_hwcaps): Moved to ...
26179         * elf/dl-hwcaps.c: Here.  New file.
26180         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26182         [BZ #14557]
26183         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26184         if IS_IN_rtld isn't defined.
26186         * elf/dl-support.c (_dl_sysinfo_map): New.
26187         Include "get-dynamic-info.h" and "setup-vdso.h".
26188         (_dl_non_dynamic_init): Call setup_vdso.
26189         * elf/dynamic-link.h: Don't include <assert.h>.
26190         (elf_get_dynamic_info): Moved to ...
26191         * elf/get-dynamic-info.h: Here.  New file.
26192         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26193         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26194         * elf/setup-vdso.h: Here.  New file.
26195         * elf/rtld.c: Include "setup-vdso.h".
26196         (dl_main): Call setup_vdso.
26198 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26200         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26201         creal in comment listing functions tested.  List finite, isinf,
26202         isnan, isless, islessequal, isgreater, isgreaterequal,
26203         islessgreater, isunordered, lgamma_r and pow10 as functions and
26204         macros not tested.  Mention which functions not tested are aliases
26205         for other functions.  Fix typo.  Note that signs of NaNs are not
26206         tested.
26208         * scripts/config.guess: Update from config.git.
26209         * scripts/config.sub: Likewise.
26211 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26213         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26214         * misc/madvise.c (madvise): Renamed to __madvise.
26215         Make madvise a weak alias.
26216         * include/sys/mman.h: Declare __madvise.
26217         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26218         * sysdeps/unix/syscalls.list
26219         (madvise): Make __madvise the strong name, and madvise a weak alias.
26220         * sysdeps/unix/sysv/linux/syscalls.list
26221         (madvise, mmap): Remove redundant entries.
26222         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26223         * malloc/malloc.c (mtrim): Likewise.
26224         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26226 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26228         * sysdeps/mach/hurd/dl-cache.c: File removed.
26229         * config.h.in (USE_LDCONFIG): New #undef.
26230         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26231         * configure: Regenerated.
26232         * elf/Makefile (dl-routines): Add dl-cache only under
26233         [$(use-ldconfig) = yes].
26234         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26235         cache on [USE_LDCONFIG].
26236         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26237         [USE_LDCONFIG].
26238         * elf/rtld.c (dl_main): Likewise.
26240 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26242         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26243         _SC_LEVEL4_CACHE_LINESIZE.
26245 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26247         * sysdeps/unix/bsd/confstr.h: File removed.
26249 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26251         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26252         sys/sdt-config.h.
26254 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26256         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26257         Make 'mapoff' field ElfW(Off) rather than off_t.
26259 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26261         * nscd/Makefile: Remove nscd-cflags and all its users.
26262         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26263         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26265         [BZ #10631]
26266         * malloc.c (malloc_printerr): Clarify error message.
26268 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26270         [BZ #14648]
26271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26272         Set bit_FMA_Usable if FMA is supported.
26273         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26274         macro.
26275         (bit_FMA4_Usable): Updated.
26276         (index_FMA_Usable): New macro.
26277         (CPUID_FMA): Likewise
26278         (HAS_FMA): Defined with bit_FMA_Usable.
26280 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26282         * bits/types.h (__swblk_t): Type removed.
26283         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26284         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26286         (__SWBLK_T_TYPE): Likewise.
26287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26288         (__SWBLK_T_TYPE): Likewise.
26289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26290         (__SWBLK_T_TYPE): Likewise.
26291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26292         (__SWBLK_T_TYPE): Likewise.
26294 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26295             Honza Horak <hhorak@redhat.com>
26297         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26298         (xdr_mapname): Use YPMAXMAP as maxsize.
26299         (xdr_peername): Use YPMAXPEER as maxsize.
26300         (xdr_keydat): Use YPAXRECORD as maxsize.
26301         (xdr_valdat): Use YPMAXRECORD as maxsize.
26303 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26305         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26307         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26308         * csu/init-first.c: ... here.
26309         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26310         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26311         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26312         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26313         * sysdeps/i386/init-first.c: File removed.
26314         * sysdeps/sh/init-first.c: File removed.
26316 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26318         [BZ #14645]
26319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26320         if x * y might underflow to zero and z is zero.
26321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26323         * math/libm-test.inc (min_subnorm_value): New variable.
26324         (fma_test): Add more tests.
26325         (fma_test_towardzero): Likewise.
26326         (fma_test_downward): Likewise
26327         (fma_test_upward): Likewise.
26328         (initialize): Set min_subnorm_value.
26330 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26332         [BZ #14638]
26333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26334         0 + 0.
26335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26336         mode for addition resulting in exact zero.
26337         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26339         exact 0 + 0.
26340         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26342         * math/libm-test.inc (fma_test): Add more tests.
26343         (fma_test_towardzero): New function.
26344         (fma_test_downward): Likewise.
26345         (fma_test_upward): Likewise.
26346         (main): Call the new functions.
26348 2012-09-28  David S. Miller  <davem@davemloft.net>
26350         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26352 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26354         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26355         instead of SIGALRM.
26357         * sysdeps/gnu/_G_config.h: Moved to ...
26358         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26359         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26360         * sysdeps/generic/_G_config.h: ... here.
26362         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26364         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26366         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26367         Conditionalize target on [libnss_test1.so-version].
26369         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26371         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26372         (elfobjdir): Move out of conditionals.
26374         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26375         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26376         (__nss_lookup_function): Conditionalize label remove_from_tree on
26377         [!DO_STATIC_NSS || SHARED], matching its only use.
26379 2012-09-28  David S. Miller  <davem@davemloft.net>
26381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26382         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26383         file.
26384         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26385         sysdep_routines.
26386         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26388         when HWCAP_SPARC_CRYPTO is present.
26390 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26392         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26394 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26396         [BZ #6530]
26397         * stdio-common/vfprintf.c (process_string_arg): Revert
26398         2000-07-22 change.
26400 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26402         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26403         for testcase.
26404         * stdio-common/tst-sprintf.c: Include <locale.h>
26405         (main): Test sprintf's handling of incomplete multibyte
26406         characters.
26408 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26410         * elf/dl-runtime.c (VERSYMIDX): Removed.
26411         * elf/dl-version.c (VERSYMIDX): Likewise.
26412         * elf/do-rel.h (VERSYMIDX): Likewise.
26413         (VALIDX): Likewise.
26414         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26415         * elf/rtld.c (VALIDX): Likewise.
26416         (ADDRIDX): Likewise.
26417         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26418         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26419         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26420         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26421         (VALIDX): Likewise.
26422         (ADDRIDX): Likewise.
26424 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26426         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26428 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26430         [BZ #11438]
26431         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26432         to global scope.
26433         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26434         addresses are in the same scope as 192.0.2/24.
26435         * posix/gai.conf: Document new scope table defaults.
26437 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26439         [BZ #5298]
26440         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26441         for ftell.  Compute offsets from write pointers instead.
26442         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26444 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26446         [BZ #14543]
26447         * libio/Makefile (tests): New test case tst-fseek.
26448         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26449         combination works in wide mode.
26450         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26451         state when the external buffer state changes.
26453 2012-09-27  David S. Miller  <davem@davemloft.net>
26455         [BZ #14376]
26456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26457         pass reloc->r_addend in as the 'high' argument to
26458         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26462 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26464         * rt/tst-aio2.c: Include <pthread.h>.
26465         * rt/tst-aio3.c: Likewise.
26467 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26469         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26471 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26473         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26474         contents on [SHARED].
26476 2012-09-26  Marek Polacek  <polacek@redhat.com>
26478         [BZ #14530]
26479         [BZ #13741]
26480         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26481         for C++ and GCC <4.3 as well as for non GCC compilers.
26483 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26487 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26489         * Makefile.in (all, install): Declare with .PHONY.
26490         Reported by Michael Hope <michael.hope@linaro.org>.
26492 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26494         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26495         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26496         system header.
26497         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26498         Likewise.
26499         (sydep_routines): Add the new and the internal functions.
26500         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26501         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26503         (GLIBC_2.17): Add the new function.
26504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26505         (GLIBC_2.17): Likewise.
26506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26507         (GLIBC_2.17): Likewise.
26508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26509         (GLIBC_2.17): Likewise.
26510         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26512 2012-09-25  Alan Modra  <amodra@gmail.com>
26514         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26515         Add release barrier before setting once_control to say
26516         initialisation is done.  Add hints on lwarx.  Use macro in
26517         place of isync.
26518         (clear_once_control): Add release barrier.
26520 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26522         [BZ #13629]
26523         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26524         specially.
26525         * math/s_clog10.c (__clog10): Likewise.
26526         * math/s_clog10f.c (__clog10f): Likewise.
26527         * math/s_clog10l.c (__clog10l): Likewise.
26528         * math/s_clogf.c (__clogf): Likewise.
26529         * math/s_clogl.c (__clogl): Likewise.
26530         * math/Makefile (libm-calls): Add x2y2m1.
26531         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26532         (__x2y2m1): Likewise.
26533         (__x2y2m1l): Likewise.
26534         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26535         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26536         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26537         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26538         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26539         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26540         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26541         * sysdeps/i386/fpu/libm-test-ulps: Update.
26542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26544         [BZ #14621]
26545         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26546         int as type of variable DEPTH.
26547         (glob): Use size_t instead of int as type of variables NEWCOUNT
26548         and OLD_PATHC.
26550 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26552         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26553         Add s_sincosf-sse2.
26554         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26555         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26556         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26557         macros for using routine as __sincosf_ia32.
26558         Use macro for function declaration and weak_alias.
26559         * sysdeps/i386/fpu/libm-test-ulps: Update.
26561         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26564         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26565         subnormal argument.
26566         * math/s_cexpf.c (__cexpf): Likewise.
26567         * math/s_csinf.c (__csinf): Likewise.
26568         * math/s_csinhf.c (__csinhf): Likewise.
26569         * math/s_ctanf.c (__ctanf): Likewise.
26570         * math/s_ctanhf.c (__ctanhf): Likewise.
26571         * math/s_ccosh.c (__ccoshf): Likewise.
26572         * math/s_cexp.c (__cexpl): Likewise.
26573         * math/s_csin.c (__csin): Likewise.
26574         * math/s_csinh.c (__csinh): Likewise.
26575         * math/s_ctan.c (__ctan): Likewise.
26576         * math/s_ctanh.c (ctanh): Likewise.
26577         * math/s_ccoshl.c (__ccoshl): Likewise.
26578         * math/s_cexpl.c (__cexpl): Likewise.
26579         * math/s_csinl.c (__csinl): Likewise.
26580         * math/s_csinhl.c (__csinhl): Likewise.
26581         * math/s_ctanl.c (__ctanl): Likewise.
26582         * math/s_ctanhl.c (__ctanhl): Likewise.
26584 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26586         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26587         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26588         (_IO_off_t): Define to __off_t, not _G_off_t.
26589         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26590         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26591         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26592         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26593         type of __dummy and __dummy2 fields.
26594         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26595         (_G_ssize_t): Likewise.
26596         (_G_off_t): Likewise.
26597         (_G_pid_t): Likewise.
26598         (_G_uid_t): Likewise.
26599         (_G_wchar_t): Likewise.
26600         (_G_wint_t): Likewise.
26601         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26602         (_G_ssize_t): Likewise.
26603         (_G_off_t): Likewise.
26604         (_G_pid_t): Likewise.
26605         (_G_uid_t): Likewise.
26606         (_G_wchar_t): Likewise.
26607         (_G_wint_t): Likewise.
26608         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26609         (_G_ssize_t): Likewise.
26610         (_G_off_t): Likewise.
26611         (_G_pid_t): Likewise.
26612         (_G_uid_t): Likewise.
26613         (_G_wchar_t): Likewise.
26614         (_G_wint_t): Likewise.
26616 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26618         * malloc/arena.c: Include malloc-sysdep.h.
26619         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26620         is sufficient to shrink the heap or an unmap is needed.
26621         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26622         new function check_may_shrink_heap.
26623         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26624         new function check_may_shrink_heap.
26626 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26628         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26629         comments.
26631 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26633         * catgets/test-gencat.sh: Add "set -e".
26634         * elf/tst-pathopt.sh: Likewise.
26635         * grp/tst_fgetgrent.sh: Likewise.
26636         * iconvdata/run-iconv-test.sh: Likewise.
26637         * intl/tst-gettext.sh: Likewise.
26638         * intl/tst-gettext2.sh: Likewise.
26639         * intl/tst-gettext4.sh: Likewise.
26640         * intl/tst-gettext6.sh: Likewise.
26641         * intl/tst-translit.sh: Likewise.
26642         * io/ftwtest-sh: Likewise.
26643         * libio/test-freopen.sh: Likewise.
26644         * malloc/tst-mtrace.sh: Likewise.
26645         * posix/globtest.sh: Likewise.
26646         * posix/tst-getconf.sh: Likewise.
26647         * posix/wordexp-tst.sh: Likewise.
26648         * stdio-common/tst-printf.sh: Likewise.
26649         * stdio-common/tst-unbputc.sh: Likewise.
26650         * stdlib/tst-fmtmsg.sh: Likewise.
26651         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26652         * catgets/Makefile: Do not specify -e option when running
26653         testsuite shell scripts.
26654         * elf/Makefile: Likewise.
26655         * grp/Makefile: Likewise.
26656         * iconvdata/Makefile: Likewise.
26657         * intl/Makefile: Likewise.
26658         * io/Makefile: Likewise.
26659         * libio/Makefile: Likewise.
26660         * malloc/Makefile: Likewise.
26661         * posix/Makefile: Likewise.
26662         * stdio-common/Makefile: Likewise.
26663         * stdlib/Makefile: Likewise.
26664         * sysdeps/x86_64/Makefile: Likewise.
26666         * io/ftwtest-sh: Add copyright header.
26667         * posix/globtest.sh: Likewise.
26668         * posix/tst-getconf.sh: Likewise.
26669         * posix/wordexp-tst.sh: Likewise.
26670         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26672 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26674         [BZ #13679]
26675         * Makeconfig (+link): Defined as $(+link-static) if
26676         $(build-shared) isn't yes.
26677         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26678         isn't yes.
26679         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26681         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26683         [BZ #14562]
26684         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26685         new chunk size with MALLOC_ALIGN_MASK.
26687 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26689         [BZ #5044]
26690         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26691         <rounding-mode.h>.
26692         (__printf_fphex): Determine rounding using get_rounding_mode and
26693         round_away.
26694         * stdio-common/tst-printf-round.c (struct hex_test): New
26695         structure.
26696         (hex_tests): New variable.
26697         (test_hex_in_one_mode): New function.
26698         (do_test): Also run tests for hex float output.
26700 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26702         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26703         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26704         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26705         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26706         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26707         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26708         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26709         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26711 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26713         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26714         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26715         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26716         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26718 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26720         [BZ #14579]
26721         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26722         mode only.
26723         * elf/tst-rtld-load-self.sh: New test.
26724         * elf/Makefile: Run it.
26726 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26728         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26729         (tst-writev-ENV): Remove.
26730         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26732 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26734         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26736 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26738         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26739         unconditional.
26740         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26741         Likewise.
26742         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26743         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26744         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26745         Likewise.
26747 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26749         [BZ #14587]
26750         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26751         * config.make.in (have-cpp-asm-debuginfo): Removed.
26752         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26753         * configure: Regenerated.
26755 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26757         [BZ #5044]
26758         * stdio-common/printf_fp.c: Include <stdbool.h> and
26759         <rounding-mode.h>.
26760         (___printf_fp): Determine rounding using get_rounding_mode and
26761         round_away.
26762         * stdio-common/tst-printf-round.c: New file.
26763         * stdio-common/Makefile (tests): Add tst-printf-round.
26764         (link-libm): New variable.
26765         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26767 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26769         [BZ #14576]
26770         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26771         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26772         Likewise.
26773         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26774         Likewise.
26776 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26778         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26779         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26780         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26781         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26783 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26785         [BZ #14518]
26786         * include/rounding-mode.h: New file.
26787         * sysdeps/generic/get-rounding-mode.h: Likewise.
26788         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26789         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26790         (MAX_VALUE): New macro.
26791         (MIN_VALUE): Likewise.
26792         (overflow_value): New function.
26793         (underflow_value): Likewise.
26794         (round_and_return): Use overflow_value and underflow_value to
26795         determine return values in overflow and underflow cases.  Use
26796         round_away to determine rounding depending on rounding mode.
26797         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26798         determine return values in overflow and underflow cases.
26799         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26800         (struct test_results): New structure.
26801         (struct test): Use struct test_results to store expected results
26802         for all rounding modes.
26803         (TEST): Include expected results for all rounding modes.
26804         (test_in_one_mode): New function.
26805         (do_test): Use test_in_one_mode to compute and check results.
26806         Check results for all rounding modes.
26807         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26808         $(link-libm).
26810 2012-12-09  Allan McRae  <allan@archlinux.org>
26812         * sysdeps/i386/fpu/libm-test-ulps: Update
26814 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26816         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26817         (_G_int32_t): Likewise.
26818         (_G_uint16_t): Likewise.
26819         (_G_uint32_t): Likewise.
26820         (_G_HAVE_BOOL): Likewise.
26821         (_G_HAVE_ATEXIT): Likewise.
26822         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26823         (_G_HAVE_IO_FILE_OPEN): Likewise.
26824         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26825         (_G_int32_t): Likewise.
26826         (_G_uint16_t): Likewise.
26827         (_G_uint32_t): Likewise.
26828         (_G_HAVE_BOOL): Likewise.
26829         (_G_HAVE_ATEXIT): Likewise.
26830         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26831         (_G_HAVE_IO_FILE_OPEN): Likewise.
26832         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26833         (_G_int32_t): Likewise.
26834         (_G_uint16_t): Likewise.
26835         (_G_uint32_t): Likewise.
26836         (_G_HAVE_BOOL): Likewise.
26837         (_G_HAVE_ATEXIT): Likewise.
26838         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26839         (_G_HAVE_IO_FILE_OPEN): Likewise.
26841 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
26843         * csu/libc-tls.c: Update copyright years.
26845 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
26847         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26848         [!_G_USING_THUNKS]: Remove conditional code.
26849         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26850         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26852         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26853         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26854         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26855         (_G_VTABLE_LABEL_PREFIX): Likewise.
26856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26857         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26858         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26859         (_G_VTABLE_LABEL_PREFIX): Likewise.
26860         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26861         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26862         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26863         (_G_VTABLE_LABEL_PREFIX): Likewise.
26864         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26866 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26868         * libio/Makefile: Include ../Makeconfig before tests.
26869         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26870         only if $(build-shared) is yes.
26872         * iconv/gconv_db.c: Update copyright years.
26874 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26876         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26877         unwind info if defined PIC. Fix special cases description.
26878         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26880         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26881         DP_HI_MASK entry.
26882         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26884 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26886         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26888         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26889         is NULL.
26891         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26892         (LDLIBS-tst-chk4): This.
26893         (LDFLAGS-tst-chk5): Renamed to ...
26894         (LDLIBS-tst-chk5): This.
26895         (LDFLAGS-tst-chk6): Renamed to ...
26896         (LDLIBS-tst-chk6): This.
26897         (LDFLAGS-tst-lfschk4): Renamed to ...
26898         (LDLIBS-tst-lfschk4): This.
26899         (LDFLAGS-tst-lfschk5): Renamed to ...
26900         (LDLIBS-tst-lfschk5): This.
26901         (LDFLAGS-tst-lfschk6): Renamed to ...
26902         (LDLIBS-tst-lfschk6): This.
26904         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26905         on $(common-objpfx)soversions.mk.
26907 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26909         [BZ #10014]
26910         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26911         example host name.
26913 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * malloc/arena.c (arena_get_retry): New function that gets
26916         another arena for the caller to try its request on.
26917         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26918         current arena cannot fulfill the request.
26919         (__libc_memalign): Likewise.
26920         (__libc_memalign): Likewise.
26921         (__libc_pvalloc): Likewise.
26922         (__libc_calloc): Likewise.
26924 2012-09-05  John Tobey  <john.tobey@gmail.com>
26926         [BZ #13542]
26927         * manual/arith.texi (Operations on Complex): Fix description
26928         of carg branch cut.
26930 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #10014]
26933         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26934         host name.
26936         [BZ #10038]
26937         * manual/memory.texi (Memory): Make order of menu items match
26938         order of sections.
26940 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26942         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26943         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26944         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26946 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26948         * csu/libc-tls.c (static_dtv): Renamed to ...
26949         (_dl_static_dtv): This.  Make it global.
26950         (_dl_initial_dtv): Removed.
26951         (__libc_setup_tls): Updated.
26952         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26953         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26954         DL_INITIAL_DTV.
26956 2012-09-06  Petr Machata  <pmachata@redhat.com>
26958         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26959         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26960         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26961         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26963 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26965         [BZ #14545]
26966         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26967         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26968         freeing dtv[-1].
26970 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26972         [BZ #14544]
26973         * Makeconfig (link-static-before-libc): Replace $(+prector)
26974         with $(+prectorT).
26975         (link-static-after-libc): Replace $(+postctor) with
26976         $(+postctorT).
26977         (link-bounded): Replace $(+prector)/$(+postctor) with
26978         $(+prectorT)/$(+postctorT).
26979         (+prectorT): New macro.
26980         (+postctorT): Likewise.
26982 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26984         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26985         (round_str): Handle values above the maximum for IBM long double
26986         as inexact.
26987         * stdlib/tst-strtod-round.c (tests): Regenerated.
26989 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26991         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26992         assembler flag.
26993         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26994         zarch_nohighgprs around the zarch optimized routines.
26995         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26996         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26998         for zarch.
27000 2012-09-05  David S. Miller  <davem@davemloft.net>
27002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27004         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27005         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27006         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27007         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27008         entries.
27010 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27012         * malloc/arena.c: Fold copyright years.
27013         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27015 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27017         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27019 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27021         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27023 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27025         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27026         change internal state upon failure.
27028 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27030         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27031         * malloc/memusage.c (mmap): Likewise.
27032         (mmap64, mremap): Likewise.  Adjust name in comment.
27034 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27036         * libio/fileops.c: Fix typos in comments.
27037         * libio/oldfileops.c: Likewise.
27038         * libio/wfileops.c: Likewise.
27040 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27042         [BZ #1349]
27043         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27044         (tst-malloc-usable-ENV): Set environment for test case.
27045         * malloc/hooks.c (malloc_check_get_size): New function to get
27046         requested size.
27047         * malloc/malloc.c (musable): Use malloc_check_get_size.
27048         * malloc/tst-malloc-usable.c: New test case.
27050 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27052         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27054 2012-09-05  Allan McRae  <allan@archlinux.org>
27056         [BZ #13966]
27057         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27058         determine header location.
27059         * configure: Regenerated.
27061 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27063         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27064         float format.
27065         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27066         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27067         format.
27068         (test): Regenerate.
27070 2012-09-04  David S. Miller  <davem@davemloft.net>
27072         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27073         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27074         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27076 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27078         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27079         failures.
27081         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27083 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27085         [BZ #9914]
27086         * libio/iogetdelim.c: Include <limits.h>.
27087         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27088         + len + 1 would overflow.
27090 2012-09-03  Andreas Jaeger  <aj@suse.de>
27092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27093         * sysdeps/i386/fpu/libm-test-ulps: Update.
27095 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27097         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27098         Add s_sinf-sse2, s_conf-sse2.
27100         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27101         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27102         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27103         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27105         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27106         for using routine as __sinf_ia32.
27107         Use macro for function declaration and weak_alias.
27108         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27109         for using routine as __cosf_ia32.
27110         Use macro for function declaration and weak_alias.
27112         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27113         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27115         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27116         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27119         * math/libm-test.inc (cos_test): Add more test cases.
27120         (sin_test): Likewise.
27121         (sincos_test): Likewise.
27123 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27125         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27126         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27127         hidden.
27128         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27130 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27132         [BZ #14538]
27133         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27134         first element of the GOT.
27135         (elf_machine_load_address): Return the difference between
27136         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27138 2012-09-01  Allan McRae  <allan@archlinux.org>
27140         [BZ #13412]
27141         * configure.in (AWK): Require gawk version 3.0 or later.
27142         * configure: Regenerated.
27144 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27146         * sysdeps/unix/sysv/linux/kernel-features.h
27147         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27148         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27149         [__NR_clock_getres]: Make code unconditional.
27150         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27151         (clock_getcpuclockid): Remove code left unreachable by removal of
27152         conditionals.
27153         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27154         code unconditional.
27155         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27156         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27157         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27158         Make code unconditional.
27159         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27160         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27161         * sysdeps/unix/sysv/linux/clock_settime.c
27162         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27163         conditional code.
27164         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27165         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27167 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27169         [BZ #14476]
27170         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27171         scripts/test-installation.pl.
27173         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27174         and $ld_so_version if it is set.
27176 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27178         [BZ #14516]
27179         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27180         failure if reading from procfs failed.
27181         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27183 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27185         * sysdeps/unix/sysv/linux/kernel-features.h
27186         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27187         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27188         Remove conditional code.
27189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27190         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27191         Remove conditional code.
27192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27193         * sysdeps/unix/sysv/linux/i386/fxstat.c
27194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27196         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27199         * sysdeps/unix/sysv/linux/i386/lxstat.c
27200         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27202         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27203         Remove conditional code.
27204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27205         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27206         Remove conditional code.
27207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27208         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27209         <kernel-features.h>.
27210         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27211         Remove.
27212         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27213         Remove conditional code.
27214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27215         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27216         Remove conditional.
27218 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27220         [BZ #5400]
27221         * NEWS: Add fixed bug number.
27223 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27225         [BZ #14519]
27226         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27227         underflowing exponent in case of negative sign.
27228         * stdlib/tst-strtod-round-data: Add more tests.
27229         * stdlib/tst-strtod-round.c (tests): Regenerated.
27231         [BZ #3479]
27232         * stdlib/strtod_l.c (NDIG): Remove.
27233         (HEXNDIG): Likewise.
27234         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27235         smallest representable value.
27236         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27237         lie within an exact representation of 1/2 ulp of the result.
27238         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27239         unconditionally.
27240         (TENS_P9_IDX): Define unconditionally.
27241         (TENS_P9_SIZE): Likewise.
27242         (TENS_P10_IDX): Likewise.
27243         (TENS_P10_SIZE): Likewise.
27244         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27245         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27246         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27247         entries for 10^2^13 and 10^2^14.
27248         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27249         (TENS_P13_IDX): Define.
27250         (TENS_P13_SIZE): Likewise.
27251         (TENS_P14_IDX): Likewise.
27252         (TENS_P14_SIZE): Likewise.
27253         (_fpioconst_pow10): Change array size to
27254         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27255         unconditional.
27256         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27257         1024]: Add entries for 10^2^13 and 10^2^14.
27258         [LAST_POW10 > _LAST_POW10]: Remove #error.
27259         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27260         (_fpioconst_pow10): Change array size to
27261         FPIOCONST_POW10_ARRAY_SIZE.
27262         * stdlib/gen-fpioconst.c: New file.
27263         * stdlib/gen-tst-strtod-round.c: Likewise.
27264         * stdlib/tst-strtod-round-data: Likewise.
27265         * stdlib/tst-strtod-round.c: Likewise.
27266         * stdlib/Makefile (tests): Add tst-strtod-round.
27268         [BZ #14459]
27269         * stdlib/strtod_l.c: Include <stdint.h>.
27270         (NDEBUG): Do not define.
27271         (round_and_return): Change EXPONENT parameter to type intmax_t.
27272         Rearrange calculations to avoid internal overflow possibilities.
27273         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27274         Rearrange calculations to avoid internal overflow possibilities.
27275         Assert that number fits inside MPNSIZE limbs.
27276         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27277         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27278         calculations and add assertions to avoid internal overflow
27279         possibilities.  Add casts to avoid signed/unsigned operations.
27280         * stdlib/tst-strtod-overflow.c: New file.
27281         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27283 2012-08-25  Marek Polacek  <polacek@redhat.com>
27285         * time/time.h: Fix some typos in comments.
27287 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27289         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27290         * posix/tst-rfc3484-2.c: Likewise.
27291         * posix/tst-rfc3484-3.c: Likewise.
27293 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27295         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27296         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27298 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27300         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27301         #include of fxstatat64.c.
27303 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27305         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27306         * shadow/getspent_r.c: Likewise.
27307         * shadow/getspnam.c: Likewise.
27308         * shadow/getspnam_r.c: Likewise.
27309         * gshadow/getsgent.c: Likewise.
27310         * gshadow/getsgent_r.c: Likewise.
27311         * gshadow/getsgnam.c: Likewise.
27312         * gshadow/getsgnam_r.c: Likewise.
27313         * inet/getnetbyad.c: Likewise.
27314         * inet/getnetbyad_r.c: Likewise.
27315         * inet/getnetbynm.c: Likewise.
27316         * inet/getnetbynm_r.c: Likewise.
27317         * inet/getnetent.c: Likewise.
27318         * inet/getnetent_r.c: Likewise.
27319         * inet/getproto.c: Likewise.
27320         * inet/getproto_r.c: Likewise.
27321         * inet/getprtent.c: Likewise.
27322         * inet/getprtent_r.c: Likewise.
27323         * inet/getprtname.c: Likewise.
27324         * inet/getprtname_r.c: Likewise.
27325         * inet/getrpcbyname.c: Likewise.
27326         * inet/getrpcbyname_r.c: Likewise.
27327         * inet/getrpcbynumber.c: Likewise.
27328         * inet/getrpcbynumber_r.c: Likewise.
27329         * inet/getrpcent.c: Likewise.
27330         * inet/getrpcent_r.c: Likewise.
27331         * inet/getaliasent.c: Likewise.
27332         * inet/getaliasent_r.c: Likewise.
27333         * inet/getaliasname.c: Likewise.
27334         * inet/getaliasname_r.c: Likewise.
27335         * nscd/getgrgid_r.c: Likewise.
27336         * nscd/getgrnam_r.c: Likewise.
27337         * nscd/gethstbyad_r.c: Likewise.
27338         * nscd/gethstbynm3_r.c: Likewise.
27339         * nscd/getpwnam_r.c: Likewise.
27340         * nscd/getpwuid_r.c: Likewise.
27341         * nscd/getsrvbynm_r.c: Likewise.
27342         * nscd/getsrvbypt_r.c: Likewise.
27343         * nscd/gai.c: Likewise.
27345         * configure.in (build_nscd): New substituted variable, set
27346         by --disable-build-nscd and defaults to $use_nscd.
27347         * configure: Regenerated.
27348         * config.make.in (build-nscd): New substituted variable.
27349         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27350         Change conditional to require [$(build-nscd) = yes] as well.
27351         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27353         [BZ# 13696]
27354         * configure.in (use_nscd): New substituted variable, set by
27355         --disable-nscd.  If enabled, define USE_NSCD.
27356         * configure: Regenerated.
27357         * config.h.in: Add USE_NSCD.
27358         * config.make.in (use-nscd): New substituted variable.
27359         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27360         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27361         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27362         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27363         (CFLAGS-getgrnam_r.c): Likewise.
27364         (CFLAGS-initgroups.c): Likewise.
27365         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27366         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27367         Variables removed.
27368         * inet/getnetgrent_r.c
27369         (nscd_setnetgrent): New function, broken out of ...
27370         (setnetgrent): ... here.  Call it.
27371         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27372         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27373         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27374         * nscd/Makefile (routines, aux): Move definitions after include of
27375         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27376         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27377         Conditionalize on [USE_NSCD].
27378         (is_nscd, nscd_init_cb): Likewise.
27379         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27380         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27381         * nss/nss_db/db-init.c: Likewise.
27382         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27383         [USE_NSCD].
27384         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27385         (make_request): Use it.
27386         (cache_valid_p): New function.
27387         (__check_pf): Use it.
27388         * NEWS: Add item for --disable-nscd.
27390 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27392         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27393         to support sed >= 4.2.1-20-ga9bf076.
27394         * configure: Regenerated.
27396 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27398         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27399         Conditionalize whole body on [IREL].
27401 2012-08-22  Jeff Law <law@redhat.com>
27403         [BZ #14505]
27404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27405         if the family is PF_UNSPEC.
27407 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27409         * Makerules (lib-version): Rename from V.
27410         (install-lib-nosubdir): Change V to lib-version.
27412 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27414         [BZ #14252]
27415         * powerpc32/power6/wcschr.c: New file.
27416         * powerpc32/power6/wcscpy.c: New file.
27417         * powerpc32/power6/wcsrchr.c: New file.
27418         * powerpc64/power6/wcschr.c: New file.
27419         * powerpc64/power6/wcscpy.c: New file.
27420         * powerpc64/power6/wcsrchr.c: New file.
27422 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27424         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27425         (two_way_short_needle): Use it.
27426         * string/strstr.c (AVAILABLE1_USES_J): Define.
27427         * string/strcasestr.c: Likewise.
27429         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27430         array references.
27431         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27433         [BZ #11607]
27434         * NEWS: Add an entry.
27435         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27436         define their defaults.
27437         (two_way_short_needle): Detect end-of-string on-the-fly.
27438         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27439         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27440         * string/bug-strcasestr1.c: New test.
27441         * string/Makefile: Run it.
27443 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27445         [BZ #11607]
27446         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27447         the first character.
27449 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27451         * csu/elf-init.c (__libc_csu_irel): Function removed.
27452         * csu/libc-start.c (apply_irel): New function.
27453         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27455 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27457         * sysdeps/unix/sysv/linux/kernel-features.h
27458         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27459         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27460         <kernel-features.h>.
27461         [__NR_fadvise64_64]: Make code unconditional.
27462         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27463         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27464         !__NR_fadvise64_64)]: Likewise.
27465         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27466         !__NR_fadvise64_64))]: Likewise.
27467         [__NR_fadvise64]: Make code unconditional.
27468         [!__NR_fadvise64]: Remove conditional code.
27469         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27470         <kernel-features.h>.
27471         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27472         unconditional.
27473         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27474         conditional code.
27475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27476         not include <kernel-features.h>.
27477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27478         unconditional.
27479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27480         conditional code.
27481         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27482         include <kernel-features.h>.
27483         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27484         unconditional.
27485         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27486         conditional code.
27488 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27491         slight instruction rearrangements per scrollpipe analysis.
27492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27494 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27496         * manual/syslog.texi (syslog; vsyslog, closelog):
27497         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27498         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27500         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27501         DSOCAPS to match condition on defining it.
27503 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27505         * sysdeps/unix/sysv/linux/kernel-features.h
27506         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27514         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27515         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27517         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27518         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27520         * sysdeps/unix/sysv/linux/kernel-features.h
27521         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27522         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27523         unconditional.
27524         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27525         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27526         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27527         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27528         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27529         Make code unconditional.
27530         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27531         (__mmap64) [!__NR_mmap2]: Likewise.
27532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27533         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27534         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27535         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27536         [__NR_mmap2]: Make code unconditional.
27537         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27538         (__mmap64) [!__NR_mmap2]: Likewise.
27540 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27542         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27544 2012-08-18  Andreas Jaeger  <aj@suse.de>
27546         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27548 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27550         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27551         * include/unistd.h (__have_sock_cloexec): Likewise.
27552         (__have_pipe2): Likewise.
27553         (__have_dup3): Likewise.
27555 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27557         [BZ #9685]
27558         * include/unistd.h (__have_pipe2): Change define into an extern int.
27559         (__have_dup3): Likewise.
27560         * socket/have_sock_cloexec.c: Include fcntl.h.
27561         (__have_pipe2): New variable.
27562         (__have_dup3): Likewise.
27564 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27566         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27568 2012-08-17  Marek Polacek  <polacek@redhat.com>
27570         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27571         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27573 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27575         * configure.in: Add AC_SUBST for sysheaders.
27576         * configure: Regenerated.
27577         * config.make.in (sysheaders): New substituted variable.
27579         * sysdeps/unix/mkfifo.c: Moved ...
27580         * sysdeps/posix/mkfifo.c: ... here.
27581         * sysdeps/unix/mkfifoat.c: Moved ...
27582         * sysdeps/posix/mkfifoat.c: ... here.
27584         * sysdeps/unix/utime.c: Moved ...
27585         * sysdeps/posix/utime.c: ... here.
27587         * sysdeps/unix/time.c: Moved ...
27588         * sysdeps/posix/time.c: ... here.
27589         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27590         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27592         * sysdeps/unix/nice.c: Moved ...
27593         * sysdeps/posix/nice.c: ... here.
27595         * sysdeps/unix/alarm.c: Moved ...
27596         * sysdeps/posix/alarm.c: ... here.
27598         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27600 2012-08-17  Jeff Law <law@redhat.com>
27602         * intl/Makefile (codeset_mo): New variable.
27603         ($(codeset_mo)): New target.
27604         (tst-codeset.out): Depend on that.  Remove explicit rule.
27605         (tst-gettext3.out, tst-gettext5.out): Likewise.
27606         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27607         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27608         * intl/tst-codeset.sh: Remove.
27609         * intl/tst-gettext3.sh: Likewise.
27610         * intl/tst-gettext5.sh: Likewise.
27612 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27614         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27615         * sysdeps/unix/syscalls.list: ... here.
27617         * sysdeps/posix/getaddrinfo.c
27618         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27619         (gaiconf_init, gaiconf_reload): Use them.
27620         [!_STATBUF_ST_NSEC]
27621         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27622         Define using time_t rather than struct timespec.
27624         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27625         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27626         Macros removed.
27627         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27628         [!NO_THREADS].
27629         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27630         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27631         Likewise.
27633         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27634         __libc_cleanup_push argument.
27636         * bits/param.h: New file.
27637         * misc/sys/param.h: New file.
27638         * include/sys/param.h: New file.
27639         * misc/Makefile (headers): Add bits/param.h.
27640         * sysdeps/generic/sys/param.h: File removed.
27641         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27642         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27643         * sysdeps/mach/hurd/bits/param.h: New file.
27644         * sysdeps/mach/hurd/sys/param.h: File removed.
27646         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27647         last change.
27649         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27650         [_IO_MTSAFE_IO].
27651         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27652         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27653         New macros.
27655         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27656         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27657         rather than -D_IO_MTSAFE_IO conditionally.
27658         * stdio-common/Makefile (CPPFLAGS): Likewise.
27659         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27660         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27661         Use $(libio-mtsafe).
27662         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27663         of -D_IO_MTSAFE_IO.
27664         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27665         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27666         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27667         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27668         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27669         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27670         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27671         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27672         (CFLAGS-fread_u_chk.c): Likewise.
27673         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27674         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27675         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27676         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27677         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27678         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27679         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27680         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27681         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27683         * libio/Makefile: Test [$(libc-reentrant) = yes]
27684         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27686         * Makeconfig
27687         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27688         * sysdeps/pthread/configure: File removed.
27689         * sysdeps/pthread/Makeconfig: New file.
27690         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27691         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27693 2012-08-16  Gary Benson  <gbenson@redhat.com>
27695         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27696         unmapping the first object in a namespace.
27698 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27700         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27701         (__internal_setnetgrent): ... this.  Add internal_function to
27702         definition.  Add libc_hidden_def.
27703         (setnetgrent): Update caller.
27704         (internal_endnetgrent): Renamed to ...
27705         (__internal_endnetgrent): ... this.  Add internal_function to
27706         definition.  Add libc_hidden_def.
27707         (endnetgrent): Update caller.
27708         (internal_getnetgrent_r): Renamed to ...
27709         (__internal_getnetgrent_r): ... this.  Add internal_function to
27710         definition.  Add libc_hidden_def.
27711         (__getnetgrent_r): Update caller.
27712         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27714 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27716         * stdlib/longlong.h: Update from GCC.
27718 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27720         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27721         on _QL, which is set by umul_ppmm but never used.
27722         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27723         variables, which are set by GMP macros but never used.
27724         * stdio-common/_itowa.c (_itowa): Likewise.
27725         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27726         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27728 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27730         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27731         struct La_sh_regs is not constant.
27732         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27733         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27734         and struct La_sparc64_regs are not constant.
27736 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27738         * sysdeps/unix/sysv/linux/kernel-features.h
27739         (__ASSUME_POSIX_TIMERS): Remove.
27740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27742         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27743         Make code unconditional.
27744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27745         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27746         Make code unconditional.
27747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27748         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27749         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27751         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27752         Make code unconditional.
27753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27754         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27755         (__libc_missing_posix_timers): Remove.
27757 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27759         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27760         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27762         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27764         * elf/dl-sym.c: Include <stdlib.h>.
27766         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27767         constants, which avoids warnings in 32-bit builds.
27769         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27770         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27772         * misc/lseek.c: File moved to ...
27773         * io/lseek.c: ... here.
27775         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27777         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27778         shifting LEN more than 31 bits at once.
27780 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27782         [BZ #14195]
27783         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27784         segmentation fault for a case of two empty input strings.
27785         * string/test-strncasecmp.c (check1): Renamed to...
27786         (bz12205): ...this.
27787         (bz14195): Add new testcase for two empty input strings and N > 0.
27788         (test_main): Call new testcase, adapt for renamed function.
27790 2012-08-15  Andreas Jaeger  <aj@suse.de>
27792         [BZ #14090]
27793         * crypt/md5test2.c: New test, based on test supplied by Serge
27794         Belyshev <belyshev@depni.sinp.msu.ru>.
27795         * crypt/Makefile (xtests): Add md5test-giant..
27796         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27798 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27800         [BZ #14090]
27801         * crypt/md5.c (md5_process_block): Don't assume the buffer
27802         length is less than 2**32.
27803         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27804         length is less than 2**64.
27806 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27808         * string/str-two-way.h: Include <sys/param.h>.
27809         (MAX): Macro removed.
27811         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27812         Move #define and #undef of memmove to just before and after
27813         including <string.h>.
27815         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27816         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27817         and after including <string.h>.  Move declarations of
27818         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27819         to before #include "string/memmove.c".
27821         * include/dirent.h: Declare __getdirentries.
27823         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27824         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27826 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27828         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27829         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27830         * sysdeps/i386/configure: Regenerated.
27831         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27832         STABS_CURRENT_FILE, and STABS_FUN.
27833         (END): Remove call to STABS_FUN_END.
27834         (STABS_CURRENT_FILE1): Delete.
27835         (STABS_CURRENT_FILE): Likewise.
27836         (STABS_FUN): Likewise.
27837         (STABS_FUN_END): Likewise.
27838         (STABS_FUN2): Likewise.
27839         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27840         * sysdeps/x86_64/configure: Regenerated.
27842 2012-08-14  Roland McGrath  <roland@hack.frob.com>
27844         * elf/dl-open.c: Include <atomic.h>.
27845         * elf/dl-lookup.c: Likewise.
27847 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
27849         * sysdeps/unix/sysv/linux/kernel-features.h
27850         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27851         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27852         unconditionally.
27853         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27854         unconditionally.
27855         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27856         condition on __ASSUME_CLONE_THREAD_FLAGS.
27858 2012-08-14  Andreas Jaeger  <aj@suse.de>
27860         * sysdeps/i386/fpu/libm-test-ulps: Update.
27862 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27864         * include/atomic.h (atomic_exchange_and_add): Split into ...
27865         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27866         New atomic macros.
27868 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27872 2012-08-13  Jeff Law <law@redhat.com>
27874         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27875         null byte in the output string.
27877 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27879         * sysdeps/unix/sysv/linux/kernel-features.h
27880         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27881         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27882         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27883         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27884         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27885         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27886         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27888 2012-08-09  Jeff Law <law@redhat.com>
27890         [BZ #13939]
27891         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27892         When avoid_arena is set, don't retry in the that arena.  Pick the
27893         next one, whatever it might be.
27894         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27895         (arena_lock): Pass in new parameter to arena_get2.
27896         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27897         arena_get2.
27898         (__libc_malloc): Unify retrying after main arena failure with
27899         __libc_memalign version.
27900         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27902 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27904         [BZ #14166]
27905         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27906         to __redirect_strstr.
27907         (__strstr_sse42): Use typeof __redirect_strstr.
27908         (__strstr_ia32): Likewise.
27909         (__libc_strstr): New prototype.
27910         (strstr): Renamed to ...
27911         (__libc_strstr): This.
27912         (strstr): New strong alias of __libc_strstr.
27913         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27914         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27915         __redirect_time.
27916         Include <time.h>.
27917         (__libc_time): New prototype.
27918         (time_ifunc): Replace time with __libc_time.
27919         (time): New strong alias and hidden definition of __libc_time.
27920         (__GI_time): Remove strong alias.
27921         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27922         Include <stddef.h>.
27923         (memmove): Redefined to __redirect_memmove.
27924         (__memmove_sse2): Use typeof __redirect_memmove.
27925         (__memmove_ssse3): Likewise.
27926         (__memmove_ssse3_back): Likewise.
27927         (__libc_memmove): New prototype.
27928         (memmove): Renamed to ...
27929         (__libc_memmove): This.
27930         (memmove): New strong alias of __libc_memmove.
27932 2012-08-08  Mark Salter  <msalter@redhat.com>
27934         * elf/elf.h
27935         (R_MN10300_TLS_GD): Define.
27936         (R_MN10300_TLS_LD): Likewise.
27937         (R_MN10300_TLS_LDO): Likewise.
27938         (R_MN10300_TLS_GOTIE): Likewise.
27939         (R_MN10300_TLS_IE): Likewise.
27940         (R_MN10300_TLS_LE): Likewise.
27941         (R_MN10300_TLS_DTPMOD): Likewise.
27942         (R_MN10300_TLS_DTPOFF): Likewise.
27943         (R_MN10300_TLS_TPOFF): Likewise.
27944         (R_MN10300_SYM_DIFF): Likewise.
27945         (R_MN10300_ALIGN): Likewise.
27946         (R_MN10300_NUM): Update.
27948 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27951         Remove.
27953 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27955         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27957         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27958         sysdeps/unix -> sysdeps/posix move.
27959         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27961 2012-08-07      Allan McRae     <allan@archlinux.org>
27963         [BZ #14303]
27964         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27965         (SUNOS_CPP): Likewise.
27966         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27967         not found.
27968         (open_input): Call CPP using execvp.
27970 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27972         * sysdeps/unix/sysv/linux/kernel-features.h
27973         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27974         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27975         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27976         (__ASSUME_WAITID_SYSCALL): Likewise.
27977         * sysdeps/unix/sysv/linux/dl-execstack.c
27978         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27979         code unconditional.
27980         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27981         conditional code.
27982         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27983         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27984         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27985         code.
27986         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27987         unconditional.
27988         [__ASSUME_WAITID_SYSCALL]: Likewise.
27989         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27991 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27993         * sysdeps/unix/closedir.c: Renamed to ...
27994         * sysdeps/posix/closedir.c: ... here.
27995         * sysdeps/unix/dirfd.c: Renamed to ...
27996         * sysdeps/posix/dirfd.c: ... here.
27997         * sysdeps/unix/dirstream.h: Renamed to ...
27998         * sysdeps/posix/dirstream.h: ... here.
27999         * sysdeps/unix/fdopendir.c: Renamed to ...
28000         * sysdeps/posix/fdopendir.c: ... here.
28001         * sysdeps/unix/opendir.c: Renamed to ...
28002         * sysdeps/posix/opendir.c: ... here.
28003         * sysdeps/unix/readdir.c: Renamed to ...
28004         * sysdeps/posix/readdir.c: ... here.
28005         * sysdeps/unix/readdir_r.c: Renamed to ...
28006         * sysdeps/posix/readdir_r.c: ... here.
28007         * sysdeps/unix/rewinddir.c: Renamed to ...
28008         * sysdeps/posix/rewinddir.c: ... here.
28009         * sysdeps/unix/seekdir.c: Renamed to ...
28010         * sysdeps/posix/seekdir.c: ... here.
28011         * sysdeps/unix/telldir.c: Renamed to ...
28012         * sysdeps/posix/telldir.c: ... here.
28013         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28014         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28015         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28016         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28018         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28019         * bits/fcntl.h: ... here.
28021         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28022         not 0.
28023         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28024         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28025         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28026         (struct flock): Move l_start, l_len to the beginning.
28027         Use __pid_t for l_pid.
28028         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28029         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28030         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28031         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28032         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28033         [__USE_LARGEFILE64] (struct flock64): New type.
28034         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28036         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28037         * bits/dirent.h: ... here.
28039         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28040         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28042 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28045         Change from 2.6.0 to 2.6.16.
28046         * sysdeps/unix/sysv/linux/configure: Regenerated.
28047         * sysdeps/unix/sysv/linux/kernel-features.h
28048         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28049         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28050         version.
28051         (__ASSUME_UTIMES): Likewise.
28052         (__ASSUME_CLONE_STOPPED): Remove.
28053         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28054         architectures, not kernel version.
28055         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28056         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28057         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28058         (__ASSUME_WAITID_SYSCALL): Likewise.
28059         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28060         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28061         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28062         refer to older versions.
28064 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28066         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28067         Define alphasort64 as an alias.
28068         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28069         Define versionsort64 as an alias.
28070         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28071         Define scandir64 as an alias.
28072         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28073         Define scandirat64 as an alias.
28074         * dirent/alphasort64.c (alphasort64):
28075         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28076         * dirent/versionsort64.c: Likewise.
28077         * dirent/scandir64.c: Likewise.
28078         * dirent/scandirat64.c: Likewise.
28079         * sysdeps/wordsize-64/alphasort.c: File removed.
28080         * sysdeps/wordsize-64/alphasort64.c: File removed.
28081         * sysdeps/wordsize-64/scandir.c: File removed.
28082         * sysdeps/wordsize-64/scandir64.c: File removed.
28083         * sysdeps/wordsize-64/scandirat.c: File removed.
28084         * sysdeps/wordsize-64/scandirat64.c: File removed.
28085         * sysdeps/wordsize-64/versionsort.c: File removed.
28086         * sysdeps/wordsize-64/versionsort64.c: File removed.
28087         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28088         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28089         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28090         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28091         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28092         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28093         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28094         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28096         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28098         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28100         [defined __arch64__ || defined __sparcv9]
28101         (__INO_T_MATCHES_INO64_T): New macro.
28102         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28103         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28104         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28105         * sysdeps/unix/sysv/linux/bits/dirent.h
28106         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28107         (_DIRENT_MATCHES_DIRENT64): New macro.
28109         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28110         Define lockf64 as an alias.
28111         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28112         Define fseeko64 as an alias.
28113         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28114         Define ftello64 as an alias.
28115         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28116         Define _IO_fgetpos64 and fgetpos64 as aliases.
28117         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28118         Define _IO_fsetpos64 and fsetpos64 as aliases.
28119         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28120         Conditionalize body on this.
28121         * libio/fseeko64.c: Likewise.
28122         * libio/ftello64.c: Likewise.
28123         * libio/iofgetpos64.c: Likewise.
28124         * libio/iofsetpos64.c: Likewise.
28125         * sysdeps/wordsize-64/lockf.c: File removed.
28126         * sysdeps/wordsize-64/lockf64.c: File removed.
28127         * sysdeps/wordsize-64/fseeko.c: File removed.
28128         * sysdeps/wordsize-64/fseeko64.c: File removed.
28129         * sysdeps/wordsize-64/ftello.c: File removed.
28130         * sysdeps/wordsize-64/ftello64.c: File removed.
28131         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28132         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28133         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28134         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28135         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28136         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28137         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28138         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28139         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28140         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28141         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28142         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28143         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28144         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28146         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28148         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28150         [defined __arch64__ || defined __sparcv9]
28151         (__OFF_T_MATCHES_OFF64_T): New macro.
28152         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28153         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28155         (__OFF_T_MATCHES_OFF64_T): New macro.
28157 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28159         * stdlib/secure-getenv.c (__secure_getenv): Replace
28160         GLIBC_2_16 with GLIBC_2_17.
28162 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28164         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28165         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28167 2012-08-03  David S. Miller  <davem@davemloft.net>
28169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28171 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28174         Remove.
28175         (__ASSUME_CORRECT_SI_PID): Likewise.
28176         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28177         (__ASSUME_TMPFS_NAME): Likewise.
28178         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28179         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28180         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28181         (HAVE_AUX_SECURE): Make definition unconditional.
28182         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28183         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28185 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28187         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28188         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28189         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28190         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28191         __eloop_threshold instead of SYMLOOP_MAX.
28193         * sysdeps/generic/eloop-threshold.h: New file.
28194         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28195         of MAXSYMLINKS.
28196         * elf/chroot_canon.c (chroot_canon): Likewise.
28198 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28200         [BZ #13717]
28201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28202         Change to 2.6.0 everywhere.
28203         * sysdeps/unix/sysv/linux/configure: Regenerated.
28204         * sysdeps/unix/sysv/linux/kernel-features.h
28205         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28206         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28207         kernel versions.
28208         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28209         (__ASSUME_FUTEX_REQUEUE): Remove.
28210         (__ASSUME_STATFS64): Define unconditionally.
28211         (__ASSUME_AT_SECURE): Likewise.
28212         (__ASSUME_CORRECT_SI_PID): Likewise.
28213         (__ASSUME_TGKILL): Define without depending on kernel version for
28214         i386.
28215         (__ASSUME_UTIMES): Likewise.
28216         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28217         kernel version.
28218         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28219         (__ASSUME_TMPFS_NAME): Likewise.
28220         * README: Update reference to Linux kernel versions.
28222 2012-08-02  Marek Polacek  <polacek@redhat.com>
28224         [BZ# 14150]
28225         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28226         libc_cv_asm_type_prefix with %.
28227         * configure: Regenerated.
28228         * include/libc-symbols.h: Remove comment about
28229         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28230         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28231         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28232         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28233         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28234         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28235         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28236         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28237         * elf/tst-unique2mod1.c: Likewise.
28238         * elf/tst-unique1mod2.c: Likewise.
28239         * elf/tst-unique1mod1.c: Likewise.
28240         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28241         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28242         Replace ASM_TYPE_DIRECTIVE with .type.
28243         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28244         * sysdeps/i386/sysdep.h: Likewise.
28245         * sysdeps/x86_64/sysdep.h: Likewise.
28246         * sysdeps/sh/sysdep.h: Likewise.
28247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28248         Do not define ASM_TYPE_DIRECTIVE.
28249         * sysdeps/powerpc/sysdep.h: Likewise.
28250         * sysdeps/powerpc/powerpc32/sysdep.h:
28251         Replace ASM_TYPE_DIRECTIVE with .type.
28252         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28253         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28254         * sysdeps/i386/fpu/e_powf.S: Likewise.
28255         * sysdeps/i386/fpu/e_expl.S: Likewise.
28256         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28257         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28258         * sysdeps/i386/fpu/e_pow.S: Likewise.
28259         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28260         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28261         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28262         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28263         * sysdeps/i386/fpu/e_log2.S: Likewise.
28264         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28265         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28266         * sysdeps/i386/fpu/e_powl.S: Likewise.
28267         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28268         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28269         * sysdeps/i386/fpu/e_logl.S: Likewise.
28270         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28271         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28272         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28273         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28274         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28275         * sysdeps/i386/fpu/e_log.S: Likewise.
28276         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28277         * sysdeps/i386/fpu/e_logf.S: Likewise.
28278         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28279         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28280         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28281         * sysdeps/i386/fpu/e_log10.S: Likewise.
28282         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28283         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28284         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28285         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28286         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28287         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28288         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28289         * sysdeps/i386/i686/strtok.S: Likewise.
28290         * sysdeps/i386/i386-mcount.S: Likewise.
28291         * sysdeps/i386/strtok.S: Likewise.
28292         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28293         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28295         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28296         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28297         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28298         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28299         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28300         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28301         * sysdeps/x86_64/_mcount.S: Likewise.
28302         * sysdeps/x86_64/strtok.S: Likewise.
28303         * sysdeps/sh/_mcount.S: Likewise.
28305 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28307         * libio/iofopen.c: Include <fcntl.h>.
28308         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28309         (_IO_fopen64, fopen64): Define as aliases.
28310         * libio/iofopen64.c: Include <fcntl.h>.
28311         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28312         Conditionalize body on this.
28313         * sysdeps/wordsize-64/iofopen.c: File removed.
28314         * sysdeps/wordsize-64/iofopen64.c: File removed.
28316 2012-08-01  Marek Polacek  <polacek@redhat.com>
28318         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28319         Use dlfcn directly instead of a variable.
28320         (binfmt-subdir): Do not define.
28321         (dlfcn): Likewise.
28323 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28326         Remove all definitions.
28327         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28328         <kernel-features.h>.
28329         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28330         (miss_F_GETOWN_EX): Remove all definitions.
28331         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28332         macro definition.
28333         [!__ASSUME_FCNTL64]: Remove conditional code.
28334         [__ASSUME_FCNTL64]: Make code unconditional.
28335         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28336         <kernel-features.h>.
28337         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28338         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28339         (lockf64) [__NR_fcntl64]: Make code unconditional.
28340         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28342         * sysdeps/unix/sysv/linux/kernel-features.h
28343         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28344         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28345         Make code unconditional.
28346         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28347         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28349         [__NR_vfork]: Make code unconditional.
28350         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28351         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28353         [__NR_vfork]: Make code unconditional.
28354         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28355         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28357 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28359         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28360         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28362         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28363         Define mkstemp64 as an alias.
28364         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28365         Define mkstemps64 as an alias.
28366         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28367         Define mkostemp64 as an alias.
28368         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28369         Define mkostemps64 as an alias.
28370         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28371         Conditionalize body on this.
28372         * misc/mkostemp64.c: Likewise.
28373         * misc/mkostemps64.c: Likewise.
28374         * misc/mkstemps64.c: Likewise.
28375         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28376         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28377         * sysdeps/wordsize-64/mkostemp.c: File removed.
28378         * sysdeps/wordsize-64/mkstemp.c: File removed.
28379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28380         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28381         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28382         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28384         [BZ #14138]
28385         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28386         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28387         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28388         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28390         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28391         compat_symbol macros from <shlib-compat.h> rather than the underlying
28392         default_symbol_version and symbol_version macros, so that DEFAULT
28393         lines in shlib-versions are respected.
28394         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28396 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28398         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28399         Declare with warn_unused_result.
28400         (setgid, setregid, setegid, setresgid): Likewise.
28401         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28402         Likewise.
28403         * WUR-REPORT: Remove set*id functions.
28405 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28407         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28409 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28411         [BZ #10191]
28412         * include/sys/socket.h (__libc_accept, __libc_accept4):
28413         Add attribute_hidden.
28414         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28416         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28417         use of PTR_MANGLE.
28418         * inet/getnetgrent_r.c (setup): Likewise.
28420         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28422 2012-07-31  David S. Miller  <davem@davemloft.net>
28424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28426 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28428         [BZ #13629]
28429         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28430         value between 1.0 and 2.0 and smaller part has absolute value less
28431         than 1.0.
28432         * math/s_clog10.c (__clog10): Likewise.
28433         * math/s_clog10f.c (__clog10f): Likewise.
28434         * math/s_clog10l.c (__clog10l): Likewise.
28435         * math/s_clogf.c (__clogf): Likewise.
28436         * math/s_clogl.c (__clogl): Likewise.
28437         * math/libm-test.inc (clog_test): Add more tests.
28438         (clog10_test): Likewise.
28439         * sysdeps/i386/fpu/libm-test-ulps: Update.
28440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28444         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28445         Exit with zero in case no suitable GID is found, and write a
28446         message to standard error.
28448 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28450         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28451         rather than to 1.
28452         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28453         (MAXPATHLEN): Removed.
28454         (NOGROUP, NODEV): New macros.
28455         (setbit, clrbit, isset, isclr): New macros.
28456         (howmany, roundup, powerof2): New macros.
28457         (DEV_BSIZE): New macro.
28459         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28460         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28462         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28463         definition on [!__NO_LONG_DOUBLE_MATH].
28465         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28466         PTR_MANGLE and PTR_DEMANGLE.
28468         * socket/accept4.c (accept4): Rename to __libc_accept4.
28469         Define accept4 as a weak alias.
28471         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28472         on [_DIRENT_HAVE_D_TYPE].
28473         * io/ftw.c (ftw_dir): Likewise.
28475         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28477         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28479         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28480         Use the BSD numbers rather than the arbitrary ones we had.
28481         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28482         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28483         (SIGXCPU, SIGXFSZ): New macros.
28484         (_NSIG): Now 32.
28486         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28487         initializer on [_LIBC_REENTRANT].
28489         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28490         definitions inside [_POSIX_MAPPED_FILES].
28492         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28494         * dirent/opendir.c: Include <fcntl.h>.
28496         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28497         (__libc_getspecific): Likewise.
28498         (__libc_key_create): Likewise.
28500         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28501         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28502         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28503         (tmpfile64): Define as alias.
28504         * sysdeps/wordsize-64/tmpfile.c: File removed.
28505         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28506         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28507         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28509         * stdio-common/vfscanf.c: Include <stdbool.h>.
28510         * nss/makedb.c: Likewise.
28511         * stdio-common/_i18n_number.h: Likewise.
28512         * argp/argp-help.c: Likewise.
28513         * posix/wordexp.c: Likewise.
28514         * sysdeps/posix/spawni.c: Likewise.
28515         * nss/nss_files/files-initgroups.c: Likewise.
28516         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28517         * nss/nss_files/files-initgroups.c: Likewise.
28518         * nss/nss_db/db-netgrp.c: Likewise.
28519         * nss/nss_db/db-initgroups.c: Likewise.
28520         * io/fchmodat.c: Include <sys/stat.h>.
28522         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28523         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28525         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28526         [HAVE_MMAP].
28528         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28529         Add multiple inclusion protection.
28531 2012-07-27  David S. Miller  <davem@davemloft.net>
28533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28535 2012-07-27  Gary Benson  <gbenson@redhat.com>
28537         [BZ #14298]
28538         * elf/rtld.c: Include <stap-probe.h>.
28539         (dl_main): Added static probes "init_start" and "init_complete".
28540         * elf/dl-load.c: Include <stap-probe.h>.
28541         (lose): Take new parameter "nsid".
28542         Added static probe "map_failed".
28543         (_dl_map_object_from_fd): Pass namespace id to lose.
28544         Added static probe "map_start".
28545         (open_verify): Pass namespace id to lose.
28546         * elf/dl-open.c: Include <stap-probe.h>.
28547         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28548         and "reloc_complete".
28549         * elf/dl-close.c: Include <stap-probe.h>.
28550         (_dl_close_worker): Added static probes "unmap_start" and
28551         "unmap_complete".
28552         * elf/rtld-debugger-interface.txt: New file documenting the above.
28554 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28556         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28557         rather than a string variable.
28558         * sunrpc/rpc_main.c (h_output): Likewise.
28559         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28561 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28563         * inet/check_native.c: New file.
28565 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28567         [BZ #13629]
28568         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28569         if larger part has absolute value 1.0.
28570         * math/s_clog10.c (__clog10): Likewise.
28571         * math/s_clog10f.c (__clog10f): Likewise.
28572         * math/s_clog10l.c (__clog10l): Likewise.
28573         * math/s_clogf.c (__clogf): Likewise.
28574         * math/s_clogl.c (__clogl): Likewise.
28575         * math/libm-test.inc (clog_test): Add more tests.
28576         (clog10_test): Likewise.
28577         * sysdeps/i386/fpu/libm-test-ulps: Update.
28578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28580         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28581         (pltexit): Likewise.
28582         (La_regs): Likewise.
28583         (La_retval): Likewise.
28584         (int_retval): Likewise.
28585         Update #error for removed macros to refer only to definitions in
28586         tst-audit.h.
28587         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28588         macro.
28589         (pltexit): Likewise.
28590         (La_regs): Likewise.
28591         (La_retval): Likewise.
28592         (int_retval): Likewise.
28593         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28594         macro.
28595         (pltexit): Likewise.
28596         (La_regs): Likewise.
28597         (La_retval): Likewise.
28598         (int_retval): Likewise.
28599         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28600         macro.
28601         (pltexit): Likewise.
28602         (La_regs): Likewise.
28603         (La_retval): Likewise.
28604         (int_retval): Likewise.
28605         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28606         macro.
28607         (pltexit): Likewise.
28608         (La_regs): Likewise.
28609         (La_retval): Likewise.
28610         (int_retval): Likewise.
28611         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28612         macro.
28613         (pltexit): Likewise.
28614         (La_regs): Likewise.
28615         (La_retval): Likewise.
28616         (int_retval): Likewise.
28617         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28618         macro.
28619         (pltexit): Likewise.
28620         (La_regs): Likewise.
28621         (La_retval): Likewise.
28622         (int_retval): Likewise.
28623         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28624         macro definitions in tst-audit.h.
28625         * sysdeps/i386/tst-audit.h: New file.
28626         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28627         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28628         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28629         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28630         * sysdeps/sh/tst-audit.h: Likewise.
28631         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28632         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28633         * sysdeps/x86_64/tst-audit.h: Likewise.
28635 2012-07-26  Andreas Jaeger  <aj@suse.de>
28637         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28638         ptrace.
28640         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28641         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28642         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28643         PTRACE_O_MASK.
28644         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28645         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28646         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28648         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28649         value.
28651         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28652         _sigsys.
28653         (si_call_addr, si_syscall, si_arch): Define new macro.
28654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28655         _sigsys.
28656         (si_call_addr, si_syscall, si_arch): Define new marcro.
28657         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28658         _sigsys.
28659         (si_call_addr, si_syscall, si_arch): Define new macro.
28660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28661         _sigsys.
28662         (si_call_addr, si_syscall, si_arch): Define new macro.
28664 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28666         [BZ #13717]
28667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28668         Change to 2.4.21 where previously 2.4.1.
28669         * sysdeps/unix/sysv/linux/configure: Regenerated.
28670         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28671         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28672         Linux kernel version.
28673         (__ASSUME_STD_AUXV): Remove.
28674         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28675         kernel version.
28676         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28677         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28678         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28679         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28680         (__ASSUME_NETLINK_SUPPORT): Likewise.
28681         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28682         (__no_netlink_support): Remove conditional definition.
28683         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28684         Remove.
28685         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28686         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28687         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28688         (if_nameindex_ioctl): Remove.
28689         (if_nameindex_netlink): Do not handle __no_netlink_support.
28690         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28691         code.
28692         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28693         Remove conditional code.
28694         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28695         code.
28696         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28697         unconditional.
28698         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28699         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28700         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28701         Remove.
28702         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28703         [!__ASSUME_STD_AUXV]: Remove conditional code.
28704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28705         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28706         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28708         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28709         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28710         code.
28711         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28713         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28714         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28715         conditional code.
28716         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28718         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28719         code.
28720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28721         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28722         conditional code.
28723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28724         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28725         code unconditional.
28726         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28727         conditional code.
28728         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28729         unconditional.
28730         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28731         conditional code.
28732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28733         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28734         unconditional.
28735         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28736         conditional code.
28737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28738         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28739         code unconditional.
28740         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28741         conditional code.
28742         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28743         unconditional.
28744         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28745         conditional code.
28746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28747         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28748         code unconditional.
28749         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28750         conditional code.
28751         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28752         unconditional.
28753         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28754         conditional code.
28756 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28758         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28760         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28761         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28762         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28763         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28764         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28765         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28766         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28767         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28768         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28769         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28770         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28771         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28772         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28773         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28774         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28776         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28778         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28779         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28782 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28784         * Versions.def: Add GLIBC_2.17.
28785         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28786         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28787         Introduce __libc_secure_getenv.
28788         * stdlib/Versions (2.17): Add secure_getenv
28789         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28790         * stdlib/secure-getenv.c: Rename __secure_getenv to
28791         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28792         symbol __secure_getenv for GLIBC_2.0.
28793         * stdlib/tst-secure-getenv.c: New.
28794         * stdlib/Makefile (tests): Add testcase.
28795         * manual/startup.texi (Environment Access): Document
28796         secure_getenv.
28797         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28798         __libc_secure_getenv.
28799         * inet/ruserpass.c (ruserpass): Likewise.
28800         * malloc/mtrace.c (mtrace): Likewise.
28801         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28802         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28803         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28804         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28805         HAVE_SECURE_GETENV.
28806         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28807         __secure_getenv to __libc_secure_getenv.
28808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28810         Likewise.
28811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28812         Likewise.
28813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28821 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28823         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28824         (struct La_i86_retval): Likewise.
28825         (struct La_x86_64_regs): Likewise.
28826         (struct La_x86_64_retval): Likewise.
28827         (struct La_x32_regs): Likewise.
28828         (struct La_x32_retval): Likewise.
28829         (struct La_ppc32_regs): Likewise.
28830         (struct La_ppc32_retval): Likewise.
28831         (struct La_ppc64_regs): Likewise.
28832         (struct La_ppc64_retval): Likewise.
28833         (struct La_sh_regs): Likewise.
28834         (struct La_sh_retval): Likewise.
28835         (struct La_s390_32_regs): Likewise.
28836         (struct La_s390_32_retval): Likewise.
28837         (struct La_s390_64_regs): Likewise.
28838         (struct La_s390_64_retval): Likewise.
28839         (struct La_sparc32_regs): Likewise.
28840         (struct La_sparc32_retval): Likewise.
28841         (struct La_sparc64_regs): Likewise.
28842         (struct La_sparc64_retval): Likewise.
28843         (struct audit_ifaces): Remove architecture-specific pltenter and
28844         pltexit members.
28845         * sysdeps/i386/ldsodefs.h: New file.
28846         * sysdeps/powerpc/ldsodefs.h: Likewise.
28847         * sysdeps/s390/ldsodefs.h: Likewise.
28848         * sysdeps/sh/ldsodefs.h: Likewise.
28849         * sysdeps/sparc/ldsodefs.h: Likewise.
28850         * sysdeps/x86_64/ldsodefs.h: Likewise.
28852 2012-07-25  Marek Polacek  <polacek@redhat.com>
28854         [BZ #6808]
28855         * math/libm-test.inc (yn_test): Add another test.
28856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28857         to ERANGE when the result is +-Inf.
28858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28859         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28860         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28861         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28863 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28865         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28866         equal to 0.
28867         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28868         clock_t.
28869         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28871 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28873         * configure.in <sysdeps resolving>: Correct printing
28874         Implies_before.
28875         * configure: Regenerate.
28877 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28879         * math/w_ilogb.c: Include <limits.h>.
28880         * math/w_ilogbl.c: Likewise.
28882 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28884         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28885         va_copy.  Document allowing for unavailable va_copy only as
28886         pre-C99 compatibility.
28887         * manual/string.texi (Copying and Concatenation): Use va_copy
28888         instead of __va_copy in concat example.
28890 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28892         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28893         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28894         it if not null.
28896         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28897         with O_NOLINK passed to __file_name_lookup.
28899         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28900         with O_NOLINK passed to __file_name_lookup.
28902         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28903         negative N or less than NGIDS.
28905         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28906         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28907         enough.  Use memcpy instead of strncpy.
28909 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28911         * elf/Makefile (check-data): Remove.
28912         (localplt.data): New vpath directive.
28913         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28914         instead of $(check-data).
28915         * scripts/data/localplt-generic.data: Move to ...
28916         * sysdeps/generic/localplt.data: ... here.
28917         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28918         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28919         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28921         ... here.
28922         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28924         ... here.
28925         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28927         ... here.
28928         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28930         ... here.
28931         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28933         ... here.
28934         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28936         ... here.
28938 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28940         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28941         PPC32 and PPC64 files.
28942         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28943         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28945 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28947         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28948         __makecontext_ret to ...
28949         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28950         ... here and call exit if uc_link is NULL.  New file.
28951         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28952         __makecontext_ret.S.
28953         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28954         __makecontext_ret to ...
28955         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28956         ... here and call exit if uc_link is NULL.  New file.
28957         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28958         __makecontext_ret.S.
28960 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28962         * elf/elf.h (R_390_IRELATIVE): New definition.
28963         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28964         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28965         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28967         (elf_machine_lazy_rel): Likewise.
28968         * sysdeps/s390/dl-irel.h: New file.
28969         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28970         * sysdeps/s390/s390-64/memset.S: New asm code.
28971         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28972         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28973         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28974         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28975         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28976         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28978         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28979         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28980         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28981         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28982         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28983         * sysdeps/s390/s390-32/memset.S: New asm code.
28984         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28986 2012-07-17  Marek Polacek  <polacek@redhat.com>
28988         [BZ #14349]
28989         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28990         * sysdeps/s390/s390-64/configure.in: Likewise.
28991         * sysdeps/sparc/configure.in: Likewise.
28992         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28993         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28994         * sysdeps/i386/configure.in: Likewise.
28995         * sysdeps/x86_64/configure.in: Likewise.
28996         * sysdeps/sh/configure.in: Likewise.
28997         * sysdeps/s390/s390-32/configure: Regenerated.
28998         * sysdeps/s390/s390-64/configure: Likewise.
28999         * sysdeps/x86_64/configure: Likewise.
29000         * sysdeps/sh/configure: Likewise.
29001         * sysdeps/powerpc/powerpc64/configure: Likewise.
29002         * sysdeps/powerpc/powerpc32/configure: Likewise.
29003         * sysdeps/sparc/configure: Likwise.
29004         * sysdeps/i386/configure: Likewise.
29006         * elf/dl-open.c: Comment fixes.
29008 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29010         * Makefile [CXX] (check-data): Remove.
29011         [CXX] (c++-types.data): New vpath directive.
29012         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29013         vpath.  Do not allow for C++ type data being missing.
29014         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29015         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29016         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29017         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29018         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29019         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29020         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29022         ... here.
29023         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29025         ... here.
29026         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29028         ... here.
29029         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29031         ... here.
29032         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29034         ... here.
29035         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29037         ... here.
29038         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29040         ... here.
29041         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29044         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29045         definitions to architecture-specific files.
29046         (TLS_IE): Likewise.
29047         (TLS_LD): Likewise.
29048         (TLS_GD): Likewise.
29049         * sysdeps/i386/tls-macros.h: New file.
29050         * sysdeps/powerpc/tls-macros.h: Likewise.
29051         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29052         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29053         * sysdeps/sh/tls-macros.h: Likewise.
29054         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29055         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29056         * sysdeps/x86_64/tls-macros.h: Likewise.
29058 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29060         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29061         zero value for regular exit case.
29063         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29064         (__start_context): Preserve zero value for regular exit case.
29066 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29067             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29069         * manual/setjmp.texi (setcontext): Clarify normal process
29070         termination when uc_link is the null pointer.
29071         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29072         exit call.
29074 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29076         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29077         preprocessor.  Test for each exception mask separately.
29079 2012-07-16  Andreas Jaeger  <aj@suse.de>
29081         * po/ru.po: Update from translation team.
29083 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29085         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29086         equal to 0.
29087         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29088         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29089         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29090         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29093 2012-07-13  Andreas Jaeger  <aj@suse.de>
29095         * po/fr.po: Update from translation team.
29097 2012-07-12  Marek Polacek  <polacek@redhat.com>
29099         [BZ #14173]
29100         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29101         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29102         loop condition.
29104 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #13717]
29107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29108         Change to 2.4.1 where previously 2.4.0.
29109         * sysdeps/unix/sysv/linux/configure: Regenerated.
29110         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29111         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29112         version.
29113         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29114         (__ASSUME_AT_CLKTCK): Remove.
29115         (__ASSUME_AT_PAGESIZE): Likewise.
29116         (__ASSUME_AT_XID): Likewise.
29117         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29118         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29119         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29120         unconditionally.
29121         (HAVE_AUX_PAGESIZE): Likewise.
29122         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29123         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29124         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29126 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29128         [BZ #14307]
29129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29130         the temporary buffer used to invoke __gethostbyname2_r,
29131         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29132         host_data / struct gaih_addrtuple.
29133         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29134         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29135         header file nss/nsswitch.h.
29136         * nss/nsswitch.h (global scope): Add definition of implementation
29137         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29138         resolv/nss_dns/dns-host.c).
29140 2012-07-11  Andreas Jaeger  <aj@suse.de>
29142         * po/fr.po: Update from translation team.
29144         * po/sv.po: Update from translation team
29145         * po/fr.po: Another update from translation team.
29147 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29149         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29150         for subnormals or multiply small sinh result by itself.
29151         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29154 2012-07-11  David S. Miller  <davem@davemloft.net>
29156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29158 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29160         [BZ #14347]
29161         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29162         (INTERNAL_MARK): Shift it here.
29164 2012-07-10  Marek Polacek  <polacek@redhat.com>
29166         [BZ #14151]
29167         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29168         libc_cv_asm_global_directive with .globl.
29169         * configure: Regenerated.
29170         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29171         with .globl.
29172         * sysdeps/i386/configure: Regenerated.
29173         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29174         with .globl.
29175         * sysdeps/x86_64/configure: Regenerated.
29176         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29177         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29178         * elf/tst-unique2mod2.c: Likewise.
29179         * elf/tst-unique2mod1.c: Likewise.
29180         * elf/tst-unique1mod2.c: Likewise.
29181         * elf/tst-unique1mod1.c: Likewise.
29182         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29183         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29186         * sysdeps/mach/sysdep.h: Likewise.
29187         * sysdeps/i386/sysdep.h: Likewise.
29188         * sysdeps/i386/i386-mcount.S: Likewise.
29189         * sysdeps/x86_64/_mcount.S: Likewise.
29190         * sysdeps/x86_64/sysdep.h: Likewise.
29191         * sysdeps/sh/_mcount.S: Likewise.
29192         * sysdeps/sh/sysdep.h: Likewise.
29193         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29194         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29195         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29196         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29197         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29198         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29199         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29200         * locale/localeinfo.h: Likewise.
29201         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29202         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29204 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29206         [BZ #14336]
29207         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29208         system".
29209         * manual/message.texi (The Uniforum approach): Likewise.
29210         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29211         (glibc iconv Implementation): Likewise.
29213 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29215         [BZ #14337]
29216         * math/s_clog.c (__clog): Avoid scaling a value down where that
29217         could result in underflow.
29218         * math/s_clog10.c (__clog10): Likewise.
29219         * math/s_clog10f.c (__clog10f): Likewise.
29220         * math/s_clog10l.c (__clog10l): Likewise.
29221         * math/s_clogf.c (__clogf): Likewise.
29222         * math/s_clogl.c (__clogl): Likewise.
29223         * math/libm-test.inc (clog_test): Add more tests.
29224         (clog10_test): Likewise.
29225         * sysdeps/i386/fpu/libm-test-ulps: Update.
29226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29228 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29230         [BZ #14283]
29231         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29232         by 7 not 8 to examine high bit of fractional part.
29234         [BZ #14042]
29235         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29236         for call to __mcount_internal.
29237         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29238         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29239         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29241 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29243         [BZ #14154]
29244         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29245         approximation for values within 0x1p-13f of an odd multiple of
29246         pi/4.
29247         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29248         exception.  Add more tests.
29249         * sysdeps/i386/fpu/libm-test-ulps: Update.
29251         [BZ #6778]
29252         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29253         inputs and return -1 for them.  Do not check for +Inf in case not
29254         reachable for +Inf.
29255         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29256         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29257         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29258         and return -1 for them.  Do not check for +Inf in case not
29259         reachable for +Inf.
29260         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29261         define.
29262         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29263         and return -1 for them.  Do not check for +Inf in case not
29264         reachable for +Inf.
29265         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29266         spurious underflow.
29267         * sysdeps/i386/fpu/libm-test-ulps: Update.
29268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29270 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29272         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29274 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29276         [BZ #14157]
29277         [BZ #14331]
29278         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29279         could result in spurious underflow.  Scale down values above
29280         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29281         * math/s_csqrtf.c (__csqrtf): Likewise.
29282         * math/s_csqrtl.c (__csqrtl): Likewise.
29283         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29284         spurious underflow.
29285         * sysdeps/i386/fpu/libm-test-ulps: Update.
29286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29288 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29290         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29291         xopen-msg.sed.
29292         * catgets/xopen-msg.awk: New file.
29293         * catgets/xopen-msg.sed: Removed.
29295         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29296         po2text.sed.
29297         * intl/po2test.awk: New file.
29298         * intl/po2test.sed: Removed.
29300 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29302         [BZ #14328]
29303         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29304         or multiply small sinh result by itself.
29305         * math/s_ctanf.c (__ctanf): Likewise.
29306         * math/s_ctanh.c (__ctanh): Likewise.
29307         * math/s_ctanhf.c (__ctanhf): Likewise.
29308         * math/s_ctanhl.c (__ctanhl): Likewise.
29309         * math/s_ctanl.c (__ctanl): Likewise.
29310         * math/libm-test.inc (ctan_test_tonearest): New function.
29311         (ctan_test_towardzero): Likewise.
29312         (ctan_test_downward): Likewise.
29313         (ctan_test_upward): Likewise.
29314         (ctanh_test_tonearest): Likewise.
29315         (ctanh_test_towardzero): Likewise.
29316         (ctanh_test_downward): Likewise.
29317         (ctanh_test_upward): Likewise.
29318         (main): Call these new functions.
29319         * sysdeps/i386/fpu/libm-test-ulps: Update.
29320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29322 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29324         * .gitignore: Delete /ports entry.
29326 2012-07-03  Andreas Jaeger  <aj@suse.de>
29328         * po/bg.po: Update from translation team.
29329         * po/cs.po: Likewise.
29330         * po/de.po: Likewise.
29331         * po/hr.po: Likewise.
29332         * po/nl.pl: Likewise.
29333         * po/pl.po: Likewise.
29334         * po/vi.po: Likewise.
29336 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29338         * Makeconfig [!+link] (+link-before-libc): New variable.
29339         [!+link] (+link-after-libc): Likewise.
29340         [!+link] (+link-tests): Likewise.
29341         [!+link] (+link): Define in terms of $(+link-before-libc) and
29342         $(+link-after-libc).
29343         [!+link-static] (+link-static-before-libc): New variable.
29344         [!+link-static] (+link-static-after-libc): Likewise.
29345         [!+link-static] (+link-static-tests): Likewise.
29346         [!+link-static] (+link-static): Define in terms of
29347         $(+link-static-before-libc) and $(+link-static-after-libc).
29348         [build-shared] (link-libc-before-gnulib): New variable.
29349         [build-shared] (link-libc-tests): Likewise.
29350         [build-shared] (link-libc): Define in terms of
29351         $(link-libc-before-gnulib).
29352         [!build-shared] (link-libc-tests): New variable.
29353         (link-libc-static-tests): New variable.
29354         [!gnulib] (gnulib-arch): New variable.
29355         [!gnulib] (gnulib-tests): Likewise.
29356         [!gnulib] (static-gnulib-arch): Likewise.
29357         [!gnulib] (static-gnulib-tests): Likewise.
29358         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29359         Define with "=" instead of ":=".
29360         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29361         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29362         * Rules (binaries-all-notests): New variable.
29363         (binaries-all-tests): Likewise.
29364         (binaries-static-notests): Likewise.
29365         (binaries-static-tests): Likewise.
29366         (binaries-all): Define using $(binaries-all-notests) and
29367         $(binaries-all-tests).
29368         (binaries-static): Define using $(binaries-static-notests) and
29369         $(binaries-static-tests).
29370         (binaries-shared-tests): New variable.
29371         (binaries-shared-notests): Likewise.
29372         (binaries-shared): Remove variable.
29373         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29374         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29375         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29376         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29377         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29378         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29379         * elf/Makefile (sln-modules): New variable.
29380         (extra-objs): Add $(sln-modules:=.o).
29381         (ldconfig-modules): Add static-stubs.
29382         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29383         * elf/static-stubs.c: New file.
29385         [BZ #14283]
29386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29387         by 7 not 8 to examine high bit of fractional part.  Use volatile
29388         variables when splitting into final array of floats if
29389         __FLT_EVAL_METHOD__ != 0.
29390         * math/libm-test.inc (cos_test): Add another test.
29391         (sin_test): Likewise.
29392         * sysdeps/i386/fpu/libm-test-ulps: Update.
29394         [BZ #14273]
29395         * math/libm-test.inc (cosh_test): Add more tests.
29397         * version.h (RELEASE): Set to "development".
29398         (VERSION): Set to "2.16.90".
29400 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29402         * NEWS: Update copyright. Remove last-updated date.
29403         Mention math library bug fixes and timezone data changes.
29404         * README: Mention GNU/Hurd, x32, and HPPA support status.
29406 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29408         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29410 2012-06-27  Andreas Jaeger  <aj@suse.de>
29412         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29414 2012-06-25  Andreas Jaeger  <aj@suse.de>
29416         * sysdeps/s390/fpu/libm-test-ulps: Update.
29418 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29419             Thomas Schwinge  <thomas@codesourcery.com>
29421         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29422         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29424         fanotify_mark.
29426 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29428         * sysdeps/mach/start.c: Remove file.
29429         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29430         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29431         * sysdeps/sh/init-first.c: Likewise.
29433         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29434         registers for frame unwinding purposes, add CFI directives.
29435         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29436         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29437         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29438         Likewise.
29440         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29441         __fortify_fail returning.
29442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29444         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29445         sysdeps/sh/____longjmp_chk.S.
29446         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29447         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29448         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29449         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29451         * sysdeps/sh/abort-instr.h: New file.
29452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29453         process in case exit returns.
29455         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29456         initialize the GOT register before use.
29458         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29459         calculation of ARGC > 4.
29461         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29462         meaningful names to some local labels.
29464 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29465             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29467         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29468         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29469         (__arch_compare_and_exchange_val_16_acq): Likewise.
29470         (__arch_compare_and_exchange_val_32_acq): Likewise.
29471         (atomic_exchange_and_add): Fix gUSA sequence.
29472         (atomic_add): Likewise.
29473         (atomic_add_negative): Likewise.
29474         (atomic_add_zero): Likewise.
29475         (atomic_bit_test_set): Likewise.
29477 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29479         [BZ #13579]
29480         * include/link.h (struct link_map): Add l_free_initfini.
29481         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29482         l_initfini.
29483         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29484         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29485         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29486         set.
29488 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29490         * configure.in: Use AC_LANG_SOURCE.
29491         * configure: Regenerate.
29493 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29495         * configure.in (libc_cv_localstatedir): New substituted variable.
29496         * configure: Regenerated.
29497         * config.make.in (localstatedir): New variable, substituted from
29498         libc_cv_localstatedir.
29499         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29500         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29501         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29502         * sysdeps/gnu/configure: Regenerated.
29504 2012-06-21  Jeff Law  <law@redhat.com>
29506         [BZ #14277]
29507         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29508         free.  Simplify list management for _LIBC case.
29510 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29512         [BZ #14273]
29513         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29514         Clear sign bit of 64-bit integer value before comparing against
29515         overflow value.
29517         * sysdeps/mach/configure: Regenerated.
29519 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29521         [BZ #14278]
29522         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29524 2012-06-21  Jeff Law  <law@redhat.com>
29526         [BZ #13882]
29527         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29528         uint16_t for elements in the "seen" array to avoid char overflows.
29529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29530         * elf/dl-open.c (dl_open_worker): Likewise.
29532 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29534         * scripts/list-sources.sh: Scan PORTS for translations.
29535         * po/libc.pot: Regenerated.
29537 2012-06-21  Andreas Jaeger  <aj@suse.de>
29539         [BZ #12194]
29540         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29541         warning.
29542         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29543         * bits/byteswap-16.h (__bswap_16): Likewise.
29544         * bits/byteswap.h (__bswap_constant_16): Likewise.
29546 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29548         [BZ #14117]
29549         * sysdeps/i386/fpu_control.h: Removed.
29550         * sysdeps/x86_64/fpu_control.h: Moved to ...
29551         * sysdeps/x86/fpu_control.h: Here.
29553         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29554         (_FPU_SETCW): Likewise.
29556 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29558         [BZ #14117]
29559         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29560         * sysdeps/x86/fpu/bits/mathinline.h: This.
29561         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29563         [BZ #14050]
29564         [BZ #14117]
29565         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29566         functions if __x86_64__ is defined.
29568 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29570         * string/endian.h: Add !__ASSEMBLER__ condition for including
29571         conversion interfaces.
29573 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29575         [BZ #14241]
29576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29577         of ABS(x) in calculating zero to negative powers other than odd
29578         integers.
29579         * math/libm-test.inc (pow_test): Add more tests.
29581 2012-06-15  Andreas Jaeger  <aj@suse.de>
29583         * manual/contrib.texi (Contributors): Update entry of Liubov
29584         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29585         Machado Filho.
29587 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29589         * string/string.h: Add __wur to GNU version of strerror_r.
29591 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29593         [BZ #14229]
29594         * string/Makefile (tests): Add tst-strtok_r.
29595         * string/tst-strtok_r.c: New file.
29596         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29597         RAX_LP/RDX_LP on SAVE_PTR.
29599 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29601         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29603 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29605         * libm_test.inc (csqrt_test): Allow more spurious underflow
29606         exceptions.
29607         (j0_test): Likewise.
29608         (j1_test): Likewise.
29609         (y0_test): Likewise.
29610         (y1_test): Likewise.
29612 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29614         * po/Makefile (libc.pot): Use UTF-8 charset.
29616 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29618         [BZ #14210]
29619         Suppress sign-conversion warning from FD_SET.
29620         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29621         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29622         not unsigned long int.
29623         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29625 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29627         [BZ #14050]
29628         [BZ #14117]
29629         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29630         __extern_always_inline instead of __extern_inline.
29631         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29632         (__signbit): Likewise.
29633         (__signbitl): Support C++ namespace.
29634         (lrintf): New inline function.
29635         (lrint): Likewise.
29636         (llrintf): Likewise.
29637         (llrint): Likewise.
29638         (fmaxf): Likewise.
29639         (fmax): Likewise.
29640         (fminf): Likewise.
29641         (fmin): Likewise.
29642         (rint): Likewise.
29643         (rintf): Likewise.
29644         (ceil): Likewise.
29645         (ceilf): Likewise.
29646         (floor): Likewise.
29647         (floorf): Likewise.
29648         (nearbyint): Likewise.
29649         (nearbyintf): Likewise.
29651 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29653         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29654         non-default versions.
29656 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29658         [BZ #14218]
29659         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29661 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29663         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29664         (FE_UPWARD, FE_DOWNWARD): Don't define.
29665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29669         reading it.
29670         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29671         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29673 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29675         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29678         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29680 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29682         [BZ #14117]
29683         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29684         * sysdeps/i386/fpu/Implies: New file.
29685         * sysdeps/x86_64/fpu/Implies: Likewise.
29686         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29687         * sysdeps/x86/fpu/bits/fenv.h: This.
29689         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29690         __SSE_MATH__.
29692 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29694         [BZ #14134]
29695         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29696         character 0xffff that matches the last element of the
29697         conversion table.
29699 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29702         fmodl commit.
29704 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29707         values higher than 25.6283.
29709 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29712         subnormal exponent extraction and add some __builtin_expect.
29713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29714         Fix for subnormal mantissa calculation.
29716 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29718         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29719         cpu2 is -1 and errno is not ENOSYS.
29721 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29723         [BZ #14117]
29724         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29725         * sysdeps/x86/bits/string.h: This.
29726         * sysdeps/x86_64/bits/string.h: Removed.
29728         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29729         if not compiling for x86-64, but compiling for >= i486.
29731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29732         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29735         New macro from Linux kernel 3.4.0.
29736         (FP_XSTATE_MAGIC2): Likewise.
29737         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29738         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29739         (struct _fpx_sw_bytes): New struct.
29740         (struct _xsave_hdr): Likewise.
29741         (struct _ymmh_state): Likewise.
29742         (struct _xstate): Likewise.
29744         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29745         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29747         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29749         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29751         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29752         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29753         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29754         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29755         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29756         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29758 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29760         [BZ #13743]
29761         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29762         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29763         (sysdep_headers): Include sys/platform/ppc.h.
29764         * sysdeps/powerpc/test-gettimebase.c: Test for
29765         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29766         * manual/Makefile (appendices): Include platform.texi.
29767         * manual/contrib.texi (Contributors): Update @node pointers.
29768         * manual/maint.texi (Maintenance): Likewise.
29769         (Platform): New node.
29770         * manual/platform.texi: New file.  Document the new features.
29772 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29773             Jakub Jelinek  <jakub@redhat.com>
29775         [BZ #14188]
29776         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29777         where __builtin_expect is unavailable.
29779 2012-06-03  David S. Miller  <davem@davemloft.net>
29781         * stdlib/longlong.h: Updated from GCC.
29783 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29785         [BZ #14042]
29786         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29787         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29788         __mcount_internal.
29789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29790         (GLIBC_2.16): Likewise.
29792 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29796 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29799         (default-abi): New variable.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29801         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29802         variable.
29803         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29804         Likewise.
29805         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29806         Likewise.
29807         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29808         Likewise.
29810         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29811         definition.  Document in comment.
29813 2012-06-01  David S. Miller  <davem@davemloft.net>
29815         * stdlib/longlong.h: Updated from GCC.
29817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29819         [BZ #14117]
29820         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29821         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29822         sys/debugreg.h sys/io.h here.
29823         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29824         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29825         sys/io.h.
29826         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29827         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29828         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29829         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29830         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29831         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29833         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29834         Define only if __x86_64__ is defined.
29836 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29838         [BZ #14048]
29839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29840         Use int64_t for variable i.
29841         * math/libm-test.inc (fmod_test): Add more tests.
29843         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29844         z computation is not scheduled after fetestexcept.
29845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29846         Use math_force_eval instead of asm to ensure calculation scheduled
29847         before exception test.
29848         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29849         Ensure a1 + u.d computation is not scheduled after fetestexcept.
29851 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
29853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29854         computation is not scheduled after fetestexcept.
29856 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29858         [BZ #14117]
29859         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29860         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29862 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29864         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29865         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29867 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29869         [BZ #14117]
29870         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29871         <bits/wordsize.h>.
29872         (__WCHAR_MIN): Support __WORDSIZE == 64.
29873         (__WCHAR_MAX): Likewise.
29875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29876         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29878         [BZ #14183]
29879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29880         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29882         [BZ #14117]
29883         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29887         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29889         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29890         Defined to 1 if __x86_64__ isn't defined.
29891         (_STAT_VER_LINUX_OLD): New.
29892         (st_atime): Remove duplicate.
29893         (st_mtime): Likewise.
29894         (st_ctime): Likewise.
29896 2012-05-31  David S. Miller  <davem@davemloft.net>
29898         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29899         entries.
29901 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29903         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29904         gen-libm-test.pl.
29906         [BZ #14132]
29907         * elf/dl-reloc.c: Include <_itoa.h>.
29908         (_dl_reloc_bad_type): Remove use of INTUSE.
29909         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29910         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29911         * stdio-common/psiginfo.c (psiginfo): Likewise.
29912         * stdio-common/psignal.c (psignal): Likewise.
29913         * string/strsignal.c (strsignal): Likewise.
29914         * include/signal.h (_sys_siglist): Declare hidden proto.
29915         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29916         INTVARDEF with libc_hidden_data_def.
29917         * stdio-common/itoa-udigits.c: Likewise.
29918         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29919         (_itoa_lower_digits_internal): Remove declaration.
29920         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29921         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29922         (_sys_sigabbrev_internal): Remove aliases.
29923         (_sys_siglist): Define hidden alias.
29925 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29928         bits/sysctl.h.
29930 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29932         [BZ #14117]
29933         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29934         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29936         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29937         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29938         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29939         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29940         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29941         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29943         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29945         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29947         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29948         with __addr.
29949         (insw): Likewise.
29950         (insl): Likewise.
29951         (outsb): Likewise.
29952         (outsw): Likewise.
29953         (outsl): Likewise.
29955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29957         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29959         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29960         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29962         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29963         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29964         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29966         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29967         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29969         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29970         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29974         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29976         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29977         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29978         to ...
29979         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29981         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29982         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29983         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29985         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29986         for x86-64.
29987         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29989 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29991         * math/math.h (M_El): Use two more decimal places.
29992         (M_LOG2El): Likewise.
29993         (M_LOG10El): Likewise.
29994         (M_LN2l): Likewise.
29995         (M_LN10l): Likewise.
29996         (M_PIl): Likewise.
29997         (M_PI_2l): Likewise.
29998         (M_PI_4l): Likewise.
29999         (M_1_PIl): Likewise.
30000         (M_2_PIl): Likewise.
30001         (M_2_SQRTPIl): Likewise.
30002         (M_SQRT2l): Likewise.
30003         (M_SQRT1_2l): Likewise.
30005 2012-05-31  David S. Miller  <davem@davemloft.net>
30007         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30008         values between float registers.
30009         * sysdeps/sparc/sparc64/memset.S: Likewise.
30010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30012 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30014         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30015         -D_FORTIFY_SOURCE=1.
30016         (CPPFLAGS-tst-longjmp_chk.c): Define.
30017         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30018         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30019         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30020         CFLAGS-tst-wchar-h.c.
30022 2012-05-31  Marek Polacek  <polacek@redhat.com>
30024         [BZ #14132]
30025         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30026         __endmntent_internal): Remove declaration.
30027         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30028         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30029         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30031 2012-05-30  David S. Miller  <davem@davemloft.net>
30033         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30034         (___Q_simulate_exceptions): Use real FP ops rather than writing
30035         into the %fsr.
30036         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30037         Likewise.
30039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30041         [BZ #14117]
30042         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30043         * sysdeps/x86/bits/xtitypes.h: This.
30045         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30046         * sysdeps/x86/bits/wordsize.h: This.
30048         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30049         * sysdeps/x86/bits/huge_vall.h: This.
30051         * sysdeps/i386/bits/select.h: Removed.
30052         * sysdeps/x86_64/bits/select.h: Renamed to ...
30053         * sysdeps/x86/bits/select.h: This.
30055         * sysdeps/i386/bits/setjmp.h: Removed.
30056         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30057         * sysdeps/x86/bits/setjmp.h: This.
30059         * sysdeps/i386/bits/mathdef.h: Removed.
30060         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30061         * sysdeps/x86/bits/mathdef.h: This.
30063 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30065         [BZ #14132]
30066         * include/sys/socket.h (__connect_internal)
30067         (__libc_sa_len_internal): Remove declaration.
30068         (__connect, __libc_sa_len): Declare hidden_proto.
30069         (SA_LEN): Remove use of INTUSE.
30070         * socket/connect.c: Add libc_hidden_def.
30071         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30072         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30073         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30074         alias.
30075         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30077         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30078         of adding _internal alias.
30080 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30082         [BZ #14117]
30083         * sysdeps/i386/bits/link.h: Removed.
30084         * sysdeps/i386/bits/linkmap.h: Likewise.
30085         * sysdeps/x86_64/bits/link.h: Renamed to ...
30086         * sysdeps/x86/bits/link.h: This.
30087         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30088         * sysdeps/x86/bits/linkmap.h: This.
30090         * sysdeps/i386/bits/endian.h: Removed.
30091         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30092         * sysdeps/x86/bits/endian.h: This.
30094         * sysdeps/i386/bits/byteswap.h: Removed.
30095         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30096         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30097         * sysdeps/x86/bits/byteswap.h: This.
30098         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30099         * sysdeps/x86/bits/byteswap-16.h: This.
30100         * sysdeps/i386/Implies: Add x86.
30101         * sysdeps/x86_64/Implies: Likewise.
30103 2012-05-30  David S. Miller  <davem@davemloft.net>
30105         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30106         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30107         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30108         (FP_TRAPPING_EXCEPTIONS): Define.
30109         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30110         (FP_TRAPPING_EXCEPTIONS): Define.
30111         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30112         subnormals only when inexact has been signalled or underflow
30113         exceptions are enabled.
30114         (_FP_PACK_CANONICAL): Likewise.
30116 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30118         [BZ #14183]
30119         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30120         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30122 2012-05-30  Richard Henderson  <rth@twiddle.net>
30124         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30125         with #ifndef NOT_IN_libc.
30127         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30128         marked to avoid plt entry.
30130 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30132         [BZ #14112]
30133         * Makeconfig (default-abi): New macro.
30134         (abi-includes): Likewise.
30135         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30136         $(abi-$(default-abi)-lib-soname) for soname if defined.
30137         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30138         abi-variants.
30139         * Makefile (installed-stubs): Likewise.
30140         * include/stubs-biarch.h: Removed.
30141         * scripts/lib-names.awk: Only handle one library at a time.
30142         * scripts/soversions.awk: Remove WORDSIZE support.
30143         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30144         entries.
30145         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30146         Removed.
30147         (syscall-list-default-condition): Likewise.
30148         (syscall-list-default-condition): Likewise.
30149         (syscall-list-includes): Likewise.
30150         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30151         syscall-list-* with abi-*.  Handle undefined abi-variants.
30152         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30153         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30154         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30155         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30156         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30157         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30158         Removed.
30159         (syscall-list-32-options): Likewise.
30160         (syscall-list-32-condition): Likewise.
30161         (syscall-list-64-options): Likewise.
30162         (syscall-list-64-condition): Likewise.
30163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30164         macro.
30165         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30166         Renamed to ...
30167         (abi-*): This.
30168         (abi-64-ld-soname): New macro.
30169         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30170         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30171         Renamed to ...
30172         (abi-*): This.
30173         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30174         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30176 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30178         * sysdeps/unix/sysv/linux/kernel-features.h
30179         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30180         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30181         include <kernel-features.h>.
30182         [!__NR_ftruncate64]: Remove conditional code.
30183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30184         [__NR_ftruncate64]: Make code unconditional.
30185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30186         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30187         include <kernel-features.h>.
30188         [!__NR_ftruncate64]: Remove conditional code.
30189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30190         [__NR_ftruncate64]: Make code unconditional.
30191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30193         include <kernel-features.h>.
30194         [!__NR_ftruncate64]: Remove conditional code.
30195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30196         [__NR_ftruncate64]: Make code unconditional.
30197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30199         include <kernel-features.h>.
30200         [!__NR_ftruncate64]: Remove conditional code.
30201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30202         [__NR_ftruncate64]: Make code unconditional.
30203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30205         * configure.in (libc_cv_fpie): Weaken to a compile test using
30206         LIBC_TRY_CC_OPTION.
30207         * configure: Regenerated.
30209 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30215         Refreshed.
30216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30222         Refreshed.
30224 2012-05-27  David S. Miller  <davem@davemloft.net>
30226         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30227         (___Q_zero): New.
30228         (__Q_simulate_exceptions): Return void.  Change to simulate
30229         exceptions by writing into the %fsr.
30230         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30231         (__Qp_handle_exceptions): Likewise.
30232         (numbers): Delete.
30233         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30234         __Qp_handle_exceptions.
30235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30236         __Qp_handle_exceptions.
30237         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30238         as unused and give dummy FP_RND_NEAREST initializer.
30239         (FP_INHIBIT_RESULTS): Define.
30240         (___Q_simulate_exceptions): Update declaration.
30241         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30242         formatting.
30243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30244         as unused and give dummy FP_RND_NEAREST initializer.
30245         (__Qp_handle_exceptions): Update declaration.
30246         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30247         formatting.
30249 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30251         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30252         the temporary FPU control word.
30253         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30254         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30256         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30257         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30258         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30259         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30260         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30262         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30265 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30268         fields.
30270 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30272         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30273         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30274         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30275         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30276         Likewise.
30277         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30278         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30279         Likewise.
30281 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30283         * po/h.po: Update from translation team.
30285 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30287         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30289         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30290         handling of denormals.
30291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30292         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30293         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30294         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30298         Likewise.
30300 2012-05-26  Marek Polacek  <polacek@redhat.com>
30302         [BZ #14152]
30303         * math/libm-test.inc (fma_test): Don't always expect underflow
30304         exception.
30306 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30308         [BZ #12416]
30309         * elf/tst-execstack.c: Include stackinfo.h.
30310         (do_test): Adjust test case to ensure that pthread_getattr_np
30311         behaviour remains the same after marking stack executable.
30313 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30315         * sysdeps/unix/sysv/linux/kernel-features.h
30316         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30317         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30318         kernel-features.h.
30319         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30320         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30321         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30322         kernel-features.h.
30323         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30324         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30326 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30328         * configure.in: Define the default includes to being none.
30329         * configure: Regenerated.
30331 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30333         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30334         * sysdeps/x86_64/setjmp.S: Likewise.
30335         * sysdeps/i386/bsd-setjmp.S: Likewise.
30336         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30337         * sysdeps/i386/setjmp.S: Likewise.
30338         * sysdeps/i386/__longjmp.S: Likewise.
30339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30340         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30342         * include/stap-probe.h: New file.
30343         * configure.in: Handle --enable-systemtap.
30344         * configure: Regenerated.
30345         * config.h.in (USE_STAP_PROBE): New #undef.
30346         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30347         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30348         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30350 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30352         [BZ #13717]
30353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30354         to 2.4.0 where earlier.
30355         * sysdeps/unix/sysv/linux/configure: Regenerated.
30356         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30357         <kernel-features.h>.
30358         [__ASSUME_32BITUIDS]: Make code unconditional.
30359         [!__ASSUME_32BITUIDS]: Remove conditional code.
30360         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30361         <kernel-features.h>.
30362         [__ASSUME_32BITUIDS]: Make code unconditional.
30363         [!__ASSUME_32BITUIDS]: Remove conditional code.
30364         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30365         [__ASSUME_32BITUIDS]: Make code unconditional.
30366         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30367         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30368         <kernel-features.h>.
30369         [__ASSUME_32BITUIDS]: Make code unconditional.
30370         [!__ASSUME_32BITUIDS]: Remove conditional code.
30371         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30372         <kernel-features.h>.
30373         [__ASSUME_32BITUIDS]: Make code unconditional.
30374         [!__ASSUME_32BITUIDS]: Remove conditional code.
30375         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30376         <kernel-features.h>.
30377         [__ASSUME_32BITUIDS]: Make code unconditional.
30378         [!__ASSUME_32BITUIDS]: Remove conditional code.
30379         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30380         <kernel-features.h>.
30381         [__ASSUME_32BITUIDS]: Make code unconditional.
30382         [!__ASSUME_32BITUIDS]: Remove conditional code.
30383         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30384         <kernel-features.h>.
30385         [__ASSUME_32BITUIDS]: Make code unconditional.
30386         [!__ASSUME_32BITUIDS]: Remove conditional code.
30387         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30388         <kernel-features.h>.
30389         [__ASSUME_32BITUIDS]: Make code unconditional.
30390         [!__ASSUME_32BITUIDS]: Remove conditional code.
30391         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30392         <kernel-features.h>.
30393         [__ASSUME_32BITUIDS]: Make code unconditional.
30394         [!__ASSUME_32BITUIDS]: Remove conditional code.
30395         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30396         <kernel-features.h>.
30397         [__ASSUME_32BITUIDS]: Make code unconditional.
30398         [!__ASSUME_32BITUIDS]: Remove conditional code.
30399         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30400         <kernel-features.h>.
30401         [__ASSUME_32BITUIDS]: Make code unconditional.
30402         [!__ASSUME_32BITUIDS]: Remove conditional code.
30403         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30404         <kernel-features.h>.
30405         [__ASSUME_32BITUIDS]: Make code unconditional.
30406         [!__ASSUME_32BITUIDS]: Remove conditional code.
30407         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30408         <kernel-features.h>.
30409         [__NR_setresgid] (__setresgid): Do not declare.
30410         [__ASSUME_32BITUIDS]: Make code unconditional.
30411         [!__ASSUME_32BITUIDS]: Remove conditional code.
30412         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30413         <kernel-features.h>.
30414         [__NR_setresuid] (__setresuid): Do not declare.
30415         [__ASSUME_32BITUIDS]: Make code unconditional.
30416         [!__ASSUME_32BITUIDS]: Remove conditional code.
30417         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30418         <kernel-features.h>.
30419         [__ASSUME_32BITUIDS]: Make code unconditional.
30420         [!__ASSUME_32BITUIDS]: Remove conditional code.
30421         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30422         <kernel-features.h>.
30423         [__ASSUME_32BITUIDS]: Make code unconditional.
30424         [!__ASSUME_32BITUIDS]: Remove conditional code.
30425         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30426         <kernel-features.h>.
30427         [__ASSUME_32BITUIDS]: Make code unconditional.
30428         [!__ASSUME_32BITUIDS]: Remove conditional code.
30429         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30430         <kernel-features.h>.
30431         [__ASSUME_32BITUIDS]: Make code unconditional.
30432         [!__ASSUME_32BITUIDS]: Remove conditional code.
30433         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30434         <kernel-features.h>.
30435         [__ASSUME_32BITUIDS]: Make code unconditional.
30436         [!__ASSUME_32BITUIDS]: Remove conditional code.
30437         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30438         <kernel-features.h>.
30439         [__ASSUME_32BITUIDS]: Make code unconditional.
30440         [!__ASSUME_32BITUIDS]: Remove conditional code.
30441         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30442         <kernel-features.h>.
30443         [__ASSUME_32BITUIDS]: Make code unconditional.
30444         [!__ASSUME_32BITUIDS]: Remove conditional code.
30445         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30446         <kernel-features.h>.
30447         [__ASSUME_32BITUIDS]: Make code unconditional.
30448         [!__ASSUME_32BITUIDS]: Remove conditional code.
30449         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30450         <kernel-features.h>.
30451         [__ASSUME_32BITUIDS]: Make code unconditional.
30452         [!__ASSUME_32BITUIDS]: Remove conditional code.
30453         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30454         <kernel-features.h>.
30455         [__ASSUME_32BITUIDS]: Make code unconditional.
30456         [!__ASSUME_32BITUIDS]: Remove conditional code.
30457         * sysdeps/unix/sysv/linux/kernel-features.h
30458         (__ASSUME_SETRESUID_SYSCALL): Remove.
30459         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30460         (__ASSUME_32BITUIDS): Likewise.
30461         (__ASSUME_LDT_WORKS): Likewise.
30462         (__ASSUME_O_DIRECTORY): Likewise.
30463         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30464         architecture but not kernel version.
30465         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30466         (__ASSUME_MMAP2_SYSCALL): Likewise.
30467         (__ASSUME_STAT64_SYSCALL): Likewise.
30468         (__ASSUME_IPC64): Likewise.
30469         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30470         <kernel-features.h>.
30471         [__ASSUME_32BITUIDS]: Make code unconditional.
30472         [!__ASSUME_32BITUIDS]: Remove conditional code.
30473         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30474         <kernel-features.h>.
30475         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30476         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30477         132096]: Remove conditional code.
30478         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30480         <kernel-features.h>.
30481         [__ASSUME_32BITUIDS]: Make code unconditional.
30482         [!__ASSUME_32BITUIDS]: Remove conditional code.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30484         <kernel-features.h>.
30485         [__ASSUME_32BITUIDS]: Make code unconditional.
30486         [!__ASSUME_32BITUIDS]: Remove conditional code.
30487         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30488         <kernel-features.h>.
30489         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30490         unconditional.
30491         (__setresgid): Do not declare.
30492         [__ASSUME_32BITUIDS]: Make code unconditional.
30493         [!__ASSUME_32BITUIDS]: Remove conditional code.
30494         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30495         <kernel-features.h>.
30496         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30497         unconditional.
30498         (__setresuid): Do not declare.
30499         [__ASSUME_32BITUIDS]: Make code unconditional.
30500         [!__ASSUME_32BITUIDS]: Remove conditional code.
30501         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30502         <kernel-features.h>.
30503         [__ASSUME_32BITUIDS]: Make code unconditional.
30504         [!__ASSUME_32BITUIDS]: Remove conditional code.
30505         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30506         <kernel-features.h>.
30507         [__ASSUME_32BITUIDS]: Make code unconditional.
30508         [!__ASSUME_32BITUIDS]: Remove conditional code.
30510 2012-05-25  Richard Henderson  <rth@twiddle.net>
30512         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30513         dl_hwcap to ifunc resolver.
30514         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30515         elf_ifunc_invoke.
30516         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30517         dl_hwcap to ifunc resolver.
30518         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30520 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30522         [BZ #14153]
30523         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30524         for |x| <= 2**-26, not 2**-57.
30525         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30526         exception.
30528 2012-05-24  Jeff Law  <law@redhat.com>
30530         * stdio-common/Makefile (tests): Add bug25.
30531         * stdio-common/bug25.c: New test.
30533 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30535         [BZ #13576]
30536         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30537         multiple of MALLOC_ALIGNMENT in size.
30538         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30540 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30542         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30543         Require >= 256.
30544         (FILENAME_MAX): Use macro-int-constant.
30545         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30546         (_IOFBF): Use macro-int-constant.
30547         (_IOLBF): Likewise.
30548         (_IONBF): Likewise.
30549         (SEEK_CUR): Likewise.
30550         (SEEK_END): Likewise.
30551         (SEEK_SET): Likewise.
30552         (TMP_MAX): Likewise.
30553         (EOF): Use macro-int-constant.  Require < 0.
30554         (NULL): Use macro-constant.  Require == 0.
30555         (stdin): Require type to be FILE *.
30556         (stdout): Likewise.
30557         (stderr): Likewise.
30558         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30559         macro-int-constant.
30560         (EXIT_SUCCESS): Likewise.
30561         (NULL): Use macro-constant.  Require == 0.
30562         (RAND_MAX): Use macro-int-constant.
30563         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30564         [C99-based standards] (strtof): Require function.
30565         [C99-based standards] (strtold): Likewise.
30566         [C99-based standards] (strtoll): Likewise.
30567         [C99-based standards] (strtoull): Likewise.
30568         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30569         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30570         [ISO || ISO99 || ISO11] (math.h): Likewise.
30571         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30572         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30575 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30577         [BZ #14132]
30578         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30579         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30580         * intl/dgettext.c (DCGETTEXT): Likewise.
30581         * intl/gettext.c (DCGETTEXT): Likewise.
30582         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30583         * posix/regex_internal.h (gettext): Likewise.
30584         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30585         Remove declaration.
30586         * include/argz.h (__argz_count_internal)
30587         (__argz_stringify_internal): Remove declaration.
30588         (__argz_count, __argz_stringify): Declare hidden proto.
30589         * intl/dcgettext.c: Remove use of INTDEF.
30590         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30591         * string/argz-stringify.c: Likewise.
30592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30594         Declare hidden proto.
30595         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30596         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30597         Declare hidden proto.
30598         * include/stdio.h (__asprintf_internal): Don't declare.
30599         (__asprintf): Don't define as macro.  Declare hidden proto.
30600         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30601         (__fsetlocking): Declare hidden proto.
30602         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30603         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30604         hidden proto.
30605         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30606         (_IO_setlinebuf): Remove use of INTUSE.
30607         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30608         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30609         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30610         Remove declaration.
30611         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30612         (_IO_do_flush): Remove use of INTUSE.
30613         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30614         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30615         (_IO_adjust_column, _IO_least_wmarker)
30616         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30617         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30618         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30619         (_IO_default_doallocate, _IO_wdefault_doallocate)
30620         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30621         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30622         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30623         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30624         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30625         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30626         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30627         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30628         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30629         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30630         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30631         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30632         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30633         proto.
30634         (_IO_flush_all_internal, _IO_adjust_column_internal)
30635         (_IO_default_uflow_internal, _IO_default_finish_internal)
30636         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30637         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30638         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30639         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30640         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30641         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30642         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30643         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30644         (_IO_file_close_internal, _IO_file_close_it_internal)
30645         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30646         (_IO_file_init_internal, _IO_file_attach_internal)
30647         (_IO_file_fopen_internal, _IO_file_read_internal)
30648         (_IO_file_sync_internal, _IO_file_seek_internal)
30649         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30650         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30651         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30652         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30653         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30654         (_IO_list_all_internal, _IO_link_in_internal)
30655         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30656         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30657         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30658         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30659         (_IO_do_write_internal, _IO_padn_internal)
30660         (_IO_getline_info_internal, _IO_getline_internal)
30661         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30662         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30663         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30664         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30665         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30666         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30667         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30668         with libc_hidden_ver, remove use of INTUSE.
30669         * libio/genops.c: Likewise.
30670         * libio/freopen.c: Likewise.
30671         * libio/freopen64.c: Likewise.
30672         * libio/iofclose.c: Likewise.
30673         * libio/iofdopen.c: Likewise.
30674         * libio/iofflush.c: Likewise.
30675         * libio/iofflush_u.c: Likewise.
30676         * libio/iofgets.c: Likewise.
30677         * libio/iofgets_u.c: Likewise.
30678         * libio/iofopen.c: Likewise.
30679         * libio/iofopncook.c: Likewise.
30680         * libio/iofread.c: Likewise.
30681         * libio/iofread_u.c: Likewise.
30682         * libio/ioftell.c: Likewise.
30683         * libio/iofwrite.c: Likewise.
30684         * libio/iogetline.c: Likewise.
30685         * libio/iogets.c: Likewise.
30686         * libio/iogetwline.c: Likewise.
30687         * libio/iopadn.c: Likewise.
30688         * libio/iopopen.c: Likewise.
30689         * libio/ioseekoff.c: Likewise.
30690         * libio/ioseekpos.c: Likewise.
30691         * libio/iosetbuffer.c: Likewise.
30692         * libio/iosetvbuf.c: Likewise.
30693         * libio/ioungetc.c: Likewise.
30694         * libio/ioungetwc.c: Likewise.
30695         * libio/iovdprintf.c: Likewise.
30696         * libio/iovsprintf.c: Likewise.
30697         * libio/iovsscanf.c: Likewise.
30698         * libio/memstream.c: Likewise.
30699         * libio/obprintf.c: Likewise.
30700         * libio/oldfileops.c: Likewise.
30701         * libio/oldiofclose.c: Likewise.
30702         * libio/oldiofdopen.c: Likewise.
30703         * libio/oldiofopen.c: Likewise.
30704         * libio/oldiopopen.c: Likewise.
30705         * libio/oldstdfiles.c: Likewise.
30706         * libio/putc.c: Likewise.
30707         * libio/setbuf.c: Likewise.
30708         * libio/setlinebuf.c: Likewise.
30709         * libio/stdfiles.c: Likewise.
30710         * libio/strops.c: Likewise.
30711         * libio/vasprintf.c: Likewise.
30712         * libio/vscanf.c: Likewise.
30713         * libio/vsnprintf.c: Likewise.
30714         * libio/vswprintf.c: Likewise.
30715         * libio/wfiledoalloc.c: Likewise.
30716         * libio/wfileops.c: Likewise.
30717         * libio/wgenops.c: Likewise.
30718         * libio/wmemstream.c: Likewise.
30719         * libio/wstrops.c: Likewise.
30720         * libio/__fpurge.c: Likewise.
30721         * libio/__fsetlocking.c: Likewise.
30722         * assert/assert.c: Likewise.
30723         * debug/fgets_chk.c: Likewise.
30724         * debug/fgets_u_chk.c: Likewise.
30725         * debug/fread_chk.c: Likewise.
30726         * debug/fread_u_chk.c: Likewise.
30727         * debug/gets_chk.c: Likewise.
30728         * debug/obprintf_chk.c: Likewise.
30729         * debug/vasprintf_chk.c: Likewise.
30730         * debug/vdprintf_chk.c: Likewise.
30731         * debug/vsnprintf_chk.c: Likewise.
30732         * debug/vsprintf_chk.c: Likewise.
30733         * malloc/mtrace.c: Likewise.
30734         * misc/error.c: Likewise.
30735         * misc/syslog.c: Likewise.
30736         * stdio-common/asprintf.c: Likewise.
30737         * stdio-common/fxprintf.c: Likewise.
30738         * stdio-common/getw.c: Likewise.
30739         * stdio-common/isoc99_fscanf.c: Likewise.
30740         * stdio-common/isoc99_scanf.c: Likewise.
30741         * stdio-common/isoc99_vfscanf.c: Likewise.
30742         * stdio-common/isoc99_vscanf.c: Likewise.
30743         * stdio-common/isoc99_vsscanf.c: Likewise.
30744         * stdio-common/printf-prs.c: Likewise.
30745         * stdio-common/printf_fp.c: Likewise.
30746         * stdio-common/printf_fphex.c: Likewise.
30747         * stdio-common/printf_size.c: Likewise.
30748         * stdio-common/putw.c: Likewise.
30749         * stdio-common/scanf.c: Likewise.
30750         * stdio-common/sprintf.c: Likewise.
30751         * stdio-common/tmpfile.c: Likewise.
30752         * stdio-common/vfprintf.c: Likewise.
30753         * stdio-common/vfscanf.c: Likewise.
30754         * stdlib/strfmon_l.c: Likewise.
30755         * sunrpc/openchild.c: Likewise.
30756         * sunrpc/xdr_stdio.c: Likewise.
30757         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30758         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30760 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30762         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30764         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30765         in the third column, to generate for the shared library an IFUNC
30766         that uses _dl_vdso_vsym.
30767         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30768         * Makeconfig (object-suffixes-noshared): New variable.
30770         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30771         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30772         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30773         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30775         [BZ #14132]
30776         * include/sys/time.h (__gettimeofday): Remove macro.
30777         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30778         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30779         Remove INTDEF.
30780         (__gettimeofday): Add libc_hidden_def.
30781         (gettimeofday): Add libc_hidden_weak.
30782         * sysdeps/mach/gettimeofday.c: Likewise.
30783         * sysdeps/posix/gettimeofday.c: Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30787         (__gettimeofday_internal): Remove strong_alias.
30788         (__gettimeofday): Add libc_hidden_def.
30789         (gettimeofday): Add libc_hidden_weak.
30790         * sysdeps/unix/syscalls.list (gettimeofday):
30791         Remove __gettimeofday_internal alias.
30793 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30794             H.J. Lu  <hongjiu.lu@intel.com>
30796         [BZ #12495]
30797         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30798         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30799         (largebin_index_32_big): New.
30800         (largebin_index): Use it for 16-byte alignment.
30801         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30802         correction with front_misalign.
30804 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30808         Likewise.
30809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30810         Likewise.
30811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30812         Likewise.
30813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30814         Likewise.
30815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30816         Likewise.
30817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30818         Likewise.
30819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30820         Likewise.
30821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30822         Likewise.
30823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30824         Likewise.
30825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30826         Likewise.
30827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30828         Likewise.
30829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30830         Likewise.
30832         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30833         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30835 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30837         [BZ #10846]
30838         [BZ #14036]
30839         * math/libm-test.inc (exp_test): Add test from bug 14036.
30840         (pow_test): Add test from bug 10846.
30842         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30843         and other flags.
30844         (special_function): Do not include flags in test name.
30845         (parse_args): Likewise.
30846         * sysdeps/i386/fpu/libm-test-ulps: Update.
30847         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30848         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30849         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30852         * math/gen-libm-test.pl (%beautify): Add entries for underflow
30853         exceptions.
30854         * math/libm-test.inc ("Philosophy"): Update comment about
30855         exception testing.
30856         (UNDERFLOW_EXCEPTION): New macro.
30857         (UNDERFLOW_EXCEPTION_OK): Likewise.
30858         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30859         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30860         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30861         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30862         (INVALID_EXCEPTION_OK): Update value.
30863         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30864         (OVERFLOW_EXCEPTION_OK): Likewise.
30865         (IGNORE_ZERO_INF_SIGN): Likewise.
30866         (test_exceptions): Handle underflow exceptions.
30867         (acos_test): Update for underflow exception expectations.
30868         (cexp_test): Likewise.
30869         (clog_test): Likewise.
30870         (clog10_test): Likewise.
30871         (csqrt_test): Likewise.
30872         (ctan_test): Likewise.
30873         (ctanh_test): Likewise.
30874         (exp_test): Likewise.
30875         (exp10_test): Likewise.
30876         (exp2_test): Likewise.
30877         (expm1_test): Likewise.
30878         (fma_test): Likewise.
30879         (j0_test): Likewise.
30880         (jn_test): Likewise.
30881         (nexttoward_test): Likewise.
30882         (pow_test): Likewise.
30883         (scalbn_test): Likewise.
30884         (scalbln_test): Likewise.
30885         (tan_test): Likewise.
30886         (y1_test): Likewise.
30887         * sysdeps/i386/fpu/libm-test-ulps: Update.
30888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30890 2012-05-23  David S. Miller  <davem@davemloft.net>
30892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30893         (__libc_sigaction): Remove unused local variables.
30895 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30897         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30899 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30901         mktime: avoid signed integer overflow
30902         * time/mktime.c (__mktime_internal): Do not mishandle the case
30903         where diff == INT_MIN.
30905         mktime: simplify computation of average
30906         * time/mktime.c (ranged_convert): Use new time_t_avg function
30907         instead of rolling our own (probably-slower) code.
30909         mktime: do not assume signed right shift propagates sign bit
30910         * time/mktime.c (isdst_differ): New static function.
30911         (__mktime_internal): No need to normalize tm_isdst now.
30912         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30913         tm_isdst values.
30915         mktime: merge another wrapv change from gnulib
30916         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30917         from some compilers.
30919         mktime: remove incorrect attempt at unusual arithmetics
30920         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30921         The code didn't really work on such machines anyway.
30922         (TYPE_MINIMUM): Assume two's complement.
30923         (twos_complement_arithmetic): Verify that long_int and time_t
30924         are two's complement (or unsigned, in the latter case).
30926         mktime: check signed shifts on long_int and time_t, too
30927         * time/mktime.c (SHR): Check that shifts work as desired
30928         on the types long_int and time_t too, as SHR is used on
30929         such types.
30931         mktime: do not assume 'long' is wide enough
30932         * time/mktime.c (verify): Move decl up.
30933         (long_int): New type.
30934         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30935         to remove assumption in the code that 'long' is wide enough to
30936         store year values.  This assumption is not true on x32 and on
30937         some non-glibc platforms.
30939         mktime: merge wrapv change from gnulib
30940         * time/mktime.c (WRAPV): New macro.
30941         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30942         (guess_time_tm, __mktime_internal): Do not assume that signed
30943         integer overflow wraps around; modern compilers generate code
30944         where this assumption is no longer valid.
30946 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30948         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30949         Replace "jmp L(pseudo_end)" with "ret".
30950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30951         Likewise.
30953 2012-05-23  Andreas Jaeger  <aj@suse.de>
30955         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30956         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30958 2012-05-23  Andreas Jaeger  <aj@suse.de>
30959             Maximilian Attems  <max@stro.at>
30961         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30962         New macros.
30964 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30967         code so that pseudo_end is just ret and the stack pointer is
30968         correct also for static library in error case.
30970 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30972         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30973         move to syscalls.list.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30979         * manual/install.texi (Running make install): Do not mention Linux
30980         kernel version for which pt_chown is not needed.
30981         (Linux): Do not mention problems with nscd with 2.0 kernels.
30982         * INSTALL: Regenerated.
30984 2012-05-23  Andreas Jaeger  <aj@suse.de>
30986         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30987         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30988         macro.
30989         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30991         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30993         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30995         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30999         * sysdeps/unix/sysv/linux/bits/in.h
31000         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31002 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31004         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31005         (PREPARE_VERSION): Just use assert instead, it will be elided
31006         under [NDEBUG] anyway.
31008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31010         * sysdeps/unix/sysv/linux/Makefile: Include
31011         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31012         (sysdep_routines): Remove sysctl.
31013         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31014         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31015         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31016         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31017         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31019 2012-05-22  Andreas Jaeger  <aj@suse.de>
31021         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31022         that pseudo_end is just ret and the stack pointer is correct also
31023         for static library in error case.
31025 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31027         [BZ #14122]
31028         * nss/nsswitch.c (defconfig_entries): New variable.
31029         (__nss_database_lookup): Don't leak defconfig entries.
31030         (nss_parse_service_list): Don't leak on error paths.
31031         (free_database_entries): New function.
31032         (free_defconfig): New function.
31033         (free_mem): Move common code to free_database_entries.
31035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31037         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31038         Add arch_prctl.
31039         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31041         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31042         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31044         New macro.
31045         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31046         (INTERNAL_SYSCALL_TYPES): Likewise.
31047         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31048         (LOAD_REGS_TYPES_[1-6]): Likewise.
31049         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31050         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31052 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31054         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31055         copysignl for GLIBC_2_0.
31056         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31057         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31059         logbl for GLIBC_2_0.
31060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31061         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31063 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31066         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31068         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31069         Use "neg %eax".
31071         * time/mktime.c: Update copyright years.
31073 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31075         mktime: merge comment-quoting-style change from gnulib
31076         * time/mktime.c: Quote 'like this' in comments.
31077         The GNU coding standards suggest that we no longer quote `like this',
31078         as "`" and "'" are typically rendered asymmetrically nowadays.
31079         The typical gnulib style is to quote 'like this' when quoting
31080         code, and "like this" when quoting English.
31082         * time/mktime.c (compile-command): Add "-I.".
31084         mktime: merge mktime-internal.h change from gnulib
31085         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31087         mktime: merge time_r change from gnulib
31088         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31090         mktime: merge DEBUG change from gnulib
31091         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31092         case system <time.h> has a #define.
31094         mktime: merge <sys/types.h> change from gnulib
31095         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31096         since <time.t> is now guaranteed to define time_t.
31098         mktime: merge HAVE_CONFIG_H change from gnulib
31099         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31101 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31104         Use "neg %eax".
31106         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31107         __rlim_t cast.
31108         (struct rusage): Use anonymous union to pad each field to
31109         __syscall_slong_t.
31111 2012-05-21  David S. Miller  <davem@davemloft.net>
31113         * Makefules (o-iterator): Remove .s cases.
31114         (compile-command.s): Delete.
31115         (COMPILE.s): Delete.
31116         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31118 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31120         * configure.in (libc_cv_predef_stack_protector): Only consider
31121         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31122         * configure: Regenerated.
31124 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31127         New macro.  Use R*LP on int and pointer.
31128         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31129         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31130         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31131         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31133         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31134         [__WORDSIZE_TIME64_COMPAT32] instead of
31135         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31136         (struct utmp): Likewise.
31137         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31138         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31139         Renamed to ...
31140         (__WORDSIZE_TIME64_COMPAT32): This.
31141         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31142         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31143         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31145         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31146         (__WORDSIZE_TIME64_COMPAT32): New macro.
31148 2012-05-21  Andreas Jaeger  <aj@suse.de>
31150         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31151         only if [SHARED]. Add prototype for __wcschr_ia32.
31153 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31155         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31156         of %rbp unmolested in the jmp_buf while mangling the low bits.
31157         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31158         unmolested high bits of %rbp while demangling the low bits.
31159         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31161 2012-05-21  Andreas Jaeger  <aj@suse.de>
31163         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31164         * sunrpc/svc_simple.c: Use it for registerrpc.
31165         * sunrpc/xcrypt.c: Use it for passwd2des.
31167         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31169 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31171         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31172         Don't define if [__SYSCALL_WORDSIZE != 32].
31173         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31174         New macro.
31176 2012-05-21  Bruno Haible  <bruno@clisp.org>
31177             Andreas Jaeger  <aj@suse.de>
31179         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31180         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31181         inptr and inend for must_buffer_ch.
31182         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31183         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31184         * stdio-common/Makefile (tests): Remove bug15.
31185         (bug15-ENV): Remove macro.
31186         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31187         anymore.
31189 2012-05-19  Andreas Jaeger  <aj@suse.de>
31190             Roland McGrath  <roland@hack.frob.com>
31192         * manual/contrib.texi: Completely rewritten. It contains now an
31193         alphabetical list of contributors and their contributions.
31195 2012-05-21  Richard Henderson  <rth@twiddle.net>
31197         * misc/getauxval.c (__getauxval): Use unsigned long int.
31198         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31199         (getauxval): Use unsigned long int.
31201 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31203         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31205 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31207         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31208         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31209         __alignof__ (long double).
31211 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31215 2012-05-20  Richard Henderson  <rth@twiddle.net>
31217         * misc/getauxval.c: New file.
31218         * misc/sys/auxv.h: New file.
31219         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31220         (routines): Add getauxval.
31221         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31223         * elf/dl-sysdep.c (_dl_auxv): Remove.
31224         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31225         * elf/dl-support.c (_dl_auxv): New variable.
31226         (_dl_aux_init): Initialize it.
31227         * manual/startup.texi (Auxiliary Vector): New node.
31228         * sysdeps/generic/bits/hwcap.h: New file.
31229         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31230         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31231         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31232         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31233         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31236         Update.
31237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31246 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31250 2012-05-19  David S. Miller  <davem@davemloft.net>
31252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31256         [BZ #14123]
31257         * math/s_ccosh.c: Include <float.h>
31258         (__ccosh): Avoid internal overflow calculating sinh and cosh
31259         values before multiplying by sin and cos values.
31260         * math/s_ccoshf.c: Likewise.
31261         * math/s_ccoshl.c: Likewise.
31262         * math/s_csin.c: Likewise.
31263         * math/s_csinf.c: Likewise.
31264         * math/s_csinl.c: Likewise.
31265         * math/s_csinh.c: Likewise.
31266         * math/s_csinhf.c: Likewise.
31267         * math/s_csinhl.c: Likewise.
31268         * math/libm-test.inc (ccos_test): Add more tests.
31269         (ccosh_test): Likewise.
31270         (csin_test): Likewise.
31271         (csinh_test): Likewise.
31272         * sysdeps/i386/fpu/libm-test-ulps: Update.
31273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31275 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31277         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31278         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31280         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31282 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31284         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31285         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31286         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31287         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31288         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31289         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31290         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31291         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31292         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31293         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31294         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31295         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31296         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31297         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31298         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31299         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31300         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31301         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31302         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31303         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31304         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31305         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31306         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31307         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31308         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31309         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31310         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31311         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31312         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31313         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31314         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31316 2012-05-18  Andreas Jaeger  <aj@suse.de>
31318         * csu/.gitignore: Delete.
31320 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31322         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31323         (timex): Use __syscall_slong_t.
31325 2012-05-18  Andreas Jaeger  <aj@suse.de>
31326             Carlos O'Donell  <carlos_odonell@mentor.com>
31328         * manual/install.texi (Configuring and compiling): Update
31329         description about files modified in the source directory.
31330         * INSTALL: Regenerated.
31332 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31334         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31335         value.  Use "or" to set return value to -1.
31336         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31337         negate return value.
31339 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31341         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31342         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31343         failure if the compiler has Graphite support disabled.
31344         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31345         Likewise.
31346         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31347         (CFLAGS-memmove.c): Likewise.
31348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31349         Likewise.
31351 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31353         * sysdeps/x86_64/x32/_itoa.h: New file.
31355         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31356         getdents system call only if kernel and user dirents have the
31357         same d_ino and d_off.
31359         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31360         LLONG_MAX != LONG_MAX.
31361         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31362         (_fitoa_word): Likewise.
31364         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31365         years.
31366         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31367         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31370         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31371         include <bits/wordsize.h>.  Check __x86_64__ instead of
31372         __WORDSIZE.
31373         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31374         if __x86_64__ is defined.  Use anonymous union on fpstate.
31376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31377         anonymous union.
31379 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31381         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31382         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31384         Refer to _rtld_local_ro instead of _rtld_global_ro.
31385         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31386         Likewise.
31387         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31388         Likewise.
31389         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31390         Likewise.
31391         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31392         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31393         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31395         * sysdeps/powerpc/powerpc32/dl-machine.c
31396         (__elf_machine_runtime_setup) [PROF]: Don't reference
31397         _dl_prof_resolve.
31399 2012-05-18  Andreas Jaeger  <aj@suse.de>
31401         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31402         function only available for GCCs before 3.4 since GCC 3.4
31403         introduced a builtin.
31404         (lrint): Likewise.
31405         (llrintf): Likewise.
31406         (llrint): Likewise.
31407         (fmaxf): Likewise.
31408         (fmax): Likewise.
31409         (fminf): Likewise.
31410         (fmin): Likewise.
31411         (rint): Likewise.
31412         (rintf): Likewise.
31413         (nearbyint): Likewise.
31414         (nearbyintf): Likewise.
31415         (ceil): Likewise.
31416         (ceilf): Likewise.
31417         (floor): Likewise.
31418         (floorf): Likewise.
31420 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31422         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31423         on both fields and cast pointer to __syscall_ulong_t.
31425         * bits/types.h (__fsword_t): New type.
31426         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31427         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31429         (__FSWORD_T_TYPE): Likewise.
31430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31431         (__FSWORD_T_TYPE): Likewise.
31432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31433         (__FSWORD_T_TYPE): Likewise.
31434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31435         (__FSWORD_T_TYPE): Likewise.
31436         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31437         __SWORD_TYPE with __fsword_t.
31438         (statfs64): Likewise.
31440 2012-05-17  David S. Miller  <davem@davemloft.net>
31442         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31444 2012-05-17  Andreas Jaeger  <aj@suse.de>
31446         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31447         warning.
31449 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31451         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31453 2012-05-17  Andreas Jaeger  <aj@suse.de>
31455         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31456         when it is used.
31458 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31460         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31462 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31464         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31465         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31467 2012-05-17  Andreas Jaeger  <aj@suse.de>
31468             Carlos O'Donell  <carlos_odonell@mentor.com>
31470         [BZ #14059]
31471         * sysdeps/x86_64/multiarch/init-arch.h
31472         (bit_YMM_Usable): Rename to...
31473         (bit_AVX_Usable): ... this.
31474         (bit_FMA4_Usable): New macro.
31475         (bit_XMM_state): New macro.
31476         (bit_YMM_state): New macro.
31477         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31478         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31479         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31480         (CPUID_OSXSAVE): New macro.
31481         (CPUID_AVX): New macro.
31482         (CPUID_FMA4): New macro.
31483         (index_YMM_Usable): Rename to...
31484         (index_AVX_Usable): ... this.
31485         (HAS_AVX): Use HAS_ARCH_FEATURE.
31486         (HAS_FMA4): Likewise.
31487         (HAS_YMM_USABLE): Remove.
31488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31489         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31490         are present.
31491         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31492         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31493         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31494         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31495         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31497 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31499         * math/libm-test.c: Support platforms without multiple rounding modes.
31500         * math/bug-nextafter.c: Support platforms without FP exceptions.
31501         * math/bug-nexttoward.c: Likewise.
31502         * math/test-fenv.c: Likewise.
31503         * math/test-misc.c: Likewise.
31504         * stdlib/bug-getcontext.c: Likewise.
31506 2012-05-17  Andreas Jaeger  <aj@suse.de>
31508         * manual/examples/search.c (critter_cmp): Change signature to
31509         avoid warnings.
31510         * manual/string.texi (Collation Functions): Likewise.
31512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31514         * bits/types.h: Fold copyright years.
31515         * bits/typesizes.h: Likewise.
31516         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31520         * time/time.h: Likewise.
31522 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31524         [BZ #208]
31525         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31526         in instead of returning them.  Return void.
31527         (__libc_mallinfo): Accumulate over all arenas.
31528         (__malloc_stats): Adjust for change in int_mallinfo interface.
31530 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31532         [BZ #10375]
31533         * configure.in (NM): Add AC_CHECK_TOOL for it.
31534         (libc_extra_cflags): New substituted variable.
31535         Check for -fstack-protector being used implicitly.
31536         * configure: Regenerated.
31537         * config.make.in (config-extra-cflags): New variable,
31538         gets @libc_extra_cflags@.
31539         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31541         [BZ #10375]
31542         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31543         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31544         * configure: Regenerated.
31545         * config.make.in (CPPUNDEFS): New substituted variable.
31546         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31547         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31548         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31552         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31553         (mq_attr): Use __syscall_slong_t.
31555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31557         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31558         Check __x86_64__ instead of __WORDSIZE.
31559         (_STAT_VER_LINUX): Likewise.
31560         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31561         __syscall_ulong_t and __syscall_slong_t.
31562         (stat64): Likewise.
31564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31570         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31572 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31574         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31575         __syscall_ulong_t.
31577         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31578         include <bits/wordsize.h>.  Check __x86_64__ instead of
31579         __WORDSIZE.
31580         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31581         defined.
31582         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31584         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31585         include <bits/wordsize.h>.  Check __x86_64__ instead of
31586         __WORDSIZE.
31587         (user_regs_struct): Use "__extension__ unsigned long long"
31588         instead of "unsigned long" if __x86_64__ is defined.
31589         (user): Likewise.  Pad after pointer field if __ILP32__ is
31590         defined.
31592 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31594         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31595         versions 5 to 9.
31596         * configure: Regenerated.
31597         * manual/install.texi (texinfo): Increase version requirement to
31598         4.5 or later.
31599         * INSTALL: Regenerated.
31601         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31603 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31605         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31607         * sysdeps/x86_64/x32/ffs.c: New file.
31609         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31610         __syscall_ulong_t.
31611         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31612         defined.  Use __syscall_ulong_t.
31613         (shminfo): Use __syscall_ulong_t.
31614         (shm_info): Likewise.
31616         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31617         __syscall_ulong_t.
31619         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31620         <bits/wordsize.h>.
31621         (msgqnum_t): Use __syscall_ulong_t.
31622         (msglen_t): Likewise.
31623         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31624         __syscall_ulong_t.
31626         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31627         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31629         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31631         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31632         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31634         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31635         __syscall_slong_t.
31637         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31638         include <bits/wordsize.h>.  Check __x86_64__ instead of
31639         __WORDSIZE.
31641         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31642         "unsigned long long int" if __x86_64__ is defined.
31643         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31645         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31646         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31647         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31649         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31650         <stdint.h>.
31651         (GET_PC): Cast to uintptr_t first.
31652         (GET_FRAME): Likewise.
31653         (GET_STACK): Likewise.
31655         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31656         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31657         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31658         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31659         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31660         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31661         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31662         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31663         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31664         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31666         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31667         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31668         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31669         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31670         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31671         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31672         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31673         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31674         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31676         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31678         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31680         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31682         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31683         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31685 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31687         * Makerules (+depfiles): Also collect depfiles from .oS in
31688         $(extra-objs).
31689         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31690         .oS, $(libnldbl-routines)).
31692         * Makerules (native-compile-mkdep-flags): Define.
31693         * sunrpc/Makefile (extra-objs): Add $(addprefix
31694         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31695         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31696         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31697         calling $(make-target-directory).
31699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31701         * bits/types.h (__snseconds_t): Removed.
31702         * time/time.h (struct timespec): Replace __snseconds_t with
31703         __syscall_slong_t.
31704         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31705         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31706         Likewise.
31707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31708         (__SNSECONDS_T_TYPE): Likewise.
31709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31710         (__SNSECONDS_T_TYPE): Likewise.
31711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31712         (__SNSECONDS_T_TYPE): Likewise.
31714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31716         * sysdeps/mach/hurd/bits/typesizes.h
31717         (__SYSCALL_SLONG_TYPE): New macro.
31718         (__SYSCALL_ULONG_TYPE): Likewise.
31720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31722         * bits/types.h (__syscall_slong_t): New type.
31723         (__syscall_ulong_t): Likewise.
31725         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31726         (__SYSCALL_ULONG_TYPE): Likewise.
31727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31728         (__SYSCALL_SLONG_TYPE): Likewise.
31729         (__SYSCALL_ULONG_TYPE): Likewise.
31730         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31731         (__SYSCALL_SLONG_TYPE): Likewise.
31732         (__SYSCALL_ULONG_TYPE): Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31734         (__SYSCALL_SLONG_TYPE): Likewise.
31735         (__SYSCALL_ULONG_TYPE): Likewise.
31737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31739         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31740         Add sigaltstack-offsets.sym.
31741         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31742         <sigaltstack-offsets.h>.
31743         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31744         longjmp_msg pointer.
31745         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31746         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31747         signal stack.
31748         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31750 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31752         * elf/stackguard-macros.h: Remove file.
31753         * sysdeps/generic/stackguard-macros.h: New file.
31754         * sysdeps/i386/stackguard-macros.h: Likewise.
31755         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31756         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31757         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31758         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31759         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31760         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31761         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31762         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31763         <elf/stackguard-macros.h>.
31765         [BZ #14109]
31766         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31767         __aligned__ in attribute.
31768         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31769         (gregset_t): Likewise.
31771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31773         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31774         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31775         * sysdeps/x86_64/x32/Implies-after: New file.
31777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31779         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31780         and access return value for _dl_profile_fixup.  Use R10_LP to
31781         load frame size.
31783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31785         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31789         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31790         * sysdeps/x86_64/x32/sysdep.h: New file.
31792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31794         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31795         * sysdeps/x86_64/setjmp.S: Likewise.
31797 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31799         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31801         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31802         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31803         remove unused global constant.
31805 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31807         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31808         include of <not-cancel.h>.
31810 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31812         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31814 2012-05-15  Jeff Law  <law@redhat.com>
31815             Andreas Jaeger  <aj@suse.de>
31817         [BZ #13594]
31818         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31819         out from...
31820         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31821         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31822         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31823         code changing __hst_map_handle.map.
31825 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31827         * configure.in (sysnames): Look for Implies-before and Implies-after
31828         files.
31829         * configure: Regenerated.
31831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31833         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31834         8-byte data alignment with LP_SIZE alignment.
31836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31838         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31839         into R10_LP.
31841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31843         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31847         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31848         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31849         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31850         Likewise.
31851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31855         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31856         (stackinfo_sub_sp): Likewise.
31858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31861         RAX_LP.
31863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31865         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31866         into R*_LP.
31868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31871         sizes into R*_LP.
31873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31875         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31879         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31880         into R11_LP and load __x86_64_shared_cache_size_half into
31881         R8_LP.
31883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31885         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31886         R8_LP.
31888 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31891         logb for POWER7.
31892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31893         logbf for POWER7.
31894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31895         logbl for POWER7.
31896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31897         powerpc32/power7/fpu/s_logb.c via #include.
31898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31899         powerpc32/power7/fpu/s_logbf.c via #include.
31900         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31901         powerpc32/power7/fpu/s_logbl.c via #include.
31903 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31905         * README.libm: Remove file.
31907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31909         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31910         count for x32.  Use R*_LP and omit operand-size suffix.
31912 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31914         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31915         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31916         * sysdeps/x86_64/x32/shlib-versions: New file.
31918 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31920         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31921         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31922         Use _dl_fatal_printf instead.
31924 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31926         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31927         set if not set by the user.  Do not allow for being unset.
31928         * sysdeps/unix/sysv/linux/configure: Regenerated.
31930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31932         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31933         the `q' suffix from lea and replace .quad with ASM_ADDR.
31935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31938         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31939         instead of $17.
31940         (PTR_DEMANGLE): Likewise.
31942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31944         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31945         (LP_OP): Likewise.
31946         (ASM_ADDR): Likewise.
31947         (RAX_LP): Likewise.
31948         (RBP_LP): Likewise.
31949         (RBX_LP): Likewise.
31950         (RCX_LP): Likewise.
31951         (RDI_LP): Likewise.
31952         (RSI_LP): Likewise.
31953         (RSP_LP): Likewise.
31954         (R8_LP): Likewise.
31955         (R9_LP): Likewise.
31956         (R10_LP): Likewise.
31957         (R10_LP): Likewise.
31958         (R11_LP): Likewise.
31959         (R12_LP): Likewise.
31960         (R13_LP): Likewise.
31961         (R14_LP): Likewise.
31962         (R15_LP): Likewise.
31964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31966         * sysdeps/x86_64/x32/dl-machine.h: New file.
31968 2012-05-14  Andreas Jaeger  <aj@suse.de>
31970         * manual/Makefile (subdir): Remove export of subdir.
31971         (all): Remove target.
31972         (.PHONY): Remove all from list.
31973         (mkinstalldirs): Remove.
31974         (.PHONY): Remove installdirs from list.
31975         ($(inst_infodir)/libc.info): Use make-target-directory.
31976         (installdirs): Remove.
31977         (subdir_%): Remove.
31978         (glibc-targets): Remove.
31979         (lib): Remove.
31980         (stubs): Remove.
31981         ($(objpfx)stubs ../po/manual.pot): Remove.
31982         ($(objpfx)stamp%): Remove.
31983         (make-target-directory): Remove.
31984         (subdir_install): Remove.
31985         (routines): Remove.
31986         (aux): Remove.
31987         (sources): Remove.
31988         (objects): Remove.
31989         (headers): Remove.
31991         [BZ #13750]
31992         * manual/.gitignore: Remove, it's not needed anymore.
31993         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31994         all files in it.
31995         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31996         directory.
31997         (texis): Renamed to $(objpfx)texis.
31998         (texis-path): New, contains path to generated files.
31999         (chapters.%): Use texis-path for complete path, add extra argument
32000         libc-texinfo.sh.
32001         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32002         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32003         (summary,texi, stamp-summary): Use complete path of
32004         files. Generate files in build dir.
32005         (dir-add.texi): Build in build dir.
32006         (libm-err.texi,stamp-libm-err): Likewise.
32007         (version.texi, stamp-version): Likewise.
32008         (.%c.texi): Likewise.
32009         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32010         (mostlyclean): Remove target.
32011         (realclean): Remove target.
32012         (generated): Add new variable with contents from mostlyclean and
32013         realclean, remove entries duplicated in common-mostlyclean, add
32014         stamp-libm-err and stamp-version.
32015         (generated-dirs): Add libc directory.
32016         ($(inst_infodir)/libc.info): Install files from build dir.
32018         * manual/install.texi (Configuring and compiling): Adjust since
32019         the info files are not part of the tar ball anymore.
32021 2012-05-14  Andreas Jaeger  <aj@suse.de>
32023         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32024         variable.
32026 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32028         [BZ #13717]
32029         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32030         to 2.2.0 where earlier.
32031         * sysdeps/unix/sysv/linux/configure: Regenerated.
32032         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32033         Remove conditional code.
32034         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32035         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32036         Remove conditional code.
32037         [!__NR_lchown]: Likewise.
32038         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32039         [__NR_lchown]: Likewise.
32040         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32041         comment referencing __ASSUME_LCHOWN_SYSCALL.
32042         * sysdeps/unix/sysv/linux/i386/sigaction.c
32043         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32044         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32045         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32046         Remove conditional code.
32047         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32048         (__protocol_available): Remove #if 0 code.
32049         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32050         conditional code.
32051         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32052         * sysdeps/unix/sysv/linux/kernel-features.h
32053         (__ASSUME_GETCWD_SYSCALL): Don't define.
32054         (__ASSUME_REALTIME_SIGNALS): Likewise.
32055         (__ASSUME_PREAD_SYSCALL): Likewise.
32056         (__ASSUME_PWRITE_SYSCALL): Likewise.
32057         (__ASSUME_POLL_SYSCALL): Likewise.
32058         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32059         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32060         non-SPARC.
32061         (__ASSUME_SIOCGIFNAME): Don't define.
32062         (__ASSUME_MSG_NOSIGNAL): Likewise.
32063         (__ASSUME_SENDFILE): Define unconditionally.
32064         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32065         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32066         conditional code.
32067         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32068         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32069         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32070         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32071         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32072         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32073         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32075         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32078         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32081         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32084         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32087         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32090         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32093         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32098         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32099         Remove conditional code.
32100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32101         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32102         Remove conditional code.
32103         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32104         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32105         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32106         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32107         Remove conditional code.
32108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32109         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32110         Remove conditional code.
32111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32112         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32113         Remove conditional code.
32114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32115         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32116         Remove conditional code.
32117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32118         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32119         Remove conditional code.
32120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32121         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32122         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32124         * sysdeps/unix/sysv/linux/sigaction.c
32125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32127         * sysdeps/unix/sysv/linux/sigpending.c
32128         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32129         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32130         * sysdeps/unix/sysv/linux/sigprocmask.c
32131         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32132         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32133         * sysdeps/unix/sysv/linux/sigsuspend.c
32134         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32135         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32136         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32137         (__libc_missing_rt_sigs): Remove.
32138         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32139         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32140         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32141         Remove conditional code.
32142         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32143         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32144         return 1.
32145         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32146         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32147         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32148         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32150 2012-05-14  Andreas Jaeger  <aj@suse.de>
32152         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32153         it's not used in glibc.
32154         (__coshm1): Likewise.
32155         (__acosh1p): Likewise.
32156         (__sgn): Likewise.
32158         * manual/string.texi (Copying and Concatenation): Add missing
32159         variable in concat example.
32160         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32164         [BZ #14103]
32165         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32166         __builtin_clzl with __builtin_clzll.
32168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32170         [BZ #14104]
32171         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32172         libc_freeres_ptr.
32174 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32176         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32177         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32178         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32179         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32181 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32183         * NEWS: Update ia64 info.
32185 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32187         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32188         used as bcopy.
32190 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32192         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32193         * sysdeps/unix/syscalls.list (dup3): Likewise.
32194         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32195         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32197 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32199         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32200         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32202 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32204         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32205         thread pointer.
32206         (TLS_IE): Use mov/add instead of movq/addq to load thread
32207         pointer.
32208         (TLS_GD_PREFIX): New.
32209         (TLS_GD): Use it.
32211 2012-05-11  David S. Miller  <davem@davemloft.net>
32213         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32214         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32215         (_FPU_SETCW): Likewise.
32217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32219         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32220         is 32-byte aligned.
32222 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32224         [BZ #11837]
32225         * iconvdata/gb18030.c: Update tables.
32226         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32227         characters specially.
32228         (BODY for TO_LOOP): Add encoding of missing ranges.
32230 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32232         [BZ #13673]
32233         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32234         * sysdeps/mach/hurd/dup3.c: Likewise.
32235         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32236         * sysdeps/powerpc/memmove.c:: Likewise.
32238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32241         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32243 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32245         * elf/elf.h (R_X86_64_RELATIVE64): New.
32246         (R_X86_64_NUM): Updated.
32247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32248         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32249         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32250         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32251         tst-quad1pie tst-quad2pie
32252         (modules-names): Add tst-quadmod1 tst-quadmod2.
32253         ($(objpfx)tst-quad1): New dependency.
32254         ($(objpfx)tst-quad2): Likewise.
32255         ($(objpfx)tst-quad1pie): Likewise.
32256         ($(objpfx)tst-quad2pie): Likewise.
32257         * sysdeps/x86_64/tst-quad1.c: New file.
32258         * sysdeps/x86_64/tst-quad1pie.c: New file.
32259         * sysdeps/x86_64/tst-quad2.c: Likewise.
32260         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32261         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32262         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32263         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32264         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32268         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32269         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32270         * streams/stropts.h (t_scalar_t): Define type.
32272         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32273         (_PATH_PRESERVE): Set to "/var/lib".
32274         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32276         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32277         instead of int.
32279         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32280         if __dir_mkfile succeeded.
32282         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32283         checking for _hurd_dtablesize.  Unlock it right after having
32284         finished _hurd_dtable allocation.
32286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32288         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32289         * sysdeps/mach/hurd/configure: Regenerated.
32290         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32291         special-casing to...
32292         * sysdeps/gnu/configure.in: ... this new file.
32293         * sysdeps/unix/sysv/linux/configure: Regenerated.
32294         * sysdeps/gnu/configure: New generated file.
32296         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32297         for Linux: use nsec instead of usec, as well as:
32298         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32299         members of type struct timespec.
32300         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32301         New macros.
32302         (struct stat64): Likewise.
32303         (_STATBUF_ST_NSEC): New macro.
32304         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32306         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32307         __strtoul_internal rather than strtoul.
32309 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32311         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32312         and reject them.
32314 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32316         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32317         which preserves existing values.
32318         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32320 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32322         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32323         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32324         greater than FD_SETSIZE.
32326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32328         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32329         allocated, call __vm_protect to finish enabling the existing space, and
32330         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32331         allocate the remainder.
32333 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32335         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32336         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32340         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32341         sysdeps/mach/hurd/readlink.c.
32343         * posix/tst-sysconf.c (posix_options): Only use
32344         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32345         _POSIX_SYNCHRONIZED_IO when they are defined
32346         * sysdeps/mach/hurd/bits/posix_opt.h:
32347         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32348         (_XOPEN_REALTIME): Undefine macro.
32349         (_XOPEN_REALTIME_THREADS): Undefine macro.
32350         (_XOPEN_SHM): Undefine macro.
32351         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32352         macro to -1.
32353         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32354         macro to -1.
32355         (_POSIX_ASYNC_IO): Undefine macro.
32356         (_POSIX_PRIORITIZED_IO): Undefine macro.
32357         (_POSIX_SPIN_LOCKS): Define macro to -1.
32359         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32360         SA_NODEFER, SA_RESETHAND.
32361         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32362         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32363         F_DUPFD_CLOEXEC.
32365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32367         * elf/Makefile (pldd-modules): Define unconditionally.
32369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32371         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32375         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32376         Return ENOENT when name is empty.
32377         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32381         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32383         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32387         Fix mlock in all cases except non-readable pages.
32388         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32389         instead of VM_PROT_ALL as parameter to __vm_wire function.
32391         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32392         (__mkdir): When path is `/', just fail with EEXIST.
32393         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32397         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32398         <sys/uio.h> (for writev).
32399         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32400         and <sys/param.h> (for MIN).
32402 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32404         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32405         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32406         if interrupted.
32408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32410         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32411         Depend on against $(link-rpcuserlibs).
32413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32415         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32416         (__libc_stack_end): Do not use attribute_relro.
32417         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32418         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32419         to libthread-provided value.
32420         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32421         attribute_relro.
32423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32425         [BZ #3748]
32426         * bits/libc-lock.h (__libc_once_get): New macro.
32427         * sysdeps/mach/bits/libc-lock.h: Likewise.
32428         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32429         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32430         instead of using implementation details.
32432         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32433         * libio/freopen.c: Likewise.
32434         * libio/freopen64.c: Likewise.
32435         * misc/syslog.c: Likewise.
32436         * nscd/connections.c: Likewise.
32437         * nscd/netgroupcache.c: Likewise.
32438         * sysdeps/posix/getcwd.c: Likewise.
32440 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32442         * math/w_ilogbf.c: Add #include <limits.h>.
32444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32446         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32447         path instead of returning without unlocking.
32449         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32450         immediate-write ioctls.
32451         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32455         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32456         __builtin_frame_address instead of making assumptions about the
32457         location of the return address relative to DATA.  Force early load of
32458         the return address.
32459         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32460         __builtin_frame_address.
32462         dup3 for GNU Hurd.
32463         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32464         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32465         implement dup3 and do some further code clean-ups.
32466         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32467         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32471         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32473         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32474         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32475         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32476         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32477         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32478         d->port.lock.
32480         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32481         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32482         when handler == SIG_ERR, not when handler != SIG_ERR.
32484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32486         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32487         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32488         definitions.
32490         accept4 for GNU Hurd.
32491         * include/sys/socket.h (__libc_accept4): New prototype.
32492         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32493         to implement __libc_accept4.
32494         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32495         __libc_accept4.
32496         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32498         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32499         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32500         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32501         signal-defines.sym.
32503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32505         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32509         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32510         assertion on O_CLOEXEC flag.
32511         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32512         * hurd/intern-fd.c: Likewise.
32513         * hurd/port2fd.c: Likewise.
32515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32517         [BZ #3906]
32518         * bits/in.h (IPV6_PKTINFO): Define new macro.
32519         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32521 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32523         [BZ #13954]
32524         [BZ #13955]
32525         [BZ #13956]
32526         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32528         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32529         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32531         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32532         * math/libm-test.inc (logb_test) : Additional logb tests.
32534 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32535             Andreas Jaeger  <aj@suse.de>
32537         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32538         * configure: Regenerated.
32539         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32540         * config.make.in (link-obsolete-rpc): New substituted variable.
32541         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32542         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32543         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32544         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32545         so that libc.a contains the symbols.
32546         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32547         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32548         * sunrpc/auth_none.c: Likewise.
32549         * sunrpc/auth_unix.c: Likewise.
32550         * sunrpc/authdes_prot.c: Likewise.
32551         * sunrpc/authuxprot.c: Likewise.
32552         * sunrpc/clnt_gen.c: Likewise.
32553         * sunrpc/clnt_perr.c: Likewise.
32554         * sunrpc/clnt_raw.c: Likewise.
32555         * sunrpc/clnt_simp.c: Likewise.
32556         * sunrpc/clnt_tcp.c: Likewise.
32557         * sunrpc/clnt_udp.c: Likewise.
32558         * sunrpc/clnt_unix.c: Likewise.
32559         * sunrpc/des_crypt.c: Likewise.
32560         * sunrpc/des_soft.c: Likewise.
32561         * sunrpc/get_myaddr.c: Likewise.
32562         * sunrpc/key_call.c: Likewise.
32563         * sunrpc/key_prot.c: Likewise.
32564         * sunrpc/netname.c: Likewise.
32565         * sunrpc/pm_getmaps.c: Likewise.
32566         * sunrpc/pm_getport.c: Likewise.
32567         * sunrpc/pmap_clnt.c: Likewise.
32568         * sunrpc/pmap_prot.c: Likewise.
32569         * sunrpc/pmap_prot2.c: Likewise.
32570         * sunrpc/pmap_rmt.c: Likewise.
32571         * sunrpc/publickey.c: Likewise.
32572         * sunrpc/rpc_cmsg.c: Likewise.
32573         * sunrpc/rpc_common.c: Likewise.
32574         * sunrpc/rpc_dtable.c: Likewise.
32575         * sunrpc/rpc_prot.c: Likewise.
32576         * sunrpc/rpc_thread.c: Likewise.
32577         * sunrpc/rtime.c: Likewise.
32578         * sunrpc/svc.c: Likewise.
32579         * sunrpc/svc_auth.c: Likewise.
32580         * sunrpc/svc_raw.c: Likewise.
32581         * sunrpc/svc_run.c: Likewise.
32582         * sunrpc/svc_tcp.c: Likewise.
32583         * sunrpc/svc_udp.c: Likewise.
32584         * sunrpc/svc_unix.c: Likewise.
32585         * sunrpc/svcauth_des.c: Likewise.
32586         * sunrpc/xcrypt.c: Likewise.
32587         * sunrpc/xdr.c: Likewise.
32588         * sunrpc/xdr_array.c: Likewise.
32589         * sunrpc/xdr_float.c: Likewise.
32590         * sunrpc/xdr_intXX_t.c: Likewise.
32591         * sunrpc/xdr_mem.c: Likewise.
32592         * sunrpc/xdr_rec.c: Likewise.
32593         * sunrpc/xdr_ref.c: Likewise.
32594         * sunrpc/xdr_sizeof.c: Likewise.
32595         * sunrpc/xdr_stdio.c: Likewise.
32597 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32600         change.  Update copyright years.
32602 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32604         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32606 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32607             Joseph Myers  <joseph@codesourcery.com>
32608             Paul Pluzhnikov  <ppluzhnikov@google.com>
32610         [BZ #14012]
32611         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32612         requiring rpcgen.
32613         [cross-compiling] (extra-libs): Likewise.
32614         [cross-compiling] (extra-libs-others): Likewise.
32615         [cross-compiling] (librpcsvc-routines): Likewise.
32616         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32617         [cross-compiling] (omit-deps): Likewise.
32618         (sunrpc-CPPFLAGS): New variable.
32619         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32620         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32621         (cross-rpcgen-objs): New variable.
32622         (extra-objs): Append $(cross-rpcgen-objs).
32623         ($(cross-rpcgen-objs)): New rule.
32624         ($(objpfx)cross-rpcgen): Likewise.
32625         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32626         comment.
32627         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32628         ($(objpfx)x%.stmp): Likewise.
32629         * sunrpc/proto.h [IS_IN_build] (_): Define.
32630         [IS_IN_build] (_libc_intl_domainname): Likewise.
32632 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32635         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32636         and R_X86_64_TPOFF64.
32638 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32640         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32641         sysdeps/unix/sysv/syscalls.list.
32642         (stime): Likewise.
32643         (utime): Likewise.
32644         * sysdeps/unix/sysv/syscalls.list: Remove file.
32646 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32648         [BZ #3440]
32649         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32650         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32651         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32652         (__LC_IDENTIFICATION): Make these macros useful in #if
32653         expressions, as required by C99.
32655 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32657         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32658         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32659         after this.
32661 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32663         * stdlib/longlong.h: Updated from GCC.
32665 2012-05-09  Andreas Jaeger  <aj@suse.de>
32667         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32668         default is first entry.
32669         (run_mode): Set type.
32670         (main): Remove informal message about syslog.
32671         (options): Fix typo.
32673         [BZ #14053]
32674         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32675         to asm.
32676         (lrint): Likewise.
32677         (llrintf): Likewise.
32678         (llrint): Likewise.
32679         (rint): Likewise.
32680         (rintf): Likewise.
32681         (nearbyint): Likewise.
32682         (nearbyintf): Likewise.
32684 2012-05-09  Andreas Jaeger  <aj@suse.de>
32685             Pedro Alves  <palves@redhat.com>
32687         * nscd/nscd.c (run_mode): Use enum.
32688         (main): Cleanup coding style issue.
32690 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32691             Andreas Jaeger  <aj@suse.de>
32693         * nscd/nscd.c (go_background): Replaced with...
32694         (run_mode): ... this.
32695         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32696         (options): Add -F --foreground.
32697         (main): Implement it.
32698         (parse_opt): Parse it.
32700 2012-05-09  Andreas Jaeger  <aj@suse.de>
32702         [BZ #14083]
32703         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32704         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32705         -Wconversion warning.
32706         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32707         Likewise.
32709 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32711         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32712         == 0.
32713         (LC_ALL): Use macro-int-constant.
32714         (LC_COLLATE): Likewise.
32715         (LC_CTYPE): Likewise.
32716         (LC_MESSAGES): Likewise.
32717         (LC_MONETARY): Likewise.
32718         (LC_NUMERIC): Likewise.
32719         (LC_TIME): Likewise.
32720         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32721         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32723         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32724         Specify type.
32725         [C99-based standards] (float_t): Expect type.
32726         [C99-based standards] (double_t): Expect type.
32727         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32728         type.
32729         [C99-based standards] (HUGE_VALL): Likewise.
32730         [C99-based standards] (INFINITY): Likewise.
32731         [C99-based standards] (NAN): Likewise.
32732         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32733         [C99-based standards] (FP_NAN): Likewise.
32734         [C99-based standards] (FP_NORMAL): Likewise.
32735         [C99-based standards] (FP_SUBNORMAL): Likewise.
32736         [C99-based standards] (FP_ZERO): Likewise.
32737         [C99-based standards] (FP_FAST_FMA): Use
32738         optional-macro-int-constant.  Specify type.  Require == 1.
32739         [C99-based standards] (FP_FAST_FMAF): Likewise.
32740         [C99-based standards] (FP_FAST_FMAL): Likewise.
32741         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32742         [C99-based standards] (FP_ILOGBNAN): Likewise.
32743         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32744         Specify type.
32745         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32746         [C99-based standards] (math_errhandling): Specify type.
32747         [ISO99 || ISO11] (signgam): Do not allow.
32748         [non-C99-based standards] (copysignf): Do not allow.
32749         [non-C99-based standards] (exp2f): Likewise.
32750         [non-C99-based standards] (log2f): Likewise.
32751         [non-C99-based standards] (modff): Allow.
32752         [non-C99-based standards] (erff): Do not allow.
32753         [non-C99-based standards] (erfcf): Likewise.
32754         [non-C99-based standards] (gammaf): Likewise.
32755         [non-C99-based standards] (hypotf): Likewise.
32756         [non-C99-based standards] (j0f): Likewise.
32757         [non-C99-based standards] (j1f): Likewise.
32758         [non-C99-based standards] (jnf): Likewise.
32759         [non-C99-based standards] (lgammaf): Likewise.
32760         [non-C99-based standards] (tgammaf): Likewise.
32761         [non-C99-based standards] (y0f): Likewise.
32762         [non-C99-based standards] (y1f): Likewise.
32763         [non-C99-based standards] (ynf): Likewise.
32764         [non-C99-based standards] (isnanf): Likewise.
32765         [non-C99-based standards] (acoshf): Likewise.
32766         [non-C99-based standards] (asinhf): Likewise.
32767         [non-C99-based standards] (atanhf): Likewise.
32768         [non-C99-based standards] (cbrtf): Likewise.
32769         [non-C99-based standards] (expm1f): Likewise.
32770         [non-C99-based standards] (ilogbf): Likewise.
32771         [non-C99-based standards] (log1pf): Likewise.
32772         [non-C99-based standards] (logbf): Likewise.
32773         [non-C99-based standards] (nextafterf): Likewise.
32774         [non-C99-based standards] (remainderf): Likewise.
32775         [non-C99-based standards] (rintf): Likewise.
32776         [non-C99-based standards] (scalbf): Likewise.
32777         [non-C99-based standards] (copysignl): Likewise.
32778         [non-C99-based standards] (exp2l): Likewise.
32779         [non-C99-based standards] (log2l): Likewise.
32780         [non-C99-based standards] (modfl): Allow.
32781         [non-C99-based standards] (erfl): Do not allow.
32782         [non-C99-based standards] (erfcl): Likewise.
32783         [non-C99-based standards] (gammal): Likewise.
32784         [non-C99-based standards] (hypotl): Likewise.
32785         [non-C99-based standards] (j0l): Likewise.
32786         [non-C99-based standards] (j1l): Likewise.
32787         [non-C99-based standards] (jnl): Likewise.
32788         [non-C99-based standards] (lgammal): Likewise.
32789         [non-C99-based standards] (tgammal): Likewise.
32790         [non-C99-based standards] (y0l): Likewise.
32791         [non-C99-based standards] (y1l): Likewise.
32792         [non-C99-based standards] (ynl): Likewise.
32793         [non-C99-based standards] (isnanl): Likewise.
32794         [non-C99-based standards] (acoshl): Likewise.
32795         [non-C99-based standards] (asinhl): Likewise.
32796         [non-C99-based standards] (atanhl): Likewise.
32797         [non-C99-based standards] (cbrtl): Likewise.
32798         [non-C99-based standards] (expm1l): Likewise.
32799         [non-C99-based standards] (ilogbl): Likewise.
32800         [non-C99-based standards] (log1pl): Likewise.
32801         [non-C99-based standards] (logbl): Likewise.
32802         [non-C99-based standards] (nextafterl): Likewise.
32803         [non-C99-based standards] (remainderl): Likewise.
32804         [non-C99-based standards] (rintl): Likewise.
32805         [non-C99-based standards] (scalbl): Likewise.
32806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32807         [non-C99-based standards] (FP_*): Do not allow.
32808         [C99-based standards] (FP_*): Change to
32809         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32810         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32811         allow.
32812         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32813         (SIG_ERR): Likewise.
32814         [X/Open-based standards] (SIG_HOLD): Likewise.
32815         (SIG_IGN): Likewise.
32816         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32817         positive value.
32818         (SIGFPE): Likewise.
32819         (SIGILL): Likewise.
32820         (SIGINT): Likewise.
32821         (SIGSEGV): Likewise.
32822         (SIGTER): Likewise.
32823         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32824         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32825         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32826         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32827         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32828         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32829         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32830         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32831         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32832         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32833         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32834         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32835         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32836         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32837         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32838         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32839         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32840         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32841         [X/Open-based standards] (SIGTRAP): Likewise.
32842         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32843         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32844         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32845         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32846         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32847         allow.
32849 2012-05-08  Ian Wienand  <ianw@vmware.com>
32851         [BZ #14080]
32852         * time/tzset.c (__tzset_parse_tz): Update default rules for
32853         daylight time changes in the Energy Policy Act of 2005.
32855 2012-05-09  Andreas Jaeger  <aj@suse.de>
32857         [BZ #13983]
32858         * elf/ldconfig.c (parse_conf): Change string to make clear that
32859         ldconfig only issued a warning if ld.so.conf does not exist.
32861 2012-05-08  David S. Miller  <davem@davemloft.net>
32863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32864         movxtod instead of popping the value on the stack.
32866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32868 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32870         * config.h.in: Add HAVE_ARM_PCS_VFP.
32872 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32874         [BZ #13979]
32875         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32876         checking but the checks are disabled for any reason.
32878 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32880         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32881         and ELF64_R_TYPE with ELFW(R_TYPE).
32883 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32885         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32886         (ulimit): Likewise.
32888         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32889         (settimeofday): Likewise.
32891 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32893         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32894         a struct th_u2 inside the union, and move tu_block/tu_code into
32895         a new th_u3 union of tu_block/tu_code inside of that.  Move
32896         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32897         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32898         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32899         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32900         (th_stuff): Change to th_u1.tu_stuff.
32901         (th_data): Define.
32902         (th_msg): Change to th_u1.th_u2.tu_data.
32904 2012-05-07  David S. Miller  <davem@davemloft.net>
32906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32908         [BZ #14074]
32909         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32910         (SETUP_PIC_REG): Use it.
32911         (SETUP_PIC_REG_LEAF): Use it.
32913 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32915         [BZ #13885]
32916         [BZ #13923]
32917         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32918         USE_AS_EXPM1L.
32919         (EXPL_FINITE): Likewise.
32920         (FLDLOG): Likewise.
32921         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32922         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32923         e_expl.S.
32924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32925         USE_AS_EXPM1L.
32926         (EXPL_FINITE): Likewise.
32927         (FLDLOG): Likewise.
32928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32929         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32930         e_expl.S.
32931         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32932         test of -max_value argument for long double.
32933         * sysdeps/i386/fpu/libm-test-ulps: Update.
32934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32936 2012-05-06  David S. Miller  <davem@davemloft.net>
32938         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32939         quad soft-float symbols whose references which are compiler
32940         generated.
32941         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32943 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32945         [BZ #13884]
32946         [BZ #13914]
32947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32948         USE_AS_EXP10L.
32949         (EXPL_FINITE): Likewise.
32950         (FLDLOG): Likewise.
32951         (c0): Likewise.
32952         (c1): Likewise.
32953         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32954         Adjust comments for base varying.
32955         (__expl_finite): Change alias to EXPL_FINITE.
32956         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32957         e_expl.S.
32958         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32959         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32961         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32962         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32963         USE_AS_EXP10L.
32964         (EXPL_FINITE): Likewise.
32965         (FLDLOG): Likewise.
32966         (c0): Likewise.
32967         (c1): Likewise.
32968         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32969         Adjust comments for base varying.
32970         (__expl_finite): Change alias to EXPL_FINITE.
32971         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32972         tests for bugs.
32973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32975         [BZ #14064]
32976         * math/libm-test.inc (check_float_internal): Correct ulp
32977         calculation for subnormal expected results.
32979 2012-05-06  Andreas Jaeger  <aj@suse.de>
32981         * Makeconfig (+math-flags): New, set to -frounding-math.
32982         (+cflags): Add +math-flags so that all of glibc gets compiled with
32983         it.
32985         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32987 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32989         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32990         Disable one test.
32992         [BZ #13787]
32993         [BZ #13922]
32994         [BZ #14036]
32995         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32996         (__ieee754_expl): Allow for and saturate large arguments.
32997         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32998         (u_threshold): Likewise.
32999         (__exp): Call __ieee754_exp before checking for overflow and
33000         underflow.
33001         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33002         (u_threshold): Likewise.
33003         (__expf): Call __ieee754_expf before checking for overflow and
33004         underflow.
33005         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33006         (u_threshold): Likewise.
33007         (__expl): Call __ieee754_expl before checking for overflow and
33008         underflow.
33009         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33010         (__ieee754_expl): Allow for and saturate large arguments.
33011         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33012         missing overflow exception on overflow.
33013         (expm1_test): Do not allow missing overflow exception on overflow.
33015         * sysdeps/i386/fpu/e_expl.c: Move to ...
33016         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33017         rather than using inline asm.
33018         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33019         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33020         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33022         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33023         (nice): Likewise.
33024         (poll): Likewise.
33025         (signal): Likewise.
33026         (time): Likewise.
33027         (times): Likewise.
33029 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33031         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33032         sysdeps/unix/common/syscalls.list.
33033         (fchmod): Likewise.
33034         (fchown): Likewise.
33035         (ftruncate): Likewise.
33036         (getrusage): Likewise.
33037         (gettimeofday): Likewise.
33038         (setpgid): Likewise.
33039         (setregid): Likewise.
33040         (setreuid): Likewise.
33041         (sigaction): Likewise.
33042         (truncate): Likewise.
33043         (vhangup): Likewise.
33044         * sysdeps/unix/common/syscalls.list: Remove file.
33045         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33046         * sysdeps/unix/sysv/linux/Implies: Likewise.
33048 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33050         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33052         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33053         Moved to ...
33054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33055         Here.
33056         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33057         to ...
33058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33059         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33060         to ...
33061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33062         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33063         to ...
33064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33065         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33066         to ...
33067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33068         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33069         to ...
33070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33071         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33072         to ...
33073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33074         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33075         to ...
33076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33077         Here.
33078         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33079         to ...
33080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33081         Here.
33082         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33083         to ...
33084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33085         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33086         Moved to ...
33087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33088         Here.
33089         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33090         to ...
33091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33095         * sysdeps/unix/common/bits/dirent.h: Remove file.
33096         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33098         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33099         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33100         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33101         * sysdeps/unix/bsd/isatty.c: Likewise.
33102         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33103         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33104         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33106 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33108         [BZ #13563]
33109         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33110         long double comparison inaccuracies.
33111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33114 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33116         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33119 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33121         [BZ #14049]
33122         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33123         nonzero digits before rounding a hex value.
33124         * stdlib/tst-strtod.c (tests): Add another test.
33126 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33128         * sysdeps/s390/fpu/libm-test-ulps: Update.
33130 2012-05-03  Andreas Jaeger  <aj@suse.de>
33132         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33133         does not get optimized out.
33134         (malloc_opt_barrier): New.
33136 2012-05-03  Andreas Jaeger  <aj@suse.de>
33137             Roland McGrath  <roland@hack.frob.com>
33139         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33140         intermediate file deletion.
33141         (generated): Add .symlist files.
33143 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #13775]
33146         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33147         Redirect under this condition.
33148         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33149         [__USE_GNU] (__dprintf_chk): Not under this condition.
33150         [__USE_GNU] (__vdprintf_chk): Likewise.
33151         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33152         under this condition.
33153         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33154         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33155         [__USE_XOPEN2K8] (vdprintf): Likewise.
33156         [__USE_GNU] (__dprintf_chk): Not under this condition.
33157         [__USE_GNU] (__vdprintf_chk): Likewise.
33158         [__USE_GNU] (dprintf): Likewise.
33159         [__USE_GNU] (vdprintf): Likewise.
33161 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33163         * elf/Makefile (common-generated): Set this instead of generated for
33164         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33165         $(all-built-dso)-derived lists.
33167 2012-05-03  Andreas Jaeger  <aj@suse.de>
33169         * sysdeps/i386/fpu/libm-test-ulps: Update.
33171         * FAQ: Removed.
33172         * FAQ.in: Likewise.
33173         * scripts/gen-FAQ.pl: Likewise.
33174         * manual/install.texi (Installation): Point to online location of
33175         FAQ.
33176         * Makefile (files-for-dist): Remove FAQ.
33177         (FAQ): Remove.
33179 2012-05-02  Allan McRae  <allan@archlinux.org>
33181         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33182         (LDFLAGS-reldepmod5.so): Likewise.
33183         (LDFLAGS-reldep6mod1.so): Likewise.
33184         (LDFLAGS-reldep6mod4.so): Likewise.
33185         (LDFLAGS-reldep8mod3.so): Likewise.
33186         (LDFLAGS-unload4mod1.so): Likewise.
33187         (LDFLAGS-unload4mod2.so): Likewise.
33188         (LDFLAGS-tst-initorder): Likewise.
33189         (LDFLAGS-tst-initordera2.so): Likewise.
33190         (LDFLAGS-tst-initordera3.so): Likewise.
33191         (LDFLAGS-tst-initordera4.so): Likewise.
33192         (LDFLAGS-tst-initorderb2.so): Likewise.
33193         (LDFLAGS-noload): Likewise.
33194         (LDFLAGS-next): Likewise.
33195         (LDFLAGS-order2mod1.so): Likewise.
33196         (LDFLAGS-order2mod2.so): Likewise.
33197         (LDFLAGS-tst-initorder2): Likewise.
33198         (LDFLAGS-tst-initorder2a.so): Likewise.
33199         (LDFLAGS-tst-initorder2b.so): Likewise.
33200         (LDFLAGS-tst-initorder2c.so): Likewise.
33201         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33203 2012-05-02  David S. Miller  <davem@davemloft.net>
33205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33207 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33209         [BZ #14055]
33210         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33212 2012-05-02  Andreas Jaeger  <aj@suse.de>
33214         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33215         since we manipulate rounding mode.
33216         (CPPFLAGS-test-idouble.c): Likewise.
33217         (CPPFLAGS-test-ifloat.c): Likewise.
33218         (CFLAGS-test-ldouble.c): Likewise.
33219         (CFLAGS-test-double.c): Likewise.
33220         (CFLAGS-test-float.c): Likewise.
33221         (CFLAGS-test-misc.c): Likewise.
33222         (CFLAGS-test-test-fenv.c): Likewise.
33224 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33226         [BZ #2550]
33227         [BZ #2570]
33228         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33229         comparisons to determine direction to adjust input.
33231 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33233         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33234         output to the target.
33236         * scripts/localplt.awk: New file.
33237         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33238         (check-localplt-CFLAGS): Variable removed.
33239         ($(all-built-dso:=.jmprel)): New static pattern rule.
33240         (generated): Add those targets.
33241         (localplt-built-dso): New variable.
33242         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33244         * elf/check-localplt.c: File removed.
33246         * scripts/check-execstack.awk: New file.
33247         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33248         (check-execstack-CFLAGS): Variable removed.
33249         ($(objpfx)check-execstack.h): Target removed.
33250         ($(objpfx)execstack-default): New target.
33251         (generated): Add that instead of check-execstack.h.
33252         ($(all-built-dso:=.phdr)): New static pattern rule.
33253         (generated): Add those targets.
33254         * elf/check-execstack.c: File removed.
33256         * scripts/check-textrel.awk: New file.
33257         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33258         (check-textrel-CFLAGS): Variable removed.
33259         (all-built-dso): Use := to define.o
33260         ($(all-built-dso:=.dyn)): New static pattern rule.
33261         (generated): Add those targets.
33262         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33263         * config.make.in (READELF): New substituted variable.
33264         * elf/check-textrel.c: File removed.
33266 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33268         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33269         allow.
33270         * conform/data/ctype.h-data [C99-based standards] (isblank):
33271         Expect function.
33272         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33273         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33275         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33276         Specify type.  Require positive value.
33277         (EILSEQ): Likewise.
33278         (ERANGE): Likewise.
33279         [ISO || POSIX] (EILSEQ): Do not expect.
33280         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33281         Specify type.  Require positive value.
33282         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33283         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33284         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33285         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33286         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33287         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33288         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33289         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33290         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33291         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33292         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33293         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33294         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33295         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33296         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33297         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33298         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33299         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33300         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33301         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33302         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33303         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33304         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33305         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33306         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33307         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33308         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33309         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33310         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33311         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33312         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33313         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33314         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33315         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33316         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33317         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33318         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33319         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33320         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33321         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33322         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33323         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33324         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33325         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33326         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33327         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33328         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33329         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33330         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33331         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33332         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33333         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33334         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33335         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33336         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33337         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33338         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33339         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33340         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33341         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33342         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33343         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33344         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33345         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33346         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33347         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33348         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33349         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33350         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33351         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33352         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33353         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33354         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33355         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33356         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33357         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33358         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33359         Require >= 2.
33360         (FLT_ROUNDS): Expect as macro, not constant.
33361         (FLT_MANT_DIG): Use macro-int-constant.
33362         (DBL_MANT_DIG): Likewise.
33363         (LDBL_MANT_DIG): Likewise.
33364         (FLT_DIG): Likewise.
33365         (DBL_DIG): Likewise.
33366         (LDBL_DIG): Likewise.
33367         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33368         (DBL_MIN_EXP): Likewise.
33369         (LDBL_MIN_EXP): Likewise.
33370         (FLT_MAX_EXP): Use macro-int-constant.
33371         (DBL_MAX_EXP): Likewise.
33372         (LDBL_MAX_EXP): Likewise.
33373         (FLT_MAX_10_EXP): Likewise.
33374         (DBL_MAX_10_EXP): Likewise.
33375         (LDBL_MAX_10_EXP): Likewise.
33376         (FLT_MAX): Use macro-constant.
33377         (DBL_MAX): Likewise.
33378         (LDBL_MAX): Likewise.
33379         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33380         (DBL_EPSILON): Likewise.
33381         (LDBL_EPSILON): Likewise.
33382         (FLT_MIN): Likewise.
33383         (DBL_MIN): Likewise.
33384         (LDBL_MIN): Likewise.
33385         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33386         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33387         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33388         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33389         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33390         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33391         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33392         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33393         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33394         [ISO11] (FLT_TRUE_MIN): Likewise.
33395         [ISO11] (LDBL_TRUE_MIN): Likewise.
33396         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33397         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33398         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33399         (SCHAR_MAX): Likewise.
33400         (UCHAR_MAX): Likewise.
33401         (CHAR_MIN): Likewise.
33402         (CHAR_MAX): Likewise.
33403         (MB_LEN_MAX): Use macro-int-constant.
33404         (SHRT_MIN): Use macro-int-constant.  Specify type.
33405         (SHRT_MAX): Likewise.
33406         (USHRT_MAX): Likewise.
33407         (INT_MAX): Likewise.
33408         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33409         bound negative.
33410         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33411         bound with "U".
33412         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33413         bound with "L".
33414         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33415         bound negative.  Suffix upper bound with "L".
33416         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33417         bound with "UL".
33418         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33419         Specify type.
33420         [C99-based standards] (LLONG_MAX): Likewise.
33421         [C99-based standards] (ULLONG_MAX): Likewise.
33422         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33423         == 0.
33424         [ISO11] (max_align_t): Require type.
33425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33427         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33428         from $CFLAGS, without defining away __attribute__ calls.
33429         (checknamespace): Use $CFLAGS_namespace.
33431         * conform/conformtest.pl (@keywords): Only include C99 keywords
33432         for standards based on C99 or C11.
33434         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33435         Disable tests.
33436         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33437         UNIX98]: Likewise.
33439         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33440         usability of symbols in #if.
33442         * conform/conformtest.pl: If macro or constant types start
33443         "promoted:", expect the symbol to be of the following type
33444         promoted by the integer promotions.
33446         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33447         in one place.  Also handle "macro-constant".
33449         * conform/conformtest.pl: Only accept expected macro values with
33450         "==".  Parse all "macro" lines in one place.
33451         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33453         * conform/conformtest.pl: Handle braced types on "constant" lines
33454         instead of handling "typed-constant".
33455         * conform/data/signal.h-data: Use "constant" instead of
33456         "typed-constant".
33458         * conform/conformtest.pl: Handle "optional-" at start of lines in
33459         one place rather than duplicating several cases.  Handle each
33460         format of "macro" line with initial "optional-".
33462         * conform/conformtest.pl: Only accept expected constant or
33463         optional-constant values with "==".  Parse all "constant" lines in
33464         one place.  Parse all "optional-constant" lines in one place.
33465         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33466         * conform/data/fmtmsg.h-data: Likewise.
33467         * conform/data/netinet/in.h-data: Likewise.
33468         * conform/data/tar.h-data: Likewise.
33469         * conform/data/limits.h-data: Use "==" form on "constant" and
33470         "optional-constant" lines.
33472         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33473         Use -std=c99 for XOPEN2K.
33474         (@knownproblems): Remove.
33475         (newtoken): Don't check %isknown.
33477         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33478         Do not expect macro.
33479         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33480         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33481         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33482         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33483         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33484         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33485         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33486         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33487         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33488         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33489         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33490         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33491         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33492         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33493         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33494         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33495         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33496         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33497         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33498         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33499         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33500         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33501         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33502         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33503         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33504         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33505         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33506         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33507         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33508         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33509         [XPG3] (acosh): Likewise.
33510         [XPG3] (asinh): Likewise.
33511         [XPG3] (atanh): Likewise.
33512         [XPG3] (cbrt): Likewise.
33513         [XPG3] (expm1): Likewise.
33514         [XPG3] (ilogb): Likewise.
33515         [XPG3] (log1p): Likewise.
33516         [XPG3] (logb): Likewise.
33517         [XPG3] (nextafter): Likewise.
33518         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33519         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33520         [XPG3] (remainder): Likewise.
33521         [XPG3] (rint): Likewise.
33522         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33523         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33524         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33525         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33526         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33527         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33528         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33529         [UNIX98 || XOPEN2K] (scalb): Expect.
33530         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33531         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33532         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33533         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33534         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33535         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33536         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33537         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33538         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33539         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33540         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33541         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33542         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33543         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33544         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33545         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33546         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33547         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33548         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33549         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33550         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33551         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33552         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33553         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33554         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33555         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33556         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33557         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33558         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33559         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33560         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33561         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33562         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33563         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33564         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33565         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33566         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33567         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33568         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33569         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33570         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33571         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33572         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33573         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33574         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33575         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33576         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33577         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33578         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33579         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33580         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33581         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33582         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33583         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33584         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33585         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33586         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33587         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33588         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33589         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33590         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33591         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33592         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33593         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33594         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33595         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33596         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33597         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33598         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33599         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33600         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33601         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33602         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33603         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33604         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33605         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33606         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33607         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33608         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33609         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33610         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33611         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33612         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33613         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33614         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33615         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33616         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33617         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33618         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33619         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33620         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33621         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33622         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33623         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33624         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33625         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33626         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33627         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33628         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33629         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33630         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33631         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33632         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33633         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33634         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33635         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33636         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33637         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33638         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33639         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33640         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33641         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33642         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33643         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33644         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33645         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33646         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33647         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33648         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33649         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33650         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33651         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33652         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33653         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33654         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33655         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33656         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33657         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33658         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33659         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33660         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33661         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33662         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33663         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33664         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33665         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33666         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33668         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33669         _XOPEN_SOURCE_EXTENDED for XPG4.
33671         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33673         * Makeconfig (localtime): Remove variable.
33674         (inst_localtime-file): Likewise.
33676 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33679         Update.
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33681         Update.
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33683         Update.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33685         Update.
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33687         Update.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33689         Update.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33691         Update.
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33693         Update.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33695         Update.
33697 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33699         [BZ #2550]
33700         [BZ #2570]
33701         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33702         comparisons to determine direction to adjust input.
33703         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33704         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33705         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33706         Likewise.
33707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33708         Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33710         Likewise.
33711         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33712         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33713         Likewise.
33714         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33715         Likewise.
33716         * math/libm-test.inc (nexttoward_test): Add more tests.
33718 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33720         [BZ #14040]
33721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33722         in version GLIBC_2.1, not GLIBC_2.0.
33723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33724         Likewise.
33726 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33728         [BZ #13942]
33729         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33730         (1 - x) * (1 + x).
33731         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33732         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33733         * math/libm-test.inc (acos_test): Add more tests.
33734         (asin_test): Likewise.
33735         * sysdeps/i386/fpu/libm-test-ulps: Update.
33736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33738         [BZ #14034]
33739         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33740         of square root.
33741         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33742         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33743         * math/libm-test.inc (acos_test_tonearest): New function.
33744         (acos_test_towardzero): Likewise.
33745         (acos_test_downward): Likewise.
33746         (acos_test_upward): Likewise.
33747         (asin_test_tonearest): Likewise.
33748         (asin_test_towardzero): Likewise.
33749         (asin_test_downward): Likewise.
33750         (asin_test_upward): Likewise.
33751         (main): Call the new functions.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33755         [BZ #13884]
33756         [BZ #13924]
33757         * math/e_exp10.c: Include <float.h>.
33758         (__ieee754_exp10): Handle underflow here rather than multiplying
33759         large negative argument by M_LN10.
33760         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33761         of __ieee754_expf.
33762         * math/e_exp10l.c: Include <float.h>.
33763         (__ieee754_exp10l): Handle underflow here rather than multiplying
33764         large negative argument by M_LN10l.
33765         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33766         spurious overflow exception on underflow.
33768 2012-04-29  Marek Polacek  <polacek@redhat.com>
33770         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33771         (__fortify_function): New macro.
33772         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33773         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33774         __extern_always_inline.
33775         * libio/bits/stdio2.h: Likewise.
33776         * libio/bits/stdio.h: Likewise.
33777         * string/string.h: Likewise.
33778         * string/bits/string3.h: Likewise.
33779         * include/stdio.h: Likewise.
33780         * stdlib/bits/stdlib.h: Likewise.
33781         * stdlib/stdlib.h: Likewise.
33782         * rt/bits/mqueue2.h: Likewise.
33783         * rt/mqueue.h: Likewise.
33784         * posix/bits/unistd.h: Likewise.
33785         * posix/unistd.h: Likewise.
33786         * io/bits/poll2.h: Likewise.
33787         * io/bits/fcntl2.h: Likewise.
33788         * io/fcntl.h: Likewise.
33789         * io/sys/poll.h: Likewise.
33790         * misc/bits/syslog.h: Likewise.
33791         * misc/bits/syslog-ldbl.h: Likewise.
33792         * misc/sys/syslog.h: Likewise.
33793         * socket/bits/socket2.h: Likewise.
33794         * socket/sys/socket.h: Likewise.
33795         * debug/tst-chk1.c: Likewise.
33796         * wcsmbs/bits/wchar2.h: Likewise.
33797         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33798         * wcsmbs/wchar.h: Likewise.
33800 2012-04-29  Andreas Jaeger  <aj@suse.de>
33802         * Makerules (tests): Remove enable-check-abi protection.
33803         (check-abi-warn): Remove.
33804         (check-abi-%): Remove check-abi-warn usage.
33806         * configure.in: Remove check-abi configure option.
33807         * configure: Regenerated.
33808         * config.make.in (enable-check-abi): Remove.
33810 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33812         [BZ #14033]
33813         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33814         double functions to double *_finite functions.
33816         [BZ #13941]
33817         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33818         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33819         LDBL_MIN_EXP.
33820         * stdio-common/Makefile (tests): Add tst-sprintf3.
33821         * stdio-common/tst-sprintf3.c: New file.
33823         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33824         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33826 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33828         * conform/conformtest.pl: Remove duplicate typed-constant
33829         handling.
33831 2012-04-28  David S. Miller  <davem@davemloft.net>
33833         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33834         (check-abi-%): Remove AWK script prerequisite and explicit
33835         abilist directory.
33836         (check-abi): Rewrite to just diff the symlist with the abilist.
33837         (config-tls, config-abi-config): Delete, no longer used.
33838         (update-abi-%): Remove AWK script and explicit abilist directory.
33839         (update-abi): Rewrite to simply compare and conditionally copy the
33840         symlist and the sysdep abilist file.  Remove update-abi-config
33841         checks.
33842         * abilist/ld.abilist: Remove.
33843         * abilist/libBrokenLocale.abilist: Remove.
33844         * abilist/libanl.abilist: Remove.
33845         * abilist/libcrypt.abilist: Remove.
33846         * abilist/libdl.abilist: Remove.
33847         * abilist/librt.abilist: Remove.
33848         * abilist/libthread_db.abilist: Remove.
33849         * abilist/libutil.abilist: Remove.
33850         * scripts/extract-abilist.awk: Remove.
33851         * scripts/merge-abilist.awk: Remove.
33852         * sysdeps/generic/libcidn.abilist: New file.
33853         * sysdeps/generic/libnss_compat.abilist: New file.
33854         * sysdeps/generic/libnss_db.abilist: New file.
33855         * sysdeps/generic/libnss_dns.abilist: New file.
33856         * sysdeps/generic/libnss_files.abilist: New file.
33857         * sysdeps/generic/libnss_hesiod.abilist: New file.
33858         * sysdeps/generic/libnss_nis.abilist: New file.
33859         * sysdeps/generic/libnss_nisplus.abilist: New file.
33860         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33861         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33862         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33863         file.
33864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33865         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33866         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33867         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33868         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33869         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33870         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33871         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33872         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33873         file.
33874         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33875         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33876         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33877         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33878         file.
33879         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33880         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33881         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33882         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33883         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33884         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33885         file.
33886         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33887         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33888         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33889         file.
33890         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33892         New file.
33893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33894         New file.
33895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33896         New file.
33897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33898         New file.
33899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33900         New file.
33901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33902         New file.
33903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33904         New file.
33905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33906         New file.
33907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33908         New file.
33909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33910         New file.
33911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33912         New file.
33913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33914         New file.
33915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33916         New file.
33917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33918         file.
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33920         New file.
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33922         New file.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33924         file.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33926         New file.
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33928         New file.
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33930         file.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33932         New file.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33934         New file.
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33936         New file.
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33938         New file.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33940         New file.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33942         New file.
33943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33945         file.
33946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33947         New file.
33948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33949         file.
33950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33951         file.
33952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33953         file.
33954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33955         file.
33956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33957         file.
33958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33959         New file.
33960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33961         file.
33962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33963         file.
33964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33965         New file.
33966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33967         file.
33968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33970         file.
33971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33972         New file.
33973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33974         file.
33975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33976         file.
33977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33978         file.
33979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33980         file.
33981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33982         file.
33983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33984         New file.
33985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33986         file.
33987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33988         file.
33989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33990         New file.
33991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33992         file.
33993         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33994         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33995         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33996         file.
33997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33998         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33999         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34000         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34001         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34002         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34003         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34004         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34005         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34006         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34009         file.
34010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34011         New file.
34012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34013         file.
34014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34015         file.
34016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34017         file.
34018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34019         file.
34020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34021         file.
34022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34023         New file.
34024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34025         New file.
34026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34027         file.
34028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34029         New file.
34030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34031         file.
34032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34034         file.
34035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34036         New file.
34037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34038         file.
34039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34040         file.
34041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34042         file.
34043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34044         file.
34045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34046         file.
34047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34048         New file.
34049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34050         New file.
34051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34052         file.
34053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34054         New file.
34055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34056         file.
34058 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34060         * conform/conformtest.pl: Fix typo in handling typed-constant from
34061         allow-header.
34063 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34065         * README: Cut down references to pre-2.6 Linux kernels and
34066         Linuxthreads.  Update lists of configurations in libc and ports
34067         and sort alphabetically.  Say "or newer" with Linux kernel version
34068         requirements.
34070         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34072 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34074         [BZ #887]
34075         * math/libm-test.inc (logb_test_downward): New test to expose
34076         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34077         rounding mode.
34079 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34081         [BZ #14027]
34082         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34083         to be done.
34084         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34085         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34087 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34089         * sysdeps/unix/i386/brk.S: Remove file.
34090         * sysdeps/unix/i386/dl-brk.S: Likewise.
34091         * sysdeps/unix/i386/pipe.S: Likewise.
34092         * sysdeps/unix/i386/sigreturn.S: Likewise.
34093         * sysdeps/unix/i386/syscall.S: Likewise.
34094         * sysdeps/unix/i386/vfork.S: Likewise.
34095         * sysdeps/unix/i386/wait.S: Likewise.
34097         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34098         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34100         * configure.in (arm*-none*): Do not allow without
34101         --enable-hacker-mode.
34102         (netbsd*): Remove case setting base_os.
34103         (386bsd*): Likewise.
34104         (freebsd*): Likewise.
34105         (bsdi*): Likewise.
34106         (osf*): Likewise.
34107         (sunos*): Likewise.
34108         (ultrix*): Likewise.
34109         (newsos*): Likewise.
34110         (dynix*): Likewise.
34111         (*bsd*): Likewise.
34112         (sysv*): Likewise.
34113         (isc*): Likewise.
34114         (esix*): Likewise.
34115         (sco*): Likewise.
34116         (minix*): Likewise.
34117         (irix4*): Likewise.
34118         (irix6*): Likewise.
34119         (solaris[2-9]*): Likewise.
34120         (none): Likewise.
34121         * configure: Regenerated.
34123 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34125         [BZ #11521]
34126         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34127         overflow or cancellation in calculating denominator.
34128         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34129         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34130         down expression to avoid unexpected rounding in newer GCCs.
34131         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34133 2012-04-26  David S. Miller  <davem@davemloft.net>
34135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34136         long-double compat symbols.
34137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34151 2012-04-25  David S. Miller  <davem@davemloft.net>
34153         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34154         HWCAP_* values only after the memory barriers have been defined.
34155         (atomic_full_barrier): Define.
34156         (atomic_read_barrier): Define.
34157         (atomic_write_barrier): Define.
34159 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161         * shlib-versions: Add libgcc_s version information.
34162         * sysdeps/generic/libgcc_s.h: Remove.
34163         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34164         libgcc_s.h.
34165         * sysdeps/gnu/unwind-resume.c: Likewise.
34166         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34168 2012-04-25  David S. Miller  <davem@davemloft.net>
34170         * sysdeps/unix/sparc/brk.S: Delete.
34171         * sysdeps/unix/sparc/dl-brk.S: Delete.
34172         * sysdeps/unix/sparc/pipe.S: Delete.
34173         * sysdeps/unix/sparc/sysdep.S: Delete.
34174         * sysdeps/unix/sparc/sysdep.h: Delete.
34175         * sysdeps/unix/sparc/vfork.S: Delete.
34176         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34177         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34178         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34179         (ret_ERRVAL, r0, r1, MOVE): Define.
34180         (JUMPTARGET): Remove.
34181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34182         sysdeps/unix/sparc/sysdep.h
34183         (ENTRY, END): Remove.
34184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34186 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34188         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34189         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34190         -DIS_IN_build.
34192         * timezone/README: Update upstream location and email address for
34193         tzcode and tzdata.
34194         * timezone/zdump.c: Update from tzcode 2012b.
34195         * timezone/zic.c: Likewise.
34197         * configure.in (libc_cv_as_needed): Remove test.
34198         * configure: Regenerated.
34199         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34200         conditional definition.
34201         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34202         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34203         * config.make.in (have-as-needed): Remove variable.
34205 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34206             Paul Pluzhnikov  <ppluzhnikov@google.com>
34208         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34209         strings correctly.
34211 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34213         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34214         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34215         * sysdeps/sh/strlen.S: Likewise.
34217 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34219         * sysdeps/unix/fork.S: Remove file.
34220         * sysdeps/unix/i386/fork.S: Likewise.
34221         * sysdeps/unix/sparc/fork.S: Likewise.
34223         * sysdeps/unix/system.c: Remove file.
34224         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34226         * sysdeps/unix/getegid.S: Remove file.
34227         * sysdeps/unix/geteuid.S: Likewise.
34229 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34231         * scripts/check-localplt.awk: New file.
34232         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34233         of diff.
34234         * scripts/data/localplt-generic.data: Add a comment.
34236         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34237         NODE when __dir_mkfile failed.
34238         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34239         Reported by Ludovic Courtès <ludo@gnu.org>.
34241 2012-04-24  Andreas Jaeger  <aj@suse.de>
34243         * Makerules (common-clean): Also remove gen-as-const-headers
34244         files.
34246 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34248         * Makerules (native-compile): Do not change working directory for
34249         build.  Use $(OUTPUT_OPTION) in command.
34250         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34252 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34254         [BZ #13886]
34255         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34256         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34257         * math/libm-test.inc (floor_test): Add more tests.
34258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34260 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34262         * sysdeps/unix/getdents.c: Remove file.
34263         * sysdeps/unix/sysv/getdents.c: Likewise.
34264         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34266         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34267         sysdeps/unix/mman/syscalls.list.
34268         (mmap): Likewise.
34269         (mprotect): Likewise.
34270         (msync): Likewise.
34271         (munmap): Likewise.
34272         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34273         * sysdeps/unix/mman/syscalls.list: Remove.
34274         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34276         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34277         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34278         * configure: Regenerated.
34279         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34280         $(libgcc_s_suffix).
34281         * config.make.in (libgcc_s_suffix): Remove variable.
34283 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34285         * sysdeps/unix/sysv/gethostname.c: Move to ...
34286         * sysdeps/posix/gethostname.c: ... here.
34288         * sysdeps/unix/execve.S: Remove file.
34290         * sysdeps/unix/_exit.S: Remove file.
34292 2012-04-23  Andreas Jaeger  <aj@suse.de>
34294         [BZ #13739]
34295         * manual/Makefile: Remove make dist support, there's no
34296         need for a stand-alone documentation tar ball.
34297         (TEXI2DVI): Define always, it's not in Makeconfig.
34298         (dist): Removed.
34299         (tar-it): Removed.
34300         (edition): Removed.
34301         (glibc-doc-$(edition).tar): Removed
34302         (%.Z): Removed.
34303         (%.gz): Removed.
34304         (%.uu): Removed.
34305         (ETAGS): Remove, it's in Makeconfig.
34306         (move-if-change): Remove, it's in Makeconfig.
34308 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34310         [BZ #13970]
34311         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34312         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34313         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34314         (strtod_l, strtof_l, strtold_l): Remove __wur.
34315         It is not necessarily an error to ignore strtol's return value.
34316         One can reliably look at the stored endptr to decide whether
34317         the number had valid syntax.
34319 2012-04-21  Andreas Jaeger  <aj@suse.de>
34321         [BZ #13739]
34322         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34324 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34326         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34327         * sysdeps/unix/sysv/Versions: Remove file.
34329 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34331         [BZ #13927]
34332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34334 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34336         [BZ #7064]
34337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34338         version from __vm86.
34340 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34342         * sysdeps/unix/common/lxstat.c: Remove file.
34343         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34345         * sysdeps/unix/sysv/Makefile: Remove file.
34347         * sysdeps/unix/sysv/direct.h: Remove file.
34349         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34350         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34351         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34352         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34353         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34354         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34355         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34357         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34359         * sysdeps/unix/xmknod.c: Remove file.
34360         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34362         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34364         * sysdeps/unix/sysv/i386/time.S: Remove file.
34366         * sysdeps/unix/fxstat.c: Remove file.
34367         * sysdeps/unix/xstat.c: Likewise.
34368         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34370         * sysdeps/unix/sysv/sigaction.c: Remove file.
34372         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34373         (sysdep_headers): Remove variable.
34374         [termio.h not in sysdep_headers] (generated): Likewise.
34375         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34376         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34377         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34378         * sysdeps/unix/sysv/tcflow.c: Likewise.
34379         * sysdeps/unix/sysv/tcflush.c: Likewise.
34380         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34381         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34382         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34383         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34384         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34386         * sysdeps/unix/siglist.c: Remove file.
34388         * sysdeps/unix/getppid.S: Remove file.
34390         * sysdeps/unix/mkdir.c: Remove file.
34391         * sysdeps/unix/rmdir.c: Likewise.
34393 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34395         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34396         ERR_MAX value.
34397         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34398         errlist-compat value.
34400 2012-04-18  David S. Miller  <davem@davemloft.net>
34402         * sysdeps/generic/memcopy.h (reg_char): Delete.
34403         * debug/strcat_chk.c: Use char, not reg_char.
34404         * debug/strcpy_chk.c: Likewise.
34405         * debug/strncat_chk.c: Likewise.
34406         * debug/strncpy_chk.c: Likewise.
34407         * string/memchr.c: Likewise.
34408         * string/memrchr.c: Likewise.
34409         * string/rawmemchr.c: Likewise.
34410         * string/strcat.c: Likewise.
34411         * string/strchr.c: Likewise.
34412         * string/strchrnul.c: Likewise.
34413         * string/strcmp.c: Likewise.
34414         * string/strcpy.c: Likewise.
34415         * string/strncat.c: Likewise.
34416         * string/strncmp.c: Likewise.
34417         * string/strncpy.c: Likewise.
34419 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34421         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34422         __builtin_memcopy is called when src and dest ranges are known to not
34423         overlap.
34425 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34427         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34428         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34429         fwd_align_merge macro call.
34430         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34431         bwd_align_merge macro call.
34432         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34434 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34436         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34437         bwd_align_merge macros.
34438         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34439         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34442 2012-04-18  David S. Miller  <davem@davemloft.net>
34444         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34446 2012-04-18  Andreas Jaeger  <aj@suse.de>
34448         [BZ# 6794]
34449         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34450         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34451         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34453         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34454         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34455         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34457         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34458         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34459         Adjust for changed ldbl-128 files.
34461         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34462         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34463         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34465 2012-04-17  David S. Miller  <davem@davemloft.net>
34467         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34469 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34471         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34472         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34473         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34474         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34475         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34476         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34478 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34480         [BZ #6794]
34481         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34482         * math/libm-test.inc: Add ilogb errno and exception tests.
34483         * math/w_ilogb.c: New file: ilogb wrapper.
34484         * math/w_ilogbf.c: New file: ilogbf wrapper.
34485         * math/w_ilogbl.c: New file: ilogbl wrapper.
34486         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34487         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34488         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34489         exception being thrown with 0.0 as argument.
34490         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34491         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34492         exception being thrown with 0.0 as argument.
34493         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34494         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34495         exception being thrown with 0.0 as argument.
34496         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34497         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34498         exception being thrown with 0.0 as argument.
34499         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34500         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34501         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34502         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34503         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34504         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34505         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34506         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34507         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34509 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34511         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34512         with altivec.
34514 2012-04-16  Marek Polacek  <polacek@redhat.com>
34516         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34518 2012-04-16  Marek Polacek  <polacek@redhat.com>
34520         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34521         operands of fdivp instruction.
34523 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34525         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34526         * elf/tst-auditmod3b.c: Likewise.
34527         * elf/tst-auditmod4b.c: Likewise.
34528         * elf/tst-auditmod5b.c: Likewise.
34529         * elf/tst-auditmod6b.c: Likewise.
34530         * elf/tst-auditmod6c.c: Likewise.
34531         * elf/tst-auditmod7b.c: Likewise.
34532         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34533         * sysdeps/x86_64/preconfigure.in: Likewise.
34534         * sysdeps/x86_64/preconfigure: Regenerated.
34536 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34538         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34539         __ILP32__.
34541 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34544         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34546 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34548         [BZ #13973]
34549         * locale/iso-639.def: Fix gl language name. Spotted by
34550         Yaron Shahrabani.
34552 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34554         [BZ #2074]
34555         * libio/libio.h (__io_write_fn): Update comment.
34557 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34559         [BZ #2074]
34560         * stdio.texi (Hook Functions): The user provided writer function
34561         is not allowed to return -1.
34563 2012-04-11  David S. Miller  <davem@davemloft.net>
34565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34567 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34569         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34570         Add a leading slash to rtkaio.
34572 2012-04-11  Jim Meyering  <meyering@redhat.com>
34574         [BZ #11959]
34575         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34576         It is not necessarily an error to ignore fwrite's return
34577         value.  One can reliably use ferror to test for errors after
34578         the fact.
34580 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34582         * bits/types.h (__snseconds_t): New type.
34583         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34585         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34587         (__SNSECONDS_T_TYPE): Likewise.
34588         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34589         (__SNSECONDS_T_TYPE): Likewise.
34590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34591         (__SNSECONDS_T_TYPE): Likewise.
34593 2012-04-10  Andreas Jaeger  <aj@suse.de>
34595         [BZ #2636]
34596         * manual/time.texi (Processor Time): Return type of times is
34597         elapsed real time since an arbitrary point in the past.
34598         (CPU Time): Move CLK_TCK from here...
34599         (Processor Time): ...to here.  Correct description.
34600         * manual/conf.texi (Constants for Sysconf): Correct description of
34601         _SC_CLK_TCK.
34603 2012-04-10  David S. Miller  <davem@davemloft.net>
34605         [BZ #13967]
34606         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34607         where the is a gap between DT_REL(A) and DT_JMPREL.
34609 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34611         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34612         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34613         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34615 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34617         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34618         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34619         (dl_main): Handle --inhibit-cache.
34620         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34621         _dl_inhibit_cache.
34622         * elf/dl-load.c (_dl_map_object): Use it.
34623         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34625 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34627         [BZ #13872]
34628         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34629         (__ieee754_powl): Saturate large exponents rather than testing for
34630         overflow of y*log2(x).
34631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34632         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34633         exceptions.
34635         [BZ #11521]
34636         * math/s_ctan.c: Include <float.h>.
34637         (__ctan): Avoid internal overflow or cancellation in calculating
34638         denominator.
34639         * math/s_ctanf.c: Likewise.
34640         * math/s_ctanl.c: Likewise.
34641         * math/s_ctanh.c: Likewise.
34642         * math/s_ctanhf.c: Likewise.
34643         * math/s_ctanhl.c: Likewise.
34644         * math/libm-test.inc (ctan_test): Add more tests.
34645         (ctanh_test): Likewise.
34646         * sysdeps/i386/fpu/libm-test-ulps: Update.
34647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34649 2012-04-09  Andreas Jaeger  <aj@suse.de>
34651         [BZ #6894]
34652         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34653         is an optional BSD extension.
34655         [BZ #10254]
34656         * manual/stdio.texi (Opening Streams): Document additional fopen
34657         parameters.
34659 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34661         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34662         %eax without telling the compiler.
34664 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34666         [BZ # 13963]
34667         * manual/install.texi: Use sourceware.org.
34669 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34671         [BZ #13873]
34672         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34673         (__ieee754_pow): Generate overflow and underflow using huge*huge
34674         and tiny*tiny rather than just returning constant infinity or zero
34675         for large exponents.
34676         * math/libm-test.inc (pow_test): Require overflow exceptions for
34677         applicable cases of large exponents.
34679         [BZ #706]
34680         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34681         (__ieee754_pow): Use iterative multiplication algorithm only for
34682         integer exponents with absolute value below 1024.  Check for odd
34683         integer exponents when using algorithm for real exponents.
34684         * math/libm-test.inc (pow_test): Add more tests.
34685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34687 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34689         [BZ #13705]
34690         * math/libm-test.inc (exp_test): Do not allow overflow exception
34691         on underflow test.
34693 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34695         [BZ #13705]
34696         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34697         instead of __kernel_standard_f.
34699 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34701         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34702         * sysdeps/x86_64/memset_chk.S: Likewise.
34704 2012-04-08  Andreas Jaeger  <aj@suse.de>
34706         [BZ #10153]
34707         * manual/startup.texi (Environment Access): Describe return value
34708         for putenv and setenv.
34710         [BZ #6895]
34711         * manual/filesys.texi (Directory Entries): Add description for
34712         DT_LNK.
34714         [BZ #6890]
34715         * manual/filesys.texi (Directory Entries): Clarify that it's file
34716         system not operating system in the description of DT_UNKNOWN.
34718         [BZ #6578]
34719         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34721 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34723         [BZ #6649]
34724         * manual/llio.texi (Opening and Closing Files): Add cross
34725         reference to explain mode argument.
34727 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34729         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34730         * sysdeps/x86_64/memset_chk.S: Likewise.
34732 2012-04-07  David S. Miller  <davem@davemloft.net>
34734         * elf/elf.h (R_SPARC_WDISP10): Define.
34735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34736         R_SPARC_SIZE32.
34737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34738         R_SPARC_SIZE64 and R_SPARC_H34.
34740 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34743         conditions and remove no longer applicable assertion.
34745 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34747         * bits/byteswap.h: Include <features.h>.
34748         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34749         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34751 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34753         * bits/byteswap.h (__bswap_16): Removed.
34754         Include <bits/byteswap-16.h> to get __bswap_16.
34755         * sysdeps/i386/bits/byteswap.h: Likewise.
34756         * sysdeps/s390/bits/byteswap.h: Likewise.
34757         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34758         * bits/byteswap-16.h: New file.
34759         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34760         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34761         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34762         * string/Makefile (headers): Add bits/byteswap-16.h.
34764 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34766         [BZ #13895]
34767         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34768         extra indirection.
34769         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34770         * nss/tst-nss-static.c: New.
34772 2012-04-06  Robert Millan  <rmh@gnu.org>
34774         [BZ #6486]
34775         * manual/llio.texi (File Position Primitive): lseek
34776         refers to WHENCE when it really means OFFSET.
34778 2012-04-06  Andreas Jaeger  <aj@suse.de>
34780         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34781         strncmp declarations.
34783         * abilist/libc.abilist: Add __poll and __ppoll.
34785 2012-04-05  David S. Miller  <davem@davemloft.net>
34787         * scripts/check-local-headers.sh: Accept a host triplet in the
34788         path matched by the exclude regexp.
34790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34791         definition.
34792         * sysdeps/powerpc/powerpc32/dl-machine.h
34793         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34794         * sysdeps/s390/s390-32/dl-machine.h
34795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34796         * sysdeps/sparc/sparc32/dl-machine.h
34797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34798         * sysdeps/sparc/sparc64/dl-machine.h
34799         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34801         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34802         lazy binding.
34803         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34804         undefined symbol errors.
34806         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34807         DT_NEEDED entries.
34809 2012-04-05  Michael Matz  <matz@suse.de>
34811         [BZ #13592]
34812         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34814 2012-04-05  Andreas Jaeger  <aj@suse.de>
34816         [BZ #13908]
34817         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34818         comment.
34820 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34822         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34823         which ROUND is no valid rounding mode.
34825 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34827         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34828         read again.
34829         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34831 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34833         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34834         an exception using FPU order intentionally.
34836 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34838         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34839         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34840         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34841         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34843 2012-04-05  Simon Josefsson  <simon@josefsson.org>
34845         [BZ #12340]
34846         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34847         EINVAL when BUFLEN is too smal.
34849 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34851         [BZ #13553]
34852         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34853         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34855 2012-04-03  Andreas Jaeger  <aj@suse.de>
34857         [BZ #13938]
34858         * manual/setjmp.texi (System V contexts): Fix sentence.
34860         [BZ #13926]
34861         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34862         New macro for this case.
34863         [!__GNUC__] (__bswap_64): New inline function for this case.
34864         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34865         * bits/byteswap.h: Likewise.
34866         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34867         ull, guard with __GLIBC_HAVE_LONG_LONG.
34869         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34870         __GLIBC_HAVE_LONG_LONG.
34872         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34873         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34875 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34877         [BZ #13691]
34878         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34879         inptr and inend, rather than using last_ch.
34881 2012-04-02  David S. Miller  <davem@davemloft.net>
34883         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34884         * stdio-common/printf-parse.h (read_int): Change return type to
34885         'int', return -1 on INT_MAX overflow.
34886         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34887         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34888         overflows INT_MAX.  Check for overflow of in-format-string precision
34889         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34890         SIZE_MAX not INT_MAX for integer overflow test.
34891         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34892         skip the construct in the format string but do not record anything.
34893         * stdio-common/bug22.c: Adjust to test both width/prevision
34894         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34895         explicitly for proper errno values.
34897 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34899         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34900         CHAR_MAX.
34901         * string/test-strcmp.c [! WIDE]: Likewise.
34902         * time/tst-mktime2.c: Likewise for INT_MAX.
34903         * string/test-string.h: #include <sys/param.h> for MIN.
34905         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34906         * sysdeps/i386/init-first.c (init): Likewise.
34907         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34908         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34909         * sysdeps/sh/init-first.c (init): Likewise.
34911 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34913         * po/ru.po: Update from translation team.
34914         * po/vi.po: Likewise.
34916 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34918         * resolv/nss_dns/dns-host.c: Merge copyright years.
34920 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34923         Optimize memcpy with prefetch if
34924         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34925         src, dst pointers have unequal 16 byte alignments.
34927 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34929         [BZ #13928]
34930         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34931         from a CNAME entry and return the minimum ttl for the query.
34932         (gaih_getanswer_slice): Likewise.
34934 2012-03-30  Jeff Law  <law@redhat.com>
34936         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34937         due to long keys.
34938         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34939         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34941         * resolv/nss_dns/dns-host.c: Update copyright year.
34943 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34945         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34946         requests to save a system call.  Fix check that all bytes are sent.
34948         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34949         comments for sendmmsg.
34951 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34953         [BZ #13691]
34954         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34955         with only 1 character between 0x0041 and 0x01b0.
34956         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34957         * wcsmbs/tst-mbsnrtowcs.c: New file.
34959 2012-03-29  David S. Miller  <davem@davemloft.net>
34961         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34962         small copies by hand.
34964 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34966         [BZ #13761]
34967         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34968         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34969         group memberships.
34971 2012-03-28  David S. Miller  <davem@davemloft.net>
34973         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34974         that branches into memcpy.
34975         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34978         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34980         bits.
34981         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34982         implementation too.
34983         * sysdeps/sparc/mempcpy.S: New file.
34985         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34986         the IFUNC routine in the libc case.
34987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34989         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34990         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34991         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34992         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34993         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34994         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34995         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34996         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34998         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34999         loop to 256 bytes instead of 64 bytes and fix test signedness.
35001         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35002         * sysdeps/sparc/sparc32/Makefile: rather than here...
35003         * sysdeps/sparc/sparc64/Makefile: and here.
35005 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35007         * malloc/mallocbug.c: Avoid warnings about unused variables.
35009 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35011         [BZ #13760]
35012         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35013         in the right place. Discard and retry query if response is
35014         larger than input buffer size.
35016 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35018         [BZ #369]
35019         [BZ #2678]
35020         [BZ #3866]
35021         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35022         x for large integer exponent.
35023         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35024         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35025         sign of result as needed afterwards.
35026         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35027         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35028         result for underflowing pow the same as for overflow.
35029         (__kernel_standard_l): Handle powl overflow and underflow here
35030         rather than calling __kernel_standard.
35031         * math/libm-test.inc (pow_test): Add more tests.
35033         [BZ #3868]
35034         [BZ #13879]
35035         [BZ #13910]
35036         [BZ #13911]
35037         [BZ #13912]
35038         [BZ #13913]
35039         [BZ #13915]
35040         [BZ #13916]
35041         [BZ #13917]
35042         [BZ #13918]
35043         [BZ #13919]
35044         [BZ #13920]
35045         [BZ #13921]
35046         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35047         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35048         (__kernel_standard_l): New function.
35049         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35050         __kernel_standard.
35051         * math/w_acosl.c (__acosl): Likewise.
35052         * math/w_asinl.c (__asinl): Likewise.
35053         * math/w_atan2l.c (__atan2l): Likewise.
35054         * math/w_atanhl.c (__atanhl): Likewise.
35055         * math/w_coshl.c (__coshl): Likewise.
35056         * math/w_exp10l.c (__exp10l): Likewise.
35057         * math/w_exp2l.c (__exp2l): Likewise.
35058         * math/w_fmodl.c (__fmodl): Likewise.
35059         * math/w_hypotl.c (__hypotl): Likewise.
35060         * math/w_j0l.c (__j0l, __y0l): Likewise.
35061         * math/w_j1l.c (__j1l, __y1l): Likewise.
35062         * math/w_jnl.c (__jnl, __ynl): Likewise.
35063         * math/w_lgammal.c (__lgammal): Likewise.
35064         * math/w_log10l.c (__log10l): Likewise.
35065         * math/w_log2l.c (__log2l): Likewise.
35066         * math/w_logl.c (__logl): Likewise.
35067         * math/w_powl.c (__powl): Likewise.
35068         * math/w_remainderl.c (__remainderl): Likewise.
35069         * math/w_scalbl.c (sysv_scalbl): Likewise.
35070         * math/w_sinhl.c (__sinhl): Likewise.
35071         * math/w_sqrtl.c (__sqrtl): Likewise.
35072         * math/w_tgammal.c (__tgammal): Likewise.
35073         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35074         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35075         * math/libm-test.inc (acos_test): Add more tests.
35076         (acosh_test): Likewise.
35077         (asin_test): Likewise.
35078         (atanh_test): Likewise.
35079         (exp_test): Likewise.
35080         (exp10_test): Likewise.
35081         (exp2_test): Likewise.
35082         (expm1_test): Likewise.
35083         (lgamma_test): Likewise.
35084         (log_test): Likewise.
35085         (log10_test): Likewise.
35086         (log1p_test): Likewise.
35087         (log2_test): Likewise.
35088         (pow_test): Do not allow some spurious overflow exceptions.
35089         (sqrt_test): Add more tests.
35090         (tgamma_test): Likewise.
35091         (y0_test): Likewise.
35092         (y1_test): Likewise.
35093         (yn_test): Likewise.
35095 2012-03-27  Anton Blanchard  <anton@samba.org>
35097         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35098         MAP_HUGETLB.
35099         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35101         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35103 2012-03-27  David S. Miller  <davem@davemloft.net>
35105         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35107         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35108         have-as-vis3 check.
35110 2012-03-27  Andreas Jaeger  <aj@suse.de>
35112         * sysdeps/x86_64/elf/configure.in: Moved to ...
35113         * sysdeps/x86_64/configure.in: ... here.
35114         * sysdeps/x86_64/elf/start.S: Moved to ...
35115         * sysdeps/x86_64/start.S: ... here.
35116         * sysdeps/x86_64/elf/configure: Delete.
35118         * sysdeps/x86_64/configure.in: Merge contents from
35119         sysdeps/i386/configure.in (without i686 check).
35121         * sysdeps/i386/elf/Versions: Merge into ...
35122         * sysdeps/i386/Versions: ... this.
35123         * sysdeps/i386/elf/Versions: Delete file.
35124         * sysdeps/i386/elf/start.S: Moved to ...
35125         * sysdeps/i386/start.S: ...here.
35126         * sysdeps/i386/elf/configure.in: Merge into...
35127         * sysdeps/i386/configure.in: ...here.
35128         * sysdeps/i386/elf/configure.in: Delete file.
35129         * sysdeps/i386/elf/configure: Delete file.
35131         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35132         * debug/backtracesyms.c: ... here.
35133         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35134         * debug/backtracesymsfd.c: ... here.
35135         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35136         * sysdeps/generic/ifunc-sel.h: ... here.
35138         * sysdeps/unix/i386/start.c: Delete file.
35139         * sysdeps/unix/sparc/start.c: Delete file.
35140         * sysdeps/unix/start.c: Delete file.
35142         * sysdeps/sh/elf/configure.in: Moved to ...
35143         * sysdeps/sh/configure.in: ... here.
35144         * sysdeps/sh/elf/start.S: Moved to ...
35145         * sysdeps/sh/start.S: ... here.
35146         * sysdeps/sh/elf/configure: Delete file.
35148         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35149         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35150         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35151         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35152         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35153         * sysdeps/powerpc/powerpc64/start.S: here.
35154         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35155         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35156         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35157         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35158         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35160         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35161         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35162         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35163         * sysdeps/powerpc/powerpc32/start.S: ... here.
35164         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35165         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35166         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35168         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35169         * sysdeps/powerpc/ifunc-sel.h: ... here.
35170         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35171         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35173         * sysdeps/sparc/elf/configure.in: Moved to ...
35174         * sysdeps/sparc/configure.in: ... here.
35175         * sysdeps/sparc/elf/configure: Delete file.
35176         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35177         * sysdeps/sparc/sparc32/start.S: ... here.
35178         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35179         * sysdeps/sparc/sparc64/start.S: ... here.
35180         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35181         * sysdeps/sparc/sparc32/Makefile: ... this.
35182         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35183         * sysdeps/sparc/sparc64/Makefile: ... this.
35185         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35186         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35187         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35188         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35189         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35190         * sysdeps/s390/s390-32/setjmp.S: ... here.
35191         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35192         * sysdeps/s390/s390-32/configure.in: ... here.
35193         * sysdeps/s390/s390-32/elf/configure: Delete file.
35194         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35195         * sysdeps/s390/s390-32/start.S: ... here.
35197         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35198         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35199         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35200         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35201         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35202         * sysdeps/s390/s390-64/setjmp.S: ... here.
35203         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35204         * sysdeps/s390/s390-64/configure.in: ... here
35205         * sysdeps/s390/s390-64/elf/configure: Delete file.
35206         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35207         * sysdeps/s390/s390-64/start.S: ... here.
35208         * sysdeps/s390/s390-64/elf/configure: Delete.
35210         * configure.in: Remove support for elf directories in sysdeps.
35212         * configure: Regenerated.
35213         * sysdeps/i386/configure: Regenerated.
35214         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35215         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35216         * sysdeps/s390/s390-32/configure: Regenerated.
35217         * sysdeps/s390/s390-64/configure: Regenerated.
35218         * sysdeps/sh/configure: Regenerated.
35219         * sysdeps/sparc/configure: Regenerated.
35220         * sysdeps/x86_64/configure: Regenerated.
35222 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35227         denormal result into account.
35229 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35231         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35232         Reported by Allan McRae <allan@archlinux.org>.
35234 2012-03-23  Jeff Law  <law@redhat.com>
35236         * nss/getnssent.c (__nss_getent): Fix typo.
35238 2012-03-23  David S. Miller  <davem@davemloft.net>
35240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35242 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35244         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35245         to pad to uint64_t for each field.
35246         (dl_tls_index): Replace unsigned long with uint64_t.
35248 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35249         Paul Pluzhnikov  <ppluzhnikov@google.com>
35251         [BZ #6528]
35252         * grp/Makefile (otherlibs): Don't set it.
35253         * inet/Makefile (otherlibs): Likewise.
35254         * login/Makefile (otherlibs): Likewise.
35255         * nscd/Makefile (otherlibs): Likewise.
35256         * posix/Makefile (otherlibs): Likewise.
35257         * pwd/Makefile (otherlibs): Likewise.
35258         * rt/Makefile (otherlibs): Likewise.
35259         * sunrpc/Makefile (otherlibs): Likewise.
35260         * nss/Makefile (otherlibs): Likewise.
35261         Add libnss_files to routines and static-only-routines.
35262         ($(objpfx)getent): Remove rule.
35263         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35264         static-only-routines.
35266 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35268         [BZ #13892]
35269         * math/s_cexp.c: Include <float.h>.
35270         (__cexp): Handle exp result overflowing not necessarily
35271         overflowing both real and imaginary parts of result.
35272         * math/s_cexpf.c: Likewise.
35273         * math/s_cexpl.c: Likewise.
35274         * math/libm-test.inc (cexp_test): Add more tests.
35275         * sysdeps/i386/fpu/libm-test-ulps: Update.
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35280         * include/link.h (ELFW): New macro.
35281         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35282         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35284 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35286         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35287         with uint64_t.
35289 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35291         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35292         declaration.
35293         (struct La_x32_retval): Likewise.
35295 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35297         * sysdeps/x86_64/preconfigure.in: New file.
35298         * sysdeps/x86_64/preconfigure: New generated file.
35300 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35302         [BZ #13824]
35303         * math/e_exp2l.c: Include <float.h>.
35304         (__ieee754_exp2l): Handle overflow and underflow cases
35305         separately.  Only pass fractional part of argument to
35306         __ieee754_expl.
35307         * math/libm-test.inc (exp2_test): Add more tests.
35309         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35310         negating x to take absolute value.
35311         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35312         Likewise.
35313         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35314         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35315         Likewise.
35316         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35317         computing low part if x was negated.
35318         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35320 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35322         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35323         la_x32_gnu_pltexit.
35324         (pltexit): Cast int_retval to ptrdiff_t.
35325         * elf/tst-auditmod3b.c: Likewise.
35326         * elf/tst-auditmod4b.c: Likewise.
35327         * elf/tst-auditmod5b.c: Likewise.
35328         * elf/tst-auditmod6b.c: Likewise.
35329         * elf/tst-auditmod6c.c: Likewise.
35330         * elf/tst-auditmod7b.c: Likewise.
35332         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35333         and x32_gnu_pltexit.
35335         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35336         __ELF_NATIVE_CLASS.
35337         (La_x32_regs): New macro.
35338         (La_x32_retval): Likewise.
35339         (la_x32_gnu_pltenter): New function prototype.
35340         (la_x32_gnu_pltexit): Likewise.
35342 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35345         exponent.
35347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35349         * configure.in (libc_cv_cc_nofma): Check for option to disable
35350         generation of FMA instructions.
35351         * configure: Regenerate.
35352         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35353         * sysdeps/ieee754/dbl-64/Makefile: New file.
35354         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35355         Remove brandred-fma4.
35356         (CFLAGS-brandred-fma4.c): Remove.
35357         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35358         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35359         define.
35360         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35361         define.
35363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35365         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35366         LLONG_MAX != LONG_MAX.
35367         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35368         (_fitoa_word): Likewise.
35369         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35370         LLONG_MAX != LONG_MAX.
35371         * stdio-common/_itowa.h: Include <_itoa.h>.
35372         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35373         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35374         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35375         only if not defined.
35376         (_ITOA_WORD_TYPE): Likewise.
35377         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35378         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35380 2012-03-21  David S. Miller  <davem@davemloft.net>
35382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35384 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35386         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35387         of x86_64 when setting libc_cv_slibdir, libdir and
35388         libc_cv_localedir.
35389         * sysdeps/unix/sysv/linux/configure: Regenerated.
35391 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35393         * manual/lang.texi (Old Varargs): Remove section.
35394         (How Variadic): Update menu.
35395         (va_start): Do not mention varargs.h.
35397 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35398             Joseph Myers  <joseph@codesourcery.com>
35400         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35401         link test.
35402         * configure: Regenerated.
35404 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35406         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35407         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35408         conformtest.pl
35410 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35412         * NOTES: Remove.
35413         * Makefile (files-for-dist): Remove NOTES.
35414         (NOTES): Remove rule.
35415         * README: Don't refer to NOTES.
35416         * manual/creature.texi: Don't include macros.texi.
35417         * manual/intro.texi (creature.texi): Remove comment referring to
35418         NOTES.
35420         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35421         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35422         * configure: Regenerated.
35423         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35424         LIBC_TRY_CC_OPTION.
35425         (libc_cv_as_i686): Likewise.
35426         (libc_cv_cc_avx): Likewise.
35427         (libc_cv_cc_sse2avx): Likewise.
35428         (libc_cv_cc_fma4): Likewise.
35429         (libc_cv_cc_novzeroupper): Likewise.
35430         * sysdeps/i386/configure: Regenerated.
35432         [BZ #13883]
35433         * sysdeps/i386/fpu/s_cexp.S: Remove.
35434         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35435         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35436         * math/libm-test.inc (cexp_test): Add more tests.
35437         * sysdeps/i386/fpu/libm-test-ulps: Update.
35438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35440 2012-03-21  Allan McRae  <allan@archlinux.org>
35442         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35444 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35446         [BZ #13871]
35447         * math/w_exp2.c: Do not include <float.h>.
35448         (o_threshold, u_threshold): Remove.
35449         (__exp2): Calculate result before checking finiteness and calling
35450         __kernel_standard.
35451         * math/w_exp2f.c: Likewise.
35452         * math/w_exp2l.c: Likewise.
35453         * math/libm-test.inc (exp2_test): Require overflow exception for
35454         1e6 input.
35456         [BZ #3866]
35457         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35458         range of signed 64-bit integers before using fistpll.  Remove
35459         checks for whether integers fit in mantissa bits.
35460         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35461         the range of signed 32-bit integers before using fistpl.  Remove
35462         checks for whether integers fit in mantissa bits.
35463         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35464         (__ieee754_powl): Test for y outside the range of signed 64-bit
35465         integers before using fistpll.  Reduce 64-bit values to 63-bit
35466         ones as needed.
35467         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35468         divide-by-zero is raised for zero to large negative powers.
35469         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35470         (__ieee754_powl): Test for y outside the range of signed 64-bit
35471         integers before using fistpll.  Reduce 64-bit values to 63-bit
35472         ones as needed.
35473         * math/libm-test.inc (pow_test): Add more tests.
35475 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35477         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35478         <stdio-common/_itoa.h>.
35479         * debug/segfault.c: Likewise.
35480         * elf/dl-cache.c: Likewise.
35481         * elf/dl-minimal.c: Likewise.
35482         * elf/dl-misc.c: Likewise.
35483         * elf/dl-sysdep.c: Likewise.
35484         * elf/dl-version.c: Likewise.
35485         * elf/rtld.c: Likewise.
35486         * hurd/hurdsock.c: Likewise.
35487         * hurd/lookup-retry.c: Likewise.
35488         * malloc/malloc.c: Likewise.
35489         * malloc/mtrace.c: Likewise.
35490         * nscd/nscd_getgr_r.c: Likewise.
35491         * nscd/nscd_getpw_r.c: Likewise.
35492         * nscd/nscd_getserv_r.c: Likewise.
35493         * posix/getopt_init.c: Likewise.
35494         * posix/wordexp.c: Likewise.
35495         * stdio-common/_itoa.c: Likewise.
35496         * stdio-common/printf_fphex.c: Likewise.
35497         * stdio-common/vfprintf.c: Likewise.
35498         * string/_strerror.c: Likewise.
35499         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35500         * sysdeps/i386/i686/hp-timing.h: Likewise.
35501         * sysdeps/mach/_strerror.c: Likewise.
35502         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35503         * sysdeps/mach/hurd/sethostid.c: Likewise.
35504         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35505         * sysdeps/mach/xpg-strerror.c: Likewise.
35506         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35508         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35509         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35510         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35511         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35513         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35514         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35515         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35516         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35517         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35518         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35519         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35520         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35521         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35522         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35523         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35524         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35525         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35526         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35528         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35530         * stdio-common/_itoa.h: Moved to ...
35531         * sysdeps/generic/_itoa.h: Here.
35533         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35535         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35536         instead of "_itoa.h" and "_itowa.h".
35537         * stdio-common/vfprintf.: Likewise.
35539 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35541         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35542         <bits/wordsize.h>.
35543         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35544         (__signbit): Likwise.
35545         (llrintf): Likwise.
35546         (llrint): Likwise.
35548 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35550         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35551         __WORDSIZE != 64.
35553 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35555         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35556         OVERFLOW_EXCEPTION_OK.
35557         * math/libm-test.inc ("Philosophy"): Update comment about
35558         exception testing.
35559         (OVERFLOW_EXCEPTION): Define.
35560         (OVERFLOW_EXCEPTION_OK): Likewise.
35561         (INVALID_EXCEPTION_OK): Renumber.
35562         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35563         (IGNORE_ZERO_INF_SIGN): Likewise.
35564         (test_exceptions): Handle FE_OVERFLOW.
35565         (exp10_test): Expect overflow exceptions.
35566         (exp2_test): Likewise.
35567         (expm1_test): Likewise.
35568         (nextafter_test): Likewise.
35569         (pow_test): Likewise.
35570         (scalbn_test): Likewise.
35571         (scalbln_test): Likewise.
35573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35575         * sysdeps/x86_64/bits/atomic.h
35576         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35577         64bit integer.
35578         (atomic_exchange_acq): Likewise.
35579         (__arch_exchange_and_add_body): Likewise.
35580         (__arch_add_body): Likewise.
35581         (atomic_add_negative): Likewise.
35582         (atomic_add_zero): Likewise.
35584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35586         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35587         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35591         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35592         Check __x86_64__ instead of __WORDSIZE.
35594 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35596         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35598 2012-03-19  David S. Miller  <davem@davemloft.net>
35600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35602         * sysdeps/sparc/fpu/fenv_private.h: New file.
35603         * sysdeps/sparc/fpu/math_private.h: Use it.
35604         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35605         Remove.
35606         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35607         (libc_feholdexcept_setroundl): Remove.
35608         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35609         Remove.
35610         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35611         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35615         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35616         int64_t instead of long int.
35617         (INSERT_WORDS64): Likwise.
35619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35621         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35622         _Unwind_GetCFA return to _Unwind_Ptr first.
35624 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35626         [BZ #13629]
35627         * math/s_clog.c: Include <float.h>.
35628         (__clog): Scale large or subnormal inputs.
35629         * math/s_clogf.c: Likewise.
35630         * math/s_clogl.c: Likewise.
35631         * math/s_clog10.c: Include <float.h>.
35632         (M_LOG10_2): Define.
35633         (__clog10): Scale large or subnormal inputs.
35634         * math/s_clog10f.c: Likewise.
35635         * math/s_clog10l.c: Likewise.
35636         * math/libm-test.inc (clog_test): Add more tests.
35637         (clog10_test): Likewise.
35638         * sysdeps/i386/fpu/libm-test-ulps: Update.
35639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35641         [BZ #11451]
35642         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35643         x and y.
35644         * math/libm-test.inc (atan2_test): Add another test.
35646         * Makerules (common-objdir-compile): Remove.
35647         * sysdeps/unix/Makefile (config-generated): Do not add
35648         $(unix-generated) to variable.
35649         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35650         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35651         Remove rule.
35652         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35653         Likewise.
35654         [generic bits/local_lim.h] (before-compile): Do not append to
35655         variable.
35656         [generic bits/local_lim.h] (common-generated): Likewise.
35657         [generic sys/param.h] (before-compile): Do not append to variable.
35658         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35659         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35660         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35661         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35662         include.
35663         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35664         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35665         [generic sys/param.h] ($(addprefix
35666         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35667         [generic sys/param.h] (common-generated): Do not append to
35668         variable.
35669         [generic sys/param.h] (sysdep_headers): Likewise.
35670         [generic bits/errno.h] (before-compile): Do not append to
35671         variable.
35672         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35673         rule.
35674         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35675         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35676         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35677         [generic bits/errno.h] (common-generated): Do not append to
35678         variable.
35679         [generic bits/ioctls.h] (before-compile): Do not append to
35680         variable.
35681         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35682         rule.
35683         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35684         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35685         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35686         rule.
35687         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35688         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35689         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35690         [generic bits/ioctls.h] (common-generated): Do not append to
35691         variable.
35692         [generic sys/syscall.h] (syscall.h): Remove variable.
35693         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35694         rule.
35695         [generic sys/syscall.h] (before-compile): Do not append to
35696         variable.
35697         [generic sys/syscall.h] (common-generated): Likewise.
35698         * sysdeps/unix/errnos-tmpl.c: Remove file.
35699         * sysdeps/unix/errnos.awk: Likewise.
35700         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35701         * sysdeps/unix/ioctls.awk: Likewise.
35702         * sysdeps/unix/mk-local_lim.c: Likewise.
35703         * sysdeps/unix/snarf-ioctls: Likewise.
35705 2012-03-19  Richard Henderson  <rth@twiddle.net>
35707         * sysdeps/i386/fpu/fenv_private.h: New file.
35708         * sysdeps/i386/fpu/math_private.h: Use it.
35709         (math_opt_barrier, math_force_eval): Remove.
35710         (libc_feholdexcept_setround_53bit): Remove.
35711         (libc_feupdateenv_53bit): Remove.
35712         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35713         (math_opt_barrier, math_force_eval): Remove.
35714         (libc_feholdexcept): Remove.
35715         (libc_feholdexcept_setround): Remove.
35716         (libc_fetestexcept, libc_fesetenv): Remove.
35717         (libc_feupdateenv_test): Remove.
35718         (libc_feupdateenv, libc_feholdsetround): Remove.
35719         (libc_feresetround): Remove.
35721         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35722         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35724         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35725         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35726         (libc_feupdateenv_testl): New.
35727         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35728         (libc_feupdateenv_testf): New.
35729         (libc_feupdateenv): Use libc_feupdateenv_test.
35730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35733         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35734         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35735         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35736         (libc_feresetround_noex): New.
35737         (libc_feresetround_noexf): New.
35738         (libc_feresetround_noexl): New.
35739         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35740         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35741         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35742         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35743         SET_RESTORE_ROUND.
35744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35746         (__cos): Likewise.
35747         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35748         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35749         SET_RESTORE_ROUND_NOEX.
35750         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35751         SET_RESTORE_ROUND_NOEXF.
35752         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35753         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35754         (libc_feholdsetroundf): New.
35755         (libc_feresetround, libc_feresetroundf): New.
35757         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35758         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35759         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35761         * sysdeps/generic/math_private.h: Include <fenv.h>.
35762         (default_libc_feholdexcept): New.
35763         (default_libc_feholdexcept_setround): New.
35764         (default_libc_fesetenv, default_libc_feupdateenv): New.
35765         (libc_feholdexcept): Only define if undefined.
35766         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35767         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35768         (libc_feholdexcept_setroundl): Likewise.
35769         (libc_feholdexcept_setround_53bit): Likewise.
35770         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35771         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35772         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35773         (libc_feupdateenv_53bit): Likewise.
35774         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35775         (libc_feholdexcept): Convert from macro to inline function.
35776         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35777         (libc_fesetenv, libc_feupdateenv): Likewise.
35779         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35780         not previously defined.
35781         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35782         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35783         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35784         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35785         * sysdeps/ieee754/flt-32/math_private.h: New file.
35786         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35787         math_private.h below SET_FLOAT_WORD.
35788         (__isnan, __isinf_ns, __finite): Remove.
35789         (__isnanf, __isinf_nsf, __finitef): Remove.
35791 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35795 2012-03-17  David S. Miller  <davem@davemloft.net>
35797         [BZ #6471]
35798         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35799         for 2.16.
35801 2012-03-16  David S. Miller  <davem@davemloft.net>
35803         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35804         warnings.
35806         [BZ #6471]
35807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35808         properly.
35809         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35810         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35811         sysdep_routines when subdir is sysvipc.
35812         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35813         __getshmlba helper.
35815         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35819         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35820         [__LP64__].
35822 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35824         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35825         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35826         (__lround): Renamed to ...
35827         (__llround): This.  Replace long int with long long int.
35828         Define lround functions as aliases of llround functions.
35829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35831 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35833         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35834         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35835         adresses to uintptr_t.  Replace "long int" and "unsigned long
35836         int" with "greg_t" on va_arg.
35838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35840         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35841         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35843         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35844         Move e_machine check before EI_CLASS check.  Handle x32
35845         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35846         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35847         SKIP_EM_IA_64 and include
35848         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35850         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35851         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35852         (add_system_dir): New macro.
35854         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35855         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35857 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35859         [BZ #2551]
35860         [BZ #2552]
35861         [BZ #2553]
35862         [BZ #2554]
35863         [BZ #2562]
35864         [BZ #2563]
35865         [BZ #2565]
35866         [BZ #2566]
35867         [BZ #2576]
35868         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35869         (y0): Likewise.
35870         * math/w_j0f.c (j0f): Likewise.
35871         (y0f): Likewise.
35872         * math/w_j0l.c (__j0l): Likewise.
35873         (__y0l): Likewise.
35874         * math/w_j1.c (j1): Likewise.
35875         (y1): Likewise.
35876         * math/w_j1f.c (j1f): Likewise.
35877         (y1f): Likewise.
35878         * math/w_j1l.c (__j1l): Likewise.
35879         (__y1l): Likewise.
35880         * math/w_jn.c (jn): Likewise.
35881         (yn): Likewise.
35882         * math/w_jnf.c (jnf): Likewise.
35883         (ynf): Likewise.
35884         * math/w_jnl.c (__jnl): Likewise.
35885         (__ynl): Likewise.
35886         * math/libm-test.inc (j0_test): Add more tests.
35887         (j1_test): Likewise.
35888         (jn_test): Likewise.  Add trailing semicolon to existing test.
35889         (y0_test): Likewise.
35890         (y1_test): Likewise.
35891         * sysdeps/i386/fpu/libm-test-ulps: Update.
35892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35894         [BZ #13851]
35895         [BZ #13854]
35896         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35897         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35898         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35899         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35900         (__tanl): Set errno for infinite argument.
35901         * sysdeps/i386/fpu/mptan.c: Remove.
35902         * sysdeps/i386/fpu/s_tan.S: Likewise.
35903         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35904         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35905         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35906         * math/libm-test.inc (tan_test): Add more tests and enable more
35907         tests for double and long double.
35908         * sysdeps/i386/fpu/libm-test-ulps: Update.
35909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35911 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35913         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35914         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35916 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35918         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35919         * configure.in: Use it for both main tree and add-ons.
35920         * configure: Regenerated.
35922 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35924         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35926 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35928         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35929         in comment.
35931         [BZ #13851]
35932         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35933         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35934         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35935         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35936         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35937         infinite argument.
35938         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35940         != 0 for prec == 2.
35941         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35942         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35943         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35944         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35945         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35946         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35947         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35948         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35949         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35950         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35951         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35952         * math/libm-test.inc (cos_test): Add more tests and enable more
35953         tests for long double.
35954         (sin_test): Likewise.
35955         (sincos_test): Likewise.
35956         * sysdeps/i386/fpu/libm-test-ulps: Update.
35957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959 2012-03-16  David S. Miller  <davem@davemloft.net>
35961         * sysdeps/sparc/fpu/math_private.h: New file.
35963 2012-03-15  David S. Miller  <davem@davemloft.net>
35965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35966         file.
35967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35969         file.
35970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35975         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35976         sysdep routines.
35977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35979         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35980         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35982         * sysdeps/sparc/sparc-ifunc.h: New file.
35983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35984         sparc-ifunc.h
35985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35987         Likewise.
35988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35989         Likewise.
35990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35994         Likewise.
35995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36000         Likewise.
36001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36002         Likewise.
36003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36009         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36025         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36026         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36028 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36030         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36031         scaling.
36032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36034 2012-03-15  Andreas Jaeger  <aj@suse.de>
36036         [BZ #13852]
36037         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36038         ieee754/flt-32 implementation for sin, cos and sincos.
36039         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36040         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36041         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36042         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36043         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36044         ieee754/flt-32 implementation for tan.
36046         * math/libm-test.inc (cos_test): Enable some large input tests for
36047         float as well
36048         (sin_test): Likewise.
36049         (sincos_test): Likewise.
36050         (tan_test): Add tests for large input.
36052         * sysdeps/i386/fpu/libm-test-ulps: Update.
36054 2012-03-15  Andreas Jaeger  <aj@suse.de>
36056         [BZ #13658]
36057         * math/libm-test.inc (cos_test): Add more test cases.
36058         (sin_test): Likewise.
36059         (sincos_test): Likewise.
36061 2012-03-15  Andreas Jaeger  <aj@suse.de>
36063         [BZ #13837]
36064         * math/libm-test.inc (cos_test): Add a test case for large input
36065         value.
36066         (sin_test): Likewise.
36067         (sincos_test): Likewise.
36069 2012-03-15  Andreas Jaeger  <aj@suse.de>
36070             Joseph Myers  <joseph@codesourcery.com>
36072         [BZ #13658]
36073         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36074         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36075         * sysdeps/i386/fpu/branred.c: Likewise.
36076         * sysdeps/i386/fpu/dosincos.c: Likewise.
36077         * sysdeps/i386/fpu/mpa.c: Likewise.
36078         * sysdeps/i386/fpu/s_cos.S: Likewise.
36079         * sysdeps/i386/fpu/s_sin.S: Likewise.
36080         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36081         * sysdeps/i386/fpu/sincos32.c: Likewise.
36083         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36084         Define.
36085         (libc_feupdateenv_53bit): Define.
36086         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36087         Define.
36088         (libc_feupdateenv_53bit): Define.
36090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36091         53 bit (without extend i386 double precision).
36093         * math/libm-test.inc (sincos_test): Add tests for large input.
36094         (sin): Likewise.
36095         (cos): Likewise.
36097         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36099 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36103 2012-03-15  David S. Miller  <davem@davemloft.net>
36105         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36106         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36107         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36108         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36121         file.
36122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36124         file.
36125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36127         file.
36128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36130         file.
36131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36132         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36133         fmin/fmax sysdep routines.
36134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36136 2012-03-14  David S. Miller  <davem@davemloft.net>
36138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36167         routines.
36168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36169         file.
36170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36172         file.
36173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36175         file.
36176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36178         file.
36179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36181         file.
36182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36184         file.
36185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36186         file.
36187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36188         file.
36189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36190         file.
36191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36192         New file.
36193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36194         file.
36195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36196         file.
36197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36199         file.
36200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36202         file.
36203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36205         file.
36206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36208         VIS3 routines.
36210         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36211         New file.
36213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36215         * sysdeps/sparc/configure.in: New file.
36216         * sysdeps/sparc/configure: Generate.
36217         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36218         * configure: Regenerate.
36219         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36220         * config.make.in (have-as-vis3): New.
36221         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36222         available use -Av9d instead of -Av9a.
36223         * sysdeps/sparc/sparc64/Makefile: Likewise.
36224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36226         New file.
36227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36228         file.
36229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36230         New file.
36231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36232         file.
36233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36239         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36240         fzeros/fnegs to load 0x80000000 into a float register instead of
36241         using the stack.
36242         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36244 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36247         bits/syscall.h.
36248         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36249         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36250         ($(inst_includedir)/bits/syscall.h): Remove rule.
36251         ($(objpfx)bits/syscall.d): Include instead of
36252         $(objpfx)syscall-list.d.
36253         (generated): Change syscall-list.h and syscall-list.d to
36254         bits/syscall.h and bits/syscall.d.
36256 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36258         [BZ #13846]
36259         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36261 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36263         [BZ #13841]
36264         * math/s_csqrt.c: Include <float.h>.
36265         (__csqrt): Scale large or subnormal inputs.
36266         * math/s_csqrtf.c: Likewise.
36267         * math/s_csqrtl.c: Likewise.
36268         * math/libm-test.inc (csqrt_test): Add more tests.
36269         * sysdeps/i386/fpu/libm-test-ulps: Update.
36270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272         [BZ #13840]
36273         * math/libm-test.inc (hypot_test): Add more tests.
36275 2012-03-13  David S. Miller  <davem@davemloft.net>
36277         [BZ #13840]
36278         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36279         double-precision for the calculation instead of scaling.
36281 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36283         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36284         manipulate bits before adding and subtracting TWO52[sx].
36285         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36286         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36287         Likewise.
36288         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36290 2012-03-13  David S. Miller  <davem@davemloft.net>
36292         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36293         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36294         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36295         rtld-global-offsets.h
36296         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36298         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36299         large parameters.
36301         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36303         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36304         'err' in the ifdef scope in which it is actually used.
36306         * nss/nss_db/db-init.c: Include string.h
36308 2012-03-12  David S. Miller  <davem@davemloft.net>
36310         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36311         masking out of the most significant byte of random value used.
36312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36313         Fix coding style in previous change.
36315         * sysdeps/unix/sysv/linux/kernel-features.h
36316         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36317         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36318         expression.
36319         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36320         later.
36322 2012-03-11  David S. Miller  <davem@davemloft.net>
36324         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36325         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36326         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36327         for 'resultvar' otherwise things get truncated on 64-bit.
36329         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36330         Fix masking out of the most significant byte of random value used.
36332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36334 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36338 2012-03-09  David S. Miller  <davem@davemloft.net>
36340         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36341         variables with appropriate CPP guards.
36342         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36343         from the frame pointer, not the stack pointer.  Correct layout
36344         comments.  Fix test on resulting framesize and the management of
36345         the outregs buffer for pltexit.  Preserve floating point return
36346         values across _dl_call_pltexit call.
36347         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36348         framesize and the management of the outregs buffer for pltexit.
36349         Preserve floating point return values across _dl_call_pltexit
36350         call.
36351         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36352         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36353         (la_sparc64_gnu_pltexit): New functions.
36354         (print_exit): Fix format string for return register value.
36356 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36358         * sunrpc/Makefile (others): Add rpcgen.
36359         ($(objpfx)rpcgen): Remove special build rule and dependency on
36360         libc.
36361         * sunrpc/rpcgen.c: New file.
36363 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36365         [BZ #13673]
36366         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36367         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36368         * sysdeps/i386/crti.S: Likewise.
36369         * sysdeps/i386/crtn.S: Likewise.
36370         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36371         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36372         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36373         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36374         * sysdeps/sh/crti.S: Likewise.
36375         * sysdeps/sh/crtn.S: Likewise.
36376         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36378         [BZ #13673]
36379         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36380         with URL.
36381         * locale/programs/locfile-kw.gperf: Likewise.
36382         * locale/programs/charmap-kw.h: Regenerated.
36383         * locale/programs/locfile-kw.h: Likewise.
36385         [BZ #13673]
36386         * intl/plural.y: Replace FSF snail mail address with URL.
36387         * intl/plural.c: Regenerated.
36389 2012-03-09  Richard Henderson  <rth@twiddle.net>
36391         * include/math_private.h: Remove file.
36392         * math/math_private.h: Move file ...
36393         * sysdeps/generic/math_private.h: ... here.
36395         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36396         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36397         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36399         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36400         and <math_private.h>.
36401         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36402         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36403         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36404         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36405         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36406         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36407         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36409         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36410         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36412         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36413         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36414         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36415         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36416         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36417         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36418         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36419         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36421         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36422         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36423         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36425         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36426         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36427         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36428         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36431         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36432         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36433         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36434         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36435         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36436         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36437         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36438         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36439         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36440         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36441         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36442         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36443         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36444         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36445         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36446         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36447         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36448         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36449         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36450         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36451         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36452         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36453         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36454         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36455         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36456         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36457         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36458         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36459         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36460         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36461         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36462         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36464         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36465         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36466         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36467         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36468         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36469         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36470         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36472         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36473         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36474         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36475         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36481         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36482         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36484         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36485         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36488         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36489         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36490         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36491         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36492         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36493         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36494         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36495         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36496         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36497         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36498         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36499         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36500         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36501         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36502         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36503         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36504         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36505         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36506         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36507         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36508         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36509         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36511         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36512         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36513         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36514         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36515         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36517         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36518         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36519         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36520         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36521         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36522         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36523         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36524         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36525         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36526         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36527         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36528         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36529         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36530         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36531         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36532         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36533         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36534         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36535         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36536         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36537         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36538         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36539         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36540         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36541         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36542         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36543         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36544         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36545         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36546         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36547         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36548         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36549         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36550         * sysdeps/ieee754/k_standard.c: Likewise.
36551         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36552         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36553         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36554         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36555         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36556         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36557         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36558         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36559         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36560         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36561         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36563         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36564         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36565         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36566         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36567         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36568         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36569         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36570         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36572         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36573         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36574         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36575         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36576         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36577         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36578         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36579         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36580         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36581         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36582         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36584         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36585         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36586         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36587         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36588         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36589         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36590         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36591         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36592         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36593         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36594         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36595         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36596         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36597         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36598         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36599         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36601         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36602         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36603         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36604         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36606         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36607         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36608         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36609         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36610         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36611         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36613         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36619         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36621         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36624         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36628         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36629         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36630         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36631         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36632         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36633         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36634         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36635         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36636         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36637         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36638         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36639         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36641         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36642         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36643         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36644         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36647         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36648         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36649         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36650         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36651         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36652         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36655         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36656         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36657         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36658         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36659         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36660         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36661         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36662         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36664         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36665         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36666         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36667         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36668         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36669         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36670         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36672         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36673         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36674         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36675         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36676         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36677         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36678         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36679         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36680         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36681         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36682         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36683         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36684         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36685         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36686         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36687         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36688         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36689         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36690         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36691         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36692         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36693         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36694         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36695         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36696         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36697         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36698         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36699         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36700         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36701         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36702         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36703         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36704         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36705         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36706         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36707         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36708         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36709         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36710         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36711         * sysdeps/ieee754/s_lib_version.c: Likewise.
36712         * sysdeps/ieee754/s_matherr.c: Likewise.
36713         * sysdeps/ieee754/s_signgam.c: Likewise.
36714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36716         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36717         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36718         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36719         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36720         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36721         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36722         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36723         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36724         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36725         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36726         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36727         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36728         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36729         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36731         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36732         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36736 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36738         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36739         * sunrpc/rpc_main.c: Likewise.
36740         * sunrpc/rpc_svcout.c: Likewise.
36742 2012-03-09  David S. Miller  <davem@davemloft.net>
36744         * include/math_private.h: New file.
36746 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36748         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36749         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36750         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36751         from <bits/socket_type.h>.
36752         (enum __socket_type): Don't define here.
36753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36755         bits/socket_type.h.
36757         [BZ #13566]
36758         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36759         checking __USE_GNU.
36761         * Makerules ($(inst_includedir)/%.h): New rule.
36762         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36763         (install-others): Remove variable setting.
36764         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36766 2012-03-08  Richard Henderson  <rth@twiddle.net>
36768         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36769         from macro to inline function; merge with the
36770         !__LIBC_INTERNAL_MATH_INLINES version.
36771         (__ieee754_sqrtf): Likewise.
36773         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36774         to inline function.
36775         (__rintf, __floor, __floorf): Likewise.
36777         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36778         macro to inline function.
36779         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36781         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36782         not <math/math_private.h>.
36784 2012-03-08  David S. Miller  <davem@davemloft.net>
36786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36787         copyright year.
36788         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36790 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36792         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36793         normalization.
36794         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36795         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36797 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36799         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36800         be defined individually, they must be defined as a block.  Define
36801         S for printing a string instead of hidint the different by using a
36802         macro for adding the 'l'.
36803         * stdio-common/tst-fphex-wide.c: Adjust.
36805 2012-03-07  Marek Polacek  <polacek@redhat.com>
36807         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36809 2012-03-08  Marek Polacek  <polacek@redhat.com>
36811         [BZ #13806]
36812         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36813         * stdio-common/tst-fphex.c: Define a few macros to make the
36814         test reusable.  Use them.
36815         * stdio-common/tst-fphex-wide.c: New file.
36817 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36819         [BZ #6911]
36820         * manual/macros.texi (gnusystems): New macro.
36821         (nongnusystems): Likewise.
36822         (gnulinuxhurdsystems): Likewise.
36823         (gnuhurdsystems): Likewise..
36824         (gnulinuxsystems): Likewise.
36825         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36826         variants of the GNU system, not "GNU system".
36827         * manual/conf.texi: Likewise.
36828         * manual/errno.texi: Likewise.  Update example of errno macro
36829         expansion.
36830         * manual/filesys.texi: Likewise.
36831         (getumask): Document as specific to GNU/Hurd.
36832         * manual/install.texi: Likewise.  Reword some references to
36833         GNU/Linux.
36834         * manual/intro.texi: Likewise.
36835         * manual/io.texi: Likewise.
36836         (File Name Portability): Detail which constraints are inapplicable
36837         to all GNU systems and which are only inapplicable to GNU/Hurd.
36838         * manual/job.texi: Likewise.
36839         * manual/llio.texi: Likewise.
36840         (O_NOCTTY): Document as present on GNU/Linux.
36841         * manual/maint.texi: Likewise.
36842         * manual/memory.texi: Likewise.
36843         * manual/pattern.texi: Likewise.
36844         * manual/pipe.texi: Likewise.
36845         * manual/process.texi: Likewise.
36846         * manual/resource.texi: Likewise.
36847         (RUSAGE_CHILDREN): Remove statement about specifying a particular
36848         child on GNU/Hurd.
36849         * manual/setjmp.texi: Likewise.
36850         * manual/signal.texi: Likewise.
36851         * manual/startup.texi: Likewise.
36852         * manual/stdio.texi: Likewise.
36853         * manual/terminal.texi: Likewise.
36854         (ONLCR): Document as POSIX.
36855         (OXTABS): Document availability on GNU/Linux as XTABS.
36856         (ONOEOT): Document availability separately from other bits.
36857         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36858         * manual/time.texi: Likewise.
36859         * manual/users.texi: Likewise.
36860         * INSTALL: Regenerated.
36861         * sysdeps/gnu/errlist.c: Regenerated.
36863         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36864         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36865         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36866         puts.
36867         * configure: Regenerated.
36869 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36871         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36872         default includes instead of AC_HEADER_CHECK.
36873         * sysdeps/i386/configure: Regenerated.
36875         [BZ #10716]
36876         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36877         * math/s_cacoshf.c (__cacoshf): Likewise.
36878         * math/s_cacoshl.c (__cacoshl): Likewise.
36879         * math/s_casinh.c (__casinh): Set signs of result from argument.
36880         * math/s_casinhf.c (__casinhf): Likewise.
36881         * math/s_casinhl.c (__casinhl): Likewise.
36882         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36883         (casinh_test): Add more tests.
36884         * sysdeps/i386/fpu/libm-test-ulps: Update.
36885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36887 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36889         * po/zh_TW.po: Update from translation team.
36891         * login/Makefile (distribute): Remove variable.
36892         * catgets/Makefile: Likewise.
36893         * mach/Makefile: Likewise.
36894         * malloc/Makefile: Likewise.
36895         * misc/Makefile: Likewise.
36896         * iconv/Makefile: Likewise.
36897         * nscd/Makefile: Likewise.
36898         * hurd/Makefile: Likewise.
36899         * manual/Makefile: Likewise.
36900         * locale/Makefile: Likewise.
36901         * intl/Makefile: Likewise.
36902         * conform/Makefile: Likewise.
36903         * nss/Makefile: Likewise.
36904         * time/Makefile: Likewise.
36905         * soft-fp/Makefile: Likewise.
36906         * dirent/Makefile: Likewise.
36907         * gmon/Makefile: Likewise.
36908         * po/Makefile: Likewise.
36909         * rt/Makefile: Likewise.
36910         * socket/Makefile: Likewise.
36911         * math/Makefile: Likewise.
36912         * signal/Makefile: Likewise.
36913         * debug/Makefile: Likewise.
36914         * elf/Makefile: Likewise.
36915         * timezone/Makefile: Likewise.
36916         * stdlib/Makefile: Likewise.
36917         * iconvdata/Makefile: Likewise.
36918         * sunrpc/Makefile: Likewise.
36919         * io/Makefile: Likewise.
36920         * argp/Makefile: Likewise.
36921         * inet/Makefile: Likewise.
36922         * hesiod/Makefile: Likewise.
36923         * grp/Makefile: Likewise.
36924         * csu/Makefile: Likewise.
36925         * wctype/Makefile: Likewise.
36926         * crypt/Makefile: Likewise.
36927         * libio/Makefile: Likewise.
36928         * string/Makefile: Likewise.
36929         * nis/Makefile: Likewise.
36930         * resolv/Makefile: Likewise.
36931         * stdio-common/Makefile: Likewise.
36932         * wcsmbs/Makefile: Likewise.
36933         * dlfcn/Makefile: Likewise.
36934         * posix/Makefile: Likewise.
36936         [BZ #6959]
36937         * timezone/Makefile: Don't install timezone files, just the programs
36938         and scripts.
36940 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36942         * nss/databases.def: Add missing gshadow entry.
36944         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36946 2012-03-06  Marek Polacek  <polacek@redhat.com>
36948         [BZ #13726]
36949         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36950         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36951         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36952         * stdio-common/tst-long-dbl-fphex.c: New file.
36954 2012-03-06  David S. Miller  <davem@davemloft.net>
36956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36957         (set_obp_int): New function.
36958         (get_obp_int): New function.
36959         (__get_clockfreq_via_dev_openprom): Likewise.
36960         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36961         Avoid unused variable warnings on 'val' and use builtin_expect.
36962         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36963         __builtin_expect.
36964         (INLINE_CLONE_SYSCALL): Likewise.
36966 2012-03-05  David S. Miller  <davem@davemloft.net>
36968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36970 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36974         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36975         only for |x| >= 40.
36976         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36978 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36981         Replace gettimeofday with __vdso_gettimeofday.
36983         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36984         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36985         __vdso_clock_gettime and __vdso_getcpu.
36987         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36988         time with __vdso_time.
36990 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36992         * manual/lang.texi (size_t): Note types to which size_t may be
36993         equivalent with the GNU C Library, but do not describe when
36994         differences between them are significant.
36996 2012-03-05  Andreas Jaeger  <aj@suse.de>
36998         * sysdeps/i386/fpu/libm-test-ulps: Update.
37000 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37002         [BZ #3976]
37003         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37004         (__ieee754_pow): Save and restore rounding mode and use
37005         round-to-nearest for main computations.
37006         * math/libm-test.inc (pow_test_tonearest): New function.
37007         (pow_test_towardzero): Likewise.
37008         (pow_test_downward): Likewise.
37009         (pow_test_upward): Likewise.
37010         (main): Call the new functions.
37011         * sysdeps/i386/fpu/libm-test-ulps: Update.
37012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37014         [BZ #3976]
37015         * math/libm-test.inc (cosh_test_tonearest): New function.
37016         (cosh_test_towardzero): Likewise.
37017         (cosh_test_downward): Likewise.
37018         (cosh_test_upward): Likewise.
37019         (sinh_test_tonearest): Likewise.
37020         (sinh_test_towardzero): Likewise.
37021         (sinh_test_downward): Likewise.
37022         (sinh_test_upward): Likewise.
37023         (main): Call the new functions.
37024         * sysdeps/i386/fpu/libm-test-ulps: Update.
37025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37027 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37029         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37030         default stack guard is set in last bytes.
37031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37033 2012-03-05  Kees Cook  <keescook@chromium.org>
37035         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37037         [BZ #13656]
37038         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37039         possibly allocate from heap instead of stack.
37040         * stdio-common/bug-vfprintf-nargs.c: New file.
37041         * stdio-common/Makefile (tests): Add nargs overflow test.
37043 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37047 2012-03-03  Marek Polacek  <polacek@redhat.com>
37049         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37050         * math/math_private.h: Likewise.
37051         * stdlib/tst-strtod.c: Likewise.
37052         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37053         * sysdeps/x86_64/bits/atomic.h: Likewise.
37055 2012-03-02  David S. Miller  <davem@davemloft.net>
37057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37061         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37062         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37063         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37064         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37066 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37068         [BZ #13792]
37069         * manual/examples/README: New file, says the example source files
37070         can be used under GPL>=2.
37071         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37072         line containing just "*/".
37073         * manual/examples/add.c: Add copyright header (GPL>=2).
37074         * manual/examples/argp-ex1.c: Likewise.
37075         * manual/examples/argp-ex2.c: Likewise.
37076         * manual/examples/argp-ex3.c: Likewise.
37077         * manual/examples/argp-ex4.c: Likewise.
37078         * manual/examples/atexit.c: Likewise.
37079         * manual/examples/db.c: Likewise.
37080         * manual/examples/dir.c: Likewise.
37081         * manual/examples/dir2.c: Likewise.
37082         * manual/examples/execinfo.c: Likewise.
37083         * manual/examples/filecli.c: Likewise.
37084         * manual/examples/filesrv.c: Likewise.
37085         * manual/examples/fmtmsgexpl.c: Likewise.
37086         * manual/examples/genpass.c: Likewise.
37087         * manual/examples/inetcli.c: Likewise.
37088         * manual/examples/inetsrv.c: Likewise.
37089         * manual/examples/isockad.c: Likewise.
37090         * manual/examples/longopt.c: Likewise.
37091         * manual/examples/memopen.c: Likewise.
37092         * manual/examples/memstrm.c: Likewise.
37093         * manual/examples/mkfsock.c: Likewise.
37094         * manual/examples/mkisock.c: Likewise.
37095         * manual/examples/mygetpass.c: Likewise.
37096         * manual/examples/pipe.c: Likewise.
37097         * manual/examples/popen.c: Likewise.
37098         * manual/examples/rprintf.c: Likewise.
37099         * manual/examples/search.c: Likewise.
37100         * manual/examples/select.c: Likewise.
37101         * manual/examples/setjmp.c: Likewise.
37102         * manual/examples/sigh1.c: Likewise.
37103         * manual/examples/sigusr.c: Likewise.
37104         * manual/examples/stpcpy.c: Likewise.
37105         * manual/examples/strdupa.c: Likewise.
37106         * manual/examples/strftim.c: Likewise.
37107         * manual/examples/strncat.c: Likewise.
37108         * manual/examples/subopt.c: Likewise.
37109         * manual/examples/swapcontext.c: Likewise.
37110         * manual/examples/termios.c: Likewise.
37111         * manual/examples/testopt.c: Likewise.
37112         * manual/examples/testpass.c: Likewise.
37113         * manual/examples/timeval_subtract.c: Likewise.
37115         [BZ #13792]
37116         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37117         function to ...
37118         * manual/timeval_subtract.c.texi: ... here, new file.
37120 2012-03-02  David S. Miller  <davem@davemloft.net>
37122         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37124 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37126         [BZ #3976]
37127         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37128         (__sin): Save and restore rounding mode and use round-to-nearest
37129         for all computations.
37130         (__cos): Save and restore rounding mode and use round-to-nearest
37131         for all computations.
37132         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37133         <fenv.h>.
37134         (tan): Save and restore rounding mode and use round-to-nearest for
37135         all computations.
37136         * math/libm-test.inc (cos_test_tonearest): New function.
37137         (cos_test_towardzero): Likewise.
37138         (cos_test_downward): Likewise.
37139         (cos_test_upward): Likewise.
37140         (sin_test_tonearest): Likewise.
37141         (sin_test_towardzero): Likewise.
37142         (sin_test_downward): Likewise.
37143         (sin_test_upward): Likewise.
37144         (tan_test_tonearest): Likewise.
37145         (tan_test_towardzero): Likewise.
37146         (tan_test_downward): Likewise.
37147         (tan_test_upward): Likewise.
37148         (main): Call the new functions.
37149         * sysdeps/i386/fpu/libm-test-ulps: Update.
37150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37152         [BZ #10135]
37153         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37154         small n, then large n, before computing and testing k+n.
37155         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37157         Likewise.
37158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37159         Likewise.
37160         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37161         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37164         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37166         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37167         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37168         * math/libm-test.inc (scalbn_test): Add more tests.
37169         (scalbln_test): Likewise.
37171         * manual/filesys.texi (mode_t): Describe constraints on size and
37172         signedness, not exact equivalence to a particular type.
37173         (ino_t): Likewise.
37174         (ino64_t): Likewise.
37175         (dev_t): Likewise.
37176         (nlink_t): Likewise.
37177         (blkcnt_t): Likewise.
37178         (blkcnt64_t): Likewise.
37179         * manual/llio.texi (off_t): Likewise.
37181         [BZ #3976]
37182         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37183         (__ieee754_exp): Save and restore rounding mode and use
37184         round-to-nearest for all computations.
37185         * math/libm-test.inc (exp_test_tonearest): New function.
37186         (exp_test_towardzero): Likewise.
37187         (exp_test_downward): Likewise.
37188         (exp_test_upward): Likewise.
37189         (main): Call the new functions.
37190         * sysdeps/i386/fpu/libm-test-ulps: Update.
37191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37193 2012-03-01  Chris Demetriou  <cgd@google.com>
37195         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37196         have predictable order.
37198 2012-03-01  David S. Miller  <davem@davemloft.net>
37200         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37202         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37203         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37204         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37205         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37207         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37208         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37209         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37211         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37212         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37213         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37214         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37215         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37220         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37221         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37223         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37224         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37225         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37226         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37227         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37229         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37230         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37231         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37232         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37233         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37234         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37236         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37237         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37239         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37240         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37241         * sysdeps/sparc/elf/configure: Regenerated.
37243 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37245         * configure.in (AS, LD): Require binutils 2.20 or later.
37246         * configure: Regenerated.
37247         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37248         as required minimum version.
37249         * INSTALL: Regenerated.
37251         [BZ #2541]
37252         [BZ #4108]
37253         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37254         before squaring exponent.
37255         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37256         bottom long double and 27 bits of top long double before squaring
37257         exponent.
37258         * math/libm-test.inc (erfc_test): Add more tests.
37259         * sysdeps/i386/fpu/libm-test-ulps: Update.
37260         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37265         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37266         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37267         containing bit-fields.
37268         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37269         * soft-fp/single.h (_FP_UNION_S): Likewise.
37270         * soft-fp/double.h (_FP_UNION_D): Likewise.
37272 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37274         [BZ #13786]
37275         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37276         not include ../strcmp.S.
37277         [USE_AS_STRNCASECMP_L]: Likewise.
37278         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37279         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37280         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37281         (__strncasecmp_l_ia32): Define as alias to
37282         __strncasecmp_l_nonascii.
37284         [BZ #5794]
37285         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37286         * sysdeps/i386/fpu/libm-test-ulps: Update.
37287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37289         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37292 2012-02-29  Jeff Law  <law@redhat.com>
37294         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37295         out of bounds read.
37297 2012-02-29  Marek Polacek  <polacek@redhat.com>
37299         [BZ #13706]
37300         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37301         * elf/Makefile: Add rules to run tst-unused-dep.out.
37303 2012-02-28  David S. Miller  <davem@davemloft.net>
37305         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37306         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37307         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37308         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37309         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37310         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37312 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37314         * math/libm-test.inc (llround_test): Move one test from
37315         lround_test.  Use TEST_f_L in moved test.
37316         (lround_test): Move misplaced test to llround_test.  Add testcase
37317         from bug 2561.
37319 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37321         * sysdeps/x86_64/fpu/e_expf.S: New file.
37322         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37324 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37326         [BZ #13637]
37327         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37328         of remain_len that may cause incomplete multi-byte character and
37329         false match.
37330         * posix/bug-regex33.c: New file.
37331         * posix/Makefile (tests): Add bug-regex33.
37333 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37335         * manual/macros.texi: New file.
37336         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37337         * manual/libc.texinfo: Include macros.texi.
37338         * manual/creatute.texi: Likewise.
37339         * manual/install.texi: Likewise.
37340         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37341         @glibcadj{} in references to the GNU C Library.
37342         * manual/charset.texi: Likewise.
37343         * manual/conf.texi: Likewise.
37344         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37345         when not using those macros.
37346         * manual/creature.texi: Likewise.
37347         * manual/crypt.texi: Likewise.
37348         * manual/errno.texi: Likewise.
37349         * manual/filesys.texi: Likewise.
37350         * manual/header.texi: Likewise.
37351         * manual/install.texi: Likewise.
37352         * manual/intro.texi: Likewise.
37353         * manual/io.texi: Likewise.
37354         * manual/job.texi: Likewise.
37355         * manual/lang.texi: Likewise.
37356         * manual/libc.texiinfo: Likewise.
37357         * manual/llio.texi: Likewise.
37358         * manual/locale.texi: Likewise.
37359         * manual/maint.texi: Likewise.
37360         * manual/math.texi: Likewise.
37361         * manual/memory.texi: Likewise.
37362         * manual/message.texi: Likewise.
37363         * manual/nss.texi: Likewise.
37364         * manual/pattern.texi: Likewise.
37365         * manual/process.texi: Likewise.
37366         * manual/resource.texi: Likewise.
37367         * manual/search.texi: Likewise.
37368         * manual/setjmp.texi: Likewise.
37369         * manual/signal.texi: Likewise.
37370         * manual/socket.texi: Likewise.
37371         * manual/startup.texi: Likewise.
37372         * manual/stdio.texi: Likewise.
37373         * manual/string.texi: Likewise.
37374         * manual/sysinfo.texi: Likewise.
37375         * manual/syslog.texi: Likewise.
37376         * manual/terminal.texi: Likewise.
37377         * manual/time.texi: Likewise.
37378         * manual/users.texi: Likewise.
37379         * INSTALL: Regenerated.
37380         * NOTES: Regenerated.
37381         * sysdeps/gnu/errlist.c: Regenerated.
37383 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37385         * include/dirent.h: Include <dirstream.h> before
37386         <dirent/dirent.h>.
37388 2012-02-28  David S. Miller  <davem@davemloft.net>
37390         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37391         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37392         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37393         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37395 2012-02-27  David S. Miller  <davem@davemloft.net>
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37399         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37400         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37403         frame pointer instead of stack pointer relative arg slot.
37404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37408 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37410         [BZ #3992]
37411         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37413 2012-02-27  David S. Miller  <davem@davemloft.net>
37415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37419         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37420         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37421         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37422         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37424 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37426         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37427         later.  Allow versions 5-9.
37428         * configure: Regenerated.
37429         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37430         required minimum version and 4.6 as recommended version.  Do not
37431         mention bugs in GCC 2.7 and 2.8.
37432         * INSTALL: Regenerated.
37434 2012-02-27  David S. Miller  <davem@davemloft.net>
37436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37440         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37441         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37443         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37445         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37446         manipulate bits before adding and subtracting TWO112[sx].
37447         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37449 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37451         [BZ #13775]
37452         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37453         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37454         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37455         being in POSIX, because they are in 1003.1-2008.
37457         * rt/tst-aio.c: Include <fcntl.h>.
37458         * rt/tst-aio7.c: Likewise.
37459         * rt/tst-aio64.c: Likewise.
37461         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37463 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37465         * manual/install.texi (--with-headers): Describe headers as
37466         interface headers, not private headers.
37467         (Specific advice for GNU/Linux systems): Describe use of headers
37468         from "make headers_install", not private headers from older
37469         kernels.
37470         * INSTALL: Regenerated.
37471         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37472         Change to 2.6.19.
37473         * sysdeps/unix/sysv/linux/configure: Regenerated.
37475         * manual/llio.texi (fclean): Remove documentation.
37477         * manual/Makefile (libc-texi-generated): New variable.  Include
37478         version.texi.
37479         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37480         $(libc-texi-generated), not duplicated list of files.
37481         (version.texi, stamp-version): New rules.
37482         (realclean): Remove $(libc-texi-generated), not individual files
37483         from that list.  Do not remove dir-add.texinfo.
37484         * manual/libc.texinfo: Comment out uses of edition numbers and
37485         references to printed manual.  Remove last-updated dates.
37486         (EDITION): Comment out.
37487         (ISBN): Likewise.
37488         (VERSION, UPDATED): Remove.
37489         (version.texi): Include.
37491 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37493         * sysdeps/posix/spawni.c: Include <signal.h>.
37494         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37495         * sysdeps/pthread/aio_fsync.c: Likewise.
37497 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37499         * conform/Makefile (tests): Run only when not cross-compiling and
37500         when fast-check is not defined.
37502         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37503         * conform/data/limits.h-data: Fixes for POSIX2008.
37504         * conform/run-conformtest.sh: Run all tests.
37505         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37506         headers.
37507         * include/bits/dlfcn.h: Likewise.
37508         * include/langinfo.h: Likewise.
37509         * include/monetary.h: Likewise.
37510         * include/sys/poll.h: Likewise.
37512         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37513         for __USE_GNU.
37514         * posix/spawn.h: Define __need_sigset_t.
37515         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37516         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37517         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37518         to get sigevent_t only.
37519         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37520         only for __USE_GNU.
37521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37522         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37523         process_vm_writev only for __USE_GNU.
37524         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37526         * conform/Makefile: For now ignore errors from run-conformtest.
37527         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37528         POSIX to avoid namespace pollution.  Don't prepend headers.
37529         * conform/data/aio.h-data: Fixes for POSIX testing.
37530         * conform/data/fcntl.h-data: Likewise.
37531         * conform/data/glob.h-data: Likewise.
37532         * conform/data/grp.h-data: Likewise.
37533         * conform/data/pthread.h-data: Likewise.
37534         * conform/data/pwd.h-data: Likewise.
37535         * conform/data/signal.h-data: Likewise.
37536         * conform/data/spawn.h-data: Likewise.
37537         * conform/data/stdio.h-data: Likewise.
37538         * conform/data/stdlib.h-data: Likewise.
37539         * conform/data/stropts.h-data: Likewise.
37540         * conform/data/sys/mman.h-data: Likewise.
37541         * conform/data/sys/stat.h-data: Likewise.
37542         * conform/data/sys/types.h-data: Likewise.
37543         * conform/data/sys/wait.h-data: Likewise.
37544         * conform/data/time.h-data: Likewise.
37545         * conform/data/unistd.h-data: Likewise.
37546         * conform/data/utime.h-data: Likewise.
37548         * io/sys/stat.h: fchmod was always in POSIX.
37549         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37550         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37551         * rt/aio.h: Define __need_timespec before including <time.h>.
37552         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37553         struct.  Add forward declaration of pthread_attr_t and use it in
37554         sigevent.
37555         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37556         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37557         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37558         always remove CLK_TCK definition.
37560 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37562         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37564 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37566         * conform/run-conformtest.sh: New file.
37567         * conform/Makefile: Run run-conformtest for tests.
37568         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37569         support.
37571         * conform/data/uchar.h-data: New file.
37572         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37573         * conform/data/arpa/inet.h-data: Likewise.
37574         * conform/data/assert.h-data: Likewise.
37575         * conform/data/complex.h-data: Likewise.
37576         * conform/data/cpio.h-data: Likewise.
37577         * conform/data/ctype.h-data: Likewise.
37578         * conform/data/dirent.h-data: Likewise.
37579         * conform/data/dlfcn.h-data: Likewise.
37580         * conform/data/errno.h-data: Likewise.
37581         * conform/data/fcntl.h-data: Likewise.
37582         * conform/data/float.h-data: Likewise.
37583         * conform/data/fmtmsg.h-data: Likewise.
37584         * conform/data/fnmatch.h-data: Likewise.
37585         * conform/data/ftw.h-data: Likewise.
37586         * conform/data/glob.h-data: Likewise.
37587         * conform/data/grp.h-data: Likewise.
37588         * conform/data/iconv.h-data: Likewise.
37589         * conform/data/inttypes.h-data: Likewise.
37590         * conform/data/langinfo.h-data: Likewise.
37591         * conform/data/libgen.h-data: Likewise.
37592         * conform/data/limits.h-data: Likewise.
37593         * conform/data/locale.h-data: Likewise.
37594         * conform/data/math.h-data: Likewise.
37595         * conform/data/monetary.h-data: Likewise.
37596         * conform/data/mqueue.h-data: Likewise.
37597         * conform/data/ndbm.h-data: Likewise.
37598         * conform/data/net/if.h-data: Likewise.
37599         * conform/data/netdb.h-data: Likewise.
37600         * conform/data/netinet/in.h-data: Likewise.
37601         * conform/data/nl_types.h-data: Likewise.
37602         * conform/data/poll.h-data: Likewise.
37603         * conform/data/pthread.h-data: Likewise.
37604         * conform/data/pwd.h-data: Likewise.
37605         * conform/data/regex.h-data: Likewise.
37606         * conform/data/sched.h-data: Likewise.
37607         * conform/data/search.h-data: Likewise.
37608         * conform/data/semaphore.h-data: Likewise.
37609         * conform/data/setjmp.h-data: Likewise.
37610         * conform/data/signal.h-data: Likewise.
37611         * conform/data/spawn.h-data: Likewise.
37612         * conform/data/stdarg.h-data: Likewise.
37613         * conform/data/stdio.h-data: Likewise.
37614         * conform/data/stdlib.h-data: Likewise.
37615         * conform/data/string.h-data: Likewise.
37616         * conform/data/strings.h-data: Likewise.
37617         * conform/data/stropts.h-data: Likewise.
37618         * conform/data/sys/ipc.h-data: Likewise.
37619         * conform/data/sys/mman.h-data: Likewise.
37620         * conform/data/sys/msg.h-data: Likewise.
37621         * conform/data/sys/resource.h-data: Likewise.
37622         * conform/data/sys/select.h-data: Likewise.
37623         * conform/data/sys/sem.h-data: Likewise.
37624         * conform/data/sys/shm.h-data: Likewise.
37625         * conform/data/sys/socket.h-data: Likewise.
37626         * conform/data/sys/stat.h-data: Likewise.
37627         * conform/data/sys/statvfs.h-data: Likewise.
37628         * conform/data/sys/time.h-data: Likewise.
37629         * conform/data/sys/timeb.h-data: Likewise.
37630         * conform/data/sys/times.h-data: Likewise.
37631         * conform/data/sys/types.h-data: Likewise.
37632         * conform/data/sys/uio.h-data: Likewise.
37633         * conform/data/sys/un.h-data: Likewise.
37634         * conform/data/sys/utsname.h-data: Likewise.
37635         * conform/data/sys/wait.h-data: Likewise.
37636         * conform/data/syslog.h-data: Likewise.
37637         * conform/data/tar.h-data: Likewise.
37638         * conform/data/termios.h-data: Likewise.
37639         * conform/data/utime.h-data: Likewise.
37640         * conform/data/utmpx.h-data: Likewise.
37641         * conform/data/varargs.h-data: Likewise.
37642         * conform/data/wchar.h-data: Likewise.
37643         * conform/data/wctype.h-data: Likewise.
37644         * conform/data/wordexp.h-data: Likewise.
37646         * include/stropts.h: New file.
37647         * include/uchar.h: New file.
37648         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37649         * include/assert.h: Likewise.
37650         * include/ctype.h: Likewise.
37651         * include/dirent.h: Likewise.
37652         * include/dlfcn.h: Likewise.
37653         * include/fcntl.h: Likewise.
37654         * include/fnmatch.h: Likewise.
37655         * include/glob.h: Likewise.
37656         * include/grp.h: Likewise.
37657         * include/libio.h: Likewise.
37658         * include/locale.h: Likewise.
37659         * include/math.h: Likewise.
37660         * include/net/if.h: Likewise.
37661         * include/netdb.h: Likewise.
37662         * include/netinet/in.h: Likewise.
37663         * include/pthread.h: Likewise.
37664         * include/pwd.h: Likewise.
37665         * include/regex.h: Likewise.
37666         * include/sched.h: Likewise.
37667         * include/search.h: Likewise.
37668         * include/setjmp.h: Likewise.
37669         * include/signal.h: Likewise.
37670         * include/stdio.h: Likewise.
37671         * include/stdlib.h: Likewise.
37672         * include/string.h: Likewise.
37673         * include/sys/cdefs.h: Likewise.
37674         * include/sys/mman.h: Likewise.
37675         * include/sys/msg.h: Likewise.
37676         * include/sys/resource.h: Likewise.
37677         * include/sys/select.h: Likewise.
37678         * include/sys/socket.h: Likewise.
37679         * include/sys/stat.h: Likewise.
37680         * include/sys/statvfs.h: Likewise.
37681         * include/sys/time.h: Likewise.
37682         * include/sys/times.h: Likewise.
37683         * include/sys/uio.h: Likewise.
37684         * include/sys/utsname.h: Likewise.
37685         * include/sys/wait.h: Likewise.
37686         * include/termios.h: Likewise.
37687         * include/time.h: Likewise.
37688         * include/ulimit.h: Likewise.
37689         * include/unistd.h: Likewise.
37690         * include/utime.h: Likewise.
37691         * include/wchar.h: Likewise.
37692         * include/wctype.h: Likewise.
37693         * include/wordexp.h: Likewise.
37695         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37697         * time/time.h: TIME_UTC must be a macro.
37698         Make timespec_get available for ISO C11 only as well.
37700 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37702         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37703         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37705 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37707         * configure.in: Use -o not -a in test for unsupported multi-arch.
37709 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37711         * manual/texinfo.tex: Update to version 2012-01-19.16.
37713 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37715         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37717 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37719         [BZ #13738]
37720         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37721         * manual/fdl-1.3.texi: New file.
37722         * manual/fdl-1.1.texi: File removed.
37724         [BZ #13738]
37725         * manual/libc.texinfo (FDL_VERSION): New @set.
37726         Use it for mention of FDL in cover text.
37727         (Documentation License): Use it in @include file name.
37729 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37730             Roland McGrath  <roland@hack.frob.com>
37732         [BZ #5461]
37733         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37734         (not LONG_LONG_MAX and LONG_LONG_MIN.
37735         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37736         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37737         name.
37738         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37740 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37742         [BZ #2547]
37743         [BZ #11365]
37744         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37745         manipulate bits before adding and subtracting TWO23[sx].
37746         * math/libm-test.inc (nearbyint_test): Add more tests.
37748 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37750         [BZ #2548]
37751         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37752         bits before adding and subtracting TWO23[sx].
37753         * math/libm-test.inc (rint_test): Add more tests.
37754         (rint_test_tonearest): Likewise.
37755         (rint_test_towardzero): Likewise.
37756         (rint_test_downward): Likewise.
37757         (rint_test_upward: Likewise.
37759 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37761         [BZ #10110]
37762         * include/stdc-predef.h: New file.  Extracted from features.h.
37763         * include/features.h: Include stdc-predef.h.
37764         * Makefile (headers): Add stdc-predef.h.
37765         * CONFORMANCE (Compiler limitations): Update.
37767 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37769         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37771 2012-02-21  David S. Miller  <davem@davemloft.net>
37773         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37774         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37776 2012-02-20  David S. Miller  <davem@davemloft.net>
37778         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37779         using a normal save/restore sequence, rather than allocating a
37780         dummy stack frame just to store a frame pointer and restore.
37781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37783 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37785         * manual/install.texi: Fix stray word in line-wrapped comment.
37787 2012-02-20  David S. Miller  <davem@davemloft.net>
37789         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37790         both binutils and gcc support GOTDATA.
37792         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37793         "rd %pc" in the PIC register setup sequences.
37795         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37796         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37797         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37798         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37799         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37800         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37801         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37802         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37804         (SYSCALL_ERROR_HANDLER): Likewise.
37805         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37806         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37808         (SYSCALL_ERROR_HANDLER): Likewise.
37810         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37811         (HAVE_GCC_GOTDATA): New.
37812         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37813         relocation support in both binutils and gcc.
37814         * sysdeps/sparc/elf/configure: Regenerate.
37816         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37817         * sysdeps/sparc/sparc32/elf/configure: Delete.
37818         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37819         * sysdeps/sparc/sparc64/elf/configure: Delete.
37820         * sysdeps/sparc/elf/configure.in: New file.
37821         * sysdeps/sparc/elf/configure: Generate.
37823         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37824         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37825         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37826         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37827         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37829 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37831         * manual/install.texi: Do not mention specific glibc version
37832         numbers.
37833         * manual/libc.texinfo (VERSION, UPDATED): Update.
37834         (@copying): Use @copyright{} and range of years.
37836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37838         [BZ #13695]
37839         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37840         [crti.S not in sysdirs] (generated): Do not append.
37841         [crti.S not in sysdirs] (omit-deps): Likewise.
37842         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37843         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37844         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37845         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37846         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37847         Likewise.
37848         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37849         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37850         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37851         * csu/defs.awk: Remove file.
37852         * sysdeps/generic/initfini.c: Likewise.
37853         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37854         variable.
37855         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37856         Likewise.
37858 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37860         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37861         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37862         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37863         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37864         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37865         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37866         <bits/epoll.h>.
37867         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37868         (__EPOLL_PACKED): Define to empty if not defined by
37869         <bits/epoll.h>.
37870         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37872         bits/epoll.h.
37874 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37876         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37877         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37878         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37879         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37880         <bits/timerfd.h>.
37881         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37882         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37883         bits/timerfd.h.
37885 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37887         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37888         in C locale.
37889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37890         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37894 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37896         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37897         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37899 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37901         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37902         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37903         defined.
37904         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37905         Likewise.
37906         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37907         entry for 2.16.
37909 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37911         * math/w_acos.c: Use non-signaling floating-point comparisons.
37912         * math/w_acosf.c: Likewise.
37913         * math/w_acosh.c: Likewise.
37914         * math/w_acoshf.c: Likewise.
37915         * math/w_acoshl.c: Likewise.
37916         * math/w_acosl.c: Likewise.
37917         * math/w_asin.c: Likewise.
37918         * math/w_asinf.c: Likewise.
37919         * math/w_asinl.c: Likewise.
37920         * math/w_atanh.c: Likewise.
37921         * math/w_atanhf.c: Likewise.
37922         * math/w_atanhl.c: Likewise.
37923         * math/w_exp2.c: Likewise.
37924         * math/w_exp2f.c: Likewise.
37925         * math/w_exp2l.c: Likewise.
37926         * math/w_j0.c: Likewise.
37927         * math/w_j0f.c: Likewise.
37928         * math/w_j0l.c: Likewise.
37929         * math/w_j1.c: Likewise.
37930         * math/w_j1f.c: Likewise.
37931         * math/w_j1l.c: Likewise.
37932         * math/w_jn.c: Likewise.
37933         * math/w_jnf.c: Likewise.
37934         * math/w_log.c: Likewise.
37935         * math/w_log10.c: Likewise.
37936         * math/w_log10f.c: Likewise.
37937         * math/w_log10l.c: Likewise.
37938         * math/w_log2.c: Likewise.
37939         * math/w_log2f.c: Likewise.
37940         * math/w_log2l.c: Likewise.
37941         * math/w_logf.c: Likewise.
37942         * math/w_logl.c: Likewise.
37943         * math/w_sqrt.c: Likewise.
37944         * math/w_sqrtf.c: Likewise.
37945         * math/w_sqrtl.c: Likewise.
37946         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37947         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37948         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37950         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37952 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37954         [BZ #9739]
37955         * manual/string.texi (strnlen): Use correct parameter name in
37956         equivalent expression.
37958 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37960         [BZ #11174]
37961         * manual/users.texi (seteuid): Consistently use neweuid for
37962         argument name.
37964 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37966         [BZ #13704]
37967         * manual/nss.texi (Services in the NSS configuration): Correct
37968         list of services in example configuration file.
37970 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37972         [BZ #11322]
37973         * manual/arith.texi: Remove statements about negative zero
37974         behaving identically to zero.
37976 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37978         [BZ #5993]
37979         * manual/install.texi: Do not document upgrading from libc5.
37981 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37983         [BZ #4596]
37984         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37986 2012-02-18  David S. Miller  <davem@davemloft.net>
37988         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37989         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37990         %o7 across the call.
37991         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37992         instead.
37993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37994         SETUP_PIC_REG_LEAF.
37995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37996         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37997         * sysdeps/sparc/crtn.S: Likewise.
37999 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38001         * aout/Makefile: Remove.
38003 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38005         [BZ #13058]
38006         * manual/examples/argp-ex1.c (main): Format definition in GNU
38007         style.
38008         * manual/examples/argp-ex2.c (main): Likewise.
38009         * manual/examples/argp-ex3.c (main): Likewise.
38010         * manual/examples/argp-ex4.c (main): Likewise.
38011         * manual/examples/longopt.c (main): Use new-style prototype
38012         definition.
38013         * manual/examples/strncat.c (main): Specify return type and use
38014         (void) for arguments.
38015         * manual/examples/subopt.c (main): Use char **argv argument.
38017 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38019         [BZ #5077]
38020         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38021         rounding modes.
38023 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38025         [BZ #6907]
38026         * manual/string.texi (strchr): Change when strchrnul is
38027         recommended.
38029 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38031         [BZ #174]
38032         * manual/locale.texi (setlocale): Document LOCPATH.
38034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38036         [BZ #10210]
38037         * manual/process.texi (execle): Move @dots{} before last argument.
38039 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38041         [BZ #12047]
38042         * manual/charset.texi (Generic Charset Conversion): Fix typo
38043         (LC_TYPE -> LC_CTYPE).
38045 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38047         [BZ #5805]
38048         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38049         (scalbnf): Likewise.
38050         (scalbnl): Likewise.
38051         (scalbln): Likewise.
38052         (scalblnf): Likewise.
38053         (scalblnl): Likewise.
38054         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38055         (vwarnx): Likewise.
38056         (verr): Likewise.
38057         (verrx): Likewise.
38058         * manual/filesys.texi (telldir): Use braces around return type.
38059         * manual/llio.texi (mmap): Add space after comma.
38060         (mmap64): Likewise.
38061         * manual/math.texi (jn): Use @var{} on parameter names.
38062         (jnf): Likewise.
38063         (jnl): Likewise.
38064         (yn): Likewise.
38065         (ynf): Likewise.
38066         (ynl): Likewise.
38067         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38068         line.
38069         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38070         "...".
38071         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38072         (sched_get_priority_max): Likewise.
38073         * manual/signal.texi (sigvec): Add space after comma.
38074         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38075         names.
38076         (if_indextoname): Likewise.
38077         (if_freenameindex): Likewise.
38078         (sendto): Use ',' instead of '.' in prototype.
38079         * manual/startup.texi (syscall): Use @dots{} instead of literal
38080         "...".
38081         * manual/stdio.texi (__fpending): Separate initial words of
38082         paragraph from @deftypefun line.
38083         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38084         "...".
38085         (vsyslog): Use @var{} on parameter names.
38086         * manual/terminal.texi (stty): Use @var{} on parameter names.
38087         * manual/users.texi (getutmp): Use @var{} on parameter names.
38088         (getutmpx): Likewise.
38090 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38092         [BZ #6884]
38093         * manual/stdio.texi (fopen): Fix typos in description of
38094         ",ccs=STRING".
38096 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38098         [BZ #4026]
38099         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38100         get clock_id definition.
38102 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38104         [BZ #4822]
38105         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38106         (madvise): Cast every argument to void on its own.
38108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38110         [BZ #9902]
38111         * manual/startup.texi (Exit Status): Fix typo.
38113 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38115         [BZ #10140]
38116         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38117         * manual/examples/argp-ex2.c: Likewise.
38118         * manual/examples/argp-ex3.c: Likewise.
38120 2012-02-16  Richard Henderson  <rth@redhat.com>
38122         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38123         * sysdeps/s390/s390-32/initfini.c: Remove.
38124         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38125         * sysdeps/s390/s390-64/initfini.c: Remove.
38127 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38129         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38130         compiler output for sysdeps/generic/initfini.c.
38131         * sysdeps/sh/elf/initfini.c: Remove file.
38133 2012-02-16  David S. Miller  <davem@davemloft.net>
38135         [BZ #11494]
38136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38138         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38139         * sysdeps/sparc/crti.S: New file.
38140         * sysdeps/sparc/crtn.S: New file.
38141         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38142         * sysdeps/sparc/sparc64/Makefile: Likewise.
38144 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38146         [BZ #3335]
38147         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38149 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38151         [BZ #4822]
38152         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38154         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38155         (write, read, close): Likewise.
38156         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38158 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38160         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38161         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38162         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38163         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38164         <bits/signalfd.h>.
38165         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38167         bits/signalfd.h.
38169 2012-02-14  Marek Polacek  <polacek@redhat.com>
38171         * sysdeps/x86_64/crti.S: New file.
38172         * sysdeps/x86_64/crtn.S: New file.
38173         * sysdeps/x86_64/elf/initfini.c: Remove file.
38175 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38177         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38178         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38179         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38180         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38181         <bits/inotify.h>.
38182         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38184         bits/inotify.h.
38186 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38188         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38189         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38190         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38191         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38192         <bits/eventfd.h>.
38193         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38195         bits/eventfd.h.
38197 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38199         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38200         __feraiseexcept instead of feraiseexcept.
38202         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38203         nanosleep invocations.
38204         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38205         strings, and add error checking for a nanosleep invocations.
38207 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38209         Replace FSF snail mail address with URLs, as per GNU coding standards.
38210         Most of the snail mail addresses were wrong anyway, and omitting
38211         them makes the source code easier to maintain.  Almost all of the
38212         changes are to license notices and to locale LC_IDENTIFICATION
38213         addresses, except for this one:
38214         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38215         not its snail mail address.
38217 2012-02-09  Richard Henderson  <rth@twiddle.net>
38219         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38220         of kernel-features.h.
38222         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38224 2012-02-08  Marek Polacek  <polacek@redhat.com>
38226         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38227         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38228         * sysdeps/gnu/_G_config.h: Likewise.
38229         * sysdeps/generic/_G_config.h: Likewise.
38231 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38233         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38234         tests.
38235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38237         * sysdeps/powerpc/powerpc32/crti.S: New file.
38238         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38239         * sysdeps/powerpc/powerpc64/crti.S: New file.
38240         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38242         * Makeconfig (have-initfini): Don't set.
38243         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38244         * configure.in (nopic_initfini): Don't substitute.
38245         * config.h.in (HAVE_INITFINI): Don't #undef.
38246         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38247         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38249 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38251         Support crti.S and crtn.S provided directly by architectures.
38252         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38253         [crti.S in sysdirs] (omit-deps): Likewise.
38254         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38255         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38256         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38257         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38258         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38259         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38260         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38261         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38262         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38263         compiler output for sysdeps/generic/initfini.c.
38264         * sysdeps/i386/elf/Makefile: Remove file.
38265         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38267 2012-02-07  Marek Polacek  <polacek@redhat.com>
38269         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38270         * sysdeps/gnu/_G_config.h: Likewise.
38271         * sysdeps/mach/hurd/_G_config.h: Likewise.
38273 2012-02-07  Marek Polacek  <polacek@redhat.com>
38275         * math/Makefile (tests): Add tst-CMPLX2.
38276         * math/tst-CMPLX2.c: New file.
38278 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38280         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38282         * math/libm-test.inc (jn_test): Add missing L suffix.
38284 2012-02-06  Marek Polacek  <polacek@redhat.com>
38286         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38287         * sysdeps/i386/fpu/e_powf.S: Likewise.
38288         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38289         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38290         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38291         * sysdeps/i386/fpu/e_pow.S: Likewise.
38292         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38294         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38295         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38296         * sysdeps/i386/fpu/e_log2.S: Likewise.
38297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38299         * sysdeps/i386/fpu/e_powl.S: Likewise.
38300         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38301         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38302         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38303         * sysdeps/i386/fpu/e_logl.S: Likewise.
38304         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38305         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38306         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38307         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38308         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38310         * sysdeps/i386/fpu/e_log.S: Likewise.
38311         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38312         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38313         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38314         * sysdeps/i386/fpu/e_logf.S: Likewise.
38315         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38316         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38317         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38318         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38319         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38320         * sysdeps/i386/fpu/e_log10.S: Likewise.
38321         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38322         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38323         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38324         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38325         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38326         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38327         * sysdeps/i386/asm-syntax.h: Likewise.
38328         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38329         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38331         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38332         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38333         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38334         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38335         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38336         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38337         * sysdeps/powerpc/sysdep.h: Likewise.
38338         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38339         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38341 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38343         [BZ #411]
38344         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38346 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38348         * sysdeps/i386/sysdep.h: Include <features.h>.
38349         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38350         version.
38352 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38354         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38355         Define.
38356         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38357         LOAD_PIC_REG_STR.
38359 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38361         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38362         (SETUP_PIC_REG): Use GET_PC_THUNK.
38363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38364         macro.
38366 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38368         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38369         for non-PIC compilation.
38370         (SETUP_PIC_REG): Add .p2align directive.
38371         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38372         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38373         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38374         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38375         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38376         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38377         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38379         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38380         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38381         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38382         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38383         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38384         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38385         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38386         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38387         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38388         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38389         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38390         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38392         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38393         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38394         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38395         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38397         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38398         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38399         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38400         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38401         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38403         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38404         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38405         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38406         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38407         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38408         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38409         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38410         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38411         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38413 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38415         * math/tst-CMPLX.c: Include <stdio.h>.
38417 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38419         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38420         float.
38421         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38422         * sysdeps/sparc/bits/mathdef.h: Likewise.
38424 2012-01-31  Marek Polacek  <polacek@redhat.com>
38426         * libio/libio.h: Don't define _PARAMS.
38427         * locale/programs/config.h: Don't define PARAMS.
38428         * stdlib/strtol_l.c: Likewise.
38429         (__strtol_l): Remove PARAMS from the prototype.
38431 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38433         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38434         names.  Just use the correct names.  Remove unnecessary wrapper
38435         functions.
38436         * malloc/arena.c: Likewise.
38437         * malloc/hooks.c: Likewise.
38439         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38440         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38441         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38443 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38445         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38446         into tail calls.
38447         (update_get_addr): New function.
38448         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38449         GET_ADDR_MODULE parameter.
38451 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38453         * crypt/cert.c: Remove __STDC__ conditionals.
38454         * crypt/crypt-entry.c: Likewise.
38455         * crypt/crypt_util.c: Likewise.
38456         * libio/filedoalloc.c: Likewise.
38457         * libio/fileops.c: Likewise.
38458         * libio/genops.c: Likewise.
38459         * libio/iofclose.c: Likewise.
38460         * libio/iofdopen.c: Likewise.
38461         * libio/iofopen.c: Likewise.
38462         * libio/iofopen64.c: Likewise.
38463         * libio/iogetdelim.c: Likewise.
38464         * libio/iopopen.c: Likewise.
38465         * libio/obprintf.c: Likewise.
38466         * libio/oldfileops.c: Likewise.
38467         * libio/oldiofclose.c: Likewise.
38468         * libio/oldiofdopen.c: Likewise.
38469         * libio/oldiofopen.c: Likewise.
38470         * libio/oldiopopen.c: Likewise.
38471         * libio/wfiledoalloc.c: Likewise.
38472         * libio/wgenops.c: Likewise.
38473         * locale/programs/xmalloc.c: Likewise.
38474         * misc/syslog.c: Likewise.
38475         * stdio-common/xbug.c: Likewise.
38476         * string/memchr.c: Likewise.
38477         * string/memcmp.c: Likewise.
38478         * string/memrchr.c: Likewise.
38479         * string/rawmemchr.c: Likewise.
38480         * sysdeps/posix/getcwd.c: Likewise.
38481         * time/strftime_l.c: Likewise.
38483 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38485         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38486         * config.make.in (config-cflags-sse2avx): Define.
38487         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38488         Fix typo.
38490 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38492         * scripts/config.guess: Update from upstream config git repository.
38493         * scripts/config.sub: Likewise.
38495 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38497         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38498         (EM_NUM): Update.
38499         (R_TILEPRO_*, R_TILEGX_*): New macros.
38501         * scripts/firstversions.awk: Fix bug in version range handling.
38503         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38505         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38507         * include/sys/epoll.h: New file.
38508         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38509         libc_hidden_def.
38511 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38513         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38514         Avoid unnecessary __WORDSIZE == 64 test.
38515         (fmaxf): Use VEX format if possible.
38516         (fmax): Likewise.
38517         (fminf): Likewise.
38518         (fmin): Likewise.
38520         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38521         * math/math_private.h: Remove libc_fegetround* and
38522         libc_fesetround*.
38523         * sysdeps/i386/configure.in: Check for -msse2avx.
38524         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38525         also if SSE2AVX is defined.
38526         Remove libc_fegetround* and libc_fesetround*.
38527         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38528         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38529         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38530         of HAS_YMM_USABLE.
38531         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38532         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38533         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38534         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38535         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38537         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38539 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38541         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38542         size is not set.
38543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38545 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38547         [BZ #13618]
38548         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38549         relocation.
38550         * Makeconfig (libm): Define.
38551         * elf/Makefile: Add rules to build and run tst-relsort1.
38552         * elf/tst-relsort1.c: New file.
38553         * elf/tst-relsort1mod1.c: New file.
38554         * elf/tst-relsort1mod2.c: New file.
38556 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38558         * math/s_ldexp.c: Remove __STDC__ conditionals.
38559         * math/s_ldexpf.c: Likewise.
38560         * math/s_ldexpl.c: Likewise.
38561         * math/s_nextafter.c: Likewise.
38562         * math/s_nexttowardf.c: Likewise.
38563         * math/s_significand.c: Likewise.
38564         * math/s_significandf.c: Likewise.
38565         * math/s_significandl.c: Likewise.
38566         * math/w_jnl.c: Likewise.
38567         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38568         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38569         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38570         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38571         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38572         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38573         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38574         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38575         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38576         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38577         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38578         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38579         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38580         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38582         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38583         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38584         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38586         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38587         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38588         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38589         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38590         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38591         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38592         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38593         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38594         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38595         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38596         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38597         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38598         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38599         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38600         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38601         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38602         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38603         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38604         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38605         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38606         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38607         * sysdeps/ieee754/k_standard.c: Likewise.
38608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38610         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38611         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38612         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38613         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38614         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38615         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38616         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38617         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38618         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38619         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38620         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38621         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38622         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38623         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38624         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38625         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38626         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38627         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38628         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38629         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38630         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38631         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38632         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38633         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38637         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38638         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38639         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38640         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38641         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38643         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38644         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38647         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38648         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38650         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38651         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38652         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38653         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38656         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38657         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38658         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38659         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38660         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38661         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38662         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38663         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38664         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38665         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38667         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38668         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38669         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38670         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38672         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38673         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38674         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38675         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38676         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38677         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38678         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38679         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38680         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38681         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38682         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38683         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38684         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38685         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38686         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38687         * sysdeps/ieee754/s_matherr.c: Likewise.
38688         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38689         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38693 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38695         * crypt/md5.h: Remove __STDC__ conditionals.
38696         * libio/libioP.h: Likewise.
38697         * locale/programs/config.h: Likewise.
38698         * sysdeps/generic/sysdep.h: Likewise.
38699         * sysdeps/i386/asm-syntax.h: Likewise.
38700         * sysdeps/s390/asm-syntax.h: Likewise.
38701         * sysdeps/unix/sysdep.h: Likewise.
38702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38705 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38707         * libio/libio.h: Remove __STDC__ conditionals.
38708         * malloc/obstack.h: Likewise.
38709         * math/complex.h: Likewise.
38710         * math/math.h: Likewise.
38711         * sysdeps/generic/_G_config.h: Likewise.
38712         * sysdeps/gnu/_G_config.h: Likewise.
38713         * sysdeps/mach/hurd/_G_config.h: Likewise.
38714         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38715         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38716         * sysdeps/sparc/bits/mathdef.h: Likewise.
38718 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38720         [BZ #13583]
38721         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38722         Clean up HAS_* macros.
38723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38724         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38725         possible.
38726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38727         HAS_AVX.
38728         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38729         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38732         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38734 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38736         * elf/tst-unique3.cc (gets): Remove declaration.
38737         * elf/tst-unique3lib.cc (gets): Likewise.
38738         * elf/tst-unique3lib2.cc (gets): Likewise.
38739         * elf/tst-unique4.cc (gets): Likewise.
38741 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38743         * include/stdio.h: Add C++ protection.  Add gets declarations and
38744         definitions.
38745         * debug/tst-chk1.c: Don't declare gets here.
38746         * stdio-common/tst-gets.c: Likewise.
38748 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38750         * posix/glob: Remove directory.
38752 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38754         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38756 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38758         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38759         of the non-standard EPFNOSUPPORT.
38761 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38763         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38764         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38765         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38767 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38769         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38771 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38773         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38774         transient errors.
38775         * nscd/grpcache.c (cache_addgr): Likewise.
38776         * nscd/hstcache.c (cache_addhst): Likewise.
38777         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38778         * nscd/pwdcache.c (cache_addpw): Likewise.
38779         * nscd/servicescache.c (cache_addserv): Likewise.
38781 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38783         * malloc/malloc.c: Various cleanups.
38784         * malloc/hooks.c: Likewise.
38786         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38787         * stdlib/bug-fmtmsg1.c: New file.
38789         * stdlib/fmtmsg.c (init): Add missing unlock.
38790         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38792 2012-01-12  Marek Polacek  <polacek@redhat.com>
38794         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38795         and _GNU_SOURCE.
38797 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38799         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38800         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38801         macro to ensure uniqueness of label name.
38802         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38803         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38805 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38807         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38809         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38810         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38811         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38814 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38816         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38818         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38819         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38820         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38822         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38824         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38825         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38826         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38829         * math/bits/math-finite.h: Add ldexp support.
38831 2012-01-10  Marek Polacek  <polacek@redhat.com>
38833         * locale/programs/localedef.h (show_archive_content): Add noreturn
38834         attribute.
38836 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
38838         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38840 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38842         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38844         * io/Makefile (headers): Add bits/poll2.h.
38846 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
38848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38849         typo #include statement.
38851 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38853         * include/sys/cdefs.h: Define __attribute_alloc_size.
38854         * catgets/gencat.c: Add alloc_size attribute and apply consistently
38855         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38856         * elf/pldd.c: Likewise.
38857         * iconv/iconv_charmap.c: Likewise.
38858         * iconv/iconvconfig.c: Likewise.
38859         * iconv/strtab.c: Likewise.
38860         * locale/programs/locale.c: Likewise.
38861         * locale/programs/localedef.h: Likewise.
38862         * locale/programs/simple-hash.c: Likewise.
38863         * nscd/nscd.h: Likewise.
38864         * nss/makedb.c: Likewise.
38865         * sysdeps/generic/ldconfig.h: Likewise.
38866         * locale/programs/localedef.c: Remove xmalloc prototype.
38867         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38869 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38871         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38872         appropriate.
38874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38876         * math/Makefile (tests): Add tst-CMPLX.
38877         * math/tst-CMPLX.c: New file.
38879         * math/complex.h (CMPLXL): Fix typo.
38881         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38882         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38883         GLIBC_2.16.
38884         * debug/tst-chk1.c: Add poll and ppoll tests.
38885         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38886         * include/sys/poll.h: Add hidden proto for ppoll.
38887         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38888         * sysdeps/mach/hurd/ppoll.c: Likewise.
38889         * io/ppoll.c: Likewise.
38890         * debug/poll_chk.c: New file.
38891         * debug/ppoll_chk.c: New file.
38892         * include/bits/poll2.h: New file.
38893         * io/bits/poll2.h: New file.
38895         [BZ #1350]
38896         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38898         * configure.in: static is always set to yes.  Remove.
38899         * config.make.in: Don't set build-static.
38900         * Makeconfig: Remove use of build-static.
38901         * dlfcn/Makefile: Likewise.
38902         * elf/Makefile: Likewise.
38903         * math/Makefile: Likewise.
38904         * misc/Makefile: Likewise.
38905         * nptl/Makefile: Likewise.
38906         * sysdeps/mach/hurd/Makefile: Likewise.
38908         * configure.in: PWD_P is not used anymore.
38909         * config.make.in: Remove PWD_P entry.
38911         * configure.in: Remove last remnants of RANLIB.
38912         No need to check for signed size_t anymore.
38913         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38914         and IA-64.
38915         Remove __builtin_expect test because we require at least gcc 3.4.
38916         * aclocal.m4: Likewise.
38918         * wcsmbs/mbrtoc16.c: Implement using towc function.
38919         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38920         * wcsmbs/wcsmbsload.c: Likewise.
38921         * iconv/gconv_simple.c: Likewise.
38922         * iconv/gconv_int.h: Likewise.
38923         * iconv/gconv_builtin.h: Likewise.
38924         * iconv/iconv_prog.c: Remove CHAR16 handling.
38926         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38928         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38930         * configure.in: Remove --with-elf and --enable-bounded options.
38931         Dont set base_machine for ia64.  More non-ELF conditions removed.
38932         Remove testing and setting of leading underscore information.
38933         * config.make.in (build-bounded): Set to no.
38934         * config.h.in: Remove NO_UNDERSCORES entry.
38935         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38936         them.
38937         * csu/start.c: Remove !NO_UNDERSCORE code.
38938         * locale/localeinfo.h: Likewise.
38939         * sysdeps/generic/machine-gmon.h: Likewise.
38940         * sysdeps/generic/sysdep.h: Likewise.
38941         * sysdeps/i386/sysdep.h: Likewise.
38942         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38943         * sysdeps/mach/sysdep.h: Likewise.
38944         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38945         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38946         * sysdeps/sh/sysdep.h: Likewise.
38947         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38948         * sysdeps/unix/i386/sysdep.S: Likewise.
38949         * sysdeps/unix/sparc/start.c: Likewise.
38950         * sysdeps/unix/sparc/sysdep.S: Likewise.
38951         * sysdeps/unix/sparc/sysdep.h: Likewise.
38952         * sysdeps/unix/start.c: Likewise.
38953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38954         * sysdeps/x86_64/sysdep.h: Likewise.
38956 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38958         [BZ #13553]
38959         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38960         for non-gcc.
38961         * argp/argp-fmtstream.h: Use const instead __const.
38962         * argp/argp.h: Likewise.
38963         * assert/assert.h: Likewise.
38964         * bits/fenv.h: Likewise.
38965         * bits/sched.h: Likewise.
38966         * bits/sigset.h: Likewise.
38967         * bits/sigthread.h: Likewise.
38968         * catgets/nl_types.h: Likewise.
38969         * conform/data/pthread.h-data: Likewise.
38970         * crypt/crypt-private.h: Likewise.
38971         * crypt/crypt.h: Likewise.
38972         * crypt/crypt_util.c: Likewise.
38973         * ctype/ctype.h: Likewise.
38974         * debug/execinfo.h: Likewise.
38975         * debug/mbsnrtowcs_chk.c: Likewise.
38976         * debug/mbsrtowcs_chk.c: Likewise.
38977         * debug/wcsnrtombs_chk.c: Likewise.
38978         * debug/wcsrtombs_chk.c: Likewise.
38979         * debug/wcstombs_chk.c: Likewise.
38980         * dirent/dirent.h: Likewise.
38981         * dlfcn/dlfcn.h: Likewise.
38982         * elf/neededtest4.c: Likewise.
38983         * grp/grp.h: Likewise.
38984         * gshadow/gshadow.h: Likewise.
38985         * iconv/gconv.h: Likewise.
38986         * iconv/gconv_int.h: Likewise.
38987         * iconv/gconv_simple.c: Likewise.
38988         * iconv/iconv.h: Likewise.
38989         * iconv/loop.c: Likewise.
38990         * iconv/skeleton.c: Likewise.
38991         * include/aio.h: Likewise.
38992         * include/aliases.h: Likewise.
38993         * include/argz.h: Likewise.
38994         * include/arpa/inet.h: Likewise.
38995         * include/assert.h: Likewise.
38996         * include/dirent.h: Likewise.
38997         * include/dlfcn.h: Likewise.
38998         * include/execinfo.h: Likewise.
38999         * include/fcntl.h: Likewise.
39000         * include/fenv.h: Likewise.
39001         * include/glob.h: Likewise.
39002         * include/grp.h: Likewise.
39003         * include/libintl.h: Likewise.
39004         * include/mntent.h: Likewise.
39005         * include/netdb.h: Likewise.
39006         * include/pwd.h: Likewise.
39007         * include/rpc/netdb.h: Likewise.
39008         * include/sched.h: Likewise.
39009         * include/search.h: Likewise.
39010         * include/shadow.h: Likewise.
39011         * include/signal.h: Likewise.
39012         * include/stdio.h: Likewise.
39013         * include/stdlib.h: Likewise.
39014         * include/string.h: Likewise.
39015         * include/sys/socket.h: Likewise.
39016         * include/sys/stat.h: Likewise.
39017         * include/sys/statfs.h: Likewise.
39018         * include/sys/statvfs.h: Likewise.
39019         * include/sys/syslog.h: Likewise.
39020         * include/sys/time.h: Likewise.
39021         * include/sys/uio.h: Likewise.
39022         * include/time.h: Likewise.
39023         * include/unistd.h: Likewise.
39024         * include/utmp.h: Likewise.
39025         * include/wchar.h: Likewise.
39026         * include/wctype.h: Likewise.
39027         * inet/aliases.h: Likewise.
39028         * inet/arpa/inet.h: Likewise.
39029         * inet/netinet/ether.h: Likewise.
39030         * inet/netinet/in.h: Likewise.
39031         * intl/libintl.h: Likewise.
39032         * io/bits/fcntl2.h: Likewise.
39033         * io/fcntl.h: Likewise.
39034         * io/ftw.h: Likewise.
39035         * io/sys/poll.h: Likewise.
39036         * io/sys/stat.h: Likewise.
39037         * io/sys/statfs.h: Likewise.
39038         * io/sys/statvfs.h: Likewise.
39039         * io/utime.h: Likewise.
39040         * libio/bits/stdio.h: Likewise.
39041         * libio/bits/stdio2.h: Likewise.
39042         * libio/libio.h: Likewise.
39043         * libio/libioP.h: Likewise.
39044         * libio/stdio.h: Likewise.
39045         * locale/lc-ctype.c: Likewise.
39046         * locale/locale.h: Likewise.
39047         * login/utmp.h: Likewise.
39048         * malloc/arena.c: Likewise.
39049         * malloc/malloc.c: Likewise.
39050         * malloc/malloc.h: Likewise.
39051         * malloc/mcheck.c: Likewise.
39052         * malloc/mtrace.c: Likewise.
39053         * math/bits/mathcalls.h: Likewise.
39054         * math/fenv.h: Likewise.
39055         * math/math_private.h: Likewise.
39056         * misc/bits/error.h: Likewise.
39057         * misc/bits/syslog.h: Likewise.
39058         * misc/err.h: Likewise.
39059         * misc/error.h: Likewise.
39060         * misc/fstab.h: Likewise.
39061         * misc/mntent.h: Likewise.
39062         * misc/regexp.h: Likewise.
39063         * misc/search.h: Likewise.
39064         * misc/sgtty.h: Likewise.
39065         * misc/sys/mman.h: Likewise.
39066         * misc/sys/syslog.h: Likewise.
39067         * misc/sys/uio.h: Likewise.
39068         * misc/sys/xattr.h: Likewise.
39069         * misc/ttyent.h: Likewise.
39070         * nis/rpcsvc/ypclnt.h: Likewise.
39071         * nss/nss.h: Likewise.
39072         * posix/bits/unistd.h: Likewise.
39073         * posix/fnmatch.h: Likewise.
39074         * posix/glob.h: Likewise.
39075         * posix/sched.h: Likewise.
39076         * posix/spawn.h: Likewise.
39077         * posix/sys/wait.h: Likewise.
39078         * posix/unistd.h: Likewise.
39079         * posix/wordexp.h: Likewise.
39080         * pwd/pwd.h: Likewise.
39081         * resolv/netdb.h: Likewise.
39082         * resource/sys/resource.h: Likewise.
39083         * rt/aio.h: Likewise.
39084         * rt/bits/mqueue2.h: Likewise.
39085         * rt/mqueue.h: Likewise.
39086         * shadow/shadow.h: Likewise.
39087         * signal/signal.h: Likewise.
39088         * socket/send.c: Likewise.
39089         * socket/sendto.c: Likewise.
39090         * socket/sys/socket.h: Likewise.
39091         * stdio-common/printf.h: Likewise.
39092         * stdlib/bits/stdlib.h: Likewise.
39093         * stdlib/fmtmsg.h: Likewise.
39094         * stdlib/monetary.h: Likewise.
39095         * stdlib/stdlib.h: Likewise.
39096         * stdlib/ucontext.h: Likewise.
39097         * streams/stropts.h: Likewise.
39098         * string/argz.h: Likewise.
39099         * string/bits/string2.h: Likewise.
39100         * string/string.h: Likewise.
39101         * string/strings.h: Likewise.
39102         * sunrpc/rpc/auth.h: Likewise.
39103         * sunrpc/rpc/auth_des.h: Likewise.
39104         * sunrpc/rpc/clnt.h: Likewise.
39105         * sunrpc/rpc/netdb.h: Likewise.
39106         * sunrpc/rpc/pmap_clnt.h: Likewise.
39107         * sunrpc/rpc/xdr.h: Likewise.
39108         * sysdeps/generic/inttypes.h: Likewise.
39109         * sysdeps/generic/net/if.h: Likewise.
39110         * sysdeps/generic/sys/swap.h: Likewise.
39111         * sysdeps/gnu/net/if.h: Likewise.
39112         * sysdeps/gnu/utmpx.h: Likewise.
39113         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39114         * sysdeps/i386/i486/bits/string.h: Likewise.
39115         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39116         * sysdeps/s390/bits/string.h: Likewise.
39117         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39118         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39119         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39120         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39121         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39122         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39123         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39124         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39125         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39126         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39127         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39128         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39129         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39130         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39131         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39132         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39133         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39135         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39136         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39138         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39139         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39140         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39141         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39142         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39143         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39144         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39145         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39146         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39147         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39148         * sysvipc/sys/ipc.h: Likewise.
39149         * sysvipc/sys/msg.h: Likewise.
39150         * sysvipc/sys/sem.h: Likewise.
39151         * sysvipc/sys/shm.h: Likewise.
39152         * termios/termios.h: Likewise.
39153         * time/sys/time.h: Likewise.
39154         * time/time.h: Likewise.
39155         * wcsmbs/bits/wchar2.h: Likewise.
39156         * wcsmbs/uchar.h: Likewise.
39157         * wcsmbs/wchar.h: Likewise.
39158         * wctype/wctype.h: Likewise.
39160         [BZ #13551]
39161         * Makeconfig: Remove all but ELF support including AIX support.
39162         * Makerules: Likewise.
39163         * config.h.in: Likewise.
39164         * config.make.in: Likewise.
39165         * configure: Likewise.
39166         * configure.in: Likewise.
39167         * csu/Makefile: Likewise.
39168         * csu/version.c: Likewise.
39169         * debug/Makefile: Likewise.
39170         * dlfcn/Makefile: Likewise.
39171         * elf/Makefile: Likewise.
39172         * extra-lib.mk: Likewise.
39173         * iconv/Makefile: Likewise.
39174         * include/libc-symbols.h: Likewise.
39175         * include/shlib-compat.h: Likewise.
39176         * resolv/Makefile: Likewise.
39177         * resolv/res_libc.c: Likewise.
39178         * rt/Makefile: Likewise.
39179         * sysdeps/i386/asm-syntax.h: Likewise.
39180         * sysdeps/i386/sysdep.h: Likewise.
39181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39182         * sysdeps/mach/sysdep.h: Likewise.
39183         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39184         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39185         * sysdeps/s390/asm-syntax.h: Likewise.
39186         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39187         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39188         * sysdeps/sh/sysdep.h: Likewise.
39189         * sysdeps/unix/sparc/sysdep.h: Likewise.
39190         * sysdeps/wordsize-32/divdi3.c: Likewise.
39191         * sysdeps/x86_64/sysdep.h: Likewise.
39193         * argp/Versions: Remove _argp_unlock_xxx.
39195         [BZ #13559]
39196         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39197         * abilist/libBrokenLocale.abilist: Likewise.
39198         * abilist/libanl.abilist: Likewise.
39199         * abilist/libc.abilist: Likewise.
39200         * abilist/libcrypt.abilist: Likewise.
39201         * abilist/libdl.abilist: Likewise.
39202         * abilist/libm.abilist: Likewise.
39203         * abilist/libnsl.abilist: Likewise.
39204         * abilist/libpthread.abilist: Likewise.
39205         * abilist/libresolv.abilist: Likewise.
39206         * abilist/librt.abilist: Likewise.
39207         * abilist/libthread_db.abilist: Likewise.
39208         * abilist/libutil.abilist: Likewise.
39209         * abilist/libnss_db.abilist: New file.
39211         * scripts/abilist.awk: Add support for indirect functions.
39213         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39215         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39217         * shlib-versions: Remove entries for ports architectures.
39219         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39220         files in ports.
39221         * elf/stackguard-macros.h: Remove support for IA-64.
39222         * elf/tst-auditmod1.c: Likewise.
39223         * sysdeps/generic/ldsodefs.h: Likewise.
39225         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39226         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39227         configure files.
39229         [BZ #13552]
39230         * configure.in: Remove --enable-omitfp support.
39231         * FAQ.in: Adjust.
39232         * config.make.in: Likewise.
39233         * Makeconfig: Likewise.
39234         * manual/install.texi: Likewise.
39236         In case anyone cares, the IA-64 architecture could move to ports.
39237         * sysdeps/ia64/*: Removed.
39238         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39239         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39241         [BZ #13555]
39242         * configure.in: Remove entries for unsupported architectures.
39244         [BZ #13533]
39245         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39246         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39247         routines.
39248         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39249         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39250         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39251         fall back to using wcrtomb.
39252         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39253         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39254         renaming.
39255         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39256         * wcsmbs/tst-c16c32-1.c: New file.
39258         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39259         local variable.
39261         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39263         * elf/tst-unique3.cc: Add explicit declaration of gets.
39264         * elf/tst-unique3lib.cc: Likewise.
39265         * elf/tst-unique3lib2.cc: Likewise.
39266         * elf/tst-unique4.cc: Likewise.
39268         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39270 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39272         [BZ #13566]
39273         * assert/assert.h (static_assert): Don't define for C++.
39274         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39275         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39277 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39279         * iconv/loop.c (single loop): Fix assertion in storing of
39280         remaining bytes.
39282         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39284 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39286         * posix/getconf.c: Update copyright year.
39287         * nss/getent.c: Likewise.
39288         * nss/makedb.c: Likewise.
39289         * iconv/iconvconfig.c: Likewise.
39290         * iconv/iconv_prog.c: Likewise.
39291         * elf/ldconfig.c: Likewise.
39292         * elf/pldd.c: Likewise.
39293         * elf/sotruss.ksh: Likewise.
39294         * catgets/gencat.c: Likewise.
39295         * csu/version.c: Likewise.
39296         * elf/ldd.bash.in: Likewise.
39297         * elf/sprof.c (print_version): Likewise.
39298         * locale/programs/locale.c: Likewise.
39299         * locale/programs/localedef.c: Likewise.
39300         * login/programs/pt_chown.c: Likewise.
39301         * nscd/nscd.c (print_version): Likewise.
39302         * debug/xtrace.sh: Likewise.
39303         * malloc/memusage.sh: Likewise.
39304         * malloc/mtrace.pl: Likewise.
39305         * debug/catchsegv.sh: Likewise.
39307 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39309         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39310         pure attribute.
39312 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39314         [BZ #13533]
39315         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39316         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39317         transformations.
39318         * iconv/gconv_int.h: Likewise.
39319         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39320         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39321         from libc for GLIBC_2.16.
39322         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39323         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39324         * wcsmbs/uchar.h: Really define mbstate_t.
39325         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39326         * wcsmbs/c16rtomb.c: New file.
39327         * wcsmbs/mbrtoc16.c: New file.
39328         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39329         for C/POSIX locale.
39330         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39331         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39333         * wcsmbs/wchar.h: Add missing __restrict.
39335 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39337         [BZ #13532]
39338         * time/Makefile (routines): Add timespec_get.
39339         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39340         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39341         timespec for ISO C11.
39342         * time/timespec_get.c: New file.
39343         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39344         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39346         [BZ #13531]
39347         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39348         * stdlib/stdlib.h: Declare aligned_alloc.
39349         * Versions.def: Add GLIBC_2.16 for libc.
39350         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39352         [BZ 13527]
39353         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39354         ISO C11.
39356         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39357         code.
39359         [BZ #13528]
39360         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39362         [BZ #13529]
39363         * assert/assert.h (static_assert): Define.
39365         * version.h: Update for 2.16 development version.
39367         [BZ #13526]
39368         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39369         _ISOC11_SOURCE.
39371         * version.h (RELEASE): Bump for 2.15 release.
39372         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39374         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39375         Patch by Marek Polacek <mpolacek@redhat.com>.
39377         * bits/byteswap.h: Protect long long constants with __extension__.
39378         * sysdeps/i386/bits/byteswap.h: Likewise.
39379         * sysdeps/ia64/bits/byteswap.h: Likewise.
39380         * sysdeps/s390/bits/byteswap.h: Likewise.
39381         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39383 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39385         [BZ #13540]
39386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39387         destination buffer.
39388         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39390 2011-12-23  Marek Polacek  <polacek@redhat.com>
39392         * elf/dl-addr.c (determine_info): Add inline keyword.
39393         * elf/tst-auditmod4b.c (check_avx): Likewise.
39394         * elf/tst-auditmod6b.c (check_avx): Likewise.
39395         * elf/tst-auditmod6c.c (check_avx): Likewise.
39396         * elf/tst-auditmod7b.c (check_avx): Likewise.
39398 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39400         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39401         !__SSE_MATH__.
39403 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39405         [BZ #13540]
39406         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39407         processing for last bytes.
39409 2011-08-06  Bruno Haible  <bruno@clisp.org>
39411         [BZ #13061]
39412         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39413         U+0385, not to U+1FEE.
39415         [BZ #13062]
39416         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39417         entry for U+00A5 U+0301.
39419 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39421         [BZ #13166]
39422         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39423         buffer for the output is too small.
39425         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39426         optimization.
39428         [BZ #13185]
39429         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39430         SSE flags if possible.
39432 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39434         [BZ #13540]
39435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39436         processing for last bytes.
39438 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39440         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39441         (syscall-list-default-options, syscall-list-default-condition)
39442         (syscall-list-includes): Define.
39443         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39444         list of ABIs and options and #if conditions for each ABI.  Do not
39445         handle common syscalls between ABIs specially.
39446         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39447         Remove.
39448         (syscall-list-variants, syscall-list-32bit-options)
39449         (syscall-list-32bit-condition, syscall-list-64bit-options)
39450         (syscall-list-64bit-condition): Define.
39451         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39452         (syscall-list-variants, syscall-list-32bit-options)
39453         (syscall-list-32bit-condition, syscall-list-64bit-options)
39454         (syscall-list-64bit-condition): Define.
39455         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39456         Remove.
39457         (syscall-list-variants, syscall-list-32bit-options)
39458         (syscall-list-32bit-condition, syscall-list-64bit-options)
39459         (syscall-list-64bit-condition): Define.
39460         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39461         Remove.
39462         (syscall-list-variants, syscall-list-32bit-options)
39463         (syscall-list-32bit-condition, syscall-list-64bit-options)
39464         (syscall-list-64bit-condition): Define.
39466 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39468         * locale/iso-639.def: Add brx entry.
39470         [BZ #13328]
39471         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39472         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39474         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39475         __feraiseexcept_renamed.
39477 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39479         [BZ #13538]
39480         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39481         EPOLLET with unsigned values.
39482         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39483         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39485         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39486         to large cancellation.
39487         * math/s_cacoshf.c: Likewise.
39488         * math/s_cacoshl.c: Likewise.
39490 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39492         [BZ #13305]
39493         [BZ #12786]
39494         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39495         * math/s_cacoshf.c: Likewise.
39496         * math/s_cacoshl.c: Likewise.
39498 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39500         [BZ #13439]
39501         * iconv/gconv.h: Define __GCONV_SWAP.
39502         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39503         * iconvdata/utf-16.c: Likewise.
39504         * iconvdata/utf-32.c: Likewise.
39506 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39508         [BZ #13524]
39509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39510         numerator after shifting it by one limb.
39512 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39514         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39515         under [__USE_EXTERN_INLINES].
39517 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39519         [BZ #13446]
39520         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39522 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39524         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39525         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39526         optimized code.
39527         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39528         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39529         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39530         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39531         for strncasecmp/strncasecmp_l compilation.
39532         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39533         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39535 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39537         [BZ #13484]
39538         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39539         of __asm__.
39541 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39543         [BZ #13506]
39544         * time/tzfile.c (__tzfile_read): Check values from file header.
39546 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39548         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39549         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39550         * powerpc/powerpc32/dl-start.S: Likewise.
39551         * powerpc/powerpc32/elf/start.S: Likewise.
39552         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39553         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39554         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39555         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39556         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39557         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39558         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39559         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39560         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39561         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39562         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39563         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39564         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39565         * powerpc/powerpc32/memset.S: Likewise.
39566         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39567         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39568         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39569         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39570         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39571         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39572         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39573         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39574         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39575         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39576         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39577         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39578         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39580 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39582         * math/libm-test.inc: Added more nearbyint tests.
39583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39588 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39590         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39591         FD_CLOEXEC.
39593 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39595         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39596         Add wcscpy-ssse3 wcscpy-c.
39597         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39598         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39599         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39600         * sysdeps/x86_64/wcschr.S: New file.
39601         * sysdeps/x86_64/wcsrchr.S: New file.
39602         * string/test-strcmp.c: Remove checking of wcscmp function for
39603         wrong alignments.
39604         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39605         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39606         wcsrchr-sse2 wcsrchr-c.
39607         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39608         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39609         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39610         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39611         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39612         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39613         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39614         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39615         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39616         * wcsmbc/wcschr.c (WCSCHR): New macro.
39618 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39620         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39621         * wcsmbs/test-wcsrchr.c: New file.
39622         * string/test-strrchr.c: Add wcsrchr support.
39623         (WIDE): New macro.
39624         * wcsmbs/test-wcscpy.c: New file.
39625         * string/test-strcpy.c: Add wcscpy support.
39626         (WIDE): New macro.
39628 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39630         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39631         the inner loop.
39633 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39635         [BZ #13472]
39636         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39638 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39640         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39641         Minor optimizations.
39643         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39644         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39645         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39647 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39649         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39650         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39651         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39652         for gcc to avoid warnings.
39653         * inet/Makefile (tests): Add tst-checks.
39654         * inet/tst-checks.c: New file.
39656         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39657         warning.
39659         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39660         __wmemcmp_sse2.
39662         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39663         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39665         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39667 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39669         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39670         problem.
39672         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39674 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39676         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39677         conditional on GCC version.
39678         (__arch_compare_and_exchange_val_8_acq)
39679         (__arch_compare_and_exchange_val_16_acq)
39680         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39681         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39682         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39684 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39686         * sysdeps/sh/backtrace.c: New file.
39688 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39690         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39691         parenthesis.
39693 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39695         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39696         falling back to utime.
39698 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39700         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39701         expectations for float.
39703 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39705         * locale/weight.h (findidx): Add parameter len.
39706         * locale/weightwc.h (findidx): Likewise.
39707         * posix/fnmatch_loop.c (FCT): Adjust caller.
39708         * posix/regcomp.c (build_equiv_class): Likewise.
39709         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39710         * posix/regexec.c (check_node_accept_bytes): Likewise.
39711         * string/strcoll_l.c (STRCOLL): Likewise.
39712         * string/strxfrm_l.c (STRXFRM): Likewise.
39714 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39716         * Makefile.in: Remove CVSOPT handling.
39717         * configure.in: Remove use of AC_REVISION.
39718         * iconvdata/Makefile (distribute): No need to filter out CVS.
39719         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39720         handling.
39722 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39725         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39726         [USE_AS_STRNCASECMP_L]: Likewise.
39727         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39728         NO_TLS_DIRECT_SEG_REFS.
39729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39730         Fix argument offsets for non-PIC.
39731         [USE_AS_STRNCASECMP_L]: Likewise.
39732         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39733         NO_TLS_DIRECT_SEG_REFS.
39735 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39737         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39738         O_CLOEXEC.
39739         * locale/loadlocale.c (_nl_load_locale): Likewise.
39741 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39743         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39744         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39745         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39746         (SYSCALL_GETTIME): Set errno on error.
39748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39749         count references to noai6ai_cached.
39751 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39753         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39755         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39756         FD_CLOEXEC for /proc/self/maps.
39758         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39759         FD_CLOEXEC for /proc/meminfo.
39761         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39762         gai.conf.
39764         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39765         FD_CLOEXEC for given file.
39767         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39769         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39770         FD_CLOEXEC for /etc/hosts.
39771         (_gethtent): Likewise.
39773         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39775         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39776         cancellation and set FD_CLOEXEC for /etc/netgroup.
39778         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39779         reading /etc/publickey.
39781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39782         allow cancellation when reading /etc/group.
39784         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39785         cancellation.
39786         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39788         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39789         when using data file.
39791         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39793         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39794         (write_nis_obj): Use "c" and "e" in fopen.
39796         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39798         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39800         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39802         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39804         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39805         locale.alias.
39807         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39809         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39811         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39813         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39814         file parsing and set FD_CLOEXEC.
39816 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39818         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39820 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39822         * malloc/arena.c (arena_get2): Don't call reused_arena when
39823         _int_new_arena failed.
39825 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39827         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39828         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39829         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39830         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39831         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39832         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39833         to compile strcasecmp and strncasecmp.
39834         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39835         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39839 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
39841         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39842         locale-defines.sym to gen-as-const-headers.
39843         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39844         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39846         to compile strcasecmp and strncasecmp.
39847         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39848         strcasecmp_l and strncasecmp_l.
39849         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39850         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39851         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39852         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39853         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39854         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39855         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39856         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39857         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39858         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39859         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39861 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39863         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39864         result of SYSDEP_GETTIME_CPU to retval.
39865         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39866         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39868         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39869         variable.
39871         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39872         mantissa words.
39873         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39876         from unused variable.
39878         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39879         DWARF definitions.
39880         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39881         for assembling.
39883         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39884         over namespaces.
39886         * sunrpc/rpc_prot.c (rejected): Fix case value.
39888         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39889         unsigned long long int to avoid warnings in shift.
39891         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39892         of use of trans.
39893         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39894         variable tmp.
39896         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39897         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39898         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39900         * nis/nis_table.c (nis_list): Use variable of correct type for
39901         result of __follow_path call.
39903 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39905         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39906         of math functions ceil, trunc, floor, round, and sqrt, when
39907         avaliable on the platform.
39908         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39909         name clash.
39910         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39911         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39912         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39914 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39916         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39917         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39919 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39921         * include/unistd.h: Fix __readlink return type.
39922         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39924 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39926         * stdlib/ucontext.h: Undo last change for makecontext.
39928 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39930         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39932         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39933         * setjmp/setjmp.h: Mark functions as non-leaf.
39934         * setjmp/bits/setjmp2.h: Likewise.
39935         * stdlib/ucontext.h: Likewise.
39937 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39939         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39940         (reused_arena): Don't check arena limit.
39941         (arena_get2): Atomically check arena limit.
39943 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39945         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39946         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39949         instructions.
39951 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39953         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39954         handler when locking.
39956         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39957         Fix size of allocated buffer.
39959 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39961         [BZ #10103]
39962         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39963         declarations for long double functions.
39964         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39966         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39968 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39970         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39971         installed.
39973         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39974         is disabled.
39976 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39978         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39980 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39982         * include/alloca.h (stackinfo_alloca_round): Define.
39983         (extend_alloca): Use it.
39984         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39985         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39986         here.
39988         * scripts/check-local-headers.sh: Ignore libaudit.h.
39990         * nscd/Makefile (extra-objs): Make recursively expanded.
39992 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39994         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39997         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39998         * posix/tst-rfc3484-2.c: Likewise.
39999         * posix/tst-rfc3484-3.c: Likewise.
40001         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40002         process_vm_writev.
40003         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40004         process_vm_writev.
40005         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40006         process_vm_writev from libc using GLIBC_2.15 version.
40008         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40010 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40012         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40013         stack usage.
40015 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40017         [BZ #13367]
40018         * nss/getent.c (initgroups_keys): Show error message in case no group
40019         names are given.
40021         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40022         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40023         __bump_nl_timestamp.
40024         * nscd/connections (nscd_init): When host database is served open
40025         netlink socket and request notification about configuration changes.
40026         (main_loop_poll): Track netlink file descriptor and bump timestamp
40027         in case data becomes available.
40028         (main_loop_epoll): Likewise.
40029         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40030         (database_pers_head): Add extra_data fileds.
40031         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40032         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40033         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40034         Adjust caller.
40035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40036         in6ai data, call __free_in6ai.
40037         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40038         Add -DHAVE_NETLINK.
40039         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40040         interface information.  Reuse previous data if netlink timestamp
40041         is not changed.
40042         (__bump_nl_timestamp): New function.
40043         (__free_in6ai): New function.
40045 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40048         close_not_cancel_no_status here.
40049         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40051 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40053         [BZ #13276]
40054         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40055         return value.
40057         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40058         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40059         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40061 2011-07-03  Andreas Jaeger  <aj@suse.de>
40063         [BZ #10709]
40064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40065         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40066         * math/libm-test.inc (sin_test): Add test case.
40068 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40070         [BZ #13337]
40071         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40072         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40074         * elf/chroot_canon.c (chroot_canon): Cleanups.
40076         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40078         [BZ #13335]
40079         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40080         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40082         * string/test-strchr.c: Make usable for strchrnul testing.
40083         * string/test-strchrnul.c: New file.
40084         * string/Makefile (strop-tests): Add strchrnul.
40086         * po/it.po: Update from translation team.
40087         * po/es.po: Likewise.
40089 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40091         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40092         the three constants needed as parameters.  Drop the others.
40093         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40094         __m128i_strloadu_tolower.
40095         Create and initialize variable zero and use it in all the places
40096         where _mm_setzero_si128 was used.
40098         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40099         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40100         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40102         anymore.
40103         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40104         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40105         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40106         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40107         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40108         __mpranred, __mptan.
40109         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40110         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40111         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40112         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40113         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40114         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40115         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40116         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40117         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40119 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40121         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40122         redefine if SHARED.
40123         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40126         wide char related routines to wcsmbs subdir.
40128 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40130         [BZ #13344]
40131         * misc/sys/cdefs.h (__THROWNL): Define.
40132         * posix/unistd.h: Use __THREADNL instead of __THREAD
40133         for memory synchronization functions.
40135 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40137         [BZ #13349]
40138         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40139         doesn't exist.
40140         * manual/stdio.texi (Obstack Streams): Node removed.
40142 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40144         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40145         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40146         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40148         * math/math_private.h (math_force_eval): Allow non-addressable
40149         arguments.
40150         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40152 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40154         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40155         file is not needed.
40157         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40159         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40160         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40161         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40162         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40163         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40164         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40165         Add AVX variants.
40166         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40167         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40168         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40169         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40170         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40171         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40172         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40173         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40174         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40175         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40176         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40177         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40178         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40179         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40180         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40181         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40182         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40183         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40184         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40186         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40187         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40189         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40190         place.  Use VEX encoding when compiling for AVX.
40192 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40194         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40195         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40197         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40199 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40201         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40202         useless if() expression.
40203         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40206         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40208         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40209         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40212         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40213         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40214         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40215         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40216         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40218         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40219         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40220         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40221         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40223         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40225 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40227         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40228         condition.
40229         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40231 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40233         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40234         .text section.  Avoid duplicate constants.
40235         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40236         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40237         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40238         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40242         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40243         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40244         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40245         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40246         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40247         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40248         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40249         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40250         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40251         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40252         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40255         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40256         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40257         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40258         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40259         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40260         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40261         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40262         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40263         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40264         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40265         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40266         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40267         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40268         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40269         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40270         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40271         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40272         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40273         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40274         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40275         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40276         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40277         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40278         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40279         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40281 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40283         * sysdeps/x86_64/dla.h: Move to ...
40284         * sysdeps/x86_64/fpu/dla.h: ...here.
40285         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40286         situations.  Use __builtin_fma only for gcc 4.6 and up.
40288         * config.make.in: Add have-mfma4 entry.
40289         * configure.in: Substitute libc_cv_cc_fma4.
40290         * math/Makefile (dbl-only-routines): Add sincostab.
40291         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40292         Use __sincostab not sincos.
40293         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40294         name is a macro.
40295         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40299         using __copysign.
40300         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40301         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40302         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40303         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40304         and __inv.
40305         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40306         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40307         __copysign.
40308         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40309         define aliases when function name is a macro.
40310         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40311         sysdeps/ieee754/dbl-64/sincos.tbl.
40312         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40313         fma4-enabled routines.
40314         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40315         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40316         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40317         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40318         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40319         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40320         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40321         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40323         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40324         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40325         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40326         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40327         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40328         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40329         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40330         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40331         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40332         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40334         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40335         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40336         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40337         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40339         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40340         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40341         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40342         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40343         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40345         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40346         rename.
40347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40351         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40352         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40353         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40354         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40356 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40358         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40360 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40364         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40365         prediction.
40366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40368         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40369         Remove unused variable magic_bits.
40370         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40372         * string/strnlen.c: Define and use STRNLEN macro.
40373         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40374         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40375         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40376         * wcsmbs/wcslen.c: Define and use WCSLEN.
40377         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40378         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40379         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40380         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40381         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40382         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40383         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40385 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40388         strnlen-sse2-no-bsf.
40389         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40391         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40392         Add strnlen support.
40393         (USE_AS_STRNLEN): New macro.
40394         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40395         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40396         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40397         * sysdeps/x86_64/wcslen.S: New file.
40399 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40401         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40402         XMM-moves are used for copying on small sizes.
40404 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40406         * wcsmbs/Makefile (strop-tests): Add wcschr.
40407         * wcsmbs/test-wcschr.c: New file.
40408         * string/test-strchr.c: Update.
40409         Add wcschr support.
40410         (WIDE): New macro.
40412 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40414         * wcsmbs/Makefile (strop-tests): Add wcslen.
40415         * wcsmbs/test-wcslen.c: New file.
40416         * string/test-strlen.c: Update.
40417         Add wcslen support.
40418         (WIDE): New macro.
40420 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40422         * po/it.po: Update from translation team.
40424 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40426         * sysdeps/x86_64/wcscmp.S: Update.
40427         Fix wrong comparison semantics.
40428         wcscmp shall use signed comparison not unsigned.
40429         Don't use substraction to avoid overflow bug.
40430         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40431         * wcsmbc/wcscmp.c: Likewise.
40432         * string/test-strcmp.c: Likewise.
40433         Add new tests to check cases with negative values.
40435 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40437         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40438         * sysdeps/x86_64/dla.h: ...here.  New file.
40439         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40440         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40449 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40452         __ynl_finite aliases.
40454 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40458         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40459         define DLA_FMA.
40460         [DLA_FMA] (EMULV): Use DLA_FMA.
40461         [DLA_FMA] (MUL12): Use EMULV.
40462         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40463         that are not needed.
40464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40472 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40474         * math/s_nan.c: Undef __nan.
40475         * math/s_nanf.c: Undef __nanf.
40476         * math/s_nanl.c: Undef __nanl.
40477         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40478         "math_private.h".
40480 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40482         * math/s_catan.c: Add branch predictions.
40483         * math/s_catanf.c: Likewise.
40484         * math/s_catanh.c: Likewise.
40485         * math/s_catanhf.c: Likewise.
40486         * math/s_catanhl.c: Likewise.
40487         * math/s_catanl.c: Likewise.
40488         * math/s_cexp.c: Likewise.
40489         * math/s_cexpf.c: Likewise.
40490         * math/s_cexpl.c: Likewise.
40491         * math/s_clog.c: Likewise.
40492         * math/s_clog10.c: Likewise.
40493         * math/s_clog10f.c: Likewise.
40494         * math/s_clog10l.c: Likewise.
40495         * math/s_clogf.c: Likewise.
40496         * math/s_clogl.c: Likewise.
40497         * math/s_csqrt.c: Likewise.
40498         * math/s_csqrtf.c: Likewise.
40499         * math/s_csqrtl.c: Likewise.
40500         * math/s_ctanf.c: Likewise.
40501         * math/s_ctanh.c: Likewise.
40502         * math/s_ctanhf.c: Likewise.
40503         * math/s_ctanhl.c: Likewise.
40504         * math/s_ctanl.c: Likewise.
40506         * math/math_private.h: Define __nan, __nanf, __nanl.
40507         * math/s_cacosh.c: Include <math_private.h>.
40508         * math/s_cacoshl.c: Likewise.
40509         * math/s_casinh.c: Likewise.
40510         * math/s_casinhf.c: Likewise.
40511         * math/s_casinhl.c: Likewise.
40512         * math/s_ccos.c: Rely entire on ccosh.
40513         * math/s_ccosf.c: Rely entire on ccoshf.
40514         * math/s_ccosl.c: Rely entirely on ccoshl.
40515         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40516         Remove tests for FE_INVALID.
40517         * math/s_ccoshf.c: Likewise.
40518         * math/s_ccoshl.c: Likewise.
40519         * math/s_csin.c: Likewise.
40520         * math/s_csinf.c: Likewise.
40521         * math/s_csinh.c Likewise.
40522         * math/s_csinhf.c: Likewise.
40523         * math/s_csinhl.c: Likewise.
40524         * math/s_csinl.c: Likewise.
40525         * math/s_ctan.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40527         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40528         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40530 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40533         compilation problems.
40535         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40536         __builtin_expect.
40538 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40540         * sysdeps/i386/configure.in: Test for -mfma4 option.
40541         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40542         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40543         COMMON_CPUID_INDEX_80000001.
40544         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40545         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40546         use it if FMA3 is not supported.
40547         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40549         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40550         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40552 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40554         [BZ #12892]
40555         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40556         it would create a cycle with a link time dependency.
40558 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40560         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40561         instruction.
40562         * string/Makefile (strop-tests): Add rawmemchr.
40563         * string/test-rawmemchr.c: New file.
40565         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40566         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40567         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40568         when compiling str{,n}casecmp and when AVX is available.  Hook up
40569         new optimized code in initializers.
40571 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40573         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40574         __feraiseexcept instead of feraiseexcept.
40576 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40578         * math/math_private.h: Define defaults for libc_fetestexcept and
40579         libc_feupdateenv.
40580         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40581         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40582         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40583         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40584         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40585         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40586         libc_fetestexcept and libc_feupdateenv.
40588         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40589         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40590         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40591         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40592         libc_feholdexcept_setround.
40594         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40595         Add s_nearbyint-c and s_nearbyintf-c.
40596         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40597         nearbyintf inlines.
40598         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40599         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40600         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40601         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40603         * math/math_private.h: Define defaults for libc_fegetround,
40604         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40605         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40606         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40607         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40608         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40609         standard functions.
40610         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40611         Remove comments and hacks for old compiler versions.
40612         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40613         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40614         libc_feholdexceptl.
40616 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40618         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40619         (__feraiseexcept_renamed): Add __NTH.
40620         (feraiseexcept): Add __NTH.  Rename local variables to fix
40621         namespace violations.
40623 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40627         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40629         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40630         recently added interfaces.
40631         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40633         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40634         about macro parameter expansion.
40636         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40637         __NO_MATH_INLINES is defined.  Cleanups.
40639         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40640         and __floorf is target has SSE4.1.
40641         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40642         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40643         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40644         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40646         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40647         name.
40648         (floorf): Likewise.
40650         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40652 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40654         * misc/sys/cdefs.h: Fix last change.
40656         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40657         database lookup.
40659 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40661         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40663         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40664         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40669         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40670         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40671         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40672         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40673         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40674         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40675         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40676         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40677         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40678         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40679         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40680         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40681         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40682         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40683         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40684         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40686         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40687         ceil, ceilf, floor, floorf.
40689         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40690         Perform IRELATIVE relocations last.
40692         * elf/do-rel.h: Add another parameter nrelative, replacing the
40693         local variable with the same name.  Change name of the function
40694         to end in Rel or Rela (uppercase).
40695         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40696         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40697         elf_dynamic_do_##reloc function.
40699 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40701         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40702         is sufficient, at least on modern CPUs.
40704         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40706         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40707         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40709         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40710         __expl_finite.
40711         * math/bits/math-finite.h: Add entries for exp.
40712         * math/e_expl.c: Add __*_finite alias.
40713         * sysdeps/i386/fpu/e_exp.S: Likewise.
40714         * sysdeps/i386/fpu/e_expf.S: Likewise.
40715         * sysdeps/i386/fpu/e_expl.c: Likewise.
40716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40720         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40721         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40722         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40724         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40725         is sufficient, at least on modern CPUs.
40727         * ctype/ctype-info.c (__ctype_init): Define.
40728         * include/ctype.h (__ctype_init): Declare.
40729         (__ctype_b_loc): The variable is always initialized.
40730         (__ctype_toupper_loc): Likewise.
40731         (__ctype_tolower_loc): Likewise.
40732         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40733         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40735 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40737         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40739         * configure.in: Also look in $cxxmachine/include for C++ system
40740         headers.
40742 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40744         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40745         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40746         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40747         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40749         (USE_AS_WMEMCMP): New macro.
40750         Fixing indents.
40751         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40752         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40753         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40754         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40756         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40757         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40758         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40759         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40760         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40761         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40762         (USE_AS_WMEMCMP): New macro.
40763         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40764         * sysdeps/string/test-memcmp.c: Update.
40765         Fix simple_wmemcmp.
40766         Add new tests.
40767         * wcsmbs/wmemcmp.c: Update.
40768         (WMEMCMP): New macro.
40769         Fix overflow bug.
40771 2011-10-12  Andreas Jaeger  <aj@suse.de>
40773         [BZ #13268]
40774         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40776 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40778         * libio/iofwide.c (do_length): Avoid warning.
40780         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40782 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40784         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40786         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40787         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40788         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40789         * sysdeps/i386/i686/fpu/e_log.S: New file.
40790         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40791         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40793         * ctype/ctype.h: Add support for inlined isXXX functions when
40794         compiling C++ code.
40796 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40798         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40800         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40802 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40804         [BZ #13291]
40805         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40807 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40809         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40810         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40811         feraiseexcept.
40813         * sysdeps/x86_64/memrchr.S: Check for zero size.
40815         * string/stratcliff.c: Add memrchr tests.
40817 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40820         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40821         rawmemchr-sse2 rawmemchr-sse2-bsf.
40822         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40823         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40824         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40825         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40826         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40827         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40828         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40829         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40830         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40831         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40832         * string/memrchr.c (MEMRCHR): New macro.
40834 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40836         Add integration with gcc's -ffinite-math-only and optimize wrapper
40837         functions in libm.
40838         * Versions.def: Define GLIBC_2.15 version for libm.
40839         * math/Makefile (headers): Add bits/math-finite.h.
40840         * math/bits/math-finite.h: New file.
40841         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40842         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40843         * math/e_acoshl.c: Add __*_finite alias.
40844         * math/e_acosl.c: Likewise.
40845         * math/e_asinl.c: Likewise.
40846         * math/e_atan2l.c: Likewise.
40847         * math/e_atanhl.c: Likewise.
40848         * math/e_coshl.c: Likewise.
40849         * math/e_exp10.c: Likewise.
40850         * math/e_exp10f.c: Likewise.
40851         * math/e_exp10l.c: Likewise.
40852         * math/e_exp2l.c: Likewise.
40853         * math/e_fmodl.c: Likewise.
40854         * math/e_gammal_r.c: Likewise.
40855         * math/e_hypotl.c: Likewise.
40856         * math/e_j0l.c: Likewise.
40857         * math/e_j1l.c: Likewise.
40858         * math/e_jnl.c: Likewise.
40859         * math/e_lgammal_r.c: Likewise.
40860         * math/e_log10l.c: Likewise.
40861         * math/e_log2l.c: Likewise.
40862         * math/e_logl.c: Likewise.
40863         * math/e_powl.c: Likewise.
40864         * math/e_sinhl.c: Likewise.
40865         * math/e_sqrtl.c: Likewise.
40866         * math/e_scalb.c: Completely rewritten and optimized.
40867         * math/e_scalbf.c: Likewise.
40868         * math/e_scalbl.c: Likewise.
40869         * math/w_acos.c: Likewise.
40870         * math/w_acosf.c: Likewise.
40871         * math/w_acosl.c: Likewise.
40872         * math/w_acosh.c: Likewise.
40873         * math/w_acoshf.c: Likewise.
40874         * math/w_acoshl.c: Likewise.
40875         * math/w_asin.c: Likewise.
40876         * math/w_asinf.c: Likewise.
40877         * math/w_asinl.c: Likewise.
40878         * math/w_atan2.c: Likewise.
40879         * math/w_atan2f.c: Likewise.
40880         * math/w_atan2l.c: Likewise.
40881         * math/w_atanh.c: Likewise.
40882         * math/w_atanhf.c: Likewise.
40883         * math/w_atanhl.c: Likewise.
40884         * math/w_exp10.c: Likewise.
40885         * math/w_exp10f.c: Likewise.
40886         * math/w_exp10l.c: Likewise.
40887         * math/w_fmod.c: Likewise.
40888         * math/w_fmodf.c: Likewise.
40889         * math/w_fmodl.c: Likewise.
40890         * math/w_j0.c: Likewise.
40891         * math/w_j0f.c: Likewise.
40892         * math/w_j0l.c: Likewise.
40893         * math/w_j1.c: Likewise.
40894         * math/w_j1f.c: Likewise.
40895         * math/w_j1l.c: Likewise.
40896         * math/w_jn.c: Likewise.
40897         * math/w_jnf.c: Likewise.
40898         * math/w_log.c: Likewise.
40899         * math/w_logf.c: Likewise.
40900         * math/w_logl.c: Likewise.
40901         * math/w_log10.c: Likewise.
40902         * math/w_log10f.c: Likewise.
40903         * math/w_log10l.c: Likewise.
40904         * math/w_log2.c: Likewise.
40905         * math/w_log2f.c: Likewise.
40906         * math/w_log2l.c: Likewise.
40907         * math/w_pow.c: Likewise.
40908         * math/w_powf.c: Likewise.
40909         * math/w_powl.c: Likewise.
40910         * math/w_remainder.c: Likewise.
40911         * math/w_remainderf.c: Likewise.
40912         * math/w_remainderl.c: Likewise.
40913         * math/w_scalb.c: Likewise.
40914         * math/w_scalbf.c: Likewise.
40915         * math/w_scalbl.c: Likewise.
40916         * math/w_sqrt.c: Likewise.
40917         * math/w_sqrtf.c: Likewise.
40918         * math/w_sqrtl.c: Likewise.
40919         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40920         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40921         used.
40922         * math/math_private.h: Declare __kernel_standard_f.
40923         * math/w_cosh.c: Remove cruft and optimize a bit.
40924         * math/w_coshf.c: Likewise.
40925         * math/w_coshl.c: Likewise.
40926         * math/w_exp2.c: Likewise.
40927         * math/w_exp2f.c: Likewise.
40928         * math/w_exp2l.c: Likewise.
40929         * math/w_hypot.c: Likewise.
40930         * math/w_hypotf.c: Likewise.
40931         * math/w_hypotl.c: Likewise.
40932         * math/w_lgamma.c: Likewise.
40933         * math/w_lgamma_r.c: Likewise.
40934         * math/w_lgammaf.c: Likewise.
40935         * math/w_lgammaf_r.c: Likewise.
40936         * math/w_lgammal.c: Likewise.
40937         * math/w_lgammal_r.c: Likewise.
40938         * math/w_sinh.c: Likewise.
40939         * math/w_sinhf.c: Likewise.
40940         * math/w_sinhl.c: Likewise.
40941         * math/w_tgamma.c: Likewise.
40942         * math/w_tgammaf.c: Likewise.
40943         * math/w_tgammal.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40945         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40946         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40947         Minor optimizations.  Pretty printing.  Remove cruft.
40948         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40949         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40950         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40951         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40952         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40953         * sysdeps/i386/fpu/e_asin.S: Likewise.
40954         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40955         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40956         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40957         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40958         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40959         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40960         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40961         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40962         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40963         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40964         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40965         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40966         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40967         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40968         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40969         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40970         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40971         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40972         * sysdeps/i386/fpu/e_log.S: Likewise.
40973         * sysdeps/i386/fpu/e_log10.S: Likewise.
40974         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40975         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40976         * sysdeps/i386/fpu/e_log2.S: Likewise.
40977         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40978         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40979         * sysdeps/i386/fpu/e_logf.S: Likewise.
40980         * sysdeps/i386/fpu/e_logl.S: Likewise.
40981         * sysdeps/i386/fpu/e_pow.S: Likewise.
40982         * sysdeps/i386/fpu/e_powf.S: Likewise.
40983         * sysdeps/i386/fpu/e_powl.S: Likewise.
40984         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40985         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40986         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40987         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40988         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40989         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40990         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40991         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40992         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40993         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40994         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40998         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41000         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41001         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41002         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41003         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41004         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41006         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41007         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41008         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41009         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41010         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41011         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41014         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41015         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41016         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41017         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41018         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41019         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41020         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41021         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41022         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41023         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41024         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41025         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41026         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41027         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41028         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41029         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41030         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41031         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41032         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41033         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41034         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41076         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41078         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41081         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41084         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41085         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41086         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41087         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41088         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41089         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41090         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41091         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41092         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41093         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41094         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41095         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41096         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41097         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41098         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41099         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41100         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41101         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41102         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41103         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41104         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41105         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41106         (__isnanf): Likewise.
41107         (__isinf_ns): Likewise.
41108         (__isinf_nsf): Likewise.
41109         (__finite): Likewise.
41110         (__finitef): Likewise.
41111         (__ieee754_sqrt): Define as macro.
41112         (__ieee754_sqrtf): Define as macro.
41113         (__ieee754_sqrtl): Define as macro.
41114         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41115         inlined copy.
41116         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41117         __FINITE_MATH_ONLY__ consistent.
41118         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41120 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41122         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41123         of rawmemchr.
41125         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41127 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41129         * po/ja.po: Update from translation team.
41131 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41133         * locale/programs/locarchive.c (prepare_address_space): New function.
41134         (create_archive, enlarge_archive, open_archive): Use it.
41136         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41137         inside [SHARED], where it is used.
41139         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41141         * nss/getent.c (netgroup_keys): Remove unused variable.
41142         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41144 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41146         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41147         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41149         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41150         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41151         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41152         * math/Makefile (libm-calls): Add s_isinf_ns.
41153         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41154         * math/multc3.c: Likewise.
41155         * math/s_casin.c: Likewise.
41156         * math/s_casinf.c: Likewise.
41157         * math/s_casinl.c: Likewise.
41158         * math/s_ccos.c: Likewise.
41159         * math/s_ccosf.c: Likewise.
41160         * math/s_ccosl.c: Likewise.
41161         * math/s_ctan.c: Likewise.
41162         * math/s_ctanf.c: Likewise.
41163         * math/s_ctanh.c: Likewise.
41164         * math/s_ctanhf.c: Likewise.
41165         * math/s_ctanhl.c: Likewise.
41166         * math/s_ctanl.c: Likewise.
41167         * math/w_fmod.c: Likewise.
41168         * math/w_fmodf.c: Likewise.
41169         * math/w_fmodl.c: Likewise.
41170         * math/w_remainder.c: Likewise.
41171         * math/w_remainderf.c: Likewise.
41172         * math/w_remainderl.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41174         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41176         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41177         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41178         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41179         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41180         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41182         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41183         of the number.
41184         * stdio-common/printf_fphex.c: Likewise.
41185         * stdio-common/printf_size.c: Likewise.
41187         * math/e_exp10.c: Include math_private.h using <...> not "...".
41188         * math/e_exp10f.c: Likewise.
41189         * math/e_exp10l.c: Likewise.
41190         * math/e_exp2l.c: Likewise.
41191         * math/e_j0l.c: Likewise.
41192         * math/e_j1l.c: Likewise.
41193         * math/e_jnl.c: Likewise.
41194         * math/e_lgammal_r.c: Likewise.
41195         * math/e_rem_pio2l.c: Likewise.
41196         * math/e_scalb.c: Likewise.
41197         * math/e_scalbf.c: Likewise.
41198         * math/e_scalbl.c: Likewise.
41199         * math/k_cosl.c: Likewise.
41200         * math/k_sinl.c: Likewise.
41201         * math/k_tanl.c: Likewise.
41202         * math/s_cacoshf.c: Likewise.
41203         * math/s_catan.c: Likewise.
41204         * math/s_catanf.c: Likewise.
41205         * math/s_catanh.c: Likewise.
41206         * math/s_catanhf.c: Likewise.
41207         * math/s_catanhl.c: Likewise.
41208         * math/s_catanl.c: Likewise.
41209         * math/s_ccosh.c: Likewise.
41210         * math/s_ccoshf.c: Likewise.
41211         * math/s_ccoshl.c: Likewise.
41212         * math/s_cexp.c: Likewise.
41213         * math/s_cexpf.c: Likewise.
41214         * math/s_cexpl.c: Likewise.
41215         * math/s_clog.c: Likewise.
41216         * math/s_clog10.c: Likewise.
41217         * math/s_clog10f.c: Likewise.
41218         * math/s_clog10l.c: Likewise.
41219         * math/s_clogf.c: Likewise.
41220         * math/s_clogl.c: Likewise.
41221         * math/s_csin.c: Likewise.
41222         * math/s_csinf.c: Likewise.
41223         * math/s_csinh.c: Likewise.
41224         * math/s_csinhf.c: Likewise.
41225         * math/s_csinhl.c: Likewise.
41226         * math/s_csinl.c: Likewise.
41227         * math/s_csqrt.c: Likewise.
41228         * math/s_csqrtf.c: Likewise.
41229         * math/s_csqrtl.c: Likewise.
41230         * math/s_ctan.c: Likewise.
41231         * math/s_ctanf.c: Likewise.
41232         * math/s_ctanh.c: Likewise.
41233         * math/s_ctanhf.c: Likewise.
41234         * math/s_ctanhl.c: Likewise.
41235         * math/s_ctanl.c: Likewise.
41236         * math/s_ldexp.c: Likewise.
41237         * math/s_ldexpf.c: Likewise.
41238         * math/s_ldexpl.c: Likewise.
41239         * math/s_significand.c: Likewise.
41240         * math/s_significandf.c: Likewise.
41241         * math/s_significandl.c: Likewise.
41242         * math/w_acos.c: Likewise.
41243         * math/w_acosf.c: Likewise.
41244         * math/w_acosh.c: Likewise.
41245         * math/w_acoshf.c: Likewise.
41246         * math/w_acoshl.c: Likewise.
41247         * math/w_acosl.c: Likewise.
41248         * math/w_asin.c: Likewise.
41249         * math/w_asinf.c: Likewise.
41250         * math/w_asinl.c: Likewise.
41251         * math/w_atan2.c: Likewise.
41252         * math/w_atan2f.c: Likewise.
41253         * math/w_atan2l.c: Likewise.
41254         * math/w_atanh.c: Likewise.
41255         * math/w_atanhf.c: Likewise.
41256         * math/w_atanhl.c: Likewise.
41257         * math/w_cosh.c: Likewise.
41258         * math/w_coshf.c: Likewise.
41259         * math/w_coshl.c: Likewise.
41260         * math/w_dremf.c: Likewise.
41261         * math/w_exp10.c: Likewise.
41262         * math/w_exp10f.c: Likewise.
41263         * math/w_exp10l.c: Likewise.
41264         * math/w_exp2.c: Likewise.
41265         * math/w_exp2f.c: Likewise.
41266         * math/w_fmod.c: Likewise.
41267         * math/w_fmodf.c: Likewise.
41268         * math/w_fmodl.c: Likewise.
41269         * math/w_hypot.c: Likewise.
41270         * math/w_hypotf.c: Likewise.
41271         * math/w_hypotl.c: Likewise.
41272         * math/w_j0.c: Likewise.
41273         * math/w_j0f.c: Likewise.
41274         * math/w_j0l.c: Likewise.
41275         * math/w_j1.c: Likewise.
41276         * math/w_j1f.c: Likewise.
41277         * math/w_j1l.c: Likewise.
41278         * math/w_jn.c: Likewise.
41279         * math/w_jnf.c: Likewise.
41280         * math/w_jnl.c: Likewise.
41281         * math/w_lgamma.c: Likewise.
41282         * math/w_lgamma_r.c: Likewise.
41283         * math/w_lgammaf.c: Likewise.
41284         * math/w_lgammaf_r.c: Likewise.
41285         * math/w_lgammal.c: Likewise.
41286         * math/w_lgammal_r.c: Likewise.
41287         * math/w_log.c: Likewise.
41288         * math/w_log10.c: Likewise.
41289         * math/w_log10f.c: Likewise.
41290         * math/w_log10l.c: Likewise.
41291         * math/w_log2.c: Likewise.
41292         * math/w_log2f.c: Likewise.
41293         * math/w_log2l.c: Likewise.
41294         * math/w_logf.c: Likewise.
41295         * math/w_logl.c: Likewise.
41296         * math/w_pow.c: Likewise.
41297         * math/w_powf.c: Likewise.
41298         * math/w_powl.c: Likewise.
41299         * math/w_remainder.c: Likewise.
41300         * math/w_remainderf.c: Likewise.
41301         * math/w_remainderl.c: Likewise.
41302         * math/w_scalb.c: Likewise.
41303         * math/w_scalbf.c: Likewise.
41304         * math/w_scalbl.c: Likewise.
41305         * math/w_sinh.c: Likewise.
41306         * math/w_sinhf.c: Likewise.
41307         * math/w_sinhl.c: Likewise.
41308         * math/w_sqrt.c: Likewise.
41309         * math/w_sqrtf.c: Likewise.
41310         * math/w_sqrtl.c: Likewise.
41311         * math/w_tgamma.c: Likewise.
41312         * math/w_tgammaf.c: Likewise.
41313         * math/w_tgammal.c: Likewise.
41315         * po/ja.po: Update from translation team.
41317 2011-09-29  Andreas Jaeger  <aj@suse.de>
41319         [BZ #13179]
41320         * sunrpc/netname.c (netname2host): Fix logic.
41322         [BZ #6779]
41323         [BZ #6783]
41324         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41325         correctly.
41326         * math/w_remainder.c (__remainder): Likewise.
41327         * math/w_remainderf.c (__remainderf): Likewise.
41328         * math/libm-test.inc (remainder_test): Add test cases.
41330 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41332         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41333         sdiv_qrnnd.
41335 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41337         * string/test-memcmp.c: Avoid unncessary #defines.
41338         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41340 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41342         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41343         Use new sse2 version for core i3 - i7 as it's faster
41344         than sse42 version.
41345         (bit_Prefer_PMINUB_for_stringop): New.
41346         * sysdeps/x86_64/rawmemchr.S: Update.
41347         Replace with faster SSE2 version.
41348         * sysdeps/x86_64/memrchr.S: New file.
41349         * sysdeps/x86_64/memchr.S: Update.
41350         Replace with faster SSE2 version.
41352 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41354         * elf/dl-load.c (lose): Add cast to avoid warning.
41356 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41358         * po/ca.po: Update from translation team.
41360         * inet/getnetgrent_r.c: Hook up nscd.
41361         * nscd/Makefile (routines): Add nscd_netgroup.
41362         (nscd-modules): Add netgroupcache.
41363         (CFLAGS-netgroupcache.c): Define.
41364         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41365         (cache_search): Add const to second parameter.
41366         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41367         INNETGR.
41368         (dbs): Add netgrdb entry.
41369         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41370         (verify_persistent_db): Handle netgrdb.
41371         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41372         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41373         GETFDNETGR.
41374         (netgroup_response_header): Define.
41375         (innetgroup_response_header): Define.
41376         (datahead): Add netgroup_response_header and innetgroup_response_header
41377         elements.
41378         * nscd/nscd.conf: Add entries for netgroup cache.
41379         * nscd/nscd.h (dbtype): Add netgrdb.
41380         (_PATH_NSCD_NETGROUP_DB): Define.
41381         (netgroup_iov_disabled): Declare.
41382         (xmalloc, xcalloc, xrealloc): Move declarations here.
41383         (cache_search): Adjust prototype.
41384         Add netgroup-related prototypes.
41385         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41386         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41387         (__nscd_innetgr): Declare.
41388         * nscd/selinux.c (perms): Use access_vector_t as element type and
41389         add netgroup-related initializers.
41390         * nscd/netgroupcache.c: New file.
41391         * nscd/nscd_netgroup.c: New file.
41392         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41393         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41394         For four parameters use innetgr.
41395         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41396         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41397         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41398         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41400         * nscd/connections.c (register_traced_file): Don't register file
41401         for disabled databases.
41403 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41405         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41407         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41408         from tree and freeing node.
41410 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41412         * nss/nsswitch.c (__nss_database_lookup): Handle
41413         nss_parse_service_list out of memory case.
41415 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41417         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41418         out of memory case.
41420 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41422         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41423         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41424         pass it down.
41425         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41426         elf_machine_rela, elf_machine_lazy_rel.
41427         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41428         (ELF_DYNAMIC_DO_REL): Likewise.
41429         (ELF_DYNAMIC_DO_RELA): Likewise.
41430         (ELF_DYNAMIC_RELOCATE): Likewise.
41431         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41432         to ELF_DYNAMIC_DO_REL.
41433         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41434         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41435         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41436         elf_machine_rela.
41437         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41438         skip_ifunc, don't call ifunc function if non-zero.
41439         (elf_machine_rela): Likewise.
41440         (elf_machine_lazy_rel): Likewise.
41441         (elf_machine_lazy_rela): Likewise.
41442         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41443         (elf_machine_lazy_rel): Likewise.
41444         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41445         Likewise.
41446         (elf_machine_lazy_rel): Likewise.
41447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41448         Likewise.
41449         (elf_machine_lazy_rel): Likewise.
41450         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41451         (elf_machine_lazy_rel): Likewise.
41452         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41453         (elf_machine_lazy_rel): Likewise.
41454         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41455         (elf_machine_lazy_rel): Likewise.
41456         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41457         (elf_machine_lazy_rel): Likewise.
41458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41459         (elf_machine_lazy_rel): Likewise.
41460         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41461         (elf_machine_lazy_rel): Likewise.
41463 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41465         * nss/nss_files/files-init.c (_nss_files_init): Use static
41466         initialization for all the *_traced_file variables.
41468 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41470         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41472 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41474         [BZ #13226]
41475         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41477 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41479         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41480         Reread the line before reparsing it.
41482 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41484         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41486 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41487             Maxim Kuvyrkov  <maxim@codesourcery.com>
41488             Joseph Myers  <joseph@codesourcery.com>
41490         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41491         if needed for __stack_chk_guard.
41493 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41495         * sysdeps/posix/spawni.c (script_execute): Always define it.
41496         It will be optimized away if unused.
41497         (maybe_script_execute): New function.
41498         (__spawni): Call it.
41500         * Makerules: Don't include tls.make.
41501         (config-tls): Always set to thread.
41502         * tls.make.c: File removed.
41504 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41506         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41507         * config.make.in (CPPFLAGS-config): New substituted variable.
41509 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41511         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41513         [BZ #13192]
41514         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41515         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41517 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41519         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41520         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41521         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41522         (CALL_FAIL): Likewise.
41523         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41524         (CALL_FAIL): Macro removed.
41525         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41527 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41529         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41530         for __FINITE_MATH_ONLY__ == 1.
41532 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41534         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41535         __ieee754_sqrt instead of sqrt.
41536         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41537         __ieee754_sqrtf instead of sqrtf.
41538         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41539         __floorf instead of floorf.
41540         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41541         __floorf, __truncf instead of floorf, truncf.
41543 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41545         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41547         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41548         __extern_always_inline.
41549         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41550         32-bit.
41552 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41554         * elf/rtld.c (dl_main): Also relocate in dependency order when
41555         doing symbol dependency testing.
41557 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41559         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41560         Always define `refsym'.
41562 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41564         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41565         (__FD_ELT): Renamed from __FDELT.
41566         * misc/bits/select2.h (__FD_ELT): Likewise.
41567         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41568         __FD_MASK instead of __FDELT, __FDMASK.
41569         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41570         Likewise.
41571         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41572         Likewise.
41574         * elf/Makefile (gen-ldd): Fix pattern.
41576         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41577         (init_tls): Likewise.
41579 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41583 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41585         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41586         `struct cmsghdr *' instead of `void *'.
41587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41588         Likewise.
41590 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41592         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41593         if non-absolute.
41594         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41595         ldd_rewrite_script.
41597 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41599         * configure.in: Remove --with-tls option.
41600         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41601         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41602         out in case it is missing.
41603         * sysdeps/ia64/elf/configure.in: Likewise.
41604         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41605         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41606         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41607         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41608         * sysdeps/sh/elf/configure.in: Likewise.
41609         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41610         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41611         * sysdeps/x86_64/elf/configure.in: Likewise.
41612         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41613         * sysdeps/mach/hurd/tls.h: Likewise.
41615         [BZ #13067]
41616         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41618         [BZ #13090]
41619         * configure.in: Fix use of AC_INIT.
41621         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41623 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41625         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41626         __set_errno.
41627         * malloc/hooks.c: Likewise.
41629         [BZ #11929]
41630         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41631         variables statically.
41632         (narenas): Initialize.
41633         (list_lock): Initialize.
41634         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41635         initializtion of main_arena and list_lock.  Small cleanups.
41636         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41637         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41638         Add initializers to main_arena and mp_.
41639         (malloc_state): Remove pagesize member.  Change all users to use
41640         GLRO(dl_pagesize).
41642         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41643         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41644         is always initialized.
41646         * malloc/malloc.c: Removed unused configurations and dead code.
41647         * malloc/arena.c: Likewise.
41648         * malloc/hooks.c: Likewise.
41649         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41651         * include/tls.h: Removed.  USE___THREAD must always be defined.
41652         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41653         * elf/dl-libc.c: Likewise.
41654         * elf/dl-tsd.c: Likewise.
41655         * include/errno.h: Likewise.
41656         * include/netdb.h: Likewise.
41657         * include/resolv.h: Likewise.
41658         * inet/herrno-loc.c: Likewise.
41659         * inet/herrno.c: Likewise.
41660         * malloc/arena.c: Likewise.
41661         * malloc/hooks.c: Likewise.
41662         * malloc/malloc.c: Likewise.
41663         * resolv/res-state.c: Likewise.
41664         * resolv/res_libc.c: Likewise.
41665         * sysdeps/i386/dl-machine.h: Likewise.
41666         * sysdeps/ia64/dl-machine.h: Likewise.
41667         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41668         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41669         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41670         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41671         * sysdeps/sh/dl-machine.h: Likewise.
41672         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41673         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41674         * sysdeps/unix/i386/sysdep.S: Likewise.
41675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41676         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41680         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41681         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41682         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41685         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41686         * sysdeps/x86_64/dl-machine.h: Likewise.
41687         * tls.make.c: Likewise.
41689         * configure.in: Remove --with-__thread option.  Make tests for
41690         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41691         tls_model attribute fail if no support is available.  Remove
41692         USE_IN_LIBIO.
41693         * Makeconfig: Adjust for dropped configure option.  All features are
41694         now mandatory.
41695         * Makerules: Likewise.
41696         * Versions.def: Likewise.
41697         * argp/argp-fmtstream.c: Likewise.
41698         * argp/argp-fmtstream.h: Likewise.
41699         * argp/argp-help.c: Likewise.
41700         * assert/assert.c: Likewise.
41701         * config.h.in: Likewise.
41702         * config.make.in: Likewise.
41703         * configure: Likewise.
41704         * configure.in: Likewise.
41705         * csu/Versions: Likewise.
41706         * csu/init.c: Likewise.
41707         * elf/tst-audit2.c: Likewise.
41708         * elf/tst-tls10.c: Likewise.
41709         * elf/tst-tls10.h: Likewise.
41710         * elf/tst-tls11.c: Likewise.
41711         * elf/tst-tls12.c: Likewise.
41712         * elf/tst-tls14.c: Likewise.
41713         * elf/tst-tlsmod11.c: Likewise.
41714         * elf/tst-tlsmod12.c: Likewise.
41715         * elf/tst-tlsmod13.c: Likewise.
41716         * elf/tst-tlsmod13a.c: Likewise.
41717         * elf/tst-tlsmod14a.c: Likewise.
41718         * elf/tst-tlsmod15b.c: Likewise.
41719         * elf/tst-tlsmod16a.c: Likewise.
41720         * elf/tst-tlsmod16b.c: Likewise.
41721         * elf/tst-tlsmod7.c: Likewise.
41722         * elf/tst-tlsmod8.c: Likewise.
41723         * elf/tst-tlsmod9.c: Likewise.
41724         * gmon/gmon.c: Likewise.
41725         * grp/fgetgrent_r.c: Likewise.
41726         * grp/putgrent.c: Likewise.
41727         * hurd/fopenport.c: Likewise.
41728         * include/libc-symbols.h: Likewise.
41729         * include/tls.h: Likewise.
41730         * intl/gettextP.h: Likewise.
41731         * intl/loadinfo.h: Likewise.
41732         * locale/global-locale.c: Likewise.
41733         * locale/localeinfo.h: Likewise.
41734         * mach/devstream.c: Likewise.
41735         * malloc/arena.c: Likewise.
41736         * malloc/set-freeres.c: Likewise.
41737         * misc/err.c: Likewise.
41738         * misc/getttyent.c: Likewise.
41739         * misc/mntent_r.c: Likewise.
41740         * posix/getopt.c: Likewise.
41741         * posix/wordexp.c: Likewise.
41742         * pwd/fgetpwent_r.c: Likewise.
41743         * resolv/Versions: Likewise.
41744         * resolv/res_hconf.c: Likewise.
41745         * shadow/fgetspent_r.c: Likewise.
41746         * shadow/putspent.c: Likewise.
41747         * stdio-common/printf_fphex.c: Likewise.
41748         * stdio-common/tmpfile.c: Likewise.
41749         * stdlib/abort.c: Likewise.
41750         * stdlib/fmtmsg.c: Likewise.
41751         * sunrpc/auth_unix.c: Likewise.
41752         * sunrpc/clnt_perr.c: Likewise.
41753         * sunrpc/clnt_tcp.c: Likewise.
41754         * sunrpc/clnt_udp.c: Likewise.
41755         * sunrpc/clnt_unix.c: Likewise.
41756         * sunrpc/openchild.c: Likewise.
41757         * sunrpc/svc_simple.c: Likewise.
41758         * sunrpc/svc_tcp.c: Likewise.
41759         * sunrpc/svc_udp.c: Likewise.
41760         * sunrpc/svc_unix.c: Likewise.
41761         * sunrpc/xdr.c: Likewise.
41762         * sunrpc/xdr_array.c: Likewise.
41763         * sunrpc/xdr_rec.c: Likewise.
41764         * sunrpc/xdr_ref.c: Likewise.
41765         * sunrpc/xdr_stdio.c: Likewise.
41767 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41769         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41771 2011-07-03  Andreas Jaeger  <aj@suse.de>
41773         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41774         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41775         regenerate with gen-libm-tests.pl.
41777 2010-05-12  Petr Baudis  <pasky@suse.cz>
41779         [BZ #11589]
41780         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41781         around j0() zero points by switching to j1().
41782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41785         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41787 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41789         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41790         instead of 0.
41791         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41792         instead of 0.
41793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41794         Patch in part by Pavel Roskin <proski@gnu.org>.
41796         [BZ #13138]
41797         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41798         realloc.
41799         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41800         Free memory block if necessary.
41802         [BZ #12847]
41803         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41804         be NULL.  Don't lock in this case.
41806 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41808         * elf/elf.h (ELFOSABI_GNU): New macro.
41809         (ELFOSABI_LINUX): Define to that.
41811 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41813         * string/strncat.c (strncat): Undef the symbol in case it has been
41814         defined in bits/string.h.
41816 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41818         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41820         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41821         link map.
41823 2011-08-17  Andreas Jaeger  <aj@suse.de>
41825         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41827 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41828             Ian Lance Taylor  <iant@google.com>
41830         * math/libm-test.inc (lround_test): New testcase.
41831         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41833 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41835         * Makefile: Remove support for automatic cvs check-ins.
41836         * Makerules: Likewise.
41837         * config.make.in: Likewise.
41838         * configure.in: Likewise.
41839         * intl/Makefile: Likewise.
41840         * locale/Makefile: Likewise.
41841         * po/Makefile: Likewise.
41842         * posix/Makefile: Likewise.
41843         * sysdeps/gnu/Makefile: Likewise.
41844         * sysdeps/mach/hurd/Makefile: Likewise.
41845         * sysdeps/sparc/sparc32/Makefile: Likewise.
41847         [BZ #13118]
41848         * posix/Makefile (bug-regex32-ENV): Define.
41849         Patch by John Stanley <jpsinthemix@verizon.net>.
41851         * misc/Makefile (headers): Add bits/select2.h.
41852         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41853         * misc/bits/select2.h: New file.
41854         * include/bits/select2.h: New file.
41855         * debug/Makefile (routines): Add fdelt_chk.
41856         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41857         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41858         FD_ISSET.
41859         * debug/fdelt_chk.c: New file.
41861         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41862         * wcsmbs/test-wmemcmp.c: Likewise.
41863         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41864         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41866 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41868         * string/Makefile (strop-tests): Add memcmp.
41869         * string/test-wmemcmp.c: New file.
41870         * string/test-memcmp.c: Add wmemcmp support.
41872 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41874         [BZ #13153]
41875         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41876         2011-07-19 change.
41878         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41879         garbage value in a __mach_port_mod_refs call in the cases of the
41880         task-self and thread-self ports.
41882 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41884         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41886 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41888         * elf/dl-load.c (lose): Check for non-null L.
41890 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41892         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41894         * elf/dl-libc.c (dlerror_run): Pass back error code from
41895         dl_catch_error.
41897         [BZ #13123]
41898         * elf/dl-load.c (lose): Free l_origin if it is valid.
41900         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41901         names.
41902         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41903         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41905         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41906         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41907         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41909 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41911         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41912         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41913         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41914         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41915         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41916         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41917         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41918         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41919         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41920         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41922 2011-08-15  Alan Modra  <amodra@gmail.com>
41924         [BZ #13092]
41925         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41926         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41927         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41928         ppc_mcount to static-only-routines.
41929         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41930         __mcount_internal.
41931         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41932         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41934 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41936         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41937         for finite and infinity parameters.
41939 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41941         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41942         and add nop instructions for throughput optimization.
41943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41945 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41947         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41948         aligned copy for power7 with vector-scalar instructions.
41949         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41951 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41954         AVX check.
41956 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41958         [BZ #13144]
41959         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41960         last change.
41962 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41964         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41965         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41966         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41967         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41968         clock_gettime.
41970 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41973         Forgot to demangle the pointer.
41975         * sysdeps/i386/sysdep.h: Define atom_text_section.
41976         * sysdeps/x86_64/sysdep.h: Likewise.
41977         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41978         section with atom_text_section.
41979         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41980         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41981         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41983         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41985         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41986         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41987         already be defined.  Change to take two parameters and don't assign
41988         result to variable.  Adjust all users.
41989         Define INTERNAL_GETTIME if not already defined.
41990         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41991         call.
41992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41993         HAVE_CLOCK_GETTIME_VSYSCALL.
41994         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41996         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41997         gettimeofday vsyscall, just use time.
41999 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42002         <errno.h>.
42004 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42006         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42007         syscall on x86-64.
42008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42009         syscall.
42010         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42011         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42012         syscall if possible.
42014 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42016         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42017         e_ident.  Don't pass to find_mapsXX.
42018         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42020 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42023         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42024         * sysdeps/x86_64/multiarch/strchr.S: Update.
42025         Check bit_slow_BSF bit.
42026         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42027         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42028         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42030 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42032         [BZ #13134]
42033         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42034         before glibc 2.15.
42035         (tryshell): Define.
42036         (__spawni): Change last parameter to be flag.  Test
42037         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42038         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42039         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42040         * posix/spawni.c: Likewise.
42041         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42042         * posix/spawnp.c: Likewise.  Change normal version to use
42043         SPAWN_XFLAGS_USE_PATH.
42044         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42045         SPAWN_XFLAGS_TRY_SHELL.
42047         [BZ #13150]
42048         * posix/glob.h: Remove gcc 1.x support.
42050         [BZ #13068]
42051         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42053 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42056         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42057         strrchr-sse2-bsf
42058         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42059         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42060         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42061         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42062         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42063         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42065 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42067         * sysdeps/x86_64/wcscmp.S: New file.
42069         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42070         wcscmp-c wcscmp-sse2
42071         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42072         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42073         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42074         * wcsmbs/wcscmp.c: Allow renaming.
42076 2011-09-05  David S. Miller  <davem@davemloft.net>
42078         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42079         stack slot, rather than the struct return pointer slot.
42080         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42081         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42083         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42085 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42087         * po/ja.po: Update from translation team.
42089         [BZ #13144]
42090         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42091         kernel in 64-bit binaries.
42093 2011-09-01  David S. Miller  <davem@davemloft.net>
42095         * elf/elf.h (HWCAP_SPARC_*): Move to..
42096         * sysdeps/sparc/sysdep.h: this new file and add new values.
42097         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42098         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42099         _DL_HWCAP_COUNT to 24.
42100         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42101         entries.
42102         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42103         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42104         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42106         instead of magic constants.
42107         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42109 2011-08-31  David S. Miller  <davem@davemloft.net>
42111         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42113         Reimplement to do errno handling inline.
42114         (SYSCALL_ERROR_HANDLER): New macro.
42115         (__SYSCALL_STRING): Do not do errno handling in asm.
42116         (__CLONE_SYSCALL_STRING): Delete.
42117         (__INTERNAL_SYSCALL_STRING): Delete.
42118         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42119         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42120         (PSEUDO): Reimplement to do errno handling inline.
42121         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42122         (SYSCALL_ERROR_HANDLER): New macro.
42123         (__SYSCALL_STRING): Do not do errno handling in asm.
42124         (__CLONE_SYSCALL_STRING): Delete.
42125         (__INTERNAL_SYSCALL_STRING): Delete.
42126         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42127         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42128         i386.
42129         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42130         (inline_syscall*): Add 'err' argument.
42131         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42132         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42133         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42134         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42136         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42137         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42139 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42141         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42143 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42145         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42146         directive.
42148 2011-08-24  David S. Miller  <davem@davemloft.net>
42150         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42152 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42154         * elf/Makefile: Add rules to build and run unload8 test.
42155         * elf/unload8.c: New file.
42156         * elf/unload8mod1.c: New file.
42157         * elf/unload8mod1x.c: New file.
42158         * elf/unload8mod2.c: New file.
42159         * elf/unload8mod3.c: New file.
42161         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42162         it wasn't used.
42164 2011-08-23  David S. Miller  <davem@davemloft.net>
42166         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42167         subtract stack bias.
42168         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42169         %sp not %fp in calculations.
42170         (_JMPBUF_UNWINDS_ADJ): Likewise.
42172         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42173         (aio_suspend): Call it to force an exception region around the
42174         AIO_MISC_WAIT() invocation.
42176 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42178         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42179         backslash.
42181 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42183         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42184         protection macro.
42185         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42186         and <dl-machine.h>.
42187         (Elf64_FuncDesc): Remove.
42189 2011-08-22  David S. Miller  <davem@davemloft.net>
42191         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42192         sigaltstack check, add missing cfi directives.
42193         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42194         missing cfi directives, and sigaltstack handling.
42196 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42198         [BZ #11724]
42199         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42200         object is seen twice.
42201         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42203         * elf/Makefile (distribute): Add tst-initorder2.c.
42204         (tests): Add tst-initorder2.
42205         (modules-names): Add tst-initorder2a tst-initorder2b
42206         tst-initorder2c tst-initorder2d.  Add rules to build them.
42207         ($(objpfx)tst-initorder2.out): New rule.
42208         * elf/tst-initorder2.c: New file.
42209         * elf/tst-initorder2.exp: New file.
42211 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42213         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42215         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42216         dependencies back to end of function.
42218         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42219         $(elfobjdir)/ld.so.
42221 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42224         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42225         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42226         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42227         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42228         of __vdso_gettimeofday.
42229         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42230         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42231         attribute_hidden.
42232         (_libc_vdso_platform_setup): Remove initialization of
42233         __vdso_gettimeofday and __vdso_time.
42235 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42237         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42238         and fgetc_unlocked.
42239         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42240         getc_unlocked.
42242         * elf/dl-open.c (add_to_global): Report additions to the global scope
42243         for LD_DEBUG=scopes.
42244         (dl_open_worker): Also print scope of newly loaded dependencies.
42245         (_dl_show_scope): Indicate if there is no scope.
42247         [BZ #13114]
42248         * stdio-common/Makefile (tests): Add bug24.
42249         * stdio-common/bug24.c: New file.
42251 2011-08-19  Andreas Jaeger  <aj@suse.de>
42253         [BZ #13114]
42254         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42255         non-existant file when using close-on-exec mode.
42257 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42260         the very first instruction.
42262         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42263         the CFI state in the end.
42264         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42265         inclusion of dl-trampoline.h.
42266         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42268 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42270         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42271         expectations for long double.
42273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42274         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42276 2011-08-14  David S. Miller  <davem@davemloft.net>
42278         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42279         artificual limit depends upon the system page size.
42281 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42283         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42284         * resolv/Makefile: Define CFLAGS-libresolv.
42286 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42288         * nss/makedb.c (compute_tables): Make variables used in nested
42289         function static.
42291 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42293         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42294         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42295         if buffer was too small.
42297         * elf/pldd.c (main): Attach to all threads in the process.
42298         Rewrite /proc handling to use *at functions.
42300 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42302         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42303         specifies first scope to show.
42304         (dl_open_worker): Update callers.  Move printing scope of new
42305         object to before the relocation.
42306         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42307         * sysdeps/generic/ldsodefs.h: Update declaration.
42309         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42310         string for the scope number.
42312 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42314         * nscd/servicescache.c (cache_addserv): Make sure written is always
42315         initialized.
42317 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42319         * sysdeps/i386/i486/bits/atomic.h
42320         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42321         statement expression, so as to suppress "set but not used" warning.
42322         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42324         * string/strncat.c (STRNCAT): Use prototype definition.
42326         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42327         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42328         -Iprograms here.
42329         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42330         (localedef-modules): Add localedef.
42331         (locale-modules): Add locale.
42333         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42334         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42335         to avoid a warning.
42337 2011-08-14  David S. Miller  <davem@davemloft.net>
42339         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42340         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42342 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42344         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42345         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42346         * elf/rtld.c (dl_main): Set l_name of vDSO.
42347         Call _dl_show_scope when DL_DEBUG_SCOPES.
42348         (process_dl_debug): Recognize scopes flag and also set it for all.
42349         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42350         Declare _dl_show_scope.
42352         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42353         (do_dlopen): Pass caller_dlopen to dl_open.
42354         (__libc_dlopen_mode): Initialize caller_dlopen.
42356         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42357         of libc.  Make tolower call locale-independent.  Optimize a bit by
42358         using isdigit instead of isalnum.
42359         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42361 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42363         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42364         was a dependency or dynamically loaded.
42366 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42368         * intl/l10nflist.c: Allow architecture-specific pop function.
42369         * sysdeps/x86_64/l10nflist.c: New file.
42371         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42372         classification.
42374 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42376         * include/dirent.h: Add libc_hidden_proto for scandirat and
42377         scandirat64.  Don't declare __scandirat64.
42378         * dirent/scandirat.c: Add libc_hidden_def.
42379         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42380         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42382 2011-08-10  David S. Miller  <davem@davemloft.net>
42384         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42385         enum.
42386         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42387         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42388         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42390 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42392         * Versions.def [libc]: Add GLIBC_2.15.
42393         * dirent/Makefile (routines): Add scandirat and scandirat64.
42394         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42395         GLIBC_2.15.
42396         * dirent/dirent.h: Declare scandirat and scandirat64.
42397         * dirent/scandirat.c: New file.
42398         * dirent/scandirat64.c: New file.
42399         * sysdeps/wordsize-64/scandirat.c: New file.
42400         * sysdeps/wordsize-64/scandirat64.c: New file.
42401         * dirent/opendir.c: Define opendirat.
42402         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42403         using scandirat.
42404         * dirent/scandir64.c: Adjust for scandir.c change.
42405         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42406         __scandirat64, and __scandir_cancel_handler.
42407         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42408         additional parameter and use openat instead of open (outside of ld.so).
42409         Add new __opendir as wrapper around __opendirat.
42410         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42411         here without requiring old scandirat implementation.
42413 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42415         * dirent/scandir.c (cancel_handler): Renamed to
42416         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42417         defined.  Adjust users.
42418         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42419         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42421 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42423         * string/test-string.h (IMPL): Use __STRING to expand name and then
42424         stringify it.
42426         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42427         of cleanups.
42429 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42431         * string/Makefile: Update.
42432         (strop-tests): Append strncat.
42433         * string/test-wcscmp.c: New file.
42434         New comprehensive test for wcscmp.
42435         * string/test-strcmp.c: Update.
42436         (WIDE): New define.
42438 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42440         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42441         line.
42443 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42446         encoding to ACE if AI_IDN.
42448 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42450         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42451         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42453 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42455         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42456         Fix overflow bug in strncat.
42457         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42459         * string/test-strncat.c: Update.
42460         Add new tests for checking overflow bugs.
42462 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42465         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42466         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42467         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42469         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42470         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42471         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42472         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42474         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42475         (USE_AS_STRCAT): Define.
42476         Add strcat and strncat support.
42477         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42479 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42481         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42482         __n bigger than INT_MAX+1.
42483         (__strncmp_g): Likewise.
42485 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42487         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42488         * libio/stido.h: Likewise.
42490         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42491         (AF_NFC): Define.
42492         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42493         (AF_NFC): Define.
42495         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42496         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42498         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42501         [BZ #13021]
42502         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42503         installed.
42505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42506         typo.
42507         (_dl_x86_64_save_sse): Likewise.
42509 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42512         OSXSAVE.
42513         (_dl_x86_64_save_sse): Likewise.
42515         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42517         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42519 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42522         change.
42523         (_dl_x86_64_save_sse): Use correct AVX check.
42525 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42528         bug in strncpy/strncat.
42529         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42531 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42533         * string/tester.c (test_strcat): Add tests for different alignments
42534         of source and destination.
42535         (test_strncat): Likewise.
42537 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42539         [BZ #12852]
42540         * posix/glob.c (glob): Check passed in values before using them in
42541         expressions to avoid some overflows.
42542         (glob_in_dir): Likewise.
42544         [BZ #13007]
42545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42546         check for AVX enablement so that we don't crash with old kernels and
42547         new hardware.
42548         * elf/tst-audit4.c: Add same checks here.
42549         * elf/tst-audit6.c: Likewise.
42551         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42553 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42555         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42557 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42559         * po/cs.po: Update from translation team.
42560         * po/bg.po: Likewise.
42562 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42564         * misc/sys/cdefs.h: Add support for const attribute.
42565         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42566         to gnu_dev_{major,minor,makedev} functions.
42568 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42570         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42572 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42574         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42575         strlen results.
42577 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42580         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42581         register in order to avoid conflicts with the soft frame pointer
42582         being held in r11 when necessary.
42583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42584         (INTERNAL_VSYSCALL_NCS): Likewise.
42586 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42588         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42589         * elf/dl-fini.c (_dl_fini): Adjust caller.
42590         * elf/dl-close.c (_dl_close_worker): Likewise.
42591         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42593 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42595         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42596         "aux_cache->nlibs < 0".
42598         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42599         in the reload-count case.
42601 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42604         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42605         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42606         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42607         * sysdeps/x86_64/multiarch/strcat.S: New file.
42608         * sysdeps/x86_64/multiarch/strncat.S: New file.
42609         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42610         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42611         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42612         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42613         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42614         (USE_AS_STRCAT): Define.
42615         Add strcat and strncat support.
42616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42617         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42618         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42619         * string/strncat.c: Update.
42620         (USE_AS_STRNCAT): Define.
42621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42622         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42623         and i7.
42624         * sysdeps/x86_64/multiarch/init-arch.h
42625         (bit_Prefer_PMINUB_for_stringop): New.
42626         (index_Prefer_PMINUB_for_stringop): Likewise.
42627         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42628         bit_Prefer_PMINUB_for_stringop.
42630 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42632         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42633         buffer64.
42634         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42635         of casting of buffer.
42636         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42637         buffer32 and buffer64.
42638         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42639         writes instead of casting of buffer.
42640         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42641         buffer32.
42642         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42643         casting of buffer.
42645 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42647         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42649 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42651         * nscd/nscd.c (termination_handler): Don't do anything for a database
42652         if it has not yet been initialized.
42654 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42656         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42658 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42660         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42662 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42664         * po/nl.po: Update from translation team.
42665         * po/sv.po: Likewise.
42667 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42669         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42670         now disallowed by GCC.
42672         * configure.in (use-default-link): Default to yes if a test -shared
42673         link meets our qualifications.
42674         * configure: Regenerated.
42676         * config.make.in (output-format): New variable.
42677         * configure.in: Check for ld --print-output-format support.
42678         * configure: Regenerated.
42679         * Makerules ($(common-objpfx)format.lds)
42680         [$(output-format) != unknown]: Just use $(output-format),
42681         instead of the linker-script munging.
42683 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42685         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42686         of $(common-objpfx)shlib.lds.
42687         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42689         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42690         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42692         * configure.in (-z relro check): Adjust test code to add a large
42693         writable data section after it.
42694         * configure: Regenerated.
42696 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42698         * configure.in (-z relro check): Fix test code to make the variable
42699         truly const.
42700         * configure: Regenerated.
42702 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42704         * nscd/nscd.h (struct traced_file): Define.
42705         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42706         elements.  Add traced_files.
42707         (inotify_fd): Declare.
42708         (register_traced_file): Declare.
42709         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42710         (inotify_fd): Export.
42711         (resolv_conf_descr): Remove.
42712         (nscd_init): Move inotify descriptor creation to main.
42713         Don't register files for notification here.
42714         (register_traced_file): New function.
42715         (invalidate_cache): Don't use reset_res to determine whether to call
42716         res_init, go through the list of registered files.
42717         (main_loop_poll): The inotify descriptors are now stored in the
42718         structures for the traced files.
42719         (main_loop_epoll): Likewise
42720         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42721         to __nss_disable_nscd.
42722         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42723         for a database anymore.  Check the records for all the registered
42724         files instead.
42725         * nss/Makefile (libnss_files-routines): Add files-init.
42726         (libnss_db-routines): Add db-init.
42727         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42728         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42729         * nss/nss_db/db-init.c: New file.
42730         * nss/nss_files/files-init.c: New file.
42731         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42732         __nss_lookup_function.
42733         (__nss_lookup_function): Call nss_load_library.
42734         (nss_load_all_libraries): New function.
42735         (__nss_disable_nscd): Take parameter with callback function for files
42736         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42737         used for the cached services.
42738         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42739         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42740         options for features to all the files in nscd.
42742         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42744 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42746         * csu/elf-init.c (__libc_csu_init): Comment typo.
42748 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42750         * po/pl.po: Update from translation team.
42751         * po/ja.po: Likewise.
42752         * po/ru.po: Likewise.
42753         * po/ko.po: Likewise.
42754         * po/fr.po: Likewise.
42756 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42758         * configure.in (.ctors/.dtors header and trailer check):
42759         Use an empirical test on a built program.
42760         * configure: Regenerated.
42762         * configure.in (-z relro check): Use an empirical test on a built DSO.
42763         Detect, but do not require, on ia64.
42764         * configure: Regenerated.
42766         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42767         Update tests that use readelf to use $READELF instead.
42768         * configure: Regenerated.
42770 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42772         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42773         if the result is not used.
42775 2011-07-05  Andreas Jaeger  <aj@suse.de>
42777         [BZ#9696]
42778         * stdlib/tst-strtod.c: Add testcase.
42780 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42782         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42783         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42784         The latter has a higher limit.  Take additional parameter to pass to
42785         the new function.
42786         (__pathconf): Pass file to __statfs_link_max.
42787         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42788         __statfs_link_max.
42789         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42790         __statfs_link_max.
42792         [BZ #12868]
42793         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42795         Handle Lustre.
42796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42797         (__statfs_filesize_max): Likewise.
42798         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42800 2011-07-05  Andreas Jaeger  <aj@suse.de>
42802         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42804 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42806         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42807         `status' variable.
42808         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42809         Likewise.
42811 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42813         * Makefile (strop-tests): Add strncat.
42814         * string/test-strncat.c: New file.
42816 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42818         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42820 2011-06-21  Andreas Jaeger  <aj@suse.de>
42822         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42823         Copy rule from iconvdata/Makefile.
42825 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42827         [BZ #12922]
42828         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42829         but no long options are defined, just return 'W'.
42831 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42833         [BZ #9696]
42834         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42836 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42838         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42839         netgroups to read.
42840         (innetgr): Likewise.
42842 2011-07-05  Roland McGrath  <roland@hack.frob.com>
42844         * config.make.in (install_root): Default to $(DESTDIR).
42846 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
42848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42850 2011-07-02  Roland McGrath  <roland@hack.frob.com>
42852         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42854         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42855         containing directory rather than embedding absolute directory names.
42857         * scripts/check-local-headers.sh: Rewritten using awk.
42858         Match by word, not by line.  Print error messages for matches.
42859         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42861         * Makerules [shlib-lds-flags empty]:
42862         ($(common-objpfx)libc_pic.opts): New target.
42863         ($(common-objpfx)libc_pic.os.clean): New target.
42864         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42866         * config.make.in (OBJCOPY): New variable.
42867         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42868         * configure: Regenerated.
42870         * config.make.in (use-default-link): New variable.
42871         * configure.in (use_default_link): Grok --with-default-link to set it.
42872         * configure: Regenerated.
42873         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42874         (shlib-lds, shlib-lds-flags): Define to empty.
42876         * Makerules (shlib-lds): New variable.
42877         (shlib-lds-flags): New variable.
42878         (build-shlib, build-moduile, build-module-asneeded): Use it.
42879         ($(common-objpfx)libc.so): Use $(shlib-lds).
42880         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42881         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42883         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42884         DT_FLAGS/DT_FLAGS_1 with zero flags.
42886         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42887         linker script munging.
42889 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42891         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42892         as 128-bit value.
42893         * crypt/sha512.c (sha512_process_block): Perform total addition using
42894         128-bit if possible.
42895         (__sha512_finish_ctx): Likewise.
42896         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42897         as 64-bit value.
42898         * crypt/sha256.c (SWAP64): Define.
42899         (sha256_process_block): Perform total addition using 64-bit if
42900         possible.
42901         (__sha256_finish_ctx): Likewise.
42903 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42905         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42907         * nscd/hstcache.c (cache_addhst): Likewise.
42908         * nscd/grpcache.c (cache_addgr): Likewise.
42909         * nscd/aicache.c (addhstaiX): Likewise
42910         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42912 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42914         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42915         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42916         * nscd/hstcache.c (cache_addhst): Likewise.
42917         * nscd/grpcache.c (cache_addgr): Likewise.
42918         * nscd/aicache.c (addhstaiX): Likewise
42920 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42922         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42923         domain only when needed.
42925 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42928         is always restored.
42930 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42932         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42933         are re-adding the entry.
42934         * nscd/servicescache.c (cache_addserv): Likewise.
42936 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42938         * sysdeps/generic/dl-irel.h: fix protection against multiple
42939         inclusions.
42940         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42942 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42944         [BZ #12935]
42945         * malloc/memusage.sh: Fix quoting in message.
42946         * debug/xtrace.sh: Likewise.
42948         * configure.in: Remove support for --experimental-malloc option, make
42949         it the default.
42950         * config.make.in: Likewise.
42951         * malloc/Makefile: Likewise.
42953 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42955         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42956         two-byte characters.
42958 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42960         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42961         AC_CACHE_CHECK invocation.
42962         * configure: Regenerated.
42964         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42966 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42968         [BZ #12350]
42969         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42970         bit from old_res_options.
42972         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42974         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42975         value type for setfct.
42977 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42980         __gettimeofday instead of gettimeofday.
42982 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42984         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42986 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42988         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42991         info.
42993 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42996         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42997         strcpy-sse2-unaligned strncpy-sse2-unaligned
42998         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42999         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43000         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43001         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43002         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43003         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43004         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43005         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43006         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43007         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43008         (STRCPY): Support SSE2 and SSSE3 versions.
43010 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43012         [BZ #12874]
43013         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43014         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43015         kernels which artificially limit size of requests.
43017 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43020         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43021         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43022         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43023         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43024         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43025         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43026         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43027         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43029         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43030         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43031         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43032         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43033         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43035         Enable unaligned load optimization for Intel Core i3, i5 and i7
43036         processors.
43037         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43038         Define.
43039         (index_Fast_Unaligned_Load): Define.
43040         (HAS_FAST_UNALIGNED_LOAD): Define.
43042 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43044         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43046 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43048         [BZ #12907]
43049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43050         until it is clear that the information is realy needed.
43051         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43053 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43057 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43060         /sys/devices/system/cpu/online if it is usable.
43062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43063         reading the information from the /proc filesystem to once a second.
43065 2011-06-21  Andreas Jaeger  <aj@suse.de>
43067         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43068         NULL after inclusion of kernel headers.
43070 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43072         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43073         calls to internal_setent.
43075         [BZ #12885]
43076         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43077         addresses using gethostbyname4_r ignore IPv4 addresses.
43079         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43080         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43082         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43084 2011-06-20  David S. Miller  <davem@davemloft.net>
43086         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43087         inclusions.
43088         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43090         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43091         (elf_irel): Use it.
43092         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43093         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43094         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43095         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43096         * sysdeps/x86_64/dl-irel.h: Likewise.
43098         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43099         * elf/dl-sym.c: Likewise.
43101 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43103         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43104         need to dereference resplen2.
43106 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43108         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43110 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43112         * Makeconfig: Define vardbdir and inst_vardbdir.
43113         * nss/Makefile: Add rules to install db-Makefile.
43115         * nss/nss_db/db-XXX.c: Cleanup.
43117         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43118         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43119         GLIBC_PRIVATE.
43120         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43121         * nss/makedb.c: Implement -g option to specify that value strings
43122         are generated and should not be added to table iterated over for
43123         get*ent calls.
43124         * nss/nss_db/db-initgroups.c: New file.
43126         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43127         interface.
43129         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43130         (internal_getgrouplist): Adjust to name change.
43131         Update use_initgroups_entry if this is not the first call.
43132         * nss/databases.def: Add initgroups entry.
43134         * nss/makedb.c (compute_tables): Check result of multiple hash table
43135         sizes to minimize maximum chain length.
43137 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43139         * Versions.def: Add entry for libnss_db.
43140         * shlib-versions: Likewise.
43141         * nss/Makefile: Add rules to build libnss_db.
43142         * nss/Versions: Add libnss_db information.  Organize libnss_files
43143         entries better.
43144         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43145         makedb progra.  Some minor improvements to generate smaller files.
43146         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43147         here from...
43148         * nss/makedb.c: ...here.
43149         Improve database format to be smaller and require less memory at
43150         runtime.
43151         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43152         db anymore.
43153         * nss/nss_db/db-netgrp.c: Likewise.
43154         * nss/nss_db/db-open.c: Likewise.
43155         * nss/nss_files/flies-XXX.x: Adjust comments.
43156         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43157         * nss/nss_files/files-grp.c: Likewise.
43158         * nss/nss_files/files-hosts.c: Likewise.
43159         * nss/nss_files/files-network.c: Likewise.
43160         * nss/nss_files/files-proto.c: Likewise.
43161         * nss/nss_files/files-pwd.c: Likewise.
43162         * nss/nss_files/files-rpc.c: Likewise.
43163         * nss/nss_files/files-service.c: Likewise.
43164         * nss/nss_files/files-sgrp.c: Likewise.
43165         * nss/nss_files/files-spwd.c: Likewise.
43166         * nss/nss_db/db-alias.c: Removed.
43167         * nss/nss_db/dummy-db.h: Removed.
43169 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43171         * nss/makedb.c: Rewritten to not use database library.
43172         * nss/Makefile: Update to build new makedb program.
43174 2011-06-14  Andreas Jaeger  <aj@suse.de>
43176         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43177         memset declaration.
43179 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43182         tmpbuf.
43184 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43186         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43187         * elf/Makefile ($(objpfx)ld.so): Likewise.
43189         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43190         Don't list ld.so twice in dependencies.
43192         * posix/bug-regex31.c: Include <stdlib.h>.
43194         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43196         * nis/nss_compat/compat-spwd.c
43197         (getspent_next_nss_netgr): Remove unused variable.
43198         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43200         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43201         nonmembers" output to use the right array.
43203         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43205         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43207         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43208         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43209         * catgets/gencat.c (read_input_file): Likewise.
43210         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43212         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43213         variable definition inside #if's controlling its use.
43215         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43217         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43219         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43221         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43222         unreachable code.
43224         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43226         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43227         * configure: Regenerated.
43229         * Makerules: Revert last change.
43230         * elf/Makefile: Likewise.
43232 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43234         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43235         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43236         (reloc-link): Likewise.
43238 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43240         * elf/Makefile: Add rules to build pldd.
43241         * elf/pldd.c: New file.
43242         * elf/pldd-xx.c: New file.
43244 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43246         * version.h: Update for 2.15 development version.
43248 2011-06-07  David S. Miller  <davem@davemloft.net>
43250         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43251         ifuncs.
43252         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43253         elf_machine_lazy_rel): Likewise.
43254         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43255         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43256         elf_machine_lazy_rel): Likewise.
43257         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43258         dl_hwcap via passed in argument.
43259         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43260         Likewise.
43262 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43264         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43266 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43268         [BZ #12849]
43269         * manual/fdl-1.1.texi: New file, verbatim from:
43270         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43271         * manual/lgpl-2.1.texi: New file, verbatim from:
43272         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43273         * manual/Makefile (licenses): New variable, list those new file names.
43274         (texis): Use it.
43275         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43277         * manual/fdl.texi: File removed.
43278         * manual/lesser.texi: File removed.
43279         * manual/libc.texinfo (Copying, Documentation License):
43280         Use new @include file names, put @appendix directive before @include.
43282 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43284         [BZ #12841]
43285         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43286         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43287         (mq_open): Add __NTH.
43289 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43292         Assume Intel Core i3/i5/i7 processor if AVX is available.
43294 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43297         typo.
43299 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43301         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43302         memory.  Use alloca_account.  Fix memory leak when retrying.
43304 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43306         * version.h (RELEASE): Bump for 2.14 release.
43307         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43309         * config.make.in (RANLIB): Remove entry.
43311 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43313         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43314         (libc.pot): Work around missing support for .ksh extension in xgettext.
43316         [BZ #12684]
43317         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43318         if both request failed.
43319         (send_dg): In case of server errors clear resplen or *resplen2.
43321         [BZ #12454]
43322         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43323         when there are multiple maps.
43324         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43325         (_dl_fini): Remove test here.
43327         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43329 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43331         [BZ #12350]
43332         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43333         bit from old_res_options.
43334         (gaih_inet): Likewise.
43336         [BZ #11099]
43337         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43338         as signed.
43340         * resolv/res_init.c (res_setoptions): Make the code more compact.
43342         [BZ #11558]
43343         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43344         set RES_USEVC.
43346         [BZ #11634]
43347         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43349         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43351         [BZ #11781]
43352         * malloc/malloc.h: Declare malloc hook variables as volatile.
43354         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43355         in last patch.
43357         [BZ #11799]
43358         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43359         raise in the comment.
43360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43361         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43362         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43364 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43366         [BZ #12811]
43367         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43368         grow the buffers more if it already has to be sufficient.
43369         (build_wcs_upper_buffer): Likewise.
43370         * posix/regexec.c (check_matching): Likewise.
43371         (clean_state_log_if_needed): Likewise.
43372         (extend_buffers): Don't enlarge buffers beyond size of the input
43373         buffer.
43374         Patches mostly by Emil Wojak <emil@wojak.eu>.
43375         * posix/bug-regex32.c: New file.
43376         * posix/Makefile (tests): Add bug-regex32.
43378         * locale/findlocale.c (_nl_find_locale): Return right away if
43379         _nl_explode_name failed.
43380         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43382         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43384         * debug/xtrace.sh: Unify messages.
43385         * malloc/memusage.sh: Likewise.
43387         [BZ #12813]
43388         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43389         time symbol from vDSO.  Substitute with vsyscall if not available.
43390         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43391         __vdso_time.
43393         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43394         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43395         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43396         Add sendmmsg and internal_sendmmsg.
43397         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43398         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43399         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43401         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43402         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43403         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43405 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43407         [BZ #12813]
43408         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43409         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43410         available.
43411         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43412         __vdso_getcpu.
43414         [BZ #12814]
43415         * iconvdata/Makefile (tests): Add bug-iconv9.
43416         * iconvdata/bug-iconv9.c: New file.
43418 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43420         [BZ #12814]
43421         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43423 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43426         (struct user_regs_struct): Change intcs field back to cs.
43428 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43430         * po/ja.po: Update from translation team.
43432 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43434         [BZ #12795]
43435         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43436         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43438 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43440         * stdlib/longlong.h: Update from GCC.
43442 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43444         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43445         parameter name.
43446         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43447         Add parameter name.
43448         (__sysconf): Pass it down.
43450 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43452         [BZ #12671]
43453         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43454         some situations.
43455         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43456         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43457         add in in __libc_use_alloca calls.  Adjust callers.
43458         (glob): Use malloc in some situations.
43460         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43461         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43462         pltexit.
43464 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43466         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43467         and CLOCK_BOOTTIME_ALARM.
43469         [BZ #12782]
43470         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43471         is returned.
43473         * string/_strerror.c (__strerror_r): Print negative errors as signed
43474         numbers.
43476         [BZ #12777]
43477         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43478         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43479         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43481         * configure.in: Fix typo in redirection and correct removal of test
43482         files in two cases.
43484         [BZ #12788]
43485         * locale/setlocale.c (new_composite_name): Fix test to check for
43486         identical name of all categories.
43488         [BZ #12792]
43489         * libio/filedoalloc.c (local_isatty): New function.
43490         (_IO_file_doallocate): Use local_isatty.
43491         * stdio-common/perror.c (perror): In case a new stream is used
43492         forward the stream error.
43493         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43494         error flag.
43496 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43498         [BZ #11869]
43499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43500         alloca.
43501         * include/alloca.h (extend_alloca_account): Define.
43503         [BZ #11857]
43504         * posix/regex.h: Fix comments with documentation of user-accessible
43505         fields after compilation and describe correct free'ing of pattern
43506         after re_compile_pattern.
43507         Patch by Reuben Thomas <rrt@sc3d.org>.
43509 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43511         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43512         and -mno-altivec to prevent the compiler from using Altivec and/or
43513         VSX instructions when the corresponding registers are not available.
43515 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43517         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43519 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43521         * libio/freopen.c (freopen): Use __dup2, not dup2.
43522         * libio/freopen64.c (freopen64): Likewise.
43524 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43526         [BZ #12775]
43527         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43528         * math/Makefile (tests): Add test-powl.
43529         (CFLAGS-test-powl.c): Define.
43530         * math/test-powl.c: New file.
43532 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43534         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43536 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43538         [BZ #11837]
43539         * iconvdata/gb18030.c: Update to GB18020-2005.
43541 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43543         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43544         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43545         Patch by Aharon Robbins <arnold@skeeve.com>.
43547         [BZ #11892]
43548         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43549         on the stack.
43551         [BZ #11895]
43552         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43553         through underflows.
43555         [BZ #12766]
43556         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43557         point to strings before performing equality test for error_one_per_line
43558         mode.
43560         [BZ #11697]
43561         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43563         [BZ #11820]
43564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43565         (struct user_fpregs_struct): Avoid __uint*_t types.
43567         [BZ #6420]
43568         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43569         symbol info.  Use it instead of calling _dl_addr locally.
43570         (lock_and_info): New function.
43571         (tr_freehook): Call lock_and_info and pass symbol info as additional
43572         parameter to tr_where.
43573         (tr_mallochook): Likewise.
43574         (tr_reallochook): Likewise.
43575         (tr_memalignhook): Likewise.
43577         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43578         used and couldn't be at all thread-safe.
43580 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43582         * libio/freopen.c (freopen): Don't close old file descriptor
43583         before the new one is opened.  Instead dup the new file descriptor
43584         to the old one after the new stream is created.
43585         * libio/freopen64.c (freopen64): Likewise.
43586         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43587         * libio/fileops.c (_IO_new_file_close_it): Handle new
43588         _IO_FLAGS2_NOCLOSE flag.
43589         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43590         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43591         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43592         _IO_FLAGS2_NOCLOSE flag.
43593         * include/unistd.h: Add hidden_proto for dup3.
43594         Define __have_dup3.
43595         * io/dup3.c: Define hidden symbol.
43596         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43598         [BZ #7101]
43599         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43600         when an incomplete long option is used.
43601         * posix/tst-getopt_long1.c: New file.
43602         * posix/Makefile (tests): Add tst-getopt_long1.
43604         [BZ #10138]
43605         * scripts/config.guess: Update from autoconf-2.68.
43606         * scripts/config.sub: Likewise.
43608         [BZ #10157]
43609         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43610         tests into ...
43611         (has_cpuclock): ...this.  New function.
43612         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43613         macro here based on has_cpuclock code.
43615         [BZ #10149]
43616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43617         First byte (not low byte) is now always NUL.
43618         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43621         Use non-cancelable interfaces.
43623         [BZ #9809]
43624         * locale/iso-639.def: Add entry for Sorani.
43626         [BZ #11901]
43627         * include/stdlib.h: Move include protection to the right place.
43628         Define abort_msg_s.  Declare __abort_msg with it.
43629         * stdlib/abort.c (__abort_msg): Adjust type.
43630         * assert/assert.c (__assert_fail_base): New function.  Majority
43631         of code from __assert_fail.  Allocate memory for __abort_msg with
43632         mmap.
43633         (__assert_fail): Now call __assert_fail_base.
43634         * assert/assert-perr.c: Remove bulk of implementation.  Use
43635         __assert_fail_base.
43636         * include/assert.hL Declare __assert_fail_base.
43637         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43638         mmap.
43639         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43641 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43643         [BZ #11952]
43644         [BZ #12453]
43645         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43646         until all modules are registered in the DTV.
43647         * elf/Makefile: Add rules to build and run tst-tls19.
43648         * elf/tst-tls19.c: New file.
43649         * elf/tst-tls19mod1.c: New file.
43650         * elf/tst-tls19mod2.c: New file.
43651         * elf/tst-tls19mod3.c: New file.
43652         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43654         [BZ #12083]
43655         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43656         correctly.
43658         [BZ #12601]
43659         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43660         two-byte sequence errors.
43661         * iconvdata/Makefile (tests): Add bug-iconv8.
43662         * iconvdata/bug-iconv8.c: New file.
43664         [BZ #12626]
43665         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43666         buf2 definition.
43668         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43670         [BZ #12432]
43671         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43672         (dummy_getcfa): New function.
43673         (init): Get _Unwind_GetCFA address, use dummy if not found.
43674         (backtrace_helper): In recursion check, also check whether CFA changes.
43675         (__backtrace): Completely initialize arg.
43677         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43678         storing incomplete byte sequence in state object.  Avoid testing for
43679         guaranteed too small input if we know there is enough data available.
43681 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43683         * Makeconfig (+link-pie): Indent.
43684         * Rules (binaries-pie): Define if $(have-fpie) and
43685         $(build-shared).
43686         (binaries-shared): Also filter out $(binaries-pie).
43687         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43688         * nscd/Makefile (others-pie): Add nscd.
43689         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43690         ($(objpfx)nscd): Remove command override.
43691         * login/Makefile (others-pie): Add pt_chown.
43692         ($(objpfx)pt_chown): Remove command override.
43693         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43694         remove command overrides.
43696 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43698         * libio/tst_putwc.c: Fix error messages.
43700         [BZ #12724]
43701         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43702         currently writing and seek to current position when not.
43703         * libio/Makefile (tests): Add bug-fclose1.
43704         * libio/bug-fclose1.c: New file.
43706 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43708         [BZ #12511]
43709         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43710         don't set DF_1_NODELETE here.
43711         (do_lookup_x): When entering new entry test for copy relocation
43712         and if necessary set DF_1_NODELETE flag.
43713         * elf/tst-unique4.cc: New file.
43714         * elf/tst-unique4.h: New file.
43715         * elf/tst-unique4lib.cc: New file.
43716         * elf/Makefile: Add rules to build and run tst-unique4.
43717         Patch by Piotr Bury <pbury@goahead.com>.
43719 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43721         [BZ #12052]
43722         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43724         [BZ #12625]
43725         * misc/mntent_r.c (addmntent): Flush the stream after the output
43727         [BZ #12393]
43728         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43729         (is_trusted_path_normalize): Skip initial colon.  Append slash
43730         to empty buffer.  Duplicate is_trusted_path code but allow
43731         constructed patch to be prefix.
43732         (is_dst): Allow $ORIGIN followed by /.
43733         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43734         Correct testing of result of is_trusted_path_normalize
43735         (decompose_rpath): Fix warning.
43737 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43739         [BZ #11257]
43740         * grp/initgroups.c (internal_getgrouplist): When we found the service
43741         list through the initgroups entry in nsswitch.conf do not always
43742         continue on a successful lookup.  Don't always use the
43743         __nss_group_database value if it is set.
43744         * nss/nsswitch.conf (initgroups): Change action for successful db
43745         lookup to continue for compatibility.
43747 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43749         [BZ #11532]
43750         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43751         and CP774 modules.
43752         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43753         and CP774 modules.
43754         * iconvdata/tst-tables.sh: Likewise.
43755         * iconvdata/cp770.c: New file.
43756         * iconvdata/cp771.c: New file.
43757         * iconvdata/cp772.c: New file.
43758         * iconvdata/cp773.c: New file.
43759         * iconvdata/cp774.c: New file.
43760         * iconvdata/testdata/CP770: New file.
43761         * iconvdata/testdata/CP770..UTF8: New file.
43762         * iconvdata/testdata/CP771: New file.
43763         * iconvdata/testdata/CP771..UTF8: New file.
43764         * iconvdata/testdata/CP772: New file.
43765         * iconvdata/testdata/CP772..UTF8: New file.
43766         * iconvdata/testdata/CP773: New file.
43767         * iconvdata/testdata/CP773..UTF8: New file.
43768         * iconvdata/testdata/CP774: New file.
43769         * iconvdata/testdata/CP774..UTF8: New file.
43771         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43772         END CHARMAP line.
43773         * iconvdata/gen-8bit-gap.sh: Likewise.
43774         * iconvdata/gen-8bit.sh: Likewise.
43776         * locale/iso-639.def: Add ary entry.
43778         [BZ #11258]
43779         * locale/C-translit.h.in: Add U20A1 transliteration.
43781         [BZ #12178]
43782         * locale/iso-639.def: Add wae entry.
43783         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43785         [BZ #12545]
43786         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43787         for n.
43789         [BZ #12711]
43790         * locale/C-translit.h.in: Add entry for U20B9.
43791         Patch by pravin.d.s@gmail.com.
43793 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43795         [BZ #12713]
43796         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43797         ENAMETOOLONG use generic getcwd.
43798         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43799         in rtld.  Use *stat64.
43800         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43801         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43802         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43803         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43804         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43805         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43806         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43807         __fstatat64 macros.
43808         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43809         * dirent/rewinddir.c: Add libc_hidden_def.
43810         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43811         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43813         * include/dirent.h (__alloc_dir): Add flags parameter.
43814         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43815         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43816         __alloc_dir.
43817         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43818         from fdopendir if O_CLOEXEC is already set.
43820 2011-03-15  Alan Modra  <amodra@gmail.com>
43822         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43823         l_tls_firstbyte_offset non-zero.  Save padding offset in
43824         l_tls_firstbyte_offset for later use.
43825         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43826         freeing static tls block.
43828 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43830         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43831         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43832         being defined by the kernel headers.
43834 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43836         [BZ #12734]
43837         * resolv/resolv.h: Define RES_NOTLDQUERY.
43838         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43839         no-tld-query and set RES_NOTLDQUERY.
43840         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43841         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43842         modern BIND to search name as TLD unless forbidden.
43844 2011-05-07  Petr Baudis  <pasky@suse.cz>
43845             Ulrich Drepper  <drepper@gmail.com>
43847         [BZ #12393]
43848         * elf/dl-load.c (fillin_rpath): Move trusted path check...
43849         (is_trusted_path): ...to here.
43850         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43851         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43852         using is_trusted_path_normalize() in setuid scripts.
43854 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43856         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43857         __BEGIN/__END_DECLS.
43859 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43862         NSS_STATUS_NOTFOUND if no record was found.
43864 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43866         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43867         (headers-not-in-tirpc): Remove rpc/netdb.h
43868         * resolv/netdb.h: Revert last change.
43870 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43872         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43873         circular dependency between libgcc.a and libc.a.
43875 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43877         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43878         * nis/Makefile: Don't install rpcsvc/*.
43879         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43880         instead of <rpc/types.h>.
43881         (MAXHOSTNAMELEN): Define.
43883 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43885         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43887 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43889         [BZ #12714]
43890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43891         gethostbyname4_r when IPv6 results are possible.
43893 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43895         [BZ #12723]
43896         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43897         _PC_PIPE_BUF handling.
43899 2011-04-30  Bruno Haible  <bruno@clisp.org>
43901         [BZ #12717]
43902         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43903         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43904         to 'int'.
43905         * inet/getnameinfo.c (getnameinfo): Likewise.
43907 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43909         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43910         to groups setting in database lookup.
43911         * nss/nsswitch.conf: Add initgroups entry.
43913 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43915         [BZ #12685]
43916         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43917         mode string.
43918         Patch by Eric Blake <eblake@redhat.com>.
43920 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43922         * sunrpc/Makefile (need-export-routines): Add svc_run.
43923         (routines): Remove svc_run.
43924         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43925         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43926         * sunrpc/svc_run.c (svc_run): Likewise.
43927         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43929 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43931         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43932         problem in reallocation in last patch.
43934 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43936         * sunrpc/Makefile: Move inclusion of Rules.
43938 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43940         * nss/nss_files/files-initgroups.c: New file.
43941         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43942         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43943         _nss_files_initgroups_dyn.
43945 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43947         * elf/elf.h (R_ARM_IRELATIVE): Define.
43949 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43951         * po/ru.po: Update from translation team.
43953 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43955         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43956         dependencies.
43958 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43960         [BZ #12653]
43961         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43962         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43964         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43965         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43967 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43969         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43970         differing bytes.
43971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43975 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43977         [BZ #12420]
43978         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43979         storing it.
43980         * stdlib/bug-getcontext.c: New file.
43981         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43983 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43985         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43986         instructions into .machine "z9-109".
43987         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43988         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43990 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43992         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43993         between environment variables and auxiliary vector.
43995 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43997         * Makefile: Add rules to build linkobj/libc.so.
43998         * include/libc-symbols.h: Define libc_hidden_nolink.
43999         * include/rpc/auth.h: Mark functions which are to be hidden.
44000         * include/rpc/auth_des.h: Likewise.
44001         * include/rpc/auth_unix.h: Likewise.
44002         * include/rpc/clnt.h: Likewise.
44003         * include/rpc/des_crypt.h: Likewise.
44004         * include/rpc/key_prot.h: Likewise.
44005         * include/rpc/pmap_clnt.h: Likewise.
44006         * include/rpc/pmap_prot.h: Likewise.
44007         * include/rpc/pmap_rmt.h: Likewise.
44008         * include/rpc/rpc_msg.h: Likewise.
44009         * include/rpc/svc.h: Likewise.
44010         * include/rpc/svc_auth.h: Likewise.
44011         * include/rpc/xdr.h: Likewise.
44012         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44013         * nss/Makefile: Likewise.
44014         * sunrpc/Makefile: Don't install headers.  Build library with normal
44015         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44016         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44017         for the compat linking library.  Remove use of INTDEF/INTUSE.
44018         * sunrpc/auth_none.c: Likewise.
44019         * sunrpc/auth_unix.c: Likewise.
44020         * sunrpc/authdes_prot.c: Likewise.
44021         * sunrpc/authuxprot.c: Likewise.
44022         * sunrpc/clnt_gen.c: Likewise.
44023         * sunrpc/clnt_perr.c: Likewise.
44024         * sunrpc/clnt_raw.c: Likewise.
44025         * sunrpc/clnt_simp.c: Likewise.
44026         * sunrpc/clnt_tcp.c: Likewise.
44027         * sunrpc/clnt_udp.c: Likewise.
44028         * sunrpc/clnt_unix.c: Likewise.
44029         * sunrpc/des_crypt.c: Likewise.
44030         * sunrpc/des_soft.c: Likewise.
44031         * sunrpc/get_myaddr.c: Likewise.
44032         * sunrpc/key_call.c: Likewise.
44033         * sunrpc/key_prot.c: Likewise.
44034         * sunrpc/netname.c: Likewise.
44035         * sunrpc/pm_getmaps.c: Likewise.
44036         * sunrpc/pm_getport.c: Likewise.
44037         * sunrpc/pmap_clnt.c: Likewise.
44038         * sunrpc/pmap_prot.c: Likewise.
44039         * sunrpc/pmap_prot2.c: Likewise.
44040         * sunrpc/pmap_rmt.c: Likewise.
44041         * sunrpc/publickey.c: Likewise.
44042         * sunrpc/rpc_cmsg.c: Likewise.
44043         * sunrpc/rpc_common.c: Likewise.
44044         * sunrpc/rpc_dtable.c: Likewise.
44045         * sunrpc/rpc_prot.c: Likewise.
44046         * sunrpc/rpc_thread.c: Likewise.
44047         * sunrpc/rtime.c: Likewise.
44048         * sunrpc/svc.c: Likewise.
44049         * sunrpc/svc_auth.c: Likewise.
44050         * sunrpc/svc_authux.c: Likewise.
44051         * sunrpc/svc_raw.c: Likewise.
44052         * sunrpc/svc_run.c: Likewise.
44053         * sunrpc/svc_simple.c: Likewise.
44054         * sunrpc/svc_tcp.c: Likewise.
44055         * sunrpc/svc_udp.c: Likewise.
44056         * sunrpc/svc_unix.c: Likewise.
44057         * sunrpc/svcauth_des.c: Likewise.
44058         * sunrpc/xcrypt.c: Likewise.
44059         * sunrpc/xdr.c: Likewise.
44060         * sunrpc/xdr_array.c: Likewise.
44061         * sunrpc/xdr_float.c: Likewise.
44062         * sunrpc/xdr_intXX_t.c: Likewise.
44063         * sunrpc/xdr_mem.c: Likewise.
44064         * sunrpc/xdr_rec.c: Likewise.
44065         * sunrpc/xdr_ref.c: Likewise.
44066         * sunrpc/xdr_sizeof.c: Likewise.
44067         * sunrpc/xdr_stdio.c: Likewise.
44069 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44071         [BZ #12650]
44072         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44073         * sysdeps/ia64/dl-tls.h: Likewise.
44074         * sysdeps/powerpc/dl-tls.h: Likewise.
44075         * sysdeps/s390/dl-tls.h: Likewise.
44076         * sysdeps/sh/dl-tls.h: Likewise.
44077         * sysdeps/sparc/dl-tls.h: Likewise.
44078         * sysdeps/x86_64/dl-tls.h: Likewise.
44079         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44081 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44083         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44084         rpath element also skip the following colon.
44085         (expand_dynamic_string_token): Add is_path parameter and pass
44086         down to DL_DST_REQUIRED and _dl_dst_substitute.
44087         (decompose_rpath): Call expand_dynamic_string_token with
44088         non-zero is_path.  Ignore empty rpaths.
44089         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44090         with zero is_path.
44092 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44095         Make cancelable.
44097 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44099         [BZ #12655]
44100         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44101         Patch by Filipe David Manana <fdmanana@apache.org>.
44103 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44106         Maintain aligned stack.
44107         (CHECK_RSP): Remove unused macro.
44109 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44111         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44112         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44114 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44116         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44118         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44120 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44122         [BZ #12518]
44123         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44124         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44125         * sysdeps/x86_64/memmove.c: New file.
44126         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44127         (memcpy): Renamed to ...
44128         (__new_memcpy): This.
44129         (memcpy): Provide GLIBC_2_14 memcpy.
44130         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44131         (memcpy): Provide GLIBC_2_2_5 memcpy.
44133 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44135         [BZ #12631]
44136         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44138 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44140         * misc/syncfs.c: New file.
44141         * misc/Makefile (routines): Add syncfs.
44142         * posix/unistd.h: Declare syncfs.
44143         * sysdeps/unix/syscalls.list: Add syncfs.
44145 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44147         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44148         open_by_handle_at.
44149         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44150         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44154         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44155         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44157 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44159         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44160         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44161         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44162         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44163         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44165         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44167         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44168         sync_file_range.c with -fexceptions.
44169         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44170         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44171         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44172         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44173         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44174         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44176         sync_file_range as cancellation point
44177         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44178         now a wrapper around __call_sync_file_range with cancellation handling.
44179         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44180         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44181         function name to __call_sync_file_range.
44182         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44183         Add call_sync_file_range.
44185 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44188         bits/timex.h.
44190 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44192         * iconv/iconv.h: Fix typo in comment.
44193         * io/fcntl.h: Likewise.
44194         * libio/stdio.h: Likewise.
44195         * posix/spawn.h: Likewise.
44196         * posix/unistd.h: Likewise.
44197         * stdlib/stdlib.h: Likewise.
44198         * time/time.h: Likewise.
44199         * wcsmbs/wchar.h: Likewise.
44201         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44202         open_by_handle): Add.
44203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44204         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44205         Augment a few comments.
44206         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44207         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44210         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44211         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44212         open_by_handle.
44214         * io/fcntl.h (AT_EMPTY_PATH): Define.
44216 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44218         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44219         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44220         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44221         to...
44222         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44223         * Versions.def: Add GLIBC_2.14.
44224         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44225         Export.
44227 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44229         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44230         round counter.
44231         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44233 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44235         [BZ #12597]
44236         * string/test-strncmp.c (do_page_test): New function.
44237         (check2): Likewise.
44238         (test_main): Call check2.
44239         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44241 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44243         [BZ #12587]
44244         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44245         Handle cache information in CPU leaf 4.
44246         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44248 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44250         [BZ #12583]
44251         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44252         character representation.
44253         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44255 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44257         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44258         END(__isnan) to END(__isnanf) to match function entry point/label
44259         EALIGN(__isnanf,...).
44261 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44263         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44265 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44267         [BZ #12510]
44268         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44269         copy from the symbol referenced in the relocation to initialize the
44270         used variable.
44271         Patch by Piotr Bury <pbury@goahead.com>.
44272         * elf/Makefile: Add rules to build and tst-unique3.
44273         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44274         * elf/tst-unique3.cc: New file.
44275         * elf/tst-unique3.h: New file.
44276         * elf/tst-unique3lib.cc: New file.
44277         * elf/tst-unique3lib2.cc: New file.
44279         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44281 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44283         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44284         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44285         to _start.
44287 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44289         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44290         to-be-loaded object along a path to loader is ld.so.
44292 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44293             Ulrich Drepper  <drepper@gmail.com>
44295         * sysdeps/x86_64/memset.S: After aligning destination, code
44296         branches to different locations depending on the value of
44297         misalignment, when multiarch is enabled. Fix this.
44299 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44301         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44302         Set _x86_64_preferred_memory_instruction for AMD processsors.
44303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44304         Set bit_Prefer_SSE_for_memop for AMD processors.
44306 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44308         * libio/fmemopen.c (fmemopen): Optimize a bit.
44310 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44312         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44314 2011-03-03  Roland McGrath  <roland@redhat.com>
44316         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44318 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44320         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44321         __bzero_ultra1 instead of __memset_ultra1.
44323 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44324             Ulrich Drepper  <drepper@gmail.com>
44326         [BZ #12509]
44327         * include/link.h (struct link_map): Add l_orig_initfini.
44328         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44329         returning unsuccessfully.
44330         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44331         close of a file loaded at startup, restore the original l_initfini
44332         list.
44333         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44334         list, store the pointer.
44335         * elf/Makefile ($(objpfx)noload-mem): New rule.
44336         (noload-ENV): Define.
44337         (tests): Add $(objpfx)noload-mem.
44338         * elf/noload.c: Include <memcheck.h>.
44339         (main): Call mtrace.  Close all opened handles.
44341 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44343         [BZ #12454]
44344         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44345         dependencies are missing.
44347 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44349         Fix __if_freereq crash: Unlike the generic version which uses free,
44350         Hurd needs munmap.
44351         * sysdeps/mach/hurd/ifreq.h: New file.
44353 2011-01-27  Petr Baudis  <pasky@suse.cz>
44354             Ulrich Drepper  <drepper@gmail.com>
44356         [BZ 12445]#
44357         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44358         to extend_alloca().
44359         * stdio-common/bug23.c: New file.
44360         * stdio-common/Makefile (tests): Add bug23.
44362 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44363             Ulrich Drepper  <drepper@gmail.com>
44365         [BZ #12489]
44366         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44367         before performing relro protection.  At old place add assertion
44368         to make sure nothing changed.
44370 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44371             Glauber de Oliveira Costa  <glommer@gmail.com>
44373         * elf/elf.h: Add new ARM TLS relocs.
44375 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44378         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44379         cast from r3.
44380         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44381         'tests' variable.
44382         * sysdeps/wordsize-64/tst-writev.c: New file.
44384 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44386         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44387         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44388         insns in _dl_start to prevent a TOC reference before relocs are
44389         resolved.
44391 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44393         [BZ #12469]
44394         * Makeconfig: Remove RANLIB definition.
44395         * Makerules: Don't use RANLIB.
44396         * aclocal.m4: Remove ranlib test.
44397         * configure.in: No need to check for ranlib.
44398         * elf/rtld-Rules: Don't use RANLIB.
44400 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44402         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44403         protection macro.
44404         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44405         inclusion protection macro.
44407         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44408         SIGRTMIN and SIGRTMAX and print information in that case only when
44409         SIGRTMIN is defined.
44411 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44413         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44414         arginfo fn returning -1.
44416         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44417         and thousands string is zero terminated.
44419 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44421         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44422         sysdeps/unix/sysv/linux/bits/socket.h.
44424 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44426         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44427         (__CPU_COUNT): Remove old macros.
44428         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44429         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44430         (__CPU_ALLOC, __CPU_FREE): Add macros.
44431         (__sched_cpualloc, __sched_cpufree): Add declarations.
44433 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44435         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44436         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44437         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44438         (readdhstai): Return value of addhstaiX call.
44439         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44440         (addgrbyX): Return value returned by cache_addgr.
44441         (readdgrbyname): Return value returned by addgrbyX.
44442         (readdgrbygid): Likewise.
44443         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44444         (addpwbyX): Return value returned by cache_addpw.
44445         (readdpwbyname): Return value returned by addhstbyX.
44446         (readdpwbyuid): Likewise.
44447         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44448         (addservbyX): Return value returned by cache_addserv.
44449         (readdservbyname): Return value returned by addservbyX:
44450         (readdservbyport): Likewise.
44451         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44452         (addhstbyX): Return value returned by cache_addhst.
44453         (readdhstbyname): Return value returned by addhstbyX.
44454         (readdhstbyaddr): Likewise.
44455         (readdhstbynamev6): Likewise.
44456         (readdhstbyaddrv6): Likewise.
44457         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44458         (readdinitgroups): Return value returned by addinitgroupsX.
44459         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44460         (prune_cache): Keep track of timeout value of re-added entries.
44461         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44462         * nscd/nscd.h: Adjust prototypes of readd* functions.
44464 2011-02-04  Roland McGrath  <roland@redhat.com>
44466         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44467         (nis_stats): Likewise.
44468         * nis/nis_modify.c (nis_modify): Likewise.
44469         * nis/nis_remove.c (nis_remove): Likewise.
44470         * nis/nis_add.c (nis_add): Likewise.
44472         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44474         * posix/fnmatch_loop.c: Add some consts.
44476         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44478 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44480         [BZ #12460]
44481         * config.make.in (config-cflags-novzeroupper): Define.
44482         * configure.in: Substitute libc_cv_cc_novzeroupper.
44483         * elf/Makefile (AVX-CFLAGS): Define.
44484         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44485         (CFLAGS-tst-auditmod4a.c): Likewise.
44486         (CFLAGS-tst-auditmod4b.c): Likewise.
44487         (CFLAGS-tst-auditmod6b.c): Likewise.
44488         (CFLAGS-tst-auditmod6c.c): Likewise.
44489         (CFLAGS-tst-auditmod7b.c): Likewise.
44490         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44492 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44494         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44495         function to the callback.
44496         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44498 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44500         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44501         of errno.
44503 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44505         [BZ #11724]
44506         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44507         of constructors.
44508         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44509         of destructors.
44510         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44512         [BZ #11724]
44513         * elf/Makefile: Add rules to build and run new test.
44514         * elf/tst-initorder.c: New file.
44515         * elf/tst-initorder.exp: New file.
44516         * elf/tst-initordera1.c: New file.
44517         * elf/tst-initordera2.c: New file.
44518         * elf/tst-initordera3.c: New file.
44519         * elf/tst-initordera4.c: New file.
44520         * elf/tst-initorderb1.c: New file.
44521         * elf/tst-initorderb2.c: New file.
44522         * elf/tst-order-a1.c: New file.
44523         * elf/tst-order-a2.c: New file.
44524         * elf/tst-order-a3.c: New file.
44525         * elf/tst-order-a4.c: New file.
44526         * elf/tst-order-b1.c: New file.
44527         * elf/tst-order-b2.c: New file.
44528         * elf/tst-order-main.c: New file.
44529         New test case by George Gensure <werkt0@gmail.com>.
44531 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44534         decoding ACE if AI_CANONIDN.
44536 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44538         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44540 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44542         * version.h (RELEASE): Bump for 2.13 release.
44543         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44545         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44547         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44548         MADV_NOHUGEPAGE.
44549         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44550         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44551         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44552         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44553         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44554         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44556         * posix/getconf.c: Update copyright year.
44557         * catgets/gencat.c: Likewise.
44558         * csu/version.c: Likewise.
44559         * debug/catchsegv.sh: Likewise.
44560         * debug/xtrace.sh: Likewise.
44561         * elf/ldconfig.c: Likewise.
44562         * elf/ldd.bash.in: Likewise.
44563         * elf/sprof.c (print_version): Likewise.
44564         * iconv/iconv_prog.c: Likewise.
44565         * iconv/iconvconfig.c: Likewise.
44566         * locale/programs/locale.c: Likewise.
44567         * locale/programs/localedef.c: Likewise.
44568         * malloc/memusage.sh: Likewise.
44569         * malloc/mtrace.pl: Likewise.
44570         * nscd/nscd.c (print_version): Likewise.
44571         * nss/getent.c: Likewise.
44573         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44574         PF_CAIF, and PF_ALG.
44575         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44577 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44579         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44580         (modules-names): Use them.
44581         (ifunc-test-modules, ifunc-pie-tests): Define.
44582         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44583         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44584         (test-extras): Likewise.
44585         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44586         $(compile-command.c).
44587         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44588         (all-built-dso): Define.
44589         (check-textrel.out, check-execstack.out): Depend on it.
44591         * configure.in: Don't override --enable-multi-arch.
44593 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44595         [BZ #6812]
44596         * nscd/hstcache.c (tryagain): Define.
44597         (cache_addhst): Return tryagain not notfound for temporary errors.
44598         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44599         failed.
44601 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44603         [BZ #10563]
44604         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44605         to make the syscall.
44606         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44608         [BZ #12378]
44609         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44610         and fall back to matching as normal character if the string ends before
44611         the matching ']' is found.  This is what POSIX requires.
44612         * posix/testfnm.c: Adjust test result.
44613         * posix/globtest.sh: Adjust test result.  Add new test.
44614         * posix/tst-fnmatch.input: Likewise.
44615         * posix/tst-fnmatch2.c: Add new test.
44617 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44619         * elf/Makefile (check-execstack): Revert last change.  Depend on
44620         check-execstack.h.
44621         (check-execstack.h): New target.
44622         (generated): Add check-execstack.h.
44623         * elf/check-execstack.c: Include "check-execstack.h".
44624         (main): Revert last change.
44625         (handle_file): Return zero if GNU_STACK is absent and
44626         DEFAULT_STACK_PERMS doesn't include PF_X.
44628 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44630         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44631         in child fails because the descriptor is already closed.
44632         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44633         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44634         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44636         [BZ #12397]
44637         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44638         syscall.
44640         [BZ #10484]
44641         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44642         temporary buffer used to handle multi lookups locally.
44643         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44645 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44647         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44648         loader is ld.so.
44650 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44652         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44653         alignment for SSE2.
44655 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44657         [BZ #12394]
44658         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44659         characters.  When rounding increased number of integer digits recompute
44660         number of groups.
44661         * stdio-common/tst-grouping.c: New file.
44662         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44664 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44666         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44667         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44669         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44670         void.
44671         * bits/select.h: Likewise.
44673 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44675         * po/ja.po: Update from translation team.
44677 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44679         [BZ #11155]
44680         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44681         implementation just like for lxstat, fxstatat, et al.
44683 2010-12-27  Jim Meyering  <meyering@redhat.com>
44685         [BZ #12348]
44686         * posix/regexec.c (build_trtable): Return failure indication upon
44687         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44689 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44691         [BZ #12201]
44692         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44693         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44694         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44695         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44697         [BZ #12207]
44698         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44700         [BZ #12204]
44701         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44702         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44704 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44706         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44707         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44708         script has SORT_BY_INIT_PRIORITY.
44709         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44710         NO_CTORS_DTORS_SECTIONS is defined.
44711         * elf/soinit.c: Likewise.
44712         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44713         NO_CTORS_DTORS_SECTIONS is defined.
44714         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44715         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44716         * sysdeps/sh/init-first.c: Likewise.
44717         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44719 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44721         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44722         always use the slow path.
44724 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44726         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44727         similar rule which adds the sysdep directories to the header search in
44728         order to pick up the correct platform stackinfo.h.
44729         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44730         perform test if it is, otherwise return successfully without testing.
44731         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44732         DEFAULT_STACK_PERMS define in stackinfo.h.
44733         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44734         defined in stackinfo.h.
44735         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44736         DEFAULT_STACK_PERMS defined in stackinfo.h.
44737         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44738         * sysdeps/ia64/stackinfo.h: Likewise.
44739         * sysdeps/s390/stackinfo.h: Likewise.
44740         * sysdeps/sh/stackinfo.h: Likewise.
44741         * sysdeps/sparc/stackinfo.h: Likewise.
44742         * sysdeps/x86_64/stackinfo.h: Likewise.
44743         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44744         PF_X for powerpc64.  Retain PF_X for powerpc32.
44746 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44748         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44749         accurately.
44750         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44751         GETDENTS_64BIT_ALIGNED.
44753 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44755         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44757 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44759         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44760         _GNU_SOURCE.
44762         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44763         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44764         Remove __restrict.
44765         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44766         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44768 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44770         [BZ #11655]
44771         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44772         are initialized.
44774 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44776         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44778 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44780         * po/it.po: Update from translation team.
44782 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44785         unused codes.
44787 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44789         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44791 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44793         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44794         specially.
44795         (gaih_getanswer_slice): Likewise.
44797 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44801 2010-05-31  Petr Baudis  <pasky@suse.cz>
44803         [BZ #11149]
44804         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44805         silently even in the chroot mode.
44807 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44809         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44810         last patch a bit.  Pretty printing
44812 2010-05-31  Petr Baudis <pasky@suse.cz>
44814         [BZ #10085]
44815         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44816         initialization of skip_initgroups_dyn.
44818 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44821         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44823 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44825         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44827 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44829         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44830         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44831         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44832         ($(objpfx)tst-fnmatch-mem): New rule.
44833         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44834         * posix/tst-fnmatch.c (main): Call mtrace.
44836 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
44838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44839         Support Intel processor model 6 and model 0x2c.
44841 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
44843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44844           signed comparison.
44846 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
44848         [BZ #12205]
44849         * string/test-strncasecmp.c (check_result): New function.
44850         (do_one_test): Use it.
44851         (check1): New function.
44852         (test_main): Use it.
44853         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44854         Support strcasecmp and strncasecmp.
44856 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44858         [BZ #12194]
44859         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44860         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44862 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44864         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44865         IFUNC support.
44866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44867         memset-x86-64.
44868         * sysdeps/x86_64/multiarch/bzero.S: New file.
44869         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44870         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44871         * sysdeps/x86_64/multiarch/memset.S: New file.
44872         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44874         Set bit_Prefer_SSE_for_memop for Intel processors.
44875         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44876         Define.
44877         (index_Prefer_SSE_for_memop): Define.
44878         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44880 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44883         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44885 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44887         [BZ #12191]
44888         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44889         (__x86_64_raw_data_cache_size_half): Likewise.
44890         (__x86_64_raw_shared_cache_size): Likewise.
44891         (__x86_64_raw_shared_cache_size_half): Likewise.
44893         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44894         (__x86_64_raw_data_cache_size_half): Likewise.
44895         (__x86_64_raw_shared_cache_size): Likewise.
44896         (__x86_64_raw_shared_cache_size_half): Likewise.
44897         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44898         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44899         and __x86_64_raw_shared_cache_size_half.  Round
44900         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44901         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44902         to multiple of 256 bytes.
44904 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44906         [BZ #12167]
44907         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44908         of inacessible symlinks.  Verify result of symlink before returning it.
44909         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44910         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44912 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44914         * math/math.h (isinf): Fix typo in comment.
44916 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44918         * po/da.po: Update from translation team.
44920 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44922         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44923         is added to the list.
44925 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44926             Ulrich Drepper  <drepper@gmail.com>
44928         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44929         the global list here.  Move code to...
44930         (_dl_add_to_namespace_list): ...here.  New function.
44931         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44932         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44933         * elf/dl-load.c (lose): Don't remove the element from the list.
44934         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44935         (_dl_map_object): Likewise.
44937 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44939         [BZ #12159]
44940         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44941         into all bytes of SSE register.
44942         Patch by Richard Li <richardpku@gmail.com>.
44944 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44946         [BZ #12140]
44947         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44948         perturbing.
44950 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44952         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44953         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44954         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44955         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44957         submachine.
44958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44960 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44962         * include/dlfcn.h (__RTLD_SECURE): Define.
44963         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44964         mode & __RTLD_SECURE instead.
44965         (open_path): Rename preloaded parameter to secure.
44966         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44967         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44968         * elf/dl-deps.c (openaux): Likewise.
44969         * elf/rtld.c (struct map_args): Remove is_preloaded.
44970         (map_doit): Don't use it.
44971         (dl_main): Likewise.
44972         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44973         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44975 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44977         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44978         (sysd-rules-targets): Remove duplicates.
44979         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44980         rtld-%.$o dependency.
44982 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44984         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44985         _dl_map_object do it.
44987 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44989         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44990         fast fma builtins, define the macros in the C99 standard.
44991         (FP_FAST_FMAF): Likewise.
44992         (FP_FAST_FMAL): Likewise.
44993         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44995         * bits/mathdef.h: Update copyright year.
44996         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44998 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45000         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45001         builtins, define the macros in the C99 standard.
45002         (FP_FAST_FMAF): Likewise.
45003         (FP_FAST_FMAL): Likewise.
45004         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45005         multiply/add.
45006         (FP_FAST_FMAF): Likewise.
45008 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45010         [BZ #3268]
45011         * math/libm-test.inc (fma_test): Some new testcases.
45012         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45013         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45014         y and infinite z.  Do multiplication by C already in long double.
45015         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45017         y and infinite z.  Do bitwise or of inexact bit into u.d.
45018         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45019         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45020         * sysdeps/i386/fpu/s_fma.S: Removed.
45021         * sysdeps/i386/fpu/s_fmal.S: Removed.
45023 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45025         [BZ #3268]
45026         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45028         computation is not scheduled after fetestexcept.  Fix value
45029         of minimum denormal long double.
45031 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45033         [BZ #3268]
45034         * math/libm-test.inc (fma_test): Add some more tests.
45035         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45036         correctly.
45038 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45040         * scripts/data/localplt-s390-linux-gnu.data: New file.
45041         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45043 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45045         [BZ #3268]
45046         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45047         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45048         instead of dbl-64.
45049         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45050         inlines.
45051         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45053         if one of x and y is very large and the other is subnormal.
45054         * sysdeps/s390/fpu/s_fmaf.c: New file.
45055         * sysdeps/s390/fpu/s_fma.c: New file.
45056         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45057         * sysdeps/powerpc/fpu/s_fma.S: New file.
45058         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45059         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45060         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45062 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45064         [BZ #3268]
45065         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45066         fma tests.
45067         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45068         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45069         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45070         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45071         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45072         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45075 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45077         [BZ #12078]
45078         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45079         * posix/bug-regex31.input: Add test case.
45081 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45083         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45084         * posix/bug-regex31.input: New file.
45086         [BZ #12078]
45087         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45088         (parse_sub_exp): Fix last change, use postorder.
45090         * posix/bug-regex31.c: New file.
45091         * posix/Makefile: Add rules to build and run bug-regex31.
45093         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45095         [BZ #12078]
45096         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45098         [BZ #12108]
45099         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45100         to have entries in sys_siglist.
45102         [BZ #12093]
45103         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45104         be NULL.
45106 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45108         [BZ #3268]
45109         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45110         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45111         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45112         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45113         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45114         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45115         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45116         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45117         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45118         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45119         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45120         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45121         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45122         * math/ftestexcept.c (fetestexcept): Likewise.
45123         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45124         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45125         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45126         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45127         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45128         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45129         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45131 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45133         [BZ #12107]
45134         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45135         newline.
45137 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45139         * string/bug-strstr1.c: New file.
45140         * string/Makefile: Add rules to build and run bug-strstr1.
45142 2010-10-05  Eric Blake  <eblake@redhat.com>
45144         [BZ #12092]
45145         * string/str-two-way.h (two_way_long_needle): Always clear memory
45146         when skipping input due to the shift table.
45148 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45150         [BZ #12005]
45151         * malloc/mcheck.c: Handle large requests.
45153         [BZ #12077]
45154         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45155         for strncmp and strncasecmp.
45156         * string/stratcliff.c: Add tests for strcmp and strncmp.
45157         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45159 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45161         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45162         __set_fpscr.
45164 2010-09-30  Andreas Jaeger  <aj@suse.de>
45166         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45167         (CGROUP_SUPER_MAGIC): Define.
45168         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45169         Handle btrfs and cgroup file systems.
45170         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45171         Likewise.
45173 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45175         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45176         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45178 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45180         [BZ #12067]
45181         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45182         trying to locate the ELF header.
45184 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45186         [BZ #11611]
45187         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45188         Mask out sign-bit copies when constructing f_fsid.
45190 2010-09-24  Petr Baudis <pasky@suse.cz>
45192         * debug/stack_chk_fail_local.c: Add missing licence exception.
45193         * debug/warning-nop.c: Likewise.
45195 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45197         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45198         implementing getdents64 using getdents syscall, set d_type if
45199         __ASSUME_GETDENTS32_D_TYPE.
45201 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45203         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45204         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45206 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45208         [BZ #12037]
45209         * posix/unistd.h: Undo change of feature selection for ftruncate from
45210         2010-01-11.
45212 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45214         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45215         detection.
45217 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45219         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45220         fanotify_mark.
45221         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45223 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45225         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45226         variables after CHECK_SP call.
45227         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45229 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45230             Ulrich Drepper  <drepper@redhat.com>
45232         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45233         re-relocationg ld.so.
45234         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45235         _dl_init_paths call.
45236         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45237         here anymore.
45239 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45241         * resolv/res_init.c (__res_vinit): Count the default server we added.
45243 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45244             Ulrich Drepper  <drepper@redhat.com>
45246         [BZ #11968]
45247         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45248         (____longjmp_chk): Use %ebx for saving value across system call.
45249         Add unwind info.
45251 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45253         * manual/Makefile: Don't mix pattern rules with normal rules.
45255 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45257         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45258         operation.
45259         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45260         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45261         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45262         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45263         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45264         Likewise.
45266 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45268         [BZ #11979]
45269         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45270         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45272 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45274         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45275         * sysdeps/x86_64/addmul_1.S: Likewise.
45276         * sysdeps/x86_64/lshift.S: Likewise.
45277         * sysdeps/x86_64/mul_1.S: Likewise.
45278         * sysdeps/x86_64/rshift.S: Likewise.
45279         * sysdeps/x86_64/sub_n.S: Likewise.
45280         * sysdeps/x86_64/submul_1.S: Likewise.
45282 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45284         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45285         Define __sched_param instead of SCHED_* and sched_param when
45286         <bits/sched.h> is included with __need_schedparam defined.
45287         * bits/sched.h [__need_schedparam]
45288         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45289         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45290         (__defined_schedparam): Define to 1.
45291         (__sched_param): New structure, identical to sched_param.
45292         (__need_schedparam): Undefine.
45294 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45296         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45297         (epoll_create1): Declare.
45299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45301 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45303         [BZ #7066]
45304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45305         shifting retval into place.
45307 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45309         * nis/rpcsvc/nis.h: Update copyright notice.
45310         * nis/rpcsvc/nis.x: Likewise.
45311         * nis/rpcsvc/nis_callback.h: Likewise.
45312         * nis/rpcsvc/nis_callback.x: Likewise.
45313         * nis/rpcsvc/nis_object.x: Likewise.
45314         * nis/rpcsvc/nis_tags.h: Likewise.
45315         * nis/rpcsvc/yp.h: Likewise.
45316         * nis/rpcsvc/yp.x: Likewise.
45317         * nis/rpcsvc/ypupd.h: Likewise.
45318         * nis/yp_xdr.c: Likewise.
45319         * nis/ypupdate_xdr.c: Likewise.
45321         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45322         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45323         (pmap_getport): Use __libc_rpc_getport.
45324         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45325         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45326         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45328 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45331         fanotify_mark.
45333 2010-08-27  Roland McGrath  <roland@redhat.com>
45335         * sysdeps/i386/i686/multiarch/Makefile
45336         (CFLAGS-varshift.c): New variable.
45338 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45340         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45341         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45343         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45345         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45347 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45349         * sysdeps/x86_64/strlen.S: Unroll the loop.
45350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45351         strlen-sse2 strlen-sse2-bsf.
45352         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45353         __strlen_no_bsf if bit_Slow_BSF is set.
45354         (__strlen_sse42): Removed.
45355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45356         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45358 2010-08-25  Roland McGrath  <roland@redhat.com>
45360         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45361         * sysdeps/x86_64/multiarch/varshift.c: New file.
45362         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45363         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45364         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45365         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45367 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45370         strlen-sse2 strlen-sse2-bsf.
45371         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45372         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45373         (__strlen_sse2): Removed.
45374         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45375         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45377         bit_Slow_BSF for Atom.
45378         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45379         (index_Slow_BSF): Define.
45380         (HAS_SLOW_BSF): Define.
45382 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45384         [BZ #10851]
45385         * resolv/res_init.c (__res_vinit): When no server address at all
45386         is given default to loopback.
45388 2010-08-24  Roland McGrath  <roland@redhat.com>
45390         * configure.in: Remove config-name.h generation.
45391         * configure: Regenerated.
45392         * config-name.in: File removed.
45393         * scripts/config-uname.sh: New file.
45394         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45395         ($(objdir)config-name.h): New target.
45397         * sunrpc/rpc_parse.h: Avoid nested comment.
45399 2010-08-24  Richard Henderson  <rth@redhat.com>
45400             Ulrich Drepper  <drepper@redhat.com>
45401             H.J. Lu  <hongjiu.lu@intel.com>
45403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45405         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45406         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45407         _mm_alignr_epi8 with _mm_loadu_si128.
45408         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45409         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45410         (__m128i_shift_right): Removed.
45411         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45412         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45413         * sysdeps/x86_64/multiarch/varshift.h: New file.
45414         * sysdeps/x86_64/multiarch/varshift.S: New file.
45416 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45418         * configure.in: Move assembler checks to before sysdep dir checking.
45420 2010-08-20  Petr Baudis  <pasky@suse.cz>
45422         * LICENSES: Sync the sunrpc license.
45424 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45426         * sunrpc/auth_des.c: Update copyright notice once again.
45427         * sunrpc/auth_none.c: Likewise.
45428         * sunrpc/auth_unix.c: Likewise.
45429         * sunrpc/authdes_prot.c: Likewise.
45430         * sunrpc/authuxprot.c: Likewise.
45431         * sunrpc/bindrsvprt.c: Likewise.
45432         * sunrpc/clnt_gen.c: Likewise.
45433         * sunrpc/clnt_perr.c: Likewise.
45434         * sunrpc/clnt_raw.c: Likewise.
45435         * sunrpc/clnt_simp.c: Likewise.
45436         * sunrpc/clnt_tcp.c: Likewise.
45437         * sunrpc/clnt_udp.c: Likewise.
45438         * sunrpc/clnt_unix.c: Likewise.
45439         * sunrpc/des_crypt.c: Likewise.
45440         * sunrpc/des_soft.c: Likewise.
45441         * sunrpc/get_myaddr.c: Likewise.
45442         * sunrpc/getrpcport.c: Likewise.
45443         * sunrpc/key_call.c: Likewise.
45444         * sunrpc/key_prot.c: Likewise.
45445         * sunrpc/openchild.c: Likewise.
45446         * sunrpc/pm_getmaps.c: Likewise.
45447         * sunrpc/pm_getport.c: Likewise.
45448         * sunrpc/pmap_clnt.c: Likewise.
45449         * sunrpc/pmap_prot.c: Likewise.
45450         * sunrpc/pmap_prot2.c: Likewise.
45451         * sunrpc/pmap_rmt.c: Likewise.
45452         * sunrpc/rpc/auth.h: Likewise.
45453         * sunrpc/rpc/auth_unix.h: Likewise.
45454         * sunrpc/rpc/clnt.h: Likewise.
45455         * sunrpc/rpc/des_crypt.h: Likewise.
45456         * sunrpc/rpc/key_prot.h: Likewise.
45457         * sunrpc/rpc/netdb.h: Likewise.
45458         * sunrpc/rpc/pmap_clnt.h: Likewise.
45459         * sunrpc/rpc/pmap_prot.h: Likewise.
45460         * sunrpc/rpc/pmap_rmt.h: Likewise.
45461         * sunrpc/rpc/rpc.h: Likewise.
45462         * sunrpc/rpc/rpc_des.h: Likewise.
45463         * sunrpc/rpc/rpc_msg.h: Likewise.
45464         * sunrpc/rpc/svc.h: Likewise.
45465         * sunrpc/rpc/svc_auth.h: Likewise.
45466         * sunrpc/rpc/types.h: Likewise.
45467         * sunrpc/rpc/xdr.h: Likewise.
45468         * sunrpc/rpc_clntout.c: Likewise.
45469         * sunrpc/rpc_cmsg.c: Likewise.
45470         * sunrpc/rpc_common.c: Likewise.
45471         * sunrpc/rpc_cout.c: Likewise.
45472         * sunrpc/rpc_dtable.c: Likewise.
45473         * sunrpc/rpc_hout.c: Likewise.
45474         * sunrpc/rpc_main.c: Likewise.
45475         * sunrpc/rpc_parse.c: Likewise.
45476         * sunrpc/rpc_parse.h: Likewise.
45477         * sunrpc/rpc_prot.c: Likewise.
45478         * sunrpc/rpc_sample.c: Likewise.
45479         * sunrpc/rpc_scan.c: Likewise.
45480         * sunrpc/rpc_scan.h: Likewise.
45481         * sunrpc/rpc_svcout.c: Likewise.
45482         * sunrpc/rpc_tblout.c: Likewise.
45483         * sunrpc/rpc_util.c: Likewise.
45484         * sunrpc/rpc_util.h: Likewise.
45485         * sunrpc/rpcinfo.c: Likewise.
45486         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45487         * sunrpc/rpcsvc/key_prot.x: Likewise.
45488         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45489         * sunrpc/rpcsvc/mount.x: Likewise.
45490         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45491         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45492         * sunrpc/rpcsvc/rex.x: Likewise.
45493         * sunrpc/rpcsvc/rstat.x: Likewise.
45494         * sunrpc/rpcsvc/rusers.x: Likewise.
45495         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45496         * sunrpc/rpcsvc/spray.x: Likewise.
45497         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45498         * sunrpc/rtime.c: Likewise.
45499         * sunrpc/svc.c: Likewise.
45500         * sunrpc/svc_auth.c: Likewise.
45501         * sunrpc/svc_authux.c: Likewise.
45502         * sunrpc/svc_raw.c: Likewise.
45503         * sunrpc/svc_run.c: Likewise.
45504         * sunrpc/svc_simple.c: Likewise.
45505         * sunrpc/svc_tcp.c: Likewise.
45506         * sunrpc/svc_udp.c: Likewise.
45507         * sunrpc/svc_unix.c: Likewise.
45508         * sunrpc/svcauth_des.c: Likewise.
45509         * sunrpc/xcrypt.c: Likewise.
45510         * sunrpc/xdr.c: Likewise.
45511         * sunrpc/xdr_array.c: Likewise.
45512         * sunrpc/xdr_float.c: Likewise.
45513         * sunrpc/xdr_mem.c: Likewise.
45514         * sunrpc/xdr_rec.c: Likewise.
45515         * sunrpc/xdr_ref.c: Likewise.
45516         * sunrpc/xdr_sizeof.c: Likewise.
45517         * sunrpc/xdr_stdio.c: Likewise.
45519         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45520         handling.
45522 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45524         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45526 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45528         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45529         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45531         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45532         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45533         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45534         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45535         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45537         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45538         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45539         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45540         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45541         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45543 2010-07-26  Anton Blanchard  <anton@samba.org>
45545         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45546         * malloc/arena.c (heap_trim): Likewise.
45548 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45550         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45551         here.  Not...
45552         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45553         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45555 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45557         * sysdeps/i386/elf/Makefile: New file.
45559 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45561         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45562         from fanotify_init.
45563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45566 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45568         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45569         of strncasecmp_l.
45570         * sysdeps/multiarch/strcmp.S: Likewise.
45572 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45574         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45575         strncase_l-nonascii.
45576         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45577         Add strncase_l-ssse3.
45578         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45579         * sysdeps/x86_64/strcmp.S: Likewise.
45580         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45581         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45582         * sysdeps/x86_64/strncase.S: New file.
45583         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45584         * sysdeps/x86_64/strncase_l.S: New file.
45585         * string/Makefile (strop-tests): Add strncasecmp.
45586         * string/test-strncasecmp.c: New file.
45588         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45589         warning.
45591         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45592         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45594 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45596         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45598 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45600         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45601         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45602         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45604 2010-05-01  Alan Modra  <amodra@gmail.com>
45606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45607         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45608         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45609         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45610         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45611         tidying.  Don't tail-call __sigjmp_save for static lib.
45612         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45613         save location.
45614         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45615         (CALL_MCOUNT): Add eh info, and nop after bl.
45616         (TAIL_CALL_SYSCALL_ERROR): New macro.
45617         (PSEUDO_RET): Use it.
45618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45619         Correct save location of integer regs and cr.
45620         (_dl_profile_resolve): Correct cr save location.  Delete nops
45621         after bl when SHARED.  Reduce cfi size a little by better
45622         placement of cfi directives.
45623         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45624         make a stack frame.  Instead use parm save area as a temp.
45625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45626         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45628         Don't make a stack frame for parent, use parm save area.
45629         Increase child stack frame to 112 bytes.  Don't save unused reg,
45630         and adjust reg usage.  Set up cfi on error recovery and
45631         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45633         (__makecontext): Add dummy nop after jump to exit.
45634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45635         Use correct parm save area and cr save, reduce stack frame.
45636         Correct cfi for possible PSEUDO_RET frame setup.
45637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45638         Branch to local label emitted by PSEUDO_RET rather than
45639         __syscall_error.
45641 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45643         [BZ #11904]
45644         * locale/programs/locale.c (print_assignment): New function.
45645         (show_locale_vars): Use it.
45647 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45649         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45650         field.
45651         (struct statfs64): Likewise.
45652         (_STATFS_F_FLAGS): Define.
45653         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45654         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45655         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45656         (ST_VALID): Define locally.
45657         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45658         __statvfs_getflags, use the provided value.
45659         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45660         __ASSUME_STATFS_F_FLAGS.
45662         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45664         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45665         Add sys/fanotify.h.
45666         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45667         fanotify_mask for GLIBC_2.13.
45668         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45669         fanotify_init and fanotify_mark.
45670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45671         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45673         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45674         Add prlimit.
45675         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45676         prlimit64 for GLIBC_2.13.
45677         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45678         prlimit64.
45679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45680         syscall.
45681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45683         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45684         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45686         add prlimit alias.
45687         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45689         [BZ #11903]
45690         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45691         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45693         * nss/Makefile: Add rules to build and run tst-nss-test1.
45694         * shlib-versions: Add entry for libnss_test1.
45695         * nss/nss_test1.c: New file.
45696         * nss/tst-nss-test1.c: New file.
45698         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45699         (__nss_configure_lookup): Set appropriate entry in
45700         __nss_configure_lookup to true.
45701         * nss/nsswitch.h: Define enum with indeces of databases in
45702         databases and __nss_database_custom arrays.  Declare
45703         __nss_database_custom.
45704         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45705         to avoid using nscd when custom rules are installed.
45706         * nss/getXXbyYY_r.c: Likewise.
45707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45709         * nss/nss_files/files-parse.c: Whitespace fixes.
45711 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45713         [BZ #11883]
45714         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45715         * posix/fnmatch_loop.c: Likewise.
45717 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45719         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45720         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45721         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45722         * Versions.def [GLIBC_2.13]: Add.
45724 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45726         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45727         Also fail if tpwd after pwuid call is NULL.
45729 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45731         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45732         when converting to ms.
45734 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45736         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45737         EOPNOTSUPP errors with ENOTTY.
45738         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45739         EOPNOTSUPP errors with ENOTTY.
45741 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45743         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45744         Add strcasecmp_l-ssse3.
45745         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45746         strcasecmp.
45747         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45748         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45749         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45751 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45753         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45755         * string/Makefile (strop-tests): Add strcasecmp.
45756         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45757         strcasecmp_l-nonascii.
45758         (gen-as-const-headers): Add locale-defines.sym.
45759         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45760         * sysdeps/x86_64/strcasecmp.S: New file.
45761         * sysdeps/x86_64/strcasecmp_l.S: New file.
45762         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45763         * sysdeps/x86_64/locale-defines.sym: New file.
45764         * string/test-strcasecmp.c: New file.
45766         * string/test-strcasestr.c: Test both ends of the range of characters.
45767         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45769 2010-07-29  Roland McGrath  <roland@redhat.com>
45771         [BZ #11856]
45772         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45774 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45776         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45777         for ld.so.
45779 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45781         * manual/memory.texi (Malloc Tunable Parameters): Document
45782         M_PERTURB.
45784 2010-07-26  Roland McGrath  <roland@redhat.com>
45786         [BZ #11840]
45787         * configure.in (-fgnu89-inline check): Set and substitute
45788         gnu89_inline, not libc_cv_gnu89_inline.
45789         * configure: Regenerated.
45790         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45792 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45794         * string/test-strnlen.c: New file.
45795         * string/Makefile (strop-tests): Add strnlen.
45796         * string/tester.c (test_strnlen): Add a few more test cases.
45797         * string/tst-strlen.c: Better error reporting.
45799         * sysdeps/x86_64/strnlen.S: New file.
45801 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45804         lower-latency instructions.
45806 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45808         * string/test-strcasestr.c: New file.
45809         * string/test-strstr.c: New file.
45810         * string/Makefile (strop-tests): Add strstr and strcasestr.
45811         * string/str-two-way.h: Don't undefine MAX.
45812         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45814 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45817         strcasestr-nonascii.
45818         (CFLAGS-strcasestr-nonascii.c): Define.
45819         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45820         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45821         Remove unused attribute.
45823 2010-07-20  Roland McGrath  <roland@redhat.com>
45825         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45826         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45827         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45828         like LD_HWCAP_MASK can disable hwcaps.
45830 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45832         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45834 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45836         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45837         call in strcasestr.
45838         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45839         __strcasestr_sse42_nonascii.
45840         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45841         strcasestr-nonascii.c.
45842         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45844 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
45846         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45847         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45848         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45849         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45851 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
45853         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45854         fcntl.
45856 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45858         [BZ #11577]
45859         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45860         dl_signal_cerror.
45862 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45864         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45865         _PC_PIPE_BUF using F_GETPIPE_SZ.
45867 2010-07-05  Roland McGrath  <roland@redhat.com>
45869         * manual/arith.texi (Rounding Functions): Fix rint description
45870         implicit in round description.
45872 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45874         * elf/Makefile: Fix linking for a few tests to make recent linker
45875         happy.
45877 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45879         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45880         $(common-objpfx)libc_nonshared.a.
45882 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45884         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45885         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45886         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45887         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45888         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45889         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45890         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45891         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45906         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45907         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45908         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45909         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45910         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45911         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45912         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45913         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45914         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45915         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45916         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45917         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45933 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45935         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45936         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45937         * string/memmove.c (memmove): Renamed to ...
45938         (MEMMOVE): ...this.  Default to memmove.
45939         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45940         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45941         (END_CHK): Define.
45942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45943         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45944         mempcpy-ssse3-back memmove-ssse3-back.
45945         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45946         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45947         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45948         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45949         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45950         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45951         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45952         * sysdeps/x86_64/multiarch/memmove.c: New file.
45953         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45954         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45955         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45956         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45957         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45959         Define.
45960         (index_Fast_Copy_Backward): Define.
45961         (HAS_ARCH_FEATURE): Define.
45962         (HAS_FAST_REP_STRING): Define.
45963         (HAS_FAST_COPY_BACKWARD): Define.
45965 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45967         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45968         Restore proper fallback handling.
45970 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45972         [BZ #11701]
45973         * posix/group_member.c (__group_member): Correct checking loop.
45975         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45976         OOM in getpwuid_r correctly.  Return error number when the caller
45977         should return, otherwise -1.
45978         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45979         call returning > 0 value.
45980         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45982 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45984         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45985         libc_nonshared.a from targets in modules-names.
45987 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45989         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45990         requires it.
45992 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45994         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45995         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45997         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45999 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46001         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46003 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46005         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46006         and F_GETPIPE_SZ.
46007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46008         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46014 2010-06-14  Roland McGrath  <roland@redhat.com>
46016         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46018 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46020         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46021         __REDIRECT followed by __THROW.
46022         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46023         * posix/getopt.h (getopt): Likewise.
46025 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46027         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46028         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46029         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46030         in AT_FLAGS.
46031         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46032         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46034 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46038 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46040         [BZ #11640]
46041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46042         Properly check family and model.
46044 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46046         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46048 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46050         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46052 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46054         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46055         symbol reference.
46057 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46059         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46060         symbol reference.
46062 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46065         and internal_recvmmsg.
46066         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46067         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46068         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46069         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46071         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46072         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46073         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46075 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46077         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46079 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46081         POWER7 optimizations.
46082         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46083         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46085 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46087         * version.h: Update for 2.13 development version.
46089 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46091         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46092         exceptions.  Return 0.
46094 2010-05-07  Roland McGrath  <roland@redhat.com>
46096         * elf/ldconfig.c (main): Add a const.
46098 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46100         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46101         (args_options): Add no-idn option.
46102         (ahosts_keys_int): Add idn_flags to ai_flags.
46103         (parse_option): Handle 'i' option to clear idn_flags.
46105         * malloc/malloc.c (_int_free): Possible race in the most recently
46106         added check.  Only act on the data if no current modification
46107         happened.
46109 See ChangeLog.17 for earlier changes.