SPARC: Convert fork.c to arch-fork.h
[glibc.git] / ChangeLog
blob0f3a99d6e09c309bfd74ef2e4350bb737cffcfd8
1 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7         (struct list_links): Type removed.
8         (struct thread_node, struct timer_node): Replace struct list_links
9         with struct list_head.
10         (list_unlink_ip): Likewise.
11         * sysdeps/pthread/timer_routines.c
12         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13         (list_append, list_insbefore): Likewise.
14         (list_init): Function removed.
15         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17         * sysdeps/pthread/Makefile: ... here, new file.
19         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20         * sysdeps/nptl/Implies: ... here.
21         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22         * nptl/sysdeps/pthread/list.h: Moved ...
23         * include/list.h: ... here.
24         * nptl/sysdeps/pthread/createthread.c: Moved ...
25         * nptl/createthread.c: ... here.
26         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28         * nptl/pt-longjmp.c: ... here.
29         * nptl/sysdeps/pthread/Makefile: Moved ...
30         * sysdeps/nptl/Makefile: ... here.
31         * nptl/sysdeps/pthread/Subdirs: Moved ...
32         * sysdeps/nptl/Subdirs: ... here.
33         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34         * sysdeps/nptl/aio_misc.h: ... here.
35         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36         * sysdeps/nptl/bits/libc-lock.h: ... here.
37         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
38         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41         * nptl/sysdeps/pthread/configure: Moved ...
42         * sysdeps/nptl/configure: ... here.
43         * nptl/sysdeps/pthread/configure.ac: Moved ...
44         * sysdeps/nptl/configure.ac: ... here.
45         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46         * sysdeps/nptl/gai_misc.h: ... here.
47         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48         * sysdeps/nptl/librt-cancellation.c: ... here.
49         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50         * sysdeps/nptl/malloc-machine.h: ... here.
51         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
52         * sysdeps/nptl/pthread-functions.h: ... here.
53         * nptl/sysdeps/pthread/pthread.h: Moved ...
54         * sysdeps/nptl/pthread.h: ... here.
55         * nptl/sysdeps/pthread/setxid.h: Moved ...
56         * sysdeps/nptl/setxid.h: ... here.
57         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
58         * sysdeps/nptl/sigfillset.c: ... here.
59         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
60         * sysdeps/nptl/tcb-offsets.h: ... here.
61         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
62         * sysdeps/nptl/tst-mqueue8x.c: ... here.
63         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
64         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
65         * nptl/sysdeps/pthread/allocalim.h: Moved ...
66         * sysdeps/pthread/allocalim.h: ... here.
67         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
68         * sysdeps/pthread/bits/sigthread.h: ... here.
69         * nptl/sysdeps/pthread/flockfile.c: Moved ...
70         * sysdeps/pthread/flockfile.c: ... here.
71         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
72         * sysdeps/pthread/ftrylockfile.c: ... here.
73         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
74         * sysdeps/pthread/funlockfile.c: ... here.
75         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
76         * sysdeps/pthread/posix-timer.h: ... here.
77         * nptl/sysdeps/pthread/timer_create.c: Moved ...
78         * sysdeps/pthread/timer_create.c: ... here.
79         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
80         * sysdeps/pthread/timer_delete.c: ... here.
81         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
82         * sysdeps/pthread/timer_getoverr.c: ... here.
83         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
84         * sysdeps/pthread/timer_gettime.c: ... here.
85         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
86         * sysdeps/pthread/timer_routines.c: ... here.
87         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
88         * sysdeps/pthread/timer_settime.c: ... here.
89         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
90         * sysdeps/pthread/tst-timer.c: ... here.
91         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
92         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
94         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
95         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
97         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
98         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
99         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
100         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
101         Update #include target.
102         * nptl/sysdeps/i386/i686/Makefile: Moved ...
103         * sysdeps/i386/i686/nptl/Makefile: ... here.
104         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
105         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
106         Update #include target.
107         * nptl/sysdeps/i386/i686/tls.h: Moved ...
108         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
109         * nptl/sysdeps/i386/Makefile: Moved ...
110         * sysdeps/i386/nptl/Makefile: ... here.
111         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
112         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
113         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
114         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
115         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
116         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
117         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
118         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
119         * sysdeps/i386/nptl/pthreaddef.h: ... here.
120         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
121         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
122         * nptl/sysdeps/i386/tls.h: Moved ...
123         * sysdeps/i386/nptl/tls.h: ... here.
125         * sysdeps/sh/Makefile [$(subdir) = csu]
126         (gen-as-const-headers): Add tcb-offsets.sym.
127         * nptl/sysdeps/sh/Makefile: File removed.
128         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
129         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
130         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
131         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
132         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
133         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
134         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
135         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
136         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
137         * sysdeps/sh/nptl/pthreaddef.h: ... here.
138         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
139         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
140         * nptl/sysdeps/sh/tls.h: Moved ...
141         * sysdeps/sh/nptl/tls.h: ... here.
142         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
143         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
144         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
145         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
146         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
147         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
148         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
149         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
150         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
151         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
153         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
155         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
157         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
159         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
161         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
163         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
167         Moved ...
168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
169         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
170         Moved ...
171         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
176         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
177         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
178         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
179         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
180         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
181         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
182         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
183         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
184         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
185         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
186         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
187         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
188         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
189         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
191 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
193         * posix/spawn_faction_addopen.c: Include string.h.
195 2014-06-11  Roland McGrath  <roland@hack.frob.com>
197         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
198         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
199         * nptl/sysdeps/x86_64/Makefile: Moved ...
200         * sysdeps/x86_64/nptl/Makefile: ... here.
201         * nptl/sysdeps/x86_64/configure: Moved ...
202         * sysdeps/x86_64/nptl/configure: ... here.
203         * nptl/sysdeps/x86_64/configure.ac: Moved ...
204         * sysdeps/x86_64/nptl/configure.ac: ... here.
205         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
206         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
207         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
208         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
209         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
210         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
211         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
212         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
213         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
214         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
215         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
216         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
217         * nptl/sysdeps/x86_64/tls.h: Moved ...
218         * sysdeps/x86_64/nptl/tls.h: ... here.
219         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
220         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
221         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
222         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
224         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
226 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
230 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
232         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
233         type.
234         [POSIX] (off_t): Likewise.
235         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
236         [POSIX] (S_ISBLK): Require macro.
237         [POSIX] (S_ISCHR): Likewise.
238         [POSIX] (S_ISDIR): Likewise.
239         [POSIX] (S_ISFIFO): Likewise.
240         [POSIX] (S_ISREG): Likewise.
241         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
242         optional-macro.
243         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
244         type.
245         [POSIX] (time_t): Likewise.
246         [POSIX] (timer_t): Likewise.
248 2014-06-11  Florian Weimer  <fweimer@redhat.com>
250         [BZ #17048]
251         * posix/spawn_int.h (struct __spawn_action): Make the path string
252         non-const to support deallocation.
253         * posix/spawn_faction_addopen.c
254         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
255         * posix/spawn_faction_destroy.c
256         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
257         path in all spawn_do_open actions.
258         * posix/tst-spawn.c (do_test): Exercise the copy operation in
259         posix_spawn_file_actions_addopen.
261 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
263         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
264         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
265         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
266         conditional code always true.
267         (__libc_vfork): New alias.
269 2014-06-11  Roland McGrath  <roland@hack.frob.com>
271         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
272         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
274         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
276         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
277         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
279         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
280         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
282         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
283         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
285 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
287         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
288         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
289         multiarch strcmp for PPC64.
290         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
291         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
293         multiarch optimizations.
294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
295         (__libc_ifunc_impl_list): Likewise.
297 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
299         * benchtests/scripts/validate_benchout.py: New script.
300         * benchtests/Makefile (bench-func): Call it.
301         * benchtests/scripts/benchout.schema.json: New file.
303 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
305         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
306         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
307         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
308         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
309         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
310         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
311         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
312         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
313         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
314         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
315         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
316         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
317         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
318         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
319         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
320         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
322         Moved ...
323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
324         ... here.
325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
326         Moved ...
327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
329         Moved ...
330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
331         ... here.
332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
333         Moved ...
334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
335         ... here.
336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
337         Moved ...
338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
340         Moved ...
341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
342         ... here.
343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
344         Moved ...
345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
346         ... here.
347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
348         Moved ...
349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
351         Moved ...
352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
353         ... here.
354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
355         Moved ...
356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
357         ... here.
358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
359         Moved ...
360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
361         ... here.
362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
363         Moved ...
364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
368         ... here.
369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
370         Moved ...
371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
372         ... here.
373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
374         Moved ...
375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
376         ... here.
377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
378         Moved ...
379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
381         Moved ...
382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
383         ... here.
384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
385         Moved ...
386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
387         ... here.
388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
389         Moved ...
390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
392         Moved ...
393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
394         ... here.
395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
396         Moved ...
397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
399         Moved ...
400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
402         Moved ...
403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
404         ... here.
405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
406         Moved ...
407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
408         ... here.
409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
410         Moved ...
411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
412         ... here.
413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
414         Moved ...
415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
417         Moved ...
418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
419         ... here.
420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
421         Moved ...
422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
423         ... here.
424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
425         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
427         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
429         Moved ...
430         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
431         ... here.
432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
433         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
435         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
437         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
443         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
445         Moved ...
446         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
448         Moved ...
449         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
453         Moved ...
454         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
456         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
457         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
458         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
459         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
460         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
462 2014-06-10  Wilco  <wdijkstr@arm.com>
464         * math/test-fenv-return.c: New file.
465         * math/Makefile: Add new test test-fenv-return.
467 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
469         [BZ #17042]
470         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
471         when x - 1 is zero.
472         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
473         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
474         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
475         0.0L for an argument of 1.0L.
476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
477         Likewise.
478         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
479         value when x - 1 is zero.
480         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
481         * sysdeps/i386/fpu/libm-test-ulps: Update.
482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
484 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
486         [BZ #15119]
487         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
489 2014-06-09  Roland McGrath  <roland@hack.frob.com>
491         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
492         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
494 2014-06-09  Roland McGrath  <roland@hack.frob.com>
496         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
497         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
499         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
500         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
502         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
503         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
505         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
506         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
508         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
509         if not already defined.
510         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
511         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
512         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
513         (TLS_INIT_TP): Use it.
514         (TLS_DEFINE_INIT_TP): New macro.
515         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
517 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
519         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
520         constant.
521         [POSIX] (IXANY): Likewise.
522         [POSIX] (OLCUC): Likewise.
523         [POSIX || POSIX2008] (CBAUD): Do not allow.
524         [POSIX || POSIX2008] (DEFECHO): Likewise.
525         [POSIX || POSIX2008] (ECHOCTL): Likewise.
526         [POSIX || POSIX2008] (ECHOKE): Likewise.
527         [POSIX || POSIX2008] (ECHOPRT): Likewise.
528         [POSIX || POSIX2008] (EXTA): Likewise.
529         [POSIX || POSIX2008] (EXTB): Likewise.
530         [POSIX || POSIX2008] (FLUSHO): Likewise.
531         [POSIX || POSIX2008] (LOBLK): Likewise.
532         [POSIX || POSIX2008] (PENDIN): Likewise.
533         [POSIX || POSIX2008] (SWTCH): Likewise.
534         [POSIX || POSIX2008] (VDISCARD): Likewise.
535         [POSIX || POSIX2008] (VDSUSP): Likewise.
536         [POSIX || POSIX2008] (VLNEXT): Likewise.
537         [POSIX || POSIX2008] (VREPRINT): Likewise.
538         [POSIX || POSIX2008] (VSTATUS): Likewise.
539         [POSIX || POSIX2008] (VWERASE): Likewise.
540         (B*): Change to B[0123456789]*.
541         * conform/data/time.h-data [POSIX || UNIX98]
542         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
543         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
544         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
545         [POSIX] (tm_*): Do not allow.
547 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
549         * Makefile (install): Don't set LANGUAGE.
550         * Makefile.in (install): Likewise.
551         * assert/Makefile (test-assert-ENV): Remove variable.
552         (test-assert-perr-ENV): Likewise.
553         * elf/Makefile (neededtest4-ENV): Likewise.
554         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
555         [$(cross-compiling) = no]: Don't set LANGUAGE.
556         * io/ftwtest-sh (LANG): Remove variable.
557         * libio/Makefile (tst-widetext-ENV): Likewise.
558         * manual/install.texi (Running make install): Don't refer to
559         environment settings for make install.
560         * INSTALL: Regenerated.
561         * nptl/tst-tls6.sh: Don't set LANG.
562         * posix/globtest.sh (LANG): Remove variable.
563         * string/Makefile (tester-ENV): Likewise.
564         (inl-tester-ENV): Likewise.
565         (noinl-tester-ENV): Likewise.
566         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
567         [$(cross-compiling) = no]: Don't set LANGUAGE.
568         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
569         without explicit environment settings.
571 2014-06-06  Roland McGrath  <roland@hack.frob.com>
573         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
574         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
575         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
576         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
578 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
580         * crypt/crypt-private.h [DOS]: Add some includes taken from the
581         other files in the crypt directory.
582         * crypt/crypt.c: Remove duplicate includes.
583         * crypt/crypt-entry.c: Likewise.
584         * crypt/crypt_util.c: Likewise.
586 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
588         * Makeconfig (run-program-env): New variable.
589         (run-program-prefix-before-env): Likewise.
590         (run-program-prefix-after-env): Likewise.
591         (run-program-prefix): Define in terms of new variables.
592         (built-program-cmd-before-env): New variable.
593         (built-program-cmd-after-env): Likewise.
594         (built-program-cmd): Define in terms of new variables.
595         (test-program-prefix-before-env): New variable.
596         (test-program-prefix-after-env): Likewise.
597         (test-program-prefix): Define in terms of new variables.
598         (test-program-cmd-before-env): New variable.
599         (test-program-cmd-after-env): Likewise.
600         (test-program-cmd): Define in terms of new variables.
601         * Rules (make-test-out): Use $(run-program-env).
602         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
603         (help): Do not mention environment variables.  Mention
604         --timeoutfactor option.
605         (timeoutfactor): New variable.
606         (blacklist_exports): Remove function.
607         (exports): Remove variable.
608         (command): Do not include ${exports}.
609         * manual/install.texi (Configuring and compiling): Do not mention
610         test wrappers preserving environment variables.  Mention that last
611         assignment to a variable must take precedence.
612         * INSTALL: Regenerated.
613         * benchtests/Makefile (run-bench): Use $(run-program-env).
614         * catgets/Makefile ($(objpfx)test1.cat): Use
615         $(built-program-cmd-before-env), $(run-program-env) and
616         $(built-program-cmd-after-env).
617         ($(objpfx)test2.cat): Do not specify environment variables
618         explicitly.
619         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
620         $(run-program-env) and $(built-program-cmd-after-env).
621         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
622         $(run-program-env) and $(test-program-cmd-after-env).
623         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
624         explicitly.
625         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
626         run_program_env and test_program_cmd_after_env arguments.
627         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
628         * elf/tst-pathopt.sh: Use run_program_env argument.
629         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
630         $(test-wrapper-env) and $(run-program-env).
631         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
632         run_program_env arguments.
633         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
634         * intl/Makefile ($(objpfx)tst-gettext.out): Use
635         $(test-program-prefix-before-env), $(run-program-env) and
636         $(test-program-prefix-after-env).
637         ($(objpfx)tst-gettext2.out): Likewise.
638         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
639         run_program_env and test_program_prefix_after_env arguments.
640         * intl/tst-gettext2.sh: Likewise.
641         * intl/tst-gettext4.sh: Do not set environment variables
642         explicitly.
643         * intl/tst-gettext6.sh: Likewise.
644         * intl/tst-translit.sh: Likewise.
645         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
646         $(test-program-prefix-before-env), $(run-program-env) and
647         $(test-program-prefix-after-env).
648         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
649         run_program_env and test_program_prefix_after_env arguments.
650         * math/Makefile (run-regen-ulps): Use $(run-program-env).
651         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
652         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
653         explicitly with each use of ${test_wrapper_env}.
654         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
655         $(test-program-prefix-before-env), $(run-program-env) and
656         $(test-program-prefix-after-env).
657         * posix/tst-getconf.sh: Do not set environment variables
658         explicitly.
659         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
660         run_program_env and test_program_prefix_after_env arguments.
661         * stdio-common/tst-printf.sh: Do not set environment variables
662         explicitly.
663         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
664         $(test-program-prefix-before-env), $(run-program-env) and
665         $(test-program-prefix-after-env).
666         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
667         run_program_env and test_program_prefix_after_env arguments.
668         Split $test calls into $test_pre and $test.
669         * timezone/Makefile (build-testdata): Use
670         $(built-program-cmd-before-env), $(run-program-env) and
671         $(built-program-cmd-after-env).
673 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
675         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
676         strlen for non SHARED builds.
678 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
680         * nptl/allocatestack.c (check_list): Inlined function...
681         (__reclaim_stacks): ... here.
683 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
685         [BZ #15698]
686         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
687         memory overrun.
689 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
691         * Rules (make-test-out): Include
692         LOCPATH=$(common-objpfx)localedata in default environment.
693         * debug/Makefile (tst-chk1-ENV): Remove variable.
694         (tst-chk2-ENV): Likewise.
695         (tst-chk3-ENV): Likewise.
696         (tst-chk4-ENV): Likewise.
697         (tst-chk5-ENV): Likewise.
698         (tst-chk6-ENV): Likewise.
699         (tst-lfschk1-ENV): Likewise.
700         (tst-lfschk2-ENV): Likewise.
701         (tst-lfschk3-ENV): Likewise.
702         (tst-lfschk4-ENV): Likewise.
703         (tst-lfschk5-ENV): Likewise.
704         (tst-lfschk6-ENV): Likewise.
705         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
706         (tst-iconv7-ENV): Likewise.
707         * intl/Makefile (LOCPATH-ENV): Likewise.
708         (tst-codeset-ENV): Likewise.
709         (tst-gettext3-ENV): Likewise.
710         (tst-gettext5-ENV): Likewise.
711         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
712         (tst-fopenloc-ENV): Likewise.
713         (tst-fgetws-ENV): Remove variable.
714         (tst-ungetwc1-ENV): Likewise.
715         (tst-ungetwc2-ENV): Likewise.
716         (bug-ungetwc2-ENV): Likewise.
717         (tst-swscanf-ENV): Likewise.
718         (bug-ftell-ENV): Likewise.
719         (tst-fgetwc-ENV): Likewise.
720         (tst-fseek-ENV): Likewise.
721         (tst-ftell-partial-wide-ENV): Likewise.
722         (tst-ftell-active-handler-ENV): Likewise.
723         (tst-ftell-append-ENV): Likewise.
724         * posix/Makefile (tst-fnmatch-ENV): Likewise.
725         (tst-regexloc-ENV): Likewise.
726         (bug-regex1-ENV): Likewise.
727         (tst-regex-ENV): Likewise.
728         (tst-regex2-ENV): Likewise.
729         (bug-regex5-ENV): Likewise.
730         (bug-regex6-ENV): Likewise.
731         (bug-regex17-ENV): Likewise.
732         (bug-regex18-ENV): Likewise.
733         (bug-regex19-ENV): Likewise.
734         (bug-regex20-ENV): Likewise.
735         (bug-regex22-ENV): Likewise.
736         (bug-regex23-ENV): Likewise.
737         (bug-regex25-ENV): Likewise.
738         (bug-regex26-ENV): Likewise.
739         (bug-regex30-ENV): Likewise.
740         (bug-regex32-ENV): Likewise.
741         (bug-regex33-ENV): Likewise.
742         (bug-regex34-ENV): Likewise.
743         (bug-regex35-ENV): Likewise.
744         (tst-rxspencer-ENV): Likewise.
745         (tst-rxspencer-no-utf8-ENV): Likewise.
746         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
747         (tst-sscanf-ENV): Likewise.
748         (tst-swprintf-ENV): Likewise.
749         (tst-swscanf-ENV): Likewise.
750         (test-vfprintf-ENV): Likewise.
751         (scanf13-ENV): Likewise.
752         (bug14-ENV): Likewise.
753         (tst-grouping-ENV): Likewise.
754         * stdlib/Makefile (tst-strtod-ENV): Likewise.
755         (tst-strtod3-ENV): Likewise.
756         (tst-strtod4-ENV): Likewise.
757         (tst-strtod5-ENV): Likewise.
758         (testmb2-ENV): Likewise./
759         * string/Makefile (tst-strxfrm-ENV): Likewise.
760         (tst-strxfrm2-ENV): Likewise.
761         (bug-strcoll1-ENV): Likewise.
762         (test-strcasecmp-ENV): Likewise.
763         (test-strncasecmp-ENV): Likewise.
764         * time/Makefile (tst-strptime-ENV): Likewise.
765         (tst-ftime_l-ENV): Likewise.
766         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
767         (tst-mbrtowc-ENV): Likewise.
768         (tst-wcrtomb-ENV): Likewise.
769         (tst-mbrtowc2-ENV): Likewise.
770         (tst-c16c32-1-ENV): Likewise.
771         (tst-mbsnrtowcs-ENV): Likewise.
773 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
775         * manual/resource.texi (How to get information about the memory
776         subsystem?): Fix typo.
777         Reported by Peon de la Parra Ivan <peon@keba.com>
779 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
781         [BZ #16882]
782         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
783         (pthread_spin_lock): Branch out of spin loop to proper location.
784         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
785         (pthread_spin_lock): Likewise.
787         * nptl/tst-spin4.c: New test.
788         * nptl/Makefile (tests): Add tst-spin4.
790 2014-06-03  Andreas Schwab  <schwab@suse.de>
792         [BZ #15946]
793         * resolv/res_send.c (send_dg): Reload file descriptor after
794         calling reopen.
796 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
800 2014-06-03  Richard Henderson  <rth@redhat.com>
802         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
803         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
804         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
805         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
806         in the SAVE_PID block.
807         (__libc_vfork): New alias.
808         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
810         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
811         child in registers, not on the stack.  Remove RESET_PID conditionals.
812         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
814 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
816         * sysdeps/aarch64/libm-test-ulps: Regenerate.
818 2014-06-03  Wilco  <wdijkstr@arm.com>
820         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
821         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
822         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
823         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
824         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
825         Likewise.
827 2014-06-03  Wilco  <wdijkstr@arm.com>
829         * sysdeps/aarch64/fpu/math_private.h
830         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
831         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
832         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
833         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
834         Fix declarations.
836 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
838         * crypt/crypt-private.h: Include ufc-crypt.h.
839         (__b64_from_24bit): Declare extern.
840         * crypt/crypt_util.c(__b64_from_24bit): New function.
841         (b64t): New static const variable.
842         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
843         (b64t): Remove variable.
844         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
845         * crypt/sha256-crypt.c: Include crypt-private.h.
846         (b64t): Remove variable.
847         (__sha256_crypt_r): Remove b64_from_24bit and replace
848         with __b64_from_24bit.
849         * crypt/sha512-crypt.c: Likewise.
851 2014-06-02  Roland McGrath  <roland@hack.frob.com>
853         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
854         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
855         Label the code __libc_vfork rather than __vfork.
856         [!NOT_IN_libc] (vfork): Define as weak alias.
857         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
858         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
859         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
861 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
863         * malloc/malloc.c (malloc_info): Fix format specifier for
864         n_mmaps.
866 2014-06-02  Wilco  <wdijkstr@arm.com>
868         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
869         FPCR write.
871 2014-06-02  Wilco  <wdijkstr@arm.com>
873         [BZ #17009]
874         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
875         Rewrite to reduce FPCR/FPSR accesses.
877 2014-06-01  David S. Miller  <davem@davemloft.net>
879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
881 2014-05-31  David S. Miller  <davem@davemloft.net>
883         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
884         to occur in round to nearest mode when |x| >= 2.0
886 2014-05-30  Richard Henderson  <rth@twiddle.net>
888         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
889         (PSEUDO_RET_NOERRNO): Remove.
890         (ret): Don't redefine.
891         (ret_NOERRNO): Define in terms of ret.
892         (ret_ERRVAL): Likewise.
894         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
895         use of PSEUDO_RET; perform the error check directly.
897 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
899         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
900         with __int128_t.
902 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
904         * malloc/malloc (malloc_info): Fix formatting.
906 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
907             Roland McGrath  <roland@hack.frob.com>
909         * malloc/malloc (malloc_info): Also print mmapped statistics.
911 2014-05-30  Roland McGrath  <roland@hack.frob.com>
913         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
914         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
916 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
918         * malloc/malloc.c (malloc_info): Inline mi_arena.
920 2014-05-29  Richard Henderson  <rth@twiddle.net>
922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
923         Remove comma before expanding ASM_ARGS_##nr.
924         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
925         Make _x0 a strict output; make _x8 a strict input; adjust expansion
926         of ASM_ARGS_##nr.
927         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
928         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
929         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
930         (ASM_ARGS_1): Add leading comma.
932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
933         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
934         to __errno_location.
935         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
936         Remove the expected plt for __errno_location.
938         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
939         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
940         call to __read_tp.
942         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
943         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
944         it and break it down.
945         (DOCARGS_0, DOCARGS_1): Do nothing.
946         (DOCARGS_2): Update to store into the new stack frame.
947         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
948         (UNDOCARGS_1): Update to restore from the new stack frame.
949         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
950         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
952         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
953         (SINGLE_THREAD_P): New parameter for result regno.
954         (PSEUDO): Update to match; use cbz instead of beq.
956         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
957         Use ENTRY to define the _nocancel entry point.  Share the syscall
958         and syscall error check paths with the cancel path.
959         (PSEUDO_END): New.
961         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
962         whitespace; tabs before and after asm mnemonics.
964 2014-05-29  Eric Wong  <normalperson@yhbt.net>
966         [BZ #15132]
967         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
968         Call fstat64 or stat64 internally, depending on arguments passed.
969         Replace stat buffer argument with file descriptor argument.
970         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
971         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
972         Pass fd to __internal_statvfs instead of calling fstat64.
973         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
974         Pass fd to __internal_statvfs64 instead of calling fstat64.
975         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
976         Pass -1 to __internal_statvfs instead of calling stat64.
977         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
978         Pass -1 to __internal_statvfs64 instead of calling stat64.
980 2014-05-28  Roland McGrath  <roland@hack.frob.com>
982         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
983         that was previously under [RESET_PID].
984         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
986         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
987         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
989 2014-05-27  Roland McGrath  <roland@hack.frob.com>
991         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
993         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
994         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
996 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
998         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1000 2014-05-27  Andreas Schwab  <schwab@suse.de>
1002         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1003         TLS_INIT_TP macro.
1004         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1005         * elf/rtld.c (init_tls, dl_main): Likewise.
1006         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1007         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1008         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1009         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1010         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1011         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1012         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1013         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1014         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1015         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1016         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1017         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1018         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1019         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1020         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1021         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1022         * sysdeps/generic/tls.h: Update description.
1024 2014-05-27  Will Newton  <will.newton@linaro.org>
1026         [BZ #16990]
1027         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1028         and restore r2 rather than just restoring.
1030 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1032         [BZ #16724]
1033         * libio/tst-ftell-append.c: New test case.
1034         * libio/Makefile (tests): Add test case.
1035         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1036         append mode.
1037         * libio/wfileops.c (do_ftell_wide): Likewise.
1039 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1043         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1044         ...
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1047         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1048         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1049         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1050         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1051         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1054         Moved ...
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1057         Moved ...
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1060         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1061         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1062         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1063         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1064         ...
1065         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1066         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1069         here.
1070         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1071         ...
1072         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1073         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1074         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1076         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1077         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1078         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1079         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1082         merge into ...
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1085         ...
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1088         ...
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1093         here.
1094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1095         Moved ...
1096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1102         conditional [RESET_PID].
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1105         removed.
1106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1107         removed.
1109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1110         <tcb-offsets.h>.
1111         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1112         (__libc_vfork): New strong alias.
1113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1114         removed.
1115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1116         Removed.
1118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1119         <tcb-offsets.h>.
1120         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1121         (__libc_vfork): New strong alias.
1122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1123         removed.
1124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1125         removed.
1127 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1129         * malloc/malloc.c (mi_arena): New function.
1130         (malloc_info): Remove nested function mi_arena. Call non-nosted
1131         function mi_arena.
1133 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1135         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1136         by insrwi.
1137         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1138         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1139         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1140         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1141         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1142         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1143         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1145 2014-05-26  Andreas Schwab  <schwab@suse.de>
1147         [BZ #16984]
1148         * locale/programs/repertoire.c (repertoire_read): Add slash
1149         between I18NPATH element and file name.
1150         * locale/programs/locfile.c (locfile_read): Likewise.
1152 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1154         * nptl/pthread_mutexattr_settype.c
1155         (__pthread_mutexattr_settype):
1156         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1158 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1160         * nptl/tst-mutex5 (do_test):
1161         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1163 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1165         * benchtests/README: Document 'init' directive.
1166         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1167         BENCH_INIT.
1168         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1169         (parse_file): Recognize 'init' directive.
1171 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1173         [BZ #16796]
1174         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1175         alignment of struct pthread.
1177 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1179         [BZ #16878]
1180         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1181         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1182         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1183         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1185 2014-05-25  Richard Henderson  <rth@twiddle.net>
1187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1188         (SINGLE_THREAD_P_PIC): Remove.
1189         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1190         (SINGLE_THREAD_P_PIC): Remove.
1192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1193         branch to syscall error ...
1194         (PSEUDO): ... here.
1195         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1196         from __local_syscall_error to .Lsyscall_error.
1197         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1198         (SYSCALL_ERROR): Update label name.
1200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1201         Do not use DOARGS/UNDOARGS.
1202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1203         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1204         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1205         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1206         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1209         block comment.
1211         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1212         define if !NOT_IN_libc.
1213         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1214         define with non-default symbol versions.
1216 2014-05-23  Richard Henderson  <rth@twiddle.net>
1218         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1219         (vfork, __vfork): Define via compat_symbol.
1221         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1222         [!HAVE_IFUNC] (vfork_compat): Remove.
1223         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1225 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1227         [BZ #16978]
1228         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1229         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1230         variable.
1232 2014-05-23  Richard Henderson  <rth@twiddle.net>
1234         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1235         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1236         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1237         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1239         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1240         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1241         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1242         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1243         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1244         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1245         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1246         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1247         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1248         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1249         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1250         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1251         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1252         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1253         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1254         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1255         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1256         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1257         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1258         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1259         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1260         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1261         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1262         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1263         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1264         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1265         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1266         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1267         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1268         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1269         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1270         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1271         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1272         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1273         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1274         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1276         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1277         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1278         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1279         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1280         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1281         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1282         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1283         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1284         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1286         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1288         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1289         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1290         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1292         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1294         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1296         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1297         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1298         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1299         before exiting on error.
1300         (__libc_vfork): New strong alias.
1301         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1302         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1304         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1305         that was previously under [RESET_PID].
1306         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1308         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1310 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1312         [BZ #16977]
1313         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1314         value when x - 1 is zero.
1315         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1316         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1317         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1318         0.0L for an argument of 1.0L.
1319         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1320         Likewise.
1321         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1322         value when x - 1 is zero.
1323         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1324         * sysdeps/i386/fpu/libm-test-ulps: Update.
1325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1327 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1329         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1330         alphasort and versionsort.
1332 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1334         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1335         macro.
1336         [copysignf]: Likewise.
1338 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1340         * crypt/md5-crypt.c: Fix formatting.
1342 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1344         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1345         (b64_from_24bit): New function.
1347 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1349         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1350         libc_hidden_builtin_def to ifunc.
1351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1352         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1354 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1356         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1357         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1359 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1361         * nscd/Depend (linuxthreads): Remove.
1362         (nptl): Add.
1363         * resolv/Depend (linuxthreads): Remove.
1364         * rt/Depend (linuxthreads): Remove.
1366         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1367         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1368         $(common-objpfx)elf/.
1369         (link-libc-before-gnulib): Likewise.
1370         (elfobjdir): Remove variable.
1371         * Makefile (install): Use $(elf-objpfx) instead of
1372         $(common-objpfx)elf/.
1373         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1374         $(elfobjdir)/.
1375         (link-libc-deps): Likewise.
1376         ($(common-objpfx)libc.so): Likewise.
1377         ($(common-objpfx)linkobj/libc.so): Likewise.
1378         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1379         instead of $(common-objpfx)elf/.
1380         (symbolic-link-list): Likewise.
1381         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1382         [$(cross-compiling) = no]: Likewise.
1383         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1384         $(elfobjdir)/.
1385         (static-gnulib-arch): Likewise.
1386         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1387         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1388         $(common-objpfx)elf/.
1390 2014-05-21  Richard Henderson  <rth@redhat.com>
1392         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1393         (SINGLE_THREAD_P): Use the correct width load.  Fold
1394         into the ldr offset.
1396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1397         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1399 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1401         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1402         (libgcc_s_resume): Use __attribute_used__.
1403         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1404         Likewise.
1406 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1408         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1409         optimization when used with float constants.
1411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1413 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1415         [BZ #16915]
1416         * locale/nl_langinfo_l.c: Make direct reference to every
1417         _nl_current_CATEGORY symbol.
1418         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1419         (tests-static): Add tst-langinfo-static.
1420         (tests-special): Add tst-langinfo-static.out.
1421         ($(objpfx)tst-langinfo.out): Redirect output.
1422         ($(objpfx)tst-langinfo-static.out): New.
1423         * localedata/tst-langinfo.sh: Send output to stdout.
1424         * localedata/tst-langinfo-static.c: New file.
1426         [BZ #16965]
1427         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1428         when the shift amount is modulo the limb size.
1430 2014-05-20  Richard Henderson  <rth@redhat.com>
1432         [BZ #16967]
1433         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1434         Change type of sa_flags from unsigned int to int.
1436         [BZ #16966]
1437         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1439         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1441 2014-05-20  Will Newton  <will.newton@linaro.org>
1443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1444         Test the return value of the system call in the nocancel case.
1446 2014-05-20  Will Newton  <will.newton@linaro.org>
1447             Yvan Roux  <yvan.roux@linaro.org>
1449         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1450         #include of asm/ptrace.h.
1451         (PTRACE_GET_THREAD_AREA): Remove #undef.
1452         (PTRACE_GETHBPREGS): Likewise.
1453         (PTRACE_SETHBPREGS): Likewise.
1454         (struct user_regs_struct): New structure.
1455         (struct user_fpsimd_struct): New structure.
1456         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1457         #include of asm/ptrace.h and second #include of sys/user.h.
1458         (PTRACE_GET_THREAD_AREA): Remove #undef.
1459         (PTRACE_GETHBPREGS): Likewise.
1460         (PTRACE_SETHBPREGS): Likewise.
1461         (ELF_NGREG): Use new struct user_regs_struct.
1462         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1464 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1469 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1471         [BZ #16958]
1472         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1473         membar to avoid block loads/stores to overlap previous stores.
1475 2014-05-17  Richard Henderson  <rth@redhat.com>
1477         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1478         Create the __##syscall_name##_nocancel entry point.
1479         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1480         Remove; let the sysdep-cancel.h code create it.
1482 2014-05-17  David S. Miller  <davem@davemloft.net>
1484         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1485         Protect with __USE_GNU.
1486         (TIOCSET_TEMPT): Likewise.
1487         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1488         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1489         these are already provided in bits/ioctl-types.h
1491 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1493         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1494         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1496         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1497         Use wait4 regardless of [__NR_waitpid].
1499 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1501         PR libgcc/60166
1502         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1503         (_FP_NANSIGN_Q): Set the quiet bit.
1505 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1507         * benchtests/Makefile
1508         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1509         not $(common-objpfx)math/libm.so.
1510         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1511         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1512         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1513         $(common-objpfx)dlfcn/libdl.so.
1514         ($(objpfx)tst-audit8): Depend on $(libm), not
1515         $(common-objpfx)math/libm.so.
1516         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1517         not $(common-objpfx)dlfcn/libdl.so.
1518         * math/Makefile
1519         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1520         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1521         [$(build-shared) = yes].
1522         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1523         $(common-objpfx)nptl/libpthread.so.
1524         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1525         $(common-objpfx)math/libm.so$(libm.so-version) or
1526         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1527         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1528         $(common-objpfx)dlfcn/libdl.so.
1529         * setjmp/Makefile (link-libm): Remove variable.
1530         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1531         * stdio-common/Makefile (link-libm): Remove variable.
1532         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1533         * stdlib/Makefile (link-libm): Remove variable.
1534         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1535         ($(objpfx)tst-strtod-round): Likewise.
1536         ($(objpfx)tst-tininess): Likewise.
1537         ($(objpfx)tst-strtod-underflow): Likewise.
1538         ($(objpfx)tst-strtod6): Likewise.
1539         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1540         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1541         $(common-objpfx)dlfcn/libdl.so.
1543 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1546         BSD terminal modes definitions.
1548 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1550         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1551         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1553         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1554         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1555         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1556         Don't do #include_next.
1557         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1558         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1559         Don't do #include_next.
1560         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1561         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1562         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1563         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1565 2014-05-16  Allan McRae  <allan@archlinux.org>
1567         * po/sv.po: Update Swedish translation from translation project.
1569         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1570         in sed expression.
1572 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1574         [BZ #16917]
1575         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1576         errno if the TIOCGPTN ioctl fails with an error different than
1577         EINVAL.
1578         * login/tst-ptsname.c: New file.
1579         * login/Makefile (tests): Add tst-ptsname.
1581         [BZ #16943]
1582         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1583         and prlimit64.
1585 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1587         [BZ #16849]
1588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1589         herrno to return EAI_AGAIN.
1591 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1593         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1594         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1595         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1602         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1605         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1606         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1607         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1608         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1622         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1624         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1628         Moved ...
1629         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1631         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1633         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1635         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1637         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1639         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1641         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1643         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1645         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1647         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1649         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1651         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1653         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1655         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1657         Moved ...
1658         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1660         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1662         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1664         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1666         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1668         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1670         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1672         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1674         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1676         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1678         Moved ...
1679         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1683         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1684         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1685         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1686         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1687         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1688         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1689         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1690         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1691         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1692         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1693         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1694         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1695         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1696         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1697         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1698         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1699         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1700         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1701         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1702         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1703         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1704         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1705         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1706         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1707         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1708         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1709         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1710         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1711         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1712         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1713         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1715         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1716         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1718         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1719         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1720         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1722         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1723         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1727         Moved ...
1728         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1730         Moved ...
1731         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1733         Moved ...
1734         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1735         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1736         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1738         Moved ...
1739         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1741         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1743         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1745         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1747         Moved ...
1748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1750         Moved ...
1751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1752         ... here.
1753         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1754         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1756         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1758         Moved ...
1759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1760         ... here.
1761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1762         Moved ...
1763         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1764         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1765         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1766         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1767         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1768         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1769         Moved ...
1770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1772         Moved ...
1773         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1775         Moved ...
1776         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1778         Moved ...
1779         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1780         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1781         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1783         Moved ...
1784         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1785         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1786         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1787         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1788         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1790         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1791         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1792         Moved ...
1793         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1795         Moved ...
1796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1797         ... here.
1798         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1799         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1800         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1801         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1803         Moved ...
1804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1805         ... here.
1806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1807         Moved ...
1808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1809         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1810         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1811         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1812         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1813         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1814         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1816         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1818         Moved ...
1819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1821         Moved ...
1822         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1824         Moved ...
1825         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1826         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1827         Moved ...
1828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1830         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1832         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1834         Moved ...
1835         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1836         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1837         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1839         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1840         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1841         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1842         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1843         Moved ...
1844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1846         Moved ...
1847         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1848         ... here.
1849         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1850         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1851         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1852         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1854         Moved ...
1855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1856         ... here.
1857         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1858         Moved ...
1859         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1860         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1861         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1862         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1863         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1865         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1867         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1869         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1871         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1872         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1874         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1875         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1877         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1878         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1879         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1880         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1881         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1882         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1883         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1884         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1885         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1886         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1888         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1889         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1890         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1891         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1893         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1895         Moved ...
1896         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1898         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1900         Moved ...
1901         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1905         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1909         Moved ...
1910         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1912         Moved ...
1913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1917         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1918         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1919         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1921         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1922         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1923         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1925         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1927         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1929         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1931         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1932         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1933         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1934         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1935         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1937         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1938         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1940         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1941         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1942         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1943         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1944         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1945         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1946         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1951         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1952         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1954         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1956         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1957         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1958         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1959         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1960         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1961         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1962         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1963         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1964         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1966         Update #include.
1967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1968         Likewise.
1969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1970         Likewise.
1971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1972         Likewise.
1973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1974         Likewise.
1975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1976         Likewise.
1977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1978         Likewise.
1979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1980         Likewise.
1981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1982         Likewise.
1983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1984         Likewise.
1985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1990         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1995         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1996         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1997         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1998         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1999         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2001         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2002         that was previously under [RESET_PID].
2003         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2004         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2005         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2007         * sysdeps/i386/nptl/Implies: New file.
2008         * sysdeps/x86_64/nptl/Implies: New file.
2009         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2010         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2011         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2012         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2014         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2015         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2016         (__libc_vfork): New strong alias.
2017         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2018         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2020         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2021         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2022         (__libc_vfork): New strong alias.
2023         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2024         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2026         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2027         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2028         (__libc_vfork): New strong alias.
2029         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2030         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2031         * nptl/pt-vfork.c: New file.
2032         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2033         (libpthread: GLIBC_2.20): New version set (empty).
2035 2014-05-14  Will Newton  <will.newton@linaro.org>
2037         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2038         rather than #if.
2040 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2042         [BZ #16564]
2043         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2044         arguments with exponent 65 or above.
2045         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2046         arguments 0x1p113L or above.
2047         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2048         to arguments 0x1p107L or above.
2049         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2050         positive arguments with exponent 65 or above.
2051         * math/auto-libm-test-in: Add more tests of log1p.
2052         * math/auto-libm-test-out: Regenerated.
2054         [BZ #16928]
2055         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2056         non-finite arguments is +0.
2057         * math/s_cacosf.c (__cacosf): Likewise.
2058         * math/s_cacosl.c (__cacosl): Likewise.
2059         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2060         * sysdeps/i386/fpu/libm-test-ulps: Update.
2061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2063         [BZ #16927]
2064         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2065         value.
2066         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2067         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2068         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2069         for explicit high bit of mantissa when testing for argument equal
2070         to 1.
2071         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2072         * sysdeps/i386/fpu/libm-test-ulps: Update.
2073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2075         [BZ #16516]
2076         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2077         (__erf): Scale by 16 instead of 8 in potentially underflowing
2078         case.  Ensure exception if result actually underflows.
2079         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2080         (__erff): Scale by 16 instead of 8 in potentially underflowing
2081         case.  Ensure exception if result actually underflows.
2082         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2083         (efx8): Remove variable.
2084         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2085         case.  Ensure exception if result actually underflows.
2086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2087         (efx8): Remove variable.
2088         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2089         case.  Ensure exception if result actually underflows.
2090         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2091         (efx8): Remove variable.
2092         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2093         case.  Ensure exception if result actually underflows.
2094         * math/auto-libm-test-in: Add more tests of erf.
2095         * math/auto-libm-test-out: Regenerated.
2097 2014-05-14  Andreas Schwab  <schwab@suse.de>
2099         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2100         Remove code conditionalized on USE___THREAD.
2102         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2103         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2104         not definedness.
2106 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2109         Define unconditionally.
2110         (__ASSUME_O_CLOEXEC): Likewise.
2111         (__ASSUME_SOCK_CLOEXEC): Likewise.
2112         (__ASSUME_IN_NONBLOCK): Likewise.
2113         (__ASSUME_PIPE2): Likewise.
2114         (__ASSUME_EVENTFD2): Likewise.
2115         (__ASSUME_SIGNALFD4): Likewise.
2116         (__ASSUME_DUP3): Likewise.
2117         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2118         (__ASSUME_DUP3): Do not define.
2119         (__ASSUME_EVENTFD2): Likewise.
2120         (__ASSUME_IN_NONBLOCK): Likewise.
2121         (__ASSUME_O_CLOEXEC): Likewise.
2122         (__ASSUME_PIPE2): Likewise.
2123         (__ASSUME_SIGNALFD4): Likewise.
2124         (__ASSUME_SOCK_CLOEXEC): Likewise.
2125         (__ASSUME_UTIMES): Undefine.
2126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2127         (__ASSUME_UTIMES): Do not define.
2128         (__ASSUME_O_CLOEXEC): Likewise.
2129         (__ASSUME_SOCK_CLOEXEC): Likewise.
2130         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2131         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2132         0x020621].
2133         (__ASSUME_PIPE2): Likewise.
2134         (__ASSUME_EVENTFD2): Likewise.
2135         (__ASSUME_SIGNALFD4): Likewise.
2136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2137         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2138         Do not define.
2139         (__ASSUME_EVENTFD2): Likewise.
2140         (__ASSUME_SIGNALFD4): Likewise.
2141         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2142         (__ASSUME_32BITUIDS): Likewise.
2143         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2144         (__ASSUME_IPC64): Likewise.
2145         (__ASSUME_ST_INO_64_BIT): Likewise.
2146         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2147         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2148         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2149         (__ASSUME_UTIMES): Do not define.
2150         (__ASSUME_PSELECT): Likewise.
2151         (__ASSUME_PPOLL): Likewise.
2152         (__ASSUME_O_CLOEXEC): Likewise.
2153         (__ASSUME_SOCK_CLOEXEC): Likewise.
2154         (__ASSUME_IN_NONBLOCK): Likewise.
2155         (__ASSUME_PIPE2): Likewise.
2156         (__ASSUME_EVENTFD2): Likewise.
2157         (__ASSUME_SIGNALFD4): Likewise.
2158         (__ASSUME_DUP3): Likewise.
2159         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2160         (__ASSUME_UTIMES): Likewise.
2161         (__ASSUME_O_CLOEXEC): Likewise.
2162         (__ASSUME_SOCK_CLOEXEC): Likewise.
2163         (__ASSUME_IN_NONBLOCK): Likewise.
2164         (__ASSUME_PIPE2): Likewise.
2165         (__ASSUME_EVENTFD2): Likewise.
2166         (__ASSUME_SIGNALFD4): Likewise.
2167         (__ASSUME_DUP3): Likewise.
2168         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2169         (__ASSUME_UTIMES): Likewise.
2170         (__ASSUME_O_CLOEXEC): Likewise.
2171         (__ASSUME_SOCK_CLOEXEC): Likewise.
2172         (__ASSUME_IN_NONBLOCK): Likewise.
2173         (__ASSUME_PIPE2): Likewise.
2174         (__ASSUME_EVENTFD2): Likewise.
2175         (__ASSUME_SIGNALFD4): Likewise.
2176         (__ASSUME_DUP3): Likewise.
2177         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2178         Likewise.
2179         (__ASSUME_UTIMES): Likewise.
2180         (__ASSUME_EVENTFD2): Likewise.
2181         (__ASSUME_SIGNALFD4): Likewise.
2182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2183         (__ASSUME_O_CLOEXEC): Likewise.
2184         (__ASSUME_SOCK_CLOEXEC): Likewise.
2185         (__ASSUME_IN_NONBLOCK): Likewise.
2186         (__ASSUME_PIPE2): Likewise.
2187         (__ASSUME_EVENTFD2): Likewise.
2188         (__ASSUME_SIGNALFD4): Likewise.
2189         (__ASSUME_DUP3): Likewise.
2190         (__ASSUME_UTIMES): Undefine.
2192         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2193         feclearexcept.  Remove symbol versioning code.
2194         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2195         symbol versioning code.
2196         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2197         symbol versioning code.
2198         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2199         feupdateenv.  Remove symbol versioning code.
2200         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2201         fegetexceptflag.  Remove symbol versioning code.
2202         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2203         fesetexceptflag.  Remove symbol versioning code.
2204         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2205         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2206         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2207         (__posix_fadvise64_l32): Remove prototype.
2208         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2209         code.
2211 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2213         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2214         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2215         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2216         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2218 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2220         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2221         current working directory
2223 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2225         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2226         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2227         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2228         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2229         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2230         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2231         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2234         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2238         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2239         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2246         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2248         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2254         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2255         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2256         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2257         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2258         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2259         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2260         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2261         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2262         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2263         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2264         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2265         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2266         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2268         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2269         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2271         * sysdeps/unix/sysv/linux/arm/Makefile
2272         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2273         Add rt-aeabi_unwind_cpp_pr1.
2274         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2275         Add nptl-aeabi_unwind_cpp_pr1.
2276         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2277         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2278         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2279         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2280         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2281         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2283         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2284         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2285         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2286         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2288         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2289         Deconditionalize the code that was previously under [RESET_PID].
2290         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2292         * sysdeps/generic/exit-thread.h: New file.
2293         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2294         * include/unistd.h (__exit_thread): Remove declaration.
2295         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2296         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2297         * csu/libc-start.c: Include <exit-thread.h>.
2298         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2299         * nptl/pthread_create.c: Include <exit-thread.h>.
2300         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2301         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2302         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2303         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2304         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2305         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2306         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2307         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2308         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2309         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2310         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2311         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2312         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2313         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2314         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2315         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2316         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2318 2014-05-13  Andreas Schwab  <schwab@suse.de>
2320         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2322 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2324         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2325         (__ASSUME_UTIMES): Do not condition on kernel version.
2326         (__ASSUME_PSELECT): Define unconditionally.
2327         (__ASSUME_PPOLL): Likewise.
2328         (__ASSUME_ATFCTS): Likewise.
2329         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2330         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2331         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2332         (__ASSUME_UTIMENSAT): Define unconditionally.
2333         (__ASSUME_PRIVATE_FUTEX): Likewise.
2334         (__ASSUME_FALLOCATE): Likewise.
2335         (__ASSUME_O_CLOEXEC): Likewise.
2336         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2337         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2338         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2339         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2340         (__ASSUME_IN_NONBLOCK): Likewise.
2341         (__ASSUME_PIPE2): Likewise.
2342         (__ASSUME_EVENTFD2): Likewise.
2343         (__ASSUME_SIGNALFD4): Likewise.
2344         (__ASSUME_DUP3): Likewise.
2345         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2346         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2347         (__ASSUME_AT_RANDOM): Likewise.
2348         (__ASSUME_PREADV): Likewise.
2349         (__ASSUME_PWRITEV): Likewise.
2350         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2351         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2352         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2353         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2354         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2355         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2356         (__ASSUME_O_CLOEXEC): Define unconditionally.
2357         (__ASSUME_PSELECT): Do not undefine conditionally.
2358         (__ASSUME_PPOLL): Likewise.
2359         (__ASSUME_ATFCTS): Likewise.
2360         (__ASSUME_SET_ROBUST_LIST): Likewise.
2361         (__ASSUME_UTIMENSAT): Likewise.
2362         (__ASSUME_FDATASYNC): Define unconditionally.
2363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2364         (__ASSUME_SIGFRAME_V2): Likewise.
2365         )__ASSUME_EVENTFD2): Likewise.
2366         (__ASSUME_SIGNALFD4): Likewise.
2367         (__ASSUME_PSELECT): Do not undefine conditionally.
2368         (__ASSUME_PPOLL): Likewise.
2369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2370         (__ASSUME_PSELECT): Define unconditionally.
2371         (__ASSUME_PPOLL): Likewise.
2372         (__ASSUME_O_CLOEXEC): Likewise.
2373         (__ASSUME_SOCK_CLOEXEC): Likewise.
2374         (__ASSUME_IN_NONBLOCK): Likewise.
2375         (__ASSUME_PIPE2): Likewise.
2376         (__ASSUME_EVENTFD2): Likewise.
2377         (__ASSUME_SIGNALFD4): Likewise.
2378         (__ASSUME_DUP3): Likewise.
2379         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2380         (__ASSUME_O_CLOEXEC): Likewise.
2381         (__ASSUME_SOCK_CLOEXEC): Likewise.
2382         (__ASSUME_IN_NONBLOCK): Likewise.
2383         (__ASSUME_PIPE2): Likewise.
2384         (__ASSUME_EVENTFD2): Likewise.
2385         (__ASSUME_SIGNALFD4): Likewise.
2386         (__ASSUME_DUP3): Likewise.
2387         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2388         (__ASSUME_EVENTFD2): Likewise.
2389         (__ASSUME_SIGNALFD4): Likewise.
2390         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2392 2014-05-12  Andreas Schwab  <schwab@suse.de>
2394         [BZ #16932]
2395         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2396         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2397         than maximum RPC packet size.
2398         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2399         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2400         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2401         (_nss_nis_getservbyport_r): Likewise.
2403 2014-05-12  Will Newton  <will.newton@linaro.org>
2405         * malloc/Makefile (tests): Add tst-mallopt.
2406         * malloc/tst-mallopt.c: New file.
2408 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2410         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2411         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2413 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2415         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2416         (tst-tlsmod6.so): Likewise.
2418 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2420         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2422 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2424         [BZ #16064]
2425         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2426         and <dl-procinfo.h>.
2427         (__fegetenv): Save SSE state in envp->__eip if supported.
2428         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2429         envp->__eip if supported.
2430         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2431         and <dl-procinfo.h>.
2432         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2433         __data_offset and __data_selector in environment to 0.  Set SSE
2434         state if supported.
2435         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2436         test-fenv-sse.
2437         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2438         -mfpmath=sse.
2439         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2441 2014-05-09  Will Newton  <will.newton@linaro.org>
2443         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2444         and libc_relro_required for ARM.
2445         * sysdeps/arm/preconfigure: Regenerate.
2447 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2448             Stefan Liebler  <stli@linux.vnet.ibm.com>
2450         * config.make.in (enable-lock-elision): New Makefile variable.
2451         * configure.ac: Likewise.
2452         * configure: Regenerate.
2453         * sysdeps/s390/configure.ac:
2454         Add check for gcc transactions support.
2455         * sysdeps/s390/configure: Regenerate.
2456         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2457         Build elision files if enabled.
2458         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2459         Add lock elision support for s390.
2460         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2461         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2462         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2463         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2464         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2465         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2466         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2467         Likewise.
2468         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2469         Likewise.
2470         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2471         Likewise.
2472         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2473         Likewise.
2474         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2475         (__lll_timedlock_elision, __lll_lock_elision)
2476         (__lll_unlock_elision, __lll_trylock_elision)
2477         (lll_timedlock_elision, lll_lock_elision)
2478         (lll_unlock_elision, lll_trylock_elision): Add.
2479         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2480         (pthread_mutex_t): Add lock elision support for s390.
2482 2014-05-14  Wilco  <wdijkstr@arm.com>
2484         * sysdeps/arm/fclrexcpt.c: Cleanup.
2485         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2486         * sysdeps/arm/feenablxcpt.c: Cleanup.
2487         * sysdeps/arm/fegetenv.c: Cleanup.
2488         * sysdeps/arm/fegetexcept.c: Cleanup.
2489         * sysdeps/arm/fegetround.c: Cleanup.
2490         * sysdeps/arm/feholdexcpt.c: Cleanup.
2491         * sysdeps/arm/fesetenv.c: Cleanup.
2492         * sysdeps/arm/fesetround.c: Cleanup.
2493         * sysdeps/arm/feupdateenv.c: Cleanup.
2494         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2495         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2496         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2497         * sysdeps/arm/ftestexcept.c: Cleanup.
2498         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2499         * sysdeps/arm/setfpucw.c: Cleanup.
2501 2014-05-09  Will Newton  <will.newton@linaro.org>
2503         * sysdeps/arm/armv7/strcmp.S: New file.
2504         * NEWS: Mention addition of ARMv7 optimized strcmp.
2506 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2508         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2509         look for %.ac rather than %.in.
2511         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2512         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2513         * sysdeps/mach/hurd/configure: Regenerated.
2514         * sysdeps/unix/sysv/linux/configure: Regenerated.
2516         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2518 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2520         [BZ# 16922]
2521         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2522         (LONG_SUB): Ditto.
2523         (PTR_SUB): Ditto.
2525 2014-05-07  Andreas Schwab  <schwab@suse.de>
2527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2528         when skipping over non-matching result from nscd.
2530 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2532         [BZ #16876]
2533         * nptl/sockperf.c (client): Check socket return value.
2535         [BZ #16877]
2536         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2537         nscd security class.
2539 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2541         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2542         * sysdeps/arm/unwind.h: ... here.
2544 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2546         [BZ# 16916]
2547         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2548         Define.
2550 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2552         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2553         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2554         multiarch strncpy for PPC64.
2555         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2556         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2558         multiarch optimizations.
2559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2560         (__libc_ifunc_impl_list): Likewise.
2561         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2563         multiarch stpncpy for PPC64.
2564         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2565         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2567 2014-05-06  Andreas Schwab  <schwab@suse.de>
2569         [BZ #16912]
2570         * gmon/mcount.c (_MCOUNT_DECL): Use
2571         atomic_compare_and_exchange_bool_acq instead of
2572         catomic_compare_and_exchange_bool_acq.
2574 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2576         * elf/Makefile (others, install-bin): Remove pldd.
2577         (pldd-modules): Variable removed.
2578         ($(objpfx)pldd): Target removed.
2579         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2580         (others, install-bin): Append pldd here.
2581         ($(objpfx)pldd): New target.
2583         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2584         to 0, so the first #if test emitted later doesn't see it undefined.
2585         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2586         * sysdeps/gnu/errlist.c: Regenerated.
2588 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2590         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2591         [libc_hidden_builtin_def]: Define to empty value.
2592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2593         [libc_hidden_builtin_def]: Likewise.
2594         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2595         [libc_hidden_builtin_def]: Likewise.
2596         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2597         [libc_hidden_builtin_def]: Likewise.
2598         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2599         __redirect_memcpy and define ifunc as default hidden symbol.
2600         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2601         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2603 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2605         * locale/iso-4217.def: Reintroduce XDR currency.
2607 2014-05-04  Allan McRae  <allan@archlinux.org>
2609         * po/eo.po: Update Esperanto translation from translation project.
2611 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2613         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2614         and FEATURE_INDEX_MAX to 1.
2615         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2617 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2619         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2620         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2621         * iconvdata/big5.c (ONE_DIRECTION): Define.
2622         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2623         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2624         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2625         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2626         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2627         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2628         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2629         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2630         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2631         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2632         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2633         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2634         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2635         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2636         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2637         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2638         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2639         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2640         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2641         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2642         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2643         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2644         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2645         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2646         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2647         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2648         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2649         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2650         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2651         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2652         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2653         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2654         * iconvdata/johab.c (ONE_DIRECTION): Define.
2655         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2656         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2657         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2658         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2659         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2660         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2661         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2662         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2663         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2664         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2666 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2668         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2669         (_IO_JUMPS_OFFSET): Define to 0.
2671         * nptl/sysdeps/pthread/bits/libc-lock.h
2672         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2673         (__libc_lock_define_initialized_recursive): Always define using
2674         initializer.  Modern compilers treat uninitialized (implicit zero) and
2675         explicit zero initializers the same (i.e. put the datum in bss).
2677 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2679         * nscd/nscd-client.h: Include <string.h>.
2681 2014-05-01  David S. Miller  <davem@davemloft.net>
2683         [BZ #16885]
2684         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2685         multiple zero bytes exist at the end of a string.
2686         Reported by Aurelien Jarno <aurelien@aurel32.net>
2688         * string/test-strcmp.c (check): Add explicit test for situations where
2689         there are multiple zero bytes after the first.
2691 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2693         [BZ #16890]
2694         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2695         when compiling wprintf.
2696         * stdio-common/tstdiomisc.c (t3): New function.
2697         (main): Call it.
2699 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2701         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2702         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2703         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2704         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2706 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2708         * stdlib/longlong.h: Updated from GCC.
2710 2014-05-01  Will Newton  <will.newton@linaro.org>
2711             Bernard Ogden  <bernie.ogden@linaro.org>
2713         * NEWS: Update fixed bug list.
2715         [BZ #15119]
2716         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2718 2014-04-30  David S. Miller  <davem@davemloft.net>
2720         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2721         (libc_feholdexcept_setround_sparc_ctx): New function.
2722         (libc_fesetenv_sparc_ctx): Likewise.
2723         (libc_feupdateenv_sparc_ctx): Likewise.
2724         (libc_feholdsetround_sparc_ctx): Likewise.
2725         (libc_feholdexcept_setround_ctx): Define.
2726         (libc_feholdexcept_setroundf_ctx): Likewise.
2727         (libc_feholdexcept_setroundl_ctx): Likewise.
2728         (libc_fesetenv_ctx): Likewise.
2729         (libc_fesetenvf_ctx): Likewise.
2730         (libc_fesetenvl_ctx): Likewise.
2731         (libc_feupdateenv_ctx): Likewise.
2732         (libc_feupdateenvf_ctx): Likewise.
2733         (libc_feupdateenvl_ctx): Likewise.
2734         (libc_feresetround_ctx): Likewise.
2735         (libc_feresetroundf_ctx): Likewise.
2736         (libc_feresetroundl_ctx): Likewise.
2737         (libc_feholdsetround_ctx): Likewise.
2738         (libc_feholdsetroundf_ctx): Likewise.
2739         (libc_feholdsetroundl_ctx): Likewise.
2741         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2742         with __USE_GNU instead of XOPEN cpp guards.
2744         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2745         0.
2747         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2748         with XOPEN cpp guards.
2750 2014-04-30  Julian Brown  <julian@codesourcery.com>
2752         [BZ #16888]
2753         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2754         handling.
2756 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2758         [BZ #9894]
2759         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2760         Change to 2.6.32.
2761         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2762         * sysdeps/unix/sysv/linux/configure: Regenerated.
2763         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2764         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2765         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2766         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2767         * README: Update reference to required Linux kernel version.
2768         * manual/install.texi (Linux): Update reference to required Linux
2769         kernel headers version.
2770         * INSTALL: Regenerated.
2772         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2773         header inclusion.
2774         [POSIX] (limits.h): Likewise.
2775         [POSIX] (math.h): Likewise.
2776         [POSIX] (sys/wait.h): Likewise.
2777         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2778         function.
2779         [POSIX] (stddef.h): Do not allow header inclusion.
2781 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2783         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2785 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2787         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2788         Return immediately after lll_futex_wake.
2790 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2792         [BZ #16791]
2793         * nscd/nscd-client.h (datahead_init_common): Initialize entire
2794         structure.
2795         (datahead_init_pos): Call datahead_init_common early.
2796         (datahead_init_neg): Likewise.
2798         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2799         datahead_init_neg): New functions.
2800         * nscd/aicache.c (addhstaiX): Use them.
2801         * nscd/grpcache.c (cache_addgr): Likewise.
2802         * nscd/hstcache.c (cache_addhst): Likewise.
2803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2804         * nscd/netgroupcache.c (do_notfound): Likewise.
2805         (addgetnetgrentX): Likewise.
2806         (addinnetgrX): Likewise.
2807         * nscd/pwdcache.c (cache_addpw): Likewise.
2808         * nscd/servicescache.c (cache_addserv): Likewise.
2810 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2811             Atsushi Onoe  <atsushi@onoe.org>
2813         [BZ #14308]
2814         [BZ #12994]
2815         [BZ #13651]
2816         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2817         one response is valid.
2818         * resolv/res_send.c (send_dg): Check for validity of other
2819         response if the current response is a referral.
2821 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2823         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2825 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2827         [BZ #16823]
2828         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2829         Always divide by positive zero when computing -Inf result.
2830         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2831         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2833 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2835         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2836         FPSCR if value do not change.
2837         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2838         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2839         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2840         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2841         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2842         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2843         function.
2845 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2847         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2848         * sysdeps/unix/sysv/linux/hppa: Move directory from
2849         ports/systeps/unix/sysv/linux/hppa.
2850         * README: Update listing for hppa-*-linux-gnu.
2852 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2854         [BZ #16754]
2855         * manual/stdio.texi (Hook functions): Fix types of stream hook
2856         functions.
2857         [BZ #16854]
2858         * socket/sys/socket.h: Fix typo in comment.
2860 2014-04-28  Wilco  <wdijkstr@arm.com>
2862         * sysdeps/arm/fenv_private.h: New file.
2863         * sysdeps/arm/math_private.h: New file.
2864         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2866 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2868         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2869         with __int128_t.
2870         (La_x86_64_retval): Likewise.
2872 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2874         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2875         fpsr if value didn't change.
2876         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2877         to fpcr if value didn't change.
2878         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2879         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2880         fpsr or fpcr if value didn't change.
2881         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2882         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2883         fpcr if value didn't change.
2884         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2885         to fpsr if value didn't change.
2887 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2889         * nptl/tst-sem3.c: Use test-skeleton.c
2890         (main): Rename to do_test.  Use return instead of
2891         exit.
2892         * nptl/tst-sem4.c: Use test-skeleton.c
2893         (main): Rename to do_test.
2895 2014-04-22  David S. Miller  <davem@davemloft.net>
2897         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2898         (struct sigaction): New struct member __glibc_reserved0, change
2899         type of sa_flags to int.
2901 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2903         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2904         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2906 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2908         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2909         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2911 2014-04-22  Will Newton  <will.newton@linaro.org>
2912             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2914         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2915         (__longjmp): Add longjmp and longjmp_target SystemTap
2916         probes.
2917         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2918         (__sigsetjmp): Add setjmp SystemTap probe.
2920 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2922         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2923         match manual order.
2925 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2927         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2929         * sysdeps/powerpc/fpu/fenv_private.h
2930         (libc_feholdexcept_setroundl_ctx): Define to
2931         libc_feholdexcept_setround_ppc_ctx.
2932         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2933         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2934         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2935         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2937 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2939         * sysdeps/aarch64/math-tests.h: New file.
2941 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2943         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2944         New.
2945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2946         Check and set bit_AVX2_Usable.
2947         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2948         macro.
2949         (bit_AVX2): Likewise.
2950         (index_AVX2_Usable): Likewise.
2951         (CPUID_AVX2): Likewise.
2952         (HAS_AVX2): Likewise.
2954 2014-04-17  Will Newton  <will.newton@linaro.org>
2956         * manual/setjmp.texi (System V contexts): Add note that
2957         calling setcontext on a context created by a call to a
2958         signal handler is undefined.  Update text to note that
2959         setcontext from a signal handler is possible but not
2960         recommended.
2962         [BZ #16629]
2963         * stdlib/tst-setcontext.c: Include signal.h.
2964         (main): Check that the signal stack before and
2965         after swapcontext is the same.
2967         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2968         Re-implement to restore registers in user code and avoid
2969         rt_sigreturn system call.
2971 2014-04-17  Wilco  <wdijkstr@arm.com>
2973         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2974         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2975         * math/test-fenv.c: Skip exception trap tests on targets which only
2976         support non-stop mode.
2978 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2979             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2981         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2982         (libc_feholdsetround_aarch64_ctx)
2983         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2984         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2985         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2986         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2987         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2988         (libc_feresetround_noexl_ctx): Define.
2990 2014-04-16  Richard Henderson  <rth@redhat.com>
2992         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2994         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2995         unwind tables.
2997         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2998         const from the non-libc, non-ldso copy.
3000         * sysdeps/alpha/libm-test-ulps: Regenerate.
3002 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3003             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3005         * sysdeps/aarch64/fpu/math_private.h: New file.
3007 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3009         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3011 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3013         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3014         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3016         Intel MPX bound registers before _dl_profile_fixup.
3017         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3018         registers after _dl_profile_fixup.  Save and restore bound
3019         registers bnd0/bnd1 when calling _dl_call_pltexit.
3020         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3021         (LR_BND_OFFSET): Likewise.
3022         (LRV_BND0_OFFSET): Likewise.
3023         (LRV_BND1_OFFSET): Likewise.
3025 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3027         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3028         to...
3029         * sysdeps/mach/hurd/i386/tls.h: ... here.
3030         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3031         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3032         fields.
3034 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3036         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3038 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3040         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3042 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3044         [BZ #14770]
3045         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3046         * sysdeps/s390/configure: Regenerate.
3048         [BZ #16824]
3049         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3050         Set round-to-nearest internally to reduce error accumulation.
3052 2014-04-16  Alan Modra  <amodra@gmail.com>
3054         [BZ #16740]
3055         [BZ #16619]
3056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3057         * math/libm-test.inc (frexp_test_data): Add tests.
3058         * NEWS: Update fixed bug list.
3060 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3062         * benchtests/Makefile: Depend on libraries in build directory.
3063         (bench-math): Separate out math tests.
3064         (bench-pthread): Separate out pthread tests.
3065         (bench): Include math and pthread tests.
3067 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3069         [BZ #16831]
3070         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3071         _dl_debug_initialize.
3073         * configure.ac: Remove SELinux header check.
3074         * configure: Regenerate.
3075         * nscd/selinux.c (perms): Array of const char* to permission names.
3076         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3077         default policy. Call string_to_security_class and string_to_av_perm to
3078         translate strings. Enforce default policy and call avs_has_perm with
3079         results of translated strings.
3081 2014-04-13  David S. Miller  <davem@davemloft.net>
3083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085 2014-04-12  Allan McRae  <allan@archlinux.org>
3087         [BZ #16838]
3088         * manual/string.texi (Collation Functions): Fix qsort argument
3089         order in example.
3090         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3092 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3094         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3095         Make the test a no-op if there are no exceptions defined.
3097 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3099         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3100         enable-hardcoded-path-in-tests
3102 2014-04-11  Will Newton  <will.newton@linaro.org>
3104         * benchtests/Makefile (extra-objs): Add json-lib.o.
3105         (bench-func): Tidy up JSON output.
3106         * benchtests/bench-skeleton.c: Include json-lib.h.
3107         (main): Use JSON library functions to do output of
3108         benchmark results.
3109         * benchtests/bench-timing-type.c (main): Output the
3110         timing type simply, leaving formatting to the user.
3111         * benchtests/json-lib.c: New file.
3112         * benchtests/json-lib.h: Likewise.
3114 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3116         [BZ #15215]
3117         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3118         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3119         memory barriers.  Add comments.
3120         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3121         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3122         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3123         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3124         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3125         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3127 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3129         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3130         * sysdeps/s390/s390-64/configure.ac: ... this ...
3131         * sysdeps/s390/configure.ac: ... to here.
3132         * sysdeps/s390/s390-32/configure: Delete file.
3133         * sysdeps/s390/s390-64/configure: Delete file.
3134         * sysdeps/s390/configure: Regenerate.
3136 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3138         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3140 2014-04-11  Will Newton  <will.newton@linaro.org>
3142         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3143         to zero if it is not defined elsewhere.  (mtrim): Test
3144         the value of MALLOC_DEBUG with #if rather than #ifdef.
3146 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3148         * benchtests/pthread_once-inputs: New file.
3149         * benchtests/pthread_once-source.c: New file.
3150         * benchtests/README: Update documentation.
3152 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3153             H.J. Lu  <hongjiu.lu@intel.com>
3155         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3156         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3157         * sysdeps/x86_64/configure: Regenerated.
3158         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3159         macro.
3160         (REGISTER_SAVE_RAX): Likewise.
3161         (REGISTER_SAVE_RCX): Likewise.
3162         (REGISTER_SAVE_RDX): Likewise.
3163         (REGISTER_SAVE_RSI): Likewise.
3164         (REGISTER_SAVE_RDI): Likewise.
3165         (REGISTER_SAVE_R8): Likewise.
3166         (REGISTER_SAVE_R9): Likewise.
3167         (REGISTER_SAVE_BND0): Likewise.
3168         (REGISTER_SAVE_BND1): Likewise.
3169         (REGISTER_SAVE_BND2): Likewise.
3170         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3171         bound registers when calling _dl_fixup.
3173 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3175         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3176         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3177         of its definition.
3178         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3179         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3180         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3181         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3182         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3183         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3184         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3186 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3188         [BZ #15514]
3189         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3190         pathconf(_PC_NAME_MAX).
3192 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3194         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3195         Remove macro usage.
3196         (__PTHREAD_SPINS): Move definition to ...
3197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3198         (__PTHREAD_SPINS): ... here.
3199         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3200         (__PTHREAD_SPIN): Likewise.
3201         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3202         (__PTHREAD_SPIN): Likewise.
3203         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3204         (__PTHREAD_SPIN): Likewise.
3205         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3206         (__PTHREAD_SPIN): Likewise.
3207         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3208         (__PTHREAD_SPIN): Likewise.
3209         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3210         (__PTHREAD_SPIN): Likewise.
3211         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3212         (__PTHREAD_SPIN): Likewise.
3213         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3214         (__PTHREAD_SPIN): Likewise.
3215         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3216         (__PTHREAD_SPIN): Likewise.
3217         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3218         (__PTHREAD_SPIN): Likewise.
3219         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3220         (__PTHREAD_SPIN): Likewise.
3221         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3222         (__PTHREAD_SPIN): Likewise.
3224         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3225         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3226         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3227         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3228         imply folder.
3229         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3230         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3231         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3232         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3233         correct imply path.
3234         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3235         strlen symbol for non multi-arch builds.
3236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3237         missing hidden_def and weak_alias.
3239 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3241         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3243 2014-04-07  Will Newton  <will.newton@linaro.org>
3245         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3246         and contents.  [!_LIBC] Remove #ifndef and contents.
3247         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3248         * string/memccpy.c (__memccpy): Use ANSI prototype.
3249         * string/memfrob.c (memfrob): Likewise.
3250         * string/strcoll.c (STRCOLL): Likewise.
3251         * string/strlen.c (strlen): Likewise.
3252         * string/strtok.c (STRTOK): Likewise.
3253         * string/strcat.c: Remove unused #include of memcopy.h.
3254         (strcat): Use ANSI prototype.
3255         * string/strchr.c: Remove unused #include of memcopy.h.
3256         (strchr): Use ANSI prototype.
3257         * string/strcmp.c: Remove unused #include of memcopy.h.
3258         (strcmp): Use ANSI prototype.
3259         * string/strcpy.c: Remove unused #include of memcopy.h.
3260         (strcpy): Use ANSI prototype.
3262 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3264         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3265         * config.make.in (config-extra-cppflags): Set it from
3266         libc_extra_cppflags.
3267         * configure.ac (libc_extra_cflags): Make it accumulate over
3268         configure fragments.
3269         (libc_extra_cppflags): New flag.
3270         * configure. Regenerate.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3272         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3273         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3276         [BZ #16815]
3277         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3278         result for FE_DOWNWARD rounding mode.
3279         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3280         Likewise.
3281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3283 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3285         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3286         in function argument name.
3288 2014-04-03  David Svoboda  <svoboda@cert.org>
3290         [BZ #5666]
3291         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3292         explicitly.
3294 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3296         * elf/dl-unmap-segments.h: New file.
3297         * sysdeps/generic/ldsodefs.h
3298         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3299         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3300         * elf/dl-fptr.c: Likewise.
3301         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3302         * sysdeps/aarch64/tlsdesc.c: Likewise.
3303         * sysdeps/arm/tlsdesc.c: Likewise.
3304         * sysdeps/i386/tlsdesc.c: Likewise.
3305         * sysdeps/tile/dl-runtime.c: Likewise.
3306         * sysdeps/x86_64/tlsdesc.c: Likewise.
3307         * elf/dl-load.h: New file.
3308         * elf/dl-load.c: Include it.
3309         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3310         Macros moved to dl-load.h.
3311         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3312         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3313         Use _dl_unmap_segments in place of __munmap.
3314         Break out segment-mapping loop into ...
3315         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3317 2014-04-03  Will Newton  <will.newton@linaro.org>
3319         * elf/dl-lookup.c (do_lookup_x): Remove comment
3320         referring to nested function and move variable
3321         declarations down to before first use.
3323 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3325         [BZ #16799]
3326         [BZ #16800]
3327         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3328         with 0 numerator.
3329         * math/s_catanf.c (__catanf): Likewise.
3330         * math/s_catanh.c (__catanh): Likewise.
3331         * math/s_catanhf.c (__catanhf): Likewise.
3332         * math/s_catanhl.c (__catanhl): Likewise.
3333         * math/s_catanl.c (__catanl): Likewise.
3334         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3335         by positive zero when computing -Inf result.
3336         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3337         (catanh_test): Likewise.
3338         * sysdeps/i386/fpu/libm-test-ulps: Update.
3339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341         [BZ #16789]
3342         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3343         instead of using underflowing value in computing result.
3344         * math/s_clog10.c (__clog10): Likewise.
3345         * math/s_clog10f.c (__clog10f): Likewise.
3346         * math/s_clog10l.c (__clog10l): Likewise.
3347         * math/s_clogf.c (__clogf): Likewise.
3348         * math/s_clogl.c (__clogl): Likewise.
3349         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3350         (clog10_test): Likewise.
3351         * sysdeps/i386/fpu/libm-test-ulps: Update.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354 2014-04-02  Alan Modra  <amodra@gmail.com>
3356         [BZ #16739]
3357         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3358         output when value is near a power of two.  Use int64_t for lx and
3359         remove casts.  Use decimal rather than hex exponent constants.
3360         Don't use long double multiplication when double will suffice.
3361         * math/libm-test.inc (nextafter_test_data): Add tests.
3362         * NEWS: Add 16739 and 16786 to bug list.
3364         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3366         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3368 2014-04-01  Will Newton  <will.newton@linaro.org>
3370         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3371         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3373 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3375         [BZ #13347]
3376         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3377         * nptl/tst-setuid2.c: New file.
3378         * nptl/Makefile (xtests): Add tst-setuid2.
3380 2014-04-01  Alan Modra  <amodra@gmail.com>
3382         [BZ #16786]
3383         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3385 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #6803]
3388         [BZ #6804]
3389         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3390         set errno as appropriate.
3391         * math/w_scalbf.c (__scalbf): Likewise.
3392         * math/w_scalbl.c (__scalbl): Likewise.
3393         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3394         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3395         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3396         Add more NaN tests.
3398         [BZ #16349]
3399         * math/w_atan2.c: Include <errno.h>.
3400         (__atan2): Set errno for result underflowing to zero.
3401         * math/w_atan2f.c: Include <errno.h>.
3402         (__atan2f): Set errno for result underflowing to zero.
3403         * math/w_atan2l.c: Include <errno.h>.
3404         (__atan2l): Set errno for result underflowing to zero.
3405         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3406         tests.
3407         * math/auto-libm-test-out: Regenerated.
3409 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3411         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3412         Encode instruction correctly in little endian.
3413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3414         Likewise.
3415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3416         Likewise.
3417         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3418         Likewise.
3419         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3420         Likewise.
3422 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3424         [BZ #9894]
3425         * sysdeps/unix/sysv/linux/kernel-features.h
3426         [__sparc__ && !__arch64__ && !__sparc_v9__]
3427         (__ASSUME_SET_ROBUST_LIST): Do not define.
3428         [__sparc__ && !__arch64__ && !__sparc_v9__]
3429         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3430         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3431         Likewise.
3432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3433         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3434         (__ASSUME_REQUEUE_PI): Likewise.
3435         (__ASSUME_SET_ROBUST_LIST): Likewise.
3436         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3437         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3438         Undefine.
3439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3441         Likewise.
3442         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3443         Likewise.
3444         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3445         Likewise.
3446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3447         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3448         Undefine.
3449         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3450         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3451         Likewise.
3453         [BZ #16648]
3454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3456         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3458 2014-03-31  Will Newton  <will.newton@linaro.org>
3460         * benchtests/Makefile (bench): Add ffs and ffsll to list
3461         of tests.
3462         * benchtests/ffs-inputs: New file.
3463         * benchtests/ffsll-inputs: Likewise.
3465 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3467         [BZ #16770]
3468         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3469         too large before casting to int.
3470         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3471         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3472         * math/libm-test.inc (scalb_test_data): Add more tests.
3474 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3476         * benchtests/Makefile (DETAILED_OPT): New make option.
3477         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3478         set.
3479         * benchtests/bench-skeleton.c: Include stdbool.h.
3480         (main): Store and print timings per input.
3481         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3482         member to each argument value.
3483         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3484         (_print_arg_data): Initialize per-input timing to 0.
3486         * benchtests/Makefile (timing-type): New binary.
3487         (bench-clean): Also remove bench-timing-type.
3488         (bench): New target for timing-type.
3489         (bench-func): Print output in JSON format.
3490         * benchtests/bench-skeleton.c (main): Print output in JSON
3491         format.
3492         * benchtests/bench-timing-type.c: New file.
3493         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3494         (TIMING_PRINT_STATS): Remove.
3495         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3496         name separately.
3498         * benchtests/bench-modf.c: Remove.
3499         * benchtests/modf-inputs: New inputs file.
3501 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3503         [BZ #16362]
3504         * math/s_clog10.c (M_PI_LOG10E): New macro.
3505         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3506         imaginary parts are 0.
3507         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3508         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3509         imaginary parts are 0.
3510         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3511         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3512         imaginary parts are 0.
3513         * math/libm-test.inc (clog10_test_data): Update expected results
3514         for when real and imaginary parts are 0.
3516 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3518         * elf/dl-load.c: Finish conversion of __builtin_expect into
3519         __glibc_{un}likely.
3521 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3523         [BZ #16348]
3524         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3525         1+x for argument with exponent below -67.
3526         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3527         Likewise.
3528         * math/auto-libm-test-in: Add more tests of exp.
3529         * math/auto-libm-test-out: Regenerated.
3531 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3533         [BZ #16759]
3534         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3535         (nscd_getnetgrent): Use it.
3537         [BZ #16760]
3538         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3539         of stpcpy.
3541 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3543         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3544         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3545         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3546         (lll_robust_unlock): Remove out of line section. Use cfi
3547         intrinsics.
3548         (LLL_STUB_UNWIND_INFO*): Remove.
3549         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3550         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3551         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3552         (lll_robust_unlock): Remove out of line section. Use cfi
3553         intrinsics.
3554         (LLL_STUB_UNWIND_INFO*): Remove.
3556 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3558         [BZ #16758]
3559         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3560         blank values.
3562 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3564         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3566 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3568         [BZ #16198]
3569         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3570         fnstenv.
3571         * math/test-fenv-preserve.c: New file.
3572         * math/Makefile (tests): Add test-fenv-preserve.
3574 2014-03-26  Will Newton <will.newton@linaro.org>
3576         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3578 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3580         * scripts/versionlist.awk: Partition the version sets and emit all
3581         GLIBC_* (sorted) before all others (sorted).
3583 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3585         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3586         GLIBC_2.2.5 version.
3588 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3590         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3591         calls.
3593         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3594         previous change.
3596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3598 2014-03-25  Andreas Schwab  <schwab@suse.de>
3600         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3601         label to be used after in6ailist is initialized.
3603 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3605         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3606         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3608 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3610         [BZ #16357]
3611         [BZ #16599]
3612         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3613         min_plus_half.
3614         (fp_formats): Update initializers.
3615         (init_fp_formats): Initialize new field.
3616         (output_for_one_input_case): Allow underflow for results up to
3617         min_plus_half.
3618         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3619         * math/auto-libm-test-in: Don't mark some underflows from asin and
3620         atanh as spurious.
3621         * math/auto-libm-test-out: Regenerated.
3622         * sysdeps/i386/fpu/libm-test-ulps: Update.
3623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3625 2014-03-25  Andreas Schwab  <schwab@suse.de>
3627         * libio/Makefile (tst-ftell-partial-wide-ENV)
3628         (tst-ftell-active-handler-ENV): Define.
3630 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3632         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3634 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3636         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3638 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3640         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3641         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3642         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3644 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3646         [BZ #16634]
3647         * elf/dl-load.c (open_verify): Add mode parameter.
3648         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3649         (open_path): Change from boolean 'secure' to complete flag 'mode'
3650         (_dl_map_object): Adjust.
3651         * elf/Makefile (tests): Add tst-dlopen-aout.
3652         * elf/tst-dlopen-aout.c: New test.
3654 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3656         [BZ #16714]
3657         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3658         (struct stat): Rename member pad0 to __glibc_reserved0.
3660         [BZ #16712]
3661         * sysdeps/s390/s390-32/bits/wordsize.h
3662         (__WORDSIZE32_SIZE_ULONG): New define.
3663         * sysdeps/s390/s390-64/bits/wordsize.h
3664         (__WORDSIZE32_SIZE_ULONG): Likewise.
3665         * sysdeps/generic/stdint.h (SIZE_MAX):
3666         Define as UL if __WORDSIZE32_SIZE_ULONG.
3668         [BZ #16713]
3669         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3670         (__glibc_reserved0): New variable.
3671         (sa_flags): Change type to int.
3673         * posix/Makefile (before-compile): Use += before-compile instead
3674         of a :=.
3676         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3677         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3679 2014-03-20  Andreas Schwab  <schwab@suse.de>
3681         [BZ #16743]
3682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3683         non-matching result from nscd.
3685 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3687         * scripts/bench.py: Moved to ...
3688         * benchtests/scripts/bench.py: ... here.
3689         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3691 2014-03-24  Andreas Schwab  <schwab@suse.de>
3693         [BZ #16002]
3694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3695         alloca_account and account alloca use for struct in6ailist.
3697 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3699         [BZ #16284]
3700         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3701         rounding mode to recompute results that overflow to infinity or
3702         underflow to zero.
3703         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3704         bug 16284.
3705         * math/auto-libm-test-out: Regenerated.
3706         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3707         (ccosh_test): Likewise.
3708         (csin_test_data): Use plus_oflow.
3709         (csin_test): Use ALL_RM_TEST.
3710         (csinh_test_data): Use plus_oflow.
3711         (csinh_test): Use ALL_RM_TEST.
3712         * sysdeps/i386/fpu/libm-test-ulps: Update.
3713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3715 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3717         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3718         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3719         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3721         [BZ #16731]
3722         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3723         when x - 1 is zero.
3724         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3725         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3726         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3728         argument is 1.
3729         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3730         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3731         zero.
3732         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3733         * sysdeps/i386/fpu/libm-test-ulps: Update.
3734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3736 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3738         * scripts/bench.pl: Remove file.
3739         * scripts/bench.py: New benchmark script.
3740         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3741         * benchtests/README: Mention python dependency.
3742         * scripts/pylintrc: New file.
3743         * scripts/pylint: New file.
3745         * bits/mathdef.h: Use #ifdef instead of #if.
3746         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3747         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3748         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3749         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3750         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3751         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3753 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3754             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3756         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3758         and strpbrk-ppc64 objects.
3759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3760         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3761         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3762         multiarch strpbrk for POWER7.
3763         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3764         multiarch strpbrk for PPC64.
3765         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3766         ifunc selector.
3767         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3768         strpbrk for POWER7.
3770 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3772         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3773         (atan_test): Likewise.
3774         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3775         (atanh_test): Use ALL_RM_TEST.
3776         (atan2_test_data): Likewise.
3777         (cabs_test): Likewise.
3778         (cacosh_test): Likewise.
3779         (carg_test): Likewise.
3780         (casin_test): Likewise.
3781         (casinh_test): Likewise.
3782         (cbrt_test): Likewise.
3783         (csqrt_test): Likewise.
3784         (erf_test): Likewise.
3785         (erfc_test): Likewise.
3786         (pow10_test): Likewise.
3787         (exp2_test): Likewise.
3788         (hypot_test): Likewise.
3789         (j0_test): Likewise.
3790         (j1_test): Likewise.
3791         (lgamma_test): Likewise.
3792         (gamma_test): Likewise.
3793         (sincos_test): Likewise.
3794         (tanh_test): Likewise.
3795         (y0_test): Likewise.
3796         (y1_test): Likewise.
3797         * sysdeps/i386/fpu/libm-test-ulps: Update.
3798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3802         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3804         and strcspn-ppc64 objects.
3805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3806         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3807         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3808         multiarch strcspn for POWER7.
3809         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3810         multiarch strcspn for PPC64.
3811         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3812         ifunc selector.
3813         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3814         strcspn for POWER7.
3816 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3818         * math/gen-libm-test.pl (generate_testfile): Expect only function
3819         name as argument to AUTO_TESTS_* and pass results for all rounding
3820         modes to parse_args.
3821         (parse_auto_input): Separate inputs of automatic tests from
3822         outputs before storing in %auto_tests.
3823         * math/libm-test.inc (acos_test_data): Update call to
3824         AUTO_TESTS_f_f.
3825         (acos_test): Use ALL_RM_TEST.
3826         (acos_tonearest_test_data): Remove.
3827         (acos_test_tonearest): Likewise.
3828         (acos_towardzero_test_data): Likewise.
3829         (acos_test_towardzero): Likewise.
3830         (acos_downward_test_data): Likewise.
3831         (acos_test_downward): Likewise.
3832         (acos_upward_test_data): Likewise.
3833         (acos_test_upward): Likewise.
3834         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3835         (asin_test_data): Likewise.
3836         (asin_test): Use ALL_RM_TEST.
3837         (asin_tonearest_test_data): Remove.
3838         (asin_test_tonearest): Likewise.
3839         (asin_towardzero_test_data): Likewise.
3840         (asin_test_towardzero): Likewise.
3841         (asin_downward_test_data): Likewise.
3842         (asin_test_downward): Likewise.
3843         (asin_upward_test_data): Likewise.
3844         (asin_test_upward): Likewise.
3845         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3846         (atan_test_data): Likewise.
3847         (atanh_test_data): Likewise.
3848         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3849         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3850         (carg_test_data): Likewise.
3851         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3852         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3853         (ccosh_test_data): Likewise.
3854         (cexp_test_data): Likewise.
3855         (clog_test_data): Likewise.
3856         (clog10_test_data): Likewise.
3857         (cos_test_data): Update call to AUTO_TESTS_f_f.
3858         (cos_test): Use ALL_RM_TEST.
3859         (cos_tonearest_test_data): Remove.
3860         (cos_test_tonearest): Likewise.
3861         (cos_towardzero_test_data): Likewise.
3862         (cos_test_towardzero): Likewise.
3863         (cos_downward_test_data): Likewise.
3864         (cos_test_downward): Likewise.
3865         (cos_upward_test_data): Likewise.
3866         (cos_test_upward): Likewise.
3867         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3868         (cosh_test): Use ALL_RM_TEST.
3869         (cosh_tonearest_test_data): Remove.
3870         (cosh_test_tonearest): Likewise.
3871         (cosh_towardzero_test_data): Likewise.
3872         (cosh_test_towardzero): Likewise.
3873         (cosh_downward_test_data): Likewise.
3874         (cosh_test_downward): Likewise.
3875         (cosh_upward_test_data): Likewise.
3876         (cosh_test_upward): Likewise.
3877         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3878         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3879         (ctan_test_data): Likewise.
3880         (ctan_test): Use ALL_RM_TEST.
3881         (ctan_tonearest_test_data): Remove.
3882         (ctan_test_tonearest): Likewise.
3883         (ctan_towardzero_test_data): Likewise.
3884         (ctan_test_towardzero): Likewise.
3885         (ctan_downward_test_data): Likewise.
3886         (ctan_test_downward): Likewise.
3887         (ctan_upward_test_data): Likewise.
3888         (ctan_test_upward): Likewise.
3889         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3890         (ctanh_test): Use ALL_RM_TEST.
3891         (ctanh_tonearest_test_data): Remove.
3892         (ctanh_test_tonearest): Likewise.
3893         (ctanh_towardzero_test_data): Likewise.
3894         (ctanh_test_towardzero): Likewise.
3895         (ctanh_downward_test_data): Likewise.
3896         (ctanh_test_downward): Likewise.
3897         (ctanh_upward_test_data): Likewise.
3898         (ctanh_test_upward): Likewise.
3899         (erf_test_data): Update call to AUTO_TESTS_f_f.
3900         (erfc_test_data): Likewise.
3901         (exp_test_data): Likewise.
3902         (exp_test): Use ALL_RM_TEST.
3903         (exp_tonearest_test_data): Remove.
3904         (exp_test_tonearest): Likewise.
3905         (exp_towardzero_test_data): Likewise.
3906         (exp_test_towardzero): Likewise.
3907         (exp_downward_test_data): Likewise.
3908         (exp_test_downward): Likewise.
3909         (exp_upward_test_data): Likewise.
3910         (exp_test_upward): Likewise.
3911         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3912         (exp10_test): Use ALL_RM_TEST.
3913         (exp10_tonearest_test_data): Remove.
3914         (exp10_test_tonearest): Likewise.
3915         (exp10_towardzero_test_data): Likewise.
3916         (exp10_test_towardzero): Likewise.
3917         (exp10_downward_test_data): Likewise.
3918         (exp10_test_downward): Likewise.
3919         (exp10_upward_test_data): Likewise.
3920         (exp10_test_upward): Likewise.
3921         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3922         (expm1_test_data): Likewise.
3923         (expm1_test): Use ALL_RM_TEST.
3924         (expm1_tonearest_test_data): Remove.
3925         (expm1_test_tonearest): Likewise.
3926         (expm1_towardzero_test_data): Likewise.
3927         (expm1_test_towardzero): Likewise.
3928         (expm1_downward_test_data): Likewise.
3929         (expm1_test_downward): Likewise.
3930         (expm1_upward_test_data): Likewise.
3931         (expm1_test_upward): Likewise.
3932         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3933         (fma_test): Use ALL_RM_TEST.
3934         (fma_towardzero_test_data): Remove.
3935         (fma_test_towardzero): Likewise.
3936         (fma_downward_test_data): Likewise.
3937         (fma_test_downward): Likewise.
3938         (fma_upward_test_data): Likewise.
3939         (fma_test_upward): Likewise.
3940         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3941         (j0_test_data): Update call to AUTO_TESTS_f_f.
3942         (j1_test_data): Likewise.
3943         (jn_test_data): Update call to AUTO_TESTS_if_f.
3944         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3945         (log_test_data): Update call to AUTO_TESTS_f_f.
3946         (log10_test_data): Likewise.
3947         (log1p_test_data): Likewise.
3948         (log2_test_data): Likewise.
3949         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3950         (pow_tonearest_test_data): Likewise.
3951         (sin_test_data): Update call to AUTO_TESTS_f_f.
3952         (sin_test): Use ALL_RM_TEST.
3953         (sin_tonearest_test_data): Remove.
3954         (sin_test_tonearest): Likewise.
3955         (sin_towardzero_test_data): Likewise.
3956         (sin_test_towardzero): Likewise.
3957         (sin_downward_test_data): Likewise.
3958         (sin_test_downward): Likewise.
3959         (sin_upward_test_data): Likewise.
3960         (sin_test_upward): Likewise.
3961         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3962         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3963         (sinh_test): Use ALL_RM_TEST.
3964         (sinh_tonearest_test_data): Remove.
3965         (sinh_test_tonearest): Likewise.
3966         (sinh_towardzero_test_data): Likewise.
3967         (sinh_test_towardzero): Likewise.
3968         (sinh_downward_test_data): Likewise.
3969         (sinh_test_downward): Likewise.
3970         (sinh_upward_test_data): Likewise.
3971         (sinh_test_upward): Likewise.
3972         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3973         (sqrt_test): Use ALL_RM_TEST.
3974         (sqrt_tonearest_test_data): Remove.
3975         (sqrt_test_tonearest): Likewise.
3976         (sqrt_towardzero_test_data): Likewise.
3977         (sqrt_test_towardzero): Likewise.
3978         (sqrt_downward_test_data): Likewise.
3979         (sqrt_test_downward): Likewise.
3980         (sqrt_upward_test_data): Likewise.
3981         (sqrt_test_upward): Likewise.
3982         (tan_test_data): Update call to AUTO_TESTS_f_f.
3983         (tan_test): Use ALL_RM_TEST.
3984         (tan_tonearest_test_data): Remove.
3985         (tan_test_tonearest): Likewise.
3986         (tan_towardzero_test_data): Likewise.
3987         (tan_test_towardzero): Likewise.
3988         (tan_downward_test_data): Likewise.
3989         (tan_test_downward): Likewise.
3990         (tan_upward_test_data): Likewise.
3991         (tan_test_upward): Likewise.
3992         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3993         (tgamma_test_data): Likewise.
3994         (y0_test_data): Likewise.
3995         (y1_test_data): Likewise.
3996         (yn_test_data): Update call to AUTO_TESTS_if_f.
3997         (main): Do not call removed functions.
3999 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4001         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4002         (ldexp_test_data): Remove.
4003         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4004         scalbn_test_data.
4005         (scalb_test): Use ALL_RM_TEST.
4007 2014-03-19  Andreas Schwab  <schwab@suse.de>
4009         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4011 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4013         [BZ #16649]
4014         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4015         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4016         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4018         (__ASSUME_PREADV): Undefine.
4019         (__ASSUME_PWRITEV): Likewise.
4021 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4023         * bits/mman-linux.h: Add comment about non-Linux use.
4024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4025         bits/mman-linux.h resting place.
4027         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4028         * bits/mman-linux.h: ... here.
4030 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4032         * conform/conformtest.pl: Add standard definition when calling C
4033         preprocessor on data files.
4034         (checknamespace): Remove unused variable.
4036 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4038         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4039         minus_oflow, plus_uflow and minus_uflow in expected results.
4040         * math/libm-test.inc (scalbn_test_data): Add more tests of
4041         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4042         minus_uflow.
4043         (scalbn_test): Use ALL_RM_TEST.
4044         (scalbln_test_data): Add more tests of negative arguments.  Use
4045         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4046         (scalbln_test): Use ALL_RM_TEST.
4048 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4050         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4052 2014-03-18  Will Newton  <will.newton@linaro.org>
4054         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4055         inaccurate comment.
4057 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4059         * Makerules [!subdir] (check-abi): Exit with error status if a
4060         test failed.
4062 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4064         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4065         for rint.  Include results for all rounding modes.
4066         (nearbyint_test): Use ALL_RM_TEST.
4067         (rint_test_data): Include all tests used for nearbyint.
4069 2014-03-17  Will Newton  <will.newton@linaro.org>
4071         * nptl/sysdeps/pthread/pthread.h: Revert previous
4072         change.
4074         * sysdeps/generic/ldsodefs.h: Revert previous
4075         change.
4077         * libio/genops.c: Revert previous change.
4078         * libio/libioP.h: Likewise.
4079         * stdio-common/vfprintf.c: Likewise.
4081         * sysdeps/generic/math_private.h: Revert previous
4082         change.
4084         * sysdeps/generic/math_private.h: Check whether
4085         HAVE_RM_CTX is defined with #ifdef rather
4086         than #if.
4088         * argp/argp-fmtstream.h: Check whether
4089         __STRICT_ANSI__ is defined with #ifdef rather
4090         than #if.
4091         * argp/argp.h: Likewise.
4093         * libio/genops.c: Check whether
4094         _IO_JUMPS_OFFSET is defined with #ifdef rather
4095         than #if.
4096         * libio/libioP.h: Likewise.
4097         * stdio-common/vfprintf.c: Likewise.
4099         * sysdeps/generic/ldsodefs.h: Check whether
4100         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4101         than #if.
4103         * nptl/sysdeps/pthread/pthread.h: Check
4104         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4105         its value.
4107 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4109         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4110         setting O_APPEND.
4111         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4112         test case.
4114         [BZ #16680]
4115         * libio/fileops.c (_IO_file_open): Seek to end of file but
4116         don't cache the offset.
4117         (get_file_offset): Remove function.
4118         (do_ftell): Use cached offset when available.
4119         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4120         don't cache the offset.
4121         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4122         case.
4123         (do_one_test): Call it.
4124         (do_ftell_test): Fix up expected old offset for a+ mode.
4125         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4126         available.
4128         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4129         up test status with function return status.
4130         (do_write_test): Likewise.
4131         (do_append_test): Likewise.
4133         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4134         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4135         Remove.
4137 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4139         * math/gen-libm-test.pl (parse_args): Handle results specified for
4140         each rounding mode separately.
4141         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4142         tests and results from lrint_tonearest_test_data,
4143         lrint_towardzero_test_data, lrint_downward_test_data and
4144         lrint_upward_test_data.
4145         (lrint_test): Use ALL_RM_TEST.
4146         (lrint_tonearest_test_data): Remove.
4147         (lrint_test_tonearest): Likewise.
4148         (lrint_towardzero_test_data): Likewise.
4149         (lrint_test_towardzero): Likewise.
4150         (lrint_downward_test_data): Likewise.
4151         (lrint_test_downward): Likewise.
4152         (lrint_upward_test_data): Likewise.
4153         (lrint_test_upward): Likewise.
4154         (llrint_test_data): Merge in per-rounding-mode tests and results
4155         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4156         llrint_downward_test_data and llrint_upward_test_data.
4157         (llrint_test): Use ALL_RM_TEST.
4158         (llrint_tonearest_test_data): Remove.
4159         (llrint_test_tonearest): Likewise.
4160         (llrint_towardzero_test_data): Likewise.
4161         (llrint_test_towardzero): Likewise.
4162         (llrint_downward_test_data): Likewise.
4163         (llrint_test_downward): Likewise.
4164         (llrint_upward_test_data): Likewise.
4165         (llrint_test_upward): Likewise.
4166         (rint_test_data): Merge in per-rounding-mode tests and results
4167         from rint_tonearest_test_data, rint_towardzero_test_data,
4168         rint_downward_test_data and rint_upward_test_data.  Add
4169         per-rounding-mode results for tests not in those arrays.
4170         (rint_test): Use ALL_RM_TEST.
4171         (rint_tonearest_test_data): Remove.
4172         (rint_test_tonearest): Likewise.
4173         (rint_towardzero_test_data): Likewise.
4174         (rint_test_towardzero): Likewise.
4175         (rint_downward_test_data): Likewise.
4176         (rint_test_downward): Likewise.
4177         (rint_upward_test_data): Likewise.
4178         (rint_test_upward): Likewise.
4179         (main): Don't call removed functions.
4181 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4183         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4184         "Compiled on ..." crapola.  It is anti-useful.
4186 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4188         * scripts/evaluate-test.sh: Handle fourth argument to determine
4189         whether test run should stop on failure.
4190         * Makeconfig (stop-on-test-failure): New variable.
4191         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4192         $(stop-on-test-failure).
4193         * Makefile (tests): Give a summary of results from testing and
4194         exit with failure status if they include an ERROR or FAIL.
4195         (xtests): Likewise.
4196         * manual/install.texi (Configuring and compiling): Mention
4197         stop-on-test-failure=y.
4198         * INSTALL: Regenerated.
4200 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4202         * scripts/versionlist.awk: New file.
4203         * Makerules [$(build-shared) = yes]
4204         (postclean-generated): Add Versions.def, not Versions.def.v and
4205         Versions.def.v.i.
4206         ($(common-objpfx)Versions.def.v.i): Target removed.
4207         ($(common-objpfx)Versions.def): New target.
4208         ($(common-objpfx)Versions.all): Depend on that rather that
4209         $(common-objpfx)Versions.def.v.
4210         * Versions.def: File removed.
4212         * Makeconfig (+gccwarn): Add -Wundef.
4213         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4214         a dl-sysdep.h breaking its contract.
4215         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4216         * include/stackinfo.h: New file.
4217         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4218         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4219         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4220         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4221         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4222         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4223         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4224         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4225         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4226         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4227         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4228         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4229         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4230         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4231         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4233 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4235         [BZ #16707]
4236         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4237         implementation.
4238         * math/libm-test.inc (round_test_data): Add more tests.
4240         [BZ #16706]
4241         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4242         implementation.
4243         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4245         [BZ #16701]
4246         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4247         implementation.
4248         * math/libm-test.inc (ceil_test_data): Add more tests.
4250         * math/libm-test.inc (trunc_test_data): Add more tests related to
4251         BZ#16414.
4253 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4255         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4256         with #if rather than #ifdef.
4257         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4259 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4261         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4262         first.  Disable AVX-512 GCC support if assembler doesn't support
4263         it.
4264         * sysdeps/x86_64/configure: Regenerated.
4266 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4268         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4269         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4270         (__old_pthread_attr_setstack): Likewise.
4271         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4272         [!_STACK_GROWS_DOWN]: Likewise.
4274 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4276         * config.make.in (have-bash2): Delete.
4277         * configure.ac (libc_cv_have_bash2): Delete.
4278         * configure: Regenerate.
4279         * elf/Makefile (common-ldd-rewrite): Rename to ...
4280         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4281         (sh-ldd-rewrite): Delete.
4282         (bash-ldd-rewrite): Delete.
4283         (have-bash2): Delete checks.
4284         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4285         ldd-rewrite.
4287         * config.make.in (have-ksh): Delete.
4288         (KSH): Delete.
4289         * configure.ac (libc_cv_have_ksh): Delete.
4290         * configure: Regenerate.
4292         * elf/Makefile: Delete $(have-ksh) check.
4293         ($(objpfx)sotruss): Change KSH to BASH.
4294         * elf/sotruss.ksh: Rename to ...
4295         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4296         function style to match POSIX.  Drop ksh vim mode setting.
4298         * manual/time.texi (Specifying the Time Zone with TZ): Change
4299         Tuesday to Thursday.
4301         * debug/tst-longjmp_chk2.c: Update header comment.
4302         (stackoverflow_handler): Add comment.  Call assert on pass value.
4304 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4306         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4307         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4308         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4309         (La_x86_64_vector): Add zmm.
4310         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4311         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4312         ($(objpfx)tst-audit10): New target.
4313         ($(objpfx)tst-audit10.out): Likewise.
4314         (tst-audit10-ENV): New.
4315         (AVX512-CFLAGS): Likewise.
4316         (CFLAGS-tst-audit10.c): Likewise.
4317         (CFLAGS-tst-auditmod10a.c): Likewise.
4318         (CFLAGS-tst-auditmod10b.c): Likewise.
4319         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4320         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4321         * sysdeps/x86_64/configure: Regenerated.
4322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4323         AVX-512 zmm register support.
4324         (_dl_x86_64_save_sse): Likewise.
4325         (_dl_x86_64_restore_sse): Likewise.
4326         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4327         size vector registers.
4328         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4329         (ZMM_SIZE): Likewise.
4330         * sysdeps/x86_64/tst-audit10.c: New file.
4331         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4332         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4334 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4336         * configure.ac (HAVE_EHDR_START): New check.
4337         * configure: Regenerated.
4338         * config.h.in (HAVE_EHDR_START): New #undef.
4339         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4340         assuming the lowest-addressed segment maps the start of the file.
4342 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4344         * INSTALL: Regenerated.
4346 2014-03-13  Will Newton  <will.newton@linaro.org>
4348         * manual/setjmp.texi (System V contexts): Improve
4349         clarity and grammar of documentation.
4351 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4353         [BZ #16381]
4354         * elf/Makefile (tests): Add tst-pie2.
4355         (tests-pie): Add tst-pie2.
4356         * elf/tst-pie2.c: New file.
4357         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4358         for ET_EXEC.
4359         * elf/rtld.c (map_doit): Load executable as lt_executable.
4360         (dl_main): Likewise.
4362 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4364         [BZ #16642]
4365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4366         (__ASSUME_PSELECT): Undefine.
4368 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4370         [BZ #16689]
4371         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4372         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4373         static build.
4374         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4375         selector for static builds.
4377 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4379         [BZ #16695]
4380         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4381         key in the buffer.
4383 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4385         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4386         IFUNC selector for static builds.
4388 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4390         * sysdeps/mips/math_private.h [__mips_hard_float]
4391         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4392         libc_feresetround_mips_ctx.
4393         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4394         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4395         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4397         [BZ #16677]
4398         * math/s_nextafter.c (__nextafter): Do not return value from
4399         overflowing computation.
4400         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4401         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4402         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4403         Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4405         Likewise.
4406         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4407         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4409 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4411         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4412         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4413         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4414         the new mov targetting sp.
4416 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4418         [BZ #16683]
4419         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4420         Define it for static builds as well.
4421         (NO_BZERO_IMPL): Likewise.
4423 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4425         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4426         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4427         multiarch strspn for PPC64.
4428         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4429         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4431         (__libc_ifunc_impl_list): Likewise.
4432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4433         multiarch optimizations
4434         * string/strspn.c (strspn): Using macro to redefine symbol name.
4436 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4439         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4440         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4441         multiarch strncat for PPC64.
4442         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4443         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4445         (__libc_ifunc_impl_list): Likewise.
4446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4447         multiarch optimizations
4449 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4451         [BZ #16639]
4452         * nscd/nscd.service: Make service type forking.
4454 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4456         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4457         sign in non default rounding modes.
4458         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4460 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4462         * math/libm-test.inc (ALL_RM_TEST): New macro.
4463         (ceil_test): Use ALL_RM_TEST.
4464         (cimag_test): Likewise.
4465         (conj_test): Likewise.
4466         (copysign_test): Likewise.
4467         (cproj_test): Likewise.
4468         (creal_test): Likewise.
4469         (fabs_test): Likewise.
4470         (floor_test): Likewise.
4471         (fmax_test): Likewise.
4472         (fmin_test): Likewise.
4473         (fmod_test): Likewise.
4474         (fpclassify_test): Likewise.
4475         (frexp_test): Likewise.
4476         (ilogb_test): Likewise.
4477         (isfinite_test): Likewise.
4478         (finite_test): Likewise.
4479         (isgreater_test): Likewise.
4480         (isgreaterequal_test): Likewise.
4481         (isinf_test): Likewise.
4482         (isless_test): Likewise.
4483         (islessequal_test): Likewise.
4484         (islessgreater_test): Likewise.
4485         (isnan_test): Likewise.
4486         (isnormal_test): Likewise.
4487         (issignaling_test): Likewise.
4488         (isunordered_test): Likewise.
4489         (logb_test): Likewise.
4490         (logb_downward_test_data): Remove.
4491         (logb_test_downward): Likewise.
4492         (lround_test): Use ALL_RM_TEST.
4493         (llround_test): Likewise.
4494         (modf_test): Likewise.
4495         (nexttoward_test): Likewise.
4496         (remainder_test): Likewise.
4497         (drem_test): Likewise.
4498         (remainder_tonearest_test_data): Likewise.
4499         (remainder_test_tonearest): Likewise.
4500         (drem_test_tonearest): Likewise.
4501         (remainder_towardzero_test_data): Likewise.
4502         (remainder_test_towardzero): Likewise.
4503         (drem_test_towardzero): Likewise.
4504         (remainder_downward_test_data): Likewise.
4505         (remainder_test_downward): Likewise.
4506         (drem_test_downward): Likewise.
4507         (remainder_upward_test_data): Likewise.
4508         (remainder_test_upward): Likewise.
4509         (drem_test_upward): Likewise.
4510         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4511         (round_test): Use ALL_RM_TEST.
4512         (signbit_test): Likewise.
4513         (trunc_test): Likewise.
4514         (significand_test): Likewise.
4515         (main): Don't call removed functions.
4517 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4519         [BZ #16674]
4520         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4521         || __USE_XOPEN2K8].
4522         (ILL_ILLOPN): Likewise.
4523         (ILL_ILLADR): Likewise.
4524         (ILL_ILLTRP): Likewise.
4525         (ILL_PRVOPC): Likewise.
4526         (ILL_PRVREG): Likewise.
4527         (ILL_COPROC): Likewise.
4528         (ILL_BADSTK): Likewise.
4529         (FPE_INTDIV): Likewise.
4530         (FPE_INTOVF): Likewise.
4531         (FPE_FLTDIV): Likewise.
4532         (FPE_FLTOVF): Likewise.
4533         (FPE_FLTUND): Likewise.
4534         (FPE_FLTRES): Likewise.
4535         (FPE_FLTINV): Likewise.
4536         (FPE_FLTSUB): Likewise.
4537         (SEGV_MAPERR): Likewise.
4538         (SEGV_ACCERR): Likewise.
4539         (BUS_ADRALN): Likewise.
4540         (BUS_ADRERR): Likewise.
4541         (BUS_OBJERR): Likewise.
4542         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4543         (TRAP_TRACE): Likewise.
4544         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4545         __USE_XOPEN2K8].
4546         (CLD_KILLED): Likewise.
4547         (CLD_DUMPED): Likewise.
4548         (CLD_TRAPPED): Likewise.
4549         (CLD_STOPPED): Likewise.
4550         (CLD_CONTINUED): Likewise.
4551         (POLL_IN): Likewise.
4552         (POLL_OUT): Likewise.
4553         (POLL_MSG): Likewise.
4554         (POLL_ERR): Likewise.
4555         (POLL_PRI): Likewise.
4556         (POLL_HUP): Likewise.
4557         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4558         Likewise.
4559         (ILL_ILLOPN): Likewise.
4560         (ILL_ILLADR): Likewise.
4561         (ILL_ILLTRP): Likewise.
4562         (ILL_PRVOPC): Likewise.
4563         (ILL_PRVREG): Likewise.
4564         (ILL_COPROC): Likewise.
4565         (ILL_BADSTK): Likewise.
4566         (FPE_INTDIV): Likewise.
4567         (FPE_INTOVF): Likewise.
4568         (FPE_FLTDIV): Likewise.
4569         (FPE_FLTOVF): Likewise.
4570         (FPE_FLTUND): Likewise.
4571         (FPE_FLTRES): Likewise.
4572         (FPE_FLTINV): Likewise.
4573         (FPE_FLTSUB): Likewise.
4574         (SEGV_MAPERR): Likewise.
4575         (SEGV_ACCERR): Likewise.
4576         (BUS_ADRALN): Likewise.
4577         (BUS_ADRERR): Likewise.
4578         (BUS_OBJERR): Likewise.
4579         (BUS_MCEERR_AR): Likewise.
4580         (BUS_MCEERR_AO): Likewise.
4581         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4582         (TRAP_TRACE): Likewise.
4583         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4584         __USE_XOPEN2K8].
4585         (CLD_KILLED): Likewise.
4586         (CLD_DUMPED): Likewise.
4587         (CLD_TRAPPED): Likewise.
4588         (CLD_STOPPED): Likewise.
4589         (CLD_CONTINUED): Likewise.
4590         (POLL_IN): Likewise.
4591         (POLL_OUT): Likewise.
4592         (POLL_MSG): Likewise.
4593         (POLL_ERR): Likewise.
4594         (POLL_PRI): Likewise.
4595         (POLL_HUP): Likewise.
4596         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4597         (ILL_ILLOPN): Likewise.
4598         (ILL_ILLADR): Likewise.
4599         (ILL_ILLTRP): Likewise.
4600         (ILL_PRVOPC): Likewise.
4601         (ILL_PRVREG): Likewise.
4602         (ILL_COPROC): Likewise.
4603         (ILL_BADSTK): Likewise.
4604         (FPE_INTDIV): Likewise.
4605         (FPE_INTOVF): Likewise.
4606         (FPE_FLTDIV): Likewise.
4607         (FPE_FLTOVF): Likewise.
4608         (FPE_FLTUND): Likewise.
4609         (FPE_FLTRES): Likewise.
4610         (FPE_FLTINV): Likewise.
4611         (FPE_FLTSUB): Likewise.
4612         (SEGV_MAPERR): Likewise.
4613         (SEGV_ACCERR): Likewise.
4614         (BUS_ADRALN): Likewise.
4615         (BUS_ADRERR): Likewise.
4616         (BUS_OBJERR): Likewise.
4617         (BUS_MCEERR_AR): Likewise.
4618         (BUS_MCEERR_AO): Likewise.
4619         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4620         (TRAP_TRACE): Likewise.
4621         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4622         __USE_XOPEN2K8].
4623         (CLD_KILLED): Likewise.
4624         (CLD_DUMPED): Likewise.
4625         (CLD_TRAPPED): Likewise.
4626         (CLD_STOPPED): Likewise.
4627         (CLD_CONTINUED): Likewise.
4628         (POLL_IN): Likewise.
4629         (POLL_OUT): Likewise.
4630         (POLL_MSG): Likewise.
4631         (POLL_ERR): Likewise.
4632         (POLL_PRI): Likewise.
4633         (POLL_HUP): Likewise.
4634         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4635         Likewise.
4636         (ILL_ILLOPN): Likewise.
4637         (ILL_ILLADR): Likewise.
4638         (ILL_ILLTRP): Likewise.
4639         (ILL_PRVOPC): Likewise.
4640         (ILL_PRVREG): Likewise.
4641         (ILL_COPROC): Likewise.
4642         (ILL_BADSTK): Likewise.
4643         (ILL_BADIADDR): Likewise.
4644         (ILL_BREAK): Likewise.
4645         (FPE_INTDIV): Likewise.
4646         (FPE_INTOVF): Likewise.
4647         (FPE_FLTDIV): Likewise.
4648         (FPE_FLTOVF): Likewise.
4649         (FPE_FLTUND): Likewise.
4650         (FPE_FLTRES): Likewise.
4651         (FPE_FLTINV): Likewise.
4652         (FPE_FLTSUB): Likewise.
4653         (FPE_DECOVF): Likewise.
4654         (FPE_DECDIV): Likewise.
4655         (FPE_DECERR): Likewise.
4656         (FPE_INVASC): Likewise.
4657         (FPE_INVDEC): Likewise.
4658         (SEGV_MAPERR): Likewise.
4659         (SEGV_ACCERR): Likewise.
4660         (SEGV_PSTKOVF): Likewise.
4661         (BUS_ADRALN): Likewise.
4662         (BUS_ADRERR): Likewise.
4663         (BUS_OBJERR): Likewise.
4664         (BUS_MCEERR_AR): Likewise.
4665         (BUS_MCEERR_AO): Likewise.
4666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4667         (TRAP_TRACE): Likewise.
4668         (TRAP_BRANCH): Likewise.
4669         (TRAP_HWBKPT): Likewise.
4670         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4671         __USE_XOPEN2K8].
4672         (CLD_KILLED): Likewise.
4673         (CLD_DUMPED): Likewise.
4674         (CLD_TRAPPED): Likewise.
4675         (CLD_STOPPED): Likewise.
4676         (CLD_CONTINUED): Likewise.
4677         (POLL_IN): Likewise.
4678         (POLL_OUT): Likewise.
4679         (POLL_MSG): Likewise.
4680         (POLL_ERR): Likewise.
4681         (POLL_PRI): Likewise.
4682         (POLL_HUP): Likewise.
4683         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4684         (ILL_ILLOPN): Likewise.
4685         (ILL_ILLADR): Likewise.
4686         (ILL_ILLTRP): Likewise.
4687         (ILL_PRVOPC): Likewise.
4688         (ILL_PRVREG): Likewise.
4689         (ILL_COPROC): Likewise.
4690         (ILL_BADSTK): Likewise.
4691         (FPE_INTDIV): Likewise.
4692         (FPE_INTOVF): Likewise.
4693         (FPE_FLTDIV): Likewise.
4694         (FPE_FLTOVF): Likewise.
4695         (FPE_FLTUND): Likewise.
4696         (FPE_FLTRES): Likewise.
4697         (FPE_FLTINV): Likewise.
4698         (FPE_FLTSUB): Likewise.
4699         (SEGV_MAPERR): Likewise.
4700         (SEGV_ACCERR): Likewise.
4701         (BUS_ADRALN): Likewise.
4702         (BUS_ADRERR): Likewise.
4703         (BUS_OBJERR): Likewise.
4704         (BUS_MCEERR_AR): Likewise.
4705         (BUS_MCEERR_AO): Likewise.
4706         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4707         (TRAP_TRACE): Likewise.
4708         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4709         __USE_XOPEN2K8].
4710         (CLD_KILLED): Likewise.
4711         (CLD_DUMPED): Likewise.
4712         (CLD_TRAPPED): Likewise.
4713         (CLD_STOPPED): Likewise.
4714         (CLD_CONTINUED): Likewise.
4715         (POLL_IN): Likewise.
4716         (POLL_OUT): Likewise.
4717         (POLL_MSG): Likewise.
4718         (POLL_ERR): Likewise.
4719         (POLL_PRI): Likewise.
4720         (POLL_HUP): Likewise.
4721         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4722         (ILL_ILLOPN): Likewise.
4723         (ILL_ILLADR): Likewise.
4724         (ILL_ILLTRP): Likewise.
4725         (ILL_PRVOPC): Likewise.
4726         (ILL_PRVREG): Likewise.
4727         (ILL_COPROC): Likewise.
4728         (ILL_BADSTK): Likewise.
4729         (FPE_INTDIV): Likewise.
4730         (FPE_INTOVF): Likewise.
4731         (FPE_FLTDIV): Likewise.
4732         (FPE_FLTOVF): Likewise.
4733         (FPE_FLTUND): Likewise.
4734         (FPE_FLTRES): Likewise.
4735         (FPE_FLTINV): Likewise.
4736         (FPE_FLTSUB): Likewise.
4737         (SEGV_MAPERR): Likewise.
4738         (SEGV_ACCERR): Likewise.
4739         (BUS_ADRALN): Likewise.
4740         (BUS_ADRERR): Likewise.
4741         (BUS_OBJERR): Likewise.
4742         (BUS_MCEERR_AR): Likewise.
4743         (BUS_MCEERR_AO): Likewise.
4744         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4745         (TRAP_TRACE): Likewise.
4746         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4747         __USE_XOPEN2K8].
4748         (CLD_KILLED): Likewise.
4749         (CLD_DUMPED): Likewise.
4750         (CLD_TRAPPED): Likewise.
4751         (CLD_STOPPED): Likewise.
4752         (CLD_CONTINUED): Likewise.
4753         (POLL_IN): Likewise.
4754         (POLL_OUT): Likewise.
4755         (POLL_MSG): Likewise.
4756         (POLL_ERR): Likewise.
4757         (POLL_PRI): Likewise.
4758         (POLL_HUP): Likewise.
4759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4760         (ILL_ILLOPN): Likewise.
4761         (ILL_ILLADR): Likewise.
4762         (ILL_ILLTRP): Likewise.
4763         (ILL_PRVOPC): Likewise.
4764         (ILL_PRVREG): Likewise.
4765         (ILL_COPROC): Likewise.
4766         (ILL_BADSTK): Likewise.
4767         (FPE_INTDIV): Likewise.
4768         (FPE_INTOVF): Likewise.
4769         (FPE_FLTDIV): Likewise.
4770         (FPE_FLTOVF): Likewise.
4771         (FPE_FLTUND): Likewise.
4772         (FPE_FLTRES): Likewise.
4773         (FPE_FLTINV): Likewise.
4774         (FPE_FLTSUB): Likewise.
4775         (SEGV_MAPERR): Likewise.
4776         (SEGV_ACCERR): Likewise.
4777         (BUS_ADRALN): Likewise.
4778         (BUS_ADRERR): Likewise.
4779         (BUS_OBJERR): Likewise.
4780         (BUS_MCEERR_AR): Likewise.
4781         (BUS_MCEERR_AO): Likewise.
4782         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4783         (TRAP_TRACE): Likewise.
4784         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4785         __USE_XOPEN2K8].
4786         (CLD_KILLED): Likewise.
4787         (CLD_DUMPED): Likewise.
4788         (CLD_TRAPPED): Likewise.
4789         (CLD_STOPPED): Likewise.
4790         (CLD_CONTINUED): Likewise.
4791         (POLL_IN): Likewise.
4792         (POLL_OUT): Likewise.
4793         (POLL_MSG): Likewise.
4794         (POLL_ERR): Likewise.
4795         (POLL_PRI): Likewise.
4796         (POLL_HUP): Likewise.
4797         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4798         (ILL_ILLOPN): Likewise.
4799         (ILL_ILLADR): Likewise.
4800         (ILL_ILLTRP): Likewise.
4801         (ILL_PRVOPC): Likewise.
4802         (ILL_PRVREG): Likewise.
4803         (ILL_COPROC): Likewise.
4804         (ILL_BADSTK): Likewise.
4805         (ILL_DBLFLT): Likewise.
4806         (ILL_HARDWALL): Likewise.
4807         (FPE_INTDIV): Likewise.
4808         (FPE_INTOVF): Likewise.
4809         (FPE_FLTDIV): Likewise.
4810         (FPE_FLTOVF): Likewise.
4811         (FPE_FLTUND): Likewise.
4812         (FPE_FLTRES): Likewise.
4813         (FPE_FLTINV): Likewise.
4814         (FPE_FLTSUB): Likewise.
4815         (SEGV_MAPERR): Likewise.
4816         (SEGV_ACCERR): Likewise.
4817         (BUS_ADRALN): Likewise.
4818         (BUS_ADRERR): Likewise.
4819         (BUS_OBJERR): Likewise.
4820         (BUS_MCEERR_AR): Likewise.
4821         (BUS_MCEERR_AO): Likewise.
4822         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4823         (TRAP_TRACE): Likewise.
4824         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4825         __USE_XOPEN2K8].
4826         (CLD_KILLED): Likewise.
4827         (CLD_DUMPED): Likewise.
4828         (CLD_TRAPPED): Likewise.
4829         (CLD_STOPPED): Likewise.
4830         (CLD_CONTINUED): Likewise.
4831         (POLL_IN): Likewise.
4832         (POLL_OUT): Likewise.
4833         (POLL_MSG): Likewise.
4834         (POLL_ERR): Likewise.
4835         (POLL_PRI): Likewise.
4836         (POLL_HUP): Likewise.
4837         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4838         (ILL_ILLOPN): Likewise.
4839         (ILL_ILLADR): Likewise.
4840         (ILL_ILLTRP): Likewise.
4841         (ILL_PRVOPC): Likewise.
4842         (ILL_PRVREG): Likewise.
4843         (ILL_COPROC): Likewise.
4844         (ILL_BADSTK): Likewise.
4845         (FPE_INTDIV): Likewise.
4846         (FPE_INTOVF): Likewise.
4847         (FPE_FLTDIV): Likewise.
4848         (FPE_FLTOVF): Likewise.
4849         (FPE_FLTUND): Likewise.
4850         (FPE_FLTRES): Likewise.
4851         (FPE_FLTINV): Likewise.
4852         (FPE_FLTSUB): Likewise.
4853         (SEGV_MAPERR): Likewise.
4854         (SEGV_ACCERR): Likewise.
4855         (BUS_ADRALN): Likewise.
4856         (BUS_ADRERR): Likewise.
4857         (BUS_OBJERR): Likewise.
4858         (BUS_MCEERR_AR): Likewise.
4859         (BUS_MCEERR_AO): Likewise.
4860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4861         (TRAP_TRACE): Likewise.
4862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4863         __USE_XOPEN2K8].
4864         (CLD_KILLED): Likewise.
4865         (CLD_DUMPED): Likewise.
4866         (CLD_TRAPPED): Likewise.
4867         (CLD_STOPPED): Likewise.
4868         (CLD_CONTINUED): Likewise.
4869         (POLL_IN): Likewise.
4870         (POLL_OUT): Likewise.
4871         (POLL_MSG): Likewise.
4872         (POLL_ERR): Likewise.
4873         (POLL_PRI): Likewise.
4874         (POLL_HUP): Likewise.
4875         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4876         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4878         [BZ #16670]
4879         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4880         before #include of <time.h>.
4881         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4882         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4883         (test-xfail-UNIX98/sched.h/conform): Likewise.
4885 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4887         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4888         error absence of trapping exception support.
4889         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4891 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4893         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4894         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4895         * timezone/Makefile (testdata): Move definition above include of
4896         Rules.
4897         (test-zones): New variable.
4898         (tests-special): Add zone files.
4899         (build-testdata): Use $(evaluate-test).
4901         * elf/Makefile (tests-special): Rename tests to end with .out.
4902         ($(objpfx)noload-mem): Likewise.
4903         ($(objpfx)tst-leaks1-mem): Likewise.
4904         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4905         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4906         $(objpfx)test-iconvconfig.out.
4907         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4908         set -e inside subshell and redirect output to file.
4909         * iconvdata/Makefile (generated): Rename tests to end with .out.
4910         Correct type.
4911         (tests-special): Rename tests to end with .out.
4912         ($(objpfx)mtrace-tst-loading): Likewise.
4913         * intl/Makefile (generated): Likewise.
4914         (tests-special): Likewise.
4915         ($(objpfx)mtrace-tst-gettext): Likewise.
4916         * misc/Makefile (generated): Likewise.
4917         (tests-special): Likewise.
4918         ($(objpfx)tst-error1-mem): Likewise.
4919         * nptl/Makefile (tests-special): Likewise.
4920         ($(objpfx)tst-stack3-mem): Likewise.
4921         (generated): Likewise.
4922         * posix/Makefile (generated): Likewise.
4923         (tests-special): Likewise.
4924         (xtests-special): Likewise.
4925         ($(objpfx)tst-fnmatch-mem): Likewise.
4926         ($(objpfx)bug-regex2-mem): Likewise.
4927         ($(objpfx)bug-regex14-mem): Likewise.
4928         ($(objpfx)bug-regex21-mem): Likewise.
4929         ($(objpfx)bug-regex31-mem): Likewise.
4930         ($(objpfx)tst-vfork3-mem): Likewise.
4931         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4932         ($(objpfx)tst-pcre-mem): Likewise.
4933         ($(objpfx)tst-boost-mem): Likewise.
4934         ($(objpfx)bug-ga2-mem): Likewise.
4935         ($(objpfx)bug-glob2-mem): Likewise.
4936         * resolv/Makefile (generate): Likewise.
4937         (tests-special): Likewise.
4938         (xtests-special): Likewise.
4939         (generated): Likewise.
4940         ($(objpfx)mtrace-tst-leaks): Likewise.
4941         ($(objpfx)mtrace-tst-leaks2): Likewise.
4943         * scripts/merge-test-results.sh: New file.
4944         * Makefile (tests-special-notdir): New variable.
4945         (tests): Run merge-test-results.sh.
4946         (xtests): Likewise.
4947         * Rules (tests-special-notdir): New variable.
4948         (xtests-special-notdir): Likewise.
4949         (tests): Run merge-test-results.sh
4950         (xtests): Likewise.
4952         * Makeconfig (test-xfail-name): New variable.
4953         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4954         compute variable name for expected failures.
4955         * conform/Makefile (conformtest-headers-data): New variable.
4956         (conformtest-standards): Likewise.
4957         (conformtest-headers-ISO): Likewise.
4958         (conformtest-headers-ISO99): Likewise.
4959         (conformtest-headers-ISO11): Likewise.
4960         (conformtest-headers-POSIX): Likewise.
4961         (conformtest-headers-XPG3): Likewise.
4962         (conformtest-headers-XPG4): Likewise.
4963         (conformtest-headers-UNIX98): Likewise.
4964         (conformtest-headers-XOPEN2K): Likewise.
4965         (conformtest-headers-POSIX2008): Likewise.
4966         (conformtest-headers-XOPEN2K8): Likewise.
4967         (conformtest-header-list-base): Likewise.
4968         (conformtest-header-list-tests): Likewise.
4969         (conformtest-header-base): Likewise.
4970         (conformtest-header-tests): Likewise.
4971         (tests-special): Add $(conformtest-header-list-tests).  If
4972         [$(fast-check) && !$(cross-compiling)], add
4973         $(conformtest-header-tests) instead of
4974         $(objpfx)run-conformtest.out.
4975         (generated): Add $(conformtest-header-list-base).  If
4976         [$(fast-check) && !$(cross-compiling)], add
4977         $(conformtest-header-base).  Remove previous setting.
4978         ($(conformtest-header-list-tests)): New target.
4979         (test-xfail-run-conformtest): Remove variable.
4980         ($(objpfx)run-conformtest.out): Remove target.
4981         (test-xfail-ISO11/complex.h/conform): New variable.
4982         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4983         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4984         (test-xfail-XPG3/varargs.h/conform): Likewise.
4985         (test-xfail-XPG4/varargs.h/conform): Likewise.
4986         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4987         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4988         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4989         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4990         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4991         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4992         (test-xfail-XPG3/ftw.h/conform): Likewise.
4993         (test-xfail-XPG3/grp.h/conform): Likewise.
4994         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4995         (test-xfail-XPG3/limits.h/conform): Likewise.
4996         (test-xfail-XPG3/pwd.h/conform): Likewise.
4997         (test-xfail-XPG3/search.h/conform): Likewise.
4998         (test-xfail-XPG3/signal.h/conform): Likewise.
4999         (test-xfail-XPG3/stdio.h/conform): Likewise.
5000         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5001         (test-xfail-XPG3/string.h/conform): Likewise.
5002         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5003         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5004         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5005         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5006         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5007         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5008         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5009         (test-xfail-XPG3/termios.h/conform): Likewise.
5010         (test-xfail-XPG3/time.h/conform): Likewise.
5011         (test-xfail-XPG3/unistd.h/conform): Likewise.
5012         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5013         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5014         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5015         (test-xfail-XPG4/netdb.h/conform): Likewise.
5016         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5017         (test-xfail-XPG4/signal.h/conform): Likewise.
5018         (test-xfail-XPG4/stdio.h/conform): Likewise.
5019         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5020         (test-xfail-XPG4/stropts.h/conform): Likewise.
5021         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5022         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5023         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5024         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5025         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5026         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5027         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5028         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5029         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5030         (test-xfail-XPG4/termios.h/conform): Likewise.
5031         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5032         (test-xfail-XPG4/unistd.h/conform): Likewise.
5033         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5034         (test-xfail-POSIX/sched.h/conform): Likewise.
5035         (test-xfail-POSIX/signal.h/conform): Likewise.
5036         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5037         (test-xfail-POSIX/tar.h/conform): Likewise.
5038         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5039         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5040         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5041         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5042         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5043         (test-xfail-UNIX98/sched.h/conform): Likewise.
5044         (test-xfail-UNIX98/signal.h/conform): Likewise.
5045         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5046         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5047         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5048         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5049         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5050         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5051         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5052         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5053         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5054         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5055         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5056         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5057         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5058         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5059         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5060         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5061         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5062         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5063         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5064         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5065         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5066         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5067         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5068         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5069         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5070         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5071         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5072         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5073         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5074         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5075         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5076         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5077         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5078         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5079         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5080         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5081         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5082         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5083         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5084         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5085         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5086         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5087         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5088         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5089         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5090         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5091         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5092         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5093         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5094         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5095         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5096         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5097         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5098         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5099         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5100         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5101         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5102         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5103         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5104         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5105         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5106         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5107         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5108         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5109         (conformtest-cc-flags): Likewise.
5110         ($(conformtest-header-tests): New target.
5111         * conform/check-header-lists.sh: New file.
5112         * conform/run-conformtest.sh: Remove.
5114         * conform/conformtest.pl: Allow ' and \ in values given for
5115         constants.
5116         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5117         inclusion.
5118         [POSIX] (sys/types.h): Likewise.
5119         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5120         inclusion.
5121         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5122         inclusion.
5123         * conform/data/signal.h-data (SIGIO): Remove expectation.
5124         [XPG3] (SIGBUS): Do not expect.
5125         [POSIX || XPG3] (SIGPOLL): Likewise.
5126         [POSIX || XPG3] (SIGPROF): Likewise.
5127         [POSIX || XPG3] (SIGSYS): Likewise.
5128         [XPG3] (SIGTRAP): Likewise.
5129         [POSIX || XPG3] (SIGURG): Likewise.
5130         [POSIX || XPG3] (SIGVTALRM): Likewise.
5131         [POSIX || XPG3] (SIGXCPU): Likewise.
5132         [POSIX || XPG3] (SIGXFSZ): Likewise.
5133         [POSIX] (SA_SIGINFO): Expect.
5134         [XPG3] (siginfo_t): Do not expect type or contents.
5135         [POSIX] (si_pid): Do not expect element.
5136         [POSIX] (si_uid): Likewise.
5137         [POSIX] (si_addr): Likewise.
5138         [POSIX] (si_status): Likewise.
5139         [POSIX] (si_band): Likewise.
5140         [XPG4] (si_value): Likewise.
5141         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5142         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5143         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5144         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5145         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5146         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5147         [POSIX || XPG3] (ILL_COPROC): Likewise.
5148         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5149         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5150         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5151         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5152         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5153         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5154         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5155         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5156         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5157         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5158         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5159         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5160         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5161         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5162         [POSIX || XPG3] (CLD_EXITED): Likewise.
5163         [POSIX || XPG3] (CLD_KILLED): Likewise.
5164         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5165         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5166         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5167         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5168         [POSIX || XPG3] (POLL_IN): Likewise.
5169         [POSIX || XPG3] (POLL_OUT): Likewise.
5170         [POSIX || XPG3] (POLL_MSG): Likewise.
5171         [POSIX || XPG3] (POLL_ERR): Likewise.
5172         [POSIX || XPG3] (POLL_PRI): Likewise.
5173         [POSIX || XPG3] (POLL_HUP): Likewise.
5174         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5175         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5176         (SIG*): Do not allow.
5177         [XPG3] (si_*): Likewise.
5178         [XPG3] (SI_*): Likewise.
5179         [XPG3 || XPG4] (sigev_*): Likewise.
5180         [XPG3 || XPG4] (SIGEV_*): Likewise.
5181         [XPG3 || XPG4] (sival_*): Likewise.
5182         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5183         [POSIX || XPG3] (BUS_*): Likewise.
5184         [POSIX || XPG3] (CLD_*): Likewise.
5185         [POSIX || XPG3] (FPE_*): Likewise.
5186         [POSIX || XPG3] (ILL_*): Likewise.
5187         [POSIX || XPG3] (POLL_*): Likewise.
5188         [POSIX || XPG3] (SEGV_*): Likewise.
5189         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5190         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5191         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5192         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5193         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5194         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5195         Specify type and value.
5196         (TVERSLEN): Likewise.
5197         (REGTYPE): Likewise.
5198         (AREGTYPE): Likewise.
5199         (LNKTYPE): Likewise.
5200         (SYMTYPE): Likewise.
5201         (CHRTYPE): Likewise.
5202         (BLKTYPE): Likewise.
5203         (DIRTYPE): Likewise.
5204         (FIFOTYPE): Likewise.
5205         (CONTTYPE): Likewise.
5206         (TSUID): Likewise.
5207         (TSGID): Likewise.
5208         (TSVTX): Likewise.
5209         (TUREAD): Likewise.
5210         (TUWRITE): Likewise.
5211         (TUEXEC): Likewise.
5212         (TGREAD): Likewise.
5213         (TGWRITE): Likewise.
5214         (TGEXEC): Likewise.
5215         (TOREAD): Likewise.
5216         (TOWRITE): Likewise.
5217         (TOEXEC): Likewise.
5218         [POSIX] (TSVTX): Expect constant.
5220 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5222         * Makefile (tests): Change dependencies to ....
5223         (tests-special): ... additions to this variable.
5224         (tests): Depend on $(tests-special).
5225         * Makerules (check-abi-list): New variable.
5226         (check-abi): Depend on $(check-abi-list).
5227         [$(subdir) = elf] (tests-special): Add
5228         $(objpfx)check-abi-libc.out.
5229         [$(build-shared) = yes && subdir] (tests-special): Add
5230         $(check-abi-list).
5231         [$(build-shared) = yes && subdir] (tests): Do not depend on
5232         check-abi.
5233         * Rules (tests): Depend on $(tests-special).
5234         (xtests): Depend on $(xtests-special).
5235         * catgets/Makefile (tests): Change dependencies to ....
5236         (tests-special): ... additions to this variable.
5237         * conform/Makefile (tests): Change dependencies to ....
5238         (tests-special): ... additions to this variable.
5239         * elf/Makefile (tests): Change dependencies to ....
5240         (tests-special): ... additions to this variable.
5241         * grp/Makefile (tests): Change dependencies to ....
5242         (tests-special): ... additions to this variable.
5243         * iconv/Makefile (xtests): Change dependencies to ....
5244         (xtests-special): ... additions to this variable.
5245         * iconvdata/Makefile (tests): Change dependencies to ....
5246         (tests-special): ... additions to this variable.
5247         * intl/Makefile (tests): Change dependencies to ....
5248         (tests-special): ... additions to this variable.  Also add
5249         $(objpfx)tst-gettext.out.
5250         * io/Makefile (tests): Change dependencies to ....
5251         (tests-special): ... additions to this variable.
5252         * libio/Makefile (tests): Change dependencies to ....
5253         (tests-special): ... additions to this variable.
5254         * malloc/Makefile (tests): Change dependencies to ....
5255         (tests-special): ... additions to this variable.
5256         * misc/Makefile (tests): Change dependencies to ....
5257         (tests-special): ... additions to this variable.
5258         * nptl/Makefile (tests): Change dependencies to ....
5259         (tests-special): ... additions to this variable.
5260         * nptl_db/Makefile (tests): Change dependencies to ....
5261         (tests-special): ... additions to this variable.
5262         * posix/Makefile (tests): Change dependencies to ....
5263         (tests-special): ... additions to this variable.
5264         (xtests): Change dependencies to ....
5265         (xtests-special): ... additions to this variable.
5266         * resolv/Makefile (tests): Change dependencies to ....
5267         (tests-special): ... additions to this variable.
5268         (xtests): Change dependencies to ....
5269         (xtests-special): ... additions to this variable.
5270         * stdio-common/Makefile (tests): Change dependencies to ....
5271         (tests-special): ... additions to this variable.
5272         (do-tst-unbputc): Remove target.
5273         (do-tst-printf): Likewise.
5274         * stdlib/Makefile (tests): Change dependencies to ....
5275         (tests-special): ... additions to this variable.
5276         * string/Makefile (tests): Change dependencies to ....
5277         (tests-special): ... additions to this variable.
5278         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5279         (tests-special): ... additions to this variable.
5281         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5282         whole file.
5283         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5284         whole file.
5285         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5286         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5288         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5289         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5290         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5291         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5292         * conform/data/libgen.h-data [XPG3]: Likewise.
5293         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5294         * conform/data/ndbm.h-data [XPG3]: Likewise.
5295         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5296         * conform/data/netdb.h-data [XPG3]: Likewise.
5297         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5298         * conform/data/poll.h-data [XPG3]: Likewise.
5299         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5300         * conform/data/strings.h-data [XPG3]: Likewise.
5301         * conform/data/stropts.h-data [XPG3]: Likewise.
5302         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5303         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5304         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5305         Likewise.
5306         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5307         * conform/data/sys/time.h-data [XPG3]: Likewise.
5308         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5309         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5310         * conform/data/sys/un.h-data [XPG3]: Likewise.
5311         * conform/data/syslog.h-data [XPG3]: Likewise.
5312         * conform/data/ucontext.h-data [XPG3]: Likewise.
5313         * conform/data/utmpx.h-data [XPG3]: Likewise.
5314         * conform/data/varargs.h-data [UNIX98]: Enable file.
5316         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5318         * math/libm-test.inc (struct test_f_f_data): Move expected results
5319         into structure for each rounding mode.
5320         (struct test_ff_f_data): Likewise.
5321         (struct test_ff_f_data_nexttoward): Likewise.
5322         (struct test_fi_f_data): Likewise.
5323         (struct test_fl_f_data): Likewise.
5324         (struct test_if_f_data): Likewise.
5325         (struct test_fff_f_data): Likewise.
5326         (struct test_c_f_data): Likewise.
5327         (struct test_f_f1_data): Likewise.
5328         (struct test_fF_f1_data): Likewise.
5329         (struct test_ffI_f1_data): Likewise.
5330         (struct test_c_c_data): Likewise.
5331         (struct test_cc_c_data): Likewise.
5332         (struct test_f_i_data): Likewise.
5333         (struct test_ff_i_data): Likewise.
5334         (struct test_f_l_data): Likewise.
5335         (struct test_f_L_data): Likewise.
5336         (struct test_fFF_11_data): Likewise.
5337         (RM_): New macro.
5338         (RM_FE_DOWNWARD): Likewise.
5339         (RM_FE_TONEAREST): Likewise.
5340         (RM_FE_TOWARDZERO): Likewise.
5341         (RM_FE_UPWARD): Likewise.
5342         (RUN_TEST_LOOP_f_f): Update references to expected results.
5343         (RUN_TEST_LOOP_2_f): Likewise.
5344         (RUN_TEST_LOOP_fff_f): Likewise.
5345         (RUN_TEST_LOOP_c_f): Likewise.
5346         (RUN_TEST_LOOP_f_f1): Likewise.
5347         (RUN_TEST_LOOP_fF_f1): Likewise.
5348         (RUN_TEST_LOOP_fI_f1): Likewise.
5349         (RUN_TEST_LOOP_ffI_f1): Likewise.
5350         (RUN_TEST_LOOP_c_c): Likewise.
5351         (RUN_TEST_LOOP_cc_c): Likewise.
5352         (RUN_TEST_LOOP_f_i): Likewise.
5353         (RUN_TEST_LOOP_f_i_tg): Likewise.
5354         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5355         (RUN_TEST_LOOP_f_b): Likewise.
5356         (RUN_TEST_LOOP_f_b_tg): Likewise.
5357         (RUN_TEST_LOOP_f_l): Likewise.
5358         (RUN_TEST_LOOP_f_L): Likewise.
5359         (RUN_TEST_LOOP_fFF_11): Likewise.
5360         * math/gen-libm-test.pl (parse_args): Output four copies of
5361         expected results for each test.
5363         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5364         (__ASSUME_UTIMES): Remove.
5365         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5366         (__ASSUME_UTIMES): Likewise.
5368         * math/gen-auto-libm-tests.c: Update comment on output format.
5369         (output_for_one_input_case): Generate before-rounding and
5370         after-rounding information as conditions on output flags not
5371         floating-point format.
5372         * math/auto-libm-test-out: Regenerated.
5373         * math/gen-libm-test.pl (cond_value): New function.
5374         (or_cond_value): Use cond_value.
5375         (generate_testfile): Handle conditional exceptions.
5377 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5379         * math/libm-test.inc (max_valid_error): New variable.
5380         (init_max_error): Take new argument specifying whether function
5381         results are exactly determined.  Set max_valid_error and bound
5382         other variables for errors based on this argument.
5383         (set_max_error): Do not record results above max_valid_error.
5384         (check_float_internal): Only accept errors of up to 0.5ulps if
5385         also at most max_valid_error.
5386         (START): Take new argument EXACT and pass it to init_max_error.
5387         (acos_test): Update call to START.
5388         (acos_test_tonearest): Likewise.
5389         (acos_test_towardzero): Likewise.
5390         (acos_test_downward): Likewise.
5391         (acos_test_upward): Likewise.
5392         (acosh_test): Likewise.
5393         (asin_test): Likewise.
5394         (asin_test_tonearest): Likewise.
5395         (asin_test_towardzero): Likewise.
5396         (asin_test_downward): Likewise.
5397         (asin_test_upward): Likewise.
5398         (asinh_test): Likewise.
5399         (atan_test): Likewise.
5400         (atanh_test): Likewise.
5401         (atan2_test): Likewise.
5402         (cabs_test): Likewise.
5403         (cacos_test): Likewise.
5404         (cacosh_test): Likewise.
5405         (carg_test): Likewise.
5406         (casin_test): Likewise.
5407         (casinh_test): Likewise.
5408         (catan_test): Likewise.
5409         (catanh_test): Likewise.
5410         (cbrt_test): Likewise.
5411         (ccos_test): Likewise.
5412         (ccosh_test): Likewise.
5413         (ceil_test): Likewise.
5414         (cexp_test): Likewise.
5415         (cimag_test): Likewise.
5416         (clog_test): Likewise.
5417         (clog10_test): Likewise.
5418         (conj_test): Likewise.
5419         (copysign_test): Likewise.
5420         (cos_test): Likewise.
5421         (cos_test_tonearest): Likewise.
5422         (cos_test_towardzero): Likewise.
5423         (cos_test_downward): Likewise.
5424         (cos_test_upward): Likewise.
5425         (cosh_test): Likewise.
5426         (cosh_test_tonearest): Likewise.
5427         (cosh_test_towardzero): Likewise.
5428         (cosh_test_downward): Likewise.
5429         (cosh_test_upward): Likewise.
5430         (cpow_test): Likewise.
5431         (cproj_test): Likewise.
5432         (creal_test): Likewise.
5433         (csin_test): Likewise.
5434         (csinh_test): Likewise.
5435         (csqrt_test): Likewise.
5436         (ctan_test): Likewise.
5437         (ctan_test_tonearest): Likewise.
5438         (ctan_test_towardzero): Likewise.
5439         (ctan_test_downward): Likewise.
5440         (ctan_test_upward): Likewise.
5441         (ctanh_test): Likewise.
5442         (ctanh_test_tonearest): Likewise.
5443         (ctanh_test_towardzero): Likewise.
5444         (ctanh_test_downward): Likewise.
5445         (ctanh_test_upward): Likewise.
5446         (erf_test): Likewise.
5447         (erfc_test): Likewise.
5448         (exp_test): Likewise.
5449         (exp_test_tonearest): Likewise.
5450         (exp_test_towardzero): Likewise.
5451         (exp_test_downward): Likewise.
5452         (exp_test_upward): Likewise.
5453         (exp10_test): Likewise.
5454         (exp10_test_tonearest): Likewise.
5455         (exp10_test_towardzero): Likewise.
5456         (exp10_test_downward): Likewise.
5457         (exp10_test_upward): Likewise.
5458         (pow10_test): Likewise.
5459         (exp2_test): Likewise.
5460         (expm1_test): Likewise.
5461         (expm1_test_tonearest): Likewise.
5462         (expm1_test_towardzero): Likewise.
5463         (expm1_test_downward): Likewise.
5464         (expm1_test_upward): Likewise.
5465         (fabs_test): Likewise.
5466         (fdim_test): Likewise.
5467         (floor_test): Likewise.
5468         (fma_test): Likewise.
5469         (fma_test_towardzero): Likewise.
5470         (fma_test_downward): Likewise.
5471         (fma_test_upward): Likewise.
5472         (fmax_test): Likewise.
5473         (fmin_test): Likewise.
5474         (fmod_test): Likewise.
5475         (fpclassify_test): Likewise.
5476         (frexp_test): Likewise.
5477         (hypot_test): Likewise.
5478         (ilogb_test): Likewise.
5479         (isfinite_test): Likewise.
5480         (finite_test): Likewise.
5481         (isgreater_test): Likewise.
5482         (isgreaterequal_test): Likewise.
5483         (isinf_test): Likewise.
5484         (isless_test): Likewise.
5485         (islessequal_test): Likewise.
5486         (islessgreater_test): Likewise.
5487         (isnan_test): Likewise.
5488         (isnormal_test): Likewise.
5489         (issignaling_test): Likewise.
5490         (isunordered_test): Likewise.
5491         (j0_test): Likewise.
5492         (j1_test): Likewise.
5493         (jn_test): Likewise.
5494         (ldexp_test): Likewise.
5495         (lgamma_test): Likewise.
5496         (gamma_test): Likewise.
5497         (lrint_test): Likewise.
5498         (lrint_test_tonearest): Likewise.
5499         (lrint_test_towardzero): Likewise.
5500         (lrint_test_downward): Likewise.
5501         (lrint_test_upward): Likewise.
5502         (llrint_test): Likewise.
5503         (llrint_test_tonearest): Likewise.
5504         (llrint_test_towardzero): Likewise.
5505         (llrint_test_downward): Likewise.
5506         (llrint_test_upward): Likewise.
5507         (log_test): Likewise.
5508         (log10_test): Likewise.
5509         (log1p_test): Likewise.
5510         (log2_test): Likewise.
5511         (logb_test): Likewise.
5512         (logb_test_downward): Likewise.
5513         (lround_test): Likewise.
5514         (llround_test): Likewise.
5515         (modf_test): Likewise.
5516         (nearbyint_test): Likewise.
5517         (nextafter_test): Likewise.
5518         (nexttoward_test): Likewise.
5519         (pow_test): Likewise.
5520         (pow_test_tonearest): Likewise.
5521         (pow_test_towardzero): Likewise.
5522         (pow_test_downward): Likewise.
5523         (pow_test_upward): Likewise.
5524         (remainder_test): Likewise.
5525         (drem_test): Likewise.
5526         (remainder_test_tonearest): Likewise.
5527         (drem_test_tonearest): Likewise.
5528         (remainder_test_towardzero): Likewise.
5529         (drem_test_towardzero): Likewise.
5530         (remainder_test_downward): Likewise.
5531         (drem_test_downward): Likewise.
5532         (remainder_test_upward): Likewise.
5533         (drem_test_upward): Likewise.
5534         (remquo_test): Likewise.
5535         (rint_test): Likewise.
5536         (rint_test_tonearest): Likewise.
5537         (rint_test_towardzero): Likewise.
5538         (rint_test_downward): Likewise.
5539         (rint_test_upward): Likewise.
5540         (round_test): Likewise.
5541         (scalb_test): Likewise.
5542         (scalbn_test): Likewise.
5543         (scalbln_test): Likewise.
5544         (signbit_test): Likewise.
5545         (sin_test): Likewise.
5546         (sin_test_tonearest): Likewise.
5547         (sin_test_towardzero): Likewise.
5548         (sin_test_downward): Likewise.
5549         (sin_test_upward): Likewise.
5550         (sincos_test): Likewise.
5551         (sinh_test): Likewise.
5552         (sinh_test_tonearest): Likewise.
5553         (sinh_test_towardzero): Likewise.
5554         (sinh_test_downward): Likewise.
5555         (sinh_test_upward): Likewise.
5556         (sqrt_test): Likewise.
5557         (sqrt_test_tonearest): Likewise.
5558         (sqrt_test_towardzero): Likewise.
5559         (sqrt_test_downward): Likewise.
5560         (sqrt_test_upward): Likewise.
5561         (tan_test): Likewise.
5562         (tan_test_tonearest): Likewise.
5563         (tan_test_towardzero): Likewise.
5564         (tan_test_downward): Likewise.
5565         (tan_test_upward): Likewise.
5566         (tanh_test): Likewise.
5567         (tgamma_test): Likewise.
5568         (trunc_test): Likewise.
5569         (y0_test): Likewise.
5570         (y1_test): Likewise.
5571         (yn_test): Likewise.
5572         (significand_test): Likewise.
5574         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5575         individual tests in comment.
5576         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5577         (prev_max_error): New variable.
5578         (prev_real_max_error): Likewise.
5579         (prev_imag_max_error): Likewise.
5580         (compare_ulp_data): Don't refer to test names in comment.
5581         (find_test_ulps): Remove function.
5582         (find_function_ulps): Likewise.
5583         (find_complex_function_ulps): Likewise.
5584         (init_max_error): Take function name as argument.  Look up ulps
5585         for that function.
5586         (print_ulps): Remove function.
5587         (print_max_error): Use prev_max_error instead of calling
5588         find_function_ulps.
5589         (print_complex_max_error): Use prev_real_max_error and
5590         prev_imag_max_error instead of calling find_complex_function_ulps.
5591         (check_float_internal): Take max_ulp parameter instead of calling
5592         find_test_ulps.  Don't call print_ulps.
5593         (check_float): Update call to check_float_internal.
5594         (check_complex): Update calls to check_float_internal.
5595         (START): Pass argument to init_max_error.
5596         * math/gen-libm-test.pl (%results): Don't include "kind"
5597         information.
5598         (parse_ulps): Don't handle ulps of individual tests.
5599         (print_ulps_file): Likewise.
5600         (output_ulps): Likewise.
5601         * math/README.libm-test: Update.
5602         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5603         individual tests.
5604         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5605         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5606         * sysdeps/arm/libm-test-ulps: Likewise.
5607         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5608         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5609         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5610         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5611         * sysdeps/microblaze/libm-test-ulps: Likewise.
5612         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5613         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5615         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5616         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5617         * sysdeps/sh/libm-test-ulps: Likewise.
5618         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5619         * sysdeps/tile/libm-test-ulps: Likewise.
5620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5622 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5624         * math/libm-test.inc (print_complex_max_error): Check separately
5625         whether real and imaginary errors are within allowed range and
5626         pass 0 to print_complex_function_ulps instead of value within
5627         allowed range.
5629 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5631         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5632         formatting.
5633         (get_handles_fopen): Likewise.
5634         (do_write_test): Likewise.
5636         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5638         * libio/fileops.c (do_ftell): Use cached offset when
5639         available.
5640         * libio/iofwide.c (do_ftell_wide): Likewise.
5641         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5642         _IO_file_attach.
5643         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5645         [BZ #16532]
5646         * libio/libioP.h (get_file_offset): New function.
5647         * libio/fileops.c (get_file_offset): Likewise.
5648         (do_ftell): Likewise.
5649         (_IO_new_file_seekoff): Split out ftell logic.
5650         * libio/wfileops.c (do_ftell_wide): Likewise.
5651         (_IO_wfile_seekoff): Split out ftell logic.
5652         * libio/tst-ftell-active-handler.c: New test case.
5653         * libio/Makefile (tests): Add it.
5655 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5657         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5658         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5660 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5662         [BZ #16639]
5663         * nscd/connections.c (nscd_init): Call do_exit.
5664         (start_threads): Call do_exit and notify_parent.
5665         (begin_drop_privileges): Call do_exit.
5666         (finish_drop_privileges): Likewise.
5667         * nscd/selinux.c (preserve_capabilities): Likewise.
5668         (install_real_capabilities): Likewise.
5669         (nscd_selinux_enabled): Likewise.
5670         (avc_create_thread): Likewise.
5671         (avc_alloc_lock): Likewise.
5672         (nscd_avc_init): Likewise.
5673         * nscd/nscd.c (parent_fd): New static variable.
5674         (main): Create a pipe between parent and child processes.
5675         Skip closing parent_fd.
5676         (monitor_child): New function.
5677         (do_exit): Likewise.
5678         (notify_parent): Likewise.
5679         * nscd/nscd.h (notify_parent): Likewise.
5680         (do_exit): Likewise.
5682 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5684         * malloc/malloc.c (__libc_calloc): Revert last change.
5686 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5690 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5692         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5694         implementation.
5695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5696         (__libc_ifunc_impl_list): Likewise.
5697         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5698         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5699         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5700         * string/strrchr.c: Define STRRCHR.
5702 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5704         * benchtest/bench-strtok.c (simple_strtok): Delete.
5705         (strtok_string): Use as benchmark.
5706         * string/strtok (STRTOK): New macro.
5708 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5710         * manual/threads.texi: Add header and standard comments to all
5711         functions.
5713         * elf/dl-lookup.c (check_match): New function.
5714         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5715         (do_lookup_x): Remove nested function check_match. Use non-nested
5716         function check_match.
5718 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5720         * csu/Makefile (generated, before-compile): Use += rather than =.
5721         * catgets/Makefile (generated, generated-dirs): Likewise.
5722         * debug/Makefile (generated): Likewise.
5723         * dlfcn/Makefile (generated): Likewise.
5724         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5725         * iconvdata/Makefile (before-compile, generated): Likewise.
5726         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5727         * libio/Makefile (generated): Likewise.
5728         * malloc/Makefile (generated): Likewise.
5729         * manual/Makefile (generated, generated-dirs): Likewise.
5730         * misc/Makefile (generated): Likewise.
5731         * posix/Makefile (generated): Likewise.
5732         * resolv/Makefile (generated): Likewise.
5733         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5734         * timezone/Makefile (generated, generated-dirs): Likewise.
5736         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5738 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5741         power8 implementation.
5742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5743         file: POWER8 llround ifunc implementation.
5744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5745         (__lllround): Add POWER8 implementation.
5746         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5747         POWER8 llround implementation.
5749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5750         power8 implementation.
5751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5752         file: POWER8 llrint ifunc implementation.
5753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5754         Add POWER8 implementation.
5755         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5756         POWER8 llrint implementation.
5758         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5759         power8 implementation.
5760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5761         file: POWER8 finite ifunc implementation.
5762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5763         Add POWER8 implementation.
5764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5765         Likewise.
5766         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5767         POWER8 finite implementation.
5768         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5771         power8 implementation.
5772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5773         file: POWER8 isinf ifunc implementation.
5774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5775         POWER8 implementation.
5776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5777         Likewise.
5778         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5779         isinf implementation.
5780         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5782         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5783         (INIT_ARCH): Add hwcap2 initialization.
5784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5785         power8 implementation.
5786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5787         file: POWER8 isnan ifunc implementation.
5788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5789         POWER8 implementation.
5790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5791         Likewise.
5792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5793         isnan implementation.
5794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5796 2014-02-27  Joey Ye  <joey.ye@arm.com>
5798         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5799         (_FP_NANFRAC_Q): Set to zero.
5801 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5803         [BZ #16623]
5804         * math/auto-libm-test-in: New test inputs.
5805         * math/auto-libm-test-out: Regenerate.
5806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5807         and DA.
5808         (__cos): Likewise.
5809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5811 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
5813         * scripts/evaluate-test.sh: Take new argument indicating whether
5814         failure is expected.
5815         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5816         indicating whether failure is expected.
5817         * conform/Makefile (test-xfail-run-conformtest): New variable.
5818         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5819         level.
5820         * posix/Makefile (test-xfail-annexc): New variable.
5821         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5823 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5825         * argp/Makefile: Include Makeconfig immediately after defining
5826         subdir.
5827         * assert/Makefile: Likewise.
5828         * benchtests/Makefile: Likewise.
5829         * catgets/Makefile: Likewise.
5830         * conform/Makefile: Likewise.
5831         * crypt/Makefile: Likewise.
5832         * csu/Makefile: Likewise.
5833         (all): Remove target.
5834         * ctype/Makefile: Include Makeconfig immediately after defining
5835         subdir.
5836         * debug/Makefile: Likewise.
5837         * dirent/Makefile: Likewise.
5838         * dlfcn/Makefile: Likewise.
5839         * gmon/Makefile: Likewise.
5840         * gnulib/Makefile: Likewise.
5841         * grp/Makefile: Likewise.
5842         * gshadow/Makefile: Likewise.
5843         * hesiod/Makefile: Likewise.
5844         * hurd/Makefile: Likewise.
5845         (all): Remove target.
5846         * iconvdata/Makefile: Include Makeconfig immediately after
5847         defining subdir.
5848         * inet/Makefile: Likewise.
5849         * intl/Makefile: Likewise.
5850         * io/Makefile: Likewise.
5851         * libio/Makefile: Likewise.
5852         (all): Remove target.
5853         * locale/Makefile: Include Makeconfig immediately after defining
5854         subdir.
5855         * login/Makefile: Likewise.
5856         * mach/Makefile: Likewise.
5857         (all): Remove target.
5858         * malloc/Makefile: Include Makeconfig immediately after defining
5859         subdir.
5860         (all): Remove target.
5861         * manual/Makefile: Include Makeconfig immediately after defining
5862         subdir.
5863         * math/Makefile: Likewise.
5864         * misc/Makefile: Likewise.
5865         * nis/Makefile: Likewise.
5866         * nss/Makefile: Likewise.
5867         * po/Makefile: Likewise.
5868         (all): Remove target.
5869         * posix/Makefile: Include Makeconfig immediately after defining
5870         subdir.
5871         * pwd/Makefile: Likewise.
5872         * resolv/Makefile: Likewise.
5873         * resource/Makefile: Likewise.
5874         * rt/Makefile: Likewise.
5875         * setjmp/Makefile: Likewise.
5876         * shadow/Makefile: Likewise.
5877         * signal/Makefile: Likewise.
5878         * socket/Makefile: Likewise.
5879         * soft-fp/Makefile: Likewise.
5880         * stdio-common/Makefile: Likewise.
5881         * stdlib/Makefile: Likewise.
5882         * streams/Makefile: Likewise.
5883         * string/Makefile: Likewise.
5884         * sunrpc/Makefile: Likewise.
5885         (all): Remove target.
5886         * sysvipc/Makefile: Include Makeconfig immediately after defining
5887         subdir.
5888         * termios/Makefile: Likewise.
5889         * time/Makefile: Likewise.
5890         * timezone/Makefile: Likewise.
5891         (all): Remove target.
5892         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5893         subdir.
5894         * wctype/Makefile: Likewise.
5896 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5898         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5899         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5900         (libc_feholdexcept_setround_mips): Ditto.
5901         (libc_feholdsetround): New.
5902         (libc_feholdsetroundf): New.
5903         (libc_feholdsetroundl): New.
5904         (libc_feupdateenv_test_mips): New.
5905         (libc_feupdateenv_test): New.
5906         (libc_feupdateenv_testf): New.
5907         (libc_feupdateenv_testl): New.
5908         (libc_feresetround): New.
5909         (libc_feresetroundf): New.
5910         (libc_feresetroundl): New.
5911         (libc_fetestexcept_mips): New.
5912         (libc_fetestexcept): New.
5913         (libc_fetestexceptf): New.
5914         (libc_fetestexceptl): New.
5915         (HAVE_RM_CTX): New.
5916         (libc_feholdexcept_setround_mips_ctx): New.
5917         (libc_feholdexcept_setround_ctx): New.
5918         (libc_feholdexcept_setroundf_ctx): New.
5919         (libc_feholdexcept_setroundl_ctx): New.
5920         (libc_fesetenv_mips_ctx): New.
5921         (libc_fesetenv_ctx): New.
5922         (libc_fesetenv_ctxf): New.
5923         (libc_fesetenv_ctxl): New.
5924         (libc_feupdateenv_mips_ctx): New.
5925         (libc_feupdateenv_ctx): New.
5926         (libc_feupdateenvf_ctx): New.
5927         (libc_feupdateenvl_ctx): New.
5928         (libc_feholdsetround_mips_ctx): New.
5929         (libc_feholdsetround_ctx): New.
5930         (libc_feholdsetroundf_ctx): New.
5931         (libc_feholdsetroundl_ctx): New.
5932         (libc_feresetround_mips_ctx): New.
5933         (libc_feresetround_ctx): New.
5934         (libc_feresetroundf_ctx): New.
5935         (libc_feresetroundl_ctx): New.
5937 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5939         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5941         * manual/ipc.texi: New file.
5942         * manual/Makefile (chapters): Add ipc.
5943         * manual/job.texi: Add "Inter-Process Communication" to next.
5944         * manual/process.texi: Add "Inter-Process Communication" to prev.
5946 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5950 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5952         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5954         * manual/arith.texi: Fix spaces after sentences.
5955         * manual/charset.texi: Likewise.
5956         * manual/errno.texi: Likewise.
5957         * manual/install.texi: Likewise.
5958         * manual/llio.texi: Likewise.
5959         * manual/locale.texi: Likewise.
5960         * manual/maint.texi: Likewise.
5961         * manual/math.texi: Likewise.
5962         * manual/memory.texi: Likewise.
5963         * manual/message.texi: Likewise.
5964         * manual/probes.texi: Likewise.
5965         * manual/resource.texi: Likewise.
5966         * manual/signal.texi: Likewise.
5967         * manual/socket.texi: Likewise.
5968         * manual/stdio.texi: Likewise.
5969         * manual/string.texi: Likewise.
5970         * manual/time.texi: Likewise.
5971         * manual/users.texi: Likewise.
5973 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5975         [BZ #16632]
5976         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5977         _DEFAULT_SOURCE is defined.
5979 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5980             Carlos O'Donell  <carlos@redhat.com>
5982         [BZ #16613]
5983         * elf/dl-tls.c (_dl_count_modids): New function.
5984         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5985         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5986         audit library and increment generation counter.
5987         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5988         * elf/tst-audit9.c: New file.
5989         * elf/tst-auditmod9a.c: New file.
5990         * elf/tst-auditmod9b.c: New file.
5991         * elf/Makefile: Add rules to build and run tst-audit9.
5993 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5995         [BZ #15347]
5996         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5998 2014-02-25  Will Newton  <will.newton@linaro.org>
6000         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6001         (__longjmp): Restore sp and lr before restoring callee
6002         saved registers.  Add longjmp and longjmp_target
6003         SystemTap probe point.
6004         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6005         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6006         Define to zero to match jmpbuf layout.
6007         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6008         (__sigsetjmp): Save sp and lr before saving callee
6009         saved registers.  Add setjmp SystemTap probe point.
6011 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6013         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6015 2014-02-24  Andreas Schwab  <schwab@suse.de>
6017         [BZ #15804]
6018         * elf/pldd.c (wait_for_ptrace_stop): New function.
6019         (main): Call it after attaching.
6021 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6023         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6024         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6025         Versions files is now verboten.
6026         * hurd/Versions (libc: GLIBC_2.0):
6027         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6028         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6029         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6030         * mach/Versions: Likewise.
6032         * csu/Versions: Remove unused %include.
6033         * resolv/Versions: Likewise.
6035 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6037         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6038         ($(objpfx)check-local-headers.out): Likewise.
6039         ($(objpfx)begin-end-check.out): Likewise.
6040         * Makerules (check-abi-%.out): Likewise.
6041         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6042         ($(objpfx)test2.cat): Likewise.
6043         ($(objpfx)de/libc.cat): Likewise.
6044         ($(objpfx)test-gencat.out): Likewise.
6045         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6046         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6047         ($(objpfx)noload-mem): Likewise.
6048         ($(objpfx)tst-pathopt.out): Likewise.
6049         ($(objpfx)tst-rtld-load-self.out): Likewise.
6050         ($(objpfx)tst-array1-cmp.out): Likewise.
6051         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6052         ($(objpfx)tst-array2-cmp.out): Likewise.
6053         ($(objpfx)tst-array3-cmp.out): Likewise.
6054         ($(objpfx)tst-array4-cmp.out): Likewise.
6055         ($(objpfx)tst-array5-cmp.out): Likewise.
6056         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6057         ($(objpfx)check-textrel.out): Likewise.
6058         ($(objpfx)check-execstack.out): Likewise.
6059         ($(objpfx)check-localplt.out): Likewise.
6060         ($(objpfx)order2-cmp.out): Likewise.
6061         ($(objpfx)tst-leaks1-mem): Likewise.
6062         ($(objpfx)tst-leaks1-static-mem): Likewise.
6063         ($(objpfx)tst-initorder-cmp.out): Likewise.
6064         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6065         ($(objpfx)tst-unused-dep.out): Likewise.
6066         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6067         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6068         * iconv/Makefile (test-iconvconfig): Likewise.
6069         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6070         ($(objpfx)iconv-test.out): Likewise.
6071         ($(objpfx)tst-tables.out): Likewise.
6072         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6073         ($(objpfx)tst-gettext.out): Likewise.
6074         ($(objpfx)tst-translit.out): Likewise.
6075         ($(objpfx)tst-gettext2.out): Likewise.
6076         ($(objpfx)tst-gettext4.out): Likewise.
6077         ($(objpfx)tst-gettext6.out): Likewise.
6078         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6079         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6080         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6081         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6082         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6083         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6084         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6085         ($(objpfx)wordexp-tst.out): Likewise.
6086         ($(objpfx)annexc.out): Likewise.
6087         ($(objpfx)tst-fnmatch-mem): Likewise.
6088         ($(objpfx)bug-regex2-mem): Likewise.
6089         ($(objpfx)bug-regex14-mem): Likewise.
6090         ($(objpfx)bug-regex21-mem): Likewise.
6091         ($(objpfx)bug-regex31-mem): Likewise.
6092         ($(objpfx)tst-vfork3-mem): Likewise.
6093         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6094         ($(objpfx)tst-pcre-mem): Likewise.
6095         ($(objpfx)tst-boost-mem): Likewise.
6096         ($(objpfx)tst-getconf.out): Likewise.
6097         ($(objpfx)bug-ga2-mem): Likewise.
6098         ($(objpfx)bug-glob2-mem): Likewise.
6099         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6100         ($(objpfx)mtrace-tst-leaks2): Likewise.
6101         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6102         ($(objpfx)tst-printf.out): Likewise.
6103         ($(objpfx)tst-setvbuf1.out): Likewise.
6104         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6105         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6106         ($(objpfx)tst-fmtmsg.out): Likewise.
6107         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6108         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6110         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6111         * bits/sigaction.h [__USE_MISC]: Likewise.
6112         * bits/waitstatus.h: Update #endif comments.
6113         * ctype/ctype.h: Likewise.
6114         * dirent/dirent.h: Likewise.
6115         [__USE_MISC]: Remove redundant conditionals.
6116         * grp/grp.h: Update #endif comments.
6117         [__USE_GNU]: Remove redundant conditionals.
6118         [__USE_MISC]: Likewise.
6119         * inet/netinet/in.h [__USE_GNU]: Likewise.
6120         * io/sys/stat.h [__USE_MISC]: Likewise.
6121         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6122         * libio/bits/stdio.h: Update #endif comments.
6123         [__USE_MISC]: Remove redundant conditionals.
6124         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6125         * libio/stdio.h: Update #endif comments.
6126         [__USE_MISC]: Remove redundant conditionals.
6127         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6128         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6129         * math/math.h: Update #else and #endif comments.
6130         [__USE_MISC]: Remove redundant conditionals.
6131         * misc/sys/uio.h: Update #endif comments.
6132         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6133         * posix/glob.h [__USE_MISC]: Likewise.
6134         * posix/sys/types.h: Update #endif comments.
6135         [__USE_MISC]: Remove redundant conditionals.
6136         * posix/sys/wait.h: Update #endif comments.
6137         [__USE_MISC]: Remove redundant conditionals.
6138         * posix/unistd.h: Update #endif comments.
6139         [__USE_MISC]: Remove redundant conditionals.
6140         * pwd/pwd.h [__USE_GNU]: Likewise.
6141         [__USE_MISC]: Likewise.
6142         * resolv/netdb.h [__USE_GNU]: Likewise.
6143         * signal/signal.h: Update #endif comments.
6144         [__USE_MISC]: Remove redundant conditionals.
6145         * stdlib/stdlib.h: Update #else and #endif comments.
6146         [__USE_MISC]: Remove redundant conditionals.
6147         [__USE_GNU]: Likewise.
6148         * string/bits/string2.h [__USE_MISC]: Likewise.
6149         * string/string.h: Update #endif comments.
6150         [__USE_MISC]: Remove redundant conditionals.
6151         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6152         Likewise.
6153         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6154         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6155         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6156         Likewise.
6157         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6158         Likewise.
6159         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6160         comments.
6161         [__USE_MISC]: Remove redundant conditionals.
6162         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6163         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6164         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6165         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6166         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6167         Likewise.
6168         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6169         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6170         Likewise.
6171         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6172         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6173         Likewise.
6174         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6175         Likewise.
6176         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6177         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6178         Likewise.
6179         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6180         Likewise.
6181         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6182         * sysdeps/x86/bits/string.h: Update #endif comments.
6183         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6184         conditionals.
6185         * time/sys/time.h: Update #endif comments.
6186         * time/time.h: Likewise.
6187         [__USE_MISC]: Remove redundant conditionals.
6189 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6191         [BZ #16600]
6192         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6194 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6196         * Versions.def (librt): Add GLIBC_2.17.
6198 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6200         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6201         synonym for _SYS_AUXV_H to allow direct inclusion.
6202         * sysdeps/sparc/bits/hwcap.h: Likewise.
6203         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6204         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6205         * sysdeps/sparc/sysdep.h: Likewise.
6207 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6209         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6211 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6213         * benchtests/bench-strrchr.c: Print length instead of position.
6215 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #16611]
6218         * sysdeps/unix/sysv/linux/kernel-features.h
6219         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6220         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6221         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6222         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6223         Likewise.
6224         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6225         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6226         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6227         (__ASSUME_SENDMMSG): Define instead of using previous
6228         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6229         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6230         (__ASSUME_SENDMMSG_SYSCALL): Define.
6231         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6232         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6233         Likewise.
6234         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6235         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6236         Likewise.
6237         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6238         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6239         Likewise.
6240         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6241         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6242         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6243         [__ASSUME_SENDMMSG]: Change conditionals to
6244         [__ASSUME_SENDMMSG_SOCKETCALL].
6245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6246         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6247         Define.
6248         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6249         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6250         Likewise.
6251         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6252         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6253         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6254         [!__ASSUME_SENDMMSG]: Change conditional to
6255         [!__ASSUME_SENDMMSG_SOCKETCALL].
6256         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6257         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6258         Define.
6260         [BZ #16610]
6261         * sysdeps/unix/sysv/linux/kernel-features.h
6262         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6263         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6264         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6265         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6266         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6267         [__i386__ || __sparc__]
6268         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6269         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6270         (__ASSUME_RECVMMSG): Define instead of using previous
6271         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6272         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6273         (__ASSUME_RECVMMSG_SYSCALL): Define.
6274         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6275         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6276         Likewise.
6277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6278         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6279         Likewise.
6280         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6281         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6282         Likewise.
6283         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6284         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6285         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6286         [__ASSUME_RECVMMSG]: Change condition to
6287         [__ASSUME_RECVMMSG_SOCKETCALL].
6288         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6290         Define.
6291         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6296         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6297         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6298         [!__ASSUME_RECVMMSG]: Change condition to
6299         [!__ASSUME_RECVMMSG_SOCKETCALL].
6300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6301         (__ASSUME_RECVMMSG_SYSCALL): Define.
6303         [BZ #16609]
6304         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6305         __powerpc__ || __s390__ || __sh__ || __sparc__]
6306         (__ASSUME_SOCKETCALL): Define.
6307         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6308         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6309         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6310         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6311         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6312         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6313         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6314         (__ASSUME_ACCEPT4): Define instead of using previous
6315         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6316         __powerpc__ || __sparc__ || __s390__)] condition.
6317         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6318         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6319         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6320         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6321         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6322         [!__ASSUME_ACCEPT4]: Change condition to
6323         [!__ASSUME_ACCEPT4_SOCKETCALL].
6324         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6325         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6326         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6328         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6329         __ASSUME_ACCEPT4_SYSCALL.
6330         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6331         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6332         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6333         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6334         __ASSUME_ACCEPT4_SYSCALL.
6335         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6336         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6337         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6338         [__ASSUME_ACCEPT4]: Change condition to
6339         [__ASSUME_ACCEPT4_SOCKETCALL].
6340         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6341         (__ASSUME_SOCKETCALL): Define.
6342         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6344         (__ASSUME_SOCKETCALL): Define.
6345         (__ASSUME_ACCEPT4): Remove.
6346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6347         Define.
6348         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6349         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6350         Likewise.
6351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6352         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6354         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6355         macro.
6356         (HWCAP_ARM_LPAE): Likewise.
6357         (HWCAP_ARM_EVTSTRM): Likewise.
6358         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6359         Add vpfd32, lpae and evtstrm.
6360         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6361         Increase to 22.
6363 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6365         * math/auto-libm-test-in: Add tests of clog10.
6366         * math/auto-libm-test-out: Regenerated.
6367         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6368         * sysdeps/i386/fpu/libm-test-ulps: Update.
6369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6371 2014-02-18  Andreas Schwab  <schwab@suse.de>
6373         [BZ #16574]
6374         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6375         Store non-zero if the second buffer was newly allocated.
6376         (send_dg): Likewise.
6377         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6378         to send_vc and send_dg.
6379         (res_nsend): Pass NULL for ansp2_malloced.
6380         * resolv/res_query.c (__libc_res_nquery): Add parameter
6381         answerp2_malloced and pass it down to __libc_res_nsend.
6382         (res_nquery): Pass additional NULL to __libc_res_nquery.
6383         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6384         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6385         second answer buffer if answerp2_malloced was set.
6386         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6387         (__libc_res_nquerydomain): Add parameter
6388         answerp2_malloced and pass it down to __libc_res_nquery.
6389         (res_nquerydomain): Pass additional NULL to
6390         __libc_res_nquerydomain.
6391         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6392         additional NULL to __libc_res_nsend and __libc_res_nquery.
6393         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6394         additional NULL to __libc_res_nsearch.
6395         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6396         parameter of __libc_res_nsearch to check for separately allocated
6397         second buffer.
6398         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6399         __libc_res_nquery.
6400         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6401         additional NULL to __libc_res_nquery.
6402         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6403         __libc_res_nsearch.
6404         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6405         * include/resolv.h: Update prototypes of __libc_res_nquery,
6406         __libc_res_nsearch, __libc_res_nsend.
6408 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6410         * math/auto-libm-test-in: Add tests of fma.
6411         * math/auto-libm-test-out: Regenerated.
6412         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6413         (fma_towardzero_test_data): Likewise.
6414         (fma_downward_test_data): Likewise.
6415         (fma_upward_test_data): Likewise.
6416         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6417         mpc_mode.
6418         (rounding_modes): Add values for new field.
6419         (func_calc_method): Add value mpfr_fff_f.
6420         (func_calc_desc): Add mpfr_fff_f union field.
6421         (test_function): Add field exact_args.
6422         (FUNC): Add macro argument EXACT_ARGS.
6423         (FUNC_mpfr_f_f): Update call to FUNC.
6424         (FUNC_mpfr_f_f): Likewise.
6425         (FUNC_mpfr_ff_f): Likewise.
6426         (FUNC_mpfr_if_f): Likewise.
6427         (FUNC_mpc_c_f): Likewise.
6428         (FUNC_mpc_c_c): Likewise.
6429         (test_functions): Add fma.  Update calls to FUNC.
6430         (handle_input_arg): Add argument exact_args.
6431         (add_test): Update call to handle_input_arg.
6432         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6433         (output_for_one_input_case): Update call to calc_generic_results.
6434         Recalculate exact zero results in each rounding mode.
6436         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6437         non-negative before setting low bit.
6438         * math/auto-libm-test-in: Mark one asin test possibly having
6439         spurious underflow.
6440         * math/auto-libm-test-out: Regenerated.
6441         * sysdeps/i386/fpu/libm-test-ulps: Update.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6444 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6446         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6447         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6448         ports/sysdeps/unix/sysv/linux/microblaze.
6449         * README: Add missing listing for microblaze*-*-linux-gnu.
6451 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6453         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6454         * sysdeps/unix/sysv/linux/ia64: Move directory from
6455         ports/sysdeps/unix/sysv/linux/ia64.
6456         * README: Update listing for ia64-*-linux-gnu.
6458 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6459             Joseph Myers  <joseph@codesourcery.com>
6461         * Makeconfig (test-name): New variable.
6462         (evaluate-test): Likewise.
6463         * Makerules (do-test-clean): Remove .test-result files.
6464         (common-mostlyclean): Likewise.
6465         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6466         * scripts/evaluate-test.sh: New file.
6468 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6470         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6471         separate $(objpfx)tst-fopenloc-cmp.out and
6472         $(objpfx)tst-fopenloc-mem.out targets.
6473         (tests): Update dependencies.
6474         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6475         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6476         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6477         (tst-rxspencer-no-utf8-ARGS): New variable.
6478         (tst-rxspencer-no-utf8-ENV): Likewise.
6479         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6480         instead of $(objpfx)tst-rxspencer-mem.
6481         ($(objpfx)tst-rxspencer-mem): Change target to
6482         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6483         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6484         * posix/tst-rxspencer-no-utf8.c: New file.
6486         * elf/Makefile ($(objpfx)order.out): Remove rule.
6487         [$(run-built-tests) = yes] (tests): Depend on
6488         $(objpfx)order-cmp.out.
6489         ($(objpfx)order-cmp.out): New rule.
6490         [$(run-built-tests) = yes] (tests): Depend on
6491         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6492         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6493         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6494         $(objpfx)tst-array5-static-cmp.out.
6495         ($(objpfx)tst-array1.out): Remove rule.
6496         ($(objpfx)tst-array1-cmp.out): New rule.
6497         ($(objpfx)tst-array1-static.out): Remove rule.
6498         ($(objpfx)tst-array1-static-cmp.out): New rule.
6499         ($(objpfx)tst-array2.out): Remove rule.
6500         ($(objpfx)tst-array2-cmp.out): New rule.
6501         ($(objpfx)tst-array3.out): Remove rule.
6502         ($(objpfx)tst-array3-cmp.out): New rule.
6503         ($(objpfx)tst-array4.out): Remove rule.
6504         ($(objpfx)tst-array4-cmp.out): New rule.
6505         ($(objpfx)tst-array5.out): Remove rule.
6506         ($(objpfx)tst-array5-cmp.out): New rule.
6507         ($(objpfx)tst-array5-static.out): Remove rule.
6508         ($(objpfx)tst-array5-static-cmp.out): New rule.
6509         [$(run-built-tests) = yes] (tests): Depend on
6510         $(objpfx)order2-cmp.out.
6511         ($(objpfx)order2.out): Remove rule.
6512         ($(objpfx)order2-cmp.out): New rule.
6513         ($(objpfx)tst-initorder.out): Remove rule.
6514         [$(run-built-tests) = yes] (tests): Depend on
6515         $(objpfx)tst-initorder-cmp.out.
6516         ($(objpfx)tst-initorder-cmp.out): New rule.
6517         ($(objpfx)tst-initorder2.out): Remove rule.
6518         [$(run-built-tests) = yes] (tests): Depend on
6519         $(objpfx)tst-initorder2-cmp.out.
6520         ($(objpfx)tst-initorder2-cmp.out): New rule.
6521         [$(run-built-tests) = yes] (tests): Depend on
6522         $(objpfx)tst-unused-dep-cmp.out.
6523         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6524         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6525         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6526         on $(objpfx)tst-setvbuf1-cmp.out.
6527         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6528         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6529         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6530         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6531         ($(objpfx)tst-svc.out): Remove rule.
6532         ($(objpfx)tst-svc-cmp.out): New rule.
6534 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6536         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6537         * ctype/ctype.h [__USE_MISC]: Likewise.
6538         * dirent/dirent.h [__USE_MISC]: Likewise.
6539         * grp/grp.h [__USE_MISC]: Likewise.
6540         * io/fcntl.h [__USE_MISC]: Likewise.
6541         * io/sys/stat.h [__USE_MISC]: Likewise.
6542         * libio/stdio.h [__USE_MISC]: Likewise.
6543         * posix/unistd.h [__USE_MISC]: Likewise.
6544         * pwd/pwd.h [__USE_MISC]: Likewise.
6545         * stdlib.h [__USE_MISC]: Likewise.
6546         * string/bits/string2.h [__USE_MISC]: Likewise.
6547         * string/string.h [__USE_MISC]: Likewise.
6548         * time/time.h [__USE_MISC]: Likewise.
6550 2014-02-13  Andreas Schwab  <schwab@suse.de>
6552         [BZ #16574]
6553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6554         second answer buffer if it was separately allocated.
6556 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6558         * sysdeps/mips/math-tests.h: Include <features.h>.
6559         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6560         (ROUNDING_TESTS_long_double): Do not define.
6561         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6562         (EXCEPTION_TESTS_long_double): Likewise.
6563         * sysdeps/mips/mips64/libm-test-ulps: Update.
6565         * include/features.h (__USE_BSD): Remove macro definitions.
6566         (__USE_SVID): Likewise.
6567         (_BSD_SOURCE): Likewise.
6568         (_SVID_SOURCE): Likewise.
6569         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6570         from definition of _DEFAULT_SOURCE.
6571         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6572         [_DEFAULT_SOURCE].
6573         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6574         * bits/mman.h [__USE_BSD]: Likewise.
6575         * bits/termios.h [__USE_BSD]: Likewise.
6576         * bits/waitstatus.h [__USE_BSD]: Likewise.
6577         * ctype/ctype.h [__USE_SVID]: Likewise.
6578         * dirent/dirent.h [__USE_BSD]: Likewise.
6579         * grp/grp.h [__USE_SVID]: Likewise.
6580         [__USE_BSD]: Likewise.
6581         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6582         * io/fcntl.h [__USE_BSD]: Likewise.
6583         * io/ftw.h [__USE_BSD]: Likewise.
6584         * io/sys/stat.h [__USE_BSD]: Likewise.
6585         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6586         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6587         * libio/stdio.h [__USE_SVID]: Likewise.
6588         [__USE_BSD]: Likewise.
6589         * math/math.h [__USE_SVID]: Likewise.
6590         [__USE_BSD]: Likewise.
6591         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6592         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6593         * misc/search.h [__USE_SVID]: Likewise.
6594         * misc/sys/mman.h [__USE_BSD]: Likewise.
6595         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6596         * misc/sys/uio.h [__USE_BSD]: Likewise.
6597         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6598         * posix/glob.h [__USE_BSD]: Likewise.
6599         * posix/regex.h [__USE_BSD]: Likewise.
6600         * posix/sys/types.h [__USE_BSD]: Likewise.
6601         [__USE_SVID]: Likewise.
6602         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6603         * posix/sys/wait.h [__USE_BSD]: Likewise.
6604         [__USE_SVID]: Likewise.
6605         * posix/unistd.h [__USE_BSD]: Likewise.
6606         [__USE_SVID]: Likewise.
6607         * pwd/pwd.h [__USE_SVID]: Likewise.
6608         * resolv/netdb.h [__USE_BSD]: Likewise.
6609         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6610         * signal/signal.h [__USE_BSD]: Likewise.
6611         [__USE_SVID]: Likewise.
6612         * socket/sys/socket.h [__USE_BSD]: Likewise.
6613         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6614         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6615         [__USE_SVID]: Likewise.
6616         * string/bits/string2.h [__USE_BSD]: Likewise.
6617         [__USE_SVID]: Likewise.
6618         * string/bits/string3.h [__USE_BSD]: Likewise.
6619         * string/endian.h [__USE_BSD]: Likewise.
6620         * string/string.h [__USE_SVID]: Likewise.
6621         [__USE_BSD]: Likewise.
6622         * string/strings.h [__USE_BSD]: Likewise.
6623         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6624         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6625         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6626         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6627         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6628         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6629         Likewise.
6630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6631         Likewise.
6632         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6633         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6634         Likewise.
6635         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6636         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6637         Likewise.
6638         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6639         Likewise.
6640         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6641         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6643         Likewise.
6644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6645         Likewise.
6646         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6647         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6648         * termios/termios.h [__USE_BSD]: Likewise.
6649         * time/sys/time.h [__USE_BSD]: Likewise.
6650         * time/time.h [__USE_BSD]: Likewise.
6651         [__USE_SVID]: Likewise.
6653         * Makefile (subdir_targets): Remove subdir_lint.out.
6655         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6656         (do-tst-printf): Likewise.
6657         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6658         $(objpfx)tst-printf.out.
6660         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6662         * Makerules (check-abi-%): Change target to
6663         $(objpfx)check-abi-%.out.
6664         (check-abi target): Update dependencies.
6665         (check-abi-pattern variable): Redirect output of diff to $@.
6666         (check-abi variable): Likewise.
6667         * elf/Makefile (check-abi): Update dependencies.
6669         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6670         unused.
6671         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6672         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6673         subnormal range.
6674         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6675         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6676         value has largest subnormal exponent.
6677         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6678         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6679         * sysdeps/aarch64/soft-fp/sfp-machine.h
6680         (_FP_TININESS_AFTER_ROUNDING): New macro.
6681         * sysdeps/alpha/soft-fp/sfp-machine.h
6682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6683         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6684         Likewise.
6685         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6686         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6687         * sysdeps/mips/soft-fp/sfp-machine.h
6688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6689         * sysdeps/powerpc/soft-fp/sfp-machine.h
6690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6691         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6692         Likewise.
6693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6694         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6695         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6697         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6698         Likewise.
6700 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6702         [BZ #16545]
6703         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6704         model 1.
6706 2014-02-12  Richard Henderson  <rth@redhat.com>
6708         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6709         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6710         * sysdeps/unix/sysv/linux/alpha: Move directory from
6711         ports/sysdeps/unix/sysv/linux/alpha.
6712         * README: Update listing for alpha-*-linux-gnu.
6714 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6716         * include/features.h: Update comment documenting feature test
6717         macros.
6718         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6719         _DEFAULT_SOURCE.
6720         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6721         (_SVID_SOURCE): Likewise.
6722         (_DEFAULT_SOURCE): Update description of default features.
6723         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6724         with _GNU_SOURCE.
6725         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6726         (S_ISVTX): Likewise.
6727         * manual/math.texi (Mathematical Constants): Likewise.
6728         * manual/signal.texi (Interrupted Primitives): Likewise.
6729         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6730         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6731         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6732         Don't refer to _SVID_SOURCE in warning text.
6734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6736         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6737         already defined.
6738         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6739         * sysdeps/mips/dl-lookup.c: Remove.
6740         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6742 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6744         [BZ #16447]
6745         * math/auto-libm-test-in: Add testcase for expl.
6746         * math/auto-libm-test-out: Regenerate.
6747         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6748         calculation of unsafe.
6749         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6751 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6753         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6754         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6755         ports/sysdeps/unix/sysv/linux/aarch64.
6756         * README: Update listing for aarch64*-*-linux-gnu.
6758 2014-02-11  Will Newton  <will.newton@linaro.org>
6760         * manual/probes.texi (Mathematical Function Probes): Use
6761         "triggered" instead of "hit".
6763         * manual/probes.texi (Internal Probes): Add documentation
6764         of setjmp, longjmp and longjmp_target probes.
6766         * include/stap-probe.h: Add comment about probe argument
6767         format.
6769         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6770         definition.  (tr_where, tr_freehook, tr_mallochook,
6771         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6773 2014-02-11  David S. Miller  <davem@davemloft.net>
6775         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6776         processing int_tests.
6778 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6780         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6781         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6782         * sysdeps/unix/sysv/linux/mips: Move directory from
6783         ports/sysdeps/unix/sysv/linux/mips.
6784         * README: Update listing for mips-*-linux-gnu and
6785         mips64-*-linux-gnu.
6787 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6789         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6790         * sysdeps/unix/sysv/linux/m68k: Move directory from
6791         ports/sysdeps/unix/sysv/linux/m68k.
6792         * README: Update listing for m68k-*-linux-gnu.
6794 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
6796         * sysdeps/tile: Move directory from ports/sysdeps/tile.
6797         * sysdeps/unix/sysv/linux/generic: Move directory from
6798         ports/sysdeps/unix/sysv/linux/generic.
6799         * sysdeps/unix/sysv/linux/tile: Move directory from
6800         ports/sysdeps/unix/sysv/linux/tile.
6801         * README: Update listing for tile*-*-linux-gnu.
6803 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
6805         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6806         __builtin_expect.
6807         * benchtests/bench-memmem.c (simple_memmem): Likewise.
6808         * catgets/open_catalog.c (__open_catalog): Likewise.
6809         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6810         * debug/confstr_chk.c: Likewise.
6811         * debug/fread_chk.c (__fread_chk): Likewise.
6812         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6813         * debug/getgroups_chk.c: Likewise.
6814         * debug/mbsnrtowcs_chk.c: Likewise.
6815         * debug/mbsrtowcs_chk.c: Likewise.
6816         * debug/mbstowcs_chk.c: Likewise.
6817         * debug/memcpy_chk.c: Likewise.
6818         * debug/memmove_chk.c: Likewise.
6819         * debug/mempcpy_chk.c: Likewise.
6820         * debug/memset_chk.c: Likewise.
6821         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6822         * debug/strcat_chk.c (__strcat_chk): Likewise.
6823         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6824         * debug/strncat_chk.c (__strncat_chk): Likewise.
6825         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6826         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6827         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6828         * debug/wcpncpy_chk.c: Likewise.
6829         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6830         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6831         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6832         * debug/wcsncpy_chk.c: Likewise.
6833         * debug/wcsnrtombs_chk.c: Likewise.
6834         * debug/wcsrtombs_chk.c: Likewise.
6835         * debug/wcstombs_chk.c: Likewise.
6836         * debug/wmemcpy_chk.c: Likewise.
6837         * debug/wmemmove_chk.c: Likewise.
6838         * debug/wmempcpy_chk.c: Likewise.
6839         * debug/wmemset_chk.c: Likewise.
6840         * dirent/scandirat.c (SCANDIRAT): Likewise.
6841         * dlfcn/dladdr1.c (dladdr1): Likewise.
6842         * dlfcn/dladdr.c (dladdr): Likewise.
6843         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6844         * dlfcn/dlerror.c (__dlerror): Likewise.
6845         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6846         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6847         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6848         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6849         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6850         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6851         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6852         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6853         Likewise.
6854         * elf/dl-conflict.c: Likewise.
6855         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6856         * elf/dl-dst.h: Likewise.
6857         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6858         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6859         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6860         * elf/dl-init.c (call_init, _dl_init): Likewise.
6861         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6862         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6863         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6864         Likewise.
6865         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6866         Likewise.
6867         * elf/dl-minimal.c (__libc_memalign): Likewise.
6868         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6869         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6870         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6871         * elf/dl-sym.c (do_sym): Likewise.
6872         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6873         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6874         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6875         * elf/dl-writev.h (_dl_writev): Likewise.
6876         * elf/ldconfig.c (search_dir): Likewise.
6877         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6878         (dl_main): Likewise.
6879         * elf/setup-vdso.h (setup_vdso): Likewise.
6880         * grp/compat-initgroups.c (compat_call): Likewise.
6881         * grp/fgetgrent.c (fgetgrent): Likewise.
6882         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6883         * grp/putgrent.c (putgrent): Likewise.
6884         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6885         Likewise.
6886         * hurd/hurdinit.c: Likewise.
6887         * iconvdata/8bit-gap.c (struct): Likewise.
6888         * iconvdata/ansi_x3.110.c : Likewise.
6889         * iconvdata/big5.c : Likewise.
6890         * iconvdata/big5hkscs.c : Likewise.
6891         * iconvdata/cp1255.c: Likewise.
6892         * iconvdata/cp1258.c : Likewise.
6893         * iconvdata/cp932.c : Likewise.
6894         * iconvdata/euc-cn.c: Likewise.
6895         * iconvdata/euc-jisx0213.c : Likewise.
6896         * iconvdata/euc-jp.c: Likewise.
6897         * iconvdata/euc-jp-ms.c : Likewise.
6898         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6899         * iconvdata/gb18030.c : Likewise.
6900         * iconvdata/gbbig5.c (const): Likewise.
6901         * iconvdata/gbgbk.c: Likewise.
6902         * iconvdata/gbk.c : Likewise.
6903         * iconvdata/ibm1364.c : Likewise.
6904         * iconvdata/ibm930.c : Likewise.
6905         * iconvdata/ibm932.c: Likewise.
6906         * iconvdata/ibm933.c : Likewise.
6907         * iconvdata/ibm935.c : Likewise.
6908         * iconvdata/ibm937.c : Likewise.
6909         * iconvdata/ibm939.c : Likewise.
6910         * iconvdata/ibm943.c: Likewise.
6911         * iconvdata/iso_11548-1.c: Likewise.
6912         * iconvdata/iso-2022-cn.c : Likewise.
6913         * iconvdata/iso-2022-cn-ext.c : Likewise.
6914         * iconvdata/iso-2022-jp-3.c: Likewise.
6915         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6916         * iconvdata/iso-2022-kr.c : Likewise.
6917         * iconvdata/iso646.c (gconv_end): Likewise.
6918         * iconvdata/iso_6937-2.c : Likewise.
6919         * iconvdata/iso_6937.c : Likewise.
6920         * iconvdata/iso8859-1.c: Likewise.
6921         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6922         * iconvdata/shift_jisx0213.c : Likewise.
6923         * iconvdata/sjis.c : Likewise.
6924         * iconvdata/t.61.c : Likewise.
6925         * iconvdata/tcvn5712-1.c : Likewise.
6926         * iconvdata/tscii.c: Likewise.
6927         * iconvdata/uhc.c : Likewise.
6928         * iconvdata/unicode.c (gconv_end): Likewise.
6929         * iconvdata/utf-16.c (gconv_end): Likewise.
6930         * iconvdata/utf-32.c (gconv_end): Likewise.
6931         * iconvdata/utf-7.c (base64): Likewise.
6932         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6933         * iconv/gconv_close.c (__gconv_close): Likewise.
6934         * iconv/gconv_open.c (__gconv_open): Likewise.
6935         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6936         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6937         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6938         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6939         (ucs4le_internal_loop_single): Likewise.
6940         * iconv/iconv.c (iconv): Likewise.
6941         * iconv/iconv_close.c: Likewise.
6942         * iconv/loop.c (SINGLE): Likewise.
6943         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6944         * include/atomic.h: Likewise.
6945         * inet/inet6_option.c (option_alloc): Likewise.
6946         * intl/bindtextdom.c (set_binding_values): Likewise.
6947         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6948         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6949         * intl/localealias.c (read_alias_file): Likewise.
6950         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6951         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6952         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6953         * libio/fmemopen.c (fmemopen): Likewise.
6954         * libio/iofgets.c (_IO_fgets): Likewise.
6955         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6956         * libio/iofgetws.c (fgetws): Likewise.
6957         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6958         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6959         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6960         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6961         * locale/findlocale.c (_nl_find_locale): Likewise.
6962         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6963         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6964         Likewise.
6965         * locale/setlocale.c (setlocale): Likewise.
6966         * login/programs/pt_chown.c (main): Likewise.
6967         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6968         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6969         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6970         (mmap, mmap64, mremap, munmap): Likewise.
6971         * math/e_exp2l.c: Likewise.
6972         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6973         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6974         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6975         * math/s_catan.c (__catan): Likewise.
6976         * math/s_catanf.c (__catanf): Likewise.
6977         * math/s_catanh.c (__catanh): Likewise.
6978         * math/s_catanhf.c (__catanhf): Likewise.
6979         * math/s_catanhl.c (__catanhl): Likewise.
6980         * math/s_catanl.c (__catanl): Likewise.
6981         * math/s_ccosh.c (__ccosh): Likewise.
6982         * math/s_ccoshf.c (__ccoshf): Likewise.
6983         * math/s_ccoshl.c (__ccoshl): Likewise.
6984         * math/s_cexp.c (__cexp): Likewise.
6985         * math/s_cexpf.c (__cexpf): Likewise.
6986         * math/s_cexpl.c (__cexpl): Likewise.
6987         * math/s_clog10.c (__clog10): Likewise.
6988         * math/s_clog10f.c (__clog10f): Likewise.
6989         * math/s_clog10l.c (__clog10l): Likewise.
6990         * math/s_clog.c (__clog): Likewise.
6991         * math/s_clogf.c (__clogf): Likewise.
6992         * math/s_clogl.c (__clogl): Likewise.
6993         * math/s_csin.c (__csin): Likewise.
6994         * math/s_csinf.c (__csinf): Likewise.
6995         * math/s_csinh.c (__csinh): Likewise.
6996         * math/s_csinhf.c (__csinhf): Likewise.
6997         * math/s_csinhl.c (__csinhl): Likewise.
6998         * math/s_csinl.c (__csinl): Likewise.
6999         * math/s_csqrt.c (__csqrt): Likewise.
7000         * math/s_csqrtf.c (__csqrtf): Likewise.
7001         * math/s_csqrtl.c (__csqrtl): Likewise.
7002         * math/s_ctan.c (__ctan): Likewise.
7003         * math/s_ctanf.c (__ctanf): Likewise.
7004         * math/s_ctanh.c (__ctanh): Likewise.
7005         * math/s_ctanhf.c (__ctanhf): Likewise.
7006         * math/s_ctanhl.c (__ctanhl): Likewise.
7007         * math/s_ctanl.c (__ctanl): Likewise.
7008         * math/w_pow.c: Likewise.
7009         * math/w_powf.c: Likewise.
7010         * math/w_powl.c: Likewise.
7011         * math/w_scalb.c (sysv_scalb): Likewise.
7012         * math/w_scalbf.c (sysv_scalbf): Likewise.
7013         * math/w_scalbl.c (sysv_scalbl): Likewise.
7014         * misc/error.c (error_tail): Likewise.
7015         * misc/pselect.c (__pselect): Likewise.
7016         * nis/nis_callback.c (__nis_create_callback): Likewise.
7017         * nis/nis_call.c (__nisfind_server): Likewise.
7018         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7019         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7020         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7021         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7022         * nis/nis_lookup.c (nis_lookup): Likewise.
7023         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7024         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7025         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7026         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7027         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7028         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7029         * nis/nss_compat/compat-initgroups.c (add_group)
7030         (internal_getgrent_r): Likewise.
7031         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7032         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7033         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7034         (internal_getspnam_r): Likewise.
7035         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7036         (_nss_nis_getaliasbyname_r): Likewise.
7037         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7038         (_nss_nis_getntohost_r): Likewise.
7039         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7040         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7041         (_nss_nis_getgrgid_r): Likewise.
7042         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7043         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7044         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7045         (_nss_nis_gethostbyname4_r): Likewise.
7046         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7047         (initgroups_netid): Likewise.
7048         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7049         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7050         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7051         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7052         (_nss_nis_getprotobynumber_r): Likewise.
7053         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7054         (_nss_nis_getsecretkey): Likewise.
7055         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7056         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7057         (_nss_nis_getpwuid_r): Likewise.
7058         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7059         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7060         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7061         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7062         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7063         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7064         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7065         Likewise.
7066         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7067         (_nss_nisplus_getntohost_r): Likewise.
7068         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7069         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7070         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7071         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7072         Likewise.
7073         * nis/nss_nisplus/nisplus-initgroups.c
7074         (_nss_nisplus_initgroups_dyn): Likewise.
7075         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7076         (_nss_nisplus_getnetbyaddr_r): Likewise.
7077         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7078         (_nss_nisplus_getprotobynumber_r): Likewise.
7079         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7080         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7081         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7082         Likewise.
7083         * nis/nss_nisplus/nisplus-service.c
7084         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7085         (_nss_nisplus_getservbyport_r): Likewise.
7086         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7087         (_nss_nisplus_getspnam_r): Likewise.
7088         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7089         Likewise.
7090         * nscd/aicache.c (addhstaiX): Likewise.
7091         * nscd/cache.c (cache_search, prune_cache): Likewise.
7092         * nscd/connections.c (register_traced_file, send_ro_fd)
7093         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7094         (main_loop_epoll): Likewise.
7095         * nscd/grpcache.c (addgrbyX): Likewise.
7096         * nscd/hstcache.c (addhstbyX): Likewise.
7097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7098         * nscd/mem.c (gc, mempool_alloc): Likewise.
7099         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7100         (addinnetgrX): Likewise.
7101         * nscd/nscd-client.h (__nscd_acquire_maplock)
7102         (__nscd_drop_map_ref): Likewise.
7103         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7104         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7105         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7106         Likewise.
7107         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7108         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7109         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7110         (__nscd_get_map_ref): Likewise.
7111         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7112         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7113         Likewise.
7114         * nscd/pwdcache.c (addpwbyX): Likewise.
7115         * nscd/selinux.c (preserve_capabilities): Likewise.
7116         * nscd/servicescache.c (addservbyX): Likewise.
7117         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7118         * posix/fnmatch.c (fnmatch): Likewise.
7119         * posix/getopt.c (_getopt_internal_r): Likewise.
7120         * posix/glob.c (glob, glob_in_dir): Likewise.
7121         * posix/wordexp.c (exec_comm_child): Likewise.
7122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7123         (getanswer_r, gaih_getanswer_slice): Likewise.
7124         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7125         * resolv/res_init.c: Likewise.
7126         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7127         * resolv/res_query.c (__libc_res_nquery): Likewise.
7128         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7129         Likewise.
7130         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7131         * stdio-common/perror.c (perror): Likewise.
7132         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7133         * stdio-common/tmpnam.c (tmpnam): Likewise.
7134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7135         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7136         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7137         Likewise.
7138         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7139         * stdlib/putenv.c (putenv): Likewise.
7140         * stdlib/setenv.c (__add_to_environ): Likewise.
7141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7142         * stdlib/strtol_l.c (INTERNAL): Likewise.
7143         * string/memmem.c (memmem): Likewise.
7144         * string/strerror.c (strerror): Likewise.
7145         * string/strnlen.c (__strnlen): Likewise.
7146         * string/test-memmem.c (simple_memmem): Likewise.
7147         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7148         * sunrpc/pm_getport.c (__get_socket): Likewise.
7149         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7150         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7151         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7152         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7153         Likewise.
7154         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7156         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7157         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7158         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7159         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7160         Likewise.
7161         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7162         Likewise.
7163         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7164         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7166         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7167         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7169         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7170         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7171         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7172         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7173         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7175         Likewise.
7176         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7177         Likewise.
7178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7179         Likewise.
7180         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7184         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7185         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7186         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7189         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7190         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7191         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7192         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7193         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7195         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7196         Likewise.
7197         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7198         Likewise.
7199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7200         Likewise.
7201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7202         Likewise.
7203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7205         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7206         Likewise.
7207         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7208         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7209         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7210         * sysdeps/posix/sleep.c: Likewise.
7211         * sysdeps/posix/tempname.c: Likewise.
7212         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7213         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7214         Likewise.
7215         * sysdeps/powerpc/powerpc32/dl-machine.h
7216         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7219         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7220         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7221         Likewise.
7222         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7224         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7226         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7227         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7228         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7229         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7230         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7231         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7233         (elf_machine_lazy_rel): Likewise.
7234         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7236         (elf_machine_lazy_rel): Likewise.
7237         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7238         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7239         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7240         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7241         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7242         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7244         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7245         Likewise.
7246         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7247         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7248         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7249         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7251         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7252         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7253         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7254         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7256         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7259         (__posix_fallocate64_l64): Likewise.
7260         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7261         (posix_fallocate): Likewise.
7262         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7263         Likewise.
7264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7265         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7266         (getifaddrs_internal): Likewise.
7267         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7268         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7269         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7270         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7271         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7272         (__posix_fallocate64_l64): Likewise.
7273         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7276         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7277         (__get_clockfreq): Likewise.
7278         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7279         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7280         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7283         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7284         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7285         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7288         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7289         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7290         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7291         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7292         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7294         Likewise.
7295         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7296         (posix_fallocate): Likewise.
7297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7298         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7299         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7300         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7301         (elf_machine_rela, elf_machine_rela_relative)
7302         (elf_machine_lazy_rel): Likewise.
7303         * time/asctime.c (asctime_internal): Likewise.
7304         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7305         * time/tzset.c (__tzset_parse_tz): Likewise.
7306         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7307         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7308         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7309         * wcsmbs/wcsmbsload.h: Likewise.
7311         [BZ #15894]
7312         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7314         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7315         (arena_get2): Remove THREAD_STATS conditionals.
7316         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7317         (__malloc_stats, int): Likewise.
7319 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7322         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7324         * manual/setjmp.texi: Fix typos/grammar errors.
7326         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7327         Only return early when n is <= 0.  Delete unused return statement.
7329         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7330         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7331         * debug/tst-longjmp_chk3.c: New file.
7333         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7334         (test_main): Replace code with set_fortify_handler call.
7335         * debug/test-strcpy_chk.c: Likewise.
7336         * debug/tst-chk1.c: Likewise.
7337         * debug/tst-longjmp_chk.c: Likewise.
7338         * test-skeleton.c: Include fcntl.h & paths.h
7339         (set_fortify_handler): Define.
7341         * debug/tst-longjmp_chk.c: Add header comment and include
7342         ../test-skeleton.c.
7343         (do_test): Mark static.
7344         (TEST_FUNCTION): Define.
7346         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7347         (IP_PMTUDISC_INTERFACE): Likewise.
7348         (IP_MULTICAST_IF): Likewise.
7349         (IP_MULTICAST_TTL): Likewise.
7350         (IP_MULTICAST_LOOP): Likewise.
7351         (IP_ADD_MEMBERSHIP): Likewise.
7352         (IP_DROP_MEMBERSHIP): Likewise.
7353         (IP_UNBLOCK_SOURCE): Likewise.
7354         (IP_BLOCK_SOURCE): Likewise.
7355         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7356         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7357         (IP_MSFILTER): Likewise.
7358         (MCAST_JOIN_GROUP): Likewise.
7359         (MCAST_BLOCK_SOURCE): Likewise.
7360         (MCAST_UNBLOCK_SOURCE): Likewise.
7361         (MCAST_LEAVE_GROUP): Likewise.
7362         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7363         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7364         (MCAST_MSFILTER): Likewise.
7365         (IP_MULTICAST_ALL): Likewise.
7366         (IP_UNICAST_IF): Likewise.
7368         * timezone/Makefile: Delete $(have-ksh) check.
7369         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7370         * timezone/tzselect.ksh: Add +x mode bits.
7372         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7373         (ANON_INODE_FS_MAGIC): Likewise.
7374         (BDEVFS_MAGIC): Likewise.
7375         (BINFMTFS_MAGIC): Likewise.
7376         (BTRFS_TEST_MAGIC): Likewise.
7377         (CRAMFS_MAGIC_WEND): Likewise.
7378         (DEBUGFS_MAGIC): Likewise.
7379         (ECRYPTFS_SUPER_MAGIC): Likewise.
7380         (EXT3_SUPER_MAGIC): Likewise.
7381         (EXT4_SUPER_MAGIC): Likewise.
7382         (FUTEXFS_SUPER_MAGIC): Likewise.
7383         (HOSTFS_SUPER_MAGIC): Likewise.
7384         (HUGETLBFS_MAGIC): Likewise.
7385         (MINIX3_SUPER_MAGIC): Likewise.
7386         (MTD_INODE_FS_MAGIC): Likewise.
7387         (NILFS_SUPER_MAGIC): Likewise.
7388         (OPENPROM_SUPER_MAGIC): Likewise.
7389         (PIPEFS_MAGIC): Likewise.
7390         (PSTOREFS_MAGIC): Likewise.
7391         (QNX6_SUPER_MAGIC): Likewise.
7392         (RAMFS_MAGIC): Likewise.
7393         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7394         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7395         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7396         (SECURITYFS_MAGIC): Likewise.
7397         (SELINUX_MAGIC): Likewise.
7398         (SMACK_MAGIC): Likewise.
7399         (SOCKFS_MAGIC): Likewise.
7400         (SQUASHFS_MAGIC): Likewise.
7401         (STACK_END_MAGIC): Likewise.
7402         (TMPFS_MAGIC): Likewise.
7403         (USBDEVICE_SUPER_MAGIC): Likewise.
7404         (V9FS_MAGIC): Likewise.
7405         (XENFS_SUPER_MAGIC): Likewise.
7406         (CRAMFS_MAGIC): Fix typo in comment.
7407         (EXT2_SUPER_MAGIC): Update comment.
7408         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7410 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7412         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7413         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7414         * sysdeps/unix/sysv/linux/arm: Move directory from
7415         ports/sysdeps/unix/sysv/linux/arm.
7416         * README: Update listing for arm-*-linux-gnueabi.
7418         * README: Remove mention of am33.
7420 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7422         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7423         than the comma operator, to avoid "rhs of comma has no effect"
7424         compiler warnings.
7425         (__sigfillset, __sigandset, __sigorset): Likewise.
7426         * include/signal.h (__sigemptyset): Likewise.
7427         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7429 2014-02-07  Allan McRae  <allan@archlinux.org>
7431         * version.h (RELEASE): Set to "development".
7432         (VERSION): Set to "2.19.90"
7433         * NEWS: Add 2.20 section.
7435 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7437         [BZ #16529]
7438         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7440 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7442         * manual/contrib.texi: Update entry for Carlos O'Donell,
7443         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7445 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7447         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7449         * sysdeps/unix/sysv/linux/kernel-features.h
7450         [__LINUX_KERNEL_VERSION >= 0x020621]
7451         (__ASSUME_PROC_PID_TASK_COMM): Define.
7453 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7455         [BZ #16398]
7456         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7457         conversion when destination buffer does not have enough space.
7458         * libio/tst-ftell-partial-wide.c: New test case.
7459         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7461         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7462         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7463         Leonard and Allan McRae.
7465 2014-02-04  David S. Miller  <davem@davemloft.net>
7467         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7468         32-bit.
7470 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7473         New file
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7475         New file
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7477         New file.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7479         New file.
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7481         New file.
7482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7483         New file.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7485         New file.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7487         New file.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7489         New file.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7491         New file.
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7493         New file.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7495         New file.
7496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7497         New file.
7499 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7501         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7502         * shlib-versions: Likewise.
7504 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7505             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7507         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7508         (abilist-pattern): New variable, set to %-le.abilist.
7510         * Makerules (abilist-pattern): New variable.
7511         (vpath): Use $(abilist-pattern) in place of %.abilist.
7512         (check-abi-% pattern rule): Likewise.
7513         (check-abi, update-abi): Likewise.
7515 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7519 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7521         * manual/startup.texi: Add next, previous, and top entries for
7522         the `Program Arguments' and `Environment Variables' nodes.
7524 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7526         * manual/macros.texi: Add comments before MTASC-safety macros.
7528         * manual/users.texi: Document MTASC-safety properties.
7530         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7531         (pthread_getspecific, pthread_setspecific): Format with
7532         @deftypefun, and add @safety note.
7533         * manual/signal.texi: Move comments that analyze the above
7534         functions to their home place.
7536 2014-02-03  Allan McRae  <allan@archlinux.org>
7538         * po/sl.po: Update Slovenian translation from translation project.
7540 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7542         * manual/time.texi (timegm): Add missing blank after @c.
7543         Reported by Joseph Myers <joseph@codesourcery.com>.
7545 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7547         * manual/check-safety.sh: New.
7548         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7550         * manual/terminal.texi: Document MTASC-safety properties.
7552         * manual/filesys.texi: Document MTASC-safety properties.
7554         * manual/errno.texi: Document MTASC-safety properties.
7556         * manual/intro.texi: Document safety identifiers and
7557         conditionals.
7559         * manual/string.texi (wcstok): Fix prototype.
7560         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7562         * manual/time.texi: Document MTASC-safety properties.
7564         * manual/string.texi: Document MTASC-safety properties.
7566         * manual/threads.texi: Document MTASC-safety properties.
7568         * manual/stdio.texi: Document MTASC-safety properties.
7570         * manual/syslog.texi: Document MTASC-safety properties.
7572         * manual/sysinfo.texi: Document MTASC-safety properties.
7574         * manual/startup.texi: Document MTASC-safety properties.
7576         * manual/socket.texi: Document MTASC-safety properties.
7578         * manual/signal.texi: Document MTASC-safety properties.
7580 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7582         * manual/setjmp.texi: Document MTASC-safety properties.
7584         * manual/search.texi: Document MTASC-safety properties.
7586         * manual/resource.texi: Document MTASC-safety properties.
7588         * manual/process.texi: Document MTASC-safety properties.
7590         * manual/platform.texi: Document MTASC-safety properties.
7592         * manual/pipe.texi: Document MTASC-safety properties.
7594         * manual/pattern.texi: Document MTASC-safety properties.
7596         * manual/message.texi: Document MTASC-safety properties.
7598         [BZ #12751]
7599         * manual/memory.texi: Document MTASC-safety properties.
7601         * manual/math.texi: Document MTASC-safety properties.
7603         * manual/locale.texi: Document MTASC-safety properties.
7605         * manual/llio.texi: Document MTASC-safety properties.
7607         * manual/libdl.texi: New.
7609         * manual/lang.texi: Document MTASC-safety properties.
7611         * manual/job.texi: Document MTASC-safety properties.
7613         * manual/getopt.texi: Document MTASC-safety properties.
7615         * manual/ctype.texi: Document MTASC-safety properties.
7617 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7619         [BZ #16046]
7620         * csu/libc-tls.c (static_map): Remove variable.
7621         (__libc_setup_tls): Use main executable's link map for TLS data.
7622         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7623         casing for LM_ID_BASE and GL(dl_nns).
7624         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7625         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7626         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7627         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7628         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7629         member.
7630         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7631         l_phnum members.
7633 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7635         * manual/debug.texi: Document MTASC-safety properties.
7637 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7639         [BZ #16510]
7640         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7641         of __x86_64__ when disabling x87 inline functions.
7643 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7645         * manual/charset.texi: Document MTASC-safety properties.
7647         * manual/crypt.texi: Document MTASC-safety properties.
7649         * manual/conf.texi: Document MTASC-safety properties.
7651         * manual/arith.texi: Document MTASC-safety properties.
7653         * manual/argp.texi: Document MTASC-safety properties.
7655         * manual/macros.texi: Introduce macros to document multi
7656         thread, asynchronous signal and asynchronous cancellation
7657         safety properties.
7658         * manual/intro.texi: Introduce the properties themselves.
7660 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7662         * sysdeps/sh/sh4/Makefile: New file.
7664 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7666         * math/gen-libm-test.pl ($srcdir): New variable.
7667         ($auto_input): Use it.
7669 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671         [BZ #16506]
7672         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7673         access beyond array bounds when parsing netgroups file.
7675         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7676         the old buffer before realloc.
7678 2014-01-27  Allan McRae  <allan@archlinux.org>
7680         * po/fr.po: Update French translation from translation project.
7682 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7684         * sysdeps/sh/libm-test-ulps: Regenerate.
7686 2014-01-24  David S. Miller  <davem@davemloft.net>
7688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7690 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7693         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7695 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7697         [BZ #16474]
7698         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7699         string pointers after reallocation.
7701 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7703         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7704         __SH4A__ instead of __SH_FPU_ANY__.
7706 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7708         * sysdeps/sh/fpu_control.h: New file.
7709         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7710         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7711         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7712         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7713         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7714         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7715         * sysdeps/sh/sys/ucontext.h: Remove.
7716         * sysdeps/sh/sys: Remove directory.
7718 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7720         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7721         s390/sys/ucontext.h.
7722         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7725 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7727         [BZ #15605]
7728         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7730 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7732         [BZ#16431]
7733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7734         Adjust the vDSO correctly for internal calls.
7735         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7737 2014-01-20  Allan McRae  <allan@archlinux.org>
7739         * po/ca.po: Update Catalan translation from translation project.
7741 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7743         * sysdeps/s390/sotruss-lib.c: New file.
7745 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7747         [BZ#16430]
7748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7749         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7750         local calls issues by not having a PLT stub required for IFUNC calls.
7751         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7753 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7755         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7756         * math/test-fpucw-static.c: Likewise.
7758 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7760         [BZ #16453]
7761         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7763 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7765         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7766         implementation for powerpc.
7768 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7770         [BZ #14782]
7771         * sysdeps/posix/system.c (__libc_system): Do not enable
7772         asynchronous cancellation.
7774 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7776         [BZ #16427]
7777         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7778         handling only for numbers special also in the IEEE case.
7780 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7784 2014-01-11  Allan McRae  <allan@archlinux.org>
7786         * po/bg.po: Update Bulgarian translation from translation project.
7788         * po/de.po: Update German translation from translation project.
7790 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7792         * sysdeps/generic/gcc-compat.h: New file.
7794 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7796         * benchtests/asin-inputs: Correct slow inputs.
7797         * benchtests/acos-inputs: Likewise.
7799 2014-01-10  Allan McRae  <allan@archlinux.org>
7801         * po:sv.po: Update Swedish translation from translation project.
7803         * po/vi.po: Update Vietnamese translation from translation project.
7805         * po/eo.po: Update Esperanto translation from translation project.
7807         * po/cs.po: Update Czech translation from translation project.
7809         * po/nl.po: Update Dutch translation from translation project.
7811         * po/pl.po: Update Polish translation from translation project.
7813         * po/ru.po: Update Russian translation from translation project.
7815         * po/uk.po: Update Ukrainian translation from translation project.
7817 2014-01-08  Brooks Moses  <bmoses@google.com>
7819         * elf/dl-load.c: Fix comment typo.
7821 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7823         * po/header.pot: Rename to...
7824         * po/pot.header: ... this.
7825         * po/Makefile: Use pot.header.
7827 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7828             Maxim Kuvyrkov  <maxim@kugelworks.com>
7830         [BZ #16394]
7831         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7832         SRC and DEST against LEN.
7834 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7836         [BZ #16414]
7837         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7838         implementation.
7839         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7841 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7845 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #16408]
7848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7849         for large positive arguments.
7851 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7853         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7855         * math/auto-libm-test-in: Mark various tests with
7856         xfail-rounding:ldbl-128ibm.
7857         * math/auto-libm-test-out: Regenerated.
7859         [BZ #16407]
7860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7861         Increase overflow threshold.
7863 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7865         [BZ #14286]
7866         * stdio-common/vfprintf.c: Check for integer overflow.
7868 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7870         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7871         the first argument and return value of __tls_get_addr_internal.
7873 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7875         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7876         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7878 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7880         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7881         * sysdeps/s390/rtld-global-offsets.sym: New file.
7882         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7883         GLIBC_2.19 symbol.
7884         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7885         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7887         ... this.
7888         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7889         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7890         ... this.
7891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7892         Regenerate.
7893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7894         Regenerate.
7895         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7896         halfs of GPRs for high_gprs contexts.
7897         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7898         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7899         field.
7900         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7901         uc_flags field.
7902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7903         64 bit versions:
7904         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7905         for high GPRs (uc_high_gprs) and for future extensions
7906         (__reserved).
7907         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7908         for future extensions (__reserved).
7909         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7910         64 bit versions:
7911         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7912         SC_HIGHGPRS offset definition.
7913         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7914         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7916         * Versions.def: Add GLIBC_2.19 for libpthread.
7917         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7918         siglongjmp for libpthread with GLIBC_2.19 symver.
7919         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7920         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7921         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7922         * sysdeps/s390/__longjmp.c: New file.
7923         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7924         * sysdeps/s390/longjmp.c: New file.
7925         * sysdeps/s390/setjmp.S: New file.
7926         * sysdeps/s390/sigjmp.S: New file.
7927         * sysdeps/s390/v1-longjmp.c: New file.
7928         * sysdeps/s390/v1-setjmp.h: New file.
7929         * sysdeps/s390/v1-sigjmp.c: New file.
7930         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7931         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7932         GLIBC_2.19 version.
7933         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7934         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7935         versioned symbols for ____longjmp_chk.
7936         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7937         Likewise.
7938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7939         Regenerate.
7940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7941         Regenerate.
7942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7943         Regenerate.
7944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7945         Regenerate.
7946         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7947         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7948         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7949         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7950         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7951         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7952         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7953         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7954         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7955         * sysdeps/s390/rtld-__longjmp.c: New file.
7956         * sysdeps/s390/rtld-setjmp.S: New file.
7958 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7960         [BZ #16400]
7961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7962         Return -__logl (x) for small positive arguments without evaluating
7963         a polynomial.
7965 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7967         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7968         Rename to ...
7969         (__ptrace_peeksiginfo_args): ... this.
7970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7972         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7974 2014-01-06  Allan McRae  <allan@archlinux.org>
7976         * inet/netinet/in.h: Fix typo in comment.
7978 2014-01-05  Andreas Jaeger  <aj@suse.de>
7980         * sysdeps/i386/fpu/libm-test-ulps: Update.
7982 2014-01-05  Allan McRae  <allan@archlinux.org>
7984         * po/libc.pot: Regenerated.
7986         * malloc/memusagestat.c: Fix gettext call formatting.
7988 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7990         * nscd/nscd.c: Improve usage() output.
7992 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7994         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7995         * sysdeps/unix/sysv/linux/configure: Regenerated.
7996         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7997         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7999 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8001         [BZ #16390]
8002         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8003         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8005 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8008         extra tokens at end of #undef directive.
8009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8010         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8013 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8015         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8017         * math/auto-libm-test-in: Mark various tests with
8018         xfail-rounding:ldbl-128ibm.
8019         * math/auto-libm-test-out: Regenerated.
8021 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8023         [BZ #16386]
8024         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8025         numbers with subnormal high part when calculating exponent.
8027         [BZ #16385]
8028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8029         fabs.
8031         [BZ #16384]
8032         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8033         M_LN2l.
8034         (__ieee754_acoshl): Use __log1pl not __log1p.
8036 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8038         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8040         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8041         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8042         (reused_arena, arena_get2): Convert to GNU style.
8043         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8044         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8045         (memalign_check, __malloc_set_state): Likewise.
8046         * malloc/mallocbug.c (main): Likewise.
8047         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8048         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8049         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8050         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8051         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8052         (__posix_memalign, malloc_info): Likewise.
8053         * malloc/malloc.h: Likewise.
8054         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8055         (mallochook, memalignhook, reallochook, mabort): Likewise.
8056         * malloc/mcheck.h: Likewise.
8057         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8058         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8059         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8060         * malloc/morecore.c (__default_morecore): Likewise.
8061         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8062         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8063         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8064         (print_and_abort): Likewise.
8065         * malloc/obstack.h: Likewise.
8066         * malloc/set-freeres.c (__libc_freeres): Likewise.
8067         * malloc/tst-mallocstate.c (main): Likewise.
8068         * malloc/tst-mtrace.c (main): Likewise.
8069         * malloc/tst-realloc.c (do_test): Likewise.
8071 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8073         [BZ #16366]
8074         * nscd/netgroupcache.c (do_notfound): New function.
8075         (addgetnetgrentX): Use it.
8077         [BZ # 16365]
8078         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8079         NSS_STATUS_NOTFOUND.
8081 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8083         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8086 2014-01-01  Allan McRae  <allan@archlinux.org>
8088         * scripts/update-copyrights: Update configure input file suffix.
8090         * NEWS: Update copyright year.
8091         * catgets/gencat.c: Likewise.
8092         * csu/version.c: Likewise.
8093         * debug/catchsegv.sh: Likewise.
8094         * debug/pcprofiledump.c: Likewise.
8095         * debug/xtrace.sh: Likewise.
8096         * elf/ldconfig.c: Likewise.
8097         * elf/ldd.bash.in: Likewise.
8098         * elf/pldd.c: Likewise.
8099         * elf/sotruss.ksh: Likewise.
8100         * elf/sprof.c: Likewise.
8101         * iconv/iconv_prog.c: Likewise.
8102         * iconv/iconvconfig.c: Likewise.
8103         * locale/programs/locale.c: Likewise.
8104         * locale/programs/localedef.c: Likewise.
8105         * login/programs/pt_chown.c: Likewise.
8106         * malloc/memusage.sh: Likewise.
8107         * malloc/memusagestat.c: Likewise.
8108         * malloc/mtrace.pl: Likewise.
8109         * manual/libc.texinfo: Likewise.
8110         * nscd/nscd.c: Likewise.
8111         * nss/getent.c: Likewise.
8112         * nss/makedb.c: Likewise.
8113         * posix/getconf.c: Likewise.
8114         * scripts/test-installation.pl: Likewise.
8116         * All files with FSF copyright notices: Update copyright dates
8117         using scripts/update-copyrights.
8118         * intl/plural.c: Regenerated.
8119         * locale/programs/charmap-kw.h: Likewise.
8120         * locale/programs/locfile-kw.h: Likewise.
8122 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8124         * sysdeps/unix/sysv/linux/configure: Regenerated.
8125         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8126         the linux/fanotify.h header.
8127         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8128         HAVE_LINUX_FANOTIFY_H is defined.
8130 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8132         * benchtests/cos-inputs: New inputs.
8133         * benchtests/sin-inputs: Likewise.
8135         * benchtests/atan-inputs: New inputs. Fix name of multiple
8136         precision fallback inputs.
8138         * benchtests/atanh-inputs: New inputs.
8139         * benchtests/tanh-inputs: Likewise.
8141         * benchtests/acosh-inputs: New inputs.
8142         * benchtests/asinh-inputs: Likewise.
8144         * benchtests/cosh-inputs: New inputs.
8145         * benchtests/sinh-inputs: Likewise.
8147         * benchtests/acos-inputs: Add more inputs.
8148         * benchtests/asin-inputs: Likewise.
8150 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8152         [BZ #16375]
8153         * manual/arith.texi: Fix spelling.
8154         * manual/charset.texi: Likewise.
8155         * manual/errno.texi: Likewise.
8156         * manual/filesys.texi: Likewise.
8157         * manual/lang.texi: Likewise.
8158         * manual/llio.texi: Likewise.
8159         * manual/locale.texi: Likewise.
8160         * manual/message.texi: Likewise.
8161         * manual/resource.texi: Likewise.
8162         * manual/search.texi: Likewise.
8163         * manual/setjmp.texi: Likewise.
8164         * manual/stdio.texi: Likewise.
8165         * manual/string.texi: Likewise.
8166         * manual/sysinfo.texi: Likewise.
8167         * manual/time.texi: Likewise.
8169 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8171         * po/sl.po: New file.
8173 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8175         * .gitignore: Add core/.gdbinit/.gdb_history.
8177 2013-12-27  Allan McRae  <allan@archlinux.org>
8179         [BZ #16369]
8180         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8181         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8183 2013-12-24  Brooks Moses  <bmoses@google.com>
8185         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8186         all compilers that claim C++98 compliance, not just GCC.
8187         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8188         Likewise.
8190 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8192         * NEWS: Restore accidentally deleted bug-fix entries.
8194 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8195             Ondřej Bílka  <neleai@seznam.cz>
8197         [BZ #15073]
8198         * malloc/malloc.c (_int_free): Perform sanity check only if we
8199         have_lock.
8201 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8203         [BZ #12986]
8204         * manual/stdio.texi (String Input Conversions): Clarify that character
8205         classes are not supported.
8207 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8211 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8213         [BZ #16337]
8214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8215         Calculate results for small negative arguments directly rather
8216         than using reflection formula with special underflow handling.
8218         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8219         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8220         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8221         (fchflags): Likewise.
8222         (revoke): Likewise.
8223         (setlogin): Likewise.
8224         (sigaltstack): Likewise.
8225         (wait4): Likewise.
8226         (sigblock): Remove.
8227         (sigsetmask): Likewise.
8228         (wait3): Likewise.
8229         (waitpid): Likewise.
8230         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8231         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8232         file.
8233         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8234         * sysdeps/unix/bsd/Makefile: ... here.
8235         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8236         * sysdeps/unix/bsd/Versions: ... here.
8237         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8238         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8239         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8240         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8241         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8242         * sysdeps/unix/bsd/sigblock.c: ... here.
8243         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8244         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8245         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8246         * sysdeps/unix/bsd/sigvec.c: ... here.
8247         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8248         * sysdeps/unix/bsd/tcdrain.c: ... here.
8249         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8250         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8251         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8252         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8253         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8254         * sysdeps/unix/bsd/wait.c: ... here.
8255         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8256         * sysdeps/unix/bsd/wait3.c: ... here.
8257         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8258         * sysdeps/unix/bsd/waitpid.c: ... here.
8260 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8262         [BZ #16356]
8263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8264         round-to-nearest for [!USE_AS_EXPM1L].
8265         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8266         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8267         more tests of exp and exp10.  Expect some exp10 tests to miss
8268         exceptions or fail in directed rounding modes.
8269         * math/auto-libm-test-out: Regenerated.
8270         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8271         (exp10_test_tonearest): New function.
8272         (exp10_towardzero_test_data): New array.
8273         (exp10_test_towardzero): New function.
8274         (exp10_downward_test_data): New array.
8275         (exp10_test_downward): New function.
8276         (exp10_upward_test_data): New array.
8277         (exp10_test_upward): New function.
8278         (main): Call the new functions.
8279         * sysdeps/i386/fpu/libm-test-ulps: Update.
8280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8282 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8284         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8285         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8286         * math/auto-libm-test-out: Regenerated.
8287         * math/libm-test.inc (acosh_test_data): Add more tests.
8288         (atanh_test_data): Likewise.
8289         (ceil_test_data): Likewise.
8290         (copysign_test_data): Likewise.
8291         * sysdeps/i386/fpu/libm-test-ulps: Update.
8292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294         * timezone/checktab.awk: Update from tzcode 2013i.
8295         * timezone/private.h: Likewise.
8296         * timezone/scheck.c: Likewise.
8297         * timezone/tzfile.h: Likewise.
8298         * timezone/tzselect.ksh: Likewise.
8299         * timezone/zdump.c: Likewise.
8300         * timezone/zic.c: Likewise.
8302         * math/auto-libm-test-in: Add tests of cpow.
8303         * math/auto-libm-test-out: Regenerated.
8304         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8305         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8306         mpc_cc_c.
8307         (func_calc_desc): Add mpc_cc_c union field.
8308         (test_functions): Add cpow.
8309         (special_fill_2pi): New function.
8310         (special_real_inputs): Add 2pi.
8311         (calc_generic_results): Handle mpc_cc_c.
8312         * sysdeps/i386/fpu/libm-test-ulps: Update.
8313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8315         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8316         csqrt, ctan and ctanh.
8317         * math/auto-libm-test-out: Regenerated.
8318         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8319         (TEST_COND_x86): Likewise.
8320         (ccos_test_data): Use AUTO_TESTS_c_c.
8321         (ccosh_test_data): Likewise.
8322         (cexp_test_data): Likewise.
8323         (clog_test_data): Likewise.
8324         (csqrt_test_data): Likewise.
8325         (ctan_test_data): Likewise.
8326         (ctan_tonearest_test_data): Likewise.
8327         (ctan_towardzero_test_data): Likewise.
8328         (ctan_downward_test_data): Likewise.
8329         (ctan_upward_test_data): Likewise.
8330         (ctanh_test_data): Likewise.
8331         (ctanh_tonearest_test_data): Likewise.
8332         (ctanh_towardzero_test_data): Likewise.
8333         (ctanh_downward_test_data): Likewise.
8334         (ctanh_upward_test_data): Likewise.
8335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8336         mpc_c_c.
8337         (func_calc_desc): Add mpc_c_c union field.
8338         (FUNC_mpc_c_c): New macro.
8339         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8340         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8341         ctanh.
8342         (special_fill_min_subnorm_p120): New function.
8343         (special_real_inputs): Add min_subnorm_p120.
8344         (calc_generic_results): Handle mpc_c_c.
8345         * sysdeps/i386/fpu/libm-test-ulps: Update.
8346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8348 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8351         (do_sin_slow): New functions.
8352         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8353         (cslow2, csloww1, csloww2): Use the new functions.
8355         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8356         Use M to change sign of result instead of X.  Assume X is
8357         positive.
8358         (csloww1): Likewise.
8359         (__sin): Adjust.
8360         (__cos): Adjust.
8362         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8363         arguments A and DA.
8364         (__sin): Adjust.
8365         (__cos): Likewise.
8367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8368         (__cos): Likewise.
8369         (sloww1): Don't adjust sign of DX.
8370         (csloww1): Likewise.
8371         (sloww2): Use X directly and don't adjust sign of DX.
8372         (csloww2): Likewise.
8374 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8376         * math/auto-libm-test-in: Add tests of cabs and carg.
8377         * math/auto-libm-test-out: Regenerated.
8378         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8379         (carg_test_data): Likewise.
8380         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8381         mpc_c_f.
8382         (func_calc_desc): Add mpc_c_f union field.
8383         (test_functions): Add cabs and carg.
8384         (calc_generic_results): Handle mpc_c_f.
8386         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8387         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8388         as a macro and a compat symbol.
8389         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8390         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8391         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8392         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8393         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8394         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8395         not use .hidden.
8396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8397         Likewise.
8398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8399         Likewise.
8400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8401         Likewise.
8402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8403         Likewise.
8404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8405         Likewise.
8406         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8407         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8408         from GLIBC_2.3.2.
8410 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8414 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8416         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8417         trailing whitespace removed.
8418         * scripts/config.guess: Update to version 2013-11-29.
8419         * scripts/config.sub: Update to version 2013-10-01.
8421         * math/auto-libm-test-in: Add tests of sincos.
8422         * math/auto-libm-test-out: Regenerated.
8423         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8425         mpfr_f_11.
8426         (func_calc_desc): Add mpfr_f_11 union field.
8427         (test_functions): Add sincos.
8428         (calc_generic_results): Handle mpfr_f_11.
8429         * sysdeps/i386/fpu/libm-test-ulps: Update.
8430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8432 2013-12-19  Andreas Schwab  <schwab@suse.de>
8434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8435         CALL_MCOUNT.
8436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8438         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8440 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8442         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8443         * sysdeps/i386/fpu/libm-test-ulps: Update.
8444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8446         [BZ #16293]
8447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8448         round-to-nearest mode when using frndint.
8449         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8450         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8452         Likewise.
8453         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8454         sinh test to fail.
8455         * math/auto-libm-test-out: Regenerated.
8456         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8457         (TEST_COND_x86): Likewise.
8458         (expm1_tonearest_test_data): New array.
8459         (expm1_test_tonearest): New function.
8460         (expm1_towardzero_test_data): New array.
8461         (expm1_test_towardzero): New function.
8462         (expm1_downward_test_data): New array.
8463         (expm1_test_downward): New function.
8464         (expm1_upward_test_data): New array.
8465         (expm1_test_upward): New function.
8466         (main): Run the new test functions.
8467         * sysdeps/i386/fpu/libm-test-ulps: Update.
8468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470         * include/features.h: Update comment documenting feature test
8471         macros.  Mention _DEFAULT_SOURCE in comment.
8472         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8473         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8474         _BSD_SOURCE and _SVID_SOURCE.
8475         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8476         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8477         !_SVID_SOURCE]: Likewise.
8478         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8479         (__USE_POSIX_IMPLICITLY): Define.
8480         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8481         (_POSIX_SOURCE): Undefine and redefine.
8482         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8483         (_POSIX_C_SOURCE): Likewise.
8484         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8485         (Feature Test Macros): Update documentation of default features.
8487 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8489         * benchtests/Makefile: Add bench-strtok.
8490         * benchtests/bench-strtok.c: New file: strtok benchtest.
8492 2013-12-19  Allan McRae  <allan@archlinux.org>
8494         * manual/install.texi: Suppress menu for plain text output.
8495         * INSTALL: Regenerated.
8497 2013-12-18  Brooks Moses  <bmoses@google.com>
8499         [BZ #15846]
8500         * misc/getauxval.c: Include errno.h.
8501         (__getauxval): Set errno to ENOENT if the requested type is not
8502         found.
8503         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8504         don't declare with __attribute_const__.
8505         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8506         * manual/startup.texi: Document that getauxval sets errno.
8508 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8510         * math/auto-libm-test-in: Add tests of jn and yn.
8511         * math/auto-libm-test-out: Regenerated.
8512         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8513         (yn_test_data): Likewise.
8514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8515         mpfr_if_f.
8516         (func_calc_desc): Add mpfr_if_f union field.
8517         (FUNC_mpfr_if_f): New macro.
8518         (test_functions): Add jn and yn.
8519         (calc_generic_results): Assert type of second input for
8520         mpfr_ff_f.  Handle mpfr_if_f.
8521         (output_for_one_input_case): Disable all checking for arguments
8522         fitting floating-point types in case of an integer argument.
8523         * sysdeps/i386/fpu/libm-test-ulps: Update.
8524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8527         Don't expect fegetround reference in libm.so.
8529 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8531         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8532         $(config-cflags-nofma).
8534 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8536         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8537         * math/auto-libm-test-out: Regenerated.
8539         [BZ #16338]
8540         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8541         to determine exponent and adjust argument to have exponent of -1.
8542         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8543         log2.
8544         * math/auto-libm-test-out: Regenerated.
8545         * sysdeps/i386/fpu/libm-test-ulps: Update.
8546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8548 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8550         * manual/probes.texi: Remove cases when per-thread arenas are
8551         disabled.
8553 2013-12-18  Andreas Schwab  <schwab@suse.de>
8555         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8556         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8557         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8558         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8559         * sysdeps/i386/i686/multiarch/Makefile: Update.
8560         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8562 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8564         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8565         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8567 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8569         [BZ #15968]
8570         Support TZ transition times < 00:00:00.
8571         This is needed for version-3 tz-format files; it supports time
8572         stamps past 2037 for America/Godthab (the only entry in the tz
8573         database for which this change is relevant).
8574         * manual/time.texi (TZ Variable): Document transition times
8575         from -167:59:59 through -00:00:01.
8576         * time/tzset.c (tz_rule): Time of day is now signed.
8577         (__tzset_parse_tz): Parse negative time of day.
8579         Document TZ transition times >= 25:00:00.
8580         * manual/time.texi (TZ Variable): Document transition times from
8581         25:00:00 through 167:59:59.  These are already supported, and this
8582         support will help with version-3 tz-format files.
8584         * manual/time.texi (TZ Variable): Modernize North America example
8585         to reflect current (i.e., 2007-and-later) daylight saving rules.
8587         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8589 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8591         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8592         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8595         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8596         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8597         * sysdeps/unix/bsd/clock.c: Likewise.
8598         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8599         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8600         * sysdeps/unix/bsd/init-posix.c: Likewise.
8601         * sysdeps/unix/bsd/poll.c: Likewise.
8602         * sysdeps/unix/bsd/ptsname.c: Likewise.
8603         * sysdeps/unix/bsd/seekdir.c: Likewise.
8604         * sysdeps/unix/bsd/setegid.c: Likewise.
8605         * sysdeps/unix/bsd/seteuid.c: Likewise.
8606         * sysdeps/unix/bsd/setgid.c: Likewise.
8607         * sysdeps/unix/bsd/setrgid.c: Likewise.
8608         * sysdeps/unix/bsd/setruid.c: Likewise.
8609         * sysdeps/unix/bsd/setsid.c: Likewise.
8610         * sysdeps/unix/bsd/setuid.c: Likewise.
8611         * sysdeps/unix/bsd/sigaction.c: Likewise.
8612         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8613         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8614         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8615         * sysdeps/unix/bsd/telldir.c: Likewise.
8616         * sysdeps/unix/bsd/times.c: Likewise.
8617         * sysdeps/unix/bsd/usleep.c: Likewise.
8619         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8620         ($(objpfx)libbsd-compat.a): Remove rule.
8622         * include/features.h (__FAVOR_BSD): Do not define.
8623         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8624         features conflicting with POSIX.
8625         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8626         (_BSD_SOURCE): Remove description of not being a subset of other
8627         feature test macros.
8628         * manual/job.texi (getpgrp): Do not document BSD version.
8629         (getpgid): Do not document by reference to BSD getpgrp.
8630         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8631         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8632         * signal/signal.h [__FAVOR_BSD]: Likewise.
8633         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8634         instead of making contents conditional on [__FAVOR_BSD].
8635         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8637 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8641 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8643         [BZ #16314]
8644         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8645         values below 2**-450, not 2**-500.
8646         * math/auto-libm-test-in: Don't allow spurious underflow from
8647         hypot.
8648         * math/auto-libm-test-out: Regenerated.
8650         [BZ #16316]
8651         [BZ #16330]
8652         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8653         values of ha and hb and sort them after adjusting subnormal
8654         arguments.
8655         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8656         Likewise.
8657         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8658         values of ea and eb and sort them after adjusting subnormal
8659         arguments.
8660         * math/auto-libm-test-in: Do not expect some hypot tests of
8661         subnormals to fail.  Add more hypot tests.
8662         * math/auto-libm-test-out: Regenerated.
8664 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8666         [BZ #13304]
8667         * sysdeps/sh/s_fma.c: New file.
8668         * sysdeps/sh/s_fmaf.c: New file.
8669         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8670         version.
8671         * sysdeps/sh/Implies: Add sh/soft-fp.
8673 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8675         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8676         level of indirection to members `objname', `errstring', `malloced'.
8677         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8678         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8679         it as the __longjmp argument (just pass 1 instead).
8680         (_dl_catch_error): Initialize C with argument pointers and address of
8681         volatile local ERRCODE rather than copying values out of C at return.
8683 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8685         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8686         * math/auto-libm-test-out: Regenerated.
8687         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8688         (hypot_test_data): Likewise.
8689         (pow_test_data): Likewise.
8690         (pow_tonearest_test_data): Likewise.
8691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8692         mpfr_ff_f.
8693         (func_calc_desc): Add mpfr_ff_f union field.
8694         (FUNC_mpfr_ff_f): New macro.
8695         (test_functions): Add atan2, hypot and pow.
8696         (special_fill_min): New function.
8697         (special_fill_minus_min): Likewise.
8698         (special_fill_min_subnorm): Likewise.
8699         (special_fill_minus_min_subnorm): Likewise.
8700         (special_real_inputs): Add min, -min, min_subnorm and
8701         -min_subnorm.
8702         (calc_generic_results): Handle mpfr_ff_f.
8703         * sysdeps/i386/fpu/libm-test-ulps: Update.
8704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8706 2013-12-16  Will Newton  <will.newton@linaro.org>
8708         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8709         (Aligned Memory Blocks): Add documentation for aligned_alloc
8710         and suggest it as an alternative to posix_memalign.
8711         (Hooks for Malloc): Document __memalign_hook is also called
8712         for aligned_alloc.  (Summary of Malloc): Add summary for
8713         aligned alloc.  Document __memalign_hook is also called
8714         for aligned_alloc.
8716 2013-12-16  Will Newton  <will.newton@linaro.org>
8718         * manual/memory.texi (Malloc Examples): Clarify default
8719         alignment documentation.  Suggest posix_memalign rather
8720         than memalign or valloc.
8721         (Aligned Memory Blocks): Remove suggestion to use memalign
8722         or valloc.  Remove obsolete comment about BSD.
8723         Document memalign errno values and mark the function obsolete.
8724         Document posix_memalign returned error codes.  Mark valloc
8725         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8726         called for posix_memalign and valloc.
8727         (Summary of Malloc): Add posix_memalign to function summary.
8728         __memalign_hook is also called for posix_memalign and valloc.
8730 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8732         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8733         TAYLOR_SIN.
8734         (__sin): Adjust.
8735         (__cos): Likewise.
8736         (sloww): Use mynumber union.  Expand ternary operator into
8737         if-else statements.
8738         (cslow): use mynumber union.
8740 2013-12-16  Allan McRae  <allan@archlinux.org>
8742         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8743         * configure: Regenerated.
8745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8747         [BZ #14120]
8748         * configure.ac: Added --enable-maintainer-mode. Check for
8749         autoconf when enabled.
8750         * configure: Regenerated.
8752         * nscd/nscd.service: New file.
8753         * nscd/nscd.tmpfiles: New file.
8755 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8757         [BZ #12100]
8758         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8759         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8760         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8761         (strstr): Add __strstr_sse2_unaligned ifunc.
8762         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8763         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8764         (strcasestr): Remove __strcasestr_sse42 ifunc.
8765         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8769 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8771         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8772         * sysdeps/sh/bits/fenv.h: ... here.
8773         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8775 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8777         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8780         hypotf multiarch implementations.
8781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8784         multiarch hypot for PPC64.
8785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8788         multiarch hypotf for PPC64.
8790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8791         modff multiarch implementations.
8792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8795         multiarch modf for PPC64.
8796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8799         multiarch modff for PPC64.
8801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8802         and logl multiarch implementations.
8803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8806         multiarch logb for PPC64.
8807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8810         multiarch logb for PPC64.
8811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8814         multiarch logb for PPC64.
8816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8817         isinff multiarch implementation.
8818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8819         file.
8820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8822         multiarch isinf for PPC64.
8823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8824         file.
8825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8826         multiarch isinff for PPC64.
8828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8829         finitef multiarch implementation.
8830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8831         file.
8832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8834         multiarch finite for PPC64.
8835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8836         file.
8837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8838         multiarch finitef for PPC64.
8840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8841         lrint multiarch implementation.
8842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8843         file.
8844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8846         multiarch llrint for PPC64.
8847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8848         multiarch lrint for PPC64.
8850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8851         copysignf multiarch implementation.
8852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8853         file.
8854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8855         file.
8856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8857         multiarch copysign for PPC64.
8858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8859         multiarch copysignf for PPC64.
8861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8862         multiarch implementation.
8863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8864         file.
8865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8866         file.
8867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8868         file.
8869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8870         file.
8871         multiarch llround for PPC64.
8872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8873         multiarch trunc for PPC64.
8874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8875         multiarch truncf for PPC64.
8877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8878         multiarch implementation.
8879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8880         file.
8881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8882         file.
8883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8884         file.
8885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8886         file.
8887         multiarch llround for PPC64.
8888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8889         multiarch round for PPC64.
8890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8891         multiarch roundf for PPC64.
8893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8894         multiarch implementation.
8895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8896         file.
8897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8898         file.
8899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8900         file.
8901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8902         file.
8903         multiarch llround for PPC64.
8904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8905         multiarch floor for PPC64.
8906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8907         multiarch floorf for PPC64.
8909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8910         multiarch implementation.
8911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8912         file.
8913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8914         file.
8915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8916         file.
8917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8918         file.
8919         multiarch llround for PPC64.
8920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8921         multiarch ceil for PPC64.
8922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8923         multiarch ceilf for PPC64.
8925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8926         multiarch implementation.
8927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8928         file.
8929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8930         file.
8931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8932         file.
8933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8934         multiarch llround for PPC64.
8935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8936         multiarch lround for PPC64.
8938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8939         multiarch implementation.
8940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8943         file.
8944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8947         multiarch isnan for PPC64.
8948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8949         multiarch isnanf for PPC64.
8951         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8952         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8953         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8954         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8955         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8958         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8959         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8964         multiarch implementations.
8965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8966         (__libc_ifunc_impl_list): Likewise.
8967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8970         multiarch stpcpy for PPC64.
8972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8973         multiarch implementations.
8974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8975         (__libc_ifunc_impl_list): Likewise.
8976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8978         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8979         multiarch strcpy for PPC64.
8981         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8982         redefine function name.
8983         (_wordcopy_fwd_dest_aligned): Likewise.
8984         (_wordcopy_bwd_aligned): Likewise.
8985         (_wordcopy_bwd_dest_aligned): Likewise.
8986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8987         multiarch implementations.
8988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8989         (__libc_ifunc_impl_list): Likewise.
8990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8994         multiarch wcscpy for PPC64.
8996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8997         multiarch implementations.
8998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8999         (__libc_ifunc_impl_list): Likewise.
9000         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9004         multiarch wcscpy for PPC64.
9006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9007         multiarch implementations.
9008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9009         (__libc_ifunc_impl_list): Likewise.
9010         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9011         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9014         multiarch wcsrchr for PPC64.
9016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9017         multiarch implementations.
9018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9019         (__libc_ifunc_impl_list): Likewise.
9020         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9021         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9024         multiarch wcschr for PPC64.
9026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9027         multiarch implementations.
9028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9029         (__libc_ifunc_impl_list): Likewise.
9030         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9031         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9033         multiarch strchrnul for PPC64.
9035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9036         implementations.
9037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9038         (__libc_ifunc_impl_list): Likewise.
9039         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9041         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9042         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9043         strchr for PPC64.
9045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9046         implementations.
9047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9048         (__libc_ifunc_impl_list): Likewise.
9049         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9052         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9053         strncmp for PPC64.
9055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9056         multiarch implementations.
9057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9058         (__libc_ifunc_impl_list): Likewise.
9059         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9060         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9061         strncasecmp for PPC64.
9062         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9063         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9064         multiarch strncasecmp_l for PPC64.
9066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9067         multiarch implementations.
9068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9069         (__libc_ifunc_impl_list): Likewise.
9070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9071         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9072         multiarch strcasecmp for PPC64.
9073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9074         file.
9075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9076         multiarch strcasecmp_l for PPC64.
9078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9079         implementations.
9080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9081         (__libc_ifunc_impl_list): Likewise.
9082         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9083         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9084         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9085         strnlen for PPC64.
9087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9088         implementations.
9089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9090         (__libc_ifunc_impl_list): Likewise.
9091         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9093         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9094         strlen for PPC64.
9096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9097         implementations.
9098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9099         (__libc_ifunc_impl_list): Likewise.
9100         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9101         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9103         rawmemrchr for PPC64.
9105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9106         implementation.
9107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9108         (__libc_ifunc_impl_list): Likewise.
9109         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9110         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9111         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9112         memrchr for PPC64.
9114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9115         implementation.
9116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9117         (__libc_ifunc_impl_list): Likewise.
9118         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9119         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9120         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9121         memchr for PPC64.
9123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9124         implementation.
9125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9126         (__libc_ifunc_impl_list): Likewise.
9127         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9128         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9130         mempcpy for PPC64.
9132         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9133         avoid cretion of __bzero symbol.
9134         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9135         Likewise.
9136         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9137         Likewise.
9138         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9139         Likewise.
9140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9141         multiarch implementations.
9142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9143         (__libc_ifunc_impl_list): Likewise.
9144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9147         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9148         bzero for PPC32.
9149         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9150         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9151         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9153         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9154         memset for PPC64.
9155         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9157         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9159         implementations.
9160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9161         (__libc_ifunc_impl_list): Likewise.
9162         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9165         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9166         memcmp for PPC64.
9168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9169         multiarch for POWER/PPC64.
9170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9171         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9172         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9178         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9179         memcpy for PPC64.
9181         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9182         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9183         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9185         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9186         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9187         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9188         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9189         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9190         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9191         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9192         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9193         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9194         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9195         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9204 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9206         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9208 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9210         * benchtests/Makefile (bench): Add exp2 and log2.
9211         (LDLIBS-bench-exp2): Add -lm.
9212         (LDLIBS-bench-log2): Likewise.
9213         * benchtests/exp2-inputs: New inputs file.
9214         * benchtests/log2-inputs: New inputs file.
9215         * benchtests/log-inputs: Add new inputs.
9216         * benchtests/tan-inputs: Likewise.
9218 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9220         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9221         definition...
9222         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9223         (csloww2): ... from here.
9225         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9226         instead of structures.
9227         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9228         (POLYNOMIAL): Likewise.
9229         (TAYLOR_SLOW): Likewise.
9230         (__sin): Likewise.
9231         (__cos): Likewise.
9232         (slow1): Likewise.
9233         (slow2): Likewise.
9234         (sloww): Likewise.
9235         (sloww1); Likewise.
9236         (sloww2): Likewise.
9237         (bsloww1): Likewise.
9238         (bsloww2): Likewise.
9239         (cslow2): Likewise.
9240         (csloww): Likewise.
9241         (csloww1): Likewise.
9242         (csloww2): Likewise.
9244 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9246         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9247         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9248         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9249         * malloc/hooks.c (realloc_check): Likewise.
9251         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9252         * malloc/arena.c: Remove PER_THREAD conditional.
9253         [!PER_THREAD]: Remove code.
9254         (ptmalloc_unlock_all2): Likewise.
9255         (ptmalloc_init): Likewise.
9256         (_int_new_arena): Likewise.
9257         (arena_get2): Likewise.
9258         * malloc/hooks.c (__malloc_get_state): Likewise.
9259         (__malloc_set_state): Likewise.
9260         * malloc/malloc.c: Likewise.
9261         (struct malloc_state): Likewise.
9262         (struct malloc_par): Likewise.
9263         (__libc_realloc): Likewise.
9264         (__libc_mallopt): Likewise.
9266 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9268         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9270 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9272         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9273         macro to a function.  Check for zero perturb_byte.
9274         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9276         * malloc/malloc.c: (force_reg): Remove.
9277         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9278         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9279         force_reg by atomic_forced_read.
9280         * malloc/arena.c (ptmalloc_init): Likewise.
9281         * malloc/hooks.c (top_check): Likewise.
9283 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9287 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9291 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9293         * math/auto-libm-test-in: Add tests of lgamma.
9294         * math/auto-libm-test-out: Regenerated.
9295         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9296         (M_LOG_2_SQRT_PIl): Likewise.
9297         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9299         mpfr_f_f1.
9300         (func_calc_desc): Add mpfr_f_f1 union field.
9301         (ARGS1): New macro.
9302         (ARGS2): Likewise.
9303         (ARGS3): Likewise.
9304         (ARGS4): Likewise.
9305         (RET1): Likewise.
9306         (RET2): Likewise.
9307         (CALC): Likewise.
9308         (FUNC): Likewise.
9309         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9310         (test_functions): Add lgamma.
9311         (calc_generic_results): Handle mpfr_f_f1.
9312         * sysdeps/i386/fpu/libm-test-ulps: Update.
9313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9315 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9317         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9318         __mpn_add_n for PowerPC64/POWER7.
9319         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9320         __mpn_sub_n for PowerPC64/POWER7.
9322         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9323         __mpn_addmul_1 for PowerPC64.
9324         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9325         __mpn_submul_1 for PowerPC64.
9326         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9327         for PowerPC64.
9328         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9329         for PowerPC64.
9331 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9333         [BZ #15089]
9334         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9336 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9338         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9340         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9341         add multiarch folders.
9342         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9343         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9344         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9345         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9346         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9347         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9348         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9349         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9350         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9351         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9352         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9361         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9363         New file.
9364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9365         New file.
9366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9367         multiarch __ieee754_hypot for PowerPC32.
9368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9369         New file.
9370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9371         New file.
9372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9373         multiarch __ieee754_hypotf for PowerPC32.
9375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9376         long_double_symbol only if __logbl is defined.
9377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9378         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9380         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9382         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9384         path for implementation.
9385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9386         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9388         logb, and logbl multiarch implementations for PowerPC32.
9389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9390         file.
9391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9392         file.
9393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9394         multiarch logb for PowerPC32.
9395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9396         file.
9397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9398         file.
9399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9400         multiarch logbf for PowerPC32.
9401         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9403         file.
9404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9405         multiarch logbl implementation for PowerPC32.
9407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9408         and modff multiarch implementations.
9409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9410         New file.
9411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9412         New file.
9413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9414         multiarch modf for PowerPC32.
9415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9416         New file.
9417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9418         New file.
9419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9420         multiarch modff for PowerPC32.
9422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9423         and lrintf multiarch implementations.
9424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9425         New file.
9426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9427         New file.
9428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9429         multiarch lrint for PowerPC32.
9430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9431         file: multiarch lrintf for PowerPC32.
9433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9434         and lroundf multiarch implementations.
9435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9436         New file.
9437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9438         New file.
9439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9440         New file.
9441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9442         multiarch lround for PowerPC32.
9443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9444         file: multiarch lroundf for PowerPC32.
9446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9447         copysign and copysignf multiarch implementations.
9448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9449         New file.
9450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9451         New file.
9452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9453         file: multiarch copysign for PowerPC32.
9454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9455         file: multiarch copysignf for PowerPC32.
9457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9458         and truncf multiarch implementations.
9459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9460         New file.
9461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9462         file.
9463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9464         multiarch trunc for PowerPC32.
9465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9466         New file.
9467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9468         New file.
9469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9470         multiarch truncf for PowerPC32.
9472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9473         and roundf multiarch implementations.
9474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9475         New file.
9476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9477         file.
9478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9479         multiarch round for PowerPC32.
9480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9481         New file.
9482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9483         New file.
9484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9485         multiarch roundf for PowerPC32.
9487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9488         and floorf multiarch implementations.
9489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9490         New file.
9491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9492         file.
9493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9494         multiarch floor for PowerPC32.
9495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9496         New file.
9497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9498         New file.
9499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9500         multiarch floorf for PowerPC32.
9502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9503         and ceilf multiarch implementations.
9504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9505         New file.
9506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9507         file.
9508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9509         multiarch ceil for PowerPC32.
9510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9511         New file.
9512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9513         file.
9514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9515         multiarch ceilf for PowerPC32.
9517         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9518         is defined.
9519         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9520         FINITEF is defined.
9521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9522         and finitef multiarch implementations.
9523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9524         New file.
9525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9526         file.
9527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9528         multiarch finite for PowerPC32.
9529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9530         New file.
9531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9532         file: multiarch finitef for PowerPC32.
9534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9535         and isinff multiarch implementations.
9536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9537         file.
9538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9539         file.
9540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9541         multiarch isinf for PowerPC32.
9542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9543         New file.
9544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9545         multiarch isinff for PowerPC32.
9547         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9548         alias when __isnan is defined.
9549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9550         and isnanf multiarch implementations.
9551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9552         file.
9553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9554         file.
9555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9556         file.
9557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9558         file.
9559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9560         multiarch isnan for PowerPC32.
9561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9562         New file.
9563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9564         New file.
9565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9566         multiarch isnanf for PowerPC32.
9568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9569         and sqrtf multiarch implementations.
9570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9571         file.
9572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9573         file.
9574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9575         multiarch sqrt for PowerPC32.
9576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9577         file.
9578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9579         file.
9580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9581         multiarch sqrtf for PowerPC32.
9583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9584         and llroundf multiarch implementations.
9585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9586         New file.
9587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9588         New file.
9589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9590         New file.
9591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9592         file: multiarch llround for PowerPC32.
9593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9594         file: multiarch llroundf for PowerPC32.
9596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9597         multiarch PowerPC32 fpu implementations.
9598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9599         New file.
9600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9601         New file.
9602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9603         multiarch llrint for PowerPC32.
9604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9605         New file.
9606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9607         New file.
9608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9609         file.
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9614         file.
9615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9616         file.
9617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9618         file.
9619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9620         multiarch wordcopy for PPC32.
9621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9622         wordcopy objects.
9623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9624         (__libc_ifunc_impl_list): Likewise.
9625         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9626         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9627         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9628         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9629         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9630         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9632         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9634         file.
9635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9636         file.
9637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9638         file.
9639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9640         multiarch wcscpy for PPC32.
9641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9642         multiarch objects.
9643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9644         (__libc_ifunc_impl_list): Likewise.
9645         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9646         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9647         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9648         sysdeps/powerpc/power6/wcscpy.c.
9650         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9652         file.
9653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9654         file.
9655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9656         file.
9657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9658         multiarch wcsrchr for PPC32.
9659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9660         multiarch objects.
9661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9662         (__libc_ifunc_impl_list): Likewise.
9663         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9664         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9665         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9666         sysdeps/powerpc/power6/wcsrchr.c.
9668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9669         file.
9670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9671         file.
9672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9674         multiarch wcschr for PPc32.
9675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9676         multiarch objects.
9677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9678         (__libc_ifunc_impl_list): Likewise.
9679         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9680         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9681         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9682         sysdeps/powerpc/power6/wcschr.c.
9684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9685         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9686         file.
9687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9688         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9689         file: multiarch strchr for PPC32.
9690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9691         multiarch objects.
9692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9693         (__libc_ifunc_impl_list): Likewise.
9695         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9696         name.
9697         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9698         file.
9699         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9700         file.
9701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9702         multiarch strchrnul for PPC32.
9703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9704         multiarch objects.
9705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9706         (__libc_ifunc_impl_list): Likewise.
9708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9709         file.
9710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9711         multiarch strncasecmp for PPC32.
9712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9713         file.
9714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9715         multiarch strncasecmp_l for PPC32.
9716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9717         strncasecmp multiarch objects.
9718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9719         (__libc_ifunc_impl_list): Likewise.
9721         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9722         file.
9723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9724         multiarch strncasecmp for PPC32.
9725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9726         New file.
9727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9728         multiarch strcasecmp_l for PPC32.
9729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9730         multiarch objects.
9731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9732         (__libc_ifunc_impl_list): Likewise.
9734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9735         file.
9736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9737         file.
9738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9739         multiarch strncmp for PPC32.
9740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9741         multiarch objects.
9742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9743         (__libc_ifunc_impl_list): Likewise.
9745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9746         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9747         file.
9748         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9749         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9751         multiarch objects.
9752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9753         (__libc_ifunc_impl_list): Likewise.
9755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9756         file.
9757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9758         file.
9759         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9761         multiarch objects.
9762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9763         (__libc_ifunc_impl_list): Likewise.
9765         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9766         file.
9767         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9768         file.
9769         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9770         multiarch rawmemchr for PPC32.
9771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9772         multiarch objects.
9773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9774         (__libc_ifunc_impl_list): Likewise.
9776         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9777         file.
9778         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9779         file.
9780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9781         file: memrchr multiarch for PPC32.
9782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9783         multiarch objects.
9784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9785         (__libc_ifunc_impl_list): Likewise.
9787         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9789         file.
9790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9792         multiarch memchr for PPC32.
9793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9794         multiarch objects.
9795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9796         (__libc_ifunc_impl_list): Likewise.
9798         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9799         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9800         file.
9801         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9802         file.
9803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9804         file: multiarch mempcpy for PPC32.
9805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9806         multiarch objects.
9807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9808         (__libc_ifunc_impl_list): Likewise.
9810         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9814         multiarch bzero for PPC32.
9815         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9816         file.
9817         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9818         file.
9819         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9820         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9821         file: multiarch memset for PPC32.
9822         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9824         memset multiarch objects.
9825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9826         (__libc_ifunc_impl_list): Likewise.
9828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9829         file.
9830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9832         memcmp for PPC32.
9833         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9835         multiarch objects.
9836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9837         (__libc_ifunc_impl_list): Likewise.
9839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9842         file.
9843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9844         file.
9845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9846         file.
9847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9848         multiarch memcpy for PPC32.
9849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
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/Makefile: New file to
9855         support multiarch for POWER/PPC32.
9856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9857         Likewise.
9858         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9860         Implies file to make multiarch folder appers before the fpu and
9861         default folder for power4 configuration.
9863 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9865         * scripts/bench.pl: Append volatile keyword to type.
9867 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9869         * sysdeps/sh/sotruss-lib.c: New file.
9870         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9872 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9876 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9878         [BZ #6810]
9879         * math/w_tgamma.c: Include <errno.h>.
9880         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9881         * math/w_tgammaf.c: Include <errno.h>.
9882         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9883         * math/w_tgammal.c: Include <errno.h>.
9884         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9885         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9886         underflow.  Add more tgamma tests.
9887         * math/auto-libm-test-out: Regenerated.
9888         * sysdeps/i386/fpu/libm-test-ulps: Update.
9889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9891         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9892         sin, sinh, tan, tanh, tgamma, y0 and y1.
9893         * math/auto-libm-test-out: Regenerated.
9894         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9895         (TEST_COND_x86): Likewise.
9896         (M_E2l): Remove macro.
9897         (M_E3l): Likewise.
9898         (M_2_SQRT_PIl): Likewise.
9899         (M_SQRT_PIl): Likewise.
9900         (M_1_DIV_El): Likewise.
9901         (log_test_data): Use AUTO_TESTS_f_f.
9902         (log10_test_data): Likewise.
9903         (log1p_test_data): Likewise.
9904         (log2_test_data): Likewise.
9905         (sin_test_data): Likewise.
9906         (sin_tonearest_test_data): Likewise.
9907         (sin_towardzero_test_data): Likewise.
9908         (sin_downward_test_data): Likewise.
9909         (sin_upward_test_data): Likewise.
9910         (sinh_test_data): Likewise.
9911         (sinh_tonearest_test_data): Likewise.
9912         (sinh_towardzero_test_data): Likewise.
9913         (sinh_downward_test_data): Likewise.
9914         (sinh_upward_test_data): Likewise.
9915         (tan_test_data): Likewise.
9916         (tan_tonearest_test_data): Likewise.
9917         (tan_towardzero_test_data): Likewise.
9918         (tan_downward_test_data): Likewise.
9919         (tan_upward_test_data): Likewise.
9920         (tanh_test_data): Likewise.
9921         (tgamma_test_data): Likewise.
9922         (y0_test_data): Likewise.
9923         (y1_test_data): Likewise.
9924         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9925         (special_real_inputs): Add pi/4.
9926         * sysdeps/i386/fpu/libm-test-ulps: Update.
9927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9932         "longjmp_target" static probes.
9933         (__longjmp): Rename to __longjmp_symbol.
9934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9935         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9936         on which longjmp to generate.
9937         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9939         probe.
9940         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9941         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9942         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9944         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9945         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9947         __longjmp_symbol based on which __longjmp to generate.
9948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9949         probe.
9950         (setjmp): Rename to setjmp_symbol.
9951         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9952         (_setjmp): Rename to _setjmp_symbol.
9953         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9954         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9955         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9956         which setjmp to generate.
9957         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9958         "longjmp_target" static probes.
9960 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9962         * benchtests/README: Add note about output arguments.
9963         * benchtests/bench-sincos.c: Remove file.
9964         * benchtests/sincos-inputs: New file.
9965         * scripts/bench.pl: Identify output arguments and define
9966         static variables for them.
9968         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9970         [BZ #15941]
9971         * Makefile (INSTALL): Add install-plain.texi as the primary
9972         dependency.
9973         * manual/install-plain.texi: New file.
9974         * manual/install.texi: Include node directive only for
9975         non-plaintext output.
9977 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9979         * stdlib/longlong.h: Update from GCC.
9981         [BZ #6807]
9982         [BZ #15901]
9983         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9984         * math/w_j0f.c (y0f): Likewise.
9985         * math/w_j0l.c (__y0l): Likewise.
9986         * math/w_j1.c (y1): Likewise.
9987         * math/w_j1f.c (y1f): Likewise.
9988         * math/w_j1l.c (__y1l): Likewise
9989         * math/w_jn.c (yn): Likewise.
9990         * math/w_jnf.c (ynf): Likewise.
9991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9992         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9993         value for Bessel function domain errors outside _SVID_ mode.
9994         Adjust sign of return value for yn (negative integer, 0).
9995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9996         by zero in return for negative x and set sign appropriately for
9997         negative n.
9998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9999         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10000         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10001         expectations in error cases.
10002         (y1_test_data): Likewise.
10003         (yn_test_data): Likewise.
10004         * sysdeps/i386/fpu/libm-test-ulps: Update.
10005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10009         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10010         "64" to "64-v1".  Add "64-v2".
10011         (abi-64-options): Rename to ...
10012         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10013         (abi-64-condition): Rename to ...
10014         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10015         (abi-64-ld-soname): Rename to ...
10016         (abi-64-v1-ld-soname): ... this.
10017         (abi-64-v2-options): Define.
10018         (abi-64-v2-condition): Likewise.
10019         (abi-64-v2-ld-soname): Likewise.
10020         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10021         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10026 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10027             Alan Modra  <amodra@gmail.com>
10029         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10030         New versions for use with the ELFv2 ABI.
10031         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10032         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10033         declaration.
10034         (struct La_ppc64v2_retval): Likewise.
10035         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10036         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10037         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10038         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10039         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10041         Do not save or restore CR.
10042         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10043         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10044         return values for ELFv2 ABI.  Fix location of FPR return registers.
10045         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10046         updated values for _CALL_ELF == 2.
10047         (La_regs, La_retval, int_retval): Likewise.
10049 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10051         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10052         (FRAME_MIN_SIZE_PARM): Likewise.
10053         (FRAME_BACKCHAIN): Likewise.
10054         (FRAME_CR_SAVE): Likewise.
10055         (FRAME_LR_SAVE): Likewise.
10056         (FRAME_TOC_SAVE): Likewise.
10057         (FRAME_PARM_SAVE): Likewise.
10058         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10059         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10060         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10061         (call_mcount_parm_offset): New macro.
10062         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10063         (PROF): Use symbolic stack frame offsets.
10064         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10065         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10066         Redefine in terms of FRAME_MIN_SIZE.
10067         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10068         (_dl_profile_resolve): Likewise.  Update comment.
10069         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10070         symbols stack frame offsets.
10071         (__sigsetjmp): Likewise.
10072         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10073         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10074         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10075         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10078         (FRAME_BACKCHAIN): Remove.
10079         (FRAME_CR_SAVE): Likewise.
10080         (FRAME_LR_SAVE): Likewise.
10081         (FRAME_COMPILER_DW): Likewise.
10082         (FRAME_LINKER_DW): Likewise.
10083         (FRAME_TOC_SAVE): Likewise.
10084         (FRAME_PARM_SAVE): Likewise.
10085         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10086         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10087         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10089         (CHECK_SP): Use symbolic stack frame offsets.
10090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10091         zone" instead of caller's parameter save area for temp storage.
10092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10093         Likewise.  Also, use symbolic stack frame offsets.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10095         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10096         our own stack frame instead of the caller's.
10097         (__socket): Use symbolic stack frame offsets.
10099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10100             Alan Modra  <amodra@gmail.com>
10102         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10103         Define.
10104         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10105         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10106         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10107         New function.
10108         (elf_machine_fixup_plt): Call it.
10109         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10110         reloc arguments.
10111         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10112         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10113         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10114         r2 before calling target.
10116 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10117             Alan Modra  <amodra@gmail.com>
10119         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10120         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10121         versions of macros to support ELFv2 ABI.
10122         (LOCALENTRY): New macro.
10123         (ENTRY, EALIGN): Use it.
10124         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10125         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10126         fall through into ENTRY entry point.
10127         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10128         Only define if _CALL_ELF != 2.
10130         (elf_machine_matches_host): Verify ABI version matches.
10131         (RTLD_START): Use LOCALENTRY.
10132         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10133         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10134         (PLT_ENTRY_WORDS): New macro.
10135         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10136         (elf_machine_runtime_setup): Support ELFv2 ABI.
10137         (elf_machine_fixup_plt): Likewise.
10138         (elf_machine_plt_conflict): Likewise.
10139         (resolve_ifunc): Likewise.
10140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10142         Likewise.
10143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10144         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10146         (makecontext): Support ELFv2 ABI.
10147         * elf/elf.h (EF_PPC64_ABI): Define.
10149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10151         * sysdeps/powerpc/powerpc64/sysdep.h
10152         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10153         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10154         (ENTRY) [ASSEMBLER]: ... but instead here ...
10155         (EALIGN) [ASSEMBLER]: ... and here.
10156         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10157         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10158         (ENTRY_2) [!ASSEMBLER]: Use it.
10159         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10160         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10162         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10163         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10165         Use PPC64_LOAD_FUNCPTR.
10167         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10169 2013-12-04  Alan Modra  <amodra@gmail.com>
10171         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10172         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10173         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10174         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10177         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10178         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10179         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10180         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10181         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10186         (__makecontext): Fix incorrect CFI when backtracing out of
10187         context created via makecontext.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10189         (__setcontext): Fix incorrect CFI during switch to new context.
10190         (__novec_setcontext): Likewise.
10192 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10194         [BZ #4772]
10195         * time/strptime_l.c (__strptime_internal): Allow modifiers
10196         in strptime.
10197         * time/tst-strptime.c (day_tests): Add testcase.
10199 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10201         * scripts/bench.pl: Skip over blank lines.
10203 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10205         [BZ #926]
10206         * manual/time.texi (Calendar Time): Clarify what timezone functions
10207         use.
10209 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10213 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10215         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10216         implementation.
10217         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10218         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10219         * debug/memset_chk.c (__memset_chk): Likewise.
10220         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10221         * debug/strncpy_chk.c: Likewise.
10223 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10225         [BZ #15268]
10226         [BZ #15425]
10227         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10228         (__ieee754_exp): For possibly underflowing results, check size of
10229         result and force underflow exception if required.
10230         * math/auto-libm-test-in: Add more tests of exp.
10231         * math/auto-libm-test-out: Regenerated.
10232         * sysdeps/i386/fpu/libm-test-ulps: Update.
10233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10235         [BZ #16283]
10236         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10237         * math/w_exp2f.c (__exp2f): Likewise.
10238         * math/w_exp2l.c (__exp2l): Likewise.
10239         * math/auto-libm-test-in: Do not allow missing errno on exp2
10240         underflow.
10241         * math/auto-libm-test-out: Regenerated.
10243 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10245         [BZ #16274]
10246         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10247         handle filename validation.
10248         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10249         (do_open): Delete.
10251 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10253         [BZ #6786]
10254         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10255         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10256         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10257         <float.h>.
10258         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10260         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10262         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10263         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10264         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10265         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10266         Add more erfc tests.
10267         * math/auto-libm-test-out: Regenerated.
10268         * sysdeps/i386/fpu/libm-test-ulps: Update.
10269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10271         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10272         exp2, expm1, j0 and j1.
10273         * math/auto-libm-test-out: Regenerated.
10274         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10275         (erfc_test_data): Likewise.
10276         (exp_test_data): Likewise.
10277         (exp_tonearest_test_data): Likewise.
10278         (exp_towardzero_test_data): Likewise.
10279         (exp_downward_test_data): Likewise.
10280         (exp_upward_test_data): Likewise.
10281         (exp10_test_data): Likewise.
10282         (exp2_test_data): Likewise.
10283         (expm1_test_data): Likewise.
10284         (j0_test_data): Likewise.
10285         (j1_test_data): Likewise.
10286         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10287         (input_flag_type): Add flag_xfail_rounding.
10288         (input_flags): Add xfail-rounding.
10289         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10290         (output_for_one_input_case): Handle flag_xfail_rounding.
10291         * sysdeps/i386/fpu/libm-test-ulps: Update.
10292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10294 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10296         [BZ #16289]
10297         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10298         division by 0.
10300 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10302         [BZ #16195]
10303         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10304         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10305         (STAP_PROBE0): New macro.
10306         (STAP_PROBE1): Likewise.
10307         (STAP_PROBE2): Likewise.
10308         (STAP_PROBE3): Likewise.
10309         (STAP_PROBE4): Likewise.
10311 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10313         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10315 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10317         * benchtests/Makefile (bench): Add sqrt.
10318         (LDLIBS-bench-sqrt): New.
10319         * benchtests/sqrt-input: New.
10321 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10323         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10324         (GAIH_EAI): Likewise.
10325         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10326         (gaih_inet): Likewise.
10327         (getaddrinfo): Don't use GAIH_EAI.
10329         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10330         (struct gaih): Remove definition.
10332 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10334         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10335         Use HERRNOP directly.
10337 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10341 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10343         * math/gen-auto-libm-tests.c (test_functions): Add more
10344         single-argument functions.
10345         (special_fill_pi_2): New function.
10346         (special_fill_minus_pi_2): Likewise.
10347         (special_fill_pi_6): Likewise.
10348         (special_fill_minus_pi_6): Likewise.
10349         (special_fill_pi_3): Likewise.
10350         (special_fill_2pi_3): Likewise.
10351         (special_fill_e): Likewise.
10352         (special_fill_1_e): Likewise.
10353         (special_fill_e_minus_1): Likewise.
10354         (special_real_inputs): Add more special inputs.
10355         (output_for_one_input_case): Do not require ERANGE on underflow to
10356         zero if round-to-nearest result does not underflow to zero, unless
10357         exact results required.
10358         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10359         atan, atanh, cbrt, cos and cosh.
10360         * math/auto-libm-test-out: Regenerated.
10361         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10362         (acos_tonearest_test_data): Likewise.
10363         (acos_towardzero_test_data): Likewise.
10364         (acos_downward_test_data): Likewise.
10365         (acos_upward_test_data): Likewise.
10366         (acosh_test_data): Likewise.
10367         (asin_test_data): Likewise.
10368         (asin_tonearest_test_data): Likewise.
10369         (asin_towardzero_test_data): Likewise.
10370         (asin_upward_test_data): Likewise.
10371         (asinh_test_data): Likewise.
10372         (atan_test_data): Likewise.
10373         (atanh_test_data): Likewise.
10374         (cbrt_test_data): Likewise.
10375         (cos_test_data): Likewise.
10376         (cos_tonearest_test_data): Likewise.
10377         (cos_towardzero_test_data): Likewise.
10378         (cos_downward_test_data): Likewise.
10379         (cos_upward_test_data): Likewise.
10380         (cosh_test_data): Likewise.
10381         (cosh_tonearest_test_data): Likewise.
10382         (cosh_towardzero_test_data): Likewise.
10383         (cosh_downward_test_data): Likewise.
10384         (cosh_upward_test_data): Likewise.
10385         * sysdeps/i386/fpu/libm-test-ulps: Update.
10386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10388 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10390         [BZ #6787]
10391         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10392         * math/w_exp10f.c (__exp10f): Likewise.
10393         * math/w_exp10l.c (__exp10l): Likewise.
10394         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10395         errno settings in existing tests.
10397         [BZ #14032]
10398         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10399         precision control set to double precision.
10400         * sysdeps/i386/fpu/w_sqrt.c: New file.
10401         * math/auto-libm-test-in: Add more tests.
10402         * math/auto-libm-test-out: Update.
10404         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10405         (sqrt_test_tonearest): New function.
10406         (sqrt_towardzero_test_data): New variable.
10407         (sqrt_test_towardzero): New function.
10408         (sqrt_downward_test_data): New variable.
10409         (sqrt_test_downward): New function.
10410         (sqrt_upward_test_data): New variable.
10411         (sqrt_test_upward): New function.
10412         (main): Call the new functions.
10414         * math/gen-auto-libm-tests.c: New file.
10415         * math/auto-libm-test-in: Likewise.
10416         * math/auto-libm-test-out: New generated file.
10417         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10418         variables.
10419         (%beautify): Add generated representations of zero.
10420         (top level): Set $auto_input and call parse_auto_input.
10421         (beautify): Remove trailing "f" from hex float constants.
10422         (parse_args): Handle XFAIL_TEST.
10423         (convert_condition): New function.
10424         (or_value): Likewise.
10425         (or_cond_value): Likewise.
10426         (generate_testfile): Handle AUTO_TESTS_* lines.
10427         (parse_auto_input): New function.
10428         * math/libm-test.inc (XFAIL_TEST): New macro.
10429         (ERRNO_UNCHANGED): Update value.
10430         (ERRNO_EDOM): Likewise.
10431         (ERRNO_ERANGE): Likewise.
10432         (IGNORE_RESULT): Likewise.
10433         (TEST_COND_flt_32): New macro.
10434         (TEST_COND_dbl_64): Likewise.
10435         (TEST_COND_ldbl_96_intel): Likewise.
10436         (TEST_COND_ldbl_96_m68k): Likewise.
10437         (TEST_COND_ldbl_128): Likewise.
10438         (TEST_COND_ldbl_128ibm): Likewise.
10439         (TEST_COND_long32): Likewise.
10440         (TEST_COND_long64): Likewise.
10441         (TEST_COND_before_rounding): Likewise.
10442         (TEST_COND_after_rounding): Likewise.
10443         (enable_test): Handle XFAIL_TEST flag.
10444         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10445         with finite results.
10446         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10447         auto-libm-test-out.
10449 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10450             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10452         [BZ #16214]
10453         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10454         __tls_get_addr_internal instead of __tls_get_offset in order to
10455         avoid GOT pointer dependency.  Make rtld export
10456         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10457         __tls_get_addr since we are a __tls_get_offset platform.
10458         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10459         GOT pointer being set up before.
10460         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10462 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10464         * manual/math.texi (Errors in Math Functions): Document accuracy
10465         goals.
10467         [BZ #15004]
10468         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10469         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10470         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10471         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10473         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10474         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10475         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10476         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10477         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10478         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10481         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10482         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10483         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10485         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10486         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10487         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10488         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10489         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10490         Likewise.
10491         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10492         Likewise.
10493         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10494         Likewise.
10495         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10496         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10497         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10498         atomic-feupdateenv and flt-rounds.
10499         * sysdeps/powerpc/nofpu/Versions (libc): Add
10500         __atomic_feholdexcept, __atomic_feclearexcept,
10501         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10502         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10503         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10505         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10506         here.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10508         Update.
10510         * manual/arith.texi (FP Exceptions): Document that exceptions may
10511         not be raised when matherr is used.
10512         (Math Error Reporting): Document overflow in directed rounding
10513         modes.  Document that errno may not be set when finite values are
10514         returned on overflow.  Document intent to set errno on underflow
10515         only for underflow to zero.
10517         [BZ #16271]
10518         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10519         round-to-nearest then adjust result for other rounding modes.
10520         * include/fenv.h (fegetround): Use libm_hidden_proto.
10521         * math/fegetround.c (fegetround): Use libm_hidden_def.
10522         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10523         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10524         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10526         Likewise.
10527         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10528         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10529         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10530         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10532 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10534         [BZ #16077]
10535         * nss/Versions (libnss_files): Add
10536         _nss_files_gethostbyname3_r.
10537         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10538         New function.
10539         (HOST_DB_LOOKUP): Remove macro.
10540         (_nss_files_gethostbyname_r): Implement function without the
10541         HOST_DB_LOOKUP macro.
10542         (_nss_files_gethostbyname2_r): Likewise.
10544 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10546         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10548 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10550         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10551         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10552         warning.
10554 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10556         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10557         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10558         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10559         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10560         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10561         __fe_nomask_env_priv and attribute_hidden.
10562         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10563         (libc_feupdateenv_test_ppc): Likewise.
10564         (libc_feresetround_ppc): Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10566         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10567         compat_symbol macro.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10569         (__fe_nomask_env): Likewise.
10570         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10574         * string/Makefile: Remove ifunc tests.
10575         * string/test-string.h: Define TEST_IFUNC.
10576         * string/test-bcopy-ifunc.c: Remove.
10577         * string/test-bzero-ifunc.c: Likewise.
10578         * string/test-memccpy-ifunc.c: Likewise.
10579         * string/test-memchr-ifunc.c: Likewise.
10580         * string/test-memcmp-ifunc.c: Likewise.
10581         * string/test-memcpy-ifunc.c: Likewise.
10582         * string/test-memmem-ifunc.c: Likewise.
10583         * string/test-memmove-ifunc.c: Likewise.
10584         * string/test-mempcpy-ifunc.c: Likewise.
10585         * string/test-memrchr-ifunc.c: Likewise.
10586         * string/test-memset-ifunc.c: Likewise.
10587         * string/test-rawmemchr-ifunc.c: Likewise.
10588         * string/test-stpcpy-ifunc.c: Likewise.
10589         * string/test-stpncpy-ifunc.c: Likewise.
10590         * string/test-strcasecmp-ifunc.c: Likewise.
10591         * string/test-strcasestr-ifunc.c: Likewise.
10592         * string/test-strcat-ifunc.c: Likewise.
10593         * string/test-strchr-ifunc.c: Likewise.
10594         * string/test-strchrnul-ifunc.c: Likewise.
10595         * string/test-strcmp-ifunc.c: Likewise.
10596         * string/test-strcpy-ifunc.c: Likewise.
10597         * string/test-strcspn-ifunc.c: Likewise.
10598         * string/test-strlen-ifunc.c: Likewise.
10599         * string/test-strncasecmp-ifunc.c: Likewise.
10600         * string/test-strncat-ifunc.c: Likewise.
10601         * string/test-strncmp-ifunc.c: Likewise.
10602         * string/test-strncpy-ifunc.c: Likewise.
10603         * string/test-strnlen-ifunc.c: Likewise.
10604         * string/test-strpbrk-ifunc.c: Likewise.
10605         * string/test-strrchr-ifunc.c: Likewise.
10606         * string/test-strspn-ifunc.c: Likewise.
10607         * string/test-strstr-ifunc.c: Likewise.
10609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10611         * benchtests/Makefile: Remove ifunc tests.
10612         * benchtests/bench-string.h: Define TEST_IFUNC.
10613         * benchtests/bench-bcopy-ifunc.c: Remove.
10614         * benchtests/bench-bzero-ifunc.c: Likewise.
10615         * benchtests/bench-memccpy-ifunc.c: Likewise.
10616         * benchtests/bench-memchr-ifunc.c: Likewise.
10617         * benchtests/bench-memcmp-ifunc.c: Likewise.
10618         * benchtests/bench-memcpy-ifunc.c: Likewise.
10619         * benchtests/bench-memmem-ifunc.c: Likewise.
10620         * benchtests/bench-memmove-ifunc.c: Likewise.
10621         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10622         * benchtests/bench-memrchr-ifunc.c: Likewise.
10623         * benchtests/bench-memset-ifunc.c: Likewise.
10624         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10625         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10626         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10627         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10628         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10629         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10630         * benchtests/bench-strcat-ifunc.c: Likewise.
10631         * benchtests/bench-strchr-ifunc.c: Likewise.
10632         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10633         * benchtests/bench-strcmp-ifunc.c: Likewise.
10634         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10635         * benchtests/bench-strcpy-ifunc.c: Likewise.
10636         * benchtests/bench-strcspn-ifunc.c: Likewise.
10637         * benchtests/bench-strlen-ifunc.c: Likewise.
10638         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10639         * benchtests/bench-strncat-ifunc.c: Likewise.
10640         * benchtests/bench-strncmp-ifunc.c: Likewise.
10641         * benchtests/bench-strncpy-ifunc.c: Likewise.
10642         * benchtests/bench-strnlen-ifunc.c: Likewise.
10643         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10644         * benchtests/bench-strrchr-ifunc.c: Likewise.
10645         * benchtests/bench-strsep-ifunc.c: Likewise.
10646         * benchtests/bench-strspn-ifunc.c: Likewise.
10647         * benchtests/bench-strstr-ifunc.c: Likewise.
10649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10651         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10655         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10656         * rt/aio.h: Likewise.
10657         * sysdeps/gnu/bits/utmp.h: Likewise.
10658         * sysdeps/gnu/bits/utmpx.h: Likewise.
10659         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10660         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10661         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10662         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10663         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10664         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10665         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10666         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10667         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10669         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10670         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10671         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10673         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10674         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10675         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10676         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10677         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10678         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10679         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10680         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10681         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10682         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10683         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10685         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10686         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10687         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10688         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10689         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10690         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10691         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10692         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10694         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10695         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10696         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10697         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10698         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10699         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10700         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10702 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10704         [BZ #16245]
10705         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10706         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10708 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10710         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10712         Likewise.
10714 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10717         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10718         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10719         (__fesetround): Remove define.
10720         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10721         rounding and exceptions handling.
10722         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10723         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10724         (__fe_nomask_env): Likewise.
10725         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10726         __fegetround instead of fegetround.
10727         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10728         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10730 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10732         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10733         it's there.
10735         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10737 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10739         [BZ #11157]
10740         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10741         (encrypt_r): Likewise.
10742         * malloc/obstack.h (obstack_free): Likewise.
10743         * posix/unistd.h (encrypt): Likewise.
10745 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10747         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10748         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10749         DL_CALL_DT_FINI() that call the functions directly.
10750         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10751         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10752         * elf/dl-fini.c: Likewise.
10754 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10756         * malloc/hooks.c (memalign_check): Add alignment rounding.
10757         * malloc/malloc.c (_mid_memalign): New function.
10758         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10759         Implement by calling _mid_memalign.
10760         * manual/probes.texi (Memory Allocation Probes): Remove
10761         memory_valloc_retry and memory_pvalloc_retry.
10763 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10765         * locale/programs/locarchive.c (open_archive): Add const
10766         qualifier to ARCHIVEFNAME and copy default fname to
10767         DEFAULT_FNAME.
10769         [BZ #15601]
10770         * libio/tst-widetext.input: Rename Oriya to Odia.
10771         * locale/iso-639.def: Likewise.
10773         * manual/probes.texi (Mathematical Function Probes): Add
10774         documentation for sin, cos, asin and acos probes.
10775         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10776         (__sin32): Add slowasin probe.
10777         (__cos32): Add slowacos probe.
10778         (__mpsin): Add slowsin probe.
10779         (__mpcos): Add slowcos probe.
10781 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #15483]
10784         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10785         thread-local __sim_exceptions_thread and global
10786         __sim_exceptions_global.
10787         (__sim_disabled_exceptions): Change to thread-local
10788         __sim_disabled_exceptions_thread and global
10789         __sim_disabled_exceptions_global.
10790         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10791         and global __sim_round_mode_global.
10792         (__simulate_exceptions): Use thread-local floating-point state and
10793         set global state from it as needed.
10794         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10795         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10796         __sim_round_mode_thread.
10797         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10798         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10799         and global __sim_exceptions_global.
10800         (__sim_disabled_exceptions): Change to thread-local
10801         __sim_disabled_exceptions_thread and global
10802         __sim_disabled_exceptions_global.
10803         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10804         and global __sim_round_mode_global.
10805         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10806         (SIM_SET_GLOBAL): Likewise.
10807         * sysdeps/powerpc/soft-fp/sfp-machine.h
10808         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10809         __sim_round_mode_thread.
10810         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10811         __sim_disabled_exceptions_thread.
10812         (__sim_exceptions): Change to __sim_exceptions_thread.
10813         (__sim_disabled_exceptions): Change to
10814         __sim_disabled_exceptions_thread.
10815         (__sim_round_mode): Change to __sim_round_mode_thread.
10816         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10817         thread-local floating-point state and set global state from it as
10818         needed.
10819         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10820         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10821         (__sim_disabled_exceptions): Remove extern declaration.
10822         (feenableexcept): Use thread-local floating-point state and set
10823         global state from it as needed.
10824         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10825         extern declaration.
10826         (__sim_disabled_exceptions): Likewise.
10827         (__sim_round_mode): Likewise.
10828         (__fegetenv): Use thread-local floating-point state.
10829         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10830         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10831         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10832         floating-point state and set global state from it as needed.
10833         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10835         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10836         Likewise.
10837         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10838         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10839         Likewise.
10840         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10841         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10842         Use __sim_round_mode_thread.
10843         * math/test-fenv-tls.c: New file.
10844         * math/Makefile (tests): Add test-fenv-tls.
10845         ($(objpfx)test-fenv-tls): Depend on
10846         $(common-objpfx)nptl/libpthread.so.
10848 2013-11-19  Andreas Schwab  <schwab@suse.de>
10850         * locale/programs/locale.c (show_info): Decode wordarray elements.
10851         * locale/categories.def (LC_MONETARY): Add element for
10852         _NL_MONETARY_CRNCYSTR.
10853         * locale/C-monetary.c (conversion_rate): New variable.
10854         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10855         element.
10857 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10859         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10860         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10862 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10864         * elf/Makefile (tst-auxv): New test.
10865         * elf/tst-auxv.c: New
10866         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10868 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10870         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10871         (hidden_proto): Caller changed.
10872         (hidden_tls_proto): New macro.
10873         (libc_hidden_tls_proto): Likewise.
10874         (rtld_hidden_tls_proto): Likewise.
10875         (libm_hidden_tls_proto): Likewise.
10876         (libresolv_hidden_tls_proto): Likewise.
10877         (librt_hidden_tls_proto): Likewise.
10878         (libdl_hidden_tls_proto): Likewise.
10879         (libnss_files_hidden_tls_proto): Likewise.
10880         (libnsl_hidden_tls_proto): Likewise.
10881         (libnss_nisplus_hidden_tls_proto): Likewise.
10882         (libutil_hidden_tls_proto): Likewise.
10884 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10886         [BZ #10253]
10887         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10888         (decompose_rpath): Defer expansion to fillin_rpath.
10889         (_dl_init_paths): Pass linkmap to fillin_rpath.
10891 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10893         * benchtests/Makefile: Add strsep.
10894         * benchtests/bench-strsep.c: New file: strsep benchtest.
10895         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10897 2013-11-18  Andreas Schwab  <schwab@suse.de>
10899         * locale/programs/locale.c (show_info) [case byte]: Check for
10900         '\377' instead of '\177'.
10901         * locale/C-monetary.c (not_available): Always use "\377".
10902         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10903         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10904         detect unavailable sign_posn locale elements.
10905         * locale/localeconv.c (__localeconv): For grouping and
10906         mon_grouping handle "\177" and "\377" like no grouping.
10907         (INT_ELEM): New macro.  Use it to set all numeric members.
10908         * locale/programs/ld-monetary.c (monetary_read)
10909         <tok_mon_grouping>: Normalize single -1 to the empty string.
10910         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10911         Likewise.
10913 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10915         [BZ #16055]
10916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10917         when we match (nil).
10918         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10920 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10922         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10923         (NO_TEST_INLINE): Update value.
10924         (ERRNO_UNCHANGED): Likewise.
10925         (ERRNO_EDOM): Likewise.
10926         (ERRNO_ERANGE): Likewise.
10927         (IGNORE_RESULT): Likewise.
10928         (check_float_internal): Check signs of NaN results if
10929         TEST_NAN_SIGN used.
10930         (check_complex): Pass TEST_NAN_SIGN flag through to second
10931         check_float_internal call.
10932         (copysign_test_data): Add tests with quiet NaNs as second
10933         argument.  Use TEST_NAN_SIGN.
10934         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10935         TEST_NAN_SIGN.
10936         (signbit_test_data): Add tests of quiet NaN argument.
10937         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10939         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10940         $ignore_result.
10941         (parse_args): Handle function results specified as IGNORE.
10942         * math/libm-test.inc (IGNORE_RESULT): New macro.
10943         (check_float_internal): Do not check numerical result if flag
10944         IGNORE_RESULT set.
10945         (check_complex): Pass through IGNORE_RESULT to second
10946         check_float_internal call.
10947         (check_int): Do not check numerical result if flag IGNORE_RESULT
10948         set.
10949         (check_long): Likewise.
10950         (check_bool): Likewise.
10951         (check_longlong): Likewise.
10952         (lrint_test_data): Add tests of infinite and NaN arguments.
10953         (lrint_tonearest_test_data): Likewise.
10954         (lrint_towardzero_test_data): Likewise.
10955         (lrint_downward_test_data): Likewise.
10956         (lrint_upward_test_data): Likewise.
10957         (llrint_test_data): Likewise.
10958         (llrint_tonearest_test_data): Likewise.
10959         (llrint_towardzero_test_data): Likewise.
10960         (llrint_downward_test_data): Likewise.
10961         (llrint_upward_test_data): Likewise.
10962         (lround_test_data): Likewise.
10963         (llround_test_data): Likewise.
10965         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10966         (ERRNO_UNCHANGED): Update value.
10967         (ERRNO_EDOM): Likewise.
10968         (ERRNO_ERANGE): Likewise.
10969         (NO_TEST_INLINE_FLOAT): New macro.
10970         (NO_TEST_INLINE_DOUBLE): Likewise.
10971         (enable_test): New function.
10972         (RUN_TEST_f_f): Check enable_test before running test.
10973         (RUN_TEST_2_f): Likewise.
10974         (RUN_TEST_fff_f): Likewise.
10975         (RUN_TEST_c_f): Likewise.
10976         (RUN_TEST_f_f1): Likewise.
10977         (RUN_TEST_fF_f1): Likewise.
10978         (RUN_TEST_fI_f1): Likewise.
10979         (RUN_TEST_ffI_f1): Likewise.
10980         (RUN_TEST_c_c): Likewise.
10981         (RUN_TEST_cc_c): Likewise.
10982         (RUN_TEST_f_i): Likewise.
10983         (RUN_TEST_f_i_tg): Likewise.
10984         (RUN_TEST_ff_i_tg): Likewise.
10985         (RUN_TEST_f_b): Likewise.
10986         (RUN_TEST_f_b_tg): Likewise.
10987         (RUN_TEST_f_l): Likewise.
10988         (RUN_TEST_f_L): Likewise.
10989         (RUN_TEST_fFF_11): Likewise.
10990         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10991         conditionals.
10992         (cosh_test_data): Likewise.
10993         (exp_test_data): Likewise.
10994         (expm1_test_data): Likewise.
10995         (hypot_test_data): Likewise.
10996         (pow_test_data): Likewise.
10997         (sinh_test_data): Likewise.
10998         (tanh_test_data): Likewise.
10999         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11000         flags argument.
11002         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11003         tests with quiet NaN input and output.
11004         (acosh_test_data): Likewise.
11005         (asin_test_data): Likewise.
11006         (asinh_test_data): Likewise.
11007         (atan_test_data): Likewise.
11008         (atanh_test_data): Likewise.
11009         (atan2_test_data): Likewise.
11010         (cbrt_test_data): Likewise.
11011         (cos_test_data): Likewise.
11012         (cosh_test_data): Likewise.
11013         (erf_test_data): Likewise.
11014         (erfc_test_data): Likewise.
11015         (exp_test_data): Likewise.
11016         (exp10_test_data): Likewise.
11017         (exp2_test_data): Likewise.
11018         (expm1_test_data): Likewise.
11019         (hypot_test_data): Likewise.
11020         (j0_test_data): Likewise.
11021         (j1_test_data): Likewise.
11022         (jn_test_data): Likewise.
11023         (lgamma_test_data): Likewise.
11024         (log_test_data): Likewise.
11025         (log10_test_data): Likewise.
11026         (log1p_test_data): Likewise.
11027         (log2_test_data): Likewise.
11028         (pow_test_data): Likewise.
11029         (scalb_test_data): Likewise.
11030         (sin_test_data): Likewise.
11031         (sincos_test_data): Likewise.
11032         (sinh_test_data): Likewise.
11033         (tan_test_data): Likewise.
11034         (tanh_test_data): Likewise.
11035         (tgamma_test_data): Likewise.
11036         (y0_test_data): Likewise.
11037         (y1_test_data): Likewise.
11038         (yn_test_data): Likewise.
11040         [BZ #16167]
11041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11042         argument being NaN and avoid computations with second argument in
11043         that case.
11044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11046         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11048 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11050         * locale/iso-639.def: Add Chitwani Tharu (the).
11052 2013-11-14  Andreas Schwab  <schwab@suse.de>
11054         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11055         word instead of empty string.
11057 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11060         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11062         (__fe_nomask_env): Likewise.
11064 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11066         * benchtests/bench-timing.h: Include time.h.
11068 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11070         [BZ #15997]
11071         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11072         to 3.4.0 for x32.
11073         * sysdeps/unix/sysv/linux/configure: Regenerated.
11075 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #16151]
11078         * stdlib/strtod_l.c (round_and_return): Do not consider
11079         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11080         exponent one less than half the least subnormal exponent.
11081         * stdlib/test-strtod-round-data: Add more tests.
11082         * stdlib/tst-strtod-round.c (tests): Regenerated.
11084 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11086         [BZ #14143]
11087         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11088         (__fe_mask_env): Likewise.
11089         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11090         libm_hidden_proto and add function prototype.
11091         (__fe_mask_env): Add function prototype.
11092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11093         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11095         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11097         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11099 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11101         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11102         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11104 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11106         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11107         of htab_find_slot().
11109 2013-11-11  David S. Miller  <davem@davemloft.net>
11111         [BZ #16150]
11112         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11113         symbol in the non-vis3 case in static builds.
11114         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11115         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11116         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11117         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11119 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11121         [BZ #387]
11122         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11123         it is empty.
11125 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11127         * benchtests/Makefile: Add bench-strtod.
11128         * benchtests/bench-strtod.c: New file: strtod benchtest
11130 2013-11-11  Andreas Schwab  <schwab@suse.de>
11132         [BZ #16153]
11133         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11134         terminating NUL in key length.
11136 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11138         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11139         Add artificial ODP entry for vDSO symbol for PPC64.
11140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11141         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11143 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11145         [BZ #15374]
11146         * nss/getent.c (services_keys): Recognize services starting with digit.
11148 2013-11-06  David S. Miller  <davem@davemloft.net>
11150         [BZ #15985]
11151         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11152         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11154 2013-11-06  Will Newton  <will.newton@linaro.org>
11156         * manual/memory.texi (Malloc Examples): Remove register
11157         keyword from examples.
11159 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11161         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11163 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11165         [BZ #6981]
11166         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11167         depending on [__GCC_IEC_559 > 0].
11168         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11169         depending on [__GCC_IEC_559_COMPLEX > 0].
11171 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11173         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11174         to iso-639.def.
11176 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11178         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11180 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11182         [BZ #16112]
11183         * malloc/malloc (malloc_info): Do not handle first bin as
11184         special case.
11186 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11188         * locale/iso-639.def: Add Central Nahuatl (nhn).
11190 2013-11-01  Bruno Haible  <bruno@clisp.org>
11192         [BZ #7003]
11193         * manual/math.texi (BSD Random): Specify range upper bound as
11194         in POSIX.
11196 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11198         * locale/iso-639.def: Add Meadow Mari (mhr).
11200 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11202         [BZ #14752], [BZ #15763]
11203         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11204         Validate name.
11205         * rt/tst_shm.c: Add test for escaping directory.
11207 2013-10-31  Andreas Schwab  <schwab@suse.de>
11209         [BZ #15917]
11210         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11211         followed by 'x' as part of digit sequence.
11212         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11214 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11216         [BZ #16037]
11217         * configure.ac: allow GNU Make 4.0 and greater.
11218         * configure: Regenerated.
11220 2013-10-30  Will Newton  <will.newton@linaro.org>
11222         [BZ #16038]
11223         * malloc/hooks.c (memalign_check): Limit alignment to the
11224         maximum representable power of two.
11225         * malloc/malloc.c (__libc_memalign): Likewise.
11226         * malloc/tst-memalign.c (do_test): Add test for very
11227         large alignment values.
11228         * malloc/tst-posix_memalign.c (do_test): Likewise.
11230 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11232         [BZ #11087]
11233         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11234         (munmap_chunk): Likewise.
11235         (mremap_chunk): Likewise.
11237 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11239         [BZ #15799]
11240         * stdlib/div.c (div): Remove obsolete code.
11241         * stdlib/ldiv.c (ldiv): Likewise.
11242         * stdlib/lldiv.c (lldiv): Likewise.
11244 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11246         [BZ #16071]
11247         * nss/nss_files/files-XXX.c (get_contents_ret): New
11248         enumerator.
11249         (get_contents): New function.
11250         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11252 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11254         * configure.in: Moved to ...
11255         * configure.ac: ... here. Change reference to configure.in
11256         to configure.ac.
11257         * sysdeps/arm/preconfigure.ac: ... here.
11258         configure.in to configure.ac.
11259         * sysdeps/gnu/configure.in: Moved to ...
11260         * sysdeps/gnu/configure.ac: ... here.
11261         * sysdeps/i386/configure.in: Moved to ...
11262         * sysdeps/i386/configure.ac: ... here.
11263         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11264         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11265         * sysdeps/mach/configure.in: Moved to ...
11266         * sysdeps/mach/configure.ac: ... here.
11267         * sysdeps/mach/hurd/configure.in: Moved to ...
11268         * sysdeps/mach/hurd/configure.ac: ... here.
11269         * sysdeps/powerpc/configure.in: Moved to ...
11270         * sysdeps/powerpc/configure.ac: ... here.
11271         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11272         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11273         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11274         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11275         * sysdeps/s390/s390-32/configure.in: Moved to ...
11276         * sysdeps/s390/s390-32/configure.ac: ... here.
11277         * sysdeps/s390/s390-64/configure.in: Moved to ...
11278         * sysdeps/s390/s390-64/configure.ac: ... here.
11279         * sysdeps/sh/configure.in: Moved to ...
11280         * sysdeps/sh/configure.ac: ... here.
11281         * sysdeps/sparc/configure.in: Moved to ...
11282         * sysdeps/sparc/configure.ac: ... here.
11283         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11284         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11285         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11286         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11287         * sysdeps/x86_64/configure.in: Moved to ...
11288         * sysdeps/x86_64/configure.ac: ... here.
11289         * sysdeps/x86_64/preconfigure.in: Moved to ...
11290         * sysdeps/x86_64/preconfigure.ac: ... here.
11291         * aclocal.m4: Change reference to configure.in to configure.ac.
11292         * config.h.in: Likewise.
11293         * manual/install.texi: Likewise.
11294         * manual/maint.texi: Likewise.
11295         * Makefile: Likewise.
11296         * malloc/Makefile: Likewise.
11297         * nscd/Makefile: Likewise.
11298         * Makeconfig: Change reference to configure.in and
11299         preconfigure.in to configure.ac and preconfigure.ac
11300         respectively.
11301         * INSTALL: Regenerated.
11302         * configure: Likewise.
11303         * sysdeps/gnu/configure: Likewise.
11304         * sysdeps/i386/configure: Likewise.
11305         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11306         * sysdeps/mach/configure: Likewise.
11307         * sysdeps/mach/hurd/configure: Likewise.
11308         * sysdeps/powerpc/configure: Likewise.
11309         * sysdeps/powerpc/powerpc32/configure: Likewise.
11310         * sysdeps/powerpc/powerpc64/configure: Likewise.
11311         * sysdeps/s390/s390-32/configure: Likewise.
11312         * sysdeps/s390/s390-64/configure: Likewise.
11313         * sysdeps/sh/configure: Likewise.
11314         * sysdeps/sparc/configure: Likewise.
11315         * sysdeps/unix/sysv/linux/configure: Likewise.
11316         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11317         * sysdeps/x86_64/configure: Likewise.
11318         * sysdeps/x86_64/preconfigure: Likewise.
11320 2013-10-29  Andreas Schwab  <schwab@suse.de>
11322         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11324 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11326         * benchtests/pow-inputs: Add new inputs.
11328         * benchtests/exp-inputs: Add new inputs.
11330         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11331         conditional check for return value.
11332         (__cos32): Likewise.
11334 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11336         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11337         to provide a boost for large inputs with word alignment.
11338         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11339         implementation based on optimized PPC64 strcpy.
11340         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11341         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11342         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11343         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11345 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11347         [BZ #2801]
11348         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11350 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11352         [BZ #14876]
11353         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11354         * time/tst-strptime.c (day_tests): Add testcase.
11356 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11358         [BZ #14029]
11359         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11361 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11363         [BZ #16074]
11364         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11365         MAP_FAILED on error.
11367 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11369         [BZ #16072]
11370         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11371         heap for large requests.
11373 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11375         [BZ #9954]
11376         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11377         result if the result has no associated interface.
11378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11379         interface for all 127.X.Y.Z addresses.
11381 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11383         * locale/iso-639.def: Add Ligurian (lij)
11385 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11387         [BZ #15825]
11388         * sunrpc/rpc_main.c: Document rpcgen -5.
11390 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11392         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11394 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11396         [BZ #10278]
11397         * posix/glob.c: Match only directories when trailing slash is present.
11398         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11399         (main): Add testcase.
11401 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11403         [BZ #15670]
11404         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11406 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11408         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11409         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11410         AUTH_DES and cindex for FIPS 140-2.
11411         (DES Encryption): Add cindex FIPS 46-3.
11413         * locale/locarchive.h (struct locarhandle): Add fname.
11414         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11415         if an optional argument was specified to --list-archive,
11416         otherwise NULL.
11417         * locale/programs/locarchive.c (show_archive_content): Take new
11418         argument fname and pass it via ah.fname to open_archive.
11419         * locale/programs/localedef.h: Update decl.
11420         (open_archive): If AH->fname is non-null, open that file
11421         rather than the default file name, and don't ignore ENOENT.
11422         (create_archive): Set AH.fname to NULL.
11423         (delete_locales_from_archive): Likewise.
11424         (add_locales_to_archive): Likewise.
11425         * locale/programs/locfile.c (write_all_categories): Likewise.
11427 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11428             Aldy Hernandez  <aldyh@redhat.com>
11430         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11431         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11432         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11433         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11434         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11435         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11436         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11438         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11439         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11441         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11442         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11443         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11444         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11445         Likewise.
11446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11447         Likewise.
11448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11449         Likewise.
11450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11451         Likewise.
11452         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11454         Likewise.
11455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11456         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11457         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11458         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11459         Likewise.
11460         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11462         * sysdeps/powerpc/preconfigure: Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11464         Likewise.
11465         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11466         Replace contents of file by #include of <fenv_libc.h>.
11467         * sysdeps/powerpc/soft-fp/sfp-machine.h
11468         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11469         and <sys/prctl.h>.
11470         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11483         Allow copysignl PLT reference to be missing.
11485 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11486             Joseph Myers  <joseph@codesourcery.com
11488         [BZ #15948]
11489         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11490         single character.
11491         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11493 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11495         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11496         * elf/tst-tls1.c: Likewise.
11497         * elf/tst-tls10.h: Likewise.
11498         * elf/tst-tls14.c: Likewise.
11499         * elf/tst-tls2.c: Likewise.
11500         * elf/tst-tls3.c: Likewise.
11501         * elf/tst-tls4.c: Likewise.
11502         * elf/tst-tls5.c: Likewise.
11503         * elf/tst-tls6.c: Likewise.
11504         * elf/tst-tls7.c: Likewise.
11505         * elf/tst-tls8.c: Likewise.
11506         * elf/tst-tls9.c: Likewise.
11507         * elf/tst-tlsmod1.c: Likewise.
11508         * elf/tst-tlsmod13.c: Likewise.
11509         * elf/tst-tlsmod13a.c: Likewise.
11510         * elf/tst-tlsmod14a.c: Likewise.
11511         * elf/tst-tlsmod16a.c: Likewise.
11512         * elf/tst-tlsmod16b.c: Likewise.
11513         * elf/tst-tlsmod2.c: Likewise.
11514         * elf/tst-tlsmod3.c: Likewise.
11515         * elf/tst-tlsmod4.c: Likewise.
11516         * elf/tst-tlsmod5.c: Likewise.
11517         * elf/tst-tlsmod6.c: Likewise.
11519 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11521         [BZ #12486]
11522         * malloc/malloc.c: remove checks for statistics.
11524 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11526         [BZ #15277]
11527         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11528         * inet/tst-network.c: Add testcase.
11530 2013-10-17  Andreas Schwab  <schwab@suse.de>
11532         [BZ #15218]
11533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11534         to determine canonical name.
11536 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11538         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11539         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11541         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11544         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11546         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11548         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11550         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11551         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11552         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11553         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11555         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11561         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11562         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11563         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11564         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11565         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11567         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11568         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11570         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11575         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11576         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11586         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11587         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11588         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11589         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11590         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11591         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11593         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11595         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11597 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11599         [BZ #16041]
11600         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11601         make result into a quiet NaN.
11603 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11605         * soft-fp/adddf3.c: Fix horizontal whitespace.
11606         * soft-fp/addsf3.c: Likewise.
11607         * soft-fp/addtf3.c: Likewise.
11608         * soft-fp/divdf3.c: Likewise.
11609         * soft-fp/divsf3.c: Likewise.
11610         * soft-fp/divtf3.c: Likewise.
11611         * soft-fp/double.h: Likewise.
11612         * soft-fp/eqdf2.c: Likewise.
11613         * soft-fp/eqsf2.c: Likewise.
11614         * soft-fp/eqtf2.c: Likewise.
11615         * soft-fp/extenddftf2.c: Likewise.
11616         * soft-fp/extended.h: Likewise.
11617         * soft-fp/extendsfdf2.c: Likewise.
11618         * soft-fp/extendsftf2.c: Likewise.
11619         * soft-fp/extendxftf2.c: Likewise.
11620         * soft-fp/fixdfdi.c: Likewise.
11621         * soft-fp/fixdfsi.c: Likewise.
11622         * soft-fp/fixdfti.c: Likewise.
11623         * soft-fp/fixsfdi.c: Likewise.
11624         * soft-fp/fixsfsi.c: Likewise.
11625         * soft-fp/fixsfti.c: Likewise.
11626         * soft-fp/fixtfdi.c: Likewise.
11627         * soft-fp/fixtfsi.c: Likewise.
11628         * soft-fp/fixtfti.c: Likewise.
11629         * soft-fp/fixunsdfdi.c: Likewise.
11630         * soft-fp/fixunsdfsi.c: Likewise.
11631         * soft-fp/fixunsdfti.c: Likewise.
11632         * soft-fp/fixunssfdi.c: Likewise.
11633         * soft-fp/fixunssfsi.c: Likewise.
11634         * soft-fp/fixunssfti.c: Likewise.
11635         * soft-fp/fixunstfdi.c: Likewise.
11636         * soft-fp/fixunstfsi.c: Likewise.
11637         * soft-fp/fixunstfti.c: Likewise.
11638         * soft-fp/floatdidf.c: Likewise.
11639         * soft-fp/floatdisf.c: Likewise.
11640         * soft-fp/floatditf.c: Likewise.
11641         * soft-fp/floatsidf.c: Likewise.
11642         * soft-fp/floatsisf.c: Likewise.
11643         * soft-fp/floatsitf.c: Likewise.
11644         * soft-fp/floattidf.c: Likewise.
11645         * soft-fp/floattisf.c: Likewise.
11646         * soft-fp/floattitf.c: Likewise.
11647         * soft-fp/floatundidf.c: Likewise.
11648         * soft-fp/floatundisf.c: Likewise.
11649         * soft-fp/floatunditf.c: Likewise.
11650         * soft-fp/floatunsidf.c: Likewise.
11651         * soft-fp/floatunsisf.c: Likewise.
11652         * soft-fp/floatunsitf.c: Likewise.
11653         * soft-fp/floatuntidf.c: Likewise.
11654         * soft-fp/floatuntisf.c: Likewise.
11655         * soft-fp/floatuntitf.c: Likewise.
11656         * soft-fp/fmadf4.c: Likewise.
11657         * soft-fp/fmasf4.c: Likewise.
11658         * soft-fp/fmatf4.c: Likewise.
11659         * soft-fp/gedf2.c: Likewise.
11660         * soft-fp/gesf2.c: Likewise.
11661         * soft-fp/getf2.c: Likewise.
11662         * soft-fp/ledf2.c: Likewise.
11663         * soft-fp/lesf2.c: Likewise.
11664         * soft-fp/letf2.c: Likewise.
11665         * soft-fp/muldf3.c: Likewise.
11666         * soft-fp/mulsf3.c: Likewise.
11667         * soft-fp/multf3.c: Likewise.
11668         * soft-fp/negdf2.c: Likewise.
11669         * soft-fp/negsf2.c: Likewise.
11670         * soft-fp/negtf2.c: Likewise.
11671         * soft-fp/op-1.h: Likewise.
11672         * soft-fp/op-2.h: Likewise.
11673         * soft-fp/op-4.h: Likewise.
11674         * soft-fp/op-8.h: Likewise.
11675         * soft-fp/op-common.h: Likewise.
11676         * soft-fp/quad.h: Likewise.
11677         * soft-fp/single.h: Likewise.
11678         * soft-fp/soft-fp.h: Likewise.
11679         * soft-fp/sqrtdf2.c: Likewise.
11680         * soft-fp/sqrtsf2.c: Likewise.
11681         * soft-fp/sqrttf2.c: Likewise.
11682         * soft-fp/subdf3.c: Likewise.
11683         * soft-fp/subsf3.c: Likewise.
11684         * soft-fp/subtf3.c: Likewise.
11685         * soft-fp/truncdfsf2.c: Likewise.
11686         * soft-fp/trunctfdf2.c: Likewise.
11687         * soft-fp/trunctfsf2.c: Likewise.
11688         * soft-fp/trunctfxf2.c: Likewise.
11689         * soft-fp/unorddf2.c: Likewise.
11690         * soft-fp/unordsf2.c: Likewise.
11691         * soft-fp/unordtf2.c: Likewise.
11693 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11695         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11696         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11698 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11700         * elf/dl-libc.c: Clear initfini list after freeing.
11702 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11704         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11705         * soft-fp/addsf3.c: Likewise.
11706         * soft-fp/addtf3.c: Likewise.
11707         * soft-fp/divdf3.c: Likewise.
11708         * soft-fp/divsf3.c: Likewise.
11709         * soft-fp/divtf3.c: Likewise.
11710         * soft-fp/double.h: Likewise.
11711         * soft-fp/eqdf2.c: Likewise.
11712         * soft-fp/eqsf2.c: Likewise.
11713         * soft-fp/eqtf2.c: Likewise.
11714         * soft-fp/extenddftf2.c: Likewise.
11715         * soft-fp/extended.h: Likewise.
11716         * soft-fp/extendsfdf2.c: Likewise.
11717         * soft-fp/extendsftf2.c: Likewise.
11718         * soft-fp/extendxftf2.c: Likewise.
11719         * soft-fp/fixdfdi.c: Likewise.
11720         * soft-fp/fixdfsi.c: Likewise.
11721         * soft-fp/fixdfti.c: Likewise.
11722         * soft-fp/fixsfdi.c: Likewise.
11723         * soft-fp/fixsfsi.c: Likewise.
11724         * soft-fp/fixsfti.c: Likewise.
11725         * soft-fp/fixtfdi.c: Likewise.
11726         * soft-fp/fixtfsi.c: Likewise.
11727         * soft-fp/fixtfti.c: Likewise.
11728         * soft-fp/fixunsdfdi.c: Likewise.
11729         * soft-fp/fixunsdfsi.c: Likewise.
11730         * soft-fp/fixunsdfti.c: Likewise.
11731         * soft-fp/fixunssfdi.c: Likewise.
11732         * soft-fp/fixunssfsi.c: Likewise.
11733         * soft-fp/fixunssfti.c: Likewise.
11734         * soft-fp/fixunstfdi.c: Likewise.
11735         * soft-fp/fixunstfsi.c: Likewise.
11736         * soft-fp/fixunstfti.c: Likewise.
11737         * soft-fp/floatdidf.c: Likewise.
11738         * soft-fp/floatdisf.c: Likewise.
11739         * soft-fp/floatditf.c: Likewise.
11740         * soft-fp/floatsidf.c: Likewise.
11741         * soft-fp/floatsisf.c: Likewise.
11742         * soft-fp/floatsitf.c: Likewise.
11743         * soft-fp/floattidf.c: Likewise.
11744         * soft-fp/floattisf.c: Likewise.
11745         * soft-fp/floattitf.c: Likewise.
11746         * soft-fp/floatundidf.c: Likewise.
11747         * soft-fp/floatundisf.c: Likewise.
11748         * soft-fp/floatunsidf.c: Likewise.
11749         * soft-fp/floatunsisf.c: Likewise.
11750         * soft-fp/floatuntidf.c: Likewise.
11751         * soft-fp/floatuntisf.c: Likewise.
11752         * soft-fp/floatuntitf.c: Likewise.
11753         * soft-fp/fmadf4.c: Likewise.
11754         * soft-fp/fmasf4.c: Likewise.
11755         * soft-fp/fmatf4.c: Likewise.
11756         * soft-fp/gedf2.c: Likewise.
11757         * soft-fp/gesf2.c: Likewise.
11758         * soft-fp/getf2.c: Likewise.
11759         * soft-fp/ledf2.c: Likewise.
11760         * soft-fp/lesf2.c: Likewise.
11761         * soft-fp/letf2.c: Likewise.
11762         * soft-fp/muldf3.c: Likewise.
11763         * soft-fp/mulsf3.c: Likewise.
11764         * soft-fp/multf3.c: Likewise.
11765         * soft-fp/negdf2.c: Likewise.
11766         * soft-fp/negsf2.c: Likewise.
11767         * soft-fp/negtf2.c: Likewise.
11768         * soft-fp/op-1.h: Likewise.
11769         * soft-fp/op-2.h: Likewise.
11770         * soft-fp/op-4.h: Likewise.
11771         * soft-fp/op-8.h: Likewise.
11772         * soft-fp/op-common.h: Likewise.
11773         * soft-fp/quad.h: Likewise.
11774         * soft-fp/single.h: Likewise.
11775         * soft-fp/soft-fp.h: Likewise.
11776         * soft-fp/sqrtdf2.c: Likewise.
11777         * soft-fp/sqrtsf2.c: Likewise.
11778         * soft-fp/sqrttf2.c: Likewise.
11779         * soft-fp/subdf3.c: Likewise.
11780         * soft-fp/subsf3.c: Likewise.
11781         * soft-fp/subtf3.c: Likewise.
11782         * soft-fp/truncdfsf2.c: Likewise.
11783         * soft-fp/trunctfdf2.c: Likewise.
11784         * soft-fp/trunctfsf2.c: Likewise.
11785         * soft-fp/trunctfxf2.c: Likewise.
11786         * soft-fp/unorddf2.c: Likewise.
11787         * soft-fp/unordsf2.c: Likewise.
11788         * soft-fp/unordtf2.c: Likewise.
11790 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11792         [BZ #15672]
11793         * misc/error.c (error_tail): Fix possible buffer overflow.
11795 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
11797         [BZ #13028]
11798         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11799         address.
11801 2013-10-14  P. J. McDermott  <pj@pehjota.net>
11803         [BZ #832]
11804         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
11805         testing pipefail option.
11807 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11809         * soft-fp/double.h: Indent preprocessor directives inside #if.
11810         * soft-fp/extended.h: Likewise.
11811         * soft-fp/op-2.h: Likewise.
11812         * soft-fp/op-4.h: Likewise.
11813         * soft-fp/op-common.h: Likewise.
11814         * soft-fp/quad.h: Likewise.
11815         * soft-fp/single.h: Likewise.
11816         * soft-fp/soft-fp.h: Likewise.
11818 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11820         * iconv/iconv_prog.c: Fix typos.
11821         * stdio-common/psiginfo-data.h: Likewise.
11823 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11825         [BZ #15764]
11826         * locale/setlocale.c: Fix typo.
11828 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11830         [BZ #16036]
11831         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11832         signaling NaN arguments.
11833         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11834         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11836         [BZ #14910]
11837         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11838         unordered operands.
11839         * soft-fp/gesf2.c (__gesf2): Likewise.
11840         * soft-fp/getf2.c (__getf2): Likewise.
11841         * soft-fp/ledf2.c (__ledf2): Likewise.
11842         * soft-fp/lesf2.c (__lesf2): Likewise.
11843         * soft-fp/letf2.c (__letf2): Likewise.
11845         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11846         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11847         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11848         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11849         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11850         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11851         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11852         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11853         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11854         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11855         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11856         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11857         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11858         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11859         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11860         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11861         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11862         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11863         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11864         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11865         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11866         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11867         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11868         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11869         * soft-fp/floattidf.c (__floattidf): Likewise.
11870         * soft-fp/floattisf.c (__floattisf): Likewise.
11871         * soft-fp/floattitf.c (__floattitf): Likewise.
11872         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11873         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11874         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11875         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11876         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11877         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11878         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11879         * soft-fp/gesf2.c (__gesf2): Likewise.
11880         * soft-fp/getf2.c (__getf2): Likewise.
11881         * soft-fp/ledf2.c (__ledf2): Likewise.
11882         * soft-fp/lesf2.c (__lesf2): Likewise.
11883         * soft-fp/letf2.c (__letf2): Likewise.
11885         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11886         Undefine and redefine.
11887         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11888         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11889         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11890         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11891         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11892         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11893         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11894         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11895         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11896         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11897         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11898         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11899         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11900         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11901         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11903         [BZ #16032]
11904         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11905         without decrementing exponent if mantissa >= that for the
11906         denominator, not >.
11907         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11908         denominator, not >.  Decrement exponent in < case instead of
11909         incrementing in >= case.
11910         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11911         without decrementing exponent if mantissa >= that for the
11912         denominator, not >.
11914         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11915         computing saturated result for unsigned overflow.
11917 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11918             Jeff Law  <law@redhat.com>
11920         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11921         (atan2Mp): Add systemtap probe marker.
11922         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11923         (__ieee754_log): Add systemtap probe marker.
11924         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11925         (atanMp): Add systemtap probe marker.
11926         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11927         (tanMp): Add systemtap probe marker.
11928         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11929         (__slowexp): Add systemtap probe marker.
11930         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11931         (__slowpow): Add systemtap probe marker.
11932         * manual/probes.texi: Document probes.
11934 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11936         [BZ #15362]
11937         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11938         written.
11939         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11940         written.
11941         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11942         written to buffer but not flushed.
11943         * libio/iofwrite_u.c:  Likewise.
11944         * libio/iopadn.c:  Return bytes returned even if EOF was
11945         encountered.
11946         * libio/iowpadn.c:  Likewise.
11947         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11948         if _IO_padn does not write the whole buffer.
11949         [!COMPILE_WPRINTF] (PAD): Likewise.
11951 2013-10-10  David S. Miller  <davem@davemloft.net>
11953         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11954         directory block.
11956 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11958         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11959         instead of FSF address.
11960         * soft-fp/fixdfti.c: Likewise.
11961         * soft-fp/fixsfti.c: Likewise.
11962         * soft-fp/fixtfti.c: Likewise.
11963         * soft-fp/fixunsdfti.c: Likewise.
11964         * soft-fp/fixunssfti.c: Likewise.
11965         * soft-fp/fixunstfti.c: Likewise.
11966         * soft-fp/floattidf.c: Likewise.
11967         * soft-fp/floattisf.c: Likewise.
11968         * soft-fp/floattitf.c: Likewise.
11969         * soft-fp/floatuntidf.c: Likewise.
11970         * soft-fp/floatuntisf.c: Likewise.
11971         * soft-fp/floatuntitf.c: Likewise.
11972         * soft-fp/trunctfxf2.c: Likewise.
11974         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11975         * soft-fp/fixdfti.c: Likewise.
11976         * soft-fp/fixsfti.c: Likewise.
11977         * soft-fp/fixtfti.c: Likewise.
11978         * soft-fp/fixunsdfti.c: Likewise.
11979         * soft-fp/fixunssfti.c: Likewise.
11980         * soft-fp/fixunstfti.c: Likewise.
11981         * soft-fp/floattidf.c: Likewise.
11982         * soft-fp/floattisf.c: Likewise.
11983         * soft-fp/floattitf.c: Likewise.
11984         * soft-fp/floatuntidf.c: Likewise.
11985         * soft-fp/floatuntisf.c: Likewise.
11986         * soft-fp/floatuntitf.c: Likewise.
11987         * soft-fp/trunctfxf2.c: Likewise.
11989 2013-10-10  David S. Miller  <davem@davemloft.net>
11991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11993 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11995         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11996         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11997         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11998         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11999         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12000         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12001         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12004         for NaNs before doing comparisons on argument.
12005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12006         Likewise.
12008 2013-10-10  Will Newton  <will.newton@linaro.org>
12010         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12011         passed to _int_memalign does not overflow.
12013 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12015         * scripts/bench.pl: Add include-sources directive.
12016         * benchtests/README: Update documentation.
12018 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12020         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12021         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12022         instead of FP_INIT_ROUNDMODE.
12023         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12024         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12026         [BZ #16034]
12027         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12028         copy class of input value.
12029         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12030         not handle exceptions.
12031         * soft-fp/negsf2.c (__negsf2): Likewise.
12032         * soft-fp/negtf2.c (__negtf2): Likewise.
12033         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12035 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12037         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12038         semicolon.  From Linux kernel.
12040 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12042         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12044 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12046         [BZ #156]
12047         * manual/socket.texi: Added statement about buffer
12048         for gethostbyname2_r.
12050 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12052         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12053         Use .p2align directive instead, throughout.
12054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12055         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12056         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12057         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12059         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12060         * sysdeps/x86_64/strchr.S: Likewise.
12061         * sysdeps/x86_64/strrchr.S: Likewise.
12063 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12065         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12067         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12069         * sysdeps/generic/math_private.h (__mpsin1): Remove
12070         declaration.
12071         (__mpcos1): Likewise.
12072         (__mpsin): New argument __range_reduce.
12073         (__mpcos): Likewise.
12074         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12075         (slow): Use __mpsin and __mpcos.
12076         (slow1): Likewise.
12077         (slow2): Likewise.
12078         (sloww): Likewise.
12079         (sloww1): Likewise.
12080         (sloww2): Likewise.
12081         (bsloww): Likewise.
12082         (bsloww1): Likewise.
12083         (bsloww2): Likewise.
12084         (cslow2): Likewise.
12085         (csloww): Likewise.
12086         (csloww1): Likewise.
12087         (csloww2): Likewise.
12088         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12089         range_reduce.  Merge in __mpsin1.
12090         (__mpcos): Likewise.
12091         (__mpsin1): Remove.
12092         (__mpcos1): Likewise.
12094 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12096         * locale/loadlocale.c (_nl_intern_locale_data): Use
12097         LOCFILE_ALIGNED_P.
12098         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12099         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12100         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12101         obstack data is appropriately aligned.
12102         (obstack_int32_grow_fast): Likewise.
12103         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12104         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12105         (add_locale_uint32_array): Likewise.
12107 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12109         * benchtests/Makefile: Remove ARGLIST and RET variables.
12110         ($(objpfx)bench-%.c): Pass only function name to the script.
12111         * benchtests/README: Update documentation.
12112         * benchtests/acos-inputs: Add new directives.
12113         * benchtests/acosh-inputs: Likewise.
12114         * benchtests/asin-inputs: Likewise.
12115         * benchtests/asinh-inputs: Likewise.
12116         * benchtests/atan-inputs: Likewise.
12117         * benchtests/atanh-inputs: Likewise.
12118         * benchtests/cos-inputs: Likewise.
12119         * benchtests/cosh-inputs: Likewise.
12120         * benchtests/exp-inputs: Likewise.
12121         * benchtests/log-inputs: Likewise.
12122         * benchtests/pow-inputs: Likewise.
12123         * benchtests/rint-inputs: Likewise.
12124         * benchtests/sin-inputs: Likewise.
12125         * benchtests/sinh-inputs: Likewise.
12126         * benchtests/tan-inputs: Likewise.
12127         * benchtests/tanh-inputs: Likewise.
12128         * scripts/bench.pl: Add support for new directives.
12130 2013-10-07  Alan Modra  <amodra@gmail.com>
12132         * README: Fix careless merge.
12134 2013-10-05  Alan Modra  <amodra@gmail.com>
12136         * NEWS: Mention powerpc64le support and bugs fixed.
12137         * README: Both big-endian and little-endian powerpc64 supported.
12139 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12141         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12142         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12143         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12144         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12146 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12148         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12149         match prototype.
12151 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12153         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12154         Move -mhard-float appending from
12155         ports/sysdeps/powerpc/powerpc32/Makefile.
12156         [$(with-fp) = yes] (ASFLAGS): Likewise.
12157         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12158         * sysdeps/powerpc/nofpu: Move directory from
12159         ports/sysdeps/powerpc/nofpu.
12160         * sysdeps/powerpc/soft-fp: Move directory from
12161         ports/sysdeps/powerpc/soft-fp.
12162         * sysdeps/powerpc/powerpc32/405: Move directory from
12163         ports/sysdeps/powerpc/powerpc32/405.
12164         * sysdeps/powerpc/powerpc32/440: Move directory from
12165         ports/sysdeps/powerpc/powerpc32/440.
12166         * sysdeps/powerpc/powerpc32/464: Move directory from
12167         ports/sysdeps/powerpc/powerpc32/464.
12168         * sysdeps/powerpc/powerpc32/476: Move directory from
12169         ports/sysdeps/powerpc/powerpc32/476.
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12180         * README: Update for powerpc-*-linux-gnu software floating point
12181         support in libc.
12183         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12184         case to powerpc/powerpc32*.
12185         * sysdeps/unix/sysv/linux/configure: Regenerated.
12187         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12188         (_FPU_MASK_OM): Define as 0x04.
12189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12191         0x00c10080.
12192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12193         0x0000003c.
12194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12197         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12198         getcontext_e500.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12200         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12201         setcontext_e500.
12202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12203         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12204         and setcontext_e500.
12206 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12208         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12210 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12212         * manual/threads.texi (Default Thread Attributes): Fix typo.
12214 2013-10-04  Will Newton  <will.newton@linaro.org>
12216         * malloc/Makefile: Add tst-memalign.
12217         * malloc/tst-memalign.c: New file.
12219         * malloc/tst-posix_memalign.c: Add comments.
12220         (do_test): Add comments and call free on all potentially
12221         allocated pointers. Add space after cast.
12223         * malloc/tst-pvalloc.c: Add comments.
12224         (do_test): Add comments and call free on all potentially
12225         allocated pointers. Remove duplicate check for NULL pointer.
12226         Add space after cast.
12228         * malloc/tst-valloc.c: Add comments.
12229         (do_test): Add comments and call free on all potentially
12230         allocated pointers. Remove duplicate check for NULL pointer.
12231         Add space after cast.
12233 2013-10-04  Alan Modra  <amodra@gmail.com>
12235         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12236         Use stdint types in rather than __attribute__((mode())).
12237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12239 2013-10-04  Alan Modra  <amodra@gmail.com>
12241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12242         Correct handling of unaligned relocs for little-endian.
12243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12245 2013-10-04  Alan Modra  <amodra@gmail.com>
12247         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12248         * configure: Regenerate.
12249         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12250         * shlib-versions: Likewise.
12252 2013-10-04  Alan Modra  <amodra@gmail.com>
12254         * string/tester.c (test_memrchr): Increment reported test cycle.
12256 2013-10-04  Alan Modra  <amodra@gmail.com>
12258         * string/test-memcpy.c (do_one_test): When reporting errors, print
12259         string address and don't overrun end of string.
12261 2013-10-04  Alan Modra  <amodra@gmail.com>
12263         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12264         insrdi.  Make better use of reg selection to speed exit slightly.
12265         Schedule entry path a little better.  Remove useless "are we done"
12266         checks on entry to main loop.  Handle wrapping around zero address.
12267         Correct main loop count.  Handle single left-over word from main
12268         loop inline rather than by using loop_small.  Remove extra word
12269         case in loop_small caused by wrong loop count.  Add little-endian
12270         support.
12271         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12273         cache hint.
12274         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12275         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12276         support.  Avoid rlwimi.
12277         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12279 2013-10-04  Alan Modra  <amodra@gmail.com>
12281         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12282         insrdi.  Formatting.
12283         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12284         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12285         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12286         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12287         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12288         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12290 2013-10-04  Alan Modra  <amodra@gmail.com>
12292         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12293         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12294         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12295         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12296         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12297         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12299         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12300         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12301         use of regs.  Use power7 mtocrf.  Tidy function tails.
12303 2013-10-04  Alan Modra  <amodra@gmail.com>
12305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12306         Formatting.  Consistently use rXXX register defines or rN defines.
12307         Use early exit labels that avoid restoring unused non-volatile regs.
12308         Make cr field use more consistent with rWORDn compares.  Rename
12309         regs used as shift registers for unaligned loop, using rN defines
12310         for short lifetime/multiple use regs.
12311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12313         addi 1,1,64 to pop stack frame.  Simplify return value code.
12314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12316 2013-10-04  Alan Modra  <amodra@gmail.com>
12318         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12319         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12320         rather than rlwimi.
12321         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12323         little-endian support.  Correct typos.
12324         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12325         rather than rlwimi.
12326         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12327         in loop and entry code to keep "and." results.
12328         (strchr): Add little-endian support.  Comment.  Move cntlzd
12329         earlier in tail.
12330         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12332 2013-10-04  Alan Modra  <amodra@gmail.com>
12334         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12335         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12336         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12337         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12339 2013-10-04  Alan Modra  <amodra@gmail.com>
12341         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12342         (rTMP): Define as r11.
12343         (strcmp): Add little-endian support.  Optimise tail.
12344         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12345         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12346         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12347         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12348         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12352 2013-10-04  Alan Modra  <amodra@gmail.com>
12354         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12355         little-endian support.  Remove unnecessary "are we done" tests.
12356         Handle "s" wrapping around zero and extremely large "size".
12357         Correct main loop count.  Handle single left-over word from main
12358         loop inline rather than by using small_loop.  Correct comments.
12359         Delete "zero" tail, use "end_max" instead.
12360         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12362 2013-10-04  Alan Modra  <amodra@gmail.com>
12364         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12365         support.  Don't branch over align.
12366         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12367         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12368         support.  Rearrange tmp reg use to suit.  Comment.
12369         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12371 2013-10-04  Alan Modra  <amodra@gmail.com>
12373         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12375 2013-10-04  Alan Modra  <amodra@gmail.com>
12377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12378         conditional form of branch and link when obtaining pc.
12379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12381 2013-10-04  Alan Modra  <amodra@gmail.com>
12383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12384         HIWORD/LOWORD.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12388 2013-10-04  Alan Modra  <amodra@gmail.com>
12390         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12391         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12392         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12393         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12396         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12397         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12398         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12399         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12401 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12402             Alistair Popple <alistair@ozlabs.au.ibm.com>
12403             Alan Modra <amodra@gmail.com>
12405         [BZ #15723]
12406         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12407         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12408         _dl_hwcap access for little-endian.
12409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12410         destroy vmx regs when saving unaligned.
12411         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12412         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12413         destroy vmx regs when saving unaligned.
12415 2013-10-04  Alan Modra  <amodra@gmail.com>
12417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12418         Don't use a union to pack hi/low value.
12420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12422         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12423         for little-endian.
12424         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12426         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12427         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12428         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12430 2013-10-04  Alan Modra  <amodra@gmail.com>
12432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12433         constants to usual value for .cst8 section, and remove redundant
12434         high address load.
12435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12436         constant for 0x1p52.  Load little-endian words of double from
12437         correct stack offsets.
12439 2013-10-04  Alan Modra  <amodra@gmail.com>
12441         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12443         words of double from correct stack offsets.
12444         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12445         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12446         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12449         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12451         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12452         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12456         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12457         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12458         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12460         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12462 2013-10-04  Alan Modra  <amodra@gmail.com>
12464         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12465         64-bit int/double union.
12466         (_FPU_SETCW): Likewise.
12467         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12468         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12470 2013-10-04  Alan Modra  <amodra@gmail.com>
12472         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12473         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12475 2013-10-04  Alan Modra  <amodra@gmail.com>
12477         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12478         use vector int constants.
12479         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12481 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12483         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12484         array with long long.
12485         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12486         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12487         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12488         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12489         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12490         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12491         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12492         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12493         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12494         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12495         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12497         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12501         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12502         (__signbit): Likewise.  Correct for little-endian.
12503         (__signbitl): Call __signbit.
12504         (lrint): Correct for little-endian.
12505         (lrintf): Call lrint.
12507 2013-10-04  Alan Modra  <amodra@gmail.com>
12509         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12510         union 32-bit int array member with 64-bit int array.
12511         (t515, tm256): Double rather than long double.
12512         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12514 2013-10-04  Alan Modra  <amodra@gmail.com>
12516         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12517         Delete.
12518         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12520         version of math_ldbl.h.
12522 2013-10-04  Alan Modra  <amodra@gmail.com>
12524         [BZ #15734], [BZ #15735]
12525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12526         all uses of ieee875 long double macros and unions.  Simplify test
12527         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12528         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12529         normalize after ldbl_extract_mantissa, and don't add hidden bit
12530         already handled.  Don't treat low word of ieee854 mantissa like
12531         low word of IBM long double and mask off bit when testing for
12532         zero.
12533         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12534         all uses of ieee875 long double macros and unions.  Simplify tests
12535         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12536         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12537         two1022, instead use their values.  Recognise that tests for large
12538         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12539         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12540         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12541         test for 0.0L and nan.  Correct negation.
12542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12543         ieee875 long double macros and unions.  Correct output for large
12544         magnitude x.  Correct absolute value calculation.
12545         (__erfcl): Likewise.
12546         * math/libm-test.inc: Add tests for errors discovered in IBM long
12547         double versions of fmodl, remainderl, erfl and erfcl.
12549 2013-10-04  Alan Modra  <amodra@gmail.com>
12551         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12552         all uses of ieee854 long double macros and unions.  Simplify tests
12553         for long doubles that are fully specified by the high double.
12554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12555         Likewise.
12556         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12557         Remove dead code too.
12558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12559         (__ieee754_ynl): Likewise.
12560         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12563         Remove dead code too.
12564         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12568         Simplify.
12569         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12570         Simplify.
12571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12574         Comment on variable precision.
12575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12577         Likewise.
12578         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12584 2013-10-04  Alan Modra  <amodra@gmail.com>
12586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12587         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12588         all uses of ieee854 long double macros and unions.
12589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12594         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12595         Likewise.
12596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12597         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12598         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12599         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12601         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12602         Simplify sign and nan test too.
12603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12606         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12607         Likewise.
12608         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12609         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12610         Likewise.
12611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12612         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12613         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12614         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12615         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12618 2013-10-04  Alan Modra  <amodra@gmail.com>
12620         * stdio-common/printf_size.c (__printf_size): Don't use
12621         union ieee854_long_double in fpnum union.
12622         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12623         signbit macro to retrieve sign from long double.
12624         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12625         retrieve sign from long double.
12626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12627         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12628         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12629         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12630         * math/test-misc.c (main): Don't use union ieee854_long_double.
12632 2013-10-04  Alan Modra  <amodra@gmail.com>
12634         [BZ #15680]
12635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12636         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12637         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12638         calculation.  Remove unnecessary test for denormal exponent.
12639         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12640         Correct handling of denormals.  Avoid undefined shift behaviour.
12641         Correct normalisation of low mantissa when low double is denormal.
12642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12643         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12644         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12645         Correct normalisation of low mantissa.  Test for overflow of high
12646         mantissa and normalise.
12647         (ldbl_nearbyint): Use more readable constant for two52.
12648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12649         (__mpn_construct_long_double): Fix test for overflow of high
12650         mantissa and correct normalisation.  Avoid undefined shift.
12652 2013-10-04  Alan Modra  <amodra@gmail.com>
12654         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12655         (union ibm_extended_long_double): Define as an array of ieee754_double.
12656         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12657         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12658         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12659         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12661         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12663         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12665         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12666         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12668 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12670         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12671         page size instead of calling getpagesize.
12673         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12674         (LOCFILE_ALIGN_MASK): Likewise.
12675         (LOCFILE_ALIGN_UP): Likewise.
12676         (LOCFILE_ALIGNED_P): Likewise.
12677         * locale/programs/ld-collate.c (collate_output): Use the new
12678         macros instead of __alignof__ (int32_t).
12679         * locale/weight.h (findidx): Likewise.
12681 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12683         [BZ #431]
12684         * manual/string.texi: Fix strncat and wcsncat.
12686 2013-10-03  Brooks Moses  <bmoses@google.com>
12688         [BZ #15915]
12689         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12690         * Makerules: ...here, and adjust associated comments.
12692 2013-10-02  Will Newton  <will.newton@linaro.org>
12694         * malloc/Makefile: Add tst-pvalloc.
12695         * malloc/tst-pvalloc.c: New file.
12697 2013-10-02  Will Newton  <will.newton@linaro.org>
12699         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12700         improve test coverage.
12702 2013-10-02  Will Newton  <will.newton@linaro.org>
12704         * malloc/Makefile: Add tst-posix_memalign.
12705         * malloc/tst-posix_memalign.c: New file.
12707 2013-10-01  Eric Blake  <eblake@redhat.com>
12709         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12710         Use __THROWNL rather than __THROW on static functions.
12712 2013-09-30  Petr Machata  <pmachata@redhat.com>
12714         * elf/elf.h (R_AARCH64_ABS16): New macro.
12715         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12716         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12717         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12718         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12719         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12720         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12721         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12722         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12723         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12724         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12725         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12726         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12727         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12728         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12729         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12730         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12731         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12732         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12733         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12734         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12735         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12736         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12737         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12738         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12739         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12740         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12741         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12742         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12743         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12744         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12745         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12746         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12747         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12748         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12749         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12750         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12751         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12752         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12753         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12754         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12755         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12756         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12757         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12758         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12759         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12760         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12761         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12762         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12763         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12764         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12765         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12766         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12767         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12768         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12769         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12770         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12771         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12772         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12773         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12774         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12775         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12776         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12777         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12778         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12779         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12780         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12781         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12782         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12783         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12784         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12785         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12786         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12787         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12788         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12789         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12790         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12791         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12792         (R_AARCH64_TLSDESC_LDR): Likewise.
12793         (R_AARCH64_TLSDESC_ADD): Likewise.
12794         (R_AARCH64_TLSDESC_CALL): Likewise.
12796 2013-09-30  Andreas Schwab  <schwab@suse.de>
12798         [BZ #15048]
12799         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12800         the nss database lookup.
12801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12804 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
12806         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12808 2013-09-28  P. J. McDermott  <pj@pehjota.net>
12810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12811         ${Bash-specific parameter/pattern/string} parameter expansion.
12812         * sysdeps/unix/make-syscalls.sh: Likewise.
12814 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12816         * sysdeps/sh/stackguard-macros.h: New file.
12818 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12822         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12823         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12824         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12825         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12827 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12829         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12830         Fix thread ID register.
12832 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12834         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12835         [POSIX || UNIX98]: Require rather than permitting all symbols from
12836         <time.h>.
12837         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12838         element of struct sched_param.
12839         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12840         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12841         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12842         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12843         constant.
12845 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12847         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12848         argument calculation.
12850 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12852         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12853         Expect macro.
12854         [POSIX] (pthread_attr_t): Do not require type.
12855         [POSIX] (pthread_cond_t): Likewise.
12856         [POSIX] (pthread_condattr_t): Likewise.
12857         [POSIX] (pthread_key_t): Likewise.
12858         [POSIX] (pthread_mutex_t): Likewise.
12859         [POSIX] (pthread_mutexattr_t): Likewise.
12860         [POSIX] (pthread_once_t): Likewise.
12861         [POSIX] (pthread_t): Likewise.
12862         [POSIX-based standards] (pthread_atfork): Expect function.
12864 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12865             Richard Sandiford  <richard@codesourcery.com>
12867         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12868         (swap_endianness_p): New extern variable.
12869         (set_big_endian): New inline function.
12870         (maybe_swap_uint32): Likewise.
12871         (maybe_swap_uint32_array): Likewise.
12872         (maybe_swap_uint32_obstack): Likewise.
12873         * locale/programs/locfile.c: Include <stdbool.h>.
12874         (swap_endianness_p): New variable.
12875         (add_locale_uint32): Call maybe_swap_uint32.
12876         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12877         (write_locale_data): Call maybe_swap_uint32_array.
12878         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12879         maybe_swap_uint32.
12880         (obstack_int32_grow_fast): Likewise.
12881         (output_weightwc): Call maybe_swap_uint32_obstack.
12882         (collate_output): Likewise.
12883         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12884         (OPT_LITTLE_ENDIAN): Likewise.
12885         (options): Add --little-endian and --big-endian options.
12886         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12887         * locale/programs/locarchive.c: Include "locfile.h".
12888         (GET): New macro.
12889         (SET): Likewise.
12890         (INC): Likewise.
12891         (create_archive): Use the new macros to access fields of
12892         structures directly mapped from or written to locale archives.
12893         (oldlocrecentcmp): Likewise.
12894         (enlarge_archive): Likewise.
12895         (insert_name): Likewise.
12896         (add_alias): Likewise.
12897         (add_locale): Likewise.
12898         (delete_locales_from_archive): Likewise.
12899         (show_archive_content): Likewise.
12900         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12901         locale data.
12903 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12905         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12906         http://www.gnu.org/doc/freemanuals.texi.
12907         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12909 2013-09-24  Will Newton  <will.newton@linaro.org>
12911         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12912         macro.
12914 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12916         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12917         unsigned char.
12919 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12921         * manual/threads.texi (POSIX Threads): Fix a typo.
12923 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12925         [BZ #14547]
12926         * string/tst-strcoll-overflow.c: New test case.
12927         * string/Makefile (xtests): Add tst-strcoll-overflow.
12928         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12929         cache if string sizes may cause integer overflow.
12931         [BZ #14547]
12932         * string/strcoll_l.c (coll_seq): New members rule, idx,
12933         save_idx and back_us.
12934         (get_next_seq_nocache): New function.
12935         (do_compare_nocache): New function.
12936         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12937         when malloc fails.
12939 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12941         [BZ #15754]
12942         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12943         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12944         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12946         [BZ #15754]
12947         * elf/Makefile (tests): Add tst-ptrguard1.
12948         (tests-static): Add tst-ptrguard1-static.
12949         (tst-ptrguard1-ARGS): Define.
12950         (tst-ptrguard1-static-ARGS): Define.
12951         * elf/tst-ptrguard1.c: New file.
12952         * elf/tst-ptrguard1-static.c: New file.
12953         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12954         * sysdeps/i386/stackguard-macros.h: Likewise.
12955         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12956         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12957         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12958         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12959         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12960         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12962 2013-09-23  Hector Marco  <hecmargi@upv.es>
12963             Ismael Ripoll  <iripoll@disca.upv.es>
12964             Carlos O'Donell  <carlos@redhat.com>
12966         [BZ #15754]
12967         * sysdeps/generic/stackguard-macros.h: Define
12968         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12969         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12970         Define __pointer_chk_guard_local.
12971         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12972         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12974 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12976         [BZ #15859]
12977         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12979 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12981         * include/string.h (__ffs): Declare as hidden.
12982         * string/ffs.c (__ffs): Define as hidden.
12983         * sysdeps/i386/ffs.c (__ffs): Likewise.
12984         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12985         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12986         * sysdeps/s390/ffs.c (__ffs): Likewise.
12987         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12989 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12991         * NEWS: Mention malloc probes.
12993         * malloc/arena.c (new_heap): New memory_heap_new probe.
12994         (grow_heap): New memory_heap_more probe.
12995         (shrink_heap): New memory_heap_less probe.
12996         (heap_trim): New memory_heap_free probe.
12997         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12998         (systrim): New memory_sbrk_less probe.
12999         * manual/probes.texi: Document them.
13001         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13002         * manual/probes.texi: Document it.
13004         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13005         (__libc_realloc): Add memory_realloc_retry probe.
13006         (__libc_memalign): Add memory_memalign_retry probe.
13007         (__libc_valloc): Add memory_valloc_retry probe.
13008         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13009         (__libc_calloc): Add memory_calloc_retry probe.
13010         * manual/probes.texi: Document them.
13012         * malloc/arena.c (get_free_list): Add probe
13013         memory_arena_reuse_free_list.
13014         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13015         and memory_arena_reuse.
13016         (arena_get2) [!PER_THREAD]: Likewise.
13017         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13018         memory_arena_reuse_realloc.
13019         * manual/probes.texi: Document them.
13021         * malloc/malloc.c (__libc_free): Add
13022         memory_mallopt_free_dyn_thresholds probe.
13023         (__libc_mallopt): Add multiple memory_mallopt probes.
13024         * manual/probes.texi: Document them.
13026         * malloc/malloc.c: Include stap-probe.h.
13027         (__libc_mallopt): Add memory_mallopt probe.
13028         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13029         * manual/probes.texi: New.
13030         * manual/Makefile (chapters): Add probes.
13031         * manual/threads.texi: Set next node.
13033 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13035         [BZ #15963, #13985]
13036         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13037         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13038         Add `Chinese' to `nan' entry name.
13040 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13042         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13043         (POLYNOMIAL): Likewise.
13044         (TAYLOR_SINCOS): Likewise.
13045         (TAYLOR_SLOW): Likewise.
13046         (__sin): Use TAYLOR_SINCOS.
13047         (__cos): Likewise.
13048         (slow): Use TAYLOR_SLOW.
13049         (sloww): Likewise.
13050         (bsloww): Likewise.
13051         (csloww): Likewise.
13053 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13055         * stdlib/strtod_l.c: Fix buffer overrun.
13057 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13059         * benchtests/Makefile (bench): Add sincos.
13060         * benchtests/bench-sincos.c: New file.
13062         * math/libm-test.inc (cos_test_data): New test inputs.
13063         (sin_test_data): Likewise.
13065         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13066         macro.
13067         (__sin): Use it.
13068         (__cos): Likewise.
13069         (slow1): Likewise.
13070         (slow2): Likewise.
13071         (sloww1): Likewise.
13072         (sloww2): Likewise.
13073         (bsloww1): Likewise.
13074         (bsloww2): Likewise.
13075         (cslow2): Likewise.
13076         (csloww1): Likewise.
13077         (csloww2): Likewise.
13079         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13080         function.
13081         (__sin): Use it.
13082         (__cos): Likewise.
13084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13085         gotos.
13086         (__cos): Likewise.
13088 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13090         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13091         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13092         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13093         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13094         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13095         * elf/cache.c (print_entry): Handle the new cache flags.
13097 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13098             Aldy Hernandez  <aldyh@redhat.com>
13100         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13101         Change condition to [_SOFT_FLOAT].
13102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13114         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13117         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13118         declaration.
13120 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13122         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13123         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13124         (__longjmp): Use LOAD_GP to load saved GPRs.
13125         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13126         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13127         (__sigsetjmp): Use SAVE_GP to save GPRs.
13129         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13130         Do not append -msoft-float.
13131         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13133 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13135         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13137 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #15966]
13140         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13141         (_FPU_GETCW): Use initial "__" on variable and field names but not
13142         on macro parameter name.
13143         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13144         parentheses around reference to macro parameter.
13146 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13148         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13149         prototype.
13150         (ctype_startup): Use uint32_t in cast and sizeof for
13151         ctype->charnames.
13153 2013-09-11  Jia Liu  <proljc@gmail.com>
13155         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13156         __daddr_t_defined.
13157         [__FreeBSD__]: Likewise.
13159 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13162         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13163         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13164         (strchr): Remove __strchr_sse42 ifunc selection.
13165         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13166         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13168 2013-09-11  Will Newton  <will.newton@linaro.org>
13170         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13171         parameter to RES. Remove hardcoded 1000 value.
13172         * benchtests/bench-skeleton.c (main): Pass RES parameter
13173         to TIMING_INIT and multiply result by 1000.
13175 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13179 2013-09-11  Andreas Schwab  <schwab@suse.de>
13181         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13182         if not defined.
13183         (O_TMPFILE) [__USE_GNU]: Define.
13184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13185         Define.
13187 2013-09-11  Will Newton  <will.newton@linaro.org>
13189         [BZ #15857]
13190         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13191         does not overflow.
13193 2013-09-11  Will Newton  <will.newton@linaro.org>
13195         [BZ #15856]
13196         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13197         does not overflow.
13199 2013-09-11  Will Newton  <will.newton@linaro.org>
13201         [BZ #15855]
13202         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13203         does not overflow.
13205 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13207         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13208         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13211         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13213 2013-09-10  Allan McRae  <allan@archlinux.org>
13215         [BZ #15748]
13216         * manual/arith.texi (Parsing of Floats): Clarify
13217         cross-reference.
13219         [BZ #15849]
13220         * manual/install.texi (Running make install): Mention
13221         --enable-pt-chown.
13222         * INSTALL: Regenerated.
13224 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13226         * csu/init-first.c (_init): Remove the !SHARED condition around
13227         FPU control word initialization.
13228         * elf/dl-support.c (_dl_fpu_control): New variable.
13229         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13230         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13231         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13232         * math/test-fpucw-static.c: New file.
13233         * math/test-fpucw-ieee.c: New file.
13234         * math/test-fpucw-ieee-static.c: New file.
13235         * math/Makefile (tests): Add `test-fpucw-ieee' and
13236         `$(tests-static)'.
13237         (tests-static): New variable.
13238         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13239         dependency to...
13240         [($(build-shared),yes)]
13241         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13242         ... this.
13243         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13244         New dependency.
13246 2013-09-09  Allan McRae  <allan@archlinux.org>
13248         [BZ #15939]
13249         * manual/string.texi (Collation Functions): Fix typo in
13250         strcoll example.
13251         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13253         [BZ #15893]
13254         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13256         [BZ #15892]
13257         * libio/memstream.c (open_memstream): Fix memory leak.
13258         * libio/wmemstream.c (open_wmemstream): Likewise.
13260         [BZ #15895]
13261         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13263 2013-09-09  Will Newton  <will.newton@linaro.org>
13265         * malloc/Makefile: Add tst-realloc to tests.
13266         * malloc/tst-realloc.c: New file.
13268 2013-09-09  Allan McRae  <allan@archlinux.org>
13270         [BZ #15844]
13271         * COPYING: Update from GNU website to fix FSF address.
13272         * COPYING.LIB: Likewise.
13274 2013-09-06  David S. Miller  <davem@davemloft.net>
13276         * po/zh_TW.po: Update Chinese (traditional) translation from
13277         translation project.
13279 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13280             Joseph Myers  <joseph@codesourcery.com>
13282         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13283         "localeinfo.h".
13284         (obstack_chunk_alloc): New macro.
13285         (obstack_chunk_free): Likewise.
13286         (record_offset): New function.
13287         (init_locale_data): Likewise.
13288         (align_locale_data): Likewise.
13289         (add_locale_empty): Likewise.
13290         (add_locale_raw_data): Likewise.
13291         (add_locale_raw_obstack): Likewise.
13292         (add_locale_string): Likewise.
13293         (add_locale_wstring): Likewise.
13294         (add_locale_uint32): Likewise.
13295         (add_locale_uint32_array): Likewise.
13296         (add_locale_char): Likewise.
13297         (start_locale_structure): Likewise.
13298         (end_locale_structure): Likewise.
13299         (start_locale_prelude): Likewise.
13300         (end_locale_prelude): Likewise.
13301         (write_locale_data): Take locale_file structure rather than an
13302         iovec.
13303         * locale/programs/locfile.h: Include "obstack.h".
13304         (struct locale_file): Change to store locale file contents instead
13305         of header.
13306         (init_locale_data): New prototype.
13307         (align_locale_data): Likewise.
13308         (add_locale_empty): Likewise.
13309         (add_locale_raw_data): Likewise.
13310         (add_locale_raw_obstack): Likewise.
13311         (add_locale_string): Likewise.
13312         (add_locale_wstring): Likewise.
13313         (add_locale_uint32): Likewise.
13314         (add_locale_uint32_array): Likewise.
13315         (add_locale_char): Likewise.
13316         (start_locale_structure): Likewise.
13317         (end_locale_structure): Likewise.
13318         (start_locale_prelude): Likewise.
13319         (end_locale_prelude): Likewise.
13320         (write_locale_data): Update prototype.
13321         * locale/programs/3level.h (struct TABLE): Remove result field.
13322         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13323         Use new locale_file interface.
13324         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13325         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13326         * locale/programs/ld-address.c (address_output): Use new
13327         locale_file interface.
13328         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13329         NO_ADD_LOCALE.
13330         (collate_finish): Don't call collseq_table_finalize.
13331         (collate_output): Use new locale_file interface.
13332         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13333         in file.
13334         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13335         (TABLE): Move defines earlier in file.
13336         (ELEMENT): Likewise.
13337         (DEFAULT): Likewise.
13338         (wctrans_table_add): Move macro and inline function earlier in
13339         file.
13340         (struct wctype_table): Move type earlier in file.
13341         (add_locale_wctype_table): New static prototype.
13342         (struct locale_ctype_t): Use logical types instead of struct iovec
13343         pointers for members.
13344         (ctype_output): Use new locale_file interface.
13345         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13346         new locale_file interface.
13347         (allocate_arrays): Update for use of new locale_file interface.
13348         * locale/programs/ld-identification.c (identification_output): Use
13349         new locale_file interface.
13350         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13351         * locale/programs/ld-messages.c (messages_output): Likewise.
13352         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13353         * locale/programs/ld-name.c (name_output): Likewise.
13354         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13355         * locale/programs/ld-paper.c (paper_output): Likewise.
13356         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13357         * locale/programs/ld-time.c (time_output): Likewise.
13359 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13361         * benchtests/Makefile: Add memrchr benchmark.
13362         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13363         benchmark as memrchr.
13364         * benchtests/bench-memrchr-ifunc.c: New file.
13365         * benchtests/bench-memrchr.c: New file.
13367 2013-09-06   Will Newton  <will.newton@linaro.org>
13369         * benchtests/Makefile (string-bench): Add memcpy.
13371 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13372             Cong Wang  <amwang@redhat.com>
13374         [BZ #15850]
13375         * sysdeps/unix/sysv/linux/bits/in.h
13376         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13377         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13378         before __USE_KERNEL_IPV6_DEFS uses.
13379         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13380         IPPROTO_BEETPH.
13381         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13382         sockaddr_in6, or ipv6_mreq.
13384 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13386         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13387         memory access for final bytes in some large inputs.
13388         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13390 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392         * string/test-memrchr.c: New file.
13393         * string/test-memrchr-ifunc.c: New file.
13394         * string/Makefile: Add new memrchr testcase.
13396 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13398         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13399         fanotify_init returns EPERM.
13401 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13403         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13404         errors.
13405         (top level): Treat second token from macro or constant entries for
13406         allowed headers as allowed.
13407         * include/complex.h: Condition internal declarations on
13408         [!_ISOMAC].
13409         * include/fenv.h: Condition include of <stdbool.h> and internal
13410         declarations on [!_ISOMAC].
13412 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13414         [BZ #15923]
13415         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13419         * configure.in (--enable-versioning): Remove configure option.
13420         (libc_cv_asm_symver_directive): Remove configure test.
13421         (libc_cv_ld_version_script_option): Likewise.
13422         (VERSIONING): Remove variable and AC_SUBST.
13423         (DO_VERSIONING): Remove AC_DEFINE.
13424         * configure: Regenerated.
13425         * config.h.in (DO_VERSIONING): Remove macro.
13426         * Makerules [$(versioning) = yes]: Change conditionals to
13427         [$(build-shared) = yes].
13428         * config.make.in (versioning): Remove variable.
13429         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13430         [$(build-shared) = yes].
13431         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13432         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13433         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13434         [$(build-shared) = yes].
13435         * extra-lib.mk [$(versioning) = yes]: Likewise.
13436         * hurd/Makefile [$(versioning) = yes]: Likewise.
13437         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13438         [SHARED].
13439         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13440         [SHARED].
13441         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13442         [SHARED && !NO_HIDDEN].
13443         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13444         [SHARED].
13445         [SHARED && DO_VERSIONING]: Likewise..
13446         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13447         [$(build-shared) = yes].
13448         * manual/install.texi (--disable-versioning): Remove
13449         documentation.
13450         * INSTALL: Regenerated.
13451         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13452         to [SHARED].
13453         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13454         [$(build-shared) = yes].
13455         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13456         * sysdeps/i386/i686/multiarch/strstr-c.c
13457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13458         [SHARED && !NO_HIDDEN].
13459         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13460         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13461         * sysdeps/powerpc/powerpc32/dl-machine.c
13462         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13463         * sysdeps/powerpc/powerpc32/sysdep.h
13464         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13465         to [SHARED && PIC && !NO_HIDDEN].
13466         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13467         conditional to [SHARED].
13469 2013-09-04   Will Newton  <will.newton@linaro.org>
13471         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13472         * benchtests/bench-string.h: Include bench-timing.h instead
13473         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13474         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13475         call to HP_TIMING_DIFF_INIT.
13476         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13477         instead of hp-timing.h macros.
13478         * benchtests/bench-memchr.c: Likewise.
13479         * benchtests/bench-memcmp.c: Likewise.
13480         * benchtests/bench-memcpy.c: Likewise.
13481         * benchtests/bench-memmem.c: Likewise.
13482         * benchtests/bench-memmove.c: Likewise.
13483         * benchtests/bench-memset.c: Likewise.
13484         * benchtests/bench-rawmemchr.c: Likewise.
13485         * benchtests/bench-strcasecmp.c: Likewise.
13486         * benchtests/bench-strcasestr.c: Likewise.
13487         * benchtests/bench-strcat.c: Likewise.
13488         * benchtests/bench-strchr.c: Likewise.
13489         * benchtests/bench-strcmp.c: Likewise.
13490         * benchtests/bench-strcpy.c: Likewise.
13491         * benchtests/bench-strcpy_chk.c: Likewise.
13492         * benchtests/bench-strlen.c: Likewise.
13493         * benchtests/bench-strncasecmp.c: Likewise.
13494         * benchtests/bench-strncat.c: Likewise.
13495         * benchtests/bench-strncmp.c: Likewise.
13496         * benchtests/bench-strncpy.c: Likewise.
13497         * benchtests/bench-strnlen.c: Likewise.
13498         * benchtests/bench-strpbrk.c: Likewise.
13499         * benchtests/bench-strrchr.c: Likewise.
13500         * benchtests/bench-strspn.c: Likewise.
13501         * benchtests/bench-strstr.c: Likewise.
13503 2013-09-04  Will Newton  <will.newton@linaro.org>
13505         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13507 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13509         [BZ #15427]
13510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13511         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13512         * math/libm-test.inc (lgamma_test_data): Add more tests.
13513         * sysdeps/i386/fpu/libm-test-ulps: Update.
13514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13518         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13520         Add ifunc.
13521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13522         Add strcmp-sse2-unaligned
13523         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13525 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13527         * Versions.def (libc): Add GLIBC_2.19.
13529 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13531         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13532         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13534 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13536         [BZ #14155]
13537         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13538         intermediate calculations in recurrence.
13539         (__ieee754_ynf): Likewise.
13540         * math/libm-test.inc (jn_test_data): Do not allow spurious
13541         underflow exception.  Add more tests.
13542         (yn_test_data): Add more tests.
13543         * sysdeps/i386/fpu/libm-test-ulps: Update.
13544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13548         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13550 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13552         * csu/init-first.c: Fix then/than typos.
13553         * locale/programs/ld-collate.c: Likewise.
13554         * locale/programs/linereader.h: Likewise.
13555         * manual/charset.texi: Likewise.
13556         * manual/filesys.texi: Likewise.
13557         * manual/stdio.texi: Likewise.
13558         * manual/string.texi: Likewise.
13559         * stdlib/fmtmsg.c: Likewise.
13560         * sysdeps/i386/stpncpy.S: Likewise.
13561         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13562         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13563         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13564         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13568         * elf/dl-open.c: Fix typos.
13569         * iconvdata/gbbig5.c: Likewise.
13570         * iconvdata/iso-2022-jp.c: Likewise.
13571         * iconv/gconv_int.h: Likewise.
13572         * iconv/loop.c: Likewise.
13573         * nis/rpcsvc/nis.h: Likewise.
13574         * resolv/ns_name.c: Likewise.
13575         * stdio-common/vfscanf.c: Likewise.
13576         * streams/stropts.h: Likewise.
13577         * sunrpc/rpc_thread.c: Likewise.
13578         * sysdeps/i386/strpbrk.S: Likewise.
13579         * sysdeps/ieee754/k_standard.c: Likewise.
13580         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13581         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13582         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13583         * sysdeps/mach/hurd/profil.c: Likewise.
13584         * sysdeps/s390/dl-procinfo.h: Likewise.
13585         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13586         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13587         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13588         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13591 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13593         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13596 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13599         aix specific files.
13600         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13601         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13603         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13604         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13605         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13606         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13607         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13609 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13610             Roland McGrath  <roland@hack.frob.com>
13612         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13613         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13615 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13617         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13618         __executable_start symbol instead of _start.
13620 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13622         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13623         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13624         Move macros to...
13625         * sysdeps/gnu/ldsodefs.h: ... this new file.
13627         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13628         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13629         instead of ELFOSABI_LINUX.
13631         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13632         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13633         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13634         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13635         Likewise.
13636         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13637         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13638         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13639         Likewise.
13640         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13641         (ibm_extended_long_double): Add ieee_nan member.
13642         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13643         (do_test): New function.
13645         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13646         TEST_TRUNC.
13647         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13648         functions, renamed from truncdfsf_test, trunctfsf_test,
13649         trunctfdf_test.
13650         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13651         functions.
13652         (do_test): Run all these.
13654 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13656         * argp/argp-help.c: Fix typos.
13657         * argp/argp-parse.c: Likewise.
13658         * debug/backtracesyms.c: Likewise.
13659         * elf/elf.h: Likewise.
13660         * malloc/malloc.c: Likewise.
13661         * nis/nis_print.c: Likewise.
13662         * resolv/res_comp.c: Likewise.
13663         * stdlib/stdlib.h: Likewise.
13664         * sunrpc/clnt_tcp.c: Likewise.
13665         * sunrpc/clnt_udp.c: Likewise.
13666         * sunrpc/clnt_unix.c: Likewise.
13667         * sysdeps/unix/bsd/ptsname.c: Likewise.
13668         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13669         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13678 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13680         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13683 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13685         [BZ #15897]
13686         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13687         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13688         ($(objpfx)bug-dl-leaf): New rule.
13689         ($(objpfx)bug-dl-leaf.so): Likewise.
13690         ($(objpfx)bug-dl-leaf.out): Likewise.
13691         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13692         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13693         * dlfcn/bug-dl-leaf.c: New test.
13694         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13695         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13696         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13697         (dlclose): Likewise.
13698         (dlmopen): Likewise.
13700 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13702         * include/netdb.h [!_ISOMAC]:
13703         Don't include <tls.h>.
13704         (h_errno, __libc_h_errno): Move declaration and macros out of
13705         [_LIBC_REENTRANT].
13707         * include/resolv.h [_RESOLV_H_]:
13708         Don't include <tls.h>.
13709         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13710         * resolv/res_libc.c: Don't include <tls.h>.
13711         (_res): Use __attribute__ ((nocommon)) in place of
13712         __attribute__ ((section (".bss"))).
13714         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13715         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13717         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13719         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13720         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13722         * resolv/res_mkquery.c: Include <sys/time.h>.
13724         * inet/ifreq.c: Moved to ...
13725         * sysdeps/unix/ifreq.c: ... here.
13726         * inet/ifreq.c: New file, true stub version.
13728         * socket/sa_len.c: New file.
13729         * socket/Makefile (aux): Add it.
13730         * sysdeps/unix/sysv/linux/Makefile
13731         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13732         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13733         and #include <socket/sa_len.c>.
13734         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13735         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13737         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13738         * bits/socket.h: ... here.
13740         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13741         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13742         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13744 2013-08-27  Andreas Schwab  <schwab@suse.de>
13746         [BZ #15736]
13747         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13748         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13749         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13750         * string/test-strcasecmp.c (test_main): Run tests in several
13751         locales.
13752         * string/test-strncasecmp.c (test_main): Likewise.
13754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13755         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13756         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13758         (__strncasecmp_ssse3) [PIC]: Likewise.
13760 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13762         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13764         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13765         instead of explicitly declaring xdecrypt.
13766         * nis/nss_nis/nis-publickey.c: Likewise.
13768 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770         [BZ #15890]
13771         * nscd/aicache.c: Include res_hconf.h.
13772         (addhstaiX): Initialize res_hconf.
13774 2013-08-26  Andreas Schwab  <schwab@suse.de>
13776         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13777         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13779 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13781         * nscd/aicache.c (addhstaiX): Fix indentation.
13783 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13785         * configure.ac: Quote $build_pt_chown test.
13786         * configure: Regenerated.
13788 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13790         [BZ #15532]
13791         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13792         * math/s_cexpf.c (__cexpf): Likewise.
13793         * math/s_cexpl.c (__cexpl): Likewise.
13794         * math/libm-test.inc (cexp_test_data): Correct expected return
13795         value for NaN + i0.  Add another test.
13797 2013-08-22  David S. Miller  <davem@davemloft.net>
13799         * po/ca.po: Update Catalan translation from translation project.
13800         * po/uk.po: Add Ukrainian translations from translation project.
13802 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
13804         [BZ #15797]
13805         * math/s_fdim.c (__fdim): Check for infinite arguments if result
13806         is infinite, not alongside NaN test.
13807         * math/s_fdimf.c (__fdimf): Likewise.
13808         * math/s_fdiml.c (__fdiml): Likewise.
13809         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
13810         errno is unchanged.
13812 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13814         * argp/argp-help.c: Fix typos.
13815         * crypt/speeds.c: Likewise.
13816         * csu/check_fds.c: Likewise.
13817         * elf/dl-load.c: Likewise.
13818         * elf/dl-open.c: Likewise.
13819         * elf/reldep3.c: Likewise.
13820         * elf/reldep.c: Likewise.
13821         * elf/sprof.c: Likewise.
13822         * iconv/iconv_charmap.c: Likewise.
13823         * iconv/skeleton.c: Likewise.
13824         * iconv/strtab.c: Likewise.
13825         * io/lockf64.c: Likewise.
13826         * libio/libioP.h: Likewise.
13827         * resolv/gai_notify.c: Likewise.
13828         * resolv/ns_name.c: Likewise.
13829         * resolv/ns_samedomain.c: Likewise.
13830         * resolv/res_send.c: Likewise.
13831         * stdlib/random.c: Likewise.
13832         * sunrpc/rpc/xdr.h: Likewise.
13833         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13834         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13835         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13836         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13841         * sysdeps/mach/hurd/check_fds.c: Likewise.
13842         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13843         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13844         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13845         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13847         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13848         * sysdeps/pthread/aio_notify.c: Likewise.
13849         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13850         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13851         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13852         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13853         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13855 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13857         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13858         version if bit_Slow_SSE4_2 is set.
13859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13860         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13862 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13864         [BZ #15867]
13865         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13866         trampoline stack frame information.
13867         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13869         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13870         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13871         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13872         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13873         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13874         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13875         sa_flags value.
13876         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13877         interrupting a syscall and set with option SA_SIGINFO.
13879 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #15531]
13882         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13883         argument is infinite.
13884         * math/s_cprojf.c (__cprojf): Likewise.
13885         * math/s_cprojl.c (__cprojl): Likewise.
13886         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13887         * math/libm-test.inc (cproj_test_data): Add more tests.
13889         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13892         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13893         size.  Use __ffs to determine corresponding shift.
13895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13896             Roland McGrath  <roland@hack.frob.com>
13898         * Makefile (INSTALL): Remove trailing blank lines from output of
13899         makeinfo.
13901 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13903         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13904         Align 32 bit compat elf_greg to 8 bytes.
13906 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13908         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13910 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13912         * string/strcoll_l.c (coll_seq): New structure.
13913         (get_next_seq_cached): New function.
13914         (get_next_seq): New function.
13915         (do_compare): New function.
13916         (STRCOLL): Use GNU style definition.  Simplify implementation
13917         by using get_next_seq, get_next_seq_cached and do_compare.
13919 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13921         [BZ #14699]
13922         CVE-2013-4237
13923         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13924         member.
13925         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13926         member.
13927         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13928         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13929         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13930         conditional.
13931         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13932         GETDENTS_64BIT_ALIGNED.
13933         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13934         * manual/filesys.texi (Reading/Closing Directory): Document
13935         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13936         strongly.
13937         * manual/conf.texi (Limits for Files): Add portability note to
13938         NAME_MAX, PATH_MAX.
13939         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13941 2013-08-13  Andreas Schwab  <schwab@suse.de>
13943         [BZ #15749]
13944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13945         of fabs.
13946         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13947         LDBL_MAX_EXP >= 16384]: Add tests for it.
13949 2013-08-12  David S. Miller  <davem@davemloft.net>
13951         * version.h (RELEASE): Set to "development".
13952         (VERSION): Set to "2.18.90".
13953         * NEWS: Add 2.19 section.
13955 2013-08-03  David S. Miller  <davem@davemloft.net>
13957         * po/ko.po: Update Korean translation from translation project.
13959 2013-08-01  David S. Miller  <davem@davemloft.net>
13961         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13962         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13963         Bilka.
13965 2013-07-30  David S. Miller  <davem@davemloft.net>
13967         * po/fr.po: Update French translation from translation project.
13969 2013-07-28  David S. Miller  <davem@davemloft.net>
13971         * po/cs.po: Update Czech translation from translation project.
13973         * po/sv.po: Update Swedish translation from translation project.
13975 2013-07-27  David S. Miller  <davem@davemloft.net>
13977         * po/eo.po: Update Esperanto translation from translation project.
13979         * po/vi.po: Update Vietnamese translation from translation project.
13981         * po/de.po: Update German translation from translation project.
13983 2013-07-26  David S. Miller  <davem@davemloft.net>
13985         * po/bg.po: Update Bulgarian translation from translation project.
13987         * po/nl.po: Update Dutch translation from translation project.
13988         * po/pl.po: Update Polish translation from translation project.
13989         * po/ru.po: Update Russian translation from translation project.
13991 2013-07-24  David S. Miller  <davem@davemloft.net>
13993         * po/libc.pot: Update.
13995 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13997         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13998         variable page size.
13999         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14000         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14001         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14003 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14005         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14007 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14008             Andreas Schwab  <schwab@suse.de>
14009             Roland McGrath  <roland@hack.frob.com>
14010             Joseph Myers  <joseph@codesourcery.com>
14011             Carlos O'Donell  <carlos@redhat.com>
14013         [BZ #15755]
14014         * config.h.in: Define HAVE_PT_CHOWN.
14015         * config.make.in (build-pt-chown): New variable.
14016         * configure.in (--enable-pt_chown): New configure option.
14017         * configure: Regenerate.
14018         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14019         build-pt-chown is enabled.
14020         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14021         pt_chown to fix pty ownership.
14022         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14023         CLOSE_ALL_FDS.
14024         * manual/install.texi (Configuring and compiling): Mention
14025         --enable-pt_chown. Add @findex for grantpt.
14026         * INSTALL: Regenerate.
14028 2013-07-20  David S. Miller  <davem@davemloft.net>
14030         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14031         difference between 32-bit and 64-bit.
14033 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14035         [BZ #15711]
14036         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14037         Avoid system header dependency with -ffreestanding.
14038         ($(objpfx)bits/syscall%d): Likewise.
14040 2013-07-13  David S. Miller  <davem@davemloft.net>
14042         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14043         underflows from atanl/atan2l due to bug 15319.
14044         (casinh_test_data): Likewise.
14046 2013-07-07  David S. Miller  <davem@davemloft.net>
14048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14050 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14052         * sysdeps/i386/fpu/libm-test-ulps: Update.
14053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14055 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14057         * configure.in (--enable-lock-elision): Fix message text.
14058         * INSTALL: Regenerate.
14059         * configure: Regenerate.
14061 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14065 2013-07-03  Andreas Jaeger  <aj@suse.de>
14067         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14068         define.
14069         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14070         (ptrace_peeksiginfo_args): Add.
14071         (__ptrace_peeksiginfo_flags): Add.
14072         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14073         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14076 2013-07-03  Allan McRae  <allan@archlinux.org>
14078         * sysdeps/i386/fpu/libm-test-ulps: Update.
14080 2013-07-02  David S. Miller  <davem@davemloft.net>
14082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14084 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14088 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14090         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14093 2013-07-02  Andi Kleen <ak@linux.intel.com>
14095         * config.h.in (ENABLE_LOCK_ELISION): Add.
14096         * configure.in (--enable-lock-elision): Add option.
14097         * manual/install.texi: Document --enable lock elision.
14098         * configure: Regenerate
14099         * INSTALL: Regenerate.
14101 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14103         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14104         SSE4.2 strcasecmp for libc.a.
14105         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14107 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14109         [BZ #13304]
14110         * soft-fp/op-common.h (_FP_FMA): New macro.
14111         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14112         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14113         (_FP_MUL_MEAT_1_imm): ... here.
14114         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14115         (_FP_MUL_MEAT_1_wide): ... here.
14116         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14117         (_FP_MUL_MEAT_1_hard): ... here.
14118         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14119         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14120         (_FP_MUL_MEAT_2_wide): ... here.
14121         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14122         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14123         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14124         (_FP_MUL_MEAT_2_gmp): ... here.
14125         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14126         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14127         (_FP_MUL_MEAT_4_wide): ... here.
14128         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14129         (_FP_MUL_MEAT_4_gmp): ... here.
14130         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14131         (_FP_WFRACBITS_DW_S): Likewise.
14132         (_FP_WFRACXBITS_DW_S): Likewise.
14133         (_FP_HIGHBIT_DW_S): Likewise.
14134         (FP_FMA_S): Likewise.
14135         (_FP_FRAC_HIGH_DW_S): Likewise.
14136         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14137         (_FP_WFRACBITS_DW_D): Likewise.
14138         (_FP_WFRACXBITS_DW_D): Likewise.
14139         (_FP_HIGHBIT_DW_D): Likewise.
14140         (FP_FMA_D): Likewise.
14141         (_FP_FRAC_HIGH_DW_D): Likewise.
14142         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14143         (_FP_WFRACBITS_DW_E): Likewise.
14144         (_FP_WFRACXBITS_DW_E): Likewise.
14145         (_FP_HIGHBIT_DW_E): Likewise.
14146         (FP_FMA_E): Likewise.
14147         (_FP_FRAC_HIGH_DW_E): Likewise.
14148         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14149         (_FP_WFRACBITS_DW_Q): Likewise.
14150         (_FP_WFRACXBITS_DW_Q): Likewise.
14151         (_FP_HIGHBIT_DW_Q): Likewise.
14152         (FP_FMA_Q): Likewise.
14153         (_FP_FRAC_HIGH_DW_Q): Likewise.
14154         * soft-fp/fmasf4.c: New file.
14155         * soft-fp/fmadf4.c: Likewise.
14156         * soft-fp/fmatf4.c: Likewise.
14158 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14161         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14162         Silvermont.
14163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14164         macro.
14165         (index_Slow_SSE4_2): Likewise.
14166         (index_Prefer_PMINUB_for_stringop): Likewise.
14167         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14168         bit_Slow_SSE4_2 is set.
14169         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14170         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14172 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14174         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14175         rtld_global._dl_hwcap2.
14176         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14177         POWER8.
14178         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14179         POWER8 feature descriptions defined in _dl_hwcap2.
14180         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14181         string handling for POWER8 feature bits.
14182         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14183         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14184         _dl_powerpc_cap_flags.
14185         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14186         * sysdeps/powerpc/rtld-global-offsets.sym
14187         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14188         _dl_hwcap2 in the rtld_global_ro structure.
14190 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14192         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14193         hardware capabilities in support of AT_HWCAP2.
14194         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14195         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14196         GLRO(dl_hwcap2).
14197         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14198         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14199         explicitly the unknown a_type display mechanism is used.
14200         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14201         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14202         struct member.
14203         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14204         to macro prototype for AT_HWCAP2 support.
14205         * sysdeps/i386/dl-procinfo.h: Likewise.
14206         * sysdeps/s390/dl-procinfo.h: Likewise.
14207         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14208         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14209         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14210         return -1 for unknown a_type display fallback.
14211         * sysdeps/sparc/dl-procinfo.h: Likewise.
14212         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14213         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14215 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14217         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14218         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14220 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14222         [BZ #12492]
14223         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14224         mprotect making __stack_prot writable.
14226 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14227             Joseph Myers  <joseph@codesourcery.com>
14229         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14230         as being properly aligned.
14232 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14234         * dlfcn/modstatic5.c: New file.
14235         * dlfcn/tststatic5.c: New file.
14236         * dlfcn/Makefile (tests): Add tststatic5.
14237         (tests-static): Likewise.
14238         (modules-names): Add modstatic5.
14239         (tststatic5-ENV): New variable.
14240         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14242         [BZ #15022]
14243         * elf/dl-support.c (_dl_main_map): New variable.
14244         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14245         (_dl_nns, _dl_load_adds): Set to 1.
14246         (_dl_initial_searchlist): Refer to _dl_main_map.
14247         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14248         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14249         call to _dl_get_origin.
14250         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14251         around call_map.
14252         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14253         * dlfcn/modstatic3.c: New file.
14254         * dlfcn/tststatic3.c: New file.
14255         * dlfcn/tststatic4.c: New file.
14256         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14257         (tests-static): Likewise.
14258         (modules-names): Add modstatic3.
14259         (tststatic3-ENV, tststatic4-ENV): New variables.
14260         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14261         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14263 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14265         * configure.in (CC): Require GCC version 4.4 or later.
14266         * configure: Regenerated.
14267         * manual/install.texi (Tools for Compilation): Update GCC version
14268         requirement.
14269         * INSTALL: Regenerated.
14271 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14273         [BZ #15674]
14274         * string/test-memcmp.c (check2): New.
14275         (main): Call check2.
14277         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14279 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14281         [BZ #15022]
14282         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14283         over to...
14284         (dl_open_worker) [!SHARED]: ... here.
14286 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14288         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14290 2013-06-25  Richard Henderson  <rth@redhat.com>
14292         * locale/programs/locarchive.c: Include <libc-internal.h>
14294 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14296         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14297         trailing whitespace removed.
14299 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14301         [BZ #10283]
14302         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14303         * locale/programs/locarchive.c: Include libc-mmap.h.
14304         (prepare_address_space): Take two new outputs (the mmap base and len).
14305         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14306         values.
14307         (create_archive): Declare new mmap base and len values for
14308         prepare_address_space, and store the result in ah.
14309         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14310         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14311         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14312         Declare new mmap base and len values for
14313         prepare_address_space, and store the result in new_ah.
14314         (open_archive): Declare new mmap base and len values for
14315         prepare_address_space, and store the result in ah.
14316         (close_archive): If ah->mmap_base is not NULL, use that and
14317         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14318         * sysdeps/generic/libc-mmap.h: New file.
14320 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14322         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14323         (ALIGN_UP): Likewise.
14324         (PTR_ALIGN_DOWN): Likewise.
14325         (PTR_ALIGN_UP): Likewise.
14327 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14329         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14330         entry mapped to PPC_PLATFORM_POWER8.
14331         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14332         POWER8.
14333         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14334         (_dl_string_platform): Add case for exporting platform position for
14335         POWER8.
14336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14337         search path to sysdeps/powerpc/powerpc32/power8 directory.
14338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14339         search path to sysdeps/powerpc/powerpc64/power8 directory.
14340         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14341         power7 directories.
14342         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14343         power7 directories.
14345 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14347         * INSTALL: Regenerate.
14349         * nscd/connections.c (nscd_init): Fix comment.
14351 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14353         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14355         [BZ #15667]
14356         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14357         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14359 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14361         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14362         DL_DST_REQ_STATIC.
14363         (DL_DST_REQ_STATIC): Remove macro.
14365 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14367         [BZ #7006]
14368         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14369         with a shift of 0 bits.
14371 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14373         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14374         $(tststatic-ENV).
14376 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14378         [BZ #15655]
14379         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14381 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14383         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14384         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14385         accepts -fno-tree-loop-distribute-patterns.
14386         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14387         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14388         recursive call.
14389         * string/memset.c (memset): Likewise.
14390         * string/test-memmove.c (simple_memmove): Disable loop transformation
14391         to library calls.
14392         * string/test-memset.c (simple_memset): Likewise.
14393         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14394         * benchtests/bench-memset.c (simple_memset): Likewise.
14395         * configure: Regenerated.
14397 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14399         * math/test-misc.c (main): Ignore fesetround failure when failures
14400         of subsequent rounding tests would be ignored.
14402         [BZ #15654]
14403         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14404         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14405         * math/fegetenv.c (__fegetenv): Return 0.
14406         * math/fegetexcept.c (fegetexcept): Return 0.
14407         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14408         FE_TONEAREST.
14409         * math/feholdexcpt.c (feholdexcept): Return 0.
14410         * math/fesetenv.c (__fesetenv): Return 0.
14411         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14412         argument FE_TONEAREST.
14413         * math/feupdateenv.c (__feupdateenv): Return 0.
14414         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14416 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14418         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14419         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14420         ($(objpfx)rtld-%.os rules): Use them.
14422 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14424         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14425         fields.
14427 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14429         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14430         length of target pattern, then descending length of dependency pattern.
14431         * configure.in (AWK): Require gawk 3.1.2 or newer.
14432         * manual/install.texi (Tools for Compilation): Say that we do.
14433         * configure: Regenerated.
14435         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14436         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14437         * scripts/sysd-rules.awk: ... this new script.
14438         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14439         than a glob-style pattern.
14441 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14443         * math/test-misc.c (main): Do not treat incorrectly rounded
14444         conversions as failure unless ROUNDING_TESTS passes.
14446 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14448         [BZ #15631]
14449         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14450         restore exception state around main square root computation, then
14451         check for inexactness explicitly.
14453         * math/libm-test.inc (fma_test_data): Add another test.
14455 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14457         * manual/threads.texi (Non-POSIX Extensions): New document
14458         node.  Document pthread_getattr_default_np and
14459         pthread_setattr_default_np.
14461         * Versions.def (libpthread): Add GLIBC_2.18.
14462         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14464         Likewise.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14466         Likewise.
14467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14468         Likewise.
14469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14470         Likewise.
14471         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14472         Likewise.
14473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14474         Likewise.
14475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14476         Likewise.
14477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14478         Likewise.
14479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14480         Likewise.
14482 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14485         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14487 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14488             H.J. Lu  <hjl.tools@gmail.com>
14490         [BZ #15627]
14491         * sysdeps/x86_64/rtld-memset.c: Remove file.
14492         * sysdeps/x86_64/rtld-memset.S: New file.
14494 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14496         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14497         (test_in_one_mode): Take arguments for whether the rounding mode
14498         is supported for each floating-point type.
14499         (do_test): Pass new arguments to test_in_one_mode using
14500         ROUNDING_TESTS.
14502 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14504         * posix/tst-waitid.c (do_test): Distinguish different instances of
14505         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14506         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14507         before entering the kernel for waitpid.
14509 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14511         * NEWS: Fix note on clock function precision.  Text by Roland
14512         McGrath.
14514 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14516         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14517         it into place only when and if the sanity check passes.
14519 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14521         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14522         output for whether conversion result is exact.  Take argument
14523         indicating whether type is IBM long double.
14524         (round_for_all): Change need_exact field to ibm_ld.
14525         * stdlib/tst-strtod-round.c (struct exactness): New type.
14526         (struct test): Change bool ld_ok field to struct exactness exact.
14527         (TEST): Update all definitions for change to field.
14528         (tests): Regenerate array contents.
14529         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14530         field value.  Check for IBM long double here.
14531         (do_test): Update calls to test_in_one_mode.
14533 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14535         [BZ #12515]
14536         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14537         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14539 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14541         [BZ #15605]
14542         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14543         generated by the compiler on loop optimizations.
14544         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14545         general definitions.
14547 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14549         * math/bug-nextafter.c: Include <math-tests.h>.
14550         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14551         the relevant type.
14552         * math/bug-nexttoward.c: Include <math-tests.h>.
14553         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14554         the relevant type.
14555         * math/test-misc.c: Include <math-tests.h>.
14556         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14557         the relevant type.
14559 2013-06-12  Andreas Jaeger  <aj@suse.de>
14561         * po/ia.po: Update Interlingua translation from translation
14562         project.
14564 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         * include/fenv.h: Include stdbool.h.
14567         (struct rm_ctx): New structure.
14568         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14569         Define macro.
14570         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14571         (SET_RESTORE_ROUNDF): Likewise.
14572         (SET_RESTORE_ROUNDL): Likewise.
14573         (SET_RESTORE_ROUND_NOEX): Likewise.
14574         (SET_RESTORE_ROUND_NOEXF): Likewise.
14575         (SET_RESTORE_ROUND_NOEXL): Likewise.
14576         (SET_RESTORE_ROUND_53BIT): Likewise.
14577         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14578         (libc_feresetround_noexf_ctx): Likewise.
14579         (libc_feresetround_noexl_ctx): Likewise.
14580         (libc_feholdsetround_53bit_ctx): Likewise.
14581         (libc_feresetround_53bit_ctx): Likewise.
14582         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14583         (libc_feholdexcept_setround_sse_ctx): New function.
14584         (libc_fesetenv_sse_ctx): Likewise.
14585         (libc_feupdateenv_sse_ctx): Likewise.
14586         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14587         (libc_feholdexcept_setround_387_ctx): Likewise.
14588         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14589         (libc_feholdsetround_387_prec_ctx): Likewise.
14590         (libc_feholdsetround_387_ctx): Likewise.
14591         (libc_feholdsetround_387_53bit_ctx): Likewise.
14592         (libc_feholdsetround_sse_ctx): Likewise.
14593         (libc_feresetround_sse_ctx): Likewise.
14594         (libc_feresetround_387_ctx): Likewise.
14595         (libc_feupdateenv_387_ctx): Likewise.
14596         (libc_feholdexcept_setroundf_ctx): Define macro.
14597         (libc_fesetenvf_ctx): Likewise.
14598         (libc_feupdateenvf_ctx): Likewise.
14599         (libc_feholdsetroundf_ctx): Likewise.
14600         (libc_feresetroundf_ctx): Likewise.
14601         (libc_feholdexcept_setround_ctx): Likewise.
14602         (libc_fesetenv_ctx): Likewise.
14603         (libc_feupdateenv_ctx): Likewise.
14604         (libc_feholdsetround_ctx): Likewise.
14605         (libc_feresetround_ctx): Likewise.
14606         (libc_feholdexcept_setroundl_ctx): Likewise.
14607         (libc_feupdateenvl_ctx): Likewise.
14608         (libc_feholdsetroundl_ctx): Likewise.
14609         (libc_feresetroundl_ctx): Likewise.
14610         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14611         (libc_feresetround_53bit_ctx): Likewise.
14613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14615         * locale/iso-639.def: Convert to UTF-8.
14617 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14619         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14620         (EXCEPTION_TESTS_double): Likewise.
14621         (EXCEPTION_TESTS_long_double): Likewise.
14622         (EXCEPTION_TESTS): Likewise.
14623         * math/libm-test.inc (test_exceptions): Only test exceptions if
14624         EXCEPTION_TESTS (FLOAT).
14626 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14628         * benchtests/Makefile (string-bench): Add strcpy_chk and
14629         stpcpy_chk.
14630         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14631         * benchtests/bench-stpcpy_chk.c: New file.
14632         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14633         * benchtests/bench-strcpy_chk.c: New file.
14634         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14635         code.
14636         (do_test): Likewise.
14638 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14640         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14641         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14642         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14643         with tabs where appropriate.
14644         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14645         dl-procinfo.h.
14646         [PPC_PLATFORM_PPC440]: Likewise.
14647         [PPC_PLATFORM_PPC464]: Likewise.
14648         [PPC_PLATFORM_PPC476]: Likewise.
14649         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14650         ppc464, and ppc476 platform strings merging from ports/
14651         dl-procinfo.h.
14653 2013-06-11  Andreas Schwab  <schwab@suse.de>
14655         [BZ #14991]
14656         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14657         (from_ucs4_idx): Regenerate.
14658         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14659         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14660         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14661         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14662         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14663         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14664         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14665         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14666         from FROM_LOOP and TO_LOOP specific macros.
14667         (BODY): Handle combining characters.
14668         * iconvdata/BIG5HKSCS.irreversible: Update.
14669         * iconvdata/BIG5HKSCS.precomposed: New file.
14670         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14671         characters.
14672         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14674 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         * include/sys/time.h: Fix indentation and add copyright header.
14678         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14679         (do_test): Likewise.
14680         * string/test-memchr.c (do_one_test): Likewise.
14681         (do_test): Likewise.
14682         * string/test-memcmp.c (do_one_test): Likewise.
14683         (do_test): Likewise.
14684         * string/test-memcpy.c (do_one_test): Likewise.
14685         (do_test): Likewise.
14686         * string/test-memmem.c (do_one_test): Likewise.
14687         (do_test): Likewise.
14688         (do_random_tests): Likewise.
14689         * string/test-memmove.c (do_one_test): Likewise.
14690         (do_test): Likewise.
14691         * string/test-memset.c (do_one_test): Likewise.
14692         (do_test): Likewise.
14693         * string/test-rawmemchr.c (do_one_test): Likewise.
14694         (do_test): Likewise.
14695         * string/test-strcasecmp.c (do_one_test): Likewise.
14696         (do_test): Likewise.
14697         * string/test-strcasestr.c (do_one_test): Likewise.
14698         (do_test): Likewise.
14699         * string/test-strcat.c (do_one_test): Likewise.
14700         (do_test): Likewise.
14701         * string/test-strchr.c (do_one_test): Likewise.
14702         (do_test): Likewise.
14703         * string/test-strcmp.c (do_one_test): Likewise.
14704         (do_test): Likewise.
14705         * string/test-strcpy.c (do_one_test): Likewise.
14706         (do_test): Likewise.
14707         * string/test-string.h: Likewise.
14708         (test_init): Likewise.
14709         * string/test-strlen.c (do_one_test): Likewise.
14710         (do_test): Likewise.
14711         * string/test-strncasecmp.c (do_one_test): Likewise.
14712         (do_test): Likewise.
14713         * string/test-strncat.c (do_one_test): Likewise.
14714         (do_test): Likewise.
14715         * string/test-strncmp.c (do_one_test): Likewise.
14716         (do_test_limit): Likewise.
14717         (do_test): Likewise.
14718         * string/test-strncpy.c (do_one_test): Likewise.
14719         (do_test): Likewise.
14720         * string/test-strnlen.c (do_one_test): Likewise.
14721         (do_test): Likewise.
14722         * string/test-strpbrk.c (do_one_test): Likewise.
14723         (do_test): Likewise.
14724         * string/test-strrchr.c (do_one_test): Likewise.
14725         (do_test): Likewise.
14726         * string/test-strspn.c (do_one_test): Likewise.
14727         (do_test): Likewise.
14728         * string/test-strstr.c (do_one_test): Likewise.
14729         (do_test): Likewise.
14731         * benchtests/Makefile (string-bench): Add string benchmarks.
14732         * benchtests/bench-bcopy-ifunc.c: New file.
14733         * benchtests/bench-bcopy.c: New file.
14734         * benchtests/bench-bzero-ifunc.c: New file.
14735         * benchtests/bench-bzero.c: New file.
14736         * benchtests/bench-memccpy-ifunc.c: New file.
14737         * benchtests/bench-memccpy.c: New file.
14738         * benchtests/bench-memchr-ifunc.c: New file.
14739         * benchtests/bench-memchr.c: New file.
14740         * benchtests/bench-memcmp-ifunc.c: New file.
14741         * benchtests/bench-memcmp.c: New file.
14742         * benchtests/bench-memmem-ifunc.c: New file.
14743         * benchtests/bench-memmem.c: New file.
14744         * benchtests/bench-memmove-ifunc.c: New file.
14745         * benchtests/bench-memmove.c: New file.
14746         * benchtests/bench-mempcpy-ifunc.c: New file.
14747         * benchtests/bench-mempcpy.c: New file.
14748         * benchtests/bench-memset-ifunc.c: New file.
14749         * benchtests/bench-memset.c: New file.
14750         * benchtests/bench-rawmemchr-ifunc.c: New file.
14751         * benchtests/bench-rawmemchr.c: New file.
14752         * benchtests/bench-stpcpy-ifunc.c: New file.
14753         * benchtests/bench-stpcpy.c: New file.
14754         * benchtests/bench-stpncpy-ifunc.c: New file.
14755         * benchtests/bench-stpncpy.c: New file.
14756         * benchtests/bench-strcasecmp-ifunc.c: New file.
14757         * benchtests/bench-strcasecmp.c: New file.
14758         * benchtests/bench-strcasestr-ifunc.c: New file.
14759         * benchtests/bench-strcasestr.c: New file.
14760         * benchtests/bench-strcat-ifunc.c: New file.
14761         * benchtests/bench-strcat.c: New file.
14762         * benchtests/bench-strchr-ifunc.c: New file.
14763         * benchtests/bench-strchr.c: New file.
14764         * benchtests/bench-strchrnul-ifunc.c: New file.
14765         * benchtests/bench-strchrnul.c: New file.
14766         * benchtests/bench-strcmp-ifunc.c: New file.
14767         * benchtests/bench-strcmp.c: New file.
14768         * benchtests/bench-strcpy-ifunc.c: New file.
14769         * benchtests/bench-strcpy.c: New file.
14770         * benchtests/bench-strcspn-ifunc.c: New file.
14771         * benchtests/bench-strcspn.c: New file.
14772         * benchtests/bench-strlen-ifunc.c: New file.
14773         * benchtests/bench-strlen.c: New file.
14774         * benchtests/bench-strncasecmp-ifunc.c: New file.
14775         * benchtests/bench-strncasecmp.c: New file.
14776         * benchtests/bench-strncat-ifunc.c: New file.
14777         * benchtests/bench-strncat.c: New file.
14778         * benchtests/bench-strncmp-ifunc.c: New file.
14779         * benchtests/bench-strncmp.c: New file.
14780         * benchtests/bench-strncpy-ifunc.c: New file.
14781         * benchtests/bench-strncpy.c: New file.
14782         * benchtests/bench-strnlen-ifunc.c: New file.
14783         * benchtests/bench-strnlen.c: New file.
14784         * benchtests/bench-strpbrk-ifunc.c: New file.
14785         * benchtests/bench-strpbrk.c: New file.
14786         * benchtests/bench-strrchr-ifunc.c: New file.
14787         * benchtests/bench-strrchr.c: New file.
14788         * benchtests/bench-strspn-ifunc.c: New file.
14789         * benchtests/bench-strspn.c: New file.
14790         * benchtests/bench-strstr-ifunc.c: New file.
14791         * benchtests/bench-strstr.c: New file.
14793         * benchtests/Makefile: Disable parallel execution of targets.
14794         (string-bench): Add memcpy.
14795         (benchset): New variable to store a list of benchmark sets.
14796         (bench-func): Renamed from bench.
14797         (bench-set): New target.
14798         (bench): Depend on bench-func and bench-set.
14799         * benchtests/README: Add section on benchmark sets.
14800         * benchtests/bench-memcpy-ifunc.c: New file.
14801         * benchtests/bench-memcpy.c: New file.
14802         * benchtests/bench-string.h: New file.
14804 2013-06-11  Andreas Schwab  <schwab@suse.de>
14806         [BZ #15577]
14807         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14808         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14809         values in the triple.
14810         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14811         terminator in the group key.
14813 2013-06-11  Andreas Jaeger  <aj@suse.de>
14815         * po/zh_TW.po: Update Chinese (traditional) translation from
14816         translation project.
14818 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14820         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14821         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14822         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14823         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14824         (clock_getcpuclockid): Likewise.
14825         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14826         Add weak_alias and libc_hidden_def.
14827         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14828         * rt/clock_gettime.c (clock_gettime): Rename to
14829         __clock_gettime.  Add weak_alias and libc_hidden_def.
14830         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14831         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14832         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14833         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14834         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14835         Likewise.
14836         * rt/clock_settime.c (clock_settime): Rename to
14837         __clock_settime.  Add weak_alias and libc_hidden_def.
14838         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14840 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14842         * mach/err_boot.sub: Remove trailing whitespace.
14843         * mach/err_ipc.sub: Likewise.
14844         * mach/err_mach.sub: Likewise.
14846         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14847         (ROUNDING_TESTS_double): Likewise.
14848         (ROUNDING_TESTS_long_double): Likewise.
14849         (ROUNDING_TESTS): Likewise.
14850         * math/libm-test.inc: Include <math-tests.h>.
14851         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14852         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14853         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14854         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14856 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14858         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14859         of assigning.
14861 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14863         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14864         otherwise empty TRANS lines.
14865         * sysdeps/gnu/errlist.c: Regenerated.
14867         * catgets/gencat.c (error_print): Use (void) in function
14868         definition.
14869         * crypt/crypt_util.c (__init_des): Likewise.
14870         * crypt/speeds.c (Stop): Likewise.
14871         (main): Likewise.
14872         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14873         * inet/ruserpass.c (token): Likewise.
14874         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14875         * intl/localealias.c (extend_alias_table): Likewise.
14876         * intl/plural-exp.c (init_germanic_plural): Likewise.
14877         * libio/fcloseall.c (__fcloseall): Likewise.
14878         * libio/genops.c (_IO_flush_all): Likewise.
14879         (_IO_flush_all_linebuffered): Likewise.
14880         (_IO_cleanup): Likewise.
14881         (_IO_iter_begin): Likewise.
14882         (_IO_iter_end): Likewise.
14883         (_IO_list_lock): Likewise.
14884         (_IO_list_unlock): Likewise.
14885         (_IO_list_resetlock): Likewise.
14886         * libio/getchar.c (getchar): Likewise.
14887         * libio/getchar_u.c (getchar_unlocked): Likewise.
14888         * libio/getwchar.c (getwchar): Likewise.
14889         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14890         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14891         * login/getpt.c (__getpt): Likewise.
14892         * login/tst-utmp.c (main): Likewise.
14893         * malloc/hooks.c (__malloc_check_init): Likewise.
14894         * malloc/malloc.c (__malloc_stats): Likewise.
14895         * malloc/mtrace.c (tr_break): Likewise.
14896         (mtrace): Likewise.
14897         (muntrace): Likewise.
14898         * misc/fstab.c (endfsent): Likewise.
14899         * misc/getclktck.c (__getclktck): Likewise.
14900         * misc/getdtsz.c (__getdtablesize): Likewise.
14901         * misc/gethostid.c (gethostid): Likewise.
14902         * misc/getpagesize.c (__getpagesize): Likewise.
14903         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14904         (__get_nprocs): Likewise.
14905         (__get_phys_pages): Likewise.
14906         (__get_avphys_pages): Likewise.
14907         * misc/getttyent.c (getttyent): Likewise.
14908         (setttyent): Likewise.
14909         (endttyent): Likewise.
14910         * misc/getusershell.c (getusershell): Likewise.
14911         (endusershell): Likewise.
14912         (setusershell): Likewise.
14913         (initshells): Likewise.
14914         * misc/hsearch.c (__hdestroy): Likewise.
14915         * misc/sync.c (sync): Likewise.
14916         * misc/syslog.c (closelog_internal): Likewise.
14917         (closelog): Likewise.
14918         * misc/ttyslot.c (ttyslot): Likewise.
14919         * misc/vhangup.c (vhangup): Likewise.
14920         * posix/fork.c (__fork): Likewise.
14921         * posix/getegid.c (__getegid): Likewise.
14922         * posix/geteuid.c (__geteuid): Likewise.
14923         * posix/getgid.c (__getgid): Likewise.
14924         * posix/getpid.c (__getpid): Likewise.
14925         * posix/getppid.c (__getppid): Likewise.
14926         * posix/getuid.c (__getuid): Likewise.
14927         * posix/pause.c (pause): Likewise.
14928         * posix/setpgrp.c (setpgrp): Likewise.
14929         * posix/setsid.c (__setsid): Likewise.
14930         * posix/test-vfork.c (noop): Likewise.
14931         * resolv/gethnamaddr.c (_endhtent): Likewise.
14932         (_gethtent): Likewise.
14933         (ht_endhostent): Likewise.
14934         (gethostent): Likewise.
14935         (dns_service): Likewise.
14936         * stdlib/drand48.c (drand48): Likewise.
14937         * stdlib/lrand48.c (lrand48): Likewise.
14938         * stdlib/mrand48.c (mrand48): Likewise.
14939         * stdlib/rand.c (rand): Likewise.
14940         * stdlib/random.c (__random): Likewise.
14941         * stdlib/setenv.c (clearenv): Likewise.
14942         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14943         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14944         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14945         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14946         (__get_nprocs): Likewise.
14947         (__get_phys_pages): Likewise.
14948         (__get_avphys_pages): Likewise.
14949         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14950         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14951         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14952         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14953         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14954         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14955         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14956         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14957         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14958         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14959         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14960         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14961         * sysdeps/posix/clock.c (clock): Likewise.
14962         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14963         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14964         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14965         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14966         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14968         (__get_nprocs_conf): Likewise.
14969         (__get_phys_pages): Likewise.
14970         (__get_avphys_pages): Likewise.
14971         * time/clock.c (clock): Likewise.
14972         * time/tzset.c (__tzname_max): Likewise.
14974 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14976         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14977         (__bswap_32): Do not use "register".
14978         * crypt/crypt.c (_ufc_doit_r): Likewise.
14979         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14980         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14981         * gmon/gmon.c (__monstartup): Likewise.
14982         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14983         * hurd/hurdmalloc.c (more_memory): Likewise.
14984         (malloc): Likewise.
14985         (free): Likewise.
14986         (realloc): Likewise.
14987         (malloc_fork_prepare): Likewise.
14988         (malloc_fork_parent): Likewise.
14989         (malloc_fork_child): Likewise.
14990         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14991         (_svcauth_des): Likewise.
14992         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14993         * inet/inet_net.c (inet_network): Likewise.
14994         * inet/inet_netof.c (inet_netof): Likewise.
14995         * inet/rcmd.c (__validuser2_sa): Likewise.
14996         * io/fts.c (fts_open): Likewise.
14997         (fts_load): Likewise.
14998         (fts_close): Likewise.
14999         (fts_read): Likewise.
15000         (fts_children): Likewise.
15001         (fts_build): Likewise.
15002         (fts_stat): Likewise.
15003         (fts_sort): Likewise.
15004         (fts_alloc): Likewise.
15005         (fts_lfree): Likewise.
15006         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15007         (_IO_file_xsgetn): Likewise.
15008         (_IO_file_xsgetn_mmap): Likewise.
15009         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15010         (_IO_cookie_write): Likewise.
15011         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15012         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15013         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15014         * malloc/obstack.c (_obstack_begin): Likewise.
15015         (_obstack_begin_1): Likewise.
15016         (_obstack_newchunk): Likewise.
15017         (_obstack_allocated_p): Likewise.
15018         (obstack_free): Likewise.
15019         (_obstack_memory_used): Likewise.
15020         * misc/getttyent.c (getttynam): Likewise.
15021         (getttyent): Likewise.
15022         (skip): Likewise.
15023         (value): Likewise.
15024         * misc/getusershell.c (initshells): Likewise.
15025         * misc/syslog.c (__vsyslog_chk): Likewise.
15026         * misc/ttyslot.c (ttyslot): Likewise.
15027         * nis/nis_hash.c (__nis_hash): Likewise.
15028         * posix/fnmatch_loop.c (FCT): Likewise.
15029         * posix/getconf.c (print_all): Likewise.
15030         (main): Likewise.
15031         * posix/getopt.c (exchange): Likewise.
15032         * posix/glob.c (globfree): Likewise.
15033         (prefix_array): Likewise.
15034         (__glob_pattern_type): Likewise.
15035         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15036         (NS_GET32): Likewise.
15037         (NS_PUT16): Likewise.
15038         (NS_PUT32): Likewise.
15039         * resolv/gethnamaddr.c (getanswer): Likewise.
15040         (gethostbyname2): Likewise.
15041         (gethostbyaddr): Likewise.
15042         (_gethtent): Likewise.
15043         (_gethtbyname2): Likewise.
15044         (_gethtbyaddr): Likewise.
15045         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15046         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15047         * resolv/res_init.c (__res_vinit): Likewise.
15048         (net_mask): Likewise.
15049         * resolv/res_mkquery.c (outchar): Likewise.
15050         (PRINT): Likewise.
15051         * stdio-common/printf_fp.c (outchar): Likewise.
15052         (PRINT): Likewise.
15053         * stdio-common/printf_fphex.c (outchar): Likewise.
15054         (PRINT): Likewise.
15055         * stdio-common/printf_size.c (outchar): Likewise.
15056         (PRINT): Likewise.
15057         * stdio-common/test_rdwr.c (main): Likewise.
15058         * stdio-common/tfformat.c (matches): Likewise.
15059         * stdio-common/vfprintf.c (outchar): Likewise.
15060         (printf_unknown): Likewise.
15061         (buffered_vfprintf): Likewise.
15062         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15063         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15064         (ReadFile): Likewise.
15065         * stdlib/qsort.c (SWAP): Likewise.
15066         (_quicksort): Likewise.
15067         * stdlib/setenv.c (__add_to_environ): Likewise.
15068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15069         * stdlib/strtol_l.c (__strtol_l): Likewise.
15070         * stdlib/tst-strtod.c (main): Likewise.
15071         * stdlib/tst-strtol.c (main): Likewise.
15072         * stdlib/tst-strtoll.c (main): Likewise.
15073         * string/bits/string2.h (__strcmp_cc): Likewise.
15074         (__strcmp_cg): Likewise.
15075         (__strcspn_c1): Likewise.
15076         (__strcspn_c2): Likewise.
15077         (__strcspn_c3): Likewise.
15078         (__strspn_c1): Likewise.
15079         (__strspn_c2): Likewise.
15080         (__strspn_c3): Likewise.
15081         (__strsep_1c): Likewise.
15082         (__strsep_2c): Likewise.
15083         (__strsep_3c): Likewise.
15084         * string/memccpy.c (__memccpy): Likewise.
15085         * string/stpcpy.c (__stpcpy): Likewise.
15086         * string/strcmp.c (strcmp): Likewise.
15087         * string/strrchr.c (strrchr): Likewise.
15088         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15089         Likewise.
15090         * sysdeps/mach/hurd/getcwd.c
15091         (_hurd_canonicalize_directory_name_internal): Likewise.
15092         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15093         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15095         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15096         Likewise, in both definitions.
15097         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15098         definitions.
15099         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15100         64] (__bswap_64): Likewise.
15101         * time/test_time.c (main): Likewise.
15102         * time/tzfile.c (__tzfile_read): Likewise.
15103         (__tzfile_compute): Likewise.
15104         * time/tzset.c (__tzset_parse_tz): Likewise.
15105         (tzset_internal): Likewise.
15106         (compute_change): Likewise.
15107         * wcsmbs/wcscat.c (__wcscat): Likewise.
15108         * wcsmbs/wcschr.c (wcschr): Likewise.
15109         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15110         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15111         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15112         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15113         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15114         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15115         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15116         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15117         * wcsmbs/wmemset.c (wmemset): Likewise.
15119 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15121         * scripts/config.guess: Update to version 2013-05-16.
15122         * scripts/config.sub: Update to version 2013-04-24.
15123         * scripts/install-sh: Update to version 2011-11-20.07.
15124         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15125         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15127 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15129         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15130         * elf/sln.c: Likewise.
15131         * hurd/hurd/ioctl.h: Likewise.
15132         * hurd/hurdmalloc.c: Likewise.
15133         * hurd/xattr.c: Likewise.
15134         * include/shlib-compat.h: Likewise.
15135         * inet/ruserpass.c: Likewise.
15136         * libio/iofgets_u.c: Likewise.
15137         * libio/iofgetws_u.c: Likewise.
15138         * locale/programs/ld-identification.c: Likewise.
15139         * locale/programs/ld-time.c: Likewise.
15140         * mach/msg-destroy.c: Likewise.
15141         * nss/nss_files/files-netgrp.c: Likewise.
15142         * resolv/res_data.c: Likewise.
15143         * soft-fp/op-1.h: Likewise.
15144         * soft-fp/op-2.h: Likewise.
15145         * soft-fp/op-4.h: Likewise.
15146         * soft-fp/op-common.h: Likewise.
15147         * stdio-common/printf_fphex.c: Likewise.
15148         * stdlib/strtod_l.c: Likewise.
15149         * sunrpc/rpc/clnt.h: Likewise.
15150         * sysdeps/generic/framestate.c: Likewise.
15151         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15152         * sysdeps/i386/bsd-setjmp.S: Likewise.
15153         * sysdeps/i386/__longjmp.S: Likewise.
15154         * sysdeps/i386/setjmp.S: Likewise.
15155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15156         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15157         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15160         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15164         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15166         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15167         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15168         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15169         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15170         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15171         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15172         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15173         * sysdeps/ieee754/support.c: Likewise.
15174         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15175         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15176         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15177         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15178         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15179         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15180         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15181         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15182         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15183         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15184         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15185         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15186         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15187         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15189         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15190         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15193 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15195         * posix/transbug.c: Remove executable mode.
15197 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15199         * crypt/speeds.c: Remove trailing whitespace.
15200         * dlfcn/default.c: Likewise.
15201         * elf/ifuncdep2.c: Likewise.
15202         * elf/ifuncmain1.c: Likewise.
15203         * elf/ifuncmain1vis.c: Likewise.
15204         * elf/testobj.h: Likewise.
15205         * elf/tst-stackguard1.c: Likewise.
15206         * gmon/sys/gmon.h: Likewise.
15207         * hurd/hurdmsg.c: Likewise.
15208         * hurd/new-fd.c: Likewise.
15209         * hurd/ports-get.c: Likewise.
15210         * iconvdata/ibm1008_420.c: Likewise.
15211         * inet/tst-getni1.c: Likewise.
15212         * inet/tst-getni2.c: Likewise.
15213         * libio/ioungetc.c: Likewise.
15214         * libio/wfiledoalloc.c: Likewise.
15215         * manual/libm-err-tab.pl: Likewise.
15216         * math/w_dremf.c: Likewise.
15217         * misc/ftruncate.c: Likewise.
15218         * posix/bug-glob2.c: Likewise.
15219         * posix/tst-pcre.c: Likewise.
15220         * posix/wait4.c: Likewise.
15221         * resolv/README: Likewise.
15222         * resolv/res_debug.h: Likewise.
15223         * resolv/tst-inet_ntop.c: Likewise.
15224         * setjmp/bug269-setjmp.c: Likewise.
15225         * soft-fp/extended.h: Likewise.
15226         * soft-fp/op-1.h: Likewise.
15227         * soft-fp/op-2.h: Likewise.
15228         * soft-fp/op-4.h: Likewise.
15229         * soft-fp/op-8.h: Likewise.
15230         * soft-fp/testit.c: Likewise.
15231         * stdio-common/bug16.c: Likewise.
15232         * stdlib/random.c: Likewise.
15233         * sunrpc/rpcsvc/rquota.x: Likewise.
15234         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15235         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15237         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15238         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15240         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15241         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15242         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15243         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15244         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15245         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15246         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15247         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15248         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15249         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15250         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15252         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15255         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15256         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15263         * sysdeps/ieee754/s_lib_version.c: Likewise.
15264         * sysdeps/mach/hurd/check_fds.c: Likewise.
15265         * sysdeps/mach/hurd/getsockname.c: Likewise.
15266         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15267         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15268         * sysdeps/powerpc/bits/link.h: Likewise.
15269         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15270         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15271         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15272         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15273         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15274         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15275         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15276         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15277         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15278         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15279         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15280         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15281         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15282         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15283         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15284         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15285         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15286         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15290         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15292         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15293         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15294         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15295         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15296         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15297         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15298         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15299         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15303         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15304         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15305         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15306         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15307         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15308         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15309         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15310         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15311         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15312         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15313         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15314         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15315         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15316         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15317         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15318         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15321         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15322         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15323         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15324         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15325         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15328         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15329         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15331         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15332         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15333         * sysdeps/powerpc/sysdep.h: Likewise.
15334         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15335         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15336         * sysdeps/sh/dl-trampoline.S: Likewise.
15337         * sysdeps/sh/memset.S: Likewise.
15338         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15339         * sysdeps/sh/strlen.S: Likewise.
15340         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15341         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15342         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15343         * sysdeps/sparc/sparc32/rem.S: Likewise.
15344         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15345         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15346         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15347         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15348         * sysdeps/sparc/sparc32/urem.S: Likewise.
15349         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15350         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15351         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15352         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15353         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15354         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15355         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15356         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15357         * sysdeps/unix/bsd/times.c: Likewise.
15358         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15359         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15363         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15364         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15365         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15366         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15367         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15368         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15369         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15370         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15371         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15372         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15373         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15374         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15375         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15376         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15377         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15378         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15379         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15380         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15381         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15382         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15383         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15384         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15386         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15387         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15388         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15389         * sysdeps/x86_64/strcspn.S: Likewise.
15391 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15393         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15394         generated file.  Regenerate properly from gen-translit.pl.
15395         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15396         locale/C-translit.h.
15398 2013-06-05  Andreas Schwab  <schwab@suse.de>
15400         [BZ #15100]
15401         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15402         week as 6 instead of -1.
15403         * time/tst-strptime.c (day_tests): Add test case.
15405 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15407         * sysdeps/generic/math_private.h
15408         (libc_feholdexcept_setround_53bit): Replace with
15409         libc_feholdsetround_53bit.
15410         (libc_feupdateenv_53bit): Replace with
15411         libc_feresetround_53bit.
15412         (SET_RESTORE_ROUND_53BIT): Adjust.
15414 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15416         * string/test-strchrnul.c: Add copyright header.
15418         * posix/tst-getaddrinfo4.c: Increase test timeout.
15420 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15422         [BZ #15536]
15423         * math/libm-test.inc (MAX_EXP): Remove
15424         (MIN_EXP): Define.
15425         (ulp): Use MIN_EXP - MANT_DIG.
15426         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15428 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15430         * po/be.po: Revert last change.
15431         * po/zh_CN.po: Likewise.
15432         * po/header.pot: Likewise.
15434 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15436         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15437         link-libc-deps to empty as target-specific variable.
15438         * Makerules (link-libc-args): New variable.
15439         (libc-for-link): Likewise.
15440         (link-libc-deps): Likewise.
15441         (lib%.so): Depend on $(link-libc-deps).  Link with
15442         $(link-libc-args).
15443         (build-module): Link with $(link-libc-args).
15444         (build-module-asneeded): Likewise.
15445         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15446         list of objects.
15447         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15448         target-specific variable.
15449         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15450         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15451         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15452         libc.
15453         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15454         libc and ld.so.
15455         ($(objpfx)libpcprofile.so): Likewise.
15456         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15457         libc_nonshared.a.
15458         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15459         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15460         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15461         $(link-libc-deps).
15462         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15463         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15464         * login/Makefile ($(objpfx)libutil.so): Likewise.
15465         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15466         * math/Makefile ($(objpfx)libm.so): Likewise.
15467         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15468         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15469         variable instead of depending directly on libc.
15470         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15471         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15472         $(link-libc-deps).
15473         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15474         libc.
15475         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15476         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15477         ($(objpfx)libanl.so): Likewise.
15478         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15479         ld.so.
15480         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15481         $(link-libc-deps).
15482         * sysdeps/i386/fpu/Makefile: Remove file.
15483         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15484         ($(objpfx)libm.so): Remove dependency on ld.so.
15486 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15488         [BZ # 15553]
15489         * nis/yp_xdr.c (XDRMAXNAME): Define.
15490         (XDRMAXRECORD): Define.
15491         (xdr_domainname): Use XDRMAXNAME.
15492         (xdr_mapname): Likewise.
15493         (xdr_peername): Likewise.
15494         (xdr_keydat): Use XDRMAXRECORD.
15495         (xdr_valdat): Likewise.
15497 2013-05-30  Jeff Law  <law@redhat.com>
15499         [BZ #14256]
15500         * manual/errno.texi (ESTALE): Update to account for more than
15501         just NFS file systems.
15502         * sysdeps/gnu/errlist.c: Regenerated.
15504 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         [BZ #15465]
15507         * elf/Makefile (tests): Add tst-null-argv.
15508         (modules-names):  Add tst-null-argv-lib.
15509         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15510         (tst-null-argv-ENV): Set environment for tst-null-argv.
15511         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15512         (RTLD_PROGNAME): New macro.
15513         * elf/tst-null-argv.c: New test case.
15514         * elf/tst-null-argv-lib.c: Library for test case.
15515         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15516         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15517         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15518         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15519         * elf/dl-init.c (call_init): Likewise.
15520         (_dl_init): Likewise.
15521         * elf/dl-load.c (print_search_path): Likewise.
15522         (_dl_map_object): Likewise.
15523         * elf/dl-lookup.c (do_lookup_x): Likewise.
15524         (add_dependency): Likewise.
15525         (_dl_lookup_symbol_x): Likewise.
15526         (_dl_debug_bindings): Likewise.
15527         * elf/dl-open.c (_dl_show_scope): Likewise.
15528         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15529         * elf/dl-version.c (match_symbol): Likewise.
15530         (_dl_check_map_versions): Likewise.
15531         * elf/rtld.c (dl_main): Likewise.
15532         (print_unresolved): Use RTLD_PROGNAME.
15533         (print_missing_version): Likewise.
15534         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15535         (elf_machine_rela): Likewise.
15536         * sysdeps/powerpc/powerpc32/dl-machine.c
15537         (__process_machine_rela): Likewise.
15538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15539         Likewise.
15540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15541         Likewise.
15542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15543         Likewise.
15544         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15546         Likewise.
15547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15548         Likewise.
15549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15551 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15553         * po/be.po: Add descriptive title.
15554         * po/zh_CN.po: Likewise.
15555         * po/header.pot: Likewise.
15557 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15559         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15560         error message.
15561         (enlarge_archive): Likewise.
15563 2013-05-28  Ben North  <ben@redfrontdoor.org>
15565         * manual/arith.texi (frexp): It is the magnitude of the return
15566         value which lies in [0.5, 1), not the return value itself.
15568 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15572 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15574         * stdio-common/bug26.c (main): Correct fscanf template.
15576         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15577         declare _dl_skip_args.
15579         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15580         Don't declare.
15582         * manual/platform.texi: Add missing @end deftypefun.
15584 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15586         [BZ #15529]
15587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15588         bit of mantissa of 2^16382.
15589         * math/libm-test.inc (hypot_test_data): Add more tests.
15591         * math/libm-test.inc: Add drem and pow10 to list of tested
15592         functions.
15593         (pow10_test): New function.
15594         (drem_test): Likewise.
15595         (drem_test_tonearest): Likewise.
15596         (drem_test_towardzero): Likewise.
15597         (drem_test_downward): Likewise.
15598         (drem_test_upward): Likewise.
15599         (main): Call the new functions.
15601         * math/libm-test.inc (finite_test_data): Remove.
15602         (finite_test): Run tests from isfinite_test_data.
15603         (gamma_test_data): Remove.
15604         (gamma_test): Run tests from lgamma_test_data.
15605         * sysdeps/i386/fpu/libm-test-ulps: Update.
15606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15610         * manual/platform.texi: Add PowerPC PPR function set documentation.
15611         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15612         implementation.
15614 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15616         * math/libm-test.inc (MAX_EXP): Define.
15617         (ULPDIFF): Define.
15618         (ulp): New function.
15619         (check_float_internal): Use ULPDIFF.
15620         (cpow_test): Disable failing test.
15621         (check_ulp): Test ulp() implemetnation.
15622         (main): Call check_ulp before starting tests.
15624 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15626         * math/gen-libm-test.pl (generate_testfile): Do not handle
15627         START_DATA and END_DATA.
15628         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15629         END_DATA.
15630         (acos_tonearest_test_data): Likewise.
15631         (acos_towardzero_test_data): Likewise.
15632         (acos_downward_test_data): Likewise.
15633         (acos_upward_test_data): Likewise.
15634         (acosh_test_data): Likewise.
15635         (asin_test_data): Likewise.
15636         (asin_tonearest_test_data): Likewise.
15637         (asin_towardzero_test_data): Likewise.
15638         (asin_downward_test_data): Likewise.
15639         (asin_upward_test_data): Likewise.
15640         (asinh_test_data): Likewise.
15641         (atan_test_data): Likewise.
15642         (atanh_test_data): Likewise.
15643         (atan2_test_data): Likewise.
15644         (cabs_test_data): Likewise.
15645         (cacos_test_data): Likewise.
15646         (cacosh_test_data): Likewise.
15647         (carg_test_data): Likewise.
15648         (casin_test_data): Likewise.
15649         (casinh_test_data): Likewise.
15650         (catan_test_data): Likewise.
15651         (catanh_test_data): Likewise.
15652         (cbrt_test_data): Likewise.
15653         (ccos_test_data): Likewise.
15654         (ccosh_test_data): Likewise.
15655         (ceil_test_data): Likewise.
15656         (cexp_test_data): Likewise.
15657         (cimag_test_data): Likewise.
15658         (clog_test_data): Likewise.
15659         (clog10_test_data): Likewise.
15660         (conj_test_data): Likewise.
15661         (copysign_test_data): Likewise.
15662         (cos_test_data): Likewise.
15663         (cos_tonearest_test_data): Likewise.
15664         (cos_towardzero_test_data): Likewise.
15665         (cos_downward_test_data): Likewise.
15666         (cos_upward_test_data): Likewise.
15667         (cosh_test_data): Likewise.
15668         (cosh_tonearest_test_data): Likewise.
15669         (cosh_towardzero_test_data): Likewise.
15670         (cosh_downward_test_data): Likewise.
15671         (cosh_upward_test_data): Likewise.
15672         (cpow_test_data): Likewise.
15673         (cproj_test_data): Likewise.
15674         (creal_test_data): Likewise.
15675         (csin_test_data): Likewise.
15676         (csinh_test_data): Likewise.
15677         (csqrt_test_data): Likewise.
15678         (ctan_test_data): Likewise.
15679         (ctan_tonearest_test_data): Likewise.
15680         (ctan_towardzero_test_data): Likewise.
15681         (ctan_downward_test_data): Likewise.
15682         (ctan_upward_test_data): Likewise.
15683         (ctanh_test_data): Likewise.
15684         (ctanh_tonearest_test_data): Likewise.
15685         (ctanh_towardzero_test_data): Likewise.
15686         (ctanh_downward_test_data): Likewise.
15687         (ctanh_upward_test_data): Likewise.
15688         (erf_test_data): Likewise.
15689         (erfc_test_data): Likewise.
15690         (exp_test_data): Likewise.
15691         (exp_tonearest_test_data): Likewise.
15692         (exp_towardzero_test_data): Likewise.
15693         (exp_downward_test_data): Likewise.
15694         (exp_upward_test_data): Likewise.
15695         (exp10_test_data): Likewise.
15696         (exp2_test_data): Likewise.
15697         (expm1_test_data): Likewise.
15698         (fabs_test_data): Likewise.
15699         (fdim_test_data): Likewise.
15700         (finite_test_data): Likewise.
15701         (floor_test_data): Likewise.
15702         (fma_test_data): Likewise.
15703         (fma_towardzero_test_data): Likewise.
15704         (fma_downward_test_data): Likewise.
15705         (fma_upward_test_data): Likewise.
15706         (fmax_test_data): Likewise.
15707         (fmin_test_data): Likewise.
15708         (fmod_test_data): Likewise.
15709         (fpclassify_test_data): Likewise.
15710         (frexp_test_data): Likewise.
15711         (gamma_test_data): Likewise.
15712         (hypot_test_data): Likewise.
15713         (ilogb_test_data): Likewise.
15714         (isfinite_test_data): Likewise.
15715         (isgreater_test_data): Likewise.
15716         (isgreaterequal_test_data): Likewise.
15717         (isinf_test_data): Likewise.
15718         (isless_test_data): Likewise.
15719         (islessequal_test_data): Likewise.
15720         (islessgreater_test_data): Likewise.
15721         (isnan_test_data): Likewise.
15722         (isnormal_test_data): Likewise.
15723         (issignaling_test_data): Likewise.
15724         (isunordered_test_data): Likewise.
15725         (j0_test_data): Likewise.
15726         (j1_test_data): Likewise.
15727         (jn_test_data): Likewise.
15728         (ldexp_test_data): Likewise.
15729         (lgamma_test_data): Likewise.
15730         (lrint_test_data): Likewise.
15731         (lrint_tonearest_test_data): Likewise.
15732         (lrint_towardzero_test_data): Likewise.
15733         (lrint_downward_test_data): Likewise.
15734         (lrint_upward_test_data): Likewise.
15735         (llrint_test_data): Likewise.
15736         (llrint_tonearest_test_data): Likewise.
15737         (llrint_towardzero_test_data): Likewise.
15738         (llrint_downward_test_data): Likewise.
15739         (llrint_upward_test_data): Likewise.
15740         (log_test_data): Likewise.
15741         (log10_test_data): Likewise.
15742         (log1p_test_data): Likewise.
15743         (log2_test_data): Likewise.
15744         (logb_test_data): Likewise.
15745         (logb_downward_test_data): Likewise.
15746         (lround_test_data): Likewise.
15747         (llround_test_data): Likewise.
15748         (modf_test_data): Likewise.
15749         (nearbyint_test_data): Likewise.
15750         (nextafter_test_data): Likewise.
15751         (nexttoward_test_data): Likewise.
15752         (pow_test_data): Likewise.
15753         (pow_tonearest_test_data): Likewise.
15754         (pow_towardzero_test_data): Likewise.
15755         (pow_downward_test_data): Likewise.
15756         (pow_upward_test_data): Likewise.
15757         (remainder_test_data): Likewise.
15758         (remainder_tonearest_test_data): Likewise.
15759         (remainder_towardzero_test_data): Likewise.
15760         (remainder_downward_test_data): Likewise.
15761         (remainder_upward_test_data): Likewise.
15762         (remquo_test_data): Likewise.
15763         (rint_test_data): Likewise.
15764         (rint_tonearest_test_data): Likewise.
15765         (rint_towardzero_test_data): Likewise.
15766         (rint_downward_test_data): Likewise.
15767         (rint_upward_test_data): Likewise.
15768         (round_test_data): Likewise.
15769         (scalb_test_data): Likewise.
15770         (scalbn_test_data): Likewise.
15771         (scalbln_test_data): Likewise.
15772         (signbit_test_data): Likewise.
15773         (sin_test_data): Likewise.
15774         (sin_tonearest_test_data): Likewise.
15775         (sin_towardzero_test_data): Likewise.
15776         (sin_downward_test_data): Likewise.
15777         (sin_upward_test_data): Likewise.
15778         (sincos_test_data): Likewise.
15779         (sinh_test_data): Likewise.
15780         (sinh_tonearest_test_data): Likewise.
15781         (sinh_towardzero_test_data): Likewise.
15782         (sinh_downward_test_data): Likewise.
15783         (sinh_upward_test_data): Likewise.
15784         (sqrt_test_data): Likewise.
15785         (tan_test_data): Likewise.
15786         (tan_tonearest_test_data): Likewise.
15787         (tan_towardzero_test_data): Likewise.
15788         (tan_downward_test_data): Likewise.
15789         (tan_upward_test_data): Likewise.
15790         (tanh_test_data): Likewise.
15791         (tgamma_test_data): Likewise.
15792         (trunc_test_data): Likewise.
15793         (y0_test_data): Likewise.
15794         (y1_test_data): Likewise.
15795         (yn_test_data): Likewise.
15796         (significand_test_data): Likewise.
15798         * math/gen-libm-test.pl (@functions): Remove variable.
15799         (generate_testfile): Don't handle START and END lines.
15800         * math/libm-test.inc (START): New macro.
15801         (END): Likewise.
15802         (END_COMPLEX): Likewise.
15803         (acos_test): Use END macro without arguments.
15804         (acos_test_tonearest): Likewise.
15805         (acos_test_towardzero): Likewise.
15806         (acos_test_downward): Likewise.
15807         (acos_test_upward): Likewise.
15808         (acosh_test): Likewise.
15809         (asin_test): Likewise.
15810         (asin_test_tonearest): Likewise.
15811         (asin_test_towardzero): Likewise.
15812         (asin_test_downward): Likewise.
15813         (asin_test_upward): Likewise.
15814         (asinh_test): Likewise.
15815         (atan_test): Likewise.
15816         (atanh_test): Likewise.
15817         (atan2_test): Likewise.
15818         (cabs_test): Likewise.
15819         (cacos_test): Use END_COMPLEX macro without arguments.
15820         (cacosh_test): Likewise.
15821         (carg_test): Use END macro without arguments.
15822         (casin_test): Use END_COMPLEX macro without arguments.
15823         (casinh_test): Likewise.
15824         (catan_test): Likewise.
15825         (catanh_test): Likewise.
15826         (cbrt_test): Use END macro without arguments.
15827         (ccos_test): Use END_COMPLEX macro without arguments.
15828         (ccosh_test): Likewise.
15829         (ceil_test): Use END macro without arguments.
15830         (cexp_test): Use END_COMPLEX macro without arguments.
15831         (cimag_test): Use END macro without arguments.
15832         (clog_test): Use END_COMPLEX macro without arguments.
15833         (clog10_test): Likewise.
15834         (conj_test): Likewise.
15835         (copysign_test): Use END macro without arguments.
15836         (cos_test): Likewise.
15837         (cos_test_tonearest): Likewise.
15838         (cos_test_towardzero): Likewise.
15839         (cos_test_downward): Likewise.
15840         (cos_test_upward): Likewise.
15841         (cosh_test): Likewise.
15842         (cosh_test_tonearest): Likewise.
15843         (cosh_test_towardzero): Likewise.
15844         (cosh_test_downward): Likewise.
15845         (cosh_test_upward): Likewise.
15846         (cpow_test): Use END_COMPLEX macro without arguments.
15847         (cproj_test): Likewise.
15848         (creal_test): Use END macro without arguments.
15849         (csin_test): Use END_COMPLEX macro without arguments.
15850         (csinh_test): Likewise.
15851         (csqrt_test): Likewise.
15852         (ctan_test): Likewise.
15853         (ctan_test_tonearest): Likewise.
15854         (ctan_test_towardzero): Likewise.
15855         (ctan_test_downward): Likewise.
15856         (ctan_test_upward): Likewise.
15857         (ctanh_test): Likewise.
15858         (ctanh_test_tonearest): Likewise.
15859         (ctanh_test_towardzero): Likewise.
15860         (ctanh_test_downward): Likewise.
15861         (ctanh_test_upward): Likewise.
15862         (erf_test): Use END macro without arguments.
15863         (erfc_test): Likewise.
15864         (exp_test): Likewise.
15865         (exp_test_tonearest): Likewise.
15866         (exp_test_towardzero): Likewise.
15867         (exp_test_downward): Likewise.
15868         (exp_test_upward): Likewise.
15869         (exp10_test): Likewise.
15870         (exp2_test): Likewise.
15871         (expm1_test): Likewise.
15872         (fabs_test): Likewise.
15873         (fdim_test): Likewise.
15874         (finite_test): Likewise.
15875         (floor_test): Likewise.
15876         (fma_test): Likewise.
15877         (fma_test_towardzero): Likewise.
15878         (fma_test_downward): Likewise.
15879         (fma_test_upward): Likewise.
15880         (fmax_test): Likewise.
15881         (fmin_test): Likewise.
15882         (fmod_test): Likewise.
15883         (fpclassify_test): Likewise.
15884         (frexp_test): Likewise.
15885         (gamma_test): Likewise.
15886         (hypot_test): Likewise.
15887         (ilogb_test): Likewise.
15888         (isfinite_test): Likewise.
15889         (isgreater_test): Likewise.
15890         (isgreaterequal_test): Likewise.
15891         (isinf_test): Likewise.
15892         (isless_test): Likewise.
15893         (islessequal_test): Likewise.
15894         (islessgreater_test): Likewise.
15895         (isnan_test): Likewise.
15896         (isnormal_test): Likewise.
15897         (issignaling_test): Likewise.
15898         (isunordered_test): Likewise.
15899         (j0_test): Likewise.
15900         (j1_test): Likewise.
15901         (jn_test): Likewise.
15902         (ldexp_test): Likewise.
15903         (lgamma_test): Likewise.
15904         (lrint_test): Likewise.
15905         (lrint_test_tonearest): Likewise.
15906         (lrint_test_towardzero): Likewise.
15907         (lrint_test_downward): Likewise.
15908         (lrint_test_upward): Likewise.
15909         (llrint_test): Likewise.
15910         (llrint_test_tonearest): Likewise.
15911         (llrint_test_towardzero): Likewise.
15912         (llrint_test_downward): Likewise.
15913         (llrint_test_upward): Likewise.
15914         (log_test): Likewise.
15915         (log10_test): Likewise.
15916         (log1p_test): Likewise.
15917         (log2_test): Likewise.
15918         (logb_test): Likewise.
15919         (logb_test_downward): Likewise.
15920         (lround_test): Likewise.
15921         (llround_test): Likewise.
15922         (modf_test): Likewise.
15923         (nearbyint_test): Likewise.
15924         (nextafter_test): Likewise.
15925         (nexttoward_test): Likewise.
15926         (pow_test): Likewise.
15927         (pow_test_tonearest): Likewise.
15928         (pow_test_towardzero): Likewise.
15929         (pow_test_downward): Likewise.
15930         (pow_test_upward): Likewise.
15931         (remainder_test): Likewise.
15932         (remainder_test_tonearest): Likewise.
15933         (remainder_test_towardzero): Likewise.
15934         (remainder_test_downward): Likewise.
15935         (remainder_test_upward): Likewise.
15936         (remquo_test): Likewise.
15937         (rint_test): Likewise.
15938         (rint_test_tonearest): Likewise.
15939         (rint_test_towardzero): Likewise.
15940         (rint_test_downward): Likewise.
15941         (rint_test_upward): Likewise.
15942         (round_test): Likewise.
15943         (scalb_test): Likewise.
15944         (scalbn_test): Likewise.
15945         (scalbln_test): Likewise.
15946         (signbit_test): Likewise.
15947         (sin_test): Likewise.
15948         (sin_test_tonearest): Likewise.
15949         (sin_test_towardzero): Likewise.
15950         (sin_test_downward): Likewise.
15951         (sin_test_upward): Likewise.
15952         (sincos_test): Likewise.
15953         (sinh_test): Likewise.
15954         (sinh_test_tonearest): Likewise.
15955         (sinh_test_towardzero): Likewise.
15956         (sinh_test_downward): Likewise.
15957         (sinh_test_upward): Likewise.
15958         (sqrt_test): Likewise.
15959         (tan_test): Likewise.
15960         (tan_test_tonearest): Likewise.
15961         (tan_test_towardzero): Likewise.
15962         (tan_test_downward): Likewise.
15963         (tan_test_upward): Likewise.
15964         (tanh_test): Likewise.
15965         (tgamma_test): Likewise.
15966         (trunc_test): Likewise.
15967         (y0_test): Likewise.
15968         (y1_test): Likewise.
15969         (yn_test): Likewise.
15970         (significand_test): Likewise.
15972 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15974         [BZ #15381]
15975         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15977 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15979         [BZ #14894]
15980         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15981         __ppc_mdoio and __ppc_mdoom.
15982         * manual/platform.texi: Document new functions __ppc_yield,
15983         __ppc_mdoio and __ppc_mdoom.
15985 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15987         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15988         (main): Mention "tls" pseudo-hwcap is legacy.
15989         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15991 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15993         * math/gen-libm-test.pl (parse_args): Output only string of
15994         arguments as text for test name, not full call or descriptions of
15995         tests for extra outputs.
15996         (generate_testfile): Do not pass function name to parse_args.
15997         Generate this_func variable from START.
15998         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15999         field to arg_str.
16000         (struct test_ff_f_data): Likewise.
16001         (test_ff_f_data_nexttoward): Likewise.
16002         (struct test_fi_f_data): Likewise.
16003         (struct test_fl_f_data): Likewise.
16004         (struct test_if_f_data): Likewise.
16005         (struct test_fff_f_data): Likewise.
16006         (struct test_c_f_data): Likewise.
16007         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16008         (struct test_fF_f1_data): Likewise.
16009         (struct test_ffI_f1_data): Likewise.
16010         (struct test_c_c_data): Rename test_name field to arg_str.
16011         (struct test_cc_c_data): Likewise.
16012         (struct test_f_i_data): Likewise.
16013         (struct test_ff_i_data): Likewise.
16014         (struct test_f_l_data): Likewise.
16015         (struct test_f_L_data): Likewise.
16016         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16017         and extra2_name.
16018         (COMMON_TEST_SETUP): New macro.
16019         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16020         (COMMON_TEST_CLEANUP): Likewise.
16021         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16022         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16023         macros.
16024         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16025         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16026         macros.
16027         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16028         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16029         cleanup macros.
16030         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16031         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16032         macros.
16033         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16034         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16035         macros.
16036         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16037         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16038         cleanup macros.
16039         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16040         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16041         cleanup macros.
16042         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16043         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16044         cleanup macros.
16045         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16046         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16047         macros.
16048         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16049         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16050         macros.
16051         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16052         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16053         macros.
16054         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16055         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16056         cleanup macros.
16057         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16058         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16059         cleanup macros.
16060         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16061         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16062         macros.
16063         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16064         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16065         cleanup macros.
16066         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16067         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16068         macros.
16069         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16070         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16071         macros.
16072         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16073         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16074         cleanup macros.
16075         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16077 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16079         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16080         to _sifields.sigfault.
16081         (si_addr_lsb): Define new macro.
16082         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16086 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16088         [BZ #15441]
16089         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16090         returns -1.
16091         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16092         null return -1.
16093         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16094         loading the domain.
16096 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16098         * math/gen-libm-test.pl (parse_args): Do not include expected
16099         result in test name.
16100         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16102         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16103         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16109         * benchtests/Makefile: Sort function entries.
16111         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16112         tanh, asinh, acosh, atanh.
16113         * benchtests/acos-inputs: New file.
16114         * benchtests/acosh-inputs: New file.
16115         * benchtests/asin-inputs: New file.
16116         * benchtests/asinh-inputs: New file.
16117         * benchtests/atanh-inputs: New file.
16118         * benchtests/cosh-inputs: New file.
16119         * benchtests/log-inputs: New file.
16120         * benchtests/sinh-inputs: New file.
16121         * benchtests/tanh-inputs: New file.
16123 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16125         [BZ #15339]
16126         * posix/tst-getaddrinfo4.c: New test.
16127         * posix/Makefile (tests): Add it.
16129 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16131         [BZ #15339]
16132         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16133         when no services were used.
16134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16135         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16137 2013-05-21  Andreas Schwab  <schwab@suse.de>
16139         [BZ #15014]
16140         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16141         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16142         successful.
16143         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16144         redundant variable declarations and reallocation of buffer when
16145         parsing as IPv6 address.  Always set NSS status when called from
16146         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16147         buffer too small.  Correct computation of needed size.
16148         * nss/Makefile (tests): Add test-digits-dots.
16149         * nss/test-digits-dots.c: New test.
16151 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16153         * benchtests/Makefile: Remove instructions for adding
16154         benchmark tests.
16155         * benchtests/README: New file to explain how to execute and
16156         enhance the benchmark tests.
16158 2013-05-21  Andreas Schwab  <schwab@suse.de>
16160         [BZ #15493]
16161         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16162         * setjmp/tst-sigsetjmp.c: New test.
16164 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16166         * sysdeps/x86_64/memset.S (memset): New implementation.
16167         (__bzero): Likewise.
16168         (__memset_tail): New function.
16170 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16172         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16174         __memcpy_sse2_unaligned ifunc selection.
16175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16176         Add memcpy-sse2-unaligned.S.
16177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16178         Add: __memcpy_sse2_unaligned.
16180 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #15490]
16183         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16184         math_force_eval before restoring floating-point envrionment.
16185         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16187         Likewise.
16188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16189         <math_private.h>.
16190         (__nearbyintl): Use math_force_eval before restoring
16191         floating-point environment.
16192         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16194         * math/gen-libm-test.pl (special_functions): Remove.
16195         (parse_args): Don't handle TEST_extra.  Handle functions with no
16196         return value.
16197         * math/libm-test.inc (struct test_sincos_data): Replace with
16198         struct test_fFF_11_data.
16199         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16200         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16201         (sincos_test_data): Change element type to struct
16202         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16203         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16204         RUN_TEST_LOOP_sincos.
16205         * math/README.libm-test: Don't mention special handling of
16206         individual functions.
16207         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16211         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16214         * math/gen-libm-test.pl (get_variable): Remove function.
16215         (parse_args): Don't show pointer parameters to call in test
16216         names.  Use "extra output N" in test names for extra outputs
16217         rather than naming variables.
16219 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16221         [BZ #15488]
16222         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16223         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16224         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16225         double tests.
16226         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16227         disable.
16228         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16229         check_long_double.
16231         * math/gen-libm-test.pl (@tests): Remove variable.
16232         ($count): Likewise.
16233         (new_test): Remove function.
16234         (show_exceptions): New function.
16235         (special_functions): Use show_exceptions instead of new_test.
16236         (parse_args): Likewise.
16237         (generate_testfile): Pass only function name in generated call to
16238         print_max_error or print_complex_max_error.
16239         (get_ulps): Do not handle complex tests specially.
16240         (output_test): Rename to ...
16241         (get_all_ulps_for_test): ... this.  Return a string rather than
16242         printing to a file.  Require ulps to be present.
16243         (output_ulps): Generate arrays rather than #defines.
16244         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16245         (struct ulp_data): New type.
16246         (BUILD_COMPLEX_ULP): Remove macro.
16247         (compare_ulp_data): New function.
16248         (find_ulps): Likewise.
16249         (find_test_ulps): Likewise.
16250         (find_function_ulps): Likewise.
16251         (find_complex_function_ulps): Likewise.
16252         (print_max_error): Determine allowed ulps using
16253         find_function_ulps.
16254         (print_complex_max_error): Determine allowed ulps using
16255         find_complex_function_ulps.
16256         (check_float_internal): Determine max ulps using find_test_ulps.
16257         (check_float): Do not take max_ulp parameter.  Update call to
16258         check_float_internal.
16259         (check_complex): Likewise.
16260         (check_int): Do not take max_ulp parameter.
16261         (check_long): Likewise.
16262         (check_bool): Likewise.
16263         (check_longlong): Likewise.
16264         (struct test_f_f_data): Remove max_ulp field.
16265         (struct test_ff_f_data): Likewise.
16266         (struct test_ff_f_data_nexttoward): Likewise.
16267         (struct test_fi_f_data): Likewise.
16268         (struct test_fl_f_data): Likewise.
16269         (struct test_if_f_data): Likewise.
16270         (struct test_fff_f_data): Likewise.
16271         (struct test_c_f_data): Likewise.
16272         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16273         (struct test_fF_f1_data): Likewise.
16274         (struct test_ffI_f1_data): Likewise.
16275         (struct test_c_c_data): Remove max_ulp field.
16276         (struct test_cc_c_data): Likewise.
16277         (struct test_f_i_data): Likewise.
16278         (struct test_ff_i_data): Likewise.
16279         (struct test_f_l_data): Likewise.
16280         (struct test_f_L_data): Likewise.
16281         (struct test_sincos_data): Likewise.
16282         (RUN_TEST_f_f): Do not handle ulps.
16283         (RUN_TEST_LOOP_f_f): Likewise.
16284         (RUN_TEST_2_f): Likewise.
16285         (RUN_TEST_LOOP_2_f): Likewise.
16286         (RUN_TEST_fff_f): Likewise.
16287         (RUN_TEST_LOOP_fff_f): Likewise.
16288         (RUN_TEST_c_f): Likewise.
16289         (RUN_TEST_LOOP_c_f): Likewise.
16290         (RUN_TEST_f_f1): Likewise.
16291         (RUN_TEST_LOOP_f_f1): Likewise.
16292         (RUN_TEST_fF_f1): Likewise.
16293         (RUN_TEST_LOOP_fF_f1): Likewise.
16294         (RUN_TEST_fI_f1): Likewise.
16295         (RUN_TEST_LOOP_fI_f1): Likewise.
16296         (RUN_TEST_ffI_f1): Likewise.
16297         (RUN_TEST_LOOP_ffI_f1): Likewise.
16298         (RUN_TEST_c_c): Likewise.
16299         (RUN_TEST_LOOP_c_c): Likewise.
16300         (RUN_TEST_cc_c): Likewise.
16301         (RUN_TEST_LOOP_cc_c): Likewise.
16302         (RUN_TEST_f_i): Likewise.
16303         (RUN_TEST_LOOP_f_i): Likewise.
16304         (RUN_TEST_f_i_tg): Likewise.
16305         (RUN_TEST_LOOP_f_i_tg): Likewise.
16306         (RUN_TEST_ff_i_tg): Likewise.
16307         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16308         (RUN_TEST_f_b): Likewise.
16309         (RUN_TEST_LOOP_f_b): Likewise.
16310         (RUN_TEST_f_b_tg): Likewise.
16311         (RUN_TEST_LOOP_f_b_tg): Likewise.
16312         (RUN_TEST_f_l): Likewise.
16313         (RUN_TEST_LOOP_f_l): Likewise.
16314         (RUN_TEST_f_L): Likewise.
16315         (RUN_TEST_LOOP_f_L): Likewise.
16316         (RUN_TEST_sincos): Likewise.
16317         (RUN_TEST_LOOP_sincos): Likewise.
16319 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16321         [BZ #15480]
16322         [BZ #15485]
16323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16324         main case of finite arguments, set rounding mode to FE_TONEAREST
16325         and discard exceptions.
16326         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16327         exceptions.
16328         (remainder_tonearest_test_data): New variable.
16329         (remainder_test_tonearest): New function.
16330         (remainder_towardzero_test_data): New variable.
16331         (remainder_test_towardzero): New function.
16332         (remainder_downward_test_data): New variable.
16333         (remainder_test_downward): New function.
16334         (remainder_upward_test_data): New variable.
16335         (remainder_test_upward): New function.
16336         (main): Call the new test functions.
16338         * math/libm-test.inc (struct test_f_f1_data): Remove field
16339         extra_init.
16340         (struct test_fF_f1_data): Likewise.
16341         (struct test_ffI_f1_data): Likewise.
16342         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16343         based on value of EXTRA_EXPECTED.
16344         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16345         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16346         EXTRA_VAR based on value of EXTRA_EXPECTED.
16347         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16348         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16349         EXTRA_VAR based on value of EXTRA_EXPECTED.
16350         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16351         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16352         EXTRA_VAR based on value of EXTRA_EXPECTED.
16353         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16354         * math/gen-libm-test.pl (parse_args): Don't output initializers
16355         for extra output values.
16357         * math/libm-test.inc (check_int): Expect result to be exactly
16358         equal to expected value and do not handle ulps.
16359         (check_long): Likewise.
16360         (check_longlong): Likewise.
16362         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16363         exceptions.
16364         (cimag_test_data): Likewise.
16365         (conj_test_data): Likewise.
16366         (copysign_test_data): Likewise.
16367         (cproj_test_data): Likewise.
16368         (creal_test_data): Likewise.
16369         (fabs_test_data): Likewise.
16370         (fdim_test_data): Likewise.
16371         (finite_test_data): Likewise.
16372         (floor_test_data): Likewise.
16373         (fmax_test_data): Likewise.
16374         (fmin_test_data): Likewise.
16375         (fmod_test_data): Likewise.
16376         (fpclassify_test_data): Likewise.
16377         (frexp_test_data): Likewise.
16378         (ilogb_test_data): Likewise.
16379         (isfinite_test_data): Likewise.
16380         (isgreater_test_data): Likewise.
16381         (isgreaterequal_test_data): Likewise.
16382         (isinf_test_data): Likewise.
16383         (isless_test_data): Likewise.
16384         (islessequal_test_data): Likewise.
16385         (islessgreater_test_data): Likewise.
16386         (isnan_test_data): Likewise.
16387         (isnormal_test_data): Likewise.
16388         (issignaling_test_data): Likewise.
16389         (isunordered_test_data): Likewise.
16390         (ldexp_test_data): Likewise.
16391         (lrint_test_data): Likewise.
16392         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16393         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16394         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16395         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16396         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16397         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16398         test input.
16399         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16400         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16401         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16402         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16403         that test input.
16404         (lrint_downward_test_data): Test for "inexact" exceptions.
16405         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16406         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16407         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16408         test input.
16409         (lrint_upward_test_data): Test for "inexact" exceptions.
16410         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16411         test input.
16412         (llrint_test_data): Test for "inexact" exceptions.
16413         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16414         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16415         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16416         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16417         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16418         (llrint_downward_test_data): Test for "inexact" exceptions.
16419         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16420         (llrint_upward_test_data): Test for "inexact" exceptions.
16421         (logb_test_data): Likewise.
16422         (logb_downward_test_data): Likewise.
16423         (nextafter_test_data): Likewise.
16424         (nexttoward_test_data): Likewise.
16425         (remainder_test_data): Likewise.
16426         (remquo_test_data): Likewise.
16427         (scalbn_test_data): Likewise.
16428         (scalbln_test_data): Likewise.
16429         (signbit_test_data): Likewise.
16430         (sqrt_test_data): Likewise.
16431         (significand_test_data): Likewise.
16433 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16435         [BZ #15424]
16436         * benchtests/bench-modf.c (struct args): Mark arg0 as
16437         volatile.
16438         * scripts/bench.pl: Mark members of struct args as volatile.
16440 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16442         [BZ # 15497]
16443         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16444         negative infinity on POWER6 or lower.
16445         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16447 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16449         [BZ #15442]
16450         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16451         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16452         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16453         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16454         (_FP_SETQNAN): New macro.
16455         (_FP_SETQNAN_SEMIRAW): Likewise.
16456         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16457         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16458         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16459         (FP_EXTEND): Use _FP_FRAC_SNANP.
16460         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16461         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16462         into account.
16463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16464         New macro.
16465         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16466         Likewise.
16468 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16470         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16471         with DIVIDE_BY_ZERO_EXCEPTION.
16472         (gamma_test_data): Likewise.
16473         (lgamma_test_data): Likewise.
16474         (log_test_data): Likewise.
16475         (log10_test_data): Likewise.
16476         (log2_test_data): Likewise.
16477         (tgamma_test_data): Likewise.
16479         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16480         (acos_test_tonearest): Likewise.
16481         (acos_test_towardzero): Likewise.
16482         (acos_test_downward): Likewise.
16483         (acos_test_upward): Likewise.
16484         (acosh_test): Likewise.
16485         (asin_test): Likewise.
16486         (asin_test_tonearest): Likewise.
16487         (asin_test_towardzero): Likewise.
16488         (asin_test_downward): Likewise.
16489         (asin_test_upward): Likewise.
16490         (asinh_test): Likewise.
16491         (atan_test): Likewise.
16492         (atanh_test): Likewise.
16493         (atan2_test): Likewise.
16494         (cabs_test): Likewise.
16495         (cacos_test): Likewise.
16496         (cacosh_test): Likewise.
16497         (casin_test): Likewise.
16498         (casinh_test): Likewise.
16499         (catan_test): Likewise.
16500         (catanh_test): Likewise.
16501         (cbrt_test): Likewise.
16502         (ccos_test): Likewise.
16503         (ccosh_test): Likewise.
16504         (cexp_test): Likewise.
16505         (clog_test): Likewise.
16506         (clog10_test): Likewise.
16507         (cos_test): Likewise.
16508         (cos_test_tonearest): Likewise.
16509         (cos_test_towardzero): Likewise.
16510         (cos_test_downward): Likewise.
16511         (cos_test_upward): Likewise.
16512         (cosh_test): Likewise.
16513         (cosh_test_tonearest): Likewise.
16514         (cosh_test_towardzero): Likewise.
16515         (cosh_test_downward): Likewise.
16516         (cosh_test_upward): Likewise.
16517         (cpow_test): Likewise.
16518         (csin_test): Likewise.
16519         (csinh_test): Likewise.
16520         (csqrt_test): Likewise.
16521         (ctan_test): Likewise.
16522         (ctan_test_tonearest): Likewise.
16523         (ctan_test_towardzero): Likewise.
16524         (ctan_test_downward): Likewise.
16525         (ctan_test_upward): Likewise.
16526         (ctanh_test): Likewise.
16527         (ctanh_test_tonearest): Likewise.
16528         (ctanh_test_towardzero): Likewise.
16529         (ctanh_test_downward): Likewise.
16530         (ctanh_test_upward): Likewise.
16531         (erf_test): Likewise.
16532         (erfc_test): Likewise.
16533         (exp_test): Likewise.
16534         (exp_test_tonearest): Likewise.
16535         (exp_test_towardzero): Likewise.
16536         (exp_test_downward): Likewise.
16537         (exp_test_upward): Likewise.
16538         (exp10_test): Likewise.
16539         (exp2_test): Likewise.
16540         (expm1_test): Likewise.
16541         (fmod_test): Likewise.
16542         (gamma_test): Likewise.
16543         (hypot_test): Likewise.
16544         (j0_test): Likewise.
16545         (j1_test): Likewise.
16546         (jn_test): Likewise.
16547         (lgamma_test): Likewise.
16548         (log_test): Likewise.
16549         (log10_test): Likewise.
16550         (log1p_test): Likewise.
16551         (log2_test): Likewise.
16552         (logb_test_downward): Likewise.
16553         (pow_test): Likewise.
16554         (pow_test_tonearest): Likewise.
16555         (pow_test_towardzero): Likewise.
16556         (pow_test_downward): Likewise.
16557         (pow_test_upward): Likewise.
16558         (remainder_test): Likewise.
16559         (remquo_test): Likewise.
16560         (sin_test): Likewise.
16561         (sin_test_tonearest): Likewise.
16562         (sin_test_towardzero): Likewise.
16563         (sin_test_downward): Likewise.
16564         (sin_test_upward): Likewise.
16565         (sincos_test): Likewise.
16566         (sinh_test): Likewise.
16567         (sinh_test_tonearest): Likewise.
16568         (sinh_test_towardzero): Likewise.
16569         (sinh_test_downward): Likewise.
16570         (sinh_test_upward): Likewise.
16571         (sqrt_test): Likewise.
16572         (tan_test): Likewise.
16573         (tan_test_tonearest): Likewise.
16574         (tan_test_towardzero): Likewise.
16575         (tan_test_downward): Likewise.
16576         (tan_test_upward): Likewise.
16577         (tanh_test): Likewise.
16578         (tgamma_test): Likewise.
16579         (y0_test): Likewise.
16580         (y1_test): Likewise.
16581         (yn_test): Likewise.
16583         * math/gen-libm-test.pl (adjust_arg): Remove function.
16584         (special_function): Remove argument $in_func.  Only handle
16585         generating output for tables of tests, not inside functions.
16586         (parse_args): Likewise.
16587         (generate_testfile): Remove variable $in_func.  Update call to
16588         parse_args.
16589         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16590         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16591         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16592         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16593         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16594         (MAX_VALUE_INIT): Rename macro to max_value.
16595         (MIN_VALUE_INIT): Rename macro to min_value.
16596         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16597         (plus_zero): Remove variable.
16598         (minus_zero): Likewise.
16599         (plus_infty): Likewise.
16600         (minus_infty): Likewise.
16601         (qnan_value): Likewise.
16602         (max_value): Likewise.
16603         (min_value): Likewise.
16604         (min_subnorm_value): Likewise.
16606 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16608         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16609         uint64_t or uint32_t usage.
16610         * crypt/sha256-block.c: Likewise.
16611         * crypt/sha256-crypt.c: Likewise.
16612         * crypt/sha256.c: Likewise.
16613         * crypt/sha512-block.c: Likewise.
16614         * crypt/sha512-crypt.c: Likewise.
16615         * crypt/sha512.c: Likewise.
16616         * debug/backtrace-tst.c: Likewise.
16617         * debug/pcprofiledump.c: Likewise.
16618         * elf/cache.c: Likewise.
16619         * elf/dl-cache.c: Likewise.
16620         * elf/dl-misc.c: Likewise.
16621         * elf/dl-profile.c: Likewise.
16622         * elf/dl-support.c: Likewise.
16623         * elf/ldconfig.c: Likewise.
16624         * elf/sprof.c: Likewise.
16625         * iconv/dummy-repertoire.c: Likewise.
16626         * iconv/iconv_charmap.c: Likewise.
16627         * iconv/skeleton.c: Likewise.
16628         * iconvdata/8bit-generic.c: Likewise.
16629         * iconvdata/cp737.h: Likewise.
16630         * iconvdata/cp775.h: Likewise.
16631         * iconvdata/ibm1008.h: Likewise.
16632         * iconvdata/ibm1025.h: Likewise.
16633         * iconvdata/ibm1046.h: Likewise.
16634         * iconvdata/ibm1097.h: Likewise.
16635         * iconvdata/ibm1112.h: Likewise.
16636         * iconvdata/ibm1122.h: Likewise.
16637         * iconvdata/ibm1123.h: Likewise.
16638         * iconvdata/ibm1124.h: Likewise.
16639         * iconvdata/ibm1129.h: Likewise.
16640         * iconvdata/ibm1130.h: Likewise.
16641         * iconvdata/ibm1132.h: Likewise.
16642         * iconvdata/ibm1133.h: Likewise.
16643         * iconvdata/ibm1137.h: Likewise.
16644         * iconvdata/ibm1140.h: Likewise.
16645         * iconvdata/ibm1141.h: Likewise.
16646         * iconvdata/ibm1142.h: Likewise.
16647         * iconvdata/ibm1143.h: Likewise.
16648         * iconvdata/ibm1144.h: Likewise.
16649         * iconvdata/ibm1145.h: Likewise.
16650         * iconvdata/ibm1146.h: Likewise.
16651         * iconvdata/ibm1147.h: Likewise.
16652         * iconvdata/ibm1148.h: Likewise.
16653         * iconvdata/ibm1149.h: Likewise.
16654         * iconvdata/ibm1153.h: Likewise.
16655         * iconvdata/ibm1154.h: Likewise.
16656         * iconvdata/ibm1155.h: Likewise.
16657         * iconvdata/ibm1156.h: Likewise.
16658         * iconvdata/ibm1157.h: Likewise.
16659         * iconvdata/ibm1158.h: Likewise.
16660         * iconvdata/ibm1160.h: Likewise.
16661         * iconvdata/ibm1161.h: Likewise.
16662         * iconvdata/ibm1162.h: Likewise.
16663         * iconvdata/ibm1163.h: Likewise.
16664         * iconvdata/ibm1164.h: Likewise.
16665         * iconvdata/ibm1166.h: Likewise.
16666         * iconvdata/ibm1167.h: Likewise.
16667         * iconvdata/ibm12712.h: Likewise.
16668         * iconvdata/ibm1390.h: Likewise.
16669         * iconvdata/ibm1399.h: Likewise.
16670         * iconvdata/ibm16804.h: Likewise.
16671         * iconvdata/ibm4517.h: Likewise.
16672         * iconvdata/ibm4899.h: Likewise.
16673         * iconvdata/ibm4909.h: Likewise.
16674         * iconvdata/ibm4971.h: Likewise.
16675         * iconvdata/ibm5347.h: Likewise.
16676         * iconvdata/ibm803.h: Likewise.
16677         * iconvdata/ibm856.h: Likewise.
16678         * iconvdata/ibm901.h: Likewise.
16679         * iconvdata/ibm902.h: Likewise.
16680         * iconvdata/ibm9030.h: Likewise.
16681         * iconvdata/ibm9066.h: Likewise.
16682         * iconvdata/ibm921.h: Likewise.
16683         * iconvdata/ibm922.h: Likewise.
16684         * iconvdata/ibm9448.h: Likewise.
16685         * iconvdata/isiri-3342.h: Likewise.
16686         * iconvdata/jis0201.h: Likewise.
16687         * include/link.h: Likewise.
16688         * include/netdb.h: Likewise.
16689         * inet/check_native.c: Likewise.
16690         * inet/check_pf.c: Likewise.
16691         * inet/getipv4sourcefilter.c: Likewise.
16692         * inet/getnameinfo.c: Likewise.
16693         * inet/getsourcefilter.c: Likewise.
16694         * inet/htonl.c: Likewise.
16695         * inet/setipv4sourcefilter.c: Likewise.
16696         * inet/setsourcefilter.c: Likewise.
16697         * inet/test-inet6_opt.c: Likewise.
16698         * inet/tst-network.c: Likewise.
16699         * locale/C-collate.c: Likewise.
16700         * locale/C-ctype.c: Likewise.
16701         * locale/C-time.c: Likewise.
16702         * locale/C-translit.h: Likewise.
16703         * locale/loadarchive.c: Likewise.
16704         * locale/programs/3level.h: Likewise.
16705         * locale/programs/charmap.c: Likewise.
16706         * locale/programs/charmap.h: Likewise.
16707         * locale/programs/ld-address.c: Likewise.
16708         * locale/programs/ld-collate.c: Likewise.
16709         * locale/programs/ld-ctype.c: Likewise.
16710         * locale/programs/ld-identification.c: Likewise.
16711         * locale/programs/ld-measurement.c: Likewise.
16712         * locale/programs/ld-messages.c: Likewise.
16713         * locale/programs/ld-monetary.c: Likewise.
16714         * locale/programs/ld-name.c: Likewise.
16715         * locale/programs/ld-numeric.c: Likewise.
16716         * locale/programs/ld-paper.c: Likewise.
16717         * locale/programs/ld-telephone.c: Likewise.
16718         * locale/programs/ld-time.c: Likewise.
16719         * locale/programs/linereader.c: Likewise.
16720         * locale/programs/locale.c: Likewise.
16721         * locale/programs/locarchive.c: Likewise.
16722         * locale/programs/locfile.h: Likewise.
16723         * locale/programs/repertoire.c: Likewise.
16724         * locale/programs/simple-hash.c: Likewise.
16725         * locale/programs/simple-hash.h: Likewise.
16726         * malloc/memusage.c: Likewise.
16727         * malloc/memusagestat.c: Likewise.
16728         * nis/nis_defaults.c: Likewise.
16729         * nis/nis_hash.c: Likewise.
16730         * nis/nis_print.c: Likewise.
16731         * nis/nis_xdr.c: Likewise.
16732         * nscd/connections.c: Likewise.
16733         * nscd/hstcache.c: Likewise.
16734         * nscd/nscd_gethst_r.c: Likewise.
16735         * nscd/nscd_getserv_r.c: Likewise.
16736         * nscd/nscd_helper.c: Likewise.
16737         * nscd/servicescache.c: Likewise.
16738         * nss/makedb.c: Likewise.
16739         * nss/nss_db/db-XXX.c: Likewise.
16740         * nss/nss_db/db-initgroups.c: Likewise.
16741         * nss/nss_db/db-netgrp.c: Likewise.
16742         * nss/nss_files/files-network.c: Likewise.
16743         * nss/nss_files/files-parse.c: Likewise.
16744         * posix/bug-regex5.c: Likewise.
16745         * posix/fnmatch_loop.c: Likewise.
16746         * posix/regcomp.c: Likewise.
16747         * posix/regexec.c: Likewise.
16748         * posix/tst-rfc3484-2.c: Likewise.
16749         * posix/tst-rfc3484-3.c: Likewise.
16750         * posix/tst-rfc3484.c: Likewise.
16751         * resolv/nss_dns/dns-canon.c: Likewise.
16752         * resolv/nss_dns/dns-network.c: Likewise.
16753         * resolv/res_init.c: Likewise.
16754         * resolv/res_mkquery.c: Likewise.
16755         * resolv/tst-aton.c: Likewise.
16756         * stdlib/cxa_atexit.c: Likewise.
16757         * stdlib/cxa_finalize.c: Likewise.
16758         * stdlib/gen-fpioconst.c: Likewise.
16759         * stdlib/strtol_l.c: Likewise.
16760         * string/tst-endian.c: Likewise.
16761         * sunrpc/auth_des.c: Likewise.
16762         * sunrpc/clnt_udp.c: Likewise.
16763         * sunrpc/rtime.c: Likewise.
16764         * sunrpc/svcauth_des.c: Likewise.
16765         * sunrpc/xdr.c: Likewise.
16766         * sunrpc/xdr_intXX_t.c: Likewise.
16767         * sunrpc/xdr_rec.c: Likewise.
16768         * sysdeps/generic/ldconfig.h: Likewise.
16769         * sysdeps/generic/ldsodefs.h: Likewise.
16770         * sysdeps/generic/memusage.h: Likewise.
16771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16774         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16775         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16777         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16778         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16779         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16781         * sysdeps/posix/getaddrinfo.c: Likewise.
16782         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16783         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16784         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16785         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16786         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16787         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16788         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16789         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16790         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16791         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16792         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16794         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16795         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16796         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16797         * sysdeps/x86_64/dl-tls.h: Likewise.
16798         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16799         * time/alt_digit.c: Likewise.
16800         * time/era.c: Likewise.
16801         * wcsmbs/tst-c16c32-1.c: Likewise.
16803 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16805         * math/libm-test.inc (struct test_sincos_data): New type.
16806         (RUN_TEST_LOOP_sincos): New macro.
16807         (sincos_test_data): New variable.
16808         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16810 2013-05-16  Richard Henderson  <rth@redhat.com>
16812         * math/atest-exp2.c (LIMB64): New macro.
16813         (CONSTSZ): New macro.
16814         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16815         (hexdig): Move ...
16816         (print_mpn_fp): ... to function scope.
16817         (read_mpn_hex): Remove.
16818         (get_log2): Remove.
16819         (exp2_mpn): Use mp_log2.
16820         (main): Use mp_exp1.
16822 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16824         * math/libm-test.inc: Remove comment about not testing "inexact"
16825         exceptions.
16826         (INEXACT_EXCEPTION): New macro.
16827         (NO_INEXACT_EXCEPTION): Likewise.
16828         (INVALID_EXCEPTION_OK): Update value.
16829         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16830         (OVERFLOW_EXCEPTION_OK): Likewise.
16831         (UNDERFLOW_EXCEPTION_OK): Likewise.
16832         (IGNORE_ZERO_INF_SIGN): Likewise.
16833         (ERRNO_UNCHANGED): Likewise.
16834         (ERRNO_EDOM): Likewise.
16835         (ERRNO_ERANGE): Likewise.
16836         (test_exceptions): Handle testing "inexact" exceptions.
16837         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16838         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16839         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16840         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16841         INEXACT_EXCEPTION.
16842         (rint_towardzero_test_data): Likewise.
16843         (rint_downward_test_data): Likewise.
16844         (rint_upward_test_data): Likewise.
16846         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16847         with OVERFLOW_EXCEPTION.
16848         (exp10_test_data): Likewise.
16849         (exp2_test_data): Likewise.
16850         (expm1_test_data): Likewise.
16851         (lgamma_test_data): Likewise.
16852         (pow_test_data): Likewise.
16853         (tgamma_test_data): Likewise.
16854         (yn_test_data): Remove duplicate test of overflow.
16856         * math/libm-test.inc (struct test_cc_c_data): New type.
16857         (RUN_TEST_LOOP_cc_c): New macro.
16858         (cpow_test_data): New variable.
16859         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16861         * math/libm-test.inc (struct test_f_L_data): New type.
16862         (RUN_TEST_LOOP_f_L): New macro.
16863         (llrint_test_data): New variable.
16864         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16865         (llrint_tonearest_test_data): New variable.
16866         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16867         (llrint_towardzero_test_data): New variable.
16868         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16869         (llrint_downward_test_data): New variable.
16870         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16871         (llrint_upward_test_data): New variable.
16872         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16873         (llround_test_data): New variable.
16874         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16876 2013-05-13  Peter Collingbourne  <pcc@google.com>
16878         * math/atest-exp2.c (get_log2): Remove const attribute.
16880 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16882         * math/libm-test.inc (struct test_f_l_data): New type.
16883         (RUN_TEST_LOOP_f_l): New macro.
16884         (lrint_test_data): New variable.
16885         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16886         (lrint_tonearest_test_data): New variable.
16887         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16888         (lrint_towardzero_test_data): New variable.
16889         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16890         (lrint_downward_test_data): New variable.
16891         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16892         (lrint_upward_test_data): New variable.
16893         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16894         (lround_test_data): New variable.
16895         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16897 2013-05-15  Peter Collingbourne  <pcc@google.com>
16899         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16900         (EXTRACT_WORDS64) Use where appropriate.
16901         (INSERT_WORDS64) Likewise.
16903         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16904         constraints with x constraints.
16905         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16907         * malloc/obstack.c (_obstack_compat): Add initializer.
16909 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16911         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16912         si_trapno and add si_addr_lsb to _sifields.sigfault.
16913         (si_trapno): Remove macro.
16914         (si_addr_lsb): Define new macro.
16915         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16917 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16919         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16920         instead of TEST_f_l.
16921         (llrint_test_tonearest): Likewise.
16922         (llrint_test_towardzero): Likewise.
16923         (llrint_test_downward): Likewise.
16924         (llrint_test_upward): Likewise.
16925         (llround_test): Likewise.
16927         * math/libm-test.inc (struct test_f_i_data): Add comment.
16928         (RUN_TEST_LOOP_f_b): New macro.
16929         (RUN_TEST_LOOP_f_b_tg): Likewise.
16930         (finite_test_data): New variable.
16931         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16932         (isfinite_test_data): New variable.
16933         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16934         (isinf_test_data): New variable.
16935         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16936         (isnan_test_data): New variable.
16937         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16938         (isnormal_test_data): New variable.
16939         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16940         (issignaling_test_data): New variable.
16941         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16942         (signbit_test_data): New variable.
16943         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16945         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16946         with INVALID_EXCEPTION.
16947         (acosh_test_data): Likewise.
16948         (asin_test_data): Likewise.
16949         (atanh_test_data): Likewise.
16950         (fmod_test_data): Likewise.
16951         (log_test_data): Likewise.
16952         (log10_test_data): Likewise.
16953         (log2_test_data): Likewise.
16954         (pow_test_data): Likewise.
16955         (sqrt_test_data): Likewise.
16956         (y0_test_data): Likewise.
16957         (y1_test_data): Likewise.
16958         (yn_test_data): Likewise.
16960         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16961         function contents.
16963         * math/libm-test.inc (struct test_ff_i_data): New type.
16964         (RUN_TEST_LOOP_ff_i_tg): New macro.
16965         (isgreater_test_data): New variable.
16966         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16967         (isgreaterequal_test_data): New variable.
16968         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16969         (isless_test_data): New variable.
16970         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16971         (islessequal_test_data): New variable.
16972         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16973         (islessgreater_test_data): New variable.
16974         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16975         (isunordered_test_data): New variable.
16976         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16978 2013-05-14  David S. Miller  <davem@davemloft.net>
16980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16982 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16984         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16986         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16987         extra_test to int.
16988         (struct test_f_i_data): Change type of max_ulp to int.
16990         * math/libm-test.inc (test_ffI_f1_data): New type.
16991         (RUN_TEST_LOOP_ffI_f1): New macro.
16992         (remquo_test_data): New variable.
16993         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16995         * setjmp/tst-setjmp-fp.c: New file.
16996         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16997         (link-libm): New variable.
16998         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17000         * math/libm-test.inc (struct test_f_i_data): New type.
17001         (RUN_TEST_LOOP_f_i): New macro.
17002         (RUN_TEST_LOOP_f_i_tg): Likewise.
17003         (fpclassify_test_data): New variable.
17004         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17005         (ilogb_test_data): New variable.
17006         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17008         * math/libm-test.inc (scalbln_test): Correct function name in END
17009         call.
17011         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17012         (RUN_TEST_LOOP_fI_f1): New macro.
17013         (frexp_test_data): New variable.
17014         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17016         * math/libm-test.inc (struct test_fF_f1_data): New type.
17017         (RUN_TEST_LOOP_fF_f1): New macro.
17018         (modf_test_data): New variable.
17019         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17021         * math/libm-test.inc (struct test_f_f1_data): New type.
17022         (RUN_TEST_LOOP_f_f1): New macro.
17023         (gamma_test_data): New variable.
17024         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17025         (lgamma_test_data): New variable.
17026         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17028 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17031         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17032         (main): Comment "tls" pseudo-hwcap.
17034 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17036         * math/libm-test.inc (struct test_fl_f_data): New type.
17037         (RUN_TEST_LOOP_fl_f): New variable.
17038         (scalbln_test_data): New variable.
17039         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17041         * math/libm-test.inc (struct test_fi_f_data): New type.
17042         (RUN_TEST_LOOP_fi_f): New macro.
17043         (ldexp_test_data): New variable.
17044         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17045         (scalbn_test_data): New variable.
17046         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17048         * math/libm-test.inc (struct test_c_f_data): New type.
17049         (RUN_TEST_LOOP_c_f): New macro.
17050         (cabs_test_data): New variable.
17051         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17052         (carg_test_data): New variable.
17053         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17054         (cimag_test_data): New variable.
17055         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17056         (creal_test_data): New variable.
17057         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17059         * math/libm-test.inc (struct test_if_f_data): New type.
17060         (RUN_TEST_LOOP_if_f): New macro.
17061         (jn_test_data): New variable.
17062         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17063         (yn_test_data): New variable.
17064         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17066         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17068 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17070         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17071         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17073 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17075         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17076         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17077         (bench-deps): Add bench-timing.h.
17078         * benchtests-bench-skeleton.c: Include bench-timing.h.
17079         (main): Use TIMING_* macros instead of clock_gettime.
17080         * benchtests/bench-timing.h: New file.
17082         [BZ #14582]
17083         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17084         Renamed from _LIB_VERSION.
17085         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17087 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17089         * math/libm-test.inc (struct test_fff_f_data): New type.
17090         (RUN_TEST_LOOP_fff_f): New macro.
17091         (fma_test_data): New variable.
17092         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17093         (fma_towardzero_test_data): New variable.
17094         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17095         (fma_downward_test_data): New variable.
17096         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17097         (fma_upward_test_data): New variable.
17098         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17100         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17101         (struct test_c_c_data): New type.
17102         (RUN_TEST_LOOP_c_c): New macro.
17103         (cacos_test_data): New variable.
17104         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17105         (cacosh_test_data): New variable.
17106         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17107         (casin_test_data): New variable.
17108         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17109         (casinh_test_data): New variable.
17110         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17111         (catan_test_data): New variable.
17112         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17113         (catanh_test_data): New variable.
17114         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17115         (ccos_test_data): New variable.
17116         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17117         (ccosh_test_data): New variable.
17118         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17119         (cexp_test_data): New variable.
17120         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17121         (clog_test_data): New variable.
17122         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17123         (clog10_test_data): New variable.
17124         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17125         (conj_test_data): New variable.
17126         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17127         (cproj_test_data): New variable.
17128         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17129         (csin_test_data): New variable.
17130         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17131         (csinh_test_data): New variable.
17132         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17133         (csqrt_test_data): New variable.
17134         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17135         (ctan_test_data): New variable.
17136         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17137         (ctan_tonearest_test_data): New variable.
17138         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17139         (ctan_towardzero_test_data): New variable.
17140         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17141         (ctan_downward_test_data): New variable.
17142         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17143         (ctan_upward_test_data): New variable.
17144         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17145         (ctanh_test_data): New variable.
17146         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17147         (ctanh_tonearest_test_data): New variable.
17148         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17149         (ctanh_towardzero_test_data): New variable.
17150         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17151         (ctanh_downward_test_data): New variable.
17152         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17153         (ctanh_upward_test_data): New variable.
17154         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17155         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17156         of BUILD_COMPLEX.
17158         * math/libm-test.inc (struct test_ff_f_data): New type.
17159         (struct test_ff_f_data_nexttoward): Likewise.
17160         (RUN_TEST_LOOP_2_f): New macro.
17161         (RUN_TEST_LOOP_ff_f): Likewise.
17162         (atan2_test_data): New variable.
17163         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17164         (copysign_test_data): New variable.
17165         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17166         (fdim_test_data): New variable.
17167         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17168         (fmax_test_data): New variable.
17169         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17170         (fmin_test_data): New variable.
17171         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17172         (fmod_test_data): New variable.
17173         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17174         (hypot_test_data): New variable.
17175         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17176         (nextafter_test_data): New variable.
17177         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17178         (nexttoward_test_data): New variable.
17179         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17180         (pow_test_data): New variable.
17181         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17182         (pow_tonearest_test_data): New variable.
17183         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17184         (pow_towardzero_test_data): New variable.
17185         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17186         (pow_downward_test_data): New variable.
17187         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17188         (pow_upward_test_data): New variable.
17189         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17190         (remainder_test_data): New variable.
17191         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17192         (scalb_test_data): New variable.
17193         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17198         * math/libm-test.inc (fma_test): Use max_value instead of local
17199         variable fltmax.
17200         (nextafter_test): Likewise.
17202         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17203         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17204         (acos_downward_test_data): New variable.
17205         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17206         (acos_upward_test_data): New variable.
17207         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17208         (acosh_test_data): New variable.
17209         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17210         (asin_test_data): New variable.
17211         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17212         (asin_tonearest_test_data): New variable.
17213         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17214         (asin_towardzero_test_data): New variable.
17215         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17216         (asin_downward_test_data): New variable.
17217         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17218         (asin_upward_test_data): New variable.
17219         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17220         (asinh_test_data): New variable.
17221         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17222         (atan_test_data): New variable.
17223         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17224         (atanh_test_data): New variable.
17225         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17226         (cbrt_test_data): New variable.
17227         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17228         (ceil_test_data): New variable.
17229         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17230         (cos_test_data): New variable.
17231         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17232         (cos_tonearest_test_data): New variable.
17233         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17234         (cos_towardzero_test_data): New variable.
17235         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17236         (cos_downward_test_data): New variable.
17237         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17238         (cos_upward_test_data): New variable.
17239         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17240         (cosh_test_data): New variable.
17241         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17242         (cosh_tonearest_test_data): New variable.
17243         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17244         (cosh_towardzero_test_data): New variable.
17245         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17246         (cosh_downward_test_data): New variable.
17247         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17248         (cosh_upward_test_data): New variable.
17249         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17250         (erf_test_data): New variable.
17251         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17252         (erfc_test_data): New variable.
17253         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17254         (exp_test_data): New variable.
17255         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17256         (exp_tonearest_test_data): New variable.
17257         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17258         (exp_towardzero_test_data): New variable.
17259         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17260         (exp_downward_test_data): New variable.
17261         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17262         (exp_upward_test_data): New variable.
17263         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17264         (exp10_test_data): New variable.
17265         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17266         (exp2_test_data): New variable.
17267         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17268         (expm1_test_data): New variable.
17269         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17270         (fabs_test_data): New variable.
17271         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17272         (floor_test_data): New variable.
17273         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17274         (j0_test_data): New variable.
17275         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17276         (j1_test_data): New variable.
17277         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17278         (log_test_data): New variable.
17279         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17280         (log10_test_data): New variable.
17281         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17282         (log1p_test_data): New variable.
17283         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17284         (log2_test_data): New variable.
17285         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17286         (logb_test_data): New variable.
17287         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17288         (logb_downward_test_data): New variable.
17289         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17290         (nearbyint_test_data): New variable.
17291         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17292         (rint_test_data): New variable.
17293         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17294         (rint_tonearest_test_data): New variable.
17295         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17296         (rint_towardzero_test_data): New variable.
17297         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17298         (rint_downward_test_data): New variable.
17299         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17300         (rint_upward_test_data): New variable.
17301         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17302         (round_test_data): New variable.
17303         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17304         (sin_test_data): New variable.
17305         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17306         (sin_tonearest_test_data): New variable.
17307         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17308         (sin_towardzero_test_data): New variable.
17309         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17310         (sin_downward_test_data): New variable.
17311         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17312         (sin_upward_test_data): New variable.
17313         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17314         (sinh_test_data): New variable.
17315         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17316         (sinh_tonearest_test_data): New variable.
17317         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17318         (sinh_towardzero_test_data): New variable.
17319         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17320         (sinh_downward_test_data): New variable.
17321         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17322         (sinh_upward_test_data): New variable.
17323         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17324         (sqrt_test_data): New variable.
17325         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17326         (tan_test_data): New variable.
17327         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17328         (tan_tonearest_test_data): New variable.
17329         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17330         (tan_towardzero_test_data): New variable.
17331         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17332         (tan_downward_test_data): New variable.
17333         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17334         (tan_upward_test_data): New variable.
17335         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17336         (tanh_test_data): New variable.
17337         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17338         (tgamma_test_data): New variable.
17339         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17340         (trunc_test_data): New variable.
17341         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17342         (y0_test_data): New variable.
17343         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17344         (y1_test_data): New variable.
17345         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17346         (significand_test_data): New variable.
17347         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17349 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17351         [BZ #12387]
17352         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17354 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17356         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17358 2013-05-10  Andreas Jaeger  <aj@suse.de>
17360         [BZ #15448]
17361         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17362         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17364 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17366         * math/gen-libm-test.pl (adjust_arg): New function.
17367         (special_functions): Handle generating output in both functions
17368         and arrays.
17369         (parse_args): Likewise.
17370         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17371         $in_func argument to parse_args.
17372         * math/libm-test.inc (struct test_f_f_data): New type.
17373         (IF_ROUND_INIT_): New macro.
17374         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17375         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17376         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17377         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17378         (ROUND_RESTORE_): Likewise.
17379         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17380         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17381         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17382         (ROUND_RESTORE_FE_UPWARD): Likewise.
17383         (RUN_TEST_LOOP_f_f): New macro.
17384         (acos_test_data): New variable.
17385         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17386         (acos_tonearest_test_data): New variable.
17387         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17389 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17391         * benchtests/bench-skeleton.c (startup): Fix coding style.
17393 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17395         [BZ #6809]
17396         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17397         negative infinity argument.
17398         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17399         negative infinity argument.
17400         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17401         negative infinity argument.
17402         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17403         domain errors.
17405 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17407         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17408         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17409         * iconv/iconv_prog.c (main): Likewise.
17410         * locale/programs/charmap-dir.c (charmap_readdir)
17411         (fopen_uncompressed): Likewise.
17412         * locale/programs/locfile.c (siblings_uncached)
17413         (write_locale_data): Use lstat64 instead of lstat.
17414         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17415         stat.
17417 2013-05-10  Andreas Jaeger  <aj@suse.de>
17419         [BZ #15395]
17420         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17421         localization.
17422         Include <locale.h>.
17424 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17426         * elf/dl-close.c (_dl_close_worker): Add comments.
17428 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17430         [BZ #15359]
17431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17432         high part of pi/2.
17433         (__ieee754_rem_pio2l): Update comments.
17435         [BZ #15429]
17436         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17437         high part of pi/2.
17438         (__ieee754_rem_pio2l): Update comments.
17440         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17441         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17443         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17444         M_PI_4l.
17446         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17447         (M_PI_34_LOG10El): Likewise.
17448         (M_PI2_LOG10El): Likewise.
17449         (M_PI4_LOG10El): Likewise.
17450         (M_PI_LOG10El): Likewise.
17452 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17456 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17458         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17459         (MINUS_ZERO_INIT): Likewise.
17460         (PLUS_INFTY_INIT): Likewise.
17461         (MINUS_INFTY_INIT): Likewise.
17462         (QNAN_VALUE_INIT): Likewise.
17463         (MAX_VALUE_INIT): Likewise.
17464         (MIN_VALUE_INIT): Likewise.
17465         (MIN_SUBNORM_VALUE_INIT): Likewise.
17466         (plus_zero): Initialize with PLUS_ZERO_INIT.
17467         (minus_zero): Initialize with MINUS_ZERO_INIT.
17468         (plus_infty): Initialize with PLUS_INFTY_INIT.
17469         (minus_infty): Initialize with MINUS_INFTY_INIT.
17470         (qnan_value): Initialize with QNAN_VALUE_INIT.
17471         (max_value): Initialize with MAX_VALUE_INIT.
17472         (min_value): Initialize with MIN_VALUE_INIT.
17473         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17475         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17476         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17477         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17478         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17480         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17481         (RUN_TEST_2_f): Likewise.
17482         (RUN_TEST_ff_f): Likewise.
17483         (RUN_TEST_fi_f): Likewise.
17484         (RUN_TEST_fl_f): Likewise.
17485         (RUN_TEST_fff_f): Likewise.
17486         (RUN_TEST_c_f): Likewise.
17487         (RUN_TEST_f_f1): Likewise.
17488         (RUN_TEST_fF_f1): Likewise.
17489         (RUN_TEST_fI_f1): Likewise.
17490         (RUN_TEST_ffI_f1): Likewise.
17491         (RUN_TEST_c_c): Likewise.
17492         (RUN_TEST_cc_c): Likewise.
17493         (RUN_TEST_f_i): Likewise.
17494         (RUN_TEST_f_i_tg): Likewise.
17495         (RUN_TEST_ff_i_tg): Likewise.
17496         (RUN_TEST_f_b): Likewise.
17497         (RUN_TEST_f_b_tg): Likewise.
17498         (RUN_TEST_f_l): Likewise.
17499         (RUN_TEST_f_L): Likewise.
17500         (RUN_TEST_sincos): Likewise.
17501         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17502         whether to show exceptions.  Do not include ");\n" in return
17503         value.
17504         (special_functions): Output call to RUN_TEST_sincos instead of
17505         check_float calls.  Update calls to new_test.
17506         (parse_args): Output call to single RUN_TEST_* macro instead of
17507         check_* calls and other assignments.  Update calls to new_test.
17509         [BZ #2546]
17510         [BZ #2560]
17511         [BZ #5159]
17512         [BZ #15426]
17513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17514         input to result for tgamma overflow.
17515         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17516         (gamma_coeff): New variable.
17517         (NCOEFF): New macro.
17518         (gamma_positive): New function.
17519         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17520         underflow here.  Use gamma_positive instead of exp (lgamma) for
17521         other arguments.
17522         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17523         (gamma_coeff): New variable.
17524         (NCOEFF): New macro.
17525         (gammaf_positive): New function.
17526         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17527         underflow here.  Use gamma_positive instead of exp (lgamma) for
17528         other arguments.
17529         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17530         (gamma_coeff): New variable.
17531         (NCOEFF): New macro.
17532         (gammal_positive): New function.
17533         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17534         underflow here.  Use gamma_positive instead of exp (lgamma) for
17535         other arguments.
17536         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17537         (gamma_coeff): New variable.
17538         (NCOEFF): New macro.
17539         (gammal_positive): New function.
17540         (__ieee754_gammal_r): Handle positive infinity, overflow and
17541         underflow here.  Handle NaN the same as positive infinity.  Remove
17542         check x < 0xffffffff for negative integers.  Use gamma_positive
17543         instead of exp (lgamma) for other arguments.
17544         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17545         (gamma_coeff): New variable.
17546         (NCOEFF): New macro.
17547         (gammal_positive): New function.
17548         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17549         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17552         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17553         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17554         * sysdeps/generic/math_private.h (__gamma_productf): New
17555         prototype.
17556         (__gamma_product): Likewise.
17557         (__gamma_productl): Likewise.
17558         * math/Makefile (libm-calls): Add gamma_product.
17559         * math/libm-test.inc (tgamma_test): Add more tests.
17560         * sysdeps/i386/fpu/libm-test-ulps: Update.
17561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17563 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17565         * benchtests/bench-skeleton.c (main): Preheat CPU.
17567 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17569         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17571 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17573         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17574         and _dl_skip_args_internal.
17576 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17578         * manual/message.texi (Message Translation): Talk about users.
17579         Message to key mapping impacts design.
17581 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17583         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17585         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17587         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17588         * sysdeps/wordsize-64/glob64.c: ... here.
17590         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17591         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17592         New macros.
17594         * debug/getlogin_r_chk.c: Moved to ...
17595         * login/getlogin_r_chk.c: ... here.
17596         * debug/Makefile (routines): Move getlogin_r_chk to ...
17597         * login/Makefile (routines): ... here.
17598         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17599         * login/Versions (libc: GLIBC_2.4): ... here.
17601         * io/poll.c (__poll): Renamed from poll.
17602         Add libc_hidden_def.
17603         (poll): Define as weak alias.
17605         * debug/ptsname_r_chk.c: Moved to ...
17606         * login/ptsname_r_chk.c: ... here.
17607         * debug/Makefile (routines): Move ptsname_r_chk to ...
17608         * login/Makefile (routines): ... here.
17609         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17610         * login/Versions (libc: GLIBC_2.4): ... here.
17612         * posix/getlogin.c: Moved to ...
17613         * login/getlogin.c: ... here.
17614         * posix/getlogin_r.c: Moved to ...
17615         * login/getlogin_r.c: ... here.
17616         * posix/getlogin_r.c: Moved to ...
17617         * login/getlogin_r.c: ... here.
17618         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17619         * login/Makefile (routines): ... here.
17620         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17621         * login/Versions (libc: GLIBC_2.0): ... here.
17623         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17624         (setrlimit): Define as weak alias.
17626         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17627         Call __ names for open, ftruncate, and close.
17628         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17629         (truncate): Define as weak alias.
17631 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17633         * math/gen-libm-test.pl (parse_args): Initialize x before each
17634         test of frexp, modf and remquo.
17636         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17637         test signgam value.
17639 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17641         [BZ #15418]
17642         [BZ #15419]
17643         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17644         internal tests.
17645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17647 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17649         * elf/dl-writev.h: New file.
17650         * elf/dl-misc.c: Include it.
17651         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17652         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17654 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17656         * math/libm-test.inc (noXFails): Remove variable.
17657         (noXPasses): Likewise.
17658         (BUILD_COMPLEX_INT): Remove macro.
17659         (print_screen): Remove xfail argument.
17660         (print_screen_max_error): Likewise.
17661         (update_stats): Likewise.
17662         (print_max_error): Likewise.  Update calls to other affected
17663         functions.
17664         (print_complex_max_error): Likewise.
17665         (test_single_exception): Update calls to print_screen.
17666         (test_single_errno): Likewise.
17667         (check_float_internal): Remove xfail argument.  Update calls to
17668         other affected functions.
17669         (check_float): Likewise.
17670         (check_complex): Likewise.
17671         (check_int): Likewise.
17672         (check_long): Likewise.
17673         (check_bool): Likewise.
17674         (check_longlong): Likewise.
17675         (main): Don't print noXFails and noXPasses.
17676         * math/gen-libm-test.pl (top level): Don't mention expected
17677         failure handling in comment.
17678         (new_test): Don't handle expected failures.
17679         (parse_args): Don't mention expected failure handling in comment.
17680         (generate_testfile): Don't handle expected failures.
17681         (parse_ulps): Likewise.
17682         (print_ulps_file): Likewise.
17683         (get_failure): Remove function.
17684         (output_test): Don't handle expected failures.
17685         * make/README.libm-test: Don't mention expected failure handling.
17687         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17688         (minus_zero): Likewise.
17689         (plus_infty): Likewise.
17690         (minus_infty): Likewise.
17691         (qnan_value): Likewise.
17692         (max_value): Likewise.
17693         (min_value): Likewise.
17694         (min_subnorm_value): Likewise.
17695         (initialize): Do not initialize those variables dynamically.
17697 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17699         * io/open.c (__open_2): Moved to ...
17700         * io/open_2.c: ... this new file.
17701         * io/open64.c (__open64_2): Moved to ...
17702         * io/open64_2.c: ... this new file.
17703         * io/openat.c (__openat_2): Moved to ...
17704         * io/openat_2.c: ... this new file.
17705         * io/openat64.c (__openat64_2): Moved to ...
17706         * io/openat64_2.c: ... this new file.
17707         * io/Makefile (routines): Add them.
17708         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17709         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17710         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17711         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17712         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17713         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17714         (__openat64): Add hidden_ver.
17715         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17716         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17718         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17719         Separately conditionalize setting of GLRO(dl_sysinfo) so
17720         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17721         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17723 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17725         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17726         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17727         definition.
17728         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17729         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17730         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17731         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17732         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17734 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17736         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17737         test signgam value.
17739         * math/libm-test.inc (hypot_test): Do not use
17740         IGNORE_ZERO_INF_SIGN.
17742 2013-05-03  Andreas Jaeger  <aj@suse.de>
17744         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17745         Linux 3.9.
17746         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17747         (PF_MAX): Adjust for VSOCK change.
17749 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17753 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17755         [BZ #15264]
17756         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17757         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17758         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17760 2013-05-02  David S. Miller  <davem@davemloft.net>
17762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17764 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17766         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17768 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17770         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17772 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17774         [BZ #14952]
17775         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17776         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17777         Use __attribute__ ((__gnu_inline__)).
17778         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17779         Don't use __attribute__ ((__gnu_inline__)).
17781 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17783         [BZ #15423]
17784         * math/s_catan.c (__catan): Handle small real or imaginary part of
17785         input specially to avoid spurious underflow.
17786         * math/s_catanf.c (__catanf): Likewise.
17787         * math/s_catanh.c (__catanh): Likewise.
17788         * math/s_catanhf.c (__catanhf): Likewise.
17789         * math/s_catanhl.c (__catanhl): Likewise.
17790         * math/s_catanl.c (__catanl): Likewise.
17791         * math/libm-test.inc (catan_test): Add more tests.
17792         (catanh_test): Likewise.
17793         * sysdeps/i386/fpu/libm-test-ulps: Update.
17794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17800 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
17802         [BZ #15416]
17803         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17804         accurately for denominator in atan2.
17805         * math/s_catanf.c (__catanf): Likewise.
17806         * math/s_catanh.c (__catanh): Likewise.
17807         * math/s_catanhf.c (__catanhf): Likewise.
17808         * math/s_catanhl.c (__catanhl): Likewise.
17809         * math/s_catanl.c (__catanl): Likewise.
17810         * math/libm-test.inc (catan_test): Add more tests.
17811         (catanh_test): Likewise.
17812         * sysdeps/i386/fpu/libm-test-ulps: Update.
17813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17815 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17817         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17819         * benchtests/Makefile (bench): Remove slow benchmarks.
17820         * benchtests/atan-inputs: Add slow benchmark inputs.
17821         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17822         (BENCH_FUNC): Accept variant offset.
17823         (VARIANT): Define.
17824         * benchtests/bench-skeleton.c (main): Run benchmark for each
17825         variant.
17826         * benchtests/cos-inputs: Add slow benchmark inputs.
17827         * benchtests/exp-inputs: Likewise.
17828         * benchtests/pow-inputs: Likewise.
17829         * benchtests/sin-inputs: Likewise.
17830         * benchtests/slowatan-inputs: Remove.
17831         * benchtests/slowatan.c: Remove.
17832         * benchtests/slowcos-inputs: Remove.
17833         * benchtests/slowcos.c: Remove.
17834         * benchtests/slowexp-inputs: Remove.
17835         * benchtests/slowexp.c: Remove.
17836         * benchtests/slowpow-inputs: Remove.
17837         * benchtests/slowpow.c: Remove.
17838         * benchtests/slowsin-inputs: Remove.
17839         * benchtests/slowsin.c: Remove.
17840         * benchtests/slowtan-inputs: Remove.
17841         * benchtests/slowtan.c: Remove.
17842         * benchtests/tan-inputs: Add slow benchmark inputs.
17843         * scripts/bench.pl: Parse comments and directives.
17845         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17846         in CPPFLAGS.
17847         ($(objpfx)bench-%.c): Remove *-ITER.
17848         * benchtests/bench-modf.c: Remove definition of ITER.
17849         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17850         (main): Loop for DURATION seconds instead of fixed number of
17851         iterations.
17852         * scripts/bench.pl: Don't expect iterations in parameters.
17854 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17856         * io/fchdir.c (__fchdir): Renamed from fchdir.
17857         (fchdir): Define as weak alias.
17859 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17861         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17862         (ERRNO_EDOM): Likewise.
17863         (ERRNO_ERANGE): Likewise.
17864         (noErrnoTests): New variable.
17865         (init_max_error): Set errno to 0.
17866         (test_single_errno): New function.
17867         (test_errno): Likewise.
17868         (check_float_internal): Call test_errno.  Set errno to 0.
17869         (check_complex): Refer to errno tests in comment.
17870         (check_int): Call test_errno.  Set errno to 0.
17871         (check_long): Likewise.
17872         (check_bool): Likewise.
17873         (check_longlong): Likewise.
17874         (cos_test): Use ERRNO_* flags for errno tests instead of
17875         check_int.
17876         (expm1_test): Likewise.
17877         (fmod_test): Likewise.
17878         (ilogb_test): Likewise.
17879         (lgamma_test): Likewise.
17880         (pow_test): Likewise.
17881         (remainder_test): Likewise.
17882         (sin_test): Likewise.
17883         (tan_test): Likewise.
17884         (yn_test): Likewise.
17885         (initialize): Set errno to 0.
17886         (main): Print number of errno tests.
17887         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17889 2013-04-29  Andreas Jaeger  <aj@suse.de>
17891         [BZ #15084]
17892         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17893         and RES_USEVC.
17895         [BZ #15085]
17896         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17897         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17898         unimplemented.
17900         [BZ #15380]
17901         * stdlib/random.c (__initstate): Return NULL if
17902         __initstate fails.
17904         [BZ #15086]
17905         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17906         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17907         RES_SNGLKUPREOP.
17909 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17913 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17915         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17916         of individual tests.
17917         (casin_test): Likewise.
17918         (casinh_test): Likewise.
17920 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17922         [BZ #15409]
17923         * math/s_catan.c (__catan): Handle arguments with large real or
17924         imaginary part separately without squaring.
17925         * math/s_catanf.c (__catanf): Likewise.
17926         * math/s_catanh.c (__catanh): Likewise.
17927         * math/s_catanhf.c (__catanhf): Likewise.
17928         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17929         and redefine.
17930         (__catanhl): Handle arguments with large real or imaginary part
17931         separately without squaring.
17932         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17933         and redefine.
17934         (__catanl): Handle arguments with large real or imaginary part
17935         separately without squaring.
17936         * math/libm-test.inc (catan_test): Add more tests.
17937         (catanh_test): Likewise.
17938         * sysdeps/i386/fpu/libm-test-ulps: Update.
17939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17941 2013-04-27  Andreas Jaeger  <aj@suse.de>
17943         [BZ #15007]
17944         * stdlib/stdlib.h: Update guards for qecvt.
17945         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17946         <stdlib.h>.
17948 2013-04-27  Allan McRae  <allan@archlinux.org>
17950         * sysdeps/i386/fpu/libm-test-ulps: Update.
17952 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17954         [BZ #15406]
17955         * math/s_catan.c: Include <float.h>.
17956         (__catan): Ensure underflow exception occurs for underflowed
17957         result.
17958         * math/s_catanf.c: Include <float.h>.
17959         (__catanf): Ensure underflow exception occurs for underflowed
17960         result.
17961         * math/s_catanh.c: Include <float.h>.
17962         (__catanh): Ensure underflow exception occurs for underflowed
17963         result.
17964         * math/s_catanhf.c: Include <float.h>.
17965         (__catanhf): Ensure underflow exception occurs for underflowed
17966         result.
17967         * math/s_catanhl.c: Include <float.h>.
17968         (__catanhl): Ensure underflow exception occurs for underflowed
17969         result.
17970         * math/s_catanl.c: Include <float.h>.
17971         (__catanl): Ensure underflow exception occurs for underflowed
17972         result.
17973         * math/libm-test.inc (catan_test): Add more tests.
17974         (catanh_test): Likewise.
17976         [BZ #15405]
17977         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17978         underflowed result.
17979         * math/s_ccoshf.c (__ccoshf): Likewise.
17980         * math/s_ccoshl.c (__ccoshl): Likewise.
17981         * math/s_csin.c (__csin): Likewise.
17982         * math/s_csinf.c (__csinf): Likewise.
17983         * math/s_csinh.c (__csinh): Likewise.
17984         * math/s_csinhf.c (__csinhf): Likewise.
17985         * math/s_csinhl.c (__csinhl): Likewise.
17986         * math/s_csinl.c (__csinl): Likewise.
17987         * math/libm-test.inc (ccos_test): Add more tests.
17988         (ccosh_test): Likewise.
17989         (csin_test): Likewise.
17990         (csinh_test): Likewise.
17992 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17994         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17995         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17996         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17997         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17998         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17999         powerpc/power5+/fpu folders.
18000         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18003 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18007 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18009         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18010         additions to variable.
18011         [$(config-machine) = x86_64] (modules-names): Likewise.
18012         ($(objpfx)tst-audit3): Remove dependency.
18013         ($(objpfx)tst-audit3.out): Likewise.
18014         ($(objpfx)tst-audit4): Likewise.
18015         ($(objpfx)tst-audit4.out): Likewise.
18016         ($(objpfx)tst-audit5): Likewise.
18017         ($(objpfx)tst-audit5.out): Likewise.
18018         ($(objpfx)tst-audit6): Likewise.
18019         ($(objpfx)tst-audit6.out): Likewise.
18020         ($(objpfx)tst-audit7): Likewise.
18021         ($(objpfx)tst-audit7.out): Likewise.
18022         (tst-audit3-ENV): Remove variable.
18023         (tst-audit4-ENV): Likewise.
18024         (tst-audit5-ENV): Likewise.
18025         (tst-audit6-ENV): Likewise.
18026         (tst-audit7-ENV): Likewise.
18027         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18028         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18029         addition to variable.
18030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18035         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18036         tst-audit3, tst-audit4 and tst-audit5.
18037         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18038         tst-audit6 and tst-audit7.
18039         [$(subdir) = elf] (modules-names): Add audit modules for those
18040         tests.
18041         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18042         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18043         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18044         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18045         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18046         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18047         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18048         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18049         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18050         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18051         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18052         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18053         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18054         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18055         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18056         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18057         Likewise.
18058         [$(subdir) = elf && $(config-cflags-avx) = yes]
18059         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18060         [$(subdir) = elf && $(config-cflags-avx) = yes]
18061         (CFLAGS-tst-auditmod4a.c): Likewise.
18062         [$(subdir) = elf && $(config-cflags-avx) = yes]
18063         (CFLAGS-tst-auditmod4b.c): Likewise.
18064         [$(subdir) = elf && $(config-cflags-avx) = yes]
18065         (CFLAGS-tst-auditmod6b.c): Likewise.
18066         [$(subdir) = elf && $(config-cflags-avx) = yes]
18067         (CFLAGS-tst-auditmod6c.c): Likewise.
18068         [$(subdir) = elf && $(config-cflags-avx) = yes]
18069         (CFLAGS-tst-auditmod7b.c): Likewise.
18070         * elf/tst-audit3.c: Move to ...
18071         * sysdeps/x86_64/tst-audit3.c: ... here.
18072         * elf/tst-audit4.c: Move to ...
18073         * sysdeps/x86_64/tst-audit4.c: ... here.
18074         * elf/tst-audit5.c: Move to ...
18075         * sysdeps/x86_64/tst-audit5.c: ... here.
18076         * elf/tst-audit6.c: Move to ...
18077         * sysdeps/x86_64/tst-audit6.c: ... here.
18078         * elf/tst-audit7.c: Move to ...
18079         * sysdeps/x86_64/tst-audit7.c: ... here.
18080         * elf/tst-auditmod3a.c: Move to ...
18081         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18082         * elf/tst-auditmod3b.c: Move to ...
18083         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18084         * elf/tst-auditmod4a.c: Move to ...
18085         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18086         * elf/tst-auditmod4b.c: Move to ...
18087         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18088         * elf/tst-auditmod5a.c: Move to ...
18089         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18090         * elf/tst-auditmod5b.c: Move to ...
18091         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18092         * elf/tst-auditmod6a.c: Move to ...
18093         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18094         * elf/tst-auditmod6b.c: Move to ...
18095         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18096         * elf/tst-auditmod6c.c: Move to ...
18097         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18098         * elf/tst-auditmod7a.c: Move to ...
18099         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18100         * elf/tst-auditmod7b.c: Move to ...
18101         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18103 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18105         [BZ #15366]
18106         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18107         define unconditionally.
18108         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18109         define unconditionally.
18110         (INT8_C, INT16_C, etc.): Likewise.
18112 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18114         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18115         __ehdr_start with hidden visibility.
18117         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18119 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18121         * math/libm-test.inc (cos_test): Use accurate hex constants.
18122         (sincost_test): Likewise.
18124 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18126         * math/libm-test.inc (catan_test): Add more tests.
18127         (catanh_test): Likewise.
18129         * math/s_catanf.c (__catanf): Use suffixed floating-point
18130         constants.
18131         * math/s_catanhf.c (__catanhf): Likewise.
18132         * math/s_catanhl.c (__catanhl): Likewise.
18133         * math/s_catanl.c (__catanl): Likewise.
18135         [BZ #15394]
18136         * math/s_catan.c (__catan): Calculate imaginary part of result
18137         with log1p not log unless computing log of number close to 0.
18138         * math/s_catanf.c (__catanf): Likewise.
18139         * math/s_catanl.c (__catanl): Likewise.
18140         * math/s_catanh.c (__catanh): Calculate real part of result with
18141         log1p not log unless computing log of number close to 0.
18142         * math/s_catanhf.c (__catanhf): Likewise.
18143         * math/s_catanhl.c (__catanhl): Likewise.
18144         * math/libm-test.inc (catan_test): Add more tests.
18145         (catanh_test): Likewise.
18146         * sysdeps/i386/fpu/libm-test-ulps: Update.
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18149 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18151         * benchtests/Makefile: Mention files in which fast and slow
18152         paths of math functions are implemented.
18154 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18156         * sysdeps/posix/timespec_get.c: New file.
18158 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18160         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18161         POWER.
18162         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18163         for POWER.
18164         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18165         powerpc/power5/fpu folders.
18166         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18167         * benchtests/Makefile: Add modf testcase.
18168         * benchtests/bench-modf.c: New file: Benchmark test for mo
18170 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18172         [BZ #14888]
18173         * time/Makefile (tests): Add tst-strptime-whitespace.
18174         * time/strptime_l.c (get_number): Use ISSPACE.
18175         (__strptime_internal): Likewise.
18176         * time/tst-strptime-whitespace.c: New test case.
18178 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18180         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18181         member.
18182         (_nss_files_init): Set it here.
18184 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18186         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18187         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18188         unsigned.
18190 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18192         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18194 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18197         size just once.
18199 2013-04-21  David S. Miller  <davem@davemloft.net>
18201         * po/ru.po: Update Russion translation from translation project.
18203 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18205         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18206         and setfsgid.
18208 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18210         * configure.in: Remove i386 configure warning. Remove i386 case.
18211         * configure: Regenerate.
18212         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18213         Add example to error message.
18214         * sysdeps/i386/configure: Regenerate.
18216 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18218         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18219         slowtan.
18220         * benchtests/cos-inputs: New file.
18221         * benchtests/slowcos-inputs: New file.
18222         * benchtests/slowcos.c: New file.
18223         * benchtests/slowtan-inputs: New file.
18224         * benchtests/slowtan.c: New file.
18225         * benchtests/tan-inputs: New file.
18227 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18229         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18230         considered kosher.
18232 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18234         * benchtests/Makefile: Include cppflags-iterator.mk to add
18235         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18237         * Makefile.in (bench-clean): New target.
18238         * benchtests/Makefile (bench-clean): Likewise.
18240 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18242         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18244 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18246         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18248 2013-04-15  Andreas Schwab  <schwab@suse.de>
18250         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18252         * nscd/pwdcache.c (cache_addpw): Likewise.
18253         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18254         more than recsize.
18256 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18258         * benchtests/Makefile (bench): Write all output to
18259         bench-out.tmp together.
18261 2013-04-15  Andreas Schwab  <schwab@suse.de>
18263         * nscd/nscd.c (main): Don't fork again after closing files.
18265 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18267         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18269         * benchtests/Rules (bench-deps): Collect dependencies into a
18270         single variable.  Add Makefile to dependencies.
18271         ($(objpfx)bench-%.c): Depend on bench-deps.
18273 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18274             Xavier Roche  <roche+kml2@exalead.com>
18276         [BZ #15361]
18277         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18278         just that it's a file descriptor.
18279         * manual/llio.texi (Synchronizing AIO Operations): Update description
18280         for EBADF error from aio_fsync.
18282 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18284         * Rules (bench): Move target definition...
18285         * benchtests/Makefile: ... here.
18287 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18289         * math/libm-test.inc (cos_test): Fix PI/2 test.
18290         (sincos_test): Likewise.
18291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18292         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18294 2013-04-11  Andreas Schwab  <schwab@suse.de>
18296         [BZ #13988]
18297         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18298         accept exponent character only when digits were seen.
18299         * stdio-common/Makefile (tests): Add bug26.
18300         * stdio-common/bug26.c: New file.
18302         [BZ #14293]
18303         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18304         non-freeable.
18306 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18308         * Makeconfig (rtld-prefix): Define built linker prefix.
18309         * Rules (run-bench): Use it.
18310         * math/Makefile (run-regen-ulps): Likewise.
18312         * Rules (bench): Remove eval.
18314 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18315             Roland McGrath  <roland@hack.frob.com>
18316             Ondrej Bilka  <neleai@seznam.cz>
18318         [BZ #15346]
18319         * time/getdate.c: Include ctype.h and alloca.h.
18320         (__getdate_r): Trim leading and trailing spaces of input.
18321         * time/tst-getdate.c (tests): Add tests with leading and
18322         trailing spaces.
18324 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18326         [BZ #14280]
18327         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18328         when computing value.
18330 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18332         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18333         Use testrun.sh to run libm tests.
18335         [BZ #15309]
18336         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18338 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18340         [BZ #15264]
18341         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18343 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18345         * Makefile.in (regen-ulps): New target.
18346         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18347         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18348         [ifneq (no,$(PERL)] (regen-ulps): New target.
18349         [ifeq (no,$(PERL)] (regen-ulps): New target.
18350         * math/libm-test.inc (ulps_file_name): Define.
18351         (output_dir): New variable.
18352         (options): Add "output-dir" option.
18353         (parse_opt): Handle 'o' case.
18354         (main): If output_dir is non-NULL use it as a prefix
18355         otherwise use "".
18356         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18360         [BZ #10060, #10062]
18361         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18362         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18363         fail configure if __sync_val_compare_and_swap is not inlined.
18364         * sysdeps/i386/configure: Regenerate.
18365         * configure.in: Build for i686 when configured for i386.
18366         * configure: Regenerate.
18367         * README: Remove i386 reference.
18369 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18371         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18374 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18376         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18377         (lmsnanval): New variables.
18378         (F): Add conversion tests.
18379         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18380         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18382         * stdio-common/tstdiomisc.c (F): Properly collect individual
18383         tests' results.
18385         [BZ #14686, #15336]
18386         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18387         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18388         Instead, use input NaN values or generate a qNaN by arithmetic
18389         operation.  Also fix bugs to comply with the standard.
18390         * math/libm-test.inc (remainder_test): Add more tests.
18392         [BZ #15335, #15342]
18393         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18395         input NaN values or generate a qNaN by arithmetic operation.
18397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18398         unreachable code.
18400         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18401         definitions.
18403 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18405         [BZ #14478]
18406         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18407         underflowed result.
18408         * math/s_cexpf.c (__cexpf): Likewise.
18409         * math/s_cexpl.c (__cexpl): Likewise.
18410         * math/libm-test.inc (cexp_test): Add more tests.
18412 2013-04-03  Andreas Schwab  <schwab@suse.de>
18414         [BZ #15330]
18415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18416         order arrays from heap if bigger than alloca cutoff.
18418 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18420         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18421         (SNAN_TESTS_double): Refer to GCC PR56831.
18422         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18423         GCC PR56828.
18425 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427         * Rules (bench): Move bench.out after the run is complete.
18429         * Rules (bench): Echo currently running benchmark.
18431         * benchtests/Makefile (bench): Add atan and slowatan.
18432         * benchtests/atan-inputs: New file.
18433         * benchtests/slowatan-inputs: New file.
18434         * benchtests/slowatan.c: New file.
18436         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18438         its value.
18440         [BZ #15305]
18441         * sysdeps/unix/sysv/linux/kernel-features.h
18442         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18443         __ASSUME_XFS_RESTRICTED_CHOWN.
18444         * sysdeps/unix/sysv/linux/pathconf.c
18445         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18446         Save and restore errno.
18448 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18450         [BZ #15327]
18451         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18452         arguments using __kernel_casinh.
18453         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18454         arguments using __kernel_casinhf.
18455         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18456         arguments using __kernel_casinhl.
18457         * math/libm-test.inc (cacosh_test): Add more tests.
18458         * sysdeps/i386/fpu/libm-test-ulps: Update.
18459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18461 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18463         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18466         * bench/Makefile (bench): Add sin and slowsin.
18467         * benchtests/sin-inputs: New file.
18468         * benchtests/slowsin-inputs: New file.
18469         * benchtests/slowsin.c: New file.
18471         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18472         (bench): Add slowexp and slowpow.
18473         (exp-ITER): Increase iterations.
18474         (pow-ITER): Likewise.
18475         * benchtests/exp-inputs: Change input.
18476         * benchtests/pow-inputs: Likewise.
18477         * benchtests/slowexp-inputs: New file.
18478         * benchtests/slowexp.c: New file.
18479         * benchtests/slowpow-inputs: New file.
18480         * benchtests/slowpow.c: New file.
18482 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18484         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18485         instructions.
18486         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18487         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18488         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18489         * benchtests/Makefile: Add rint benchtest.
18490         * benchtests/rint-inputs: Input for rint benchtest.
18492 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18494         * Versions.def (libm): Add GLIBC_2.18.
18495         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18496         hidden libm prototypes.
18497         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18498         * math/Makefile (libm-calls): Add s_issignaling.
18499         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18500         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18501         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18502         declaration.
18503         * math/math.h [__USE_GNU] (issignaling): New macro.
18504         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18505         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18506         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18510         * manual/arith.texi (issignaling): New section.
18511         * manual/libm-err-tab.pl (@all_functions): Update comment.
18512         * math/gen-libm-test.pl (parse_args): Apply special handling for
18513         issignaling.
18514         * math/libm-test.inc (print_float, issignaling_test): New
18515         functions.
18516         (check_float_internal): Add issignaling checks.
18517         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18518         default definition.
18519         * sysdeps/powerpc/math-tests.h: New file.
18520         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18521         tests.
18522         * math/test-snan.c (TEST_FUNC): Likewise.
18524 2013-03-30  David S. Miller  <davem@davemloft.net>
18526         * po/de.po: Update from translation team.
18528 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18530         [BZ #10357]
18531         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18532         imaginary part less than 1.0 and real part less than 0.5
18533         specially.
18534         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18535         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18536         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18537         (cacos_test): Add more tests.
18538         (casin_test): Likewise.
18539         (casinh_test): Likewise.
18540         * sysdeps/i386/fpu/libm-test-ulps: Update.
18541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18545         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18546         ONE with its value.
18548         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18549         (__pow_mp): Replace ONE and MONE with their values.
18550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18552         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18553         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18555         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18557         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18559         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18560         (__pow_mp): Replace ZERO and MZERO with their values.
18561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18565         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18566         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18567         (__sqr): Likewise.
18569         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18571         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18573 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18575         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18576         Declare with __attribute__ ((weak)).
18577         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18578         Call __call_tls_dtors only if it's not NULL.
18580 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18582         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18583         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18584         magic __ehdr_start linker symbol if it's defined.
18585         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18586         them up here if it was already done.
18588         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18589         (_dl_aux_init): Use const in cast when setting it.
18590         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18591         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18592         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18594         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18595         Declare them here.
18596         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18597         * csu/libc-tls.c: Nor here.
18598         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18600         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18601         (__libc_message): Never call vsyslog.
18603 2013-03-28  Alan Modra  <amodra@gmail.com>
18605         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18606         Define as empty.
18607         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18608         Likewise.
18610 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18612         [BZ #15214]
18613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18614         underflow.
18615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18617 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18619         [BZ #15304]
18620         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18621         Don't add gid passed as argument.
18623         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18625 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18627         [BZ #15307]
18628         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18629         imaginary part between 1.0 and 1.5 and real part less than 0.5
18630         specially.
18631         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18632         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18633         * math/libm-test.inc (cacos_test): Add more tests.
18634         (casin_test): Likewise.
18635         (casinh_test): Likewise.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18641         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18642         constants.
18643         (norm): Likewise.
18644         (denorm): Likewise.
18645         (__dbl_mp): Likewise.
18646         (add_magnitudes): Likewise.
18647         (sub_magnitudes): Likewise.
18648         (__add): Likewise.
18649         (__sub): Likewise.
18650         (__mul): Likewise.
18651         (__sqr): Likewise.
18652         (__inv): Likewise.
18653         (__dvd): Likewise.
18655         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18656         commented code.
18657         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18658         (__dubcos): Likewise.
18659         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18660         (__ieee754_acos): Likewise.
18661         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18662         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18663         (__exp1): Likewise.
18664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18666         (log1): Likewise.
18667         (my_log2): Likewise.
18668         (checkint): Likewise.
18669         * sysdeps/ieee754/dbl-64/e_remainder.c
18670         (__ieee754_remainder): Likewise.
18671         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18673         (bsloww): Likewise.
18674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18676         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18677         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18678         MANTISSA_STORE_T to store computations on mantissa.  Use
18679         macros for rounding and division.
18680         (denorm): Likewise.
18681         (__dbl_mp): Likewise.
18682         (add_magnitudes): Likewise.
18683         (sub_magnitudes): Likewise.
18684         (__mul): Likewise.
18685         (__sqr): Likewise.
18686         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18687         powers of two in terms of TWOPOW macro.
18688         (mp_no): Make type of mantissa as MANTISSA_T.
18689         [!RADIXI]: Define RADIXI.
18690         [!TWO52]: Define TWO52.
18691         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18693 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18695         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18696         llroundl symbol when building for PPC32.
18698 2013-03-24  Mark H Weaver  <mhw@netris.org>
18700         * manual/arith.texi (Normalization Functions): Fix prototypes for
18701         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18703 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18705         [BZ #13889]
18706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18707         high value to check if expl overflow.
18708         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18709         to check for underflow and overflow.
18710         * math/libm-test.inc: Add exp test.
18712 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18714         [BZ #11120]
18715         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18716         with NOT_IN_libc.
18718 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18720         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18721         symbol.
18723 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18725         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18726         wrap blocks consisting of several statements.
18728         * sysdeps/generic/math-tests.h: New file.
18729         * sysdeps/i386/fpu/math-tests.h: Likewise.
18730         * math/test-snan.c: Include it.
18731         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18733 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #15285]
18736         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18737         (__ieee754_j0l): Do not improve calculations using cos of twice
18738         input for inputs above LDBL_MAX / 2.0L.
18739         (__ieee754_y0l): Likewise.
18740         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18741         (__ieee754_j1l): Do not improve calculations using cos of twice
18742         input for inputs above LDBL_MAX / 2.0L.
18743         (__ieee754_y1l): Likewise.
18744         * math/libm-test.inc (j0_test): Add another test.
18745         (j1_test): Likewise.
18746         (y0_test): Likewise.
18747         (y1_test): Likewise.
18748         * sysdeps/i386/fpu/libm-test-ulps: Update.
18750 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18752         * Rules ($(objpfx)bench-%.c): Include code from a C source
18753         file.
18755 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18757         [BZ #15287]
18758         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18759         imaginary part 1.0 and real part less than 0.5 specially.
18760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18762         * math/libm-test.inc (cacos_test): Add more tests.
18763         (casin_test): Likewise.
18764         (casinh_test): Likewise.
18765         * sysdeps/i386/fpu/libm-test-ulps: Update.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18770         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18771         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18773 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18775         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18776         * config.make.in (config-cflags-sse4): Remove variable.
18777         (config-cflags-avx): Likewise.
18778         (config-cflags-sse2avx): Likewise.
18779         (config-cflags-novzeroupper): Likewise.
18780         (config-asflags-i686): Likewise.
18781         (have-mfma4): Likewise.
18782         (have-as-vis3): Likewise.
18783         (MIG): Likewise.
18784         * configure.in (MIG): Do not AC_SUBST.
18785         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18786         (libc_cv_cc_sse4): Do not AC_SUBST.
18787         (libc_cv_cc_avx): Likewise.
18788         (libc_cv_cc_sse2avx): Likewise.
18789         (libc_cv_cc_novzeroupper): Likewise.
18790         (libc_cv_cc_fma4): Likewise.
18791         (libc_cv_as_i686): Likewise.
18792         (libc_cv_sparc_as_vis3): Likewise.
18793         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18794         LIBC_CONFIG_VAR.
18795         (config-asflags-i686): Likewise.
18796         (config-cflags-avx): Likewise.
18797         (config-cflags-sse2avx): Likewise.
18798         (have-mfma4): Likewise.
18799         (config-cflags-novzeroupper): Likewise.
18800         * sysdeps/mach/configure.in (MIG): Likewise.
18801         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18802         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18803         LIBC_CONFIG_VAR.
18804         (config-cflags-avx): Likewise.
18805         (config-cflags-sse2avx): Likewise.
18806         (have-mfma4): Likewise.
18807         (config-cflags-novzeroupper): Likewise.
18808         * configure: Regenerated.
18809         * sysdeps/i386/configure: Likewise.
18810         * sysdeps/mach/configure: Likewise.
18811         * sysdeps/sparc/configure: Likewise.
18812         * sysdeps/x86_64/configure: Likewise.
18814 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18816         [BZ #14812]
18817         * locale/programs/localedef.c (options): Put N_ translation marker
18818         on argument names, not just descriptions.
18820 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18822         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18824 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18826         [BZ #14176]
18827         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18829 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18831         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18832         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18833         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18834         [!BEFORE_ABORT] (before_abort): New function.
18835         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18836         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18837         (writev_for_fatal): New function.
18838         (WRITEV_FOR_FATAL): New macro; call that.
18839         (backtrace_and_maps): New function.
18840         (BEFORE_ABORT): New macro; call that.
18841         (struct str_list): Type removed.
18842         (__libc_message, __libc_fatal): Functions removed.
18843         Include <sysdeps/posix/libc_fatal.c> instead.
18845 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18847         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18848         constants.
18849         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18850         double constants.
18852 2013-03-19  Andreas Schwab  <schwab@suse.de>
18854         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18855         * sysdeps/gnu/configure: Regenerate.
18857         * configure.in: Substitute libc_cv_rtlddir.
18858         * configure: Regenerate.
18859         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18860         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18861         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18862         * elf/Makefile (install-others, CFLAGS-interp.c)
18863         (ldso_install, common-ldd-rewrite): Likewise.
18864         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18865         $(inst_slibdir)/$(rtld-installed-name).
18866         * scripts/rellns-sh: Add -p option.
18867         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18868         for source.
18870 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18872         * manual/nptl.texi: Renamed to ...
18873         * manual/threads.texi: ... this.
18874         * manual/Makefile (chapters): Update.
18876 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18878         [BZ #14812]
18879         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18880         on argument names, not just descriptions.
18881         * malloc/memusagestat.c (options): Likewise.
18882         * nss/getent.c (options): Likewise.
18884 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18886         [BZ #14812]
18887         * iconv/iconv_prog.c (options): Put N_ translation marker
18888         on argument names, not just descriptions.
18889         * iconv/iconvconfig.c (options): Likewise.
18891 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18893         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18894         implementation which is faster on all x86_64 architectures.
18895         Tested on AMD, Intel Nehalem, SNB, IVB.
18896         * sysdeps/x86_64/strnlen.S: Likewise.
18898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18899         Remove all multiarch strlen and strnlen versions.
18900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18901         Remove strlen and strnlen related parts.
18903         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18904         Inline strlen part.
18905         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18907         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18908         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18909         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18910         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18911         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18912         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18914 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18916         * manual/memory.texi (Malloc Tunable Parameters):
18917         Sort parameters alphabetically. Add comments for missing entries.
18919 2013-03-17  David S. Miller  <davem@davemloft.net>
18921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18923 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18925         [BZ #15283]
18926         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18927         for arguments at most half maximum finite value.
18928         * math/libm-test.inc (j0_test): Add more tests.
18929         (j1_test): Likewise.
18930         (y0_test): Likewise.
18931         (y1_test): Likewise.
18932         * sysdeps/i386/fpu/libm-test-ulps: Update.
18933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18935         [BZ #14155]
18936         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18937         1 / x and functions P and Q for arguments above 0x1p256L.
18938         (__ieee754_y0l): Likewise.
18939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18940         (__ieee754_y1l): Likewise.
18941         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18942         (j1_test): Likewise.
18943         (y0_test): Likewise.
18944         (y1_test): Likewise.
18946 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18948         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18949         variable.
18951 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18953         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18954         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18955         zero since it's initialized to EXEC_PAGESIZE.
18957         * sysdeps/unix/sysv/linux/ldsodefs.h
18958         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18959         * sysdeps/generic/ldsodefs.h: ... here.
18961 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18963         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18965         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18966         math/test-snan.c.
18967         * math/test-snan.c: Renamed from
18968         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18969         * math/Makefile (tests): Add test-snan.
18970         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18971         test-powerpc-snan.
18973         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18974         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18975         functions.
18976         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18977         __builtin_nan family of functions.
18978         * math/libm-test.inc (initialize): Initialize qnan_value with
18979         __builtin_nan family of functions.
18980         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18981         Remove variables.
18982         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18983         Remove functions.
18984         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18985         storage class.  Initialize qNaN_var and sNaN_var with
18986         __builtin_nan and __builtin_nans families of functions,
18987         respectively.
18989         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18990         (sqrt_test): Remove duplicate test with qNaN input.
18991         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18992         (round_test, signbit_test, significand_test): Note missing +/-Inf
18993         as well as qNaN tests.
18995         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18996         qNaN_var.  Fix a few strings, too.
18997         * math/libm-test.inc (nan_value): Rename to qnan_value.
18998         * math/gen-libm-test.pl (%beautify): Adjust to that.
18999         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19000         * math/test-misc.c (main): Likewise.
19001         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19002         to __qnan_bytes, and __qnan_union, respectively.
19003         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19004         Likewise.
19005         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19006         and lqnanval, respectively.
19007         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19008         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19009         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19010         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19012         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19013         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19014         doubles.
19016         * math/test-misc.c (main): Fix copy'n'pastos.
19017         * misc/tst-efgcvt.c (special): Likewise.
19019         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19020         Remove declarations.
19022 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19024         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19025         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19026         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19027         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19029 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19032         macro to return vdso values correctly in IFUNC implementations.
19033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19034         Optimization by using IFUNC.
19036 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19037             Richard Henderson  <rth@redhat.com>
19038             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19040         * Makefile.in (bench): New target.
19041         * NEWS: Mention the benchmark framework.
19042         * Rules (bench): Likewise.
19043         (binaries-bench): Generate binaries for functions to
19044         benchmark.
19045         * benchtests/Makefile: New makefile for benchmark tests.
19046         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19047         programs.
19048         * benchtests/exp-inputs: New input file for EXP function.
19049         * benchtests/pow-inputs: New input file for POW function.
19050         * scripts/bench.pl: New script to generate source files for
19051         benchmark programs.
19053 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19055         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19056         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19057         computations on mantissa.  Use macros for rounding and
19058         division.
19059         (denorm): Likewise.
19060         (__dbl_mp): Likewise.
19061         (add_magnitudes): Likewise.
19062         (sub_magnitudes): Likewise.
19063         (__mul): Likewise.
19064         (__sqr): Likewise.
19065         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19066         powers of two in terms of TWOPOW macro.
19067         (mp_no): Make type of mantissa as MANTISSA_T.
19068         [!RADIXI]: Define RADIXI.
19069         [!TWO52]: Define TWO52.
19070         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19072         * manual/nptl.texi (cindex): Modify threads to pthreads.
19074 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19076         * sysdeps/x86_64/preconfigure: Regenerated.
19078 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19080         [BZ #14155]
19081         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19082         0x1p28 and above.
19083         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19084         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19085         0x1p28 and above.
19086         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19087         * math/libm-test.inc (j0_test): Do not allow one spurious
19088         underflow exception.
19089         (y1_test): Likewise.
19091 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19093         * manual/Makefile (chapters): Add nptl.
19094         * manual/debug.texi (Debugging Support): Add link to Threads
19095         chapter.
19096         * manual/nptl.texi: New file.
19098         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19100 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19102         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19103         for non-NULL pointer before the memory validity test. Pointed
19104         out by Holger Brunck <holger.brunck@keymile.com>.
19106 2013-03-13  Andreas Schwab  <schwab@suse.de>
19108         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19109         instead of .os.
19111 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19113         * timezone/zic.c: Update from tzcode 2013b.
19115 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19117         * manual/install.texi (Configuring and compiling):
19118         Mention i686 and i586.
19119         * INSTALL: Regenerate.
19121 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19123         * sysdeps/init_array/elf-init.c: New file.
19124         * csu/elf-init.c
19125         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19126         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19128         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19129         __gmon_start__ as global, but as static with a .preinit_array pointer.
19130         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19131         * sysdeps/init_array/crti.S: New file, empty except for comments.
19132         * sysdeps/init_array/crtn.S: Likewise.
19134 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19136         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19137         definining bcopy.
19138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19139         Remove Prefer_SSE_for_memop.
19140         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19141         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19142         HAS_PREFER_SSE_FOR_MEMOP.
19143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19144         memset-x86-64.
19145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19146         Remove bzero, memset ifunc support.
19147         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19148         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19149         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19150         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19152 2013-03-11  Andreas Schwab  <schwab@suse.de>
19154         [BZ #15234]
19155         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19156         by SHLIB_COMPAT.
19157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19158         (GLIBC_2.16): Remove pthread_atfork.
19160 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19162         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19163         (ptestcases.h): Likewise.
19165 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19167         * Makeconfig ($(common-objpfx)config.status): Depend on
19168         sysdeps/*/preconfigure{,.in} too.
19170 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19172         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19173         (__free_hook): Use void * instead of __malloc_ptr_t.
19174         (__malloc_hook): Likewise.
19175         (__realloc_hook): Likewise.
19176         (__memalign_hook): Likewise.
19177         (__after_morecore_hook): Likewise.
19178         * malloc/arena.c (save_malloc_hook): Likewise.
19179         (save_free_hook): Likewise.
19180         * malloc/hooks.c (malloc_hook_ini): Likewise.
19181         (realloc_hook_ini): Likewise.
19182         (memalign_hook_ini): Likewise.
19183         * malloc/malloc.c (malloc_hook_ini): Likewise.
19184         (realloc_hook_ini): Likewise.
19185         (memalign_hook_ini): Likewise.
19186         (__free_hook): Likewise.
19187         (__malloc_hook): Likewise.
19188         (__realloc_hook): Likewise.
19189         (__memalign_hook): Likewise.
19190         (__libc_malloc): Likewise.
19191         (__libc_free): Likewise.
19192         (__libc_realloc): Likewise.
19193         (__libc_memalign): Likewise.
19194         (__libc_valloc): Likewise.
19195         (__libc_pvalloc): Likewise.
19196         (__libc_calloc): Likewise.
19197         (__posix_memalign): Likewise.
19198         * malloc/morecore.c (__sbrk): Likewise.
19199         (__default_morecore): Likewise.
19201         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19203         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19204         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19205         __malloc_ptrdiff_t.
19207         * malloc/malloc.h (__malloc_size_t): Remove macro.
19208         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19209         __malloc_size_t.
19210         (old_memalign_hook): Likewise.
19211         (old_realloc_hook): Likewise.
19212         (struct hdr): Likewise.
19213         (flood): Likewise.
19214         (mallochook): Likewise.
19215         (memalignhook): Likewise.
19216         (reallochook): Likewise.
19217         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19218         (tr_old_realloc_hook): Likewise.
19219         (tr_old_memalign_hook): Likewise.
19220         (tr_mallochook): Likewise.
19221         (tr_reallochook): Likewise.
19222         (tr_memalignhook): Likewise.
19224 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19227         default_ldbl_pack and using as default implementation.
19228         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19229         implementation.
19230         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19231         redundant definition.
19232         (ldbl_insert_mantissa): Likewise.
19233         (ldbl_canonicalize): Likewise.
19234         (ldbl_nearbyint): Likewise.
19235         (ldbl_pack): Rename to ldbl_pack_ppc.
19236         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19237         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19238         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19240 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19243         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19245         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19248         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19249         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19251 2013-03-07  Andreas Jaeger  <aj@suse.de>
19253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19254         bits/mman-linux.h.
19256 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19258         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19259         Include mpa.h and declare __MPEXP.
19260         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19261         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19262         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19263         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19264         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19265         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19268         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19269         (__slowpow): Use long double EXPL and LOGL functions to
19270         compute POW.
19271         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19272         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19273         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19274         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19275         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19276         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19279         intermediate variable to calculate exponent.
19280         (__sqr): Likewise.
19281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19282         Likewise.
19283         (__sqr): Likewise.
19285         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19286         [!NO__SQR]: Define __sqr.
19287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19288         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19289         sysdeps/ieee754/dbl-64/mpa.c.
19290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19292         [BZ #12723]
19293         * posix/Makefile (tests): Add tst-pathconf.
19294         * posix/tst-pathconf.c: New test case.
19295         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19296         _PC_PIPE_BUF.
19297         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19299 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19301         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19303 2013-03-06  Andreas Jaeger  <aj@suse.de>
19305         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19306         definition via __MAP_ANONYMOUS.
19308         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19309         it's not part of Linux headers.
19311         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19312         (MAP_HUGE_MASK): Define.
19314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19315         Define.
19316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19318         Define.
19319         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19321         Define.
19322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19323         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19324         Define.
19325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19327         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19328         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19329         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19330         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19331         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19332         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19334         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19335         Handle f2fs.
19337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19338         Handle f2fs and efivarfs.
19340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19341         f2fs.
19343         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19344         (EFIVARFS_MAGIC): Add.
19345         (F2FS_LINK_MAX): Add.
19347 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19349         * stdio-common/vfprintf.c: Replace __builtin_expect with
19350         __glibc_unlikely.
19352 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19354         [BZ #13550]
19355         * sysdeps/generic/bp-sym.h: Remove file.
19356         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19357         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19358         <bp-sym.h> and <bp-asm.h>.
19359         (__longjmp): Don't use BP_SYM.
19360         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19361         and <bp-asm.h>.
19362         (memcpy): Don't use BP_SYM.
19363         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19364         <bp-sym.h> and <bp-asm.h>.
19365         (memcpy): Don't use BP_SYM.
19366         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19367         <bp-asm.h>.
19368         (memcpy): Don't use BP_SYM.
19369         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19370         <bp-asm.h>.
19371         (memset): Don't use BP_SYM.
19372         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19373         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19374         (__bzero): Don't use BP_SYM.
19375         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19376         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19378         <bp-sym.h> and <bp-asm.h>.
19379         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19380         pointers.
19381         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19382         <bp-sym.h> and <bp-asm.h>.
19383         (memcpy): Don't use BP_SYM.
19384         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19385         <bp-sym.h> and <bp-asm.h>.
19386         (memset): Don't use BP_SYM.
19387         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19388         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19389         (__bzero): Don't use BP_SYM.
19390         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19391         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19392         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19393         <bp-sym.h> and <bp-asm.h>.
19394         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19395         pointers.
19396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19397         <bp-sym.h> and <bp-asm.h>.
19398         (memcpy): Don't use BP_SYM.
19399         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19400         <bp-sym.h> and <bp-asm.h>.
19401         (memset): Don't use BP_SYM.
19402         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19403         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19404         (__bzero): Don't use BP_SYM.
19405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19408         <bp-sym.h> and <bp-asm.h>.
19409         (__memchr): Don't use BP_SYM.
19410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19411         <bp-sym.h> and <bp-asm.h>.
19412         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19413         pointers.
19414         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19415         <bp-sym.h> and <bp-asm.h>.
19416         (memcpy): Don't use BP_SYM.
19417         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19418         <bp-sym.h> and <bp-asm.h>.
19419         (__mempcpy): Don't use BP_SYM.
19420         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19421         <bp-sym.h> and <bp-asm.h>.
19422         (__memrchr): Don't use BP_SYM.
19423         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19424         <bp-sym.h> and <bp-asm.h>.
19425         (memset): Don't use BP_SYM.
19426         (__bzero): Likewise.
19427         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19428         <bp-sym.h> and <bp-asm.h>.
19429         (__rawmemchr): Don't use BP_SYM.
19430         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19431         <bp-sym.h> and <bp-asm.h>.
19432         (__STRCMP): Don't use BP_SYM.
19433         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19434         <bp-sym.h> and <bp-asm.h>.
19435         (strchr): Don't use BP_SYM.
19436         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19437         <bp-sym.h> and <bp-asm.h>.
19438         (__strchrnul): Don't use BP_SYM.
19439         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19440         <bp-sym.h> and <bp-asm.h>.
19441         (strlen): Don't use BP_SYM.
19442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19443         <bp-sym.h> and <bp-asm.h>.
19444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19445         pointers.
19446         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19447         <bp-sym.h> and <bp-asm.h>.
19448         (__strnlen): Don't use BP_SYM.
19449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19450         <bp-sym.h> and <bp-asm.h>.
19451         (__GI__setjmp): Don't use BP_SYM.
19452         (_setjmp): Likewise.
19453         (__sigsetjmp): Likewise.
19454         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19455         (L(start_addresses)): Don't use BP_SYM.
19456         (_start): Likewise.
19457         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19458         <bp-asm.h>.
19459         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19460         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19461         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19462         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19463         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19464         <bp-asm.h>.
19465         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19466         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19467         about bounded pointers.
19468         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19469         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19470         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19471         <bp-asm.h>.
19472         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19473         about bounded pointers.  Remove GKM FIXME comments.
19474         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19475         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19476         <bp-asm.h>.
19477         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19478         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19479         Remove GKM FIXME comments.
19480         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19481         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19482         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19483         <bp-asm.h>.
19484         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19485         about bounded pointers.  Remove GKM FIXME comment.
19486         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19487         and <bp-asm.h>.
19488         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19489         pointers.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19491         <bp-sym.h> and <bp-asm.h>.
19492         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19494         <bp-sym.h> and <bp-asm.h>.
19495         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19496         comment.
19498 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19500         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19501         call free(NULL).
19503 2013-03-05  David S. Miller  <davem@davemloft.net>
19505         * po/es.po: Update from translation team.
19507 2013-03-05  Andreas Jaeger  <aj@suse.de>
19509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19510         <bits/mman-linux.h>.
19511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19512         is fine.
19513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19514         <bits/mman-linux.h> to end of file.
19515         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19516         is fine.
19517         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19518         <bits/mman-linux.h> to end of file.
19519         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19520         is fine.
19521         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19522         <bits/mman-linux.h> to end of file.
19524         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19525         (MCL_CURRENT, MCL_FUTURE): Define here.
19527 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19529         [BZ #15232]
19530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19531         attribute_hidden.
19532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19534 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19537         fourth parameter needed for rt_sigprocmask syscall.
19538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19539         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19540         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19542         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19543         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19545 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19547         [BZ #13550]
19548         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19549         comment about bounded pointers.
19550         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19551         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19553 2013-03-04  Andreas Jaeger  <aj@suse.de>
19555         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19556         common definitions.
19558         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19559         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19560         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19561         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19565 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         [BZ #15055]
19568         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19569         __ieee754_sqrl instead of __sqrl.
19571 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19573         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19574         * sysdeps/powerpc/fpu_control.h: ... here.
19575         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19576         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19577         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19578         * sysdeps/powerpc/bits/mathinline.h: ... here.
19580 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19582         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19583         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19584         to just [NEED_DL_SYSINFO_DSO].
19585         * elf/dl-support.c: Likewise.
19586         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19587         * elf/rtld.c (dl_main): Likewise.
19588         * elf/setup-vdso.h (setup_vdso): Likewise.
19589         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19590         * sysdeps/unix/sysv/linux/dl-sysdep.c
19591         (_dl_discover_osversion): Likewise.
19593 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19595         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19596         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19598 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19600         * NEWS: Mention libm performance improvements and non-x86 PI
19601         futex support.
19603         * csu/libc-start.c (__pthread_initialize_minimal): Change
19604         function arguments.
19605         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19607 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19609         [BZ #13550]
19610         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19611         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19612         <bp-sym.h> and <bp-asm.h>.
19613         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19615         and <bp-asm.h>.
19616         (memcpy): Don't use BP_SYM.
19617         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19618         <bp-asm.h>.
19619         (__mpn_add_n): Don't use BP_SYM.
19620         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19621         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19622         and <bp-asm.h>.
19623         (__mpn_addmul_1): Don't use BP_SYM.
19624         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19625         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19626         <bp-sym.h>.
19627         (_setjmp): Don't use BP_SYM.
19628         (__novmx_setjmp): Likewise.
19629         (__GI__setjmp): Likewise.
19630         (__vmx_setjmp): Likewise.
19631         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19632         <bp-sym.h>.
19633         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19634         (__bzero): Don't use BP_SYM.
19635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19637         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19638         <bp-sym.h> and <bp-asm.h>.
19639         (memcpy): Don't use BP_SYM.
19640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19641         <bp-sym.h> and <bp-asm.h>.
19642         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19644         <bp-sym.h> and <bp-asm.h>.
19645         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19646         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19647         <bp-asm.h>.
19648         (__mpn_lshift): Don't use BP_SYM.
19649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19650         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19651         <bp-asm.h>.
19652         (memset): Don't use BP_SYM.
19653         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19654         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19655         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19656         <bp-asm.h>.
19657         (__mpn_mul_1): Don't use BP_SYM.
19658         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19660         <bp-sym.h> and <bp-asm.h>.
19661         (memcmp): Don't use BP_SYM.
19662         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19663         <bp-sym.h> and <bp-asm.h>.
19664         (memcpy): Don't use BP_SYM.
19665         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19666         <bp-sym.h> and <bp-asm.h>.
19667         (memset): Don't use BP_SYM.
19668         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19669         <bp-sym.h> and <bp-asm.h>.
19670         (strncmp): Don't use BP_SYM.
19671         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19672         <bp-sym.h> and <bp-asm.h>.
19673         (memcpy): Don't use BP_SYM.
19674         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19675         <bp-sym.h> and <bp-asm.h>.
19676         (memset): Don't use BP_SYM.
19677         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19678         <bp-sym.h> and <bp-asm.h>.
19679         (__memchr): Don't use BP_SYM.
19680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19681         <bp-sym.h> and <bp-asm.h>.
19682         (memcmp): Don't use BP_SYM.
19683         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19684         <bp-sym.h> and <bp-asm.h>.
19685         (memcpy): Don't use BP_SYM.
19686         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19687         <bp-sym.h> and <bp-asm.h>.
19688         (__mempcpy): Don't use BP_SYM.
19689         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19690         <bp-sym.h> and <bp-asm.h>.
19691         (__memrchr): Don't use BP_SYM.
19692         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19693         <bp-sym.h> and <bp-asm.h>.
19694         (memset): Don't use BP_SYM.
19695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19696         <bp-sym.h> and <bp-asm.h>.
19697         (__rawmemchr): Don't use BP_SYM.
19698         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19699         <bp-sym.h> and <bp-asm.h>.
19700         (__STRCMP): Don't use BP_SYM.
19701         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19702         <bp-sym.h> and <bp-asm.h>.
19703         (strchr): Don't use BP_SYM.
19704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19705         <bp-sym.h> and <bp-asm.h>.
19706         (__strchrnul): Don't use BP_SYM.
19707         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19708         <bp-sym.h> and <bp-asm.h>.
19709         (strlen): Don't use BP_SYM.
19710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19711         <bp-sym.h> and <bp-asm.h>.
19712         (strncmp): Don't use BP_SYM.
19713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19714         <bp-sym.h> and <bp-asm.h>.
19715         (__strnlen): Don't use BP_SYM.
19716         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19717         <bp-asm.h>.
19718         (__mpn_rshift): Don't use BP_SYM.
19719         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19720         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19721         <bp-sym.h> and <bp-asm.h>.
19722         (__sigsetjmp): Don't use BP_SYM.
19723         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19724         (L(start_addresses)): Don't use BP_SYM.
19725         (_start): Likewise.
19726         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19727         <bp-asm.h>.
19728         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19729         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19730         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19731         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19732         <bp-asm.h>.
19733         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19734         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19735         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19736         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19737         <bp-asm.h>.
19738         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19739         comments.
19740         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19741         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19742         <bp-asm.h>.
19743         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19744         FIXME comments.
19745         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19746         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19747         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19748         <bp-asm.h>.
19749         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19750         comment.
19751         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19752         and <bp-asm.h>.
19753         (strncmp): Don't use BP_SYM,
19754         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19755         <bp-asm.h>.
19756         (__mpn_sub_n): Don't use BP_SYM.
19757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19758         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19759         and <bp-asm.h>.
19760         (__mpn_submul_1): Don't use BP_SYM.
19761         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19763         <bp-sym.h> and <bp-asm.h>.
19764         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19766         <bp-sym.h> and <bp-asm.h>.
19767         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19768         comment.
19770 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19773         Use ZK to minimize writes to Z.
19774         (sub_magnitudes): Simplify code a bit.
19775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19776         Use ZK to minimize writes to Z.
19777         (sub_magnitudes): Simplify code a bit.
19779 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19781         * csu/gmon-start.c: Add special exception to license text.
19783 2013-02-27  Richard Henderson  <rth@redhat.com>
19785         * scripts/config.guess: Update from config.git.
19786         * scripts/config.sub: Likewise.
19788 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19792         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19794         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19796         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19798         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19800 2013-02-26  Roland McGrath  <roland@hack.frob.com>
19802         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19803         [$(build-shared = yes].
19805 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19807         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19808         (__mul): Reduce iterations for calculating mantissa.
19810         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19811         MPTWO.
19812         (__mpranred): Likewise.
19814         [BZ #15160]
19815         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19816         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19818 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19820         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19821         Define __attribute__.
19823 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19825         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19826         unused.
19827         * posix/regex_internal.h (__attribute): Remove.
19828         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19829         (re_string_context_at): Likewise.
19830         (bitset_not): Use __attribute__ and mark function as possibly
19831         unused.
19832         (bitset_merge): Likewise.
19833         (bitset_mask): Likewise.
19834         (re_string_char_size_at): Likewise.
19835         (re_string_wchar_at): Likewise.
19836         (re_string_elem_size_at): Likewise.
19838 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19840         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19841         code.
19842         (cc32): Likewise.
19844         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19845         (__acr): Likewise.
19846         (__cpy): Likewise.
19847         (norm): Likewise.
19848         (denorm): Likewise.
19849         (__dbl_mp): Likewise.
19850         (add_magnitudes): Likewise.
19851         (sub_magnitudes): Likewise.
19852         (__mul): Likewise.
19853         (__inv): Likewise.
19855         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19856         style.
19858         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19859         style.
19861         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19862         code.
19864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19865         up changes with default code.
19866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19867         Likewise.
19869 2013-02-24  Allan McRae  <allan@archlinux.org>
19871         * manual/socket.texi (The Internet Namespace): Order menu items
19872         to match that in the file.
19874         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19875         node listing of the info page menu.
19877 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19879         [BZ #13550]
19880         * sysdeps/i386/bp-asm.h: Remove file.
19881         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19882         (PARMS): Do not use macros from bp-asm.h.
19883         (S1): Likewise.
19884         (S2): Likewise.
19885         (SIZE): Likewise.
19886         (__mpn_add_n): Do not use BP_SYM
19887         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19888         "bp-asm.h".
19889         (PARMS): Do not use macros from bp-asm.h.
19890         (S1): Likewise.
19891         (SIZE): Likewise.
19892         (__mpn_addmul_1): Do not use BP_SYM
19893         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19894         "bp-asm.h".
19895         (PARMS): Do not use macros from bp-asm.h.
19896         (SIGMSK): Likewise.
19897         (_setjmp): Likewise.  Do not use BP_SYM.
19898         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19899         "bp-asm.h".
19900         (PARMS): Do not use macros from bp-asm.h.
19901         (SIGMSK): Likewise.
19902         (setjmp): Likewise.  Do not use BP_SYM.
19903         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19904         "bp-asm.h".
19905         (PARMS): Do not use macros from bp-asm.h.
19906         (__frexp): Do not use BP_SYM.
19907         (frexp): Likewise.
19908         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19909         "bp-asm.h".
19910         (PARMS): Do not use macros from bp-asm.h.
19911         (__frexpf): Do not use BP_SYM.
19912         (frexpf): Likewise.
19913         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19914         "bp-asm.h".
19915         (PARMS): Do not use macros from bp-asm.h.
19916         (__frexpl): Do not use BP_SYM.
19917         (frexpl): Likewise.
19918         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19919         "bp-asm.h".
19920         (PARMS): Do not use macros from bp-asm.h.
19921         (__remquo): Do not use BP_SYM.
19922         (remquo): Likewise.
19923         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19924         "bp-asm.h".
19925         (PARMS): Do not use macros from bp-asm.h.
19926         (__remquof): Do not use BP_SYM.
19927         (remquof): Likewise.
19928         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19929         "bp-asm.h".
19930         (PARMS): Do not use macros from bp-asm.h.
19931         (__remquol): Do not use BP_SYM.
19932         (remquol): Likewise.
19933         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19934         "bp-asm.h".
19935         (PARMS): Do not use macros from bp-asm.h.
19936         (DEST): Likewise.
19937         (SRC): Likewise.
19938         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19939         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19940         "bp-asm.h".
19941         (PARMS): Do not use macros from bp-asm.h.
19942         (strlen): Do not use BP_SYM.
19943         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19944         "bp-asm.h".
19945         (PARMS): Do not use macros from bp-asm.h.
19946         (S1): Likewise.
19947         (S2): Likewise.
19948         (SIZE): Likewise.
19949         (__mpn_add_n): Do not use BP_SYM.
19950         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19951         "bp-asm.h".
19952         (PARMS): Do not use macros from bp-asm.h.
19953         (S1): Likewise.
19954         (SIZE): Likewise.
19955         (__mpn_addmul_1): Do not use BP_SYM.
19956         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19957         weak_alias.
19958         (bzero): Likewise.
19959         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19960         "bp-asm.h".
19961         (PARMS): Do not use macros from bp-asm.h.
19962         (S): Likewise.
19963         (SIZE): Likewise.
19964         (__mpn_lshift): Do not use BP_SYM.
19965         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19966         "bp-asm.h".
19967         (PARMS): Do not use macros from bp-asm.h.
19968         (DEST): Likewise.
19969         (SRC): Likewise.
19970         (LEN): Likewise.
19971         (memcpy): Likewise.  Do not use BP_SYM.
19972         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19973         libc_hidden_def and weak_alias.
19974         (mempcpy): Do not use BP_SYM in weak_alias.
19975         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19976         "bp-asm.h".
19977         (PARMS): Do not use macros from bp-asm.h.
19978         (DEST): Likewise.
19979         (LEN): Likewise.
19980         [!BZERO_P] (CHR): Likewise.
19981         (memset): Likewise.  Do not use BP_SYM.
19982         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19983         "bp-asm.h".
19984         (PARMS): Do not use macros from bp-asm.h.
19985         (S1): Likewise.
19986         (SIZE): Likewise.
19987         (__mpn_mul_1): Do not use BP_SYM.
19988         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19989         "bp-asm.h".
19990         (PARMS): Do not use macros from bp-asm.h.
19991         (S): Likewise.
19992         (SIZE): Likewise.
19993         (__mpn_rshift): Do not use BP_SYM.
19994         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19995         "bp-asm.h".
19996         (PARMS): Do not use macros from bp-asm.h.
19997         (STR): Likewise.
19998         (CHR): Likewise.
19999         (strchr): Likewise.  Do not use BP_SYM.
20000         (index): Do not use BP_SYM in weak_alias.
20001         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20002         "bp-asm.h".
20003         (PARMS): Do not use macros from bp-asm.h.
20004         (DEST): Likewise.
20005         (SRC): Likewise.
20006         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20007         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20008         "bp-asm.h".
20009         (PARMS): Do not use macros from bp-asm.h.
20010         (strlen): Do not use BP_SYM.
20011         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20012         "bp-asm.h".
20013         (PARMS): Do not use macros from bp-asm.h.
20014         (S1): Likewise.
20015         (S2): Likewise.
20016         (SIZE): Likewise.
20017         (__mpn_sub_n): Do not use BP_SYM.
20018         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20019         "bp-asm.h".
20020         (PARMS): Do not use macros from bp-asm.h.
20021         (S1): Likewise.
20022         (SIZE): Likewise.
20023         (__mpn_submul_1): Do not use BP_SYM.
20024         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20025         "bp-asm.h".
20026         (PARMS): Do not use macros from bp-asm.h.
20027         (S1): Likewise.
20028         (S2): Likewise.
20029         (SIZE): Likewise.
20030         (__mpn_add_n): Do not use BP_SYM.
20031         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20032         weak_alias.
20033         (bzero): Likewise.
20034         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20035         "bp-asm.h".
20036         (PARMS): Do not use macros from bp-asm.h.
20037         (BLK2): Likewise.
20038         (LEN): Likewise.
20039         (memcmp): Do not use BP_SYM.
20040         (bcmp): Do not use BP_SYM in weak_alias.
20041         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20042         "bp-asm.h".
20043         (PARMS): Do not use macros from bp-asm.h.
20044         (DEST): Likewise.
20045         (SRC): Likewise.
20046         (LEN): Likewise.
20047         (memcpy): Likewise.  Do not use BP_SYM.
20048         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20049         "bp-asm.h".
20050         (PARMS): Do not use macros from bp-asm.h.
20051         (DEST): Likewise.
20052         (SRC): Likewise.
20053         (LEN): Likewise.
20054         (memmove): Likewise.  Do not use BP_SYM.
20055         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20056         "bp-asm.h".
20057         (PARMS): Do not use macros from bp-asm.h.
20058         (DEST): Likewise.
20059         (SRC): Likewise.
20060         (LEN): Likewise.
20061         (__mempcpy): Likewise.  Do not use BP_SYM.
20062         (mempcpy): Do not use BP_SYM in weak_alias.
20063         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20064         "bp-asm.h".
20065         (PARMS): Do not use macros from bp-asm.h.
20066         (DEST): Likewise.
20067         (LEN): Likewise.
20068         [!BZERO_P] (CHR): Likewise.
20069         (memset): Likewise.  Do not use BP_SYM.
20070         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20071         "bp-asm.h".
20072         (PARMS): Do not use macros from bp-asm.h.
20073         (STR2): Likewise.
20074         (strcmp): Do not use BP_SYM.
20075         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20076         "bp-asm.h".
20077         (PARMS): Do not use macros from bp-asm.h.
20078         (STR): Likewise.
20079         (DELIM): Likewise.
20080         [USE_AS_STRTOK_R] (SAVE): Likewise.
20081         (FUNCTION): Likewise.  Do not use BP_SYM.
20082         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20083         aliases.
20084         (strtok_r): Likewise.
20085         (__GI___strtok_r): Likewise.
20086         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20087         (PARMS): Do not use macros from bp-asm.h.
20088         (S): Likewise.
20089         (SIZE): Likewise.
20090         (__mpn_lshift): Do not use BP_SYM.
20091         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20092         (PARMS): Do not use macros from bp-asm.h.
20093         (STR): Likewise.
20094         (CHR): Likewise.
20095         (__memchr): Do not use BP_SYM.
20096         (memchr): Do not use BP_SYM in weak_alias.
20097         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20098         (PARMS): Do not use macros from bp-asm.h.
20099         (BLK2): Likewise.
20100         (LEN): Likewise.
20101         (memcmp): Do not use BP_SYM.
20102         (bcmp): Do not use BP_SYM in weak_alias.
20103         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20104         (PARMS): Do not use macros from bp-asm.h.
20105         (S1): Likewise.
20106         (SIZE): Likewise.
20107         (__mpn_mul_1): Do not use BP_SYM.
20108         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20109         "bp-asm.h".
20110         (PARMS): Do not use macros from bp-asm.h.
20111         (STR): Likewise.
20112         (CHR): Likewise.
20113         (__rawmemchr): Do not use BP_SYM.
20114         (rawmemchr): Do not use BP_SYM in weak_alias.
20115         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20116         (PARMS): Do not use macros from bp-asm.h.
20117         (S): Likewise.
20118         (SIZE): Likewise.
20119         (__mpn_rshift): Do not use BP_SYM.
20120         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20121         (PARMS): Do not use macros from bp-asm.h.
20122         (SIGMSK): Likewise.
20123         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20124         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20125         (_start): Do not use BP_SYM.
20126         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20127         (PARMS): Do not use macros from bp-asm.h.
20128         (DEST): Likewise.
20129         (SRC): Likewise.
20130         (__stpcpy): Likewise.  Do not use BP_SYM.
20131         (stpcpy): Do not use BP_SYM in weak_alias.
20132         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20133         "bp-asm.h".
20134         (PARMS): Do not use macros from bp-asm.h.
20135         (DEST): Likewise.
20136         (SRC): Likewise.
20137         (LEN): Likewise.
20138         (__stpncpy): Likewise.  Do not use BP_SYM.
20139         (stpncpy): Do not use BP_SYM in weak_alias.
20140         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20141         (PARMS): Do not use macros from bp-asm.h.
20142         (STR): Likewise.
20143         (CHR): Likewise.
20144         (strchr): Likewise.  Do not use BP_SYM.
20145         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20146         "bp-asm.h".
20147         (PARMS): Do not use macros from bp-asm.h.
20148         (STR): Likewise.
20149         (CHR): Likewise.
20150         (__strchrnul): Likewise.  Do not use BP_SYM.
20151         (strchrnul): Do not use BP_SYM in weak_alias.
20152         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20153         "bp-asm.h".
20154         (PARMS): Do not use macros from bp-asm.h.
20155         (STOP): Likewise.
20156         (strcspn): Do not use BP_SYM.
20157         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20158         "bp-asm.h".
20159         (PARMS): Do not use macros from bp-asm.h.
20160         (STR): Likewise.
20161         (STOP): Likewise.
20162         (strpbrk): Likewise.  Do not use BP_SYM.
20163         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20164         "bp-asm.h".
20165         (PARMS): Do not use macros from bp-asm.h.
20166         (STR): Likewise.
20167         (CHR): Likewise.
20168         (strrchr): Likewise.  Do not use BP_SYM.
20169         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20170         (PARMS): Do not use macros from bp-asm.h.
20171         (SKIP): Likewise.
20172         (strspn): Do not use BP_SYM.
20173         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20174         (PARMS): Do not use macros from bp-asm.h.
20175         (STR): Likewise.
20176         (DELIM): Likewise.
20177         (SAVE): Likewise.
20178         (FUNCTION): Likewise.  Do not use BP_SYM.
20179         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20180         aliases.
20181         (strtok_r): Likewise.
20182         (__GI___strtok_r): Likewise.
20183         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20184         (PARMS): Do not use macros from bp-asm.h.
20185         (S1): Likewise.
20186         (S2): Likewise.
20187         (SIZE): Likewise.
20188         (__mpn_sub_n): Do not use BP_SYM.
20189         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20190         "bp-asm.h".
20191         (PARMS): Do not use macros from bp-asm.h.
20192         (S1): Likewise.
20193         (SIZE): Likewise.
20194         (__mpn_submul_1): Do not use BP_SYM.
20195         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20196         <bp-sym.h>.
20197         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20198         and <bp-asm.h>.
20199         (PARMS): Do not use macros from bp-asm.h.
20200         (FLAGS): Likewise.
20201         (PTID): Likewise.
20202         (TLS): Likewise.
20203         (CTID): Likewise.
20204         (__clone): Do not use BP_SYM.
20205         (clone): Do not use BP_SYM in weak_alias.
20206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20207         and <bp-asm.h>.
20208         (PARMS): Do not use macros from bp-asm.h.
20209         (LEN): Likewise.
20210         (__mmap64): Do not use BP_SYM.
20211         (mmap64): Do not use BP_SYM in weak_alias.
20212         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20213         <bp-sym.h> and <bp-asm.h>.
20214         (PARMS): Do not use macros from bp-asm.h.
20215         (__posix_fadvise64_l64): Do not use BP_SYM.
20216         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20217         (PARMS): Do not use macros from bp-asm.h.
20218         (NSOPS): Likewise.
20219         (semtimedop): Do not use BP_SYM.
20220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20221         and <bp-asm.h>.
20223 2013-02-21  Allan McRae  <allan@archlinux.org>
20225         * manual/message.texi (Charset conversion in gettext):
20226         Move @end statement to beginning of line.
20228 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20231         static.
20232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20233         Likewise.
20235         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20236         (denorm): Likewise.
20237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20240 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20242         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20243         tail-call to the resolved function if pltexit isn't needed.
20245 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20248         or Y being zero as being unlikely.
20249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20250         Likewise.
20252 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20254         * manual/nss.texi (System Databases and Name Service Switch):
20255         Remove frobnicate @pxref.
20257 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20259         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20260         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20262 2013-02-20  Petr Machata  <pmachata@redhat.com>
20264         * elf/elf.h (R_ARM_TARGET1): New macro.
20265         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20266         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20267         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20268         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20269         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20270         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20271         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20272         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20273         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20274         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20275         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20276         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20277         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20278         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20279         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20280         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20281         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20282         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20283         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20284         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20285         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20286         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20287         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20288         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20289         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20290         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20291         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20292         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20293         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20294         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20295         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20296         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20297         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20298         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20299         (R_ARM_THM_GOT_BREL12): Likewise.
20300         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20301         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20302         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20303         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20304         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20305         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20306         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20307         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20308         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20310 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20312         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20313         __attribute_used__ to __attribute__ ((unused)).
20315 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20317         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20318         powerpc mpa.c.
20319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20320         comment formatting.
20321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20323 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20325         [BZ #13550]
20326         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20327         Remove macro.
20328         (ENTER): Remove both macro definitions.
20329         (LEAVE): Likewise.
20330         (CHECK_BOUNDS_LOW): Likewise.
20331         (CHECK_BOUNDS_HIGH): Likewise.
20332         (CHECK_BOUNDS_BOTH): Likewise.
20333         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20334         (RETURN_BOUNDED_POINTER): Likewise.
20335         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20336         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20337         (POP_ERRNO_LOCATION_RETURN): Likewise.
20338         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20339         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20340         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20341         macros.
20342         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20343         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20344         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20345         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20346         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20347         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20348         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20349         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20350         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20351         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20352         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20353         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20355         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20356         removed macros.
20357         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20358         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20359         macros.
20360         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20361         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20362         * sysdeps/i386/i586/memset.S (memset): Likewise.
20363         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20365         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20366         macros.
20367         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20368         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20369         Change uses of L(2) to L(out).
20370         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20371         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20372         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20373         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20374         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20375         removed macros.
20376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20377         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20378         macros.
20379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20380         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20381         (RETURN): Do not use macro LEAVE.
20382         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20383         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20384         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20385         * sysdeps/i386/i686/memset.S (memset): Likewise.
20386         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20387         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20388         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20389         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20390         Likewise.
20391         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20392         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20393         L(1_2) and L(1_3) into L(1).
20394         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20395         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20396         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20397         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20398         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20399         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20400         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20402         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20403         macros.
20404         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20405         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20406         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20407         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20408         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20409         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20410         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20411         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20412         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20413         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20414         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20415         * sysdeps/i386/strspn.S (strspn): Likewise.
20416         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20417         conditional code.
20418         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20419         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20420         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20421         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20422         L(1_3) into L(1_1).
20423         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20425         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20426         macros.
20427         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20429 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20431         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20432         macro.
20434 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20436         * math/atest-exp.c (exp_mpn): Remove ROUND.
20437         * math/atest-exp2.c (exp_mpn): Likewise.
20438         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20440         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20441         * stdlib/tst-tls-atexit-lib.c: Likewise.
20442         * stdlib/tst-tls-atexit.c: Likewise.
20444 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20446         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20447         and __attribute_alloc_size__.
20449 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20451         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20452         __attribute_alloc_size__.
20453         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20454         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20456 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20458         * include/programs/xmalloc.h: New file.
20459         * catgets/gencat.c: Include it.
20460         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20461         * elf/pldd.c: Likewise.
20462         * iconv/iconv_charmap.c: Likewise.
20463         * iconv/iconvconfig.c: Likewise.
20464         * iconv/strtab.c: Likewise.
20465         * locale/programs/locale.c: Likewise.
20466         * locale/programs/localedef.h: Likewise.
20467         * locale/programs/simple-hash.c: Likewise.
20468         * nscd/nscd.h: Likewise.
20469         * nss/makedb.c: Likewise.
20470         * sysdeps/generic/ldconfig.h: Likewise.
20472 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20474         * Versions.def: Add GLIBC_2.18.
20475         * include/link.h (struct link_map): New member l_tls_dtor_count.
20476         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20477         (__call_tls_dtors): Likewise.
20478         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20479         __cxa_thread_atexit_impl.
20480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20481         Likewise.
20482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20483         Likewise.
20484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20485         Likewise.
20486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20487         Likewise.
20488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20490         Likewise.
20491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20492         Likewise.
20493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20495         Likewise.
20496         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20497         (tests): Add test case tst-tls-atexit.
20498         (modules-names): Add shared library for tst-tls-atexit.
20499         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20500         (GLIBC_PRIVATE): Add __call_tls_dtors.
20501         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20502         for libstdc++.
20503         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20504         * stdlib/tst-tls-atexit.c: New test case.
20505         * stdlib/tst-tls-atexit-lib.c: New test case.
20507         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20509         * elf/Versions (ld): Add _dl_find_dso_for_object.
20510         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20511         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20512         (dl_open_worker): Use _dl_find_dso_for_object.
20513         * elf/dl-sym.c (do_sym): Likewise.
20514         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20516 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20518         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20519         Syntactic changes only.
20520         (_dl_runtime_profile): Do a tail-call to the resolved function.
20522 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20524         [BZ #13550]
20525         * sysdeps/x86_64/bp-asm.h: Remove file.
20526         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20527         <bp-sym.h> and <bp-asm.h>.
20528         (__clone): Do not use BP_SYM.
20529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20530         <bp-sym.h> and <bp-asm.h>.
20531         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20532         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20533         "bp-asm.h".
20534         (_setjmp): Do not use BP_SYM.
20535         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20536         "bp-asm.h".
20537         (setjmp): Do not use BP_SYM.
20538         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20539         libc_hidden_def.
20540         (mempcpy): Do not use BP_SYM in weak_alias.
20541         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20542         "bp-asm.h".
20543         (strchr): Do not use BP_SYM.
20544         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20545         "bp-asm.h".
20546         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20547         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20548         (_start): Do not use BP_SYM.
20549         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20550         "bp-asm.h".
20551         (strcat): Do not use BP_SYM.
20552         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20553         "bp-asm.h".
20554         (STRCMP): Do not use BP_SYM.
20555         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20556         "bp-asm.h".
20557         (STRCPY): Do not use BP_SYM.
20558         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20559         "bp-asm.h".
20560         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20561         "bp-asm.h".
20562         (FUNCTION): Do not use BP_SYM.
20563         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20564         weak_alias.
20565         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20567 2013-02-17  Andreas Jaeger  <aj@suse.de>
20569         * time/Versions: Sort entries.
20570         * string/Versions: Likewise.
20571         * resolv/Versions: Likewise.
20572         * posix/Versions: Likewise.
20573         * iconv/Versions: Likewise.
20574         * elf/Versions: Likewise.
20575         * wcsmbs/Versions: Likewise.
20577 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20580         loop termination condition.
20582         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20583         variable to calculate EZ.
20584         (__sqr): Likewise.
20586         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20587         the lower precision input.
20589 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20591         [BZ #13550]
20592         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20593         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20594         (run-via-rtld-prefix): Do not handle %-bp tests.
20595         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20596         (all-object-suffixes): Remove .ob.
20597         (bppfx): Remove variable.
20598         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20599         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20600         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20601         [$(build-bounded) = yes] (libtype.ob): Likewise.
20602         * Makerules (elide-routines.ob): Remove variable.
20603         (do-tests-clean): Do not handle *-bp.out.
20604         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20605         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20606         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20607         (tests): Do not include $(tests-bp.out).
20608         (xtests): Do not include $(xtests-bp.out).
20609         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20610         [$(build-bounded) = yes] ($(addprefix
20611         $(objpfx),$(binaries-bounded))): Remove rule.
20612         ($(objpfx)%-bp.out): Remove rule.
20613         * config.make.in (build-bounded): Remove variable.
20614         * crypt/Makefile [$(build-bounded) = yes]
20615         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20616         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20617         append to variable.
20618         [$(build-bounded) = yes] (install-lib): Likewise.
20619         [$(build-bounded) = yes] (generated): Likewise.
20620         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20621         Remove rule.
20622         * intl/Makefile [$(build-bounded) = yes]
20623         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20624         * math/Makefile [$(build-bounded) = yes]
20625         ($(tests:%=$(objpfx)%-bp): Likewise.
20626         * misc/Makefile [$(build-bounded) = yes]
20627         ($(objpfx)tst-tsearch-bp): Likewise.
20628         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20629         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20630         Remove dependency.
20631         * string/Makefile (o-objects.ob): Remove variable.
20632         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20633         (CFLAGS-.ob): Remove variable.
20634         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20635         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20636         both definitions of variable.
20637         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20638         (ASFLAGS-.ob): Remove variable.
20640 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20642         [BZ #13550]
20643         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20644         Remove __BOUNDED_POINTERS__ from condition.
20645         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20646         * string/bits/string2.h [!__NO_STRING_INLINES &&
20647         !__BOUNDED_POINTERS__]: Likewise.
20648         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20649         Likewise.
20650         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20651         Remove conditional code.
20652         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20653         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20654         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20655         condition.
20657         [BZ #13550]
20658         * csu/libc-start.c: Do not include <bp-sym.h>.
20659         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20660         * elf/dl-open.c: Do not include <bp-sym.h>.
20661         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20662         * math/fegetenv.c: Do not include <bp-sym.h>.
20663         (fegetenv): Do not use BP_SYM in versioned symbols.
20664         * nptl/sysdeps/pthread/bits/libc-lockP.h
20665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20666         <bp-sym.h>.
20667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20668         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20670         (__pthread_mutex_destroy): Likewise.
20671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20672         (__pthread_mutex_lock): Likewise.
20673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20674         (__pthread_mutex_trylock): Likewise.
20675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20676         (__pthread_mutex_unlock): Likewise.
20677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20678         (__pthread_mutexattr_init): Likewise.
20679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20680         (__pthread_mutexattr_destroy): Likewise.
20681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20682         (__pthread_mutexattr_settype): Likewise.
20683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20684         (__pthread_rwlock_init): Likewise.
20685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20686         (__pthread_rwlock_destroy): Likewise.
20687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20688         (__pthread_rwlock_rdlock): Likewise.
20689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20690         (__pthread_rwlock_tryrdlock): Likewise.
20691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20692         (__pthread_rwlock_wrlock): Likewise.
20693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20694         (__pthread_rwlock_trywrlock): Likewise.
20695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20696         (__pthread_rwlock_unlock): Likewise.
20697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20698         (__pthread_key_create): Likewise.
20699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20700         (__pthread_setspecific): Likewise.
20701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20702         (__pthread_getspecific): Likewise.
20703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20704         Likewise.
20705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20706         (_pthread_cleanup_push_defer): Likewise.
20707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20708         (_pthread_cleanup_pop_restore): Likewise.
20709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20710         (pthread_setcancelstate): Likewise.
20711         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20712         <bp-sym.h>.
20713         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20714         (memchr): Do not use BP_SYM in weak_alias.
20715         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20716         (fegetenv): Do not use BP_SYM in versioned symbols.
20717         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20718         (fesetenv): Do not use BP_SYM in versioned symbols.
20719         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20720         (feupdateenv): Do not use BP_SYM in versioned symbols.
20721         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20722         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20723         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20724         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20725         (open64): Do not use BP_SYM in weak_alias.
20726         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20727         (fegetenv): Do not use BP_SYM in versioned symbols.
20728         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20729         (fesetenv): Do not use BP_SYM in versioned symbols.
20730         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20731         (feupdateenv): Do not use BP_SYM in versioned symbols.
20732         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20733         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20734         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20735         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20736         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20737         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20739         <bp-sym.h>.
20740         (__libc_start_main): Do not use BP_SYM.
20742 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20745         redundant return line.
20746         (norm): Likewise.
20747         (denorm): Likewise.
20748         (dbl_mp): Likewise.
20749         (sub_magnitudes): Likewise.
20750         (__add): Likewise.
20751         (__sub): Likewise.
20752         (__mul): Likewise.
20753         (__inv): Likewise.
20754         (__dvd): Likewise.
20755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20756         (norm): Likewise.
20757         (denorm): Likewise.
20758         (dbl_mp): Likewise.
20759         (sub_magnitudes): Likewise.
20760         (__add): Likewise.
20761         (__sub): Likewise.
20762         (__mul): Likewise.
20763         (__inv): Likewise.
20764         (__dvd): Likewise.
20766         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20767         instead of __mul.
20768         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20769         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20770         (cc32): Likewise.
20772         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20773         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20775         of __mul for squares.
20776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20777         function
20778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20779         Likewise.
20780         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20781         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20783 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20785         [BZ #13550]
20786         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20787         code.
20788         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20789         prototype or function definition.  Rename ubp_* variables and
20790         parameters.  Remove argv definitions conditional on
20791         [__BOUNDED_POINTERS__].
20792         * debug/backtrace.c (__backtrace): Do not use __unbounded.
20793         * elf/dl-runtime.c (_dl_fixup): Likewise.
20794         * include/set-hooks.h (RUN_HOOK): Likewise.
20795         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20796         definition.
20797         * string/strcpy.c (strcpy): Do not use __unbounded.
20798         * sysdeps/generic/frame.h (struct layout): Likewise.
20799         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20800         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20801         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20802         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20803         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20804         (__backtrace): Likewise.
20805         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20806         use __ptrvalue.
20807         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20809         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20810         Likewise.
20811         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20812         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20813         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20814         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20815         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20816         Do not use __unbounded.
20817         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20818         Rename __unboundedrlimits parameter to rlimits in prototype.
20819         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20820         Do not use __unbounded.
20821         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20822         not use __ptrvalue.
20823         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20824         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20825         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20826         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20827         __ptrvalue or __unbounded.
20828         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20829         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20830         use __unbounded.
20831         (__new_msgctl): Do not use __ptrvalue.
20832         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20833         __unbounded.
20834         (__libc_msgrcv): Do not use __ptrvalue.
20835         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20836         startup_info): Do not use __unbounded.
20837         (__libc_start_main): Likewise.  Rename ubp_* variables and
20838         parameters.  Remove argv definitions conditional on
20839         [__BOUNDED_POINTERS__].
20840         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20841         __ptrvalue.
20842         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20843         use __unbounded.
20844         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20845         or __ptrvalue.
20846         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20847         use __unbounded.
20848         (__new_shmctl): Do not use __ptrvalue.
20849         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20850         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20851         Likewise.
20852         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20853         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20854         (__libc_sigaction): Likewise.
20855         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20856         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20857         Likewise.
20858         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20860 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20862         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20864         * string/mempcpy.c: Implement by calling memcpy.
20866 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20871         evaluation.
20873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20874         values in the mantissa.
20876         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20877         minimize writes to Z.
20878         (sub_magnitudes): Simplify code a bit.
20880 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20882         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20883         from the message.  The linker prefixes all warnings with that already.
20885 2013-02-12  Andreas Schwab  <schwab@suse.de>
20887         [BZ #15078]
20888         * posix/regexec.c (extend_buffers): Add parameter min_len.
20889         (check_matching): Pass minimum needed length.
20890         (clean_state_log_if_needed): Likewise.
20891         (get_subexp): Likewise.
20892         * posix/Makefile (tests): Add bug-regex34.
20893         (bug-regex34-ENV): Define.
20894         * posix/bug-regex34.c: New file.
20896         [BZ #11561]
20897         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20898         elements compare against the byte sequence of it, not its name.
20899         * posix/Makefile (tests): Add bug-regex35.
20900         (bug-regex35-ENV): Define.
20901         * posix/bug-regex35.c: New file.
20903 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20905         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20906         comment.
20907         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20908         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20909         (CHECK_EOL): Add undef.
20911 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20913         * bits/stdlib-bsearch.h: New file.
20914         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20915         * stdlib/stdlib.h: Likewise.
20917 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20919         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20920         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20921         declaration.
20922         * manual/search.texi (Array Search Function): Add missing const in
20923         lfind prototype.
20924         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20925         declaration to use rlim_t.
20926         (Basic Scheduling Functions): Remove erroneous const from
20927         sched_getparam prototype.  Remove erroneous * from
20928         sched_get_priority_max and sched_get_priority_min prototypes.
20929         (Resource Usage): Fix summary @comment on vtimes to refer to
20930         sys/vtimes.h rather than vtimes.h.
20931         Add missing *s in vtimes prototype.
20932         (Limits on Resources): Fix ulimit prototype to return long int.
20933         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20934         prototypes to use long int rather than double.
20935         (BSD Random): Fix initstate and setstate to use char *, not void *.
20936         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20937         prototype to make second argument 'struct aiocb64 *const[]'.
20938         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20939         (Status of AIO Operations): Remove erroneous const in aio_return and
20940         aio_return64 prototypes.
20941         (Synchronizing I/O): Fix sync prototype to return void.
20942         * manual/startup.texi (Suboptions): Remove an erroneous const in
20943         getsubopt prototype.
20944         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20945         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20946         use size_t rather than int.
20947         (Scanning All Users): Likewise for getpwent_r.
20948         (Setting Groups): Add missing const to setgroups prototype.
20949         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20950         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20951         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20952         'const void *' rather than 'const char *'.
20953         (Host Address Functions): Likewise for inet_ntop.
20954         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20955         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20956         ssize_t for return value.
20957         (Sending Data): Likewise for send, sendto, sendmsg.
20958         (Socket Option Functions): Add a missing const in setsockopt prototype.
20959         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20960         use wchar_t for the argument.
20961         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20962         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20963         take no arguments.
20964         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20965         double/float/long double for second argument.
20966         Fix return types of significand, significandf, significandl.
20967         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20968         argument in fchmod prototype.
20969         (File Owner): Use uid_t and gid_t in fchown prototype.
20970         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20971         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20972         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20973         use 'const struct dirent **' as argument types to CMP function pointer
20974         argument.
20975         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20976         (File Times): Fix summary magic @comment for struct utimbuf and utime
20977         to refer to utime.h, not time.h.
20978         * manual/string.texi (Argz Functions): Add missing const in
20979         argz_extract and argz_next prototypes.
20980         (Finding Tokens in a String): Likewise for basename.
20981         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20982         (Copying and Concatenation): Fix typo in wmemmove prototype.
20983         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20984         (Signal Stack): Remove erroneous const in sigstack prototype.
20985         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20986         prototype.
20987         (Simple Calendar Time): Likewise for stime.
20988         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20989         prototype.
20990         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20991         say sys/sysctl.h instead.
20992         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20993         and vsyslog prototypes.
20995 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20997         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20998         Remove.
21000 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21002         * misc/sys/mman.h: Fix typo in mremap comment.
21004 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21006         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21007         the '\0' terminator.
21009 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21011         [BZ #13550]
21012         * debug/segfault.c: Don't include <bp-checks.h>.
21013         * sysdeps/generic/bp-checks.h: Remove file.
21014         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21015         (__GETDENTS): Don't use CHECK_N.
21016         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21017         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21018         (__getgroups): Don't use CHECK_N.
21019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21020         (setgroups): Don't use CHECK_N.
21021         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21022         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21023         (__libc_msgrcv): Don't use CHECK_N.
21024         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21025         (__libc_msgsnd): Don't use CHECK_N.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21027         <bp-checks.h>.
21028         (__libc_pread): Don't use CHECK_N.
21029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21030         include <bp-checks.h>.
21031         (__libc_pread64): Don't use CHECK_N.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21033         include <bp-checks.h>.
21034         (__libc_pwrite): Don't use CHECK_N.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21036         include <bp-checks.h>.
21037         (__libc_pwrite64): Don't use CHECK_N.
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21039         <bp-checks.h>.
21040         (__libc_pread): Don't use CHECK_N.
21041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21042         include <bp-checks.h>.
21043         (__libc_pread64): Don't use CHECK_N.
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21045         include <bp-checks.h>.
21046         (__libc_pwrite): Don't use CHECK_N.
21047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21048         include <bp-checks.h>.
21049         (__libc_pwrite64): Don't use CHECK_N.
21050         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21051         (do_pread): Don't use CHECK_N.
21052         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21053         (do_pread64): Don't use CHECK_N.
21054         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21055         (do_pwrite): Don't use CHECK_N.
21056         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21057         (do_pwrite64): Don't use CHECK_N.
21058         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21059         (__libc_readv): Don't use CHECK_N.
21060         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21061         (semop): Don't use CHECK_N.
21062         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21063         <bp-checks.h>.
21064         (semtimedop): Don't use CHECK_N.
21065         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21066         (__libc_pread): Don't use CHECK_N.
21067         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21068         <bp-checks.h>.
21069         (__libc_pread64): Don't use CHECK_N.
21070         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21071         <bp-checks.h>.
21072         (__libc_pwrite): Don't use CHECK_N.
21073         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21074         <bp-checks.h>.
21075         (__libc_pwrite64): Don't use CHECK_N.
21076         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21077         <bp-checks.h>.
21078         (__libc_msgrcv): Don't use CHECK_N.
21079         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21080         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21081         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21082         (__libc_writev): Don't use CHECK_N.
21084 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21086         * string/strcpy.c: Removed unused variable.
21088         * Makeconfig (+sysdep-includes): Define with := rather than =.
21089         Use an existing include/ subdir of each sysdeps dir before it.
21091 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21093         * nscd/connection.c (register_traced_file): Comment function.
21094         [HAVE_INOTIFY] (union __inev): Define.
21095         [HAVE_INOTIFY] (inotify_check_files): New function.
21096         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21097         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21098         clear_db_cache.
21099         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21101 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21103         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21104         loaded if not already and that a failure is permanent.
21106 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21108         [BZ #15006]
21109         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21110         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21112 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21114         [BZ #13550]
21115         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21116         (CHECK_1_NULL_OK): Likewise.
21117         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21118         (__fxstat): Do not use CHECK_1.
21119         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21120         <bp-checks.h>.
21121         (___fxstat64): Do not use CHECK_1.
21122         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21123         <bp-checks.h>.
21124         (__fxstatat): Do not use CHECK_1.
21125         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21126         <bp-checks.h>.
21127         (__fxstatat64): Do not use CHECK_1.
21128         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21129         <bp-checks.h>.
21130         (__fxstat): Do not use CHECK_1.
21131         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21132         <bp-checks.h>.
21133         (__fxstatat): Do not use CHECK_1.
21134         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21135         <bp-checks.h>.
21136         (__getresgid): Do not use CHECK_1.
21137         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21138         <bp-checks.h>.
21139         (__getresuid): Do not use CHECK_1.
21140         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21141         <bp-checks.h>.
21142         (__lxstat): Do not use CHECK_1.
21143         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21144         <bp-checks.h>.
21145         (__old_msgctl): Do not use CHECK_1.
21146         (__new_msgctl): Likewise.
21147         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21148         <bp-checks.h>.
21149         (__new_setrlimit): Do not use CHECK_1.
21150         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21151         <bp-checks.h>.
21152         (__old_shmctl): Do not use CHECK_1.
21153         (__new_shmctl): Likewise.
21154         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21155         <bp-checks.h>.
21156         (__xstat): Do not use CHECK_1.
21157         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21158         (__lxstat): Do not use CHECK_1.
21159         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21160         <bp-checks.h>.
21161         (___lxstat64): Do not use CHECK_1.
21162         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21163         (__old_msgctl): Do not use CHECK_1.
21164         (__new_msgctl): Likewise.
21165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21166         <bp-checks.h>.
21167         (__gettimeofday): Do not use CHECK_1.
21168         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21169         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21170         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21171         <bp-checks.h>.
21172         (__gettimeofday): Do not use CHECK_1.
21173         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21174         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21175         (__new_shmctl): Do not use CHECK_1.
21176         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21177         <bp-checks.h>.
21178         (do_sigtimedwait): Do not use CHECK_1.
21179         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21180         <bp-checks.h>.
21181         (do_sigwaitinfo): Do not use CHECK_1.
21182         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21183         <bp-checks.h>.
21184         (msgctl): Do not use CHECK_1.
21185         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21186         <bp-checks.h>.
21187         (shmctl): Do not use CHECK_1.
21188         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21189         (ustat): Do not use CHECK_1.
21190         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21191         <bp-checks.h>.
21192         (__fxstat): Do not use CHECK_1.
21193         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21194         <bp-checks.h>.
21195         (__fxstatat): Do not use CHECK_1.
21196         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21197         <bp-checks.h>.
21198         (__lxstat): Do not use CHECK_1.
21199         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21200         <bp-checks.h>.
21201         (__xstat): Do not use CHECK_1.
21202         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21203         (__xstat): Do not use CHECK_1.
21204         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21205         (___xstat64): Do not use CHECK_1.
21207         [BZ #13550]
21208         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21209         definitions.
21210         (CHECK_BOUNDS_HIGH): Likewise.
21211         * string/strcpy.c: Do not include <bp-checks.h>.
21212         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21214 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21216         * nscd/nscd-client.h (__nscd_drop_map_ref):
21217         Add __attribute__ ((unused)).
21218         * nis/nss-nisplus.h (niserr2nss): Likewise.
21220         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21221         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21223         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21224         Remove inline keyword.
21225         * include/rounding-mode.h (round_away): Likewise.
21226         * libio/wfileops.c (adjust_wide_data): Likewise.
21227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21228         (__m128i_strloadu_tolower): Likewise.
21229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21230         (__m128i_strloadu_tolower): Likewise.
21231         * time/mktime.c (ydhms_diff): Likewise.
21232         * locale/elem-hash.h (elem_hash): Likewise.
21233         * locale/setlocale.c (setdata): Likewise.
21234         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21235         (re_string_wchar_at): Likewise.
21236         (bitset_not, bitset_merge, bitset_mask): Likewise.
21237         [!(__GNUC__ > 3)] (inline): Remove macro.
21238         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21239         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21240         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21241         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21242         * string/memcmp.c (memcmp_bytes): Likewise.
21243         * locale/programs/locarchive.c (compute_hashval): Likewise.
21244         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21245         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21246         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21247         * nss/getent.c (print_rpc, print_protocols): Likewise.
21248         (print_passwd, print_group, print_aliases): Likewise.
21249         * nis/nss-nisplus.h (niserr2nss): Likewise.
21250         * nscd/connections.c (restart_p): Likewise.
21251         Change return type to bool.
21253 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21255         * Makeconfig (all-Depend-files): Add existing
21256         $(sorted-subdirs:=/Depend) files.
21257         (all-subdirs): Remove nss.
21258         * sysdeps/unix/inet/Subdirs: Add it here instead.
21259         * hesiod/Depend: New file.
21261         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21262         instead of calling alloca.
21264         * io/lseek.c (__lseek): Rename to __libc_lseek.
21265         Define __lseek as an alias.
21267         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21269 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21271         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21272         else clause and remove check for non-standard endianness.
21274 2013-02-04  David S. Miller  <davem@davemloft.net>
21276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21278 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21280         [BZ #13550]
21281         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21282         (__ubp_memchr): Remove prototype.
21283         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21284         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21285         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21286         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21287         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21288         Remove alias.
21289         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21290         (__ubp_memchr): Likewise.
21291         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21292         (__ubp_memchr): Likewise.
21293         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21294         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21295         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21296         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21297         CHECK_STRING.
21298         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21299         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21300         (__getcwd): Do not use CHECK_STRING.
21301         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21302         <bp-checks.h>.
21303         (__real_chown): Do not use CHECK_STRING.
21304         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21305         <bp-checks.h>.
21306         (fchownat): Do not use CHECK_STRING.
21307         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21308         CHECK_STRING.
21309         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21310         <bp-checks.h>.
21311         (__lchown): Do not use CHECK_STRING.
21312         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21314         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21315         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21317         include <bp-checks.h>.
21318         (truncate64): Do not use CHECK_STRING.
21319         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21320         <bp-checks.h>.
21321         (__real_chown): Do not use CHECK_STRING.
21322         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21323         <bp-checks.h>.
21324         (__lchown): Do not use CHECK_STRING.
21325         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21326         <bp-checks.h>.
21327         (__chown): Do not use CHECK_STRING.
21328         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21329         <bp-checks.h>.
21330         (truncate64): Do not use CHECK_STRING.
21331         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21332         Likewise.
21333         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21334         (__xmknod): Do not use CHECK_STRING.
21335         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21336         <bp-checks.h>.
21337         (__xmknodat): Do not use CHECK_STRING.
21338         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21339         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21341 2013-02-04  Andreas Schwab  <schwab@suse.de>
21343         [BZ #14142]
21344         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21345         * include/netdb.h: Likewise for h_errno.
21346         * elf/tst-stackguard1.c: Include <tls.h>.
21348 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21350         * elf/link.h (struct link_map): Extend the l_addr comment.
21351         * include/link.h (struct link_map): Likewise.
21353 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21355         [BZ #13550]
21356         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21357         (BOUNDED_1): Remove macro.
21358         * debug/backtrace.c: Don't include <bp-checks.h>.
21359         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21360         (__backtrace): Likewise.
21361         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21362         <bp-checks.h>.
21363         (__backtrace): Don't use BOUNDED_1.
21364         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21365         <bp-checks.h>.
21366         (__backtrace): Don't use BOUNDED_1.
21367         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21368         (__backtrace): Don't use BOUNDED_1.
21369         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21370         (shmat): Don't use BOUNDED_N.
21372 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21374         [BZ #13550]
21375         * sysdeps/generic/bp-start.h: Remove file.
21376         * csu/libc-start.c: Don't include <bp-start.h>.
21377         (LIBC_START_MAIN): Set up __environ directly instead of using
21378         INIT_ARGV_and_ENVIRON.
21379         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21380         <bp-start.h>.
21382         [BZ #13550]
21383         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21384         definitions.
21385         (CHECK_FCNTL): Likewise.
21386         (CHECK_N_PAGES): Likewise.
21388         [BZ #13550]
21389         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21390         definitions.
21391         (CHECK_SIGSET_NULL_OK): Likewise.
21392         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21393         <bp-checks.h>.
21394         (sigpending): Don't use CHECK_SIGSET.
21395         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21396         <bp-checks.h>.
21397         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21398         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21399         <bp-checks.h>.
21400         (do_sigsuspend): Don't use CHECK_SIGSET.
21401         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21402         use CHECK_SIGSET.
21403         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21404         (do_sigwait): Don't use CHECK_SIGSET.
21405         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21406         use CHECK_SIGSET.
21407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21408         include <bp-checks.h>.
21409         (sigpending): Don't use CHECK_SIGSET.
21410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21411         include <bp-checks.h>.
21412         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21413         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21414         <bp-checks.h>.
21415         (sigpending): Don't use CHECK_SIGSET.
21416         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21417         <bp-checks.h>.
21418         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21420         [BZ #13550]
21421         * sysdeps/generic/bp-semctl.h: Remove file.
21422         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21423         <bp-checks.h> and <bp-semctl.h>.
21424         (__old_semctl): Don't use CHECK_SEMCTL.
21425         (__new_semctl): Likewise.
21426         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21427         and <bp-semctl.h>.
21428         (__old_semctl): Don't use CHECK_SEMCTL.
21429         (__new_semctl): Likewise.
21430         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21431         <bp-checks.h> and <bp-semctl.h>.
21432         (__old_semctl): Don't use CHECK_SEMCTL.
21433         (__new_semctl): Likewise.
21434         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21435         <bp-checks.h> and <bp-semctl.h>.
21436         (semctl): Don't use CHECK_SEMCTL.
21438         [BZ #13550]
21439         * Makerules (elide-bp-thunks): Remove variable.
21440         (elide-routines.oS): Don't use $(elide-bp-thunks).
21441         (elide-routines.os): Likewise.
21442         (elide-routines.o): Likewise.
21443         (elide-routines.op): Likewise.
21444         (elide-routines.og): Likewise.
21445         (objects): Don't use $(bp-thunks).
21446         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21447         include.
21448         (common-generated): Do not add s-proto-bp.d.
21449         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21450         (int): Likewise.
21451         (typ): Likewise.
21452         Do not generate makefile rules for bounded-pointer thunks.
21453         * sysdeps/generic/bp-thunks.h: Remove file.
21454         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21455         * sysdeps/unix/s-proto-bp.S: Likewise.
21457         [BZ #15062]
21458         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21459         parts of result separately when argument is not close to line from
21460         -i to i and one part of argument is small.
21461         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21462         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21463         * math/libm-test.inc (cacos_test): Add more tests.
21464         (casin_test): Likewise.
21465         (casinh_test): Likewise.
21466         * sysdeps/i386/fpu/libm-test-ulps: Update.
21467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21469 2013-01-31  David S. Miller  <davem@davemloft.net>
21471         * po/de.po: Update from translation team.
21473 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21475         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21477 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21479         * configure.in (_AC_PROG_CC_C89): New definition.
21480         * configure: Regenerate.
21482         * configure.in (AC_PROG_CPP): New definition.
21483         * configure: Regenerate.
21485 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21487         * debug/tst-backtrace.h: New file.
21488         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21489         (ret): Remove variable.
21490         (x): Likewise.
21491         (FAIL): Remove macro.
21492         (NO_INLINE): Likewise.
21493         (fn1): Use match function instead of strstr.
21494         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21495         (ret): Remove variable.
21496         (x): Likewise.
21497         (FAIL): Remove macro.
21498         (NO_INLINE): Likewise.
21499         (fn): Use match function instead of strstr.
21500         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21501         (ret): Remove variable.
21502         (x): Likewise.
21503         (FAIL): Remove macro.
21504         (NO_INLINE): Likewise.
21505         (handle_signal): Use match function instead of strstr.
21506         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21507         (ret): Remove variable.
21508         (x): Likewise.
21509         (FAIL): Remove macro.
21510         (NO_INLINE): Likewise.
21511         (handle_signal): Use match function instead of strstr.
21513 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21515         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21517 2013-01-23  David S. Miller  <davem@davemloft.net>
21519         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21520         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21521         argument of CAS if possible.
21522         * sysdeps/sparc/sparc64/bits/atomic.h
21523         (__arch_compare_and_exchange_val_32_acq): Likewise.
21524         (__arch_compare_and_exchange_val_64_acq): Likewise.
21526 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21528         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21529         * sysdeps/posix/ulimit.c: ... this.
21530         Include <limits.h>.
21531         * sysdeps/unix/bsd/ulimit.c: Remove file.
21533 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21535         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21536         (LDFLAGS-tst-array5): Likewise.
21538 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21540         [BZ #15036]
21541         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21542         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21543         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21544         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21546 2013-01-21  David S. Miller  <davem@davemloft.net>
21548         * sysdeps/sparc/backtrace.c: New file.
21549         * sysdeps/sparc/sparc32/backtrace.h: New file.
21550         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21551         * sysdeps/sparc/sparc64/backtrace.h: New file.
21552         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21553         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21554         -funwind-tables.
21556 2013-01-21  Andreas Schwab  <schwab@suse.de>
21558         [BZ #15020]
21559         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21560         closed its stdout.
21562 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21565         "mpa2.h".
21566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21568 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21569             Mark Mitchell  <mark@codesourcery.com>
21570             Tom de Vries  <tom@codesourcery.com>
21571             Paul Pluzhnikov  <ppluzhnikov@google.com>
21573         * debug/tst-backtrace2.c: New file.
21574         * debug/tst-backtrace3.c: Likewise.
21575         * debug/tst-backtrace4.c: Likewise.
21576         * debug/tst-backtrace5.c: Likewise.
21577         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21578         (CFLAGS-tst-backtrace3.c): Likewise.
21579         (CFLAGS-tst-backtrace4.c): Likewise.
21580         (CFLAGS-tst-backtrace5.c): Likewise.
21581         (LDFLAGS-tst-backtrace2): Likewise.
21582         (LDFLAGS-tst-backtrace3): Likewise.
21583         (LDFLAGS-tst-backtrace4): Likewise.
21584         (LDFLAGS-tst-backtrace5): Likewise.
21585         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21586         tst-backtrace4 and tst-backtrace5.
21588 2013-01-18  Anton Blanchard  <anton@samba.org>
21589             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21591         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21592         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21594         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21596         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21597         "+r" and remove output regs list as redundant.  Add explicit inline
21598         asm to specify register of return val to work around compiler codegen
21599         bug.  Remove (int) cast on return value.  Add return type parameter to
21600         use in macro so that this macro does not truncate return value for
21601         64-bit values.
21602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21603         pass to INTERNAL_VSYSCALL_NCS.
21604         (INLINE_VSYSCALL): Add 'long int' as return type to
21605         INTERNAL_VSYSCALL_NCS macro invocation.
21606         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21607         INTERNAL_VSYSCALL_NCS macro invocation.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21610 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21612         [BZ #14496]
21613         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21614         Fix application of SIMD FP exception mask.
21616         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21617         mp_no from a power of two.
21618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21619         __mpexp_twomm1.  Use __pow_mp.
21621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21622         multiplication.
21624 2013-01-17  David S. Miller  <davem@davemloft.net>
21626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21628 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21630         [BZ #15023]
21631         * include/complex.h: Condition contents on [!_COMPLEX_H].
21632         (__kernel_casinhf): New prototype.
21633         (__kernel_casinh): Likewise.
21634         (__kernel_casinhl): Likewise.
21635         * math/Makefile (libm_calls): Add k_casinh.
21636         * math/k_casinh.c: New file.
21637         * math/k_casinhf.c: Likewise.
21638         * math/k_casinhl.c: Likewise.
21639         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21640         finite nonzero arguments.
21641         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21642         finite nonzero arguments.
21643         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21644         finite nonzero arguments.
21645         * math/s_casinh.c: Do not include <float.h>.
21646         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21647         * math/s_casinhf.c: Do not include <float.h>.
21648         (__casinhf): Move code for finite nonzero arguments to
21649         k_casinhf.c.
21650         * math/s_casinhl.c: Do not include <float.h>.
21651         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21652         redefine.
21653         (__casinhl): Move code for finite nonzero arguments to
21654         k_casinhl.c.
21655         * math/libm-test.inc (cacos_test): Add more tests.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21661         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21662         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21663         [!HAVE_MREMAP]: Remove [defined linux] case.
21664         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21666 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21668         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21670 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21672         * elf/elf.h (R_386_SIZE32): New relocation.
21673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21674         R_386_SIZE32.
21675         (elf_machine_rela): Likewise.
21676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21677         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21679 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21681         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21682         (FP_FAST_FMA): Do not define.
21683         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21684         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21685         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21686         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21687         !_SOFT_FLOAT]: Likewise.
21688         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21689         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21690         value.
21691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21692         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21693         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21694         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21695         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21696         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21697         file.
21699 2013-01-16  Andreas Schwab  <schwab@suse.de>
21701         [BZ #14327]
21702         * include/stdlib.h (__mktemp): Add declaration.
21703         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21704         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21706 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21708         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21709         definitions.
21710         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21711         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21712         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21713         definitions here.
21714         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21715         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21716         definitions.
21717         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21718         and ONE.
21719         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21720         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21721         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21722         definitions.
21723         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21724         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21725         definitions.
21726         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21728         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21730 2013-01-15  David S. Miller  <davem@davemloft.net>
21732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21733         trunc{,f} to libm-sysdep_routes.
21734         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21736         file.
21737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21739         file.
21740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21741         file.
21742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21748         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21749         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21752         nearbyint{,f} to libm-sysdep_routes.
21753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21755         New file.
21756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21757         file.
21758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21759         New file.
21760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21761         file.
21762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21764         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21765         file.
21766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21767         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21768         file.
21769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21770         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21771         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21773         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21774         libc_feholdexcept and libc_fesetenv.
21776 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21778         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21780 2013-01-14  David S. Miller  <davem@davemloft.net>
21782         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21783         (SPARC_ASM_VIS2_IFUNC): Likewise.
21784         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21786         use of 'siam' instruction.
21787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21788         Likewise.
21789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21790         Likewise.
21791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21792         Likewise.
21793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21798         file.
21799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21800         file.
21801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21802         file.
21803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21804         file.
21805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21810         new VIS2 routines.
21811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21814         Likewise.
21815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21820         routines to libm-sysdep_routines.
21821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21824         fdim/fdimf to libm-sysdep_routines.
21825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21826         file.
21827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21829         file.
21830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21833         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21834         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21835         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21836         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21838 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21841         to optimize copies.
21843         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21848         local variable MPTWO.
21849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21850         Likewise.
21852 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21854         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21855         GLOB_NOESCAPE.
21857 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21859         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21861 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21863         * manual/pattern.texi (glob_t): Document gl_flags.
21864         (glob64_t): Likewise.
21866 2013-01-11  David S. Miller  <davem@davemloft.net>
21868         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21869         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21870         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21871         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21872         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21873         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21874         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21875         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21876         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21877         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21878         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21879         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21880         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21883         sparc V9 rather than using V8 code.
21884         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21885         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21887         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21888         Move to...
21889         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21890         Here.
21892 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21894         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21895         not in the main loop.
21896         * configure: Regenerated.
21898 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21900         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21901         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21902         to just #else.
21903         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21904         [!__GLIBC_HAVE_LONG_LONG] case.
21905         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21906         condition to just #else.
21907         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21908         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21909         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21910         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21911         unconditional.
21912         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21913         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21914         #elif condition to just #else.
21915         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21916         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21917         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21918         #elif condition to just #else.
21920 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21922         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21923         (EF_MIPS_ARCH_64): Fix value.
21924         (EF_MIPS_ARCH_32R2): New.
21925         (EF_MIPS_ARCH_64R2): New.
21927 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21929         * Makeconfig (+link-pie-before-libc): New.
21930         (+link-pie-after-libc): Likewise.
21931         (+link-pie-tests): Likewise.
21932         (+link-pie): Rewritten.
21933         (link-before-libc): Remove $(config-LDFLAGS).
21934         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21935         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21936         (config-LDFLAGS): Renamed to ...
21937         (rtld-LDFLAGS): This.
21938         (rtld-tests-LDFLAGS): New macro.
21939         (link-libc-rpath-link): Likewise.
21940         (link-libc-tests-rpath-link): Likewise.
21941         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21942         (link-libc): Prepand $(link-libc-rpath-link).
21943         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21944         (test-program-prefix): New macro.
21945         (test-via-rtld-prefix): Likewise.
21946         (test-program-cmd): Likewise.
21947         (host-test-program-cmd): Likewise.
21948         * Makefile ($(common-objpfx)testrun.sh): Replace
21949         $(run-program-prefix) with $(test-program-prefix).
21950         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21951         $(rtld-LDFLAGS).
21952         ($(common-objpfx)shlib.lds): Likewise.
21953         (build-module-helper): Likewise.
21954         ($(common-objpfx)format.lds): Likewise.
21955         * Rules (binaries-pie-tests): New.
21956         (binaries-pie-notests): Likewise.
21957         (binaries-pie): Rewritten.
21958         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21959         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21960         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21961         (make-test-out): Replace $(host-built-program-cmd) with
21962         $(host-test-program-cmd).
21963         * config.make.in (build-hardcoded-path-in-tests): New variable.
21964         * configure.in (--enable-hardcoded-path-in-tests): New configure
21965         option.
21966         (hardcoded_path_in_tests): New AC_SUBST.
21967         * configure: Regenerated.
21968         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21969         $(built-program-cmd) with $(test-program-cmd).
21970         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21971         (test_program_cmd): This.
21972         * elf/Makefile ($(objpfx)order.out): Run test with
21973         $(test-program-prefix).
21974         ($(objpfx)order2.out): Likewise.
21975         ($(objpfx)tst-initorder.out): Likewise.
21976         ($(objpfx)tst-initorder2.out): Likewise.
21977         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21978         $(test-program-cmd).
21979         ($(objpfx)tst-array1-static.out): Likewise.
21980         ($(objpfx)tst-array2.out): Likewise.
21981         ($(objpfx)tst-array3.out): Likewise.
21982         ($(objpfx)tst-array4.out): Likewise.
21983         ($(objpfx)tst-array5.out): Likewise.
21984         ($(objpfx)tst-array5-static.out): Likewise.
21985         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21986         $(test-program-cmd).
21987         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21988         $(run-program-prefix) with $(test-program-prefix).
21989         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21990         (test_program_prefix): This.
21991         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21992         $(run-program-prefix) with $(test-program-prefix).
21993         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21994         (test_program_prefix): This.
21995         * iconvdata/tst-tables.sh: Likewise.
21996         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21997         $(run-program-prefix) with $(test-program-prefix).
21998         ($(objpfx)tst-translit.out): Likewise.
21999         ($(objpfx)tst-gettext2.out): Likewise.
22000         ($(objpfx)tst-gettext4.out): Likewise.
22001         ($(objpfx)tst-gettext6.out): Likewise.
22002         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22003         (test_program_prefix): This.
22004         * intl/tst-gettext2.sh: Likewise.
22005         * intl/tst-gettext4.sh  Likewise.
22006         * intl/tst-gettext6.sh: Likewise.
22007         * intl/tst-translit.sh: Likewise.
22008         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22009         with $(test-program-cmd).
22010         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22011         $(run-program-prefix) with $(test-program-prefix).
22012         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22013         (test_program_prefix): This.
22014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22015         $(run-program-prefix) with $(test-program-prefix).
22016         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22017         (test_program_prefix): This.
22018         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22019         * posix/Makefile ($(objpfx)globtest.out): Replace
22020         $(run-via-rtld-prefix) and $(test-wrapper) with
22021         $(test-program-prefix) and $(test-via-rtld-prefix).
22022         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22023         $(test-program-prefix).
22024         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22025         $(host-test-program-cmd).
22026         (tst-spawn-ARGS): Likewise.
22027         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22028         $(test-program-prefix).
22029         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22030         (test_via_rtld_prefix): This.
22031         (test_wrapper): Renamed to ...
22032         (test_program_prefix): This.
22033         (run_program_prefix): Replaced by test_program_prefix.
22034         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22035         (test_program_prefix): This.
22036         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22037         with $(host-test-program-cmd).
22038         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22039         $(run-program-prefix) with $(test-program-prefix).
22040         ($(objpfx)tst-printf.out): Likewise.
22041         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22042         $(test-program-cmd).
22043         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22044         (test_program_prefix): This.
22045         * stdio-common/tst-unbputc.sh: Likewise.
22046         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22047         $(run-program-prefix) with $(test-program-prefix).
22048         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22049         (test_program_prefix): This.
22050         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22051         $(built-program-cmd) with $(test-program-cmd).
22053 2013-01-11  Andreas Jaeger  <aj@suse.de>
22055         [BZ #15003]
22056         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22057         value. Sync with Linux 3.7.
22059 2013-01-10  David S. Miller  <davem@davemloft.net>
22061         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22065 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22067         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22068         never set.
22069         * configure: Regenerated.
22071 2013-01-10  David S. Miller  <davem@davemloft.net>
22073         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22074         sparc V9 rather than using V8 code.
22075         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22076         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22078 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22080         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22081         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22082         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22083         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22084         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22085         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22086         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22087         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22088         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22089         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22090         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22091         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22092         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22093         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22094         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22095         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22096         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22097         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22098         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22099         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22100         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22101         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22102         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22103         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22104         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22105         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22106         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22108 2013-01-10  David S. Miller  <davem@davemloft.net>
22110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22112 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22114         * posix/Makefile (tests-static): New variable.
22115         (tests): Add $(tests-static).
22116         (tst-exec-static-ARGS): New variable.
22117         (tst-spawn-static-ARGS): Likewise.
22118         * posix/tst-exec-static.c: New file.
22119         * posix/tst-spawn-static.c: Likewise.
22120         * posix/tst-exec.c: Support run directly.
22121         * posix/tst-spawn.c: Likewise.
22123 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22125         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22126         long.
22127         * math/bits/mathcalls.h (llrint): Likewise.
22128         (llround): Likewise.
22129         * stdlib/stdlib.h (struct drand48_data): Likewise.
22130         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22131         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22132         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22133         Likewise.
22134         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22135         Likewise.
22136         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22137         (elf_greg_t): Likewise.
22138         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22139         (__jmp_buf): Likewise.
22140         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22141         definitions.
22142         (llrint): Likewise, for all definitions.
22143         (llrintl): Likewise.
22145         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22146         Remove [__GNUC__] condition.
22147         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22148         condition to just [__USE_ISOC99].
22149         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22151 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22153         [BZ #14200]
22154         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22155         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22156         defined.
22157         (_POSIX_V6_ILP32_OFF32): Likewise.
22158         (_XBS5_ILP32_OFF32): Likewise.
22159         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22160         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22162 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22164         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22167         doubles __mpexp_twomm1.  Adjust usage.
22168         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22169         Remove.
22171 2013-01-10  Andreas Schwab  <schwab@suse.de>
22173         [BZ #14964]
22174         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22175         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22177 2013-01-09  David S. Miller  <davem@davemloft.net>
22179         [BZ #15003]
22180         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22181         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22182         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22183         (TCP_FASTOPEN): Define.
22184         (tcp_repair_opt): New structure.
22185         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22186         enum values.
22187         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22188         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22189         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22190         (tcp_cookie_transactions): New structure.
22192 2013-01-09  Anton Blanchard  <anton@samba.org>
22194         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22195         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22199 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22201         * include/features.h (__USE_ANSI): Remove.
22203 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22205         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22207         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22209 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211         * sysdeps/s390/fpu/libm-test-ulps: Update.
22213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22215         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22216         (__acr): Likewise.
22217         (__cpy): Likewise.
22218         (norm): Likewise.
22219         (denorm): Likewise.
22220         (__mp_dbl): Likewise.
22221         (__dbl_mp): Likewise.
22222         (add_magnitudes): Likewise.
22223         (sub_magnitudes): Likewise.
22224         (__add): Likewise.
22225         (__sub): Likewise.
22226         (__mul): Likewise.
22227         (__inv): Likewise.
22228         (__dvd): Likewise.
22229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22230         (__acr): Likewise.
22231         (__cpy): Likewise.
22232         (norm): Likewise.
22233         (denorm): Likewise.
22234         (__mp_dbl): Likewise.
22235         (__dbl_mp): Likewise.
22236         (add_magnitudes): Likewise.
22237         (sub_magnitudes): Likewise.
22238         (__add): Likewise.
22239         (__sub): Likewise.
22240         (__mul): Likewise.
22241         (__inv): Likewise.
22242         (__dvd): Likewise.
22243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22244         (__acr): Likewise.
22245         (__cpy): Likewise.
22246         (norm): Likewise.
22247         (denorm): Likewise.
22248         (__mp_dbl): Likewise.
22249         (__dbl_mp): Likewise.
22250         (add_magnitudes): Likewise.
22251         (sub_magnitudes): Likewise.
22252         (__add): Likewise.
22253         (__sub): Likewise.
22254         (__mul): Likewise.
22255         (__inv): Likewise.
22256         (__dvd): Likewise.
22258 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22260         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22261         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22262         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22263         2 && __USE_EXTERN_INLINES]: Likewise.
22265 2013-01-08  Andreas Jaeger  <aj@suse.de>
22267         [BZ# 14985]
22268         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22269         Remove.
22270         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22273 2013-01-07  Anton Blanchard  <anton@samba.org>
22275         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22276         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22277         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22278         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22279         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22280         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22281         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22282         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22284         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22285         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22286         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22289         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22290         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22291         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22292         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22293         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22295         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22296         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22298         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22299         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22300         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22301         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22302         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22304         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22305         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22307         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22308         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22309         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22311         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22313         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22315         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22317         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22319 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22321         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22322         (__MALLOC_PMT): Likewise.
22323         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22324         [__GNUC__], only on [_LIBC].
22325         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22326         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22327         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22328         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22329         forward declaration.
22330         (realloc_hook_ini): Likewise.
22331         (memalign_hook_ini): Likewise.
22332         (__libc_memalign): Do not use __MALLOC_PMT in variable
22333         declaration.
22334         (__libc_valloc): Likewise.
22335         (__libc_pvalloc): Likewise.
22336         (__libc_calloc): Likewise.
22337         (__posix_memalign): Likewise.
22339         [BZ #14996]
22340         * math/s_casinh.c: Include <float.h>.
22341         (__casinh): Do not do computation with squaring and square root
22342         for large arguments.
22343         * math/s_casinhf.c: Include <float.h>.
22344         (__casinhf): Do not do computation with squaring and square root
22345         for large arguments.
22346         * math/s_casinhl.c: Include <float.h>.
22347         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22348         (__casinhl): Do not do computation with squaring and square root
22349         for large arguments.
22350         * math/libm-test.inc (casin_test): Add more tests.
22351         (casinh_test): Likewise.
22352         * sysdeps/i386/fpu/libm-test-ulps: Update.
22353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22355 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22357         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22358         (__x86_64_raw_data_cache_size): Likewise.
22359         (__x86_64_data_cache_size_half): Likewise.
22360         (__x86_64_raw_data_cache_size_half): Likewise.
22361         (__x86_64_shared_cache_size): Likewise.
22362         (__x86_64_raw_shared_cache_size): Likewise.
22363         (__x86_64_shared_cache_size_half): Likewise.
22364         (__x86_64_raw_shared_cache_size_half): Likewise.
22365         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22366         to ...
22367         (__x86_data_cache_size): This.
22368         (__x86_64_raw_data_cache_size): Renamed to ...
22369         (__x86_raw_data_cache_size): This.
22370         (__x86_64_data_cache_size_half): Renamed to ...
22371         (__x86_data_cache_size_half): This.
22372         (__x86_64_raw_data_cache_size_half): Renamed to ...
22373         (__x86_raw_data_cache_size_half): This.
22374         (__x86_64_shared_cache_size): Renamed to ...
22375         (__x86_shared_cache_size): This.
22376         (__x86_64_raw_shared_cache_size): Renamed to ...
22377         (__x86_raw_shared_cache_size): This.
22378         (__x86_64_shared_cache_size_half): Renamed to ...
22379         (__x86_shared_cache_size_half): This.
22380         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22381         (__x86_raw_shared_cache_size_half): This.
22382         * sysdeps/x86_64/memcpy.S: Updated.
22383         * sysdeps/x86_64/memset.S: Likewise.
22384         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22385         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22388 2013-01-04  David S. Miller  <davem@davemloft.net>
22390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22392 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22394         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22395         1 to avoid redefinition warning.
22396         (__USE_GNU): Don't define.
22397         (init_signaling_nan): Protoize.
22399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22401 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22403         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22405         (__cpymn): Likewise.
22406         (norm): Remove commented code.
22407         (denorm): Likewise.
22408         (__mp_dbl): Likewise.
22409         (__inv): Likewise.
22410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22411         (__cpymn): Likewise.
22412         (norm): Remove commented code.
22413         (denorm): Likewise.
22414         (__mp_dbl): Likewise.
22415         (__inv): Likewise.
22417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22418         mp_no value for 1.0 and 2.0.
22419         (norm): Use RADIXI instead of radixi.d.
22420         (denorm): Likewise.
22421         (__mul): Use 0.0 instead of zero.d.
22422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22423         mp_no value for 1.0 and 2.0.
22424         (norm): Use RADIXI instead of radixi.d.
22425         (denorm): Likewise.
22426         (__mul): Use 0.0 instead of zero.d.
22428 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22430         [BZ #14994]
22431         * math/s_casinh.c (__casinh): Reduce finite argument to first
22432         quadrant then set signs of results at the end.
22433         * math/s_casinhf.c (__casinhf): Likewise.
22434         * math/s_casinhl.c (__casinhl): Likewise.
22435         * math/libm-test.inc (casin_test): Add more tests.
22436         (casinh_test): Likewise.
22437         * sysdeps/i386/fpu/libm-test-ulps: Update.
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22442         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22444         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22446         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22447         declarations.
22448         (denorm): Likewise.
22449         (__mp_dbl): Likewise.
22450         (__inv): Likewise.
22452         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22453         and adjust the header comment.
22455         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22456         variable name from declaration.
22458 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22461         Initialize COMMON_CPUID_INDEX_7 element.
22462         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22463         (CPUID_RTM): Likewise.
22464         (HAS_RTM): Likewise.
22465         (COMMON_CPUID_INDEX_7): New enum.
22467 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22469         [BZ #14981]
22470         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22471         size is zero, record memory as freed.
22473 2013-01-03  Andreas Jaeger  <aj@suse.de>
22475         * po/ia.po: Add new Interlingua translation.
22477 2012-01-03  Allan McRae  <allan@archlinux.org>
22479         * locale/programs/localedef.c: Fix description of '--posix' flag.
22481 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22483         * NEWS: Update dates in second copyright notice.
22484         * README: Update copyright dates in example.
22485         * manual/libc.texinfo: Update copyright dates.
22486         * scripts/test-installation.pl: Update copyright date in --version
22487         output.
22489         * hurd/ctty-input.c: Fix copyright notice formatting.
22490         * hurd/ctty-output.c: Likewise.
22491         * hurd/dtable.c: Likewise.
22492         * hurd/hurd-raise.c: Likewise.
22493         * hurd/hurdprio.c: Likewise.
22494         * hurd/msgportdemux.c: Likewise.
22495         * misc/sys/file.h: Likewise.
22496         * misc/sys/ioctl.h: Likewise.
22497         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22498         * sysdeps/mach/hurd/chdir.c: Likewise.
22499         * sysdeps/mach/hurd/fchdir.c: Likewise.
22500         * sysdeps/mach/hurd/rename.c: Likewise.
22501         * sysdeps/mach/hurd/rmdir.c: Likewise.
22502         * sysdeps/mach/hurd/seekdir.c: Likewise.
22503         * sysdeps/mach/hurd/setsid.c: Likewise.
22504         * sysdeps/posix/wait3.c: Likewise.
22506         * All files with FSF copyright notices: Update copyright dates
22507         using scripts/update-copyrights.
22508         * intl/plural.c: Regenerated.
22509         * locale/programs/charmap-kw.h: Likewise.
22510         * locale/programs/locfile-kw.h: Likewise.
22512 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22514         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22515         four values.
22517         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22518         calculation loop and add branch prediction.
22520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22521         check access beyond bounds of m1np.
22523         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22524         MPTWO.
22525         (__inv): Remove local variable MPTWO to use the global
22526         constant.
22527         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22528         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22529         variable MPTWO.
22530         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22531         MP3HALFS static const.
22533 2013-01-01  David S. Miller  <davem@davemloft.net>
22535         * po/ca.po: Update from translation team.
22537 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22539         * scripts/update-copyrights: New file.
22540         * Makeconfig: Reformat copyright notice.
22541         * ctype/ctype.h: Likewise.
22542         * debug/swprintf_chk.c: Likewise.
22543         * elf/dl-cache.c: Likewise.
22544         * elf/dl-debug.c: Likewise.
22545         * elf/dl-object.c: Likewise.
22546         * grp/initgroups.c: Likewise.
22547         * hurd/Makefile: Likewise.
22548         * hurd/hurd/signal.h: Likewise.
22549         * hurd/hurdfault.c: Likewise.
22550         * hurd/hurdioctl.c: Likewise.
22551         * hurd/hurdlookup.c: Likewise.
22552         * hurd/intr-msg.c: Likewise.
22553         * iconv/gconv_open.c: Likewise.
22554         * libio/swprintf.c: Likewise.
22555         * locale/lc-ctype.c: Likewise.
22556         * locale/nl_langinfo.c: Likewise.
22557         * mach/Machrules: Likewise.
22558         * mach/Makefile: Likewise.
22559         * malloc/obstack.h: Likewise.
22560         * manual/Makefile: Likewise.
22561         * manual/tsort.awk: Likewise.
22562         * misc/bits/stab.def: Likewise.
22563         * nis/nis_print_group_entry.c: Likewise.
22564         * nis/nis_table.c: Likewise.
22565         * nis/nss_compat/compat-pwd.c: Likewise.
22566         * nis/nss_compat/compat-spwd.c: Likewise.
22567         * po/Makefile: Likewise.
22568         * posix/fnmatch.c: Likewise.
22569         * posix/regex.h: Likewise.
22570         * resolv/Makefile: Likewise.
22571         * resolv/nss_dns/dns-network.c: Likewise.
22572         * resolv/res_hconf.c: Likewise.
22573         * scripts/gen-sorted.awk: Likewise.
22574         * soft-fp/soft-fp.h: Likewise.
22575         * stdio-common/printf.h: Likewise.
22576         * stdlib/monetary.h: Likewise.
22577         * stdlib/random.c: Likewise.
22578         * stdlib/random_r.c: Likewise.
22579         * sysdeps/generic/Makefile: Likewise.
22580         * sysdeps/gnu/Makefile: Likewise.
22581         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22585         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22589         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22590         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22591         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22592         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22593         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22594         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22595         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22597         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22599         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22609         * sysdeps/mach/hurd/errnos.awk: Likewise.
22610         * sysdeps/mach/hurd/fork.c: Likewise.
22611         * sysdeps/mach/hurd/getcwd.c: Likewise.
22612         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22613         * sysdeps/mach/hurd/mmap.c: Likewise.
22614         * sysdeps/mach/hurd/utimes.c: Likewise.
22615         * sysdeps/mach/hurd/xmknod.c: Likewise.
22616         * sysdeps/posix/profil.c: Likewise.
22617         * sysdeps/posix/readdir_r.c: Likewise.
22618         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22619         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22620         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22621         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22623         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22624         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22625         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22627         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22628         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22629         * sysdeps/pthread/lio_listio.c: Likewise.
22630         * sysdeps/sparc/dl-procinfo.h: Likewise.
22631         * sysdeps/unix/i386/sysdep.S: Likewise.
22632         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22633         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22634         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22635         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22637         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22638         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22639         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22640         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22641         * sysdeps/wordsize-32/divdi3.c: Likewise.
22642         * time/sys/time.h: Likewise.
22643         * wcsmbs/Makefile: Likewise.
22645 2013-01-01  David S. Miller  <davem@davemloft.net>
22647         * po/fr.po: Update from translation team.
22649         * catgets/gencat.c: Update copyright year.
22650         * csu/version.c: Likewise.
22651         * debug/catchsegv.sh: Likewise.
22652         * debug/pcprofiledump.c: Likewise.
22653         * debug/xtrace.sh: Likewise.
22654         * elf/ldconfig.c: Likewise.
22655         * elf/ldd.bash.in: Likewise.
22656         * elf/pldd.c: Likewise.
22657         * elf/sotruss.ksh: Likewise.
22658         * elf/sprof.c: Likewise.
22659         * iconv/iconv_prog.c: Likewise.
22660         * iconv/iconvconfig.c: Likewise.
22661         * locale/programs/locale.c: Likewise.
22662         * locale/programs/localedef.c: Likewise.
22663         * login/programs/pt_chown.c: Likewise.
22664         * malloc/memusage.sh: Likewise.
22665         * malloc/memusagestat.c: Likewise.
22666         * malloc/mtrace.pl: Likewise.
22667         * nscd/nscd.c: Likewise.
22668         * nss/getent.c: Likewise.
22669         * nss/makedb.c: Likewise.
22670         * posix/getconf.c: Likewise.
22672 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22674         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22675         numbers.
22677 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22679         * math/bits/mathcalls.h (modf): Use __nonnull.
22681 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22683         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22684         (split): Use macro CN instead of the bare value.
22685         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22686         could be used.
22687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22688         instead of the bare value.
22689         (power1): Likewise.
22691 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22693         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22694         __ATAN_TWOM.
22695         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22697         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22698         their values.
22699         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22700         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22701         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22702         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22704 2012-12-28  Andreas Jaeger  <aj@suse.de>
22706         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22707         values are from Linux 3.7.
22709         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22710         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22712 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22714         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22715         TRUE case.
22717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22718         (norm): Likewise.
22719         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22720         variables with preprocessor constants.
22721         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22722         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22723         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22725 2012-12-27  Bruno Haible  <bruno@clisp.org>
22727         [BZ #14317]
22728         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22729         only if needed.
22731 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22734         and use variable directly.
22735         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22737         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22738         MPONE.
22739         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22741         variable MPONE.
22742         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22744         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22745         include directive.  Remove local variable MPONE.
22746         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22747         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22748         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22750 2012-12-25  David S. Miller  <davem@davemloft.net>
22752         * version.h (RELEASE): Set to "development".
22753         (VERSION): Set to "2.17.90".
22754         * NEWS: Add 2.18 section.
22756 2012-12-21  David S. Miller  <davem@davemloft.net>
22758         * po/hr.po: Update from translation team.
22760 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22762         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22764 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22766         * NEWS:  Mention new memcpy for MIPS.
22768 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22770         * manual/contrib.texi (Contributors): Spelling correction.
22772 2012-12-15  David S. Miller  <davem@davemloft.net>
22774         * po/ru.po: Update from translation team.
22776 2012-12-13  David S. Miller  <davem@davemloft.net>
22778         * NEWS: Mention IFUNC testsuite enhancements.
22780         * po/pl.po: Update from translation team.
22781         * po/bg.po: Likewise.
22783         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22784         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22786 2012-12-11  David S. Miller  <davem@davemloft.net>
22788         * po/sv.po: Update from translation team.
22790         * po/vi.po: Update from translation team.
22792         * po/cs.po: Update from translation team.
22794         * po/de.po: Update from translation team.
22795         * po/eo.po: Likewise.
22796         * po/nl.po: Likewise.
22798 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22800         [BZ #14246]
22801         * manual/argp.texi (Argp Helper Functions): Move node to follow
22802         Argp Parsing State.
22804         [BZ #14872]
22805         * manual/conf.texi (Limits on File System Capacity): Mention if
22806         terminating null is included in the max size.
22808 2012-12-10  Andreas Jaeger  <aj@suse.de>
22810         * po/cs.po: Update from translation team.
22812 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22814         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22815         void pointer and cast to uintptr_t.
22816         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22817         path.
22818         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22819         * sysdeps/s390/s390-64/memset.S: Likewise.
22821 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22823         [BZ #14833]
22824         * menual/message.texi (Message Translation): Fix typos.
22825         (Helper programs for gettext): Likewise.
22827 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22829         [BZ #14898]
22830         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22831         Change to -1.
22833 2012-12-07  David S. Miller  <davem@davemloft.net>
22835         * po/libc.pot: Update.
22837 2012-12-07  Richard Henderson  <rth@redhat.com>
22839         [BZ #10114]
22840         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22841         normal/normal case to before the switch.
22842         (_FP_DIV): Likewise.
22844 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22845             Mike Frysinger  <vapier@gentoo.org>
22847         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22848         check for __NR_fadvise64_64.
22850 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22852         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22853         0, not just to plain "0" as a statement.
22854         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22855         with cw.
22857 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22859         * NEWS: Use sourceware.org in Bugzilla URL.
22861 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22864         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22866         * stdio-common/tst-put-error.c (do_test): Add newline to the
22867         padded test to ensure flush.
22869 2012-12-05  Jeff Law  <law@redhat.com>
22871         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22873 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22875         * README: Don't refer to ports add-on as distributed separately.
22876         Mention AArch64 in list of systems supported in the ports add-on.
22878         * LICENSES: Add more non-FSF copyright and license notices.
22880         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22881         ((unused)).
22883         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22885         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22886         10000 as width of padded output.
22888 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22890         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22892         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22893         variable LX with __attribute__ ((unused)).
22894         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22895         Likewise.
22896         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22898         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22899         with __attribute__ ((unused)).
22901 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22903         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22905 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22907         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22908         (CFLAGS-nldbl-acos.c): New variable.
22909         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22910         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22911         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22912         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22913         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22914         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22915         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22916         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22917         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22918         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22919         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22920         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22921         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22922         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22923         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22924         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22925         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22926         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22927         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22928         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22929         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22930         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22931         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22932         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22933         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22934         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22935         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22936         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22937         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22938         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22939         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22940         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22941         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22942         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22943         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22944         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22945         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22946         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22947         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22948         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22949         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22950         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22951         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22952         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22953         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22954         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22955         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22956         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22957         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22958         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22959         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22960         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22961         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22962         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22963         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22964         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22965         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22966         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22967         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22968         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22969         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22970         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22971         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22972         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22973         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22974         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22975         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22976         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22977         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22978         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22979         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22980         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22981         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22982         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22983         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22984         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22985         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22986         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22987         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22988         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22989         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22990         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22991         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22992         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22993         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22994         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22995         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22996         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22997         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22998         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22999         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23000         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23001         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23002         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23003         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23004         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23005         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23008         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23010         [BZ #14914]
23011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23012         whole low double instead of just low 47 bits when splitting values
23013         into two parts.
23015 2012-12-03  Allan McRae  <allan@archlinux.org>
23017         * manual/stdio.texi (Predefined Printf Handlers): Remove
23018         @hsep and @vsep usage.
23020 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23022         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23023         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23025 2012-12-03  Jeff Law  <law@redhat.com>
23027         * time/sys/time.h (settimeofday): Do not mark TV argument
23028         as __nonnull.
23030 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23032         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23033         when currently writing and seek to current position when not.
23034         * libio/Makefile (tests): Remove bug-fclose1.
23035         * libio/bug-fclose1.c: Delete.
23037 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23039         * manual/arith.texi (feenableexcept): Fix typo.
23040         (fedisableexcept): Likewise.
23042 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23044         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23045         second, differently-typed declaration, rather than a cast.
23047 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23050         * include/rpc/svc.h: ... here.
23052 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23054         [BZ #13013]
23055         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23056         depending n and resplen2 to catch cases where answer
23057         equals answerp2.
23059 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23061         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23062         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23064 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23066         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23068 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23070         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23072 2012-11-28  Jeff Law  <law@redhat.com>
23074         [BZ #13761]
23075         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23076         dataset_temporary.  Track alloca usage into alloca_used.
23077         If dataset is large allocate and release it via malloc/free.
23079 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23081         [BZ #14197]
23082         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23084 2012-11-28  David S. Miller  <davem@davemloft.net>
23086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23088 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23090         [BZ #14803]
23091         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23092         of pi/2 rounded to nearest to 64 bits.
23093         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23094         nearest to 64 bits.
23095         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23096         bits.
23098 2012-11-28  Jeff Law <law@redhat.com>
23099             Martin Osvald <mosvald@redhat.com>
23101         [BZ #14889]
23102         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23103         * sunrpc/svc.c: Include time.h.
23104         (__svc_accept_failed): New function.
23105         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23106         any reason other than EINTR, call __svc_accept_failed.
23107         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23108         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23110 2012-11-28  Andreas Schwab  <schwab@suse.de>
23112         * scripts/abilist.awk: Also handle indirect functions in .opd
23113         section.
23115 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #13881]
23118         * sysdeps/x86/fpu/powl_helper.c: New file.
23119         * sysdeps/x86/fpu/Makefile: Likewise.
23120         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23121         (p3): New object.
23122         (__ieee754_powl): Use __powl_helper for finite arguments except
23123         integer exponents below 8.
23124         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23125         (p3): New object.
23126         (__ieee754_powl): Use __powl_helper for finite arguments except
23127         integer exponents below 8.
23128         * math/libm-test.inc (pow_test): Add more tests and enable some
23129         previously disabled tests.
23130         * sysdeps/i386/fpu/libm-test-ulps: Update.
23131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23133 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23134             Carlos O'Donell  <carlos_odonell@mentor.com>
23136         * nss/makedb.c (is_prime): Assert that input is odd and greater
23137         than 4.  Note that fact in a comment too.
23138         (next_prime): Add 4 to input.
23140 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23142         [BZ #11741]
23143         * libio/Makefile (tests): Add test case tst-fwrite-error.
23144         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23145         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23146         * libio/tst-fwrite-error.c: New test case.
23148 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23150         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23151         before casting to void *.
23152         * include/libc-internal.h (__pointer_type): New macro.
23153         (__integer_if_pointer_type_sub): Likewise.
23154         (__integer_if_pointer_type): Likewise.
23155         (cast_to_integer): Likewise.
23156         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23157         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23158         before casting to atomic64_t.
23159         (atomic_exchange_acq): Likewise.
23160         (__arch_exchange_and_add_body): Likewise.
23161         (__arch_add_body): Likewise.
23162         (atomic_add_negative): Likewise.
23163         (atomic_add_zero): Likewise.
23165 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23167         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23168         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23169         (add_fdes): Likewise.
23170         (linear_search_fdes): Likewise.
23171         (binary_search_unencoded_fdes): Likewise.
23173 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23175         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23177 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23179         * configure.in: Autodetect C++ header directories.
23180         * configure: Regenerated.
23182 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23184         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23186 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23190 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23192         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23193         LDBL_MANT_DIG == 106]: Disable some tests.
23194         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23195         Likewise.
23196         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23197         Likewise.
23199         [BZ #14871]
23200         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23201         input for small inputs.  Return +/- pi/2 for large inputs.
23202         * math/libm-test.inc (atan_test): Add more tests.
23204         * sysdeps/generic/unwind-dw2-fde-glibc.c
23205         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23206         __attribute__ ((unused)).
23208         [BZ #14645]
23209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23210         x * y if x and y are nonzero and z is zero.
23212         [BZ #14811]
23213         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23214         nonzero exponents with absolute value below 0x1p-117 to +/-
23215         0x1p-117.
23217         [BZ #14869]
23218         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23219         up arguments below 2**-450, not just those below 2**-500.
23220         * math/libm-test.inc (hypot_test): Add another test.
23222         [BZ #14868]
23223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23224         Return a+b for ratio over 2**120, not 2**60.
23225         * math/libm-test.inc (hypot_test): Add another test.
23227         * math/libm-test.inc (clog_test): Use
23228         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23229         (clog10_test): Likewise.
23231         [BZ #6778]
23232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23234 2012-11-22  Andreas Schwab  <schwab@suse.de>
23236         * sysdeps/i386/fpu/libm-test-ulps: Update.
23238 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23240         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23241         printf output with newline.
23243 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23245         [BZ #14865]
23246         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23247         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23248         -z nodlopen, -z initfirst and -z execstack support.
23249         * configure: Regenerated.
23251         * elf/elf.h (DF_1_NODIRECT): New macro.
23252         (DF_1_IGNMULDEF): Likewise.
23253         (DF_1_NOKSYMS): Likewise.
23254         (DF_1_NOHDR): Likewise.
23255         (DF_1_EDITED): Likewise.
23256         (DF_1_NORELOC): Likewise.
23257         (DF_1_SYMINTPOSE): Likewise.
23258         (DF_1_GLOBAUDIT): Likewise.
23259         (DF_1_SINGLETON): Likewise.
23260         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23261         DT_1_SUPPORTED_MASK bits.
23262         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23264 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23266         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23268 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23270         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23271         macro.
23273         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23274         (sendmmsg): Move declarations...
23275         * socket/sys/socket.h: ... here.
23276         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23277         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23278         include it from...
23279         * socket/recvmmsg.c: ... this new file.
23280         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23281         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23282         definition of __sendmmsg hidden.
23283         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23284         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23285         Move ENOSYS stub into and include it from...
23286         * socket/sendmmsg.c: ... this new file.
23287         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23288         (sysdep_routines): Move recvmmsg and sendmmsg...
23289         * socket/Makefile (routines): ... here.
23290         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23291         (GLIBC_PRIVATE): Add __sendmmsg.
23292         * include/sys/socket.h (__sendmmsg): Add declarations.
23293         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23294         sendmmsg.
23296 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23298         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23299         variable I1 with __attribute__ ((unused)).
23300         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23302 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23304         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23305         DUMMY variables with __attribute__ ((unused)).
23307         * bits/byteswap.h: Include <bits/types.h>.
23308         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23310 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23312         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23313         string_t.  Do not manually set errno.
23314         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23315         length with __strnlen.  Make sure to both set errno and return it on
23316         failure.
23318 2012-11-19  David S. Miller  <davem@davemloft.net>
23320         With help from Joseph Myers.
23321         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23322         very large arguments properly.
23323         * math/libm-test.inc (atan_test): New tests.
23324         (atan2_test): New tests.
23325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23328 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23330         [BZ #14856]
23331         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23332         Define to 3.
23334         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23335         [POSIX] (EADDRNOTAVAIL): Likewise.
23336         [POSIX] (EAFNOSUPPORT): Likewise.
23337         [POSIX] (EALREADY): Likewise.
23338         [POSIX] (ECONNABORTED): Likewise.
23339         [POSIX] (ECONNREFUSED): Likewise.
23340         [POSIX] (ECONNRESET): Likewise.
23341         [POSIX] (EDESTADDRREQ): Likewise.
23342         [POSIX] (EDQUOT): Likewise.
23343         [POSIX] (EHOSTUNREACH): Likewise.
23344         [POSIX] (EIDRM): Likewise.
23345         [POSIX] (EISCONN): Likewise.
23346         [POSIX] (ELOOP): Likewise.
23347         [POSIX] (EMULTIHOP): Likewise.
23348         [POSIX] (ENETDOWN): Likewise.
23349         [POSIX] (ENETUNREACH): Likewise.
23350         [POSIX] (ENOBUFS): Likewise.
23351         [POSIX] (ENODATA): Likewise.
23352         [POSIX] (ENOLINK): Likewise.
23353         [POSIX] (ENOMSG): Likewise.
23354         [POSIX] (ENOPROTOOPT): Likewise.
23355         [POSIX] (ENOSR): Likewise.
23356         [POSIX] (ENOSTR): Likewise.
23357         [POSIX] (ENOTCONN): Likewise.
23358         [POSIX] (ENOTSOCK): Likewise.
23359         [POSIX] (EOPNOTSUPP): Likewise.
23360         [POSIX] (EOVERFLOW): Likewise.
23361         [POSIX] (EPROTO): Likewise.
23362         [POSIX] (EPROTONOSUPPORT): Likewise.
23363         [POSIX] (EPROTOTYPE): Likewise.
23364         [POSIX] (ESTALE): Likewise.
23365         [POSIX] (ETIME): Likewise.
23366         [POSIX] (ETXTBSY): Likewise.
23367         [POSIX] (EWOULDBLOCK): Likewise.
23368         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23369         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23370         [POSIX] (SEEK_CUR): Likewise.
23371         [POSIX] (SEEK_END): Likewise.
23372         [POSIX || UNIX98] (mode_t): Do not require.
23373         [POSIX] (off_t): Likewise.
23374         [POSIX] (pid_t): Likewise.
23375         [POSIX] (sys/stat.h): Do not allow header.
23376         [POSIX] (unistd.h): Likewise.
23377         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23378         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23379         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23380         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23381         require.
23382         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23383         sigevent): Specify elements.
23384         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23385         entry.
23386         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23387         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23389         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23390         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23391         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23392         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23393         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23394         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23395         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23396         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23397         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23398         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23399         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23400         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23401         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23402         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23403         Likewise.
23404         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23405         Likewise.
23406         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23407         Likewise.
23408         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23409         Likewise.
23410         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23411         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23412         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23413         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23414         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23415         Specify lower bound on value.
23416         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23417         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23418         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23419         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23420         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23421         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23422         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23423         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23424         value.
23425         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23426         as optional.
23427         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23428         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23429         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23430         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23431         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23432         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23433         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23434         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23435         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23436         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23437         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23438         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23439         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23440         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23441         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23442         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23443         entry.
23444         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23445         optional.
23446         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23447         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23448         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23449         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23450         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23451         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23452         Likewise.
23453         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23454         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23455         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23456         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23457         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23458         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23459         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23460         as optional.
23461         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23462         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23463         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23464         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23465         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23466         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23467         specify as optional.
23468         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23469         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23470         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23471         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23472         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23473         [XPG3] (NL_LANGMAX): Likewise.
23474         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23475         [POSIX || XPG3] (NL_NMAX): Likewise.
23476         [POSIX || XPG3] (NL_SETMAX): Likewise.
23477         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23478         [XPG3] (NZERO): Likewise.
23479         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23480         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23481         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23482         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23483         (REG_ERANGE): Expect.
23484         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23485         optional-constant.
23486         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23487         Use (void) in prototype.
23488         [POSIX] (*_t): Allow.
23489         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23490         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23491         (WRDE_BADVAL): Expect.
23493         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23494         expect.
23495         [XPG3 || XPG4] (O_RSYNC): Likewise.
23496         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23497         Likewise.
23498         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23499         [XPG3 || XPG4] (sigqueue): Likewise.
23500         [XPG3 || XPG4] (sigtimedwait): Likewise.
23501         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23502         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23503         [XPG3 || XPG4] (vsnprintf): Likewise.
23504         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23505         Likewise.
23506         [XPG3 || XPG4] (blksize_t): Likewise.
23507         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23508         Likewise.
23509         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23510         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23511         [XPG3 || XPG4] (struct itimerspec): Likewise.
23512         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23513         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23514         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23515         [XPG3 || XPG4] (clockid_t): Likewise.
23516         [XPG3 || XPG4] (timer_t): Likewise.
23517         [XPG3 || XPG4] (clock_getres): Likewise.
23518         [XPG3 || XPG4] (clock_gettime): Likewise.
23519         [XPG3 || XPG4] (clock_settime): Likewise.
23520         [XPG3 || XPG4] (nanosleep): Likewise.
23521         [XPG3 || XPG4] (timer_create): Likewise.
23522         [XPG3 || XPG4] (timer_delete): Likewise.
23523         [XPG3 || XPG4] (timer_gettime): Likewise.
23524         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23525         [XPG3 || XPG4] (timer_settime): Likewise.
23526         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23527         [XPG3 || XPG4] (getlogin_r): Likewise.
23528         [XPG3 || XPG4] (pread): Likewise.
23529         [XPG3 || XPG4] (pthread_atfork): Likewise.
23530         [XPG3 || XPG4] (pwrite): Likewise.
23532         [BZ #14835]
23533         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23534         <bits/siginfo.h>.
23536 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23538         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23539         finalizing MALLSTREAM.
23541         * sysdeps/mach/hurd/syncfs.c: New file.
23543 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23545         [BZ #14719]
23546         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23547         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23549         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23550         (_nss_dns_gethostbyname4_r): Likewise.
23551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23552         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23554 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23556         [BZ #13763]
23557         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23559 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23561         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23562         * elf/cache.c (print_entry): Print ",AArch64" for
23563         FLAG_AARCH64_LIB64
23565         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23566         * elf/cache.c (print_entry): Print ",hard-float" for
23567         FLAG_ARM_LIBHF.
23569 2012-11-18  David S. Miller  <davem@davemloft.net>
23571         With help from Joseph Myers.
23572         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23573         cutoff to 2**-13.
23574         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23575         cutoff to 2**-25.
23576         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23577         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23578         small.
23579         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23580         * math/libm-test.inc (y0_test): New tests.
23581         (y1_test): New tests.
23582         * sysdeps/i386/fpu/libm-test-ulps: Update.
23583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23586 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23588         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23589         64-bit targets.
23590         * configure: Regenerated.
23592 2012-11-17  David S. Miller  <davem@davemloft.net>
23594         [BZ #14811]
23595         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23596         nonzero exponents with absolute value below 0x1p-128 to +/-
23597         0x1p-128.
23599 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23601         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23603         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23605         * posix/getconf-speclist.c: New file.
23606         * posix/posix-envs.def: Likewise.
23607         * posix/confstr.c (START_ENV_GROUP): New macro.
23608         (END_ENV_GROUP): Likewise.
23609         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23610         (KNOWN_PRESENT_ENV_STRING): Likewise.
23611         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23612         (UNKNOWN_ENVIRONMENT): Likewise.
23613         (confstr): Include posix-envs.def instead of handling
23614         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23615         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23616         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23617         (END_ENV_GROUP): Likewise.
23618         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23619         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23620         (UNKNOWN_ENVIRONMENT): Likewise.
23621         (__sysconf): Include posix-envs.def instead of handling associated
23622         cases directly here.
23623         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23624         preprocessing getconf-speclist.c rather than running getconf or
23625         generating empty file.
23627 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23629         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23631 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23633         [BZ #14672]
23634         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23636 2012-11-16  David S. Miller  <davem@davemloft.net>
23638         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23639         smaller than LDBL_EPSILON/2.0L, just return xm1.
23641 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23643         * elf/tst-array1.c (init): Set constructor priority to 1000.
23644         (fini): Set destructor priority to 1000.
23645         * elf/tst-array2dep.c: Likewise.
23647 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23649         [BZ #11741]
23650         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23651         (_IO_new_file_xsputn): Also return EOF if none of the input
23652         data was written when overflow failed.
23653         * libio/iopadn.c (_IO_padn): Likewise.
23654         * libio/iowpadn.c (_IO_wpadn): Likewise.
23655         * stdio-common/tst-put-error.c: Add copyright notice.
23656         (do_test): Add case for printing padded string.
23657         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23658         _IO_padn returned error.
23659         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23660         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23661         return EOF.
23663 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23665         * libio/libioP.h: Add comment note that the references to C++
23666         bits are now obsolete.
23668 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23670         * math/libm-test.inc (check_complex): Use asprintf.
23672 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23674         * debug/pcprofiledump.c (print_version): Update copyright year.
23675         * malloc/memusagestat.c (print_version): Likewise.
23677 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23679         [BZ #14831]
23680         * elf/Makefile (tests): Add tst-audit8.
23681         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23682         ($(objpfx)tst-audit8.out): New target.
23683         (tst-audit8-ENV): New variable.
23684         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23685         audit if l_reloc_result is NULL.
23686         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23687         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23688         * elf/tst-audit8.c: New file.
23690 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23692         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23693         * misc/Makefile (CFLAGS-select.c): Define.
23694         * posix/Makefile (CFLAGS-pause.c): Define.
23696 2012-11-13  David S. Miller  <davem@davemloft.net>
23698         * crypt/Makefile: Move test targets after toplevel Rules
23699         inclusion.  Grab any necessary sysdep routines when linking.
23700         * crypt/md5.c (md5_process_block): Remove define, we will always
23701         name it __md5_process_block.
23702         (md5_finish_ctx): Update md5_process_block call.
23703         (md5_stream): Likewise.
23704         (md5_process_bytes): Likewise.
23705         (md5_process_block): Rename to __md5_process_block and move to ...
23706         * crypt/md5-block.c: ... here.
23707         * crypt/sha256.c (sha256_process_block): Move to ...
23708         * crypt/sha256-block.c: ... here.
23709         * crypt/sha512.c (sha512_process_block): Move to ...
23710         * crypt/sha512-block.c: ... here.
23711         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23712         path.
23713         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23714         * sysdeps/sparc/sparc64/multiarch/Makefile
23715         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23716         crypt subdir.
23717         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23718         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23719         multiarch changes.
23720         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23721         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23722         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23723         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23724         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23725         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23726         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23727         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23728         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23729         file.
23730         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23731         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23732         file.
23733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23735 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23737         * timezone/tzselect.ksh: Update from tzcode git revision
23738         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23739         * timezone/zdump.c: Likewise.
23740         * timezone/zic.c: Likewise.
23741         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23742         in TZVERSION setting, not $(PKGVERSION).
23743         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23744         REPORT_BUGS_TO settings.
23746         [BZ #14838]
23747         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23748         macro.
23750 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23752         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23753         detection to immediately after _FP_ROUND().
23754         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23755         bits are 0.
23757 2012-11-11  David S. Miller  <davem@davemloft.net>
23759         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23760         inttypes.h
23761         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23762         __close rather than their public counterparts.
23764 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23766         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23767         file.
23768         [UNIX98] (sem_timedwait): Do not expect.
23769         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23770         [XPG4 || UNIX98] (sockatmark): Do not expect.
23771         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23772         (clock_getcpuclockid): Do not expect.
23773         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23774         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23775         Do not expect.
23776         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23777         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23778         [UNIX98] (vwscanf): Likewise.
23779         [UNIX98] (vswscanf): Likewise.
23781 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23783         * timezone/version.h: Remove file.
23784         * timezone/README: Do not refer to version.h.
23785         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23786         $(objpfx)version.h.
23787         ($(objpfx)zdump.o): Likewise.
23788         ($(objpfx)version.h): New target.
23790         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23791         2012i.
23792         * timezone/README: Don't mention modification to tzselect.ksh.
23793         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23794         work on unmodified tzselect.ksh.  Substitute version numbers in
23795         tzselect.ksh.
23797         * Makefile (format-me): Remove.
23798         (INSTALL): Adjust indentation.  Use commands directly instead of
23799         using $(format-me).
23801         * aclocal.m4 (ACX_PKGVERSION): New macro.
23802         (ACX_BUGURL): Likewise.
23803         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23804         (PKGVERSION): New AC_DEFINE_UNQUOTED.
23805         (REPORT_BUGS_TO): Likewise.
23806         * configure: Regenerated.
23807         * config.h.in (PKGVERSION): New macro.
23808         (REPORT_BUGS_TO): Likewise.
23809         * config.make.in (PKGVERSION): New variable.
23810         (PKGVERSION_TEXI): Likewise.
23811         (REPORT_BUGS_TO): Likewise.
23812         (REPORT_BUGS_TEXI): Likewise.
23813         * Makefile (format-me): Use -I$(common-objpfx)manual.
23814         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23815         ($(common-objpfx)manual/%): New target.
23816         (manual/%): Remove target.
23817         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23818         (print_version): Use PKGVERSION.
23819         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23820         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23821         and REPORT_BUGS_TO.
23822         ($(objpfx)xtrace): Likewise.
23823         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23824         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23825         (print_version): Use PKGVERSION.
23826         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23827         (do_version): Use PKGVERSION.
23828         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23829         REPORT_BUGS_TO.
23830         (common-ldd-rewrite): Likewise.
23831         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23832         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23833         (print_version): Use PKGVERSION.
23834         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23835         * elf/pldd.c (argp_program_bug_address): Remove variable.
23836         (more_help): New function.
23837         (argp): Use more_help.
23838         (print_version): Use PKGVERSION.
23839         * elf/sln.c (main): Use PKGVERSION.
23840         (usage): Use REPORT_BUGS_TO.
23841         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23842         (top level): Use PKGVERSION.
23843         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23844         (print_version): Use PKGVERSION.
23845         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23846         (print_version): Use PKGVERSION.
23847         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23848         (print_version): Use PKGVERSION.
23849         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23850         (print_version): Use PKGVERSION.
23851         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23852         (print_version): Use PKGVERSION.
23853         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23854         (print_version): Use PKGVERSION.
23855         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23856         and BUGURL.
23857         ($(objpfx)memusage): Likewise.
23858         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23859         (do_version): Use PKGVERSION.
23860         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23861         (print_version): Use PKGVERSION.
23862         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23863         ($PKGVERSION): New variable.
23864         ($REPORT_BUGS_TO): Likewise.
23865         (usage): Use $REPORT_BUGS_TO.
23866         (top level): Use $PKGVERSION.
23867         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23868         ($(objpfx)pkgvers.texi): New rule.
23869         ($(objpfx)stamp-pkgvers): Likewise.
23870         * manual/install.texi: Include pkgvers.texi.
23871         (--with-pkgversion): Document new configure option.
23872         (--with-bugurl): Likewise.
23873         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23874         than necessarily for this particular distribution.  Use
23875         REPORT_BUGS_TO for where to report bugs.
23876         * INSTALL: Regenerated.
23877         * manual/libc.texinfo: Include pkgvers.texi.
23878         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23879         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23880         (print_version): Use PKGVERSION.
23881         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23882         (print_version): Use PKGVERSION.
23883         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23884         (print_version): Use PKGVERSION.
23885         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23886         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23887         macro.
23888         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23889         (print_version): Use PKGVERSION.
23890         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23891         (print_version): Use PKGVERSION.
23892         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23893         and PKGVERSION.
23895         * timezone/checktab.awk: Update from tzcode 2012i.
23896         * timezone/ialloc.c: Likewise.
23897         * timezone/private.h: Likewise.
23898         * timezone/scheck.c: Likewise.
23899         * timezone/tzfile.h: Likewise.
23900         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23901         (TZVERSION): Hardcode tzcode version number.
23902         * timezone/zdump.c: Update from tzcode 2012i.
23903         * timezone/zic.c: Likewise.
23904         * timezone/version.h: New file.
23905         * timezone/README: Describe version.h.  Update upstream location.
23907         [BZ #14824]
23908         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23909         (mktemp): Enable declaration.
23910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23914         Likewise.
23915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23916         Likewise.
23917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23918         Likewise.
23919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23920         Likewise.
23921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23922         Likewise.
23923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23924         Likewise.
23926         [BZ #14821]
23927         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23928         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23929         for copies of such integer values.
23930         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23931         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23933 2012-11-09  Andreas Jaeger  <aj@suse.de>
23935         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23936         definitions and declarations that are provided by
23937         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23939 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23941         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23942         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23943         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23944         definition.
23946 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23948         * elf/elf.h: Update comment before AArch64 relocations.
23950 2012-11-07  David S. Miller  <davem@davemloft.net>
23952         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23953         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23954         (__start_context): Declare.
23955         (__makecontext_ret): Delete.
23956         (__makecontext): Hook up __start_context instead of
23957         __makecontext_ret.
23958         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23959         (sysdep_routines): Add __start_context when in stdlib.
23961 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23963         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23964         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23965         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23966         hardcoded "nm".
23967         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23968         (READELF): New variable.  Use it instead of hardcoded "readelf".
23970 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23972         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23973         * sysdeps/x86/Makefile: Here.
23974         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23975         * sysdeps/x86/tst-xmmymm.sh: This.
23977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23979         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23980         expectations.
23981         [UNIX98] (pthread_barrier_t): Do not expect.
23982         [UNIX98] (pthread_barrierattr_t): Likewise.
23983         [UNIX98] (pthread_spinlock_t): Likewise.
23984         [UNIX98] (pthread_barrier_destroy): Likewise.
23985         [UNIX98] (pthread_barrier_init): Likewise.
23986         [UNIX98] (pthread_barrier_wait): Likewise.
23987         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23988         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23989         [UNIX98] (pthread_barrierattr_init): Likewise.
23990         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23991         [UNIX98] (pthread_getcpuclockid): Likewise.
23992         [UNIX98] (pthread_mutex_timedlock): Likewise.
23993         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23994         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23995         [UNIX98] (pthread_sigmask): Likewise.
23996         [UNIX98] (pthread_spin_destroy): Likewise.
23997         [UNIX98] (pthread_spin_init): Likewise.
23998         [UNIX98] (pthread_spin_lock): Likewise.
23999         [UNIX98] (pthread_spin_trylock): Likewise.
24000         [UNIX98] (pthread_spin_unlock): Likewise.
24001         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24002         Do not expect.
24003         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24004         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24005         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24006         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24007         [XPG3 || XPG4] (pthread_key_t): Likewise.
24008         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24009         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24010         [XPG3 || XPG4] (pthread_once_t): Likewise.
24011         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24012         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24013         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24014         [XPG3 || XPG4] (pthread_t): Likewise.
24016         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24017         not expect.
24018         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24020         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24021         Change function return type to int.
24023         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24024         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24025         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24026         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24027         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24028         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24029         [!POSIX] (posix_madvise): Likewise.
24030         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24031         && !UNIX98].
24032         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24033         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24034         (mode_t): Likewise.
24035         (posix_mem_offset): Likewise.
24036         (posix_typed_mem_get_info): Likewise.
24037         (posix_typed_mem_open): Likewise.
24039         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24040         Change condition to [XOPEN2K8].
24042         * conform/conformtest.pl: Preprocess allow-header data with -x c
24043         instead of from stdin.
24044         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24045         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24046         [C99-based standards] (cerfc): Likewise.
24047         [C99-based standards] (cexp2): Likewise.
24048         [C99-based standards] (cexpm1): Likewise.
24049         [C99-based standards] (clog10): Likewise.
24050         [C99-based standards] (clog1p): Likewise.
24051         [C99-based standards] (clog2): Likewise.
24052         [C99-based standards] (clgamma): Likewise.
24053         [C99-based standards] (ctgamma): Likewise.
24054         [C99-based standards] (cerff): Likewise.
24055         [C99-based standards] (cerfcf): Likewise.
24056         [C99-based standards] (cexp2f): Likewise.
24057         [C99-based standards] (cexpm1f): Likewise.
24058         [C99-based standards] (clog10f): Likewise.
24059         [C99-based standards] (clog1pf): Likewise.
24060         [C99-based standards] (clog2f): Likewise.
24061         [C99-based standards] (clgammaf): Likewise.
24062         [C99-based standards] (ctgammaf): Likewise.
24063         [C99-based standards] (cerfl): Likewise.
24064         [C99-based standards] (cerfcl): Likewise.
24065         [C99-based standards] (cexp2l): Likewise.
24066         [C99-based standards] (cexpm1l): Likewise.
24067         [C99-based standards] (clog10l): Likewise.
24068         [C99-based standards] (clog1pl): Likewise.
24069         [C99-based standards] (clog2l): Likewise.
24070         [C99-based standards] (clgammal): Likewise.
24071         [C99-based standards] (ctgammal): Likewise.
24072         * conform/data/inttypes.h-data [C99-based standards]: Include
24073         stdint.h-data.  Remove all expectations for stdint.h contents.
24074         [C99-based standards] (PRI*): Do not allow.
24075         [C99-based standards] (SCN*): Likewise.
24076         [C99-based standards] (*_t): Likewise.
24077         [C99-based-standards] (PRId8): Expect macro.
24078         [C99-based-standards] (PRIi8): Likewise.
24079         [C99-based-standards] (PRIo8): Likewise.
24080         [C99-based-standards] (PRIu8): Likewise.
24081         [C99-based-standards] (PRIx8): Likewise.
24082         [C99-based-standards] (PRIX8): Likewise.
24083         [C99-based-standards] (SCNd8): Likewise.
24084         [C99-based-standards] (SCNi8): Likewise.
24085         [C99-based-standards] (SCNo8): Likewise.
24086         [C99-based-standards] (SCNu8): Likewise.
24087         [C99-based-standards] (SCNx8): Likewise.
24088         [C99-based-standards] (PRIdLEAST8): Likewise.
24089         [C99-based-standards] (PRIiLEAST8): Likewise.
24090         [C99-based-standards] (PRIoLEAST8): Likewise.
24091         [C99-based-standards] (PRIuLEAST8): Likewise.
24092         [C99-based-standards] (PRIxLEAST8): Likewise.
24093         [C99-based-standards] (PRIXLEAST8): Likewise.
24094         [C99-based-standards] (SCNdLEAST8): Likewise.
24095         [C99-based-standards] (SCNiLEAST8): Likewise.
24096         [C99-based-standards] (SCNoLEAST8): Likewise.
24097         [C99-based-standards] (SCNuLEAST8): Likewise.
24098         [C99-based-standards] (SCNxLEAST8): Likewise.
24099         [C99-based-standards] (PRIdFAST8): Likewise.
24100         [C99-based-standards] (PRIiFAST8): Likewise.
24101         [C99-based-standards] (PRIoFAST8): Likewise.
24102         [C99-based-standards] (PRIuFAST8): Likewise.
24103         [C99-based-standards] (PRIxFAST8): Likewise.
24104         [C99-based-standards] (PRIXFAST8): Likewise.
24105         [C99-based-standards] (SCNdFAST8): Likewise.
24106         [C99-based-standards] (SCNiFAST8): Likewise.
24107         [C99-based-standards] (SCNoFAST8): Likewise.
24108         [C99-based-standards] (SCNuFAST8): Likewise.
24109         [C99-based-standards] (SCNxFAST8): Likewise.
24110         [C99-based-standards] (PRId16): Likewise.
24111         [C99-based-standards] (PRIi16): Likewise.
24112         [C99-based-standards] (PRIo16): Likewise.
24113         [C99-based-standards] (PRIu16): Likewise.
24114         [C99-based-standards] (PRIx16): Likewise.
24115         [C99-based-standards] (PRIX16): Likewise.
24116         [C99-based-standards] (SCNd16): Likewise.
24117         [C99-based-standards] (SCNi16): Likewise.
24118         [C99-based-standards] (SCNo16): Likewise.
24119         [C99-based-standards] (SCNu16): Likewise.
24120         [C99-based-standards] (SCNx16): Likewise.
24121         [C99-based-standards] (PRIdLEAST16): Likewise.
24122         [C99-based-standards] (PRIiLEAST16): Likewise.
24123         [C99-based-standards] (PRIoLEAST16): Likewise.
24124         [C99-based-standards] (PRIuLEAST16): Likewise.
24125         [C99-based-standards] (PRIxLEAST16): Likewise.
24126         [C99-based-standards] (PRIXLEAST16): Likewise.
24127         [C99-based-standards] (SCNdLEAST16): Likewise.
24128         [C99-based-standards] (SCNiLEAST16): Likewise.
24129         [C99-based-standards] (SCNoLEAST16): Likewise.
24130         [C99-based-standards] (SCNuLEAST16): Likewise.
24131         [C99-based-standards] (SCNxLEAST16): Likewise.
24132         [C99-based-standards] (PRIdFAST16): Likewise.
24133         [C99-based-standards] (PRIiFAST16): Likewise.
24134         [C99-based-standards] (PRIoFAST16): Likewise.
24135         [C99-based-standards] (PRIuFAST16): Likewise.
24136         [C99-based-standards] (PRIxFAST16): Likewise.
24137         [C99-based-standards] (PRIXFAST16): Likewise.
24138         [C99-based-standards] (SCNdFAST16): Likewise.
24139         [C99-based-standards] (SCNiFAST16): Likewise.
24140         [C99-based-standards] (SCNoFAST16): Likewise.
24141         [C99-based-standards] (SCNuFAST16): Likewise.
24142         [C99-based-standards] (SCNxFAST16): Likewise.
24143         [C99-based-standards] (PRId32): Likewise.
24144         [C99-based-standards] (PRIi32): Likewise.
24145         [C99-based-standards] (PRIo32): Likewise.
24146         [C99-based-standards] (PRIu32): Likewise.
24147         [C99-based-standards] (PRIx32): Likewise.
24148         [C99-based-standards] (PRIX32): Likewise.
24149         [C99-based-standards] (SCNd32): Likewise.
24150         [C99-based-standards] (SCNi32): Likewise.
24151         [C99-based-standards] (SCNo32): Likewise.
24152         [C99-based-standards] (SCNu32): Likewise.
24153         [C99-based-standards] (SCNx32): Likewise.
24154         [C99-based-standards] (PRIdLEAST32): Likewise.
24155         [C99-based-standards] (PRIiLEAST32): Likewise.
24156         [C99-based-standards] (PRIoLEAST32): Likewise.
24157         [C99-based-standards] (PRIuLEAST32): Likewise.
24158         [C99-based-standards] (PRIxLEAST32): Likewise.
24159         [C99-based-standards] (PRIXLEAST32): Likewise.
24160         [C99-based-standards] (SCNdLEAST32): Likewise.
24161         [C99-based-standards] (SCNiLEAST32): Likewise.
24162         [C99-based-standards] (SCNoLEAST32): Likewise.
24163         [C99-based-standards] (SCNuLEAST32): Likewise.
24164         [C99-based-standards] (SCNxLEAST32): Likewise.
24165         [C99-based-standards] (PRIdFAST32): Likewise.
24166         [C99-based-standards] (PRIiFAST32): Likewise.
24167         [C99-based-standards] (PRIoFAST32): Likewise.
24168         [C99-based-standards] (PRIuFAST32): Likewise.
24169         [C99-based-standards] (PRIxFAST32): Likewise.
24170         [C99-based-standards] (PRIXFAST32): Likewise.
24171         [C99-based-standards] (SCNdFAST32): Likewise.
24172         [C99-based-standards] (SCNiFAST32): Likewise.
24173         [C99-based-standards] (SCNoFAST32): Likewise.
24174         [C99-based-standards] (SCNuFAST32): Likewise.
24175         [C99-based-standards] (SCNxFAST32): Likewise.
24176         [C99-based-standards] (PRId64): Likewise.
24177         [C99-based-standards] (PRIi64): Likewise.
24178         [C99-based-standards] (PRIo64): Likewise.
24179         [C99-based-standards] (PRIu64): Likewise.
24180         [C99-based-standards] (PRIx64): Likewise.
24181         [C99-based-standards] (PRIX64): Likewise.
24182         [C99-based-standards] (SCNd64): Likewise.
24183         [C99-based-standards] (SCNi64): Likewise.
24184         [C99-based-standards] (SCNo64): Likewise.
24185         [C99-based-standards] (SCNu64): Likewise.
24186         [C99-based-standards] (SCNx64): Likewise.
24187         [C99-based-standards] (PRIdLEAST64): Likewise.
24188         [C99-based-standards] (PRIiLEAST64): Likewise.
24189         [C99-based-standards] (PRIoLEAST64): Likewise.
24190         [C99-based-standards] (PRIuLEAST64): Likewise.
24191         [C99-based-standards] (PRIxLEAST64): Likewise.
24192         [C99-based-standards] (PRIXLEAST64): Likewise.
24193         [C99-based-standards] (SCNdLEAST64): Likewise.
24194         [C99-based-standards] (SCNiLEAST64): Likewise.
24195         [C99-based-standards] (SCNoLEAST64): Likewise.
24196         [C99-based-standards] (SCNuLEAST64): Likewise.
24197         [C99-based-standards] (SCNxLEAST64): Likewise.
24198         [C99-based-standards] (PRIdFAST64): Likewise.
24199         [C99-based-standards] (PRIiFAST64): Likewise.
24200         [C99-based-standards] (PRIoFAST64): Likewise.
24201         [C99-based-standards] (PRIuFAST64): Likewise.
24202         [C99-based-standards] (PRIxFAST64): Likewise.
24203         [C99-based-standards] (PRIXFAST64): Likewise.
24204         [C99-based-standards] (SCNdFAST64): Likewise.
24205         [C99-based-standards] (SCNiFAST64): Likewise.
24206         [C99-based-standards] (SCNoFAST64): Likewise.
24207         [C99-based-standards] (SCNuFAST64): Likewise.
24208         [C99-based-standards] (SCNxFAST64): Likewise.
24209         [C99-based-standards] (PRIdMAX): Likewise.
24210         [C99-based-standards] (PRIiMAX): Likewise.
24211         [C99-based-standards] (PRIoMAX): Likewise.
24212         [C99-based-standards] (PRIuMAX): Likewise.
24213         [C99-based-standards] (PRIxMAX): Likewise.
24214         [C99-based-standards] (PRIXMAX): Likewise.
24215         [C99-based-standards] (SCNdMAX): Likewise.
24216         [C99-based-standards] (SCNiMAX): Likewise.
24217         [C99-based-standards] (SCNoMAX): Likewise.
24218         [C99-based-standards] (SCNuMAX): Likewise.
24219         [C99-based-standards] (SCNxMAX): Likewise.
24220         [C99-based-standards] (PRIdPTR): Likewise.
24221         [C99-based-standards] (PRIiPTR): Likewise.
24222         [C99-based-standards] (PRIoPTR): Likewise.
24223         [C99-based-standards] (PRIuPTR): Likewise.
24224         [C99-based-standards] (PRIxPTR): Likewise.
24225         [C99-based-standards] (PRIXPTR): Likewise.
24226         [C99-based-standards] (SCNdPTR): Likewise.
24227         [C99-based-standards] (SCNiPTR): Likewise.
24228         [C99-based-standards] (SCNoPTR): Likewise.
24229         [C99-based-standards] (SCNuPTR): Likewise.
24230         [C99-based-standards] (SCNxPTR): Likewise.
24231         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24232         allow.
24233         * conform/data/stdint.h-data: Update comments to clarify
24234         requirements.
24235         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24236         type.
24237         [C99-based standards] (INT8_MAX): Likewise.
24238         [C99-based standards] (INT16_MIN): Likewise.
24239         [C99-based standards] (INT16_MAX): Likewise.
24240         [C99-based standards] (INT32_MIN): Likewise.
24241         [C99-based standards] (INT32_MAX): Likewise.
24242         [C99-based standards] (INT64_MIN): Likewise.
24243         [C99-based standards] (INT64_MAX): Likewise.
24244         [C99-based standards] (UINT8_MAX): Likewise.
24245         [C99-based standards] (UINT16_MAX): Likewise.
24246         [C99-based standards] (UINT32_MAX): Likewise.
24247         [C99-based standards] (UINT64_MAX): Likewise.
24248         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24249         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24250         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24251         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24252         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24253         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24254         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24255         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24256         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24257         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24258         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24259         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24260         [C99-based standards] (INT_FAST8_MIN): Likewise.
24261         [C99-based standards] (INT_FAST8_MAX): Likewise.
24262         [C99-based standards] (INT_FAST16_MIN): Likewise.
24263         [C99-based standards] (INT_FAST16_MAX): Likewise.
24264         [C99-based standards] (INT_FAST32_MIN): Likewise.
24265         [C99-based standards] (INT_FAST32_MAX): Likewise.
24266         [C99-based standards] (INT_FAST64_MIN): Likewise.
24267         [C99-based standards] (INT_FAST64_MAX): Likewise.
24268         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24269         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24270         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24271         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24272         [C99-based standards] (INTPTR_MIN): Likewise.
24273         [C99-based standards] (INTPTR_MAX): Likewise.
24274         [C99-based standards] (UINTPTR_MAX): Likewise.
24275         [C99-based standards] (INTMAX_MIN): Likewise.
24276         [C99-based standards] (INTMAX_MAX): Likewise.
24277         [C99-based standards] (UINTMAX_MAX): Likewise.
24278         [C99-based standards] (PTRDIFF_MIN): Likewise.
24279         [C99-based standards] (PTRDIFF_MAX): Likewise.
24280         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24281         [C99-based standards] (SIZE_MAX): Likewise.
24282         [C99-based standards] (WCHAR_MAX): Likewise.
24283         [C99-based standards] (WINT_MAX): Likewise.
24284         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24285         constraint on value.
24286         [C99-based standards] (WCHAR_MIN): Likewise.
24287         [C99-based standards] (WINT_MIN): Likewise.
24288         [C99-based standards] (*_t): Allow.
24289         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24290         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24291         Include math.h-data and complex.h-data.  Remove all expectations
24292         of math.h and complex.h contents.
24293         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24294         at end of line.
24295         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24296         (struct tm): Expect tag.
24297         [C99-based-standards] (wcstof): Expect function.
24298         [C99-based-standards] (wcstold): Likewise.
24299         [C99-based-standards] (wcstoll): Likewise.
24300         [C99-based-standards] (wcstoull): Likewise.
24301         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24302         macro-int-constant.  Specify type.
24303         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24304         constraint on value.
24305         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24306         Specify type.
24307         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24308         Specify value.
24309         [ISO C standards]: Do not allow headers.
24310         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24311         wcs[abcdefghijklmnopqrstuvwxyz]*.
24312         [ISO C standards] (*_t): Do not allow.
24313         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24314         Expect function.
24315         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24316         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24317         Specify type.
24318         [ISO C standards]: Do not allow headers.
24319         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24320         is[abcdefghijklmnopqrstuvwxyz]*.
24321         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24322         to[abcdefghijklmnopqrstuvwxyz]*.
24323         [ISO C standards] (*_t): Do not allow.
24324         * conform/data/stdalign.h-data: New file.
24325         * conform/data/stdbool.h-data: Likewise.
24326         * conform/data/stdnoreturn.h-data: Likewise.
24328 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24330         [BZ #14815]
24331         * manual/filesys.texi (Directory Entries): Typo fix.
24332         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24334 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24336         * elf/elf.h (EM_AARCH64): New macro.
24337         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24338         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24339         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24340         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24341         (R_AARCH64_TLSDESC): Likewise.
24342         (NT_ARM_TLS): Likewise.
24343         (NT_ARM_HW_BREAK): Likewise.
24344         (NT_ARM_HW_WATCH): Likewise.
24346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24348         [BZ #14811]
24349         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24350         (__ieee754_powl): Saturate nonzero exponents with absolute value
24351         below 0x1p-79 to +/- 0x1p-79.
24352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24353         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24354         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24355         nonzero exponents with absolute value below 0x1p-32 to +/-
24356         0x1p-32.
24357         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24358         (__ieee754_powl): Saturate nonzero exponents with absolute value
24359         below 0x1p-79 to +/- 0x1p-79.
24360         * math/libm-test.inc (pow_test): Add more tests.
24362 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24364         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24365         _dl_s390_cap_flags with kernel. Increase string length.
24366         (_dl_s390_platforms): Add z196 and zEC12.
24368 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24370         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24371         Change XOPEN21K to XOPEN2K.
24373 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24375         * string/memmove.c: Use memcpy when possible.
24377 2012-11-06  Andreas Jaeger  <aj@suse.de>
24379         * po/eo.po: Update from translation team.
24381 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24383         [BZ #14793]
24384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24385         exponent and small x and y exponents, scale x or y up.  Increase
24386         by 2 the exponent used in scaling up.
24387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24388         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24389         * math/libm-test.inc (fma_test): Add more tests.
24390         (fma_test_towardzero): Likewise.
24391         (fma_test_downward): Likewise.
24392         (fma_test_upward): Likewise.
24394 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24396         [BZ #14805]
24397         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24398         fenv_t *.
24400         [BZ #14801]
24401         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24402         namespace for names of struct fields.
24403         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24404         fenv_t fields.
24405         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24406         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24408 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24410         [BZ #3665]
24411         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24413 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24415         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24416         PTR_DEMANGLE.
24418         [BZ #5246]
24419         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24420         PTR_DEMANGLE.
24422 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #14797]
24425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24426         definitely overflow as x * y not x * y + z.
24427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24429         * math/libm-test.inc (fma_test): Add more tests.
24430         (fma_test_towardzero): Likewise.
24431         (fma_test_downward): Likewise.
24432         (fma_test_upward): Likewise.
24434 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24436         [BZ #157]
24438         * include/stub-tag.h: Remove file.
24439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24440         '#include' of it.
24441         * manual/maint.texi (Porting): Don't reference it.
24442         * Makerules ($(objpfx)stubs): Likewise.
24443         * dirent/closedir.c: Don't include <stub-tag.h>.
24444         * dirent/dirfd.c: Likewise.
24445         * dirent/fdopendir.c: Likewise.
24446         * dirent/getdents.c: Likewise.
24447         * dirent/getdents64.c: Likewise.
24448         * dirent/opendir.c: Likewise.
24449         * dirent/readdir.c: Likewise.
24450         * dirent/readdir64.c: Likewise.
24451         * dirent/readdir64_r.c: Likewise.
24452         * dirent/readdir_r.c: Likewise.
24453         * dirent/rewinddir.c: Likewise.
24454         * dirent/seekdir.c: Likewise.
24455         * dirent/telldir.c: Likewise.
24456         * gmon/profil.c: Likewise.
24457         * grp/setgroups.c: Likewise.
24458         * inet/if_index.c: Likewise.
24459         * io/access.c: Likewise.
24460         * io/chdir.c: Likewise.
24461         * io/chmod.c: Likewise.
24462         * io/chown.c: Likewise.
24463         * io/close.c: Likewise.
24464         * io/dup.c: Likewise.
24465         * io/dup2.c: Likewise.
24466         * io/dup3.c: Likewise.
24467         * io/euidaccess.c: Likewise.
24468         * io/faccessat.c: Likewise.
24469         * io/fchdir.c: Likewise.
24470         * io/fchmod.c: Likewise.
24471         * io/fchmodat.c: Likewise.
24472         * io/fchown.c: Likewise.
24473         * io/fchownat.c: Likewise.
24474         * io/fcntl.c: Likewise.
24475         * io/flock.c: Likewise.
24476         * io/fstatfs.c: Likewise.
24477         * io/fstatfs64.c: Likewise.
24478         * io/fstatvfs.c: Likewise.
24479         * io/fstatvfs64.c: Likewise.
24480         * io/futimens.c: Likewise.
24481         * io/fxstat.c: Likewise.
24482         * io/fxstat64.c: Likewise.
24483         * io/fxstatat.c: Likewise.
24484         * io/fxstatat64.c: Likewise.
24485         * io/getcwd.c: Likewise.
24486         * io/isatty.c: Likewise.
24487         * io/lchmod.c: Likewise.
24488         * io/lchown.c: Likewise.
24489         * io/link.c: Likewise.
24490         * io/linkat.c: Likewise.
24491         * io/lseek.c: Likewise.
24492         * io/lseek64.c: Likewise.
24493         * io/lxstat64.c: Likewise.
24494         * io/mkdir.c: Likewise.
24495         * io/mkdirat.c: Likewise.
24496         * io/mkfifo.c: Likewise.
24497         * io/mkfifoat.c: Likewise.
24498         * io/open.c: Likewise.
24499         * io/open64.c: Likewise.
24500         * io/openat.c: Likewise.
24501         * io/openat64.c: Likewise.
24502         * io/pipe.c: Likewise.
24503         * io/pipe2.c: Likewise.
24504         * io/poll.c: Likewise.
24505         * io/posix_fadvise.c: Likewise.
24506         * io/posix_fadvise64.c: Likewise.
24507         * io/posix_fallocate.c: Likewise.
24508         * io/posix_fallocate64.c: Likewise.
24509         * io/read.c: Likewise.
24510         * io/readlink.c: Likewise.
24511         * io/readlinkat.c: Likewise.
24512         * io/rmdir.c: Likewise.
24513         * io/sendfile.c: Likewise.
24514         * io/sendfile64.c: Likewise.
24515         * io/statfs.c: Likewise.
24516         * io/statfs64.c: Likewise.
24517         * io/statvfs.c: Likewise.
24518         * io/statvfs64.c: Likewise.
24519         * io/symlink.c: Likewise.
24520         * io/symlinkat.c: Likewise.
24521         * io/ttyname.c: Likewise.
24522         * io/ttyname_r.c: Likewise.
24523         * io/umask.c: Likewise.
24524         * io/unlink.c: Likewise.
24525         * io/unlinkat.c: Likewise.
24526         * io/utime.c: Likewise.
24527         * io/utimensat.c: Likewise.
24528         * io/write.c: Likewise.
24529         * io/xmknod.c: Likewise.
24530         * io/xmknodat.c: Likewise.
24531         * io/xstat.c: Likewise.
24532         * io/xstat64.c: Likewise.
24533         * login/getpt.c: Likewise.
24534         * login/grantpt.c: Likewise.
24535         * login/unlockpt.c: Likewise.
24536         * math/e_acoshl.c: Likewise.
24537         * math/e_acosl.c: Likewise.
24538         * math/e_asinl.c: Likewise.
24539         * math/e_atan2l.c: Likewise.
24540         * math/e_atanhl.c: Likewise.
24541         * math/e_coshl.c: Likewise.
24542         * math/e_expl.c: Likewise.
24543         * math/e_fmodl.c: Likewise.
24544         * math/e_gammal_r.c: Likewise.
24545         * math/e_hypotl.c: Likewise.
24546         * math/e_j0l.c: Likewise.
24547         * math/e_j1l.c: Likewise.
24548         * math/e_jnl.c: Likewise.
24549         * math/e_lgammal_r.c: Likewise.
24550         * math/e_log10l.c: Likewise.
24551         * math/e_log2l.c: Likewise.
24552         * math/e_logl.c: Likewise.
24553         * math/e_powl.c: Likewise.
24554         * math/e_rem_pio2l.c: Likewise.
24555         * math/e_sinhl.c: Likewise.
24556         * math/e_sqrtl.c: Likewise.
24557         * math/fclrexcpt.c: Likewise.
24558         * math/fedisblxcpt.c: Likewise.
24559         * math/feenablxcpt.c: Likewise.
24560         * math/fegetenv.c: Likewise.
24561         * math/fegetexcept.c: Likewise.
24562         * math/fegetround.c: Likewise.
24563         * math/feholdexcpt.c: Likewise.
24564         * math/fesetenv.c: Likewise.
24565         * math/fesetround.c: Likewise.
24566         * math/feupdateenv.c: Likewise.
24567         * math/fgetexcptflg.c: Likewise.
24568         * math/fraiseexcpt.c: Likewise.
24569         * math/fsetexcptflg.c: Likewise.
24570         * math/ftestexcept.c: Likewise.
24571         * math/k_cosl.c: Likewise.
24572         * math/k_rem_pio2l.c: Likewise.
24573         * math/k_sinl.c: Likewise.
24574         * math/k_tanl.c: Likewise.
24575         * math/s_asinhl.c: Likewise.
24576         * math/s_atanl.c: Likewise.
24577         * math/s_cbrtl.c: Likewise.
24578         * math/s_erfl.c: Likewise.
24579         * math/s_expm1l.c: Likewise.
24580         * math/s_log1pl.c: Likewise.
24581         * math/s_tanhl.c: Likewise.
24582         * misc/acct.c: Likewise.
24583         * misc/brk.c: Likewise.
24584         * misc/chflags.c: Likewise.
24585         * misc/chroot.c: Likewise.
24586         * misc/fchflags.c: Likewise.
24587         * misc/fgetxattr.c: Likewise.
24588         * misc/flistxattr.c: Likewise.
24589         * misc/fremovexattr.c: Likewise.
24590         * misc/fsetxattr.c: Likewise.
24591         * misc/fsync.c: Likewise.
24592         * misc/ftruncate.c: Likewise.
24593         * misc/futimes.c: Likewise.
24594         * misc/futimesat.c: Likewise.
24595         * misc/getdomain.c: Likewise.
24596         * misc/getdtsz.c: Likewise.
24597         * misc/gethostid.c: Likewise.
24598         * misc/gethostname.c: Likewise.
24599         * misc/getloadavg.c: Likewise.
24600         * misc/getpagesize.c: Likewise.
24601         * misc/getsysstats.c: Likewise.
24602         * misc/getxattr.c: Likewise.
24603         * misc/gtty.c: Likewise.
24604         * misc/ioctl.c: Likewise.
24605         * misc/lgetxattr.c: Likewise.
24606         * misc/listxattr.c: Likewise.
24607         * misc/llistxattr.c: Likewise.
24608         * misc/lremovexattr.c: Likewise.
24609         * misc/lsetxattr.c: Likewise.
24610         * misc/lutimes.c: Likewise.
24611         * misc/madvise.c: Likewise.
24612         * misc/mincore.c: Likewise.
24613         * misc/mlock.c: Likewise.
24614         * misc/mlockall.c: Likewise.
24615         * misc/mmap.c: Likewise.
24616         * misc/mprotect.c: Likewise.
24617         * misc/msync.c: Likewise.
24618         * misc/munlock.c: Likewise.
24619         * misc/munlockall.c: Likewise.
24620         * misc/munmap.c: Likewise.
24621         * misc/preadv.c: Likewise.
24622         * misc/preadv64.c: Likewise.
24623         * misc/ptrace.c: Likewise.
24624         * misc/pwritev.c: Likewise.
24625         * misc/pwritev64.c: Likewise.
24626         * misc/readv.c: Likewise.
24627         * misc/reboot.c: Likewise.
24628         * misc/remap_file_pages.c: Likewise.
24629         * misc/removexattr.c: Likewise.
24630         * misc/revoke.c: Likewise.
24631         * misc/select.c: Likewise.
24632         * misc/setdomain.c: Likewise.
24633         * misc/setegid.c: Likewise.
24634         * misc/seteuid.c: Likewise.
24635         * misc/sethostid.c: Likewise.
24636         * misc/sethostname.c: Likewise.
24637         * misc/setregid.c: Likewise.
24638         * misc/setreuid.c: Likewise.
24639         * misc/setxattr.c: Likewise.
24640         * misc/sstk.c: Likewise.
24641         * misc/stty.c: Likewise.
24642         * misc/swapoff.c: Likewise.
24643         * misc/swapon.c: Likewise.
24644         * misc/sync.c: Likewise.
24645         * misc/syncfs.c: Likewise.
24646         * misc/syscall.c: Likewise.
24647         * misc/truncate.c: Likewise.
24648         * misc/ualarm.c: Likewise.
24649         * misc/usleep.c: Likewise.
24650         * misc/ustat.c: Likewise.
24651         * misc/utimes.c: Likewise.
24652         * misc/vhangup.c: Likewise.
24653         * misc/writev.c: Likewise.
24654         * posix/_exit.c: Likewise.
24655         * posix/alarm.c: Likewise.
24656         * posix/execve.c: Likewise.
24657         * posix/fexecve.c: Likewise.
24658         * posix/fork.c: Likewise.
24659         * posix/fpathconf.c: Likewise.
24660         * posix/getaddrinfo.c: Likewise.
24661         * posix/getegid.c: Likewise.
24662         * posix/geteuid.c: Likewise.
24663         * posix/getgid.c: Likewise.
24664         * posix/getgroups.c: Likewise.
24665         * posix/getlogin.c: Likewise.
24666         * posix/getlogin_r.c: Likewise.
24667         * posix/getpgid.c: Likewise.
24668         * posix/getpid.c: Likewise.
24669         * posix/getppid.c: Likewise.
24670         * posix/getresgid.c: Likewise.
24671         * posix/getresuid.c: Likewise.
24672         * posix/getsid.c: Likewise.
24673         * posix/getuid.c: Likewise.
24674         * posix/glob64.c: Likewise.
24675         * posix/nanosleep.c: Likewise.
24676         * posix/pathconf.c: Likewise.
24677         * posix/pause.c: Likewise.
24678         * posix/posix_madvise.c: Likewise.
24679         * posix/pread.c: Likewise.
24680         * posix/pread64.c: Likewise.
24681         * posix/pwrite.c: Likewise.
24682         * posix/pwrite64.c: Likewise.
24683         * posix/sched_getaffinity.c: Likewise.
24684         * posix/sched_getp.c: Likewise.
24685         * posix/sched_gets.c: Likewise.
24686         * posix/sched_primax.c: Likewise.
24687         * posix/sched_primin.c: Likewise.
24688         * posix/sched_rr_gi.c: Likewise.
24689         * posix/sched_setaffinity.c: Likewise.
24690         * posix/sched_setp.c: Likewise.
24691         * posix/sched_sets.c: Likewise.
24692         * posix/sched_yield.c: Likewise.
24693         * posix/setgid.c: Likewise.
24694         * posix/setlogin.c: Likewise.
24695         * posix/setpgid.c: Likewise.
24696         * posix/setresgid.c: Likewise.
24697         * posix/setresuid.c: Likewise.
24698         * posix/setsid.c: Likewise.
24699         * posix/setuid.c: Likewise.
24700         * posix/sleep.c: Likewise.
24701         * posix/spawni.c: Likewise.
24702         * posix/sysconf.c: Likewise.
24703         * posix/times.c: Likewise.
24704         * posix/wait.c: Likewise.
24705         * posix/wait3.c: Likewise.
24706         * posix/wait4.c: Likewise.
24707         * posix/waitpid.c: Likewise.
24708         * resolv/gai_sigqueue.c: Likewise.
24709         * resource/getpriority.c: Likewise.
24710         * resource/getrlimit.c: Likewise.
24711         * resource/getrusage.c: Likewise.
24712         * resource/nice.c: Likewise.
24713         * resource/setpriority.c: Likewise.
24714         * resource/setrlimit.c: Likewise.
24715         * resource/ulimit.c: Likewise.
24716         * rt/aio_cancel.c: Likewise.
24717         * rt/aio_fsync.c: Likewise.
24718         * rt/aio_read.c: Likewise.
24719         * rt/aio_sigqueue.c: Likewise.
24720         * rt/aio_suspend.c: Likewise.
24721         * rt/aio_write.c: Likewise.
24722         * rt/clock_getres.c: Likewise.
24723         * rt/clock_gettime.c: Likewise.
24724         * rt/clock_nanosleep.c: Likewise.
24725         * rt/clock_settime.c: Likewise.
24726         * rt/lio_listio.c: Likewise.
24727         * rt/mq_close.c: Likewise.
24728         * rt/mq_getattr.c: Likewise.
24729         * rt/mq_notify.c: Likewise.
24730         * rt/mq_open.c: Likewise.
24731         * rt/mq_receive.c: Likewise.
24732         * rt/mq_send.c: Likewise.
24733         * rt/mq_setattr.c: Likewise.
24734         * rt/mq_timedreceive.c: Likewise.
24735         * rt/mq_timedsend.c: Likewise.
24736         * rt/mq_unlink.c: Likewise.
24737         * rt/shm_open.c: Likewise.
24738         * rt/shm_unlink.c: Likewise.
24739         * rt/timer_create.c: Likewise.
24740         * rt/timer_delete.c: Likewise.
24741         * rt/timer_getoverr.c: Likewise.
24742         * rt/timer_gettime.c: Likewise.
24743         * rt/timer_settime.c: Likewise.
24744         * setjmp/__longjmp.c: Likewise.
24745         * setjmp/setjmp.c: Likewise.
24746         * signal/kill.c: Likewise.
24747         * signal/killpg.c: Likewise.
24748         * signal/raise.c: Likewise.
24749         * signal/sigaction.c: Likewise.
24750         * signal/sigaltstack.c: Likewise.
24751         * signal/sigblock.c: Likewise.
24752         * signal/sigignore.c: Likewise.
24753         * signal/sigintr.c: Likewise.
24754         * signal/signal.c: Likewise.
24755         * signal/sigpause.c: Likewise.
24756         * signal/sigpending.c: Likewise.
24757         * signal/sigqueue.c: Likewise.
24758         * signal/sigreturn.c: Likewise.
24759         * signal/sigset.c: Likewise.
24760         * signal/sigsetmask.c: Likewise.
24761         * signal/sigstack.c: Likewise.
24762         * signal/sigsuspend.c: Likewise.
24763         * signal/sigtimedwait.c: Likewise.
24764         * signal/sigvec.c: Likewise.
24765         * signal/sigwait.c: Likewise.
24766         * signal/sigwaitinfo.c: Likewise.
24767         * signal/sysv_signal.c: Likewise.
24768         * socket/accept.c: Likewise.
24769         * socket/accept4.c: Likewise.
24770         * socket/bind.c: Likewise.
24771         * socket/connect.c: Likewise.
24772         * socket/getpeername.c: Likewise.
24773         * socket/getsockname.c: Likewise.
24774         * socket/getsockopt.c: Likewise.
24775         * socket/isfdtype.c: Likewise.
24776         * socket/listen.c: Likewise.
24777         * socket/recv.c: Likewise.
24778         * socket/recvfrom.c: Likewise.
24779         * socket/recvmsg.c: Likewise.
24780         * socket/send.c: Likewise.
24781         * socket/sendmsg.c: Likewise.
24782         * socket/sendto.c: Likewise.
24783         * socket/setsockopt.c: Likewise.
24784         * socket/shutdown.c: Likewise.
24785         * socket/sockatmark.c: Likewise.
24786         * socket/socket.c: Likewise.
24787         * socket/socketpair.c: Likewise.
24788         * stdio-common/ctermid.c: Likewise.
24789         * stdio-common/cuserid.c: Likewise.
24790         * stdio-common/remove.c: Likewise.
24791         * stdio-common/rename.c: Likewise.
24792         * stdio-common/renameat.c: Likewise.
24793         * stdio-common/tempname.c: Likewise.
24794         * stdlib/getcontext.c: Likewise.
24795         * stdlib/makecontext.c: Likewise.
24796         * stdlib/setcontext.c: Likewise.
24797         * stdlib/swapcontext.c: Likewise.
24798         * stdlib/system.c: Likewise.
24799         * streams/fattach.c: Likewise.
24800         * streams/fdetach.c: Likewise.
24801         * streams/getmsg.c: Likewise.
24802         * streams/getpmsg.c: Likewise.
24803         * streams/putmsg.c: Likewise.
24804         * streams/putpmsg.c: Likewise.
24805         * sysdeps/unix/bsd/getpt.c: Likewise.
24806         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24807         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24808         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24810         Likewise.
24811         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24812         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24813         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24814         * sysvipc/msgctl.c: Likewise.
24815         * sysvipc/msgget.c: Likewise.
24816         * sysvipc/msgrcv.c: Likewise.
24817         * sysvipc/msgsnd.c: Likewise.
24818         * sysvipc/semctl.c: Likewise.
24819         * sysvipc/semget.c: Likewise.
24820         * sysvipc/semop.c: Likewise.
24821         * sysvipc/semtimedop.c: Likewise.
24822         * sysvipc/shmat.c: Likewise.
24823         * sysvipc/shmctl.c: Likewise.
24824         * sysvipc/shmdt.c: Likewise.
24825         * sysvipc/shmget.c: Likewise.
24826         * termios/tcdrain.c: Likewise.
24827         * termios/tcflow.c: Likewise.
24828         * termios/tcflush.c: Likewise.
24829         * termios/tcgetattr.c: Likewise.
24830         * termios/tcgetpgrp.c: Likewise.
24831         * termios/tcsendbrk.c: Likewise.
24832         * termios/tcsetattr.c: Likewise.
24833         * termios/tcsetpgrp.c: Likewise.
24834         * time/adjtime.c: Likewise.
24835         * time/clock.c: Likewise.
24836         * time/getitimer.c: Likewise.
24837         * time/gettimeofday.c: Likewise.
24838         * time/setitimer.c: Likewise.
24839         * time/settimeofday.c: Likewise.
24840         * time/stime.c: Likewise.
24841         * time/time.c: Likewise.
24843 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24845         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24846         /usr/old/bin.
24848         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24849         instead of spaces.
24850         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24852 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24854         [BZ #14796]
24855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24856         FE_TONEAREST before applying Dekker multiplication and Knuth
24857         addition.  Clear inexact exceptions and check for exact zero
24858         results afterwards.
24859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24860         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24861         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24862         * math/libm-test.inc (fma_test): Add more tests.
24863         (fma_test_towardzero): Likewise.
24864         (fma_test_downward): Likewise.
24865         (fma_test_upward): Likewise.
24866         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24867         function.
24868         (libc_fesetround): New macro.
24869         (libc_fesetroundf): Likewise.
24870         (libc_fesetroundl): Likewise.
24871         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24872         function.
24873         (libc_fesetround_387): Likewise.
24874         (libc_fesetroundf): New macro.
24875         (libc_fesetround): Likewise.
24876         (libc_fesetroundl): Likewise.
24877         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24878         function.
24879         (libc_fesetroundf): New macro.
24880         (libc_fesetround): Likewise.
24881         (libc_fesetroundl): Likewise.
24882         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24883         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24884         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24885         libm_hidden_ver.
24886         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24887         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24888         libm_hidden_def.
24889         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24890         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24891         libm_hidden_ver.
24892         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24893         libm_hidden_def.
24895         [BZ #3439]
24896         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24897         integer constant usable in #if and use that to give value to enum
24898         constant.
24899         (FE_DIVBYZERO): Likewise.
24900         (FE_UNDERFLOW): Likewise.
24901         (FE_OVERFLOW): Likewise.
24902         (FE_INVALID): Likewise.
24903         (FE_INVALID_SNAN): Likewise.
24904         (FE_INVALID_ISI): Likewise.
24905         (FE_INVALID_IDI): Likewise.
24906         (FE_INVALID_ZDZ): Likewise.
24907         (FE_INVALID_IMZ): Likewise.
24908         (FE_INVALID_COMPARE): Likewise.
24909         (FE_INVALID_SOFTWARE): Likewise.
24910         (FE_INVALID_SQRT): Likewise.
24911         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24912         (FE_TONEAREST): Likewise.
24913         (FE_TOWARDZERO): Likewise.
24914         (FE_UPWARD): Likewise.
24915         (FE_DOWNWARD): Likewise.
24916         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24917         (FE_DIVBYZERO): Likewise.
24918         (FE_OVERFLOW): Likewise.
24919         (FE_UNDERFLOW): Likewise.
24920         (FE_INEXACT): Likewise.
24921         (FE_TONEAREST): Likewise.
24922         (FE_DOWNWARD): Likewise.
24923         (FE_UPWARD): Likewise.
24924         (FE_TOWARDZERO): Likewise.
24925         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24926         (FE_UNDERFLOW): Likewise.
24927         (FE_OVERFLOW): Likewise.
24928         (FE_DIVBYZERO): Likewise.
24929         (FE_INVALID): Likewise.
24930         (FE_TONEAREST): Likewise.
24931         (FE_TOWARDZERO): Likewise.
24932         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24933         (FE_OVERFLOW): Likewise.
24934         (FE_UNDERFLOW): Likewise.
24935         (FE_DIVBYZERO): Likewise.
24936         (FE_INEXACT): Likewise.
24937         (FE_TONEAREST): Likewise.
24938         (FE_TOWARDZERO): Likewise.
24939         (FE_UPWARD): Likewise.
24940         (FE_DOWNWARD): Likewise.
24941         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24942         (FE_DIVBYZERO): Likewise.
24943         (FE_OVERFLOW): Likewise.
24944         (FE_UNDERFLOW): Likewise.
24945         (FE_INEXACT): Likewise.
24946         (FE_TONEAREST): Likewise.
24947         (FE_DOWNWARD): Likewise.
24948         (FE_UPWARD): Likewise.
24949         (FE_TOWARDZERO): Likewise.
24951 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24953         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24955 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24957         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24958         commands.  Quote $PWD.
24959         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24960         -x" by "export".
24961         (remove_newlines): Remove.
24963 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24965         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24966         * stdlib/stdlib.h (atof): Moved to ...
24967         * include/bits/stdlib-float.h: Here.  New file.
24968         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24969         * stdlib/bits/stdlib-float.h: New file.
24970         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24971         -mno-sse -mno-mmx.
24972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24973         <xmmintrin.h>.
24975 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24977         * conform/conformtest.pl (@headers): Add fenv.h.
24978         * conform/data/fenv.h-data: New file.
24979         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24980         include of <math/fenv.h>.
24982         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24983         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24984         && !UNIX98].  Enables tests for XOPEN2K8.
24985         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24986         POSIX2008]: Likewise.
24988         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24989         (struct rusage): Do not expect type or its members.
24991         [BZ #3439]
24992         * math/math.h (FP_NAN): Define macro to integer constant usable in
24993         #if and use that to give value to enum constant.
24994         (FP_INFINITE): Likewise.
24995         (FP_ZERO): Likewise.
24996         (FP_SUBNORMAL): Likewise.
24997         (FP_NORMAL): Likewise.
24999 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25001         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25002         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25003         arguments.
25005 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25007         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25008         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25009         autoconf-time if not.
25010         * configure.in: Remove AC_PREREQ.
25012 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25014         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25015         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25016         of the internal implementation.
25018 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25020         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25021         except include of <misc/sys/syslog.h>.
25023 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25026         function returns with a NULL context exit with zero.
25028 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25030         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25032 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25034         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25035         (run_program_cmd): This.
25036         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25037         (tst_langinfo): New variable.  Use it.
25039 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25041         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25042         floating point opcodes.
25044 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25046         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25047         variable.
25049         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25051         * sysdeps/mach/hurd/powerpc: Remove directory.
25052         * sysdeps/mach/powerpc: Likewise.
25054 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25056         * scripts/check-local-headers.sh: Ignore c++ headers.
25058 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25060         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25061         __libc_cleanup_region_start argument.
25063 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25065         [BZ #14784]
25066         [BZ #14785]
25067         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25068         x * y using scaling, not as x * y + z.
25069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25071         * math/libm-test.inc (fma_test): Add more tests.
25072         (fma_test_towardzero): Likewise.
25073         (fma_test_downward): Likewise.
25074         (fma_test_upward): Likewise.
25076 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25078         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25080 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25082         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25083         New variable.
25085 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25087         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25089 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25092         Fix sort order.
25093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25094         Likewise.
25096 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25099         Fix the order of the list for glibc 2.17.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25101         Likewise.
25103 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25107 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25109         [BZ #14610]
25110         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25111         for low part of x being zero before using __atanl (y).
25112         * math/libm-test.inc (atan2_test): Add another test.
25114         * manual/install.texi (Configuring and compiling): Document
25115         general use of test-wrapper and test-wrapper-env.
25116         * INSTALL: Regenerated.
25118         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25119         (__fma): Do not extract and scale down low bits on after-rounding
25120         systems when result rounded to normal precision would have normal
25121         exponent.
25122         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25123         (__fmal): Do not extract and scale down low bits on after-rounding
25124         systems when result rounded to normal precision would have normal
25125         exponent.
25126         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25127         (__fmal): Do not extract and scale down low bits on after-rounding
25128         systems when result rounded to normal precision would have normal
25129         exponent.
25130         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25131         macro.
25132         (fma_test): Add more tests.
25133         (fma_test_towardzero): Likewise.
25134         (fma_test_downward): Likewise.
25135         (fma_test_upward): Likewise.
25137 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25139         * sysdeps/i386/tininess.h: Renamed to ...
25140         * sysdeps/x86/tininess.h: This.
25141         * sysdeps/x86_64/tininess.h: Removed.
25143 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25145         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25146         input.  Use $(build-program-cmd).
25147         ($(objpfx)tst-array1-static.out): Likewise.
25148         ($(objpfx)tst-array2.out): Likewise.
25149         ($(objpfx)tst-array3.out): Likewise.
25150         ($(objpfx)tst-array4.out): Likewise.
25151         ($(objpfx)tst-array5.out): Likewise.
25152         ($(objpfx)tst-array5-static.out): Likewise.
25154 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25156         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25157         if defined.
25159         * nss/nsswitch.h (nss_interface_function): Provide new
25160         macro for use with NSS functions.
25161         * grp/initgroups.c: Use new macro.
25162         * nss/getXXbyYY.c: Likewise.
25163         * nss/getXXbyYY_r.c: Likewise.
25164         * nss/getXXent.c: Likewise.
25165         * nss/getXXent_r.c: Likewise.
25166         * sysdeps/posix/getaddrinfo.c: Likewise.
25168 2012-10-30  Andreas Jaeger  <aj@suse.de>
25170         * po/ru.po: Update Russion translation from translation project.
25172 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25174         [BZ #14152]
25175         [BZ #14783]
25176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25177         result and shift together with sticky bit instead of replicating
25178         round-to-nearest rounding.
25179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25181         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25182         missing underflow exceptions.
25183         (fma_test_towardzero): Add more tests.
25184         (fma_test_downward): Likewise.
25185         (fma_test_upward): Likewise.
25187         [BZ #14047]
25188         * sysdeps/generic/tininess.h: New file.
25189         * sysdeps/i386/tininess.h: Likewise.
25190         * sysdeps/sh/tininess.h: Likewise.
25191         * sysdeps/x86_64/tininess.h: Likewise.
25192         * stdlib/tst-strtod-underflow.c: Likewise.
25193         * stdlib/tst-tininess.c: Likewise.
25194         * stdlib/strtod_l.c: Include <tininess.h>.
25195         (round_and_return): Do not set errno for exact underflow cases.
25196         Force an underflow exception when setting errno for underflow.
25197         Determine underflow based on rounding to normal precision if
25198         TININESS_AFTER_ROUNDING.
25199         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25200         ERANGE for exact underflow cases.
25201         * stdlib/Makefile (tests): Add tst-tininess and
25202         tst-strtod-underflow.
25203         ($(objpfx)tst-tininess): Use $(link-libm).
25204         ($(objpfx)tst-strtod-underflow): Likewise.
25206 2012-10-30  Andreas Jaeger  <aj@suse.de>
25208         [BZ#14767]
25209         * elf/Makefile (tests): Remove conditional for have-initfini-array
25210         since this is now always required and the variable does not exist
25211         anymore.
25212         (tests-static): Likewise.
25213         (modules-names): Likewise.
25215         * po/eo.po: Add Esperanto translation from translation project.
25217         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25218         merged with constructor/destructor.
25219         (init_array): Likewise.
25220         * elf/tst-array2dep.c (fini_array): Likewise.
25221         (init_array): Likewise.
25223 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25225         * manual/message.texi: Delete @cartouche tags.
25227 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25229         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25230         EOPNOTSUPP.
25231         * sysdeps/mach/hurd/fsync.c: Likewise.
25233         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25234         [_POSIX_REALTIME_SIGNALS]: Change condition to
25235         [_POSIX_REALTIME_SIGNALS > 0].
25237 2012-10-27  Andreas Jaeger  <aj@suse.de>
25239         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25240         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25242         [__WORDSIZE != 64]: Likewise.
25244 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25246         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25247         *  iconvdata/tst-tables.sh: Likewise.
25249 2012-10-25  David S. Miller  <davem@davemloft.net>
25251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25252         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25253         of strtoull.
25255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25256         ifunc-impl-list.c
25257         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25258         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25259         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25260         file.
25262 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25265         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25266         __getdirentries.
25268 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25269             Jim Blandy  <jimb@codesourcery.com>
25271         * scripts/cross-test-ssh.sh: New file.
25272         * manual/install.texi (Configuring and compiling): Document use of
25273         cross-test-ssh.sh.
25274         * INSTALL: Regenerated.
25276 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25278         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25279         EOPNOTSUPP.
25281 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25283         * Makeconfig (run-program-prefix): Fix comment.
25285 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25286             Jim Blandy  <jimb@codesourcery.com>
25288         * Makeconfig (test-wrapper): New variable,
25289         (test-wrapper-env): Likewise.
25290         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25291         (run-built-tests): Define to yes.
25292         (run-program-prefix): Use $(test-wrapper).
25293         (built-program-cmd): Likewise.
25294         * Rules (make-test-out): Use $(test-wrapper-env) and
25295         $(host-built-program-cmd).
25296         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25297         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25298         tst-pathopt.sh.
25299         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25300         $(test-wrapper-env) to tst-rtld-load-self.sh.
25301         ($(objpfx)order2.out): Use $(test-wrapper).
25302         ($(objpfx)tst-initorder.out): Likewise.
25303         ($(objpfx)tst-initorder2.out): Likewise.
25304         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25305         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25306         (test_wrapper_env): New variable.  Use it to run ld.so.
25307         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25308         Use it to run ld.so.
25309         (test_wrapper_env): Likewise.
25310         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25311         $(test-wrapper) to run-iconv-test.sh.
25312         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25313         (ICONV): Use $test_wrapper.
25314         * posix/Makefile ($(objpfx)globtest.out): Pass
25315         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25316         globtest.sh, not $(run-program-prefix).
25317         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25318         (test_wrapper): Likewise.
25319         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25320         set together with run_via_rtld_prefix.
25321         (run_program_prefix): Define in terms of test_wrapper and
25322         run_via_rtld_prefix.
25324 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25326         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25327         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25328         Targets removed.
25330         [BZ #14743]
25331         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25332         Declare __clock_getres, __clock_gettime, __clock_settime,
25333         __clock_nanosleep, and __clock_getcpuclockid.
25334         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25335         Remove librt_hidden_def (clock_gettime).
25336         * sysdeps/unix/clock_gettime.c: Likewise.
25337         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25339         * rt/clock_getres.c: Define __clock_getres as an alias.
25340         * sysdeps/posix/clock_getres.c: Likewise.
25341         * rt/clock_settime.c: Define __clock_settime as an alias.
25342         * sysdeps/unix/clock_settime.c: Likewise.
25343         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25344         * sysdeps/unix/clock_nanosleep.c: Likewise.
25345         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25346         * rt/clock-compat.c: New file.
25347         * rt/Makefile (librt-routines): Add clock-compat and move
25348         $(clock-routines) to ...
25349         (routines): ... here, new variable.
25350         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25351         Don't add get_clockfreq here.
25352         * rt/Versions (libc: GLIBC_2.17): New version set.
25353         Add clock_* symbols here.
25354         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25355         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25356         (GLIBC_2.17): Add clock_* symbols.
25357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25361         Likewise.
25362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25363         Likewise.
25364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25368         * NEWS: Mention the move.
25370         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25371         Use __open, __read, __close rather than their public counterparts.
25372         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25373         (__get_clockfreq_via_cpuinfo): Likewise.
25374         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25375         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25377         * config.h.in (HAVE_IFUNC): New #undef.
25378         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25379         was successful.
25380         * configure: Regenerated.
25382 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25384         * configure.in: Move READELF check to start of file.
25385         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25386         libc_cv_asm_gnu_indirect_function in the process.
25387         * configure: Regenerated.
25389 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25391         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25392         send the output to /dev/null.
25393         (libc_cv_cc_with_libunwind): Likewise.
25394         (libc_cv_as_noexecstack): Likewise.
25395         * configure: Regenerate.
25397 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25399         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25401         * posix/globtest.sh (TMPDIR): Do not set.
25402         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25403         (testout): Likewise.
25405 2012-10-24  Andreas Jaeger  <aj@suse.de>
25407         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25408         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25409         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25410         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25411         posix_fadvise64, posix_fallocate64.
25413         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25414         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25415         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25416         Likewise.
25417         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25418         Likewise.
25419         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25422         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25423         <bits/fcntl-linux.h>.
25424         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25426         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25427         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25428         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25429         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25430         [__WORDSIZE != 64]: Likewise.
25432 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25434         * Makeconfig (run-built-tests): New variable.
25435         * Rules [$(cross-compiling) = yes]: Change condition to
25436         [$(run-built-tests) = no].
25437         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25438         to [$(run-built-tests) = yes].
25439         * elf/Makefile [$(cross-compiling) = no]: Likewise
25440         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25441         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25442         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25443         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25444         * io/Makefile [$(cross-compiling) = no]: Likewise.
25445         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25446         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25447         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25448         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25449         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25450         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25451         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25452         * string/Makefile [$(cross-compiling) = no]: Likewise.
25454         * posix/Makefile ($(objpfx)globtest.out): Pass
25455         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25456         $(rtld-installed-name).
25457         * posix/globtest.sh (elf_objpfx): Remove variable.
25458         (rtld_installed_name): Likewise.
25459         (library_path): Likewise.
25460         (run_program_prefix): New variable.  Use for running globtest
25461         binary.
25463 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25464             Joseph Myers  <joseph@codesourcery.com>
25466         * Makeconfig (host-built-program-cmd): New variable.
25467         * elf/Makefile (tst-stackguard1-ARGS): Use
25468         $(host-built-program-cmd).
25469         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25470         (tst-spawn-ARGS): Likewise.
25471         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25473 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25474             Jim Blandy  <jimb@codesourcery.com>
25476         * Makeconfig (run-via-rtld-prefix): New variable.
25477         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25478         (built-program-cmd): Likewise.
25480 2012-10-22  Andreas Jaeger  <aj@suse.de>
25482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25483         __O_RSYNC if it exists, otherwise to O_SYNC.
25485 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25486             Joseph Myers  <joseph@codesourcery.com>
25488         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25489         /dev/null.
25490         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25491         from /dev/null
25492         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25493         /dev/null.
25495 2012-10-22  Andreas Jaeger  <aj@suse.de>
25497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25498         Define always.
25499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25502         bits/fcntl-linux.h.
25504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25505         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25508         to __O_LARGEFILE.
25509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25510         to __O_LARGEFILE.
25512 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25513             Joseph Myers  <joseph@codesourcery.com>
25515         * config.make.in (NM): New variable.
25517 2012-10-21  Andreas Jaeger  <aj@suse.de>
25519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25520         definitions and declarations that are provided by
25521         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25523 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25525         [BZ #14683]
25526         * elf/Makefile (tests-static): Add tst-leaks1-static.
25527         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25528         ($(objpfx)tst-leaks1-static): New rule.
25529         ($(objpfx)tst-leaks1-static-mem): Likewise.
25530         (tst-leaks1-static-ENV): New macro.
25531         * elf/dl-open.c (dl_open_worker): Check the main application
25532         only if SHARED is defined.
25533         * elf/tst-leaks1-static.c: New file.
25535 2012-10-20  Andreas Jaeger  <aj@suse.de>
25537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25538         generic values for Linux.
25539         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25540         and declarations that are provided by <bits/fcntl-linux.h> and
25541         include <bits/fcntl-linux.h>.
25542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25545 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25547         * io/fcntl.h: Move include of <bits/types.h> to the top and
25548         include it unconditionally.
25550 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25552         * wcsmbs/Makefile (tests-ifunc): New variable.
25553         (tests): Add $(tests-ifunc).
25554         * wcsmbs/test-wcschr-ifunc.c: New file.
25555         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25556         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25557         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25558         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25559         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25561         * string/Makefile (tests-ifunc): New variable.
25562         (tests): Add $(tests-ifunc).
25563         * string/test-memccpy.c (TEST_NAME): New macro.
25564         * string/test-memchr.c (TEST_NAME): Likewise.
25565         * string/test-memcmp.c (TEST_NAME): Likewise.
25566         * string/test-memcpy.c (TEST_NAME): Likewise.
25567         * string/test-memmem.c (TEST_NAME): Likewise.
25568         * string/test-memmove.c (TEST_NAME): Likewise.
25569         * string/test-memset.c (TEST_NAME): Likewise.
25570         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25571         * string/test-stpcpy.c (TEST_NAME): Likewise.
25572         * string/test-stpncpy.c (TEST_NAME): Likewise.
25573         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25574         * string/test-strcasestr.c (TEST_NAME): Likewise.
25575         * string/test-strcat.c (TEST_NAME): Likewise.
25576         * string/test-strchr.c (TEST_NAME): Likewise.
25577         * string/test-strcmp.c(TEST_NAME): Likewise.
25578         * string/test-strcpy.c (TEST_NAME): Likewise.
25579         * string/test-strcspn.c (TEST_NAME): Likewise.
25580         * string/test-strlen.c (TEST_NAME): Likewise.
25581         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25582         * string/test-strncmp.c (TEST_NAME): Likewise.
25583         * string/test-strncpy.c (TEST_NAME): Likewise.
25584         * string/test-strnlen.c (TEST_NAME): Likewise.
25585         * string/test-strpbrk.c (TEST_NAME): Likewise.
25586         * string/test-strrchr.c (TEST_NAME): Likewise.
25587         * string/test-strspn.c (TEST_NAME): Likewise.
25588         * string/test-strstr.c (TEST_NAME): Likewise.
25589         * string/test-bcopy-ifunc.c: New file.
25590         * string/test-bzero-ifunc.c: Likewise.
25591         * string/test-memccpy-ifunc.c: Likewise.
25592         * string/test-memchr-ifunc.c: Likewise.
25593         * string/test-memcmp-ifunc.c: Likewise.
25594         * string/test-memcpy-ifunc.c: Likewise.
25595         * string/test-memmem-ifunc.c: Likewise.
25596         * string/test-memmove-ifunc.c: Likewise.
25597         * string/test-mempcpy-ifunc.c: Likewise.
25598         * string/test-memset-ifunc.c: Likewise.
25599         * string/test-rawmemchr-ifunc.c: Likewise.
25600         * string/test-stpcpy-ifunc.c: Likewise.
25601         * string/test-stpncpy-ifunc.c: Likewise.
25602         * string/test-strcasecmp-ifunc.c: Likewise.
25603         * string/test-strcasestr-ifunc.c: Likewise.
25604         * string/test-strcat-ifunc.c: Likewise.
25605         * string/test-strchr-ifunc.c: Likewise.
25606         * string/test-strchrnul-ifunc.c: Likewise.
25607         * string/test-strcmp-ifunc.c: Likewise.
25608         * string/test-strcpy-ifunc.c: Likewise.
25609         * string/test-strcspn-ifunc.c: Likewise.
25610         * string/test-strlen-ifunc.c: Likewise.
25611         * string/test-strncasecmp-ifunc.c: Likewise.
25612         * string/test-strncat-ifunc.c: Likewise.
25613         * string/test-strncmp-ifunc.c: Likewise.
25614         * string/test-strncpy-ifunc.c: Likewise.
25615         * string/test-strnlen-ifunc.c: Likewise.
25616         * string/test-strpbrk-ifunc.c: Likewise.
25617         * string/test-strrchr-ifunc.c: Likewise.
25618         * string/test-strspn-ifunc.c: Likewise.
25619         * string/test-strstr-ifunc.c: Likewise.
25621         * debug/Makefile (tests-ifunc): New variable.
25622         (tests): Add $(tests-ifunc).
25623         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25624         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25625         * debug/test-stpcpy_chk-ifunc.c: New file.
25626         * debug/test-strcpy_chk-ifunc.c: Likewise.
25628 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25630         [BZ #13601]
25631         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25632         header is not read in.
25634 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25636         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25637         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25638         directly.  Pass built executable to script as
25639         $(built-program-cmd).
25640         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25641         $testprogram without using LD_LIBRARY_PATH and $ldso.
25643         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25644         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25645         $(rtld-installed-name).
25646         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25647         (rtld_installed_name): Likewise.
25648         (library_path): Likewise.
25649         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25650         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25651         $(run-program-prefix) to tst-tables.sh.
25652         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25653         it to run tst-table-from and tst-table-to.
25654         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25655         Pass it to tst-table.sh.
25656         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25657         $(run-program-prefix) to tst-gettext.sh.
25658         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25659         tst-translit.sh.
25660         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25661         tst-gettext2.sh.
25662         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25663         to run tst-gettext.
25664         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25665         to run tst-gettext2.
25666         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25667         to run tst-translit.
25668         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25669         $(run-program-prefix) to tst-mtrace.sh.
25670         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25671         to run tst-mtrace.
25672         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25673         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25674         $(rtld-installed-name).
25675         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25676         (rtld_installed_name): Likewise.
25677         (run_program_prefix): New variable.  Use it to run wordexp-test.
25679         * Makeconfig (ARCH): Remove all definitions.
25680         (machine): Likewise.
25681         [ARCH]: Remove conditional code.
25682         [!objdir]: Give error.
25683         [!objdir] (objpfx): Remove.
25684         [!objdir] (common-objpfx): Likewise.
25685         [!objdir] (common-objdir): Likewise.
25686         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25687         AC_CONFIG_FILES call.
25688         * configure: Regenerated.
25690         [BZ #13888]
25691         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25692         or TMPDIR.
25693         (testout): Likewise.
25695         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25696         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25697         $(rtld-installed-name).
25698         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25699         (rtld_installed_name): Likwise.
25700         (runit): Remove function.
25701         (run_getconf): New variable,  Use it for running getconf binary.
25703 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25705         [BZ #14716]
25706         * string/test-memmem.c (check_result): New function.
25707         (do_one_test): Use it.
25708         (check1): New function.
25709         (test_main): Use it.
25711 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25713         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25715 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25717         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25718         (_G_LSEEK64): Likewise.
25719         (_G_MMAP64): Likewise.
25720         (_G_FSTAT64): Likewise.
25721         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25722         (_G_LSEEK64): Likewise.
25723         (_G_MMAP64): Likewise.
25724         (_G_FSTAT64): Likewise.
25725         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25726         unconditional.  Call __mmap64 directly.
25727         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25728         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25729         __lseek64 directly.
25730         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25731         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25732         __mmap64 directly.
25733         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25734         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25735         __lseek64 directly.
25736         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25737         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25738         __lseek64 directly.
25739         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25740         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25741         __lseek64 directly.
25742         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25743         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25744         __fxstat64 directly.
25745         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25746         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25747         unconditional.
25748         (freopen64) [!_G_OPEN64]: Remove conditional code.
25749         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25750         unconditional.
25751         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25752         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25753         unconditional.
25754         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25755         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25756         unconditional.
25757         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25758         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25759         unconditional.
25760         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25761         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25762         unconditional.
25763         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25764         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25765         unconditional.
25766         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25767         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25768         unconditional.
25769         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25771 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25773         [BZ #12140]
25774         * manual/memory.texi (Malloc Tunable Parameters): Add note
25775         about free list pointers overwriting some perturb bytes.
25776         Wording suggested by Roland McGrath.
25778 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25780         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25781         (lgamma_test): Likewise.
25782         (tgamma_test): Likewise.
25784 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25786         [BZ #14700]
25787         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25788         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25790 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25792         * NEWS: Mention BZ #14716.
25793         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25794         when removing AVAILABLE1_USES_J macro.
25796 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
25798         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25799         (__bswap_64): __uint64_t for unsigned 64-bit int.
25801 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
25803         * include/string.h (memmem): Declare libc hidden alias.
25804         * string/memmem.c (memmem): Define libc hidden alias.
25805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25806         __read, __close instead of open, read, close.
25808 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
25810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25811         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25812         global and hidden.
25813         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25814         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25815         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25816         Likewise.
25817         (__rawmemchr_sse2): Likewise.
25818         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25819         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25820         (__strchr_sse2): Likewise.
25821         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25822         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25823         (__strcasecmp_sse2): Likewise.
25824         (__strncasecmp_sse2): Likewise.
25825         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25826         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25827         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25828         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25829         (__strrchr_sse2): Likewise.
25830         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25831         ifunc-impl-list.c.
25832         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25834         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25835         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25836         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25837         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25838         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25840         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25841         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25842         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25843         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25844         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25845         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25846         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25847         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25848         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25849         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25850         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25851         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25852         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25853         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25854         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25855         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25856         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25857         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25858         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25859         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25860         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25861         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25863         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25864         global and hidden.
25865         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25866         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25867         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25868         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25869         Likewise.
25870         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25871         Likewise.
25872         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25873         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25874         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25875         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25876         ifunc-impl-list.c.
25877         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25878         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25879         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25880         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25881         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25882         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25883         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25884         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25885         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25886         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25887         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25888         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25889         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25890         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25891         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25892         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25893         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25894         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25895         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25896         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25897         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25898         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25899         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25900         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25901         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25902         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25903         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25904         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25905         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25906         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25907         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25908         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25909         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25910         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25911         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25912         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25913         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25914         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25915         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25916         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25917         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25919         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25920         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25921         * include/ifunc-impl-list.h: New file.
25922         * misc/ifunc-impl-list.c: Likewise.
25923         * misc/Makefile (routines): Add ifunc-impl-list.
25924         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25925         * string/test-string.h: Include <ifunc-impl-list.h>.
25926         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25927         TEST_NAME]: New variables.
25928         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25929         are defined.
25930         (test_init): Call __libc_ifunc_impl_list to initialize
25931         func_list if TEST_IFUNC and TEST_NAME are defined.
25933         * string/Makefile (strop-tests): Add bcopy and bzero.
25934         * string/test-bcopy.c: New file.
25935         * string/test-bzero.c: Likewise.
25936         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25937         defined.
25938         * string/test-memset.c: Support bzero test if TEST_BZERO is
25939         defined.
25940         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25941         __libc_memmove.
25942         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25943         __libc_memset.
25944         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25945         of memset.
25947 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25949         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25950         * configure: Regenerated.
25952         * Makeconfig (+link-static-before-libc): Don't include
25953         $(link-static-libc).
25955         * libio/libio.h (_IO_pos_t): Remove.
25957 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25959         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25960         McGrath.
25962 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25964         * crypt/crypt-entry.c: Include fips-private.h.
25965         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25966         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25967         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25968         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25970 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25972         * crypt/crypt-private.h: Include stdbool.h.
25973         (_ufc_setup_salt_r): Return bool.
25974         * crypt/crypt-entry.c: Include errno.h.
25975         (__crypt_r): Return NULL with EINVAL for bad salt.
25976         * crypt/crypt_util.c (bad_for_salt): New.
25977         (_ufc_setup_salt_r): Check that salt is long enough and within
25978         the specified alphabet.
25979         * crypt/badsalttest.c: New file.
25980         * crypt/Makefile (tests): Add it.
25981         ($(objpfx)badsalttest): New.
25983 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25985         * NEWS: Add entry for BZ #14602.
25987 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25989         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25990         type-generic.
25991         * math/libm-test.inc: Update comment listing what functions and
25992         macros are tested.
25993         (isgreater_test): New function.
25994         (isgreaterequal_test): Likewise.
25995         (isless_test): Likewise.
25996         (islessequal_test): Likewise.
25997         (islessgreater_test): Likewise.
25998         (isunordered_test): Likewise.
25999         (main): Call the new functions.
26001 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26003         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26004         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26005         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26006         * sysdeps/i386/configure: Regenerated.
26007         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26008         * sysdeps/mach/configure: Regenerated.
26009         * sysdeps/mach/hurd/configure: Regenerated.
26010         * sysdeps/powerpc/configure: Regenerated.
26011         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26012         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26013         * sysdeps/s390/s390-32/configure: Regenerated.
26014         * sysdeps/s390/s390-64/configure: Regenerated.
26015         * sysdeps/sh/configure: Regenerated.
26016         * sysdeps/sparc/configure: Regenerated.
26017         * sysdeps/unix/sysv/linux/configure: Regenerated.
26018         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26019         * sysdeps/x86_64/configure: Regenerated.
26021         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26022         defined.  Don't check if MAP is NULL.
26024 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26026         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26027         (_G_stat64): Likewise.
26028         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26029         (_G_stat64): Likewise.
26030         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26031         instead of struct _G_stat64.
26032         * libio/fileops.c (mmap_remap_check): Likewise.
26033         (decide_maybe_mmap): Likewise.
26034         (_IO_new_file_seekoff): Likewise.
26035         (_IO_file_stat): Likewise.
26036         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26037         _G_off64_t.
26038         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26039         instead of struct _G_stat64.
26040         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26042 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26044         [BZ #14602]
26045         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26046         Replace with ...
26047         (CHECK_EOL): New macro.
26048         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26049         CHECK_EOL.
26050         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26051         Replace with CHECK_EOL.
26052         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26053         Replace with CHECK_EOL.
26055 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26057         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26058         type-generic.
26059         * math/libm-test.inc: Update comment listing what functions and
26060         macros are tested.
26061         (finite_test): New function.
26062         (isinf_test): Likewise.
26063         (isnan_test): Likewise.
26064         (fpclassify_test): Test subnormal input.
26065         (isfinite_test): Likewise.
26066         (isnormal_test): Likewise.
26067         (main): Call the new functions.
26069 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26071         [BZ #14660]
26072         * Makerules (%.dynsym): Force C locale when running
26073         $(OBJDUMP) --dynamic-syms.
26075 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26077         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26078         <stdint.h>.
26080 2012-10-06  David S. Miller  <davem@davemloft.net>
26082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26083         upper 32-bits of the length value in %o2 since we use branch-on-register
26084         tests which consider the entire 64-bit register.
26086 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26088         * string/test-strstr.c (check2): Add a test for page boundary.
26090 2012-10-05  David S. Miller  <davem@davemloft.net>
26092         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26093         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26094         file.
26095         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26096         sysdep_routines.
26097         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26098         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26099         and bzero when HWCAP_SPARC_CRYPTO is present.
26101 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26103         [BZ #14602]
26104         * string/test-strstr.c (check2): New function.
26105         (test_main): Call check2.
26107         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26108         and bug-strchr1.
26109         * string/bug-strcasestr1.c (do_test): Moved to ...
26110         * string/test-strcasestr.c (check1): Here.  New function.
26111         (do_one_test): Break out result checking code into ...
26112         (check_result): This.  New function.
26113         (do_one_test): Call check_result.
26114         (test_main): Call check1.
26115         * string/bug-strchr1.c (do_test): Moved to ...
26116         * string/test-strchr.c (check1): Here.  New function.
26117         (do_one_test): Break out result checking code into ...
26118         (check_result): This.  New function.
26119         (do_one_test): Call check_result.
26120         (test_main): Call check1.
26121         * string/bug-strstr1.c (main): Moved to ...
26122         * string/test-strstr.c (check1): Here.  New function.
26123         (do_one_test): Break out result checking code into ...
26124         (check_result): This.  New function.
26125         (do_one_test): Call check_result.
26126         (test_main): Call check1.
26127         * string/bug-strcasestr1.c: Removed.
26128         * string/bug-strchr1.c: Likewise.
26129         * string/bug-strstr1.c: Likewise.
26131         * elf/Makefile (dl-routines): Add hwcaps.
26132         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26133         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26134         (_dl_important_hwcaps): Moved to ...
26135         * elf/dl-hwcaps.c: Here.  New file.
26136         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26138         [BZ #14557]
26139         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26140         if IS_IN_rtld isn't defined.
26142         * elf/dl-support.c (_dl_sysinfo_map): New.
26143         Include "get-dynamic-info.h" and "setup-vdso.h".
26144         (_dl_non_dynamic_init): Call setup_vdso.
26145         * elf/dynamic-link.h: Don't include <assert.h>.
26146         (elf_get_dynamic_info): Moved to ...
26147         * elf/get-dynamic-info.h: Here.  New file.
26148         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26149         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26150         * elf/setup-vdso.h: Here.  New file.
26151         * elf/rtld.c: Include "setup-vdso.h".
26152         (dl_main): Call setup_vdso.
26154 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26156         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26157         creal in comment listing functions tested.  List finite, isinf,
26158         isnan, isless, islessequal, isgreater, isgreaterequal,
26159         islessgreater, isunordered, lgamma_r and pow10 as functions and
26160         macros not tested.  Mention which functions not tested are aliases
26161         for other functions.  Fix typo.  Note that signs of NaNs are not
26162         tested.
26164         * scripts/config.guess: Update from config.git.
26165         * scripts/config.sub: Likewise.
26167 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26169         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26170         * misc/madvise.c (madvise): Renamed to __madvise.
26171         Make madvise a weak alias.
26172         * include/sys/mman.h: Declare __madvise.
26173         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26174         * sysdeps/unix/syscalls.list
26175         (madvise): Make __madvise the strong name, and madvise a weak alias.
26176         * sysdeps/unix/sysv/linux/syscalls.list
26177         (madvise, mmap): Remove redundant entries.
26178         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26179         * malloc/malloc.c (mtrim): Likewise.
26180         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26182 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26184         * sysdeps/mach/hurd/dl-cache.c: File removed.
26185         * config.h.in (USE_LDCONFIG): New #undef.
26186         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26187         * configure: Regenerated.
26188         * elf/Makefile (dl-routines): Add dl-cache only under
26189         [$(use-ldconfig) = yes].
26190         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26191         cache on [USE_LDCONFIG].
26192         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26193         [USE_LDCONFIG].
26194         * elf/rtld.c (dl_main): Likewise.
26196 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26198         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26199         _SC_LEVEL4_CACHE_LINESIZE.
26201 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26203         * sysdeps/unix/bsd/confstr.h: File removed.
26205 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26207         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26208         sys/sdt-config.h.
26210 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26212         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26213         Make 'mapoff' field ElfW(Off) rather than off_t.
26215 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26217         * nscd/Makefile: Remove nscd-cflags and all its users.
26218         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26219         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26221         [BZ #10631]
26222         * malloc.c (malloc_printerr): Clarify error message.
26224 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26226         [BZ #14648]
26227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26228         Set bit_FMA_Usable if FMA is supported.
26229         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26230         macro.
26231         (bit_FMA4_Usable): Updated.
26232         (index_FMA_Usable): New macro.
26233         (CPUID_FMA): Likewise
26234         (HAS_FMA): Defined with bit_FMA_Usable.
26236 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26238         * bits/types.h (__swblk_t): Type removed.
26239         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26240         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26241         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26242         (__SWBLK_T_TYPE): Likewise.
26243         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26244         (__SWBLK_T_TYPE): Likewise.
26245         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26246         (__SWBLK_T_TYPE): Likewise.
26247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26248         (__SWBLK_T_TYPE): Likewise.
26250 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26251             Honza Horak <hhorak@redhat.com>
26253         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26254         (xdr_mapname): Use YPMAXMAP as maxsize.
26255         (xdr_peername): Use YPMAXPEER as maxsize.
26256         (xdr_keydat): Use YPAXRECORD as maxsize.
26257         (xdr_valdat): Use YPMAXRECORD as maxsize.
26259 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26261         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26263         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26264         * csu/init-first.c: ... here.
26265         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26266         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26267         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26268         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26269         * sysdeps/i386/init-first.c: File removed.
26270         * sysdeps/sh/init-first.c: File removed.
26272 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26274         [BZ #14645]
26275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26276         if x * y might underflow to zero and z is zero.
26277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26279         * math/libm-test.inc (min_subnorm_value): New variable.
26280         (fma_test): Add more tests.
26281         (fma_test_towardzero): Likewise.
26282         (fma_test_downward): Likewise
26283         (fma_test_upward): Likewise.
26284         (initialize): Set min_subnorm_value.
26286 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26288         [BZ #14638]
26289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26290         0 + 0.
26291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26292         mode for addition resulting in exact zero.
26293         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26295         exact 0 + 0.
26296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26298         * math/libm-test.inc (fma_test): Add more tests.
26299         (fma_test_towardzero): New function.
26300         (fma_test_downward): Likewise.
26301         (fma_test_upward): Likewise.
26302         (main): Call the new functions.
26304 2012-09-28  David S. Miller  <davem@davemloft.net>
26306         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26308 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26310         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26311         instead of SIGALRM.
26313         * sysdeps/gnu/_G_config.h: Moved to ...
26314         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26315         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26316         * sysdeps/generic/_G_config.h: ... here.
26318         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26320         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26322         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26323         Conditionalize target on [libnss_test1.so-version].
26325         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26327         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26328         (elfobjdir): Move out of conditionals.
26330         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26331         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26332         (__nss_lookup_function): Conditionalize label remove_from_tree on
26333         [!DO_STATIC_NSS || SHARED], matching its only use.
26335 2012-09-28  David S. Miller  <davem@davemloft.net>
26337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26338         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26339         file.
26340         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26341         sysdep_routines.
26342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26344         when HWCAP_SPARC_CRYPTO is present.
26346 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26348         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26350 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26352         [BZ #6530]
26353         * stdio-common/vfprintf.c (process_string_arg): Revert
26354         2000-07-22 change.
26356 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26358         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26359         for testcase.
26360         * stdio-common/tst-sprintf.c: Include <locale.h>
26361         (main): Test sprintf's handling of incomplete multibyte
26362         characters.
26364 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26366         * elf/dl-runtime.c (VERSYMIDX): Removed.
26367         * elf/dl-version.c (VERSYMIDX): Likewise.
26368         * elf/do-rel.h (VERSYMIDX): Likewise.
26369         (VALIDX): Likewise.
26370         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26371         * elf/rtld.c (VALIDX): Likewise.
26372         (ADDRIDX): Likewise.
26373         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26374         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26375         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26376         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26377         (VALIDX): Likewise.
26378         (ADDRIDX): Likewise.
26380 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26382         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26384 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26386         [BZ #11438]
26387         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26388         to global scope.
26389         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26390         addresses are in the same scope as 192.0.2/24.
26391         * posix/gai.conf: Document new scope table defaults.
26393 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26395         [BZ #5298]
26396         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26397         for ftell.  Compute offsets from write pointers instead.
26398         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26400 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26402         [BZ #14543]
26403         * libio/Makefile (tests): New test case tst-fseek.
26404         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26405         combination works in wide mode.
26406         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26407         state when the external buffer state changes.
26409 2012-09-27  David S. Miller  <davem@davemloft.net>
26411         [BZ #14376]
26412         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26413         pass reloc->r_addend in as the 'high' argument to
26414         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26420         * rt/tst-aio2.c: Include <pthread.h>.
26421         * rt/tst-aio3.c: Likewise.
26423 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26425         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26427 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26429         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26430         contents on [SHARED].
26432 2012-09-26  Marek Polacek  <polacek@redhat.com>
26434         [BZ #14530]
26435         [BZ #13741]
26436         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26437         for C++ and GCC <4.3 as well as for non GCC compilers.
26439 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26443 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26445         * Makefile.in (all, install): Declare with .PHONY.
26446         Reported by Michael Hope <michael.hope@linaro.org>.
26448 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26450         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26451         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26452         system header.
26453         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26454         Likewise.
26455         (sydep_routines): Add the new and the internal functions.
26456         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26457         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26459         (GLIBC_2.17): Add the new function.
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26461         (GLIBC_2.17): Likewise.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26463         (GLIBC_2.17): Likewise.
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26465         (GLIBC_2.17): Likewise.
26466         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26468 2012-09-25  Alan Modra  <amodra@gmail.com>
26470         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26471         Add release barrier before setting once_control to say
26472         initialisation is done.  Add hints on lwarx.  Use macro in
26473         place of isync.
26474         (clear_once_control): Add release barrier.
26476 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26478         [BZ #13629]
26479         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26480         specially.
26481         * math/s_clog10.c (__clog10): Likewise.
26482         * math/s_clog10f.c (__clog10f): Likewise.
26483         * math/s_clog10l.c (__clog10l): Likewise.
26484         * math/s_clogf.c (__clogf): Likewise.
26485         * math/s_clogl.c (__clogl): Likewise.
26486         * math/Makefile (libm-calls): Add x2y2m1.
26487         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26488         (__x2y2m1): Likewise.
26489         (__x2y2m1l): Likewise.
26490         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26491         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26492         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26493         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26494         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26495         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26496         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26497         * sysdeps/i386/fpu/libm-test-ulps: Update.
26498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26500         [BZ #14621]
26501         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26502         int as type of variable DEPTH.
26503         (glob): Use size_t instead of int as type of variables NEWCOUNT
26504         and OLD_PATHC.
26506 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26508         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26509         Add s_sincosf-sse2.
26510         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26511         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26512         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26513         macros for using routine as __sincosf_ia32.
26514         Use macro for function declaration and weak_alias.
26515         * sysdeps/i386/fpu/libm-test-ulps: Update.
26517         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26520         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26521         subnormal argument.
26522         * math/s_cexpf.c (__cexpf): Likewise.
26523         * math/s_csinf.c (__csinf): Likewise.
26524         * math/s_csinhf.c (__csinhf): Likewise.
26525         * math/s_ctanf.c (__ctanf): Likewise.
26526         * math/s_ctanhf.c (__ctanhf): Likewise.
26527         * math/s_ccosh.c (__ccoshf): Likewise.
26528         * math/s_cexp.c (__cexpl): Likewise.
26529         * math/s_csin.c (__csin): Likewise.
26530         * math/s_csinh.c (__csinh): Likewise.
26531         * math/s_ctan.c (__ctan): Likewise.
26532         * math/s_ctanh.c (ctanh): Likewise.
26533         * math/s_ccoshl.c (__ccoshl): Likewise.
26534         * math/s_cexpl.c (__cexpl): Likewise.
26535         * math/s_csinl.c (__csinl): Likewise.
26536         * math/s_csinhl.c (__csinhl): Likewise.
26537         * math/s_ctanl.c (__ctanl): Likewise.
26538         * math/s_ctanhl.c (__ctanhl): Likewise.
26540 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26542         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26543         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26544         (_IO_off_t): Define to __off_t, not _G_off_t.
26545         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26546         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26547         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26548         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26549         type of __dummy and __dummy2 fields.
26550         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26551         (_G_ssize_t): Likewise.
26552         (_G_off_t): Likewise.
26553         (_G_pid_t): Likewise.
26554         (_G_uid_t): Likewise.
26555         (_G_wchar_t): Likewise.
26556         (_G_wint_t): Likewise.
26557         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26558         (_G_ssize_t): Likewise.
26559         (_G_off_t): Likewise.
26560         (_G_pid_t): Likewise.
26561         (_G_uid_t): Likewise.
26562         (_G_wchar_t): Likewise.
26563         (_G_wint_t): Likewise.
26564         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26565         (_G_ssize_t): Likewise.
26566         (_G_off_t): Likewise.
26567         (_G_pid_t): Likewise.
26568         (_G_uid_t): Likewise.
26569         (_G_wchar_t): Likewise.
26570         (_G_wint_t): Likewise.
26572 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26574         * malloc/arena.c: Include malloc-sysdep.h.
26575         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26576         is sufficient to shrink the heap or an unmap is needed.
26577         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26578         new function check_may_shrink_heap.
26579         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26580         new function check_may_shrink_heap.
26582 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26584         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26585         comments.
26587 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26589         * catgets/test-gencat.sh: Add "set -e".
26590         * elf/tst-pathopt.sh: Likewise.
26591         * grp/tst_fgetgrent.sh: Likewise.
26592         * iconvdata/run-iconv-test.sh: Likewise.
26593         * intl/tst-gettext.sh: Likewise.
26594         * intl/tst-gettext2.sh: Likewise.
26595         * intl/tst-gettext4.sh: Likewise.
26596         * intl/tst-gettext6.sh: Likewise.
26597         * intl/tst-translit.sh: Likewise.
26598         * io/ftwtest-sh: Likewise.
26599         * libio/test-freopen.sh: Likewise.
26600         * malloc/tst-mtrace.sh: Likewise.
26601         * posix/globtest.sh: Likewise.
26602         * posix/tst-getconf.sh: Likewise.
26603         * posix/wordexp-tst.sh: Likewise.
26604         * stdio-common/tst-printf.sh: Likewise.
26605         * stdio-common/tst-unbputc.sh: Likewise.
26606         * stdlib/tst-fmtmsg.sh: Likewise.
26607         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26608         * catgets/Makefile: Do not specify -e option when running
26609         testsuite shell scripts.
26610         * elf/Makefile: Likewise.
26611         * grp/Makefile: Likewise.
26612         * iconvdata/Makefile: Likewise.
26613         * intl/Makefile: Likewise.
26614         * io/Makefile: Likewise.
26615         * libio/Makefile: Likewise.
26616         * malloc/Makefile: Likewise.
26617         * posix/Makefile: Likewise.
26618         * stdio-common/Makefile: Likewise.
26619         * stdlib/Makefile: Likewise.
26620         * sysdeps/x86_64/Makefile: Likewise.
26622         * io/ftwtest-sh: Add copyright header.
26623         * posix/globtest.sh: Likewise.
26624         * posix/tst-getconf.sh: Likewise.
26625         * posix/wordexp-tst.sh: Likewise.
26626         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26628 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26630         [BZ #13679]
26631         * Makeconfig (+link): Defined as $(+link-static) if
26632         $(build-shared) isn't yes.
26633         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26634         isn't yes.
26635         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26637         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26639         [BZ #14562]
26640         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26641         new chunk size with MALLOC_ALIGN_MASK.
26643 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26645         [BZ #5044]
26646         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26647         <rounding-mode.h>.
26648         (__printf_fphex): Determine rounding using get_rounding_mode and
26649         round_away.
26650         * stdio-common/tst-printf-round.c (struct hex_test): New
26651         structure.
26652         (hex_tests): New variable.
26653         (test_hex_in_one_mode): New function.
26654         (do_test): Also run tests for hex float output.
26656 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26658         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26659         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26660         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26661         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26662         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26663         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26664         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26665         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26667 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26669         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26670         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26671         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26672         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26674 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26676         [BZ #14579]
26677         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26678         mode only.
26679         * elf/tst-rtld-load-self.sh: New test.
26680         * elf/Makefile: Run it.
26682 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26684         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26685         (tst-writev-ENV): Remove.
26686         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26688 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26690         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26692 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26694         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26695         unconditional.
26696         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26697         Likewise.
26698         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26699         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26700         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26701         Likewise.
26703 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26705         [BZ #14587]
26706         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26707         * config.make.in (have-cpp-asm-debuginfo): Removed.
26708         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26709         * configure: Regenerated.
26711 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26713         [BZ #5044]
26714         * stdio-common/printf_fp.c: Include <stdbool.h> and
26715         <rounding-mode.h>.
26716         (___printf_fp): Determine rounding using get_rounding_mode and
26717         round_away.
26718         * stdio-common/tst-printf-round.c: New file.
26719         * stdio-common/Makefile (tests): Add tst-printf-round.
26720         (link-libm): New variable.
26721         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26723 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26725         [BZ #14576]
26726         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26727         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26728         Likewise.
26729         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26730         Likewise.
26732 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26734         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26735         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26736         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26737         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26739 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26741         [BZ #14518]
26742         * include/rounding-mode.h: New file.
26743         * sysdeps/generic/get-rounding-mode.h: Likewise.
26744         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26745         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26746         (MAX_VALUE): New macro.
26747         (MIN_VALUE): Likewise.
26748         (overflow_value): New function.
26749         (underflow_value): Likewise.
26750         (round_and_return): Use overflow_value and underflow_value to
26751         determine return values in overflow and underflow cases.  Use
26752         round_away to determine rounding depending on rounding mode.
26753         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26754         determine return values in overflow and underflow cases.
26755         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26756         (struct test_results): New structure.
26757         (struct test): Use struct test_results to store expected results
26758         for all rounding modes.
26759         (TEST): Include expected results for all rounding modes.
26760         (test_in_one_mode): New function.
26761         (do_test): Use test_in_one_mode to compute and check results.
26762         Check results for all rounding modes.
26763         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26764         $(link-libm).
26766 2012-12-09  Allan McRae  <allan@archlinux.org>
26768         * sysdeps/i386/fpu/libm-test-ulps: Update
26770 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26772         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26773         (_G_int32_t): Likewise.
26774         (_G_uint16_t): Likewise.
26775         (_G_uint32_t): Likewise.
26776         (_G_HAVE_BOOL): Likewise.
26777         (_G_HAVE_ATEXIT): Likewise.
26778         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26779         (_G_HAVE_IO_FILE_OPEN): Likewise.
26780         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26781         (_G_int32_t): Likewise.
26782         (_G_uint16_t): Likewise.
26783         (_G_uint32_t): Likewise.
26784         (_G_HAVE_BOOL): Likewise.
26785         (_G_HAVE_ATEXIT): Likewise.
26786         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26787         (_G_HAVE_IO_FILE_OPEN): Likewise.
26788         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26789         (_G_int32_t): Likewise.
26790         (_G_uint16_t): Likewise.
26791         (_G_uint32_t): Likewise.
26792         (_G_HAVE_BOOL): Likewise.
26793         (_G_HAVE_ATEXIT): Likewise.
26794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26795         (_G_HAVE_IO_FILE_OPEN): Likewise.
26797 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
26799         * csu/libc-tls.c: Update copyright years.
26801 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
26803         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26804         [!_G_USING_THUNKS]: Remove conditional code.
26805         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26806         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26808         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26809         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26810         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26811         (_G_VTABLE_LABEL_PREFIX): Likewise.
26812         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26813         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26814         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26815         (_G_VTABLE_LABEL_PREFIX): Likewise.
26816         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26817         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26818         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26819         (_G_VTABLE_LABEL_PREFIX): Likewise.
26820         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26822 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26824         * libio/Makefile: Include ../Makeconfig before tests.
26825         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26826         only if $(build-shared) is yes.
26828         * iconv/gconv_db.c: Update copyright years.
26830 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26832         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26833         unwind info if defined PIC. Fix special cases description.
26834         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26836         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26837         DP_HI_MASK entry.
26838         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26840 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26842         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26844         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26845         is NULL.
26847         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26848         (LDLIBS-tst-chk4): This.
26849         (LDFLAGS-tst-chk5): Renamed to ...
26850         (LDLIBS-tst-chk5): This.
26851         (LDFLAGS-tst-chk6): Renamed to ...
26852         (LDLIBS-tst-chk6): This.
26853         (LDFLAGS-tst-lfschk4): Renamed to ...
26854         (LDLIBS-tst-lfschk4): This.
26855         (LDFLAGS-tst-lfschk5): Renamed to ...
26856         (LDLIBS-tst-lfschk5): This.
26857         (LDFLAGS-tst-lfschk6): Renamed to ...
26858         (LDLIBS-tst-lfschk6): This.
26860         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26861         on $(common-objpfx)soversions.mk.
26863 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26865         [BZ #10014]
26866         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26867         example host name.
26869 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26871         * malloc/arena.c (arena_get_retry): New function that gets
26872         another arena for the caller to try its request on.
26873         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26874         current arena cannot fulfill the request.
26875         (__libc_memalign): Likewise.
26876         (__libc_memalign): Likewise.
26877         (__libc_pvalloc): Likewise.
26878         (__libc_calloc): Likewise.
26880 2012-09-05  John Tobey  <john.tobey@gmail.com>
26882         [BZ #13542]
26883         * manual/arith.texi (Operations on Complex): Fix description
26884         of carg branch cut.
26886 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26888         [BZ #10014]
26889         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26890         host name.
26892         [BZ #10038]
26893         * manual/memory.texi (Memory): Make order of menu items match
26894         order of sections.
26896 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26898         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26899         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26900         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26902 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26904         * csu/libc-tls.c (static_dtv): Renamed to ...
26905         (_dl_static_dtv): This.  Make it global.
26906         (_dl_initial_dtv): Removed.
26907         (__libc_setup_tls): Updated.
26908         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26909         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26910         DL_INITIAL_DTV.
26912 2012-09-06  Petr Machata  <pmachata@redhat.com>
26914         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26915         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26916         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26917         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26919 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26921         [BZ #14545]
26922         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26923         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26924         freeing dtv[-1].
26926 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26928         [BZ #14544]
26929         * Makeconfig (link-static-before-libc): Replace $(+prector)
26930         with $(+prectorT).
26931         (link-static-after-libc): Replace $(+postctor) with
26932         $(+postctorT).
26933         (link-bounded): Replace $(+prector)/$(+postctor) with
26934         $(+prectorT)/$(+postctorT).
26935         (+prectorT): New macro.
26936         (+postctorT): Likewise.
26938 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26940         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26941         (round_str): Handle values above the maximum for IBM long double
26942         as inexact.
26943         * stdlib/tst-strtod-round.c (tests): Regenerated.
26945 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26947         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26948         assembler flag.
26949         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26950         zarch_nohighgprs around the zarch optimized routines.
26951         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26952         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26953         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26954         for zarch.
26956 2012-09-05  David S. Miller  <davem@davemloft.net>
26958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26960         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26961         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26962         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26963         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26964         entries.
26966 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26968         * malloc/arena.c: Fold copyright years.
26969         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26973         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26977         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26979 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26981         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26982         change internal state upon failure.
26984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26986         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26987         * malloc/memusage.c (mmap): Likewise.
26988         (mmap64, mremap): Likewise.  Adjust name in comment.
26990 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26992         * libio/fileops.c: Fix typos in comments.
26993         * libio/oldfileops.c: Likewise.
26994         * libio/wfileops.c: Likewise.
26996 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26998         [BZ #1349]
26999         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27000         (tst-malloc-usable-ENV): Set environment for test case.
27001         * malloc/hooks.c (malloc_check_get_size): New function to get
27002         requested size.
27003         * malloc/malloc.c (musable): Use malloc_check_get_size.
27004         * malloc/tst-malloc-usable.c: New test case.
27006 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27008         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27010 2012-09-05  Allan McRae  <allan@archlinux.org>
27012         [BZ #13966]
27013         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27014         determine header location.
27015         * configure: Regenerated.
27017 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27019         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27020         float format.
27021         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27022         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27023         format.
27024         (test): Regenerate.
27026 2012-09-04  David S. Miller  <davem@davemloft.net>
27028         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27029         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27030         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27032 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27034         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27035         failures.
27037         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27039 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #9914]
27042         * libio/iogetdelim.c: Include <limits.h>.
27043         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27044         + len + 1 would overflow.
27046 2012-09-03  Andreas Jaeger  <aj@suse.de>
27048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27049         * sysdeps/i386/fpu/libm-test-ulps: Update.
27051 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27053         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27054         Add s_sinf-sse2, s_conf-sse2.
27056         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27057         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27058         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27059         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27061         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27062         for using routine as __sinf_ia32.
27063         Use macro for function declaration and weak_alias.
27064         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27065         for using routine as __cosf_ia32.
27066         Use macro for function declaration and weak_alias.
27068         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27069         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27071         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27072         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27075         * math/libm-test.inc (cos_test): Add more test cases.
27076         (sin_test): Likewise.
27077         (sincos_test): Likewise.
27079 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27081         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27082         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27083         hidden.
27084         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27086 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27088         [BZ #14538]
27089         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27090         first element of the GOT.
27091         (elf_machine_load_address): Return the difference between
27092         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27094 2012-09-01  Allan McRae  <allan@archlinux.org>
27096         [BZ #13412]
27097         * configure.in (AWK): Require gawk version 3.0 or later.
27098         * configure: Regenerated.
27100 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27102         * sysdeps/unix/sysv/linux/kernel-features.h
27103         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27105         [__NR_clock_getres]: Make code unconditional.
27106         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27107         (clock_getcpuclockid): Remove code left unreachable by removal of
27108         conditionals.
27109         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27110         code unconditional.
27111         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27112         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27113         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27114         Make code unconditional.
27115         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27116         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27117         * sysdeps/unix/sysv/linux/clock_settime.c
27118         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27119         conditional code.
27120         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27121         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27123 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27125         [BZ #14476]
27126         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27127         scripts/test-installation.pl.
27129         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27130         and $ld_so_version if it is set.
27132 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27134         [BZ #14516]
27135         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27136         failure if reading from procfs failed.
27137         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27139 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27141         * sysdeps/unix/sysv/linux/kernel-features.h
27142         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27143         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27144         Remove conditional code.
27145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27146         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27147         Remove conditional code.
27148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27149         * sysdeps/unix/sysv/linux/i386/fxstat.c
27150         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27152         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27155         * sysdeps/unix/sysv/linux/i386/lxstat.c
27156         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27158         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27159         Remove conditional code.
27160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27161         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27162         Remove conditional code.
27163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27164         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27165         <kernel-features.h>.
27166         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27167         Remove.
27168         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27169         Remove conditional code.
27170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27171         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27172         Remove conditional.
27174 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27176         [BZ #5400]
27177         * NEWS: Add fixed bug number.
27179 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27181         [BZ #14519]
27182         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27183         underflowing exponent in case of negative sign.
27184         * stdlib/tst-strtod-round-data: Add more tests.
27185         * stdlib/tst-strtod-round.c (tests): Regenerated.
27187         [BZ #3479]
27188         * stdlib/strtod_l.c (NDIG): Remove.
27189         (HEXNDIG): Likewise.
27190         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27191         smallest representable value.
27192         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27193         lie within an exact representation of 1/2 ulp of the result.
27194         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27195         unconditionally.
27196         (TENS_P9_IDX): Define unconditionally.
27197         (TENS_P9_SIZE): Likewise.
27198         (TENS_P10_IDX): Likewise.
27199         (TENS_P10_SIZE): Likewise.
27200         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27201         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27202         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27203         entries for 10^2^13 and 10^2^14.
27204         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27205         (TENS_P13_IDX): Define.
27206         (TENS_P13_SIZE): Likewise.
27207         (TENS_P14_IDX): Likewise.
27208         (TENS_P14_SIZE): Likewise.
27209         (_fpioconst_pow10): Change array size to
27210         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27211         unconditional.
27212         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27213         1024]: Add entries for 10^2^13 and 10^2^14.
27214         [LAST_POW10 > _LAST_POW10]: Remove #error.
27215         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27216         (_fpioconst_pow10): Change array size to
27217         FPIOCONST_POW10_ARRAY_SIZE.
27218         * stdlib/gen-fpioconst.c: New file.
27219         * stdlib/gen-tst-strtod-round.c: Likewise.
27220         * stdlib/tst-strtod-round-data: Likewise.
27221         * stdlib/tst-strtod-round.c: Likewise.
27222         * stdlib/Makefile (tests): Add tst-strtod-round.
27224         [BZ #14459]
27225         * stdlib/strtod_l.c: Include <stdint.h>.
27226         (NDEBUG): Do not define.
27227         (round_and_return): Change EXPONENT parameter to type intmax_t.
27228         Rearrange calculations to avoid internal overflow possibilities.
27229         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27230         Rearrange calculations to avoid internal overflow possibilities.
27231         Assert that number fits inside MPNSIZE limbs.
27232         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27233         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27234         calculations and add assertions to avoid internal overflow
27235         possibilities.  Add casts to avoid signed/unsigned operations.
27236         * stdlib/tst-strtod-overflow.c: New file.
27237         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27239 2012-08-25  Marek Polacek  <polacek@redhat.com>
27241         * time/time.h: Fix some typos in comments.
27243 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27245         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27246         * posix/tst-rfc3484-2.c: Likewise.
27247         * posix/tst-rfc3484-3.c: Likewise.
27249 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27251         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27252         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27254 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27256         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27257         #include of fxstatat64.c.
27259 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27261         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27262         * shadow/getspent_r.c: Likewise.
27263         * shadow/getspnam.c: Likewise.
27264         * shadow/getspnam_r.c: Likewise.
27265         * gshadow/getsgent.c: Likewise.
27266         * gshadow/getsgent_r.c: Likewise.
27267         * gshadow/getsgnam.c: Likewise.
27268         * gshadow/getsgnam_r.c: Likewise.
27269         * inet/getnetbyad.c: Likewise.
27270         * inet/getnetbyad_r.c: Likewise.
27271         * inet/getnetbynm.c: Likewise.
27272         * inet/getnetbynm_r.c: Likewise.
27273         * inet/getnetent.c: Likewise.
27274         * inet/getnetent_r.c: Likewise.
27275         * inet/getproto.c: Likewise.
27276         * inet/getproto_r.c: Likewise.
27277         * inet/getprtent.c: Likewise.
27278         * inet/getprtent_r.c: Likewise.
27279         * inet/getprtname.c: Likewise.
27280         * inet/getprtname_r.c: Likewise.
27281         * inet/getrpcbyname.c: Likewise.
27282         * inet/getrpcbyname_r.c: Likewise.
27283         * inet/getrpcbynumber.c: Likewise.
27284         * inet/getrpcbynumber_r.c: Likewise.
27285         * inet/getrpcent.c: Likewise.
27286         * inet/getrpcent_r.c: Likewise.
27287         * inet/getaliasent.c: Likewise.
27288         * inet/getaliasent_r.c: Likewise.
27289         * inet/getaliasname.c: Likewise.
27290         * inet/getaliasname_r.c: Likewise.
27291         * nscd/getgrgid_r.c: Likewise.
27292         * nscd/getgrnam_r.c: Likewise.
27293         * nscd/gethstbyad_r.c: Likewise.
27294         * nscd/gethstbynm3_r.c: Likewise.
27295         * nscd/getpwnam_r.c: Likewise.
27296         * nscd/getpwuid_r.c: Likewise.
27297         * nscd/getsrvbynm_r.c: Likewise.
27298         * nscd/getsrvbypt_r.c: Likewise.
27299         * nscd/gai.c: Likewise.
27301         * configure.in (build_nscd): New substituted variable, set
27302         by --disable-build-nscd and defaults to $use_nscd.
27303         * configure: Regenerated.
27304         * config.make.in (build-nscd): New substituted variable.
27305         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27306         Change conditional to require [$(build-nscd) = yes] as well.
27307         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27309         [BZ# 13696]
27310         * configure.in (use_nscd): New substituted variable, set by
27311         --disable-nscd.  If enabled, define USE_NSCD.
27312         * configure: Regenerated.
27313         * config.h.in: Add USE_NSCD.
27314         * config.make.in (use-nscd): New substituted variable.
27315         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27316         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27317         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27318         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27319         (CFLAGS-getgrnam_r.c): Likewise.
27320         (CFLAGS-initgroups.c): Likewise.
27321         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27322         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27323         Variables removed.
27324         * inet/getnetgrent_r.c
27325         (nscd_setnetgrent): New function, broken out of ...
27326         (setnetgrent): ... here.  Call it.
27327         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27328         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27329         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27330         * nscd/Makefile (routines, aux): Move definitions after include of
27331         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27332         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27333         Conditionalize on [USE_NSCD].
27334         (is_nscd, nscd_init_cb): Likewise.
27335         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27336         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27337         * nss/nss_db/db-init.c: Likewise.
27338         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27339         [USE_NSCD].
27340         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27341         (make_request): Use it.
27342         (cache_valid_p): New function.
27343         (__check_pf): Use it.
27344         * NEWS: Add item for --disable-nscd.
27346 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27348         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27349         to support sed >= 4.2.1-20-ga9bf076.
27350         * configure: Regenerated.
27352 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27354         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27355         Conditionalize whole body on [IREL].
27357 2012-08-22  Jeff Law <law@redhat.com>
27359         [BZ #14505]
27360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27361         if the family is PF_UNSPEC.
27363 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27365         * Makerules (lib-version): Rename from V.
27366         (install-lib-nosubdir): Change V to lib-version.
27368 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27370         [BZ #14252]
27371         * powerpc32/power6/wcschr.c: New file.
27372         * powerpc32/power6/wcscpy.c: New file.
27373         * powerpc32/power6/wcsrchr.c: New file.
27374         * powerpc64/power6/wcschr.c: New file.
27375         * powerpc64/power6/wcscpy.c: New file.
27376         * powerpc64/power6/wcsrchr.c: New file.
27378 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27380         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27381         (two_way_short_needle): Use it.
27382         * string/strstr.c (AVAILABLE1_USES_J): Define.
27383         * string/strcasestr.c: Likewise.
27385         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27386         array references.
27387         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27389         [BZ #11607]
27390         * NEWS: Add an entry.
27391         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27392         define their defaults.
27393         (two_way_short_needle): Detect end-of-string on-the-fly.
27394         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27395         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27396         * string/bug-strcasestr1.c: New test.
27397         * string/Makefile: Run it.
27399 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27401         [BZ #11607]
27402         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27403         the first character.
27405 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27407         * csu/elf-init.c (__libc_csu_irel): Function removed.
27408         * csu/libc-start.c (apply_irel): New function.
27409         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27411 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27413         * sysdeps/unix/sysv/linux/kernel-features.h
27414         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27415         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27416         <kernel-features.h>.
27417         [__NR_fadvise64_64]: Make code unconditional.
27418         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27419         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27420         !__NR_fadvise64_64)]: Likewise.
27421         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27422         !__NR_fadvise64_64))]: Likewise.
27423         [__NR_fadvise64]: Make code unconditional.
27424         [!__NR_fadvise64]: Remove conditional code.
27425         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27426         <kernel-features.h>.
27427         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27428         unconditional.
27429         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27430         conditional code.
27431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27432         not include <kernel-features.h>.
27433         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27434         unconditional.
27435         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27436         conditional code.
27437         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27438         include <kernel-features.h>.
27439         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27440         unconditional.
27441         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27442         conditional code.
27444 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27447         slight instruction rearrangements per scrollpipe analysis.
27448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27450 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27452         * manual/syslog.texi (syslog; vsyslog, closelog):
27453         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27454         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27456         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27457         DSOCAPS to match condition on defining it.
27459 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27461         * sysdeps/unix/sysv/linux/kernel-features.h
27462         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27464         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27465         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27470         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27471         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27473         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27474         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27476         * sysdeps/unix/sysv/linux/kernel-features.h
27477         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27478         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27479         unconditional.
27480         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27481         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27482         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27483         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27484         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27485         Make code unconditional.
27486         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27487         (__mmap64) [!__NR_mmap2]: Likewise.
27488         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27489         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27490         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27492         [__NR_mmap2]: Make code unconditional.
27493         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27494         (__mmap64) [!__NR_mmap2]: Likewise.
27496 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27498         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27500 2012-08-18  Andreas Jaeger  <aj@suse.de>
27502         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27504 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27506         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27507         * include/unistd.h (__have_sock_cloexec): Likewise.
27508         (__have_pipe2): Likewise.
27509         (__have_dup3): Likewise.
27511 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27513         [BZ #9685]
27514         * include/unistd.h (__have_pipe2): Change define into an extern int.
27515         (__have_dup3): Likewise.
27516         * socket/have_sock_cloexec.c: Include fcntl.h.
27517         (__have_pipe2): New variable.
27518         (__have_dup3): Likewise.
27520 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27522         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27524 2012-08-17  Marek Polacek  <polacek@redhat.com>
27526         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27527         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27529 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27531         * configure.in: Add AC_SUBST for sysheaders.
27532         * configure: Regenerated.
27533         * config.make.in (sysheaders): New substituted variable.
27535         * sysdeps/unix/mkfifo.c: Moved ...
27536         * sysdeps/posix/mkfifo.c: ... here.
27537         * sysdeps/unix/mkfifoat.c: Moved ...
27538         * sysdeps/posix/mkfifoat.c: ... here.
27540         * sysdeps/unix/utime.c: Moved ...
27541         * sysdeps/posix/utime.c: ... here.
27543         * sysdeps/unix/time.c: Moved ...
27544         * sysdeps/posix/time.c: ... here.
27545         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27546         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27548         * sysdeps/unix/nice.c: Moved ...
27549         * sysdeps/posix/nice.c: ... here.
27551         * sysdeps/unix/alarm.c: Moved ...
27552         * sysdeps/posix/alarm.c: ... here.
27554         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27556 2012-08-17  Jeff Law <law@redhat.com>
27558         * intl/Makefile (codeset_mo): New variable.
27559         ($(codeset_mo)): New target.
27560         (tst-codeset.out): Depend on that.  Remove explicit rule.
27561         (tst-gettext3.out, tst-gettext5.out): Likewise.
27562         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27563         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27564         * intl/tst-codeset.sh: Remove.
27565         * intl/tst-gettext3.sh: Likewise.
27566         * intl/tst-gettext5.sh: Likewise.
27568 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27570         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27571         * sysdeps/unix/syscalls.list: ... here.
27573         * sysdeps/posix/getaddrinfo.c
27574         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27575         (gaiconf_init, gaiconf_reload): Use them.
27576         [!_STATBUF_ST_NSEC]
27577         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27578         Define using time_t rather than struct timespec.
27580         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27581         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27582         Macros removed.
27583         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27584         [!NO_THREADS].
27585         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27586         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27587         Likewise.
27589         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27590         __libc_cleanup_push argument.
27592         * bits/param.h: New file.
27593         * misc/sys/param.h: New file.
27594         * include/sys/param.h: New file.
27595         * misc/Makefile (headers): Add bits/param.h.
27596         * sysdeps/generic/sys/param.h: File removed.
27597         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27598         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27599         * sysdeps/mach/hurd/bits/param.h: New file.
27600         * sysdeps/mach/hurd/sys/param.h: File removed.
27602         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27603         last change.
27605         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27606         [_IO_MTSAFE_IO].
27607         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27608         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27609         New macros.
27611         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27612         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27613         rather than -D_IO_MTSAFE_IO conditionally.
27614         * stdio-common/Makefile (CPPFLAGS): Likewise.
27615         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27616         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27617         Use $(libio-mtsafe).
27618         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27619         of -D_IO_MTSAFE_IO.
27620         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27621         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27622         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27623         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27624         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27625         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27626         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27627         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27628         (CFLAGS-fread_u_chk.c): Likewise.
27629         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27630         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27631         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27632         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27633         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27634         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27635         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27636         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27637         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27639         * libio/Makefile: Test [$(libc-reentrant) = yes]
27640         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27642         * Makeconfig
27643         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27644         * sysdeps/pthread/configure: File removed.
27645         * sysdeps/pthread/Makeconfig: New file.
27646         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27647         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27649 2012-08-16  Gary Benson  <gbenson@redhat.com>
27651         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27652         unmapping the first object in a namespace.
27654 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27656         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27657         (__internal_setnetgrent): ... this.  Add internal_function to
27658         definition.  Add libc_hidden_def.
27659         (setnetgrent): Update caller.
27660         (internal_endnetgrent): Renamed to ...
27661         (__internal_endnetgrent): ... this.  Add internal_function to
27662         definition.  Add libc_hidden_def.
27663         (endnetgrent): Update caller.
27664         (internal_getnetgrent_r): Renamed to ...
27665         (__internal_getnetgrent_r): ... this.  Add internal_function to
27666         definition.  Add libc_hidden_def.
27667         (__getnetgrent_r): Update caller.
27668         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27670 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27672         * stdlib/longlong.h: Update from GCC.
27674 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27676         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27677         on _QL, which is set by umul_ppmm but never used.
27678         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27679         variables, which are set by GMP macros but never used.
27680         * stdio-common/_itowa.c (_itowa): Likewise.
27681         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27682         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27684 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27686         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27687         struct La_sh_regs is not constant.
27688         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27689         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27690         and struct La_sparc64_regs are not constant.
27692 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27694         * sysdeps/unix/sysv/linux/kernel-features.h
27695         (__ASSUME_POSIX_TIMERS): Remove.
27696         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27697         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27698         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27699         Make code unconditional.
27700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27701         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27702         Make code unconditional.
27703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27704         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27705         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27707         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27708         Make code unconditional.
27709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27710         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27711         (__libc_missing_posix_timers): Remove.
27713 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27715         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27716         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27718         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27720         * elf/dl-sym.c: Include <stdlib.h>.
27722         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27723         constants, which avoids warnings in 32-bit builds.
27725         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27726         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27728         * misc/lseek.c: File moved to ...
27729         * io/lseek.c: ... here.
27731         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27733         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27734         shifting LEN more than 31 bits at once.
27736 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27738         [BZ #14195]
27739         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27740         segmentation fault for a case of two empty input strings.
27741         * string/test-strncasecmp.c (check1): Renamed to...
27742         (bz12205): ...this.
27743         (bz14195): Add new testcase for two empty input strings and N > 0.
27744         (test_main): Call new testcase, adapt for renamed function.
27746 2012-08-15  Andreas Jaeger  <aj@suse.de>
27748         [BZ #14090]
27749         * crypt/md5test2.c: New test, based on test supplied by Serge
27750         Belyshev <belyshev@depni.sinp.msu.ru>.
27751         * crypt/Makefile (xtests): Add md5test-giant..
27752         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27754 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27756         [BZ #14090]
27757         * crypt/md5.c (md5_process_block): Don't assume the buffer
27758         length is less than 2**32.
27759         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27760         length is less than 2**64.
27762 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27764         * string/str-two-way.h: Include <sys/param.h>.
27765         (MAX): Macro removed.
27767         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27768         Move #define and #undef of memmove to just before and after
27769         including <string.h>.
27771         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27772         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27773         and after including <string.h>.  Move declarations of
27774         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27775         to before #include "string/memmove.c".
27777         * include/dirent.h: Declare __getdirentries.
27779         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27780         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27782 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27784         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27785         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27786         * sysdeps/i386/configure: Regenerated.
27787         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27788         STABS_CURRENT_FILE, and STABS_FUN.
27789         (END): Remove call to STABS_FUN_END.
27790         (STABS_CURRENT_FILE1): Delete.
27791         (STABS_CURRENT_FILE): Likewise.
27792         (STABS_FUN): Likewise.
27793         (STABS_FUN_END): Likewise.
27794         (STABS_FUN2): Likewise.
27795         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27796         * sysdeps/x86_64/configure: Regenerated.
27798 2012-08-14  Roland McGrath  <roland@hack.frob.com>
27800         * elf/dl-open.c: Include <atomic.h>.
27801         * elf/dl-lookup.c: Likewise.
27803 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
27805         * sysdeps/unix/sysv/linux/kernel-features.h
27806         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27807         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27808         unconditionally.
27809         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27810         unconditionally.
27811         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27812         condition on __ASSUME_CLONE_THREAD_FLAGS.
27814 2012-08-14  Andreas Jaeger  <aj@suse.de>
27816         * sysdeps/i386/fpu/libm-test-ulps: Update.
27818 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27820         * include/atomic.h (atomic_exchange_and_add): Split into ...
27821         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27822         New atomic macros.
27824 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27828 2012-08-13  Jeff Law <law@redhat.com>
27830         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27831         null byte in the output string.
27833 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27835         * sysdeps/unix/sysv/linux/kernel-features.h
27836         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27837         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27838         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27839         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27840         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27841         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27842         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27844 2012-08-09  Jeff Law <law@redhat.com>
27846         [BZ #13939]
27847         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27848         When avoid_arena is set, don't retry in the that arena.  Pick the
27849         next one, whatever it might be.
27850         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27851         (arena_lock): Pass in new parameter to arena_get2.
27852         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27853         arena_get2.
27854         (__libc_malloc): Unify retrying after main arena failure with
27855         __libc_memalign version.
27856         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27858 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27860         [BZ #14166]
27861         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27862         to __redirect_strstr.
27863         (__strstr_sse42): Use typeof __redirect_strstr.
27864         (__strstr_ia32): Likewise.
27865         (__libc_strstr): New prototype.
27866         (strstr): Renamed to ...
27867         (__libc_strstr): This.
27868         (strstr): New strong alias of __libc_strstr.
27869         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27870         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27871         __redirect_time.
27872         Include <time.h>.
27873         (__libc_time): New prototype.
27874         (time_ifunc): Replace time with __libc_time.
27875         (time): New strong alias and hidden definition of __libc_time.
27876         (__GI_time): Remove strong alias.
27877         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27878         Include <stddef.h>.
27879         (memmove): Redefined to __redirect_memmove.
27880         (__memmove_sse2): Use typeof __redirect_memmove.
27881         (__memmove_ssse3): Likewise.
27882         (__memmove_ssse3_back): Likewise.
27883         (__libc_memmove): New prototype.
27884         (memmove): Renamed to ...
27885         (__libc_memmove): This.
27886         (memmove): New strong alias of __libc_memmove.
27888 2012-08-08  Mark Salter  <msalter@redhat.com>
27890         * elf/elf.h
27891         (R_MN10300_TLS_GD): Define.
27892         (R_MN10300_TLS_LD): Likewise.
27893         (R_MN10300_TLS_LDO): Likewise.
27894         (R_MN10300_TLS_GOTIE): Likewise.
27895         (R_MN10300_TLS_IE): Likewise.
27896         (R_MN10300_TLS_LE): Likewise.
27897         (R_MN10300_TLS_DTPMOD): Likewise.
27898         (R_MN10300_TLS_DTPOFF): Likewise.
27899         (R_MN10300_TLS_TPOFF): Likewise.
27900         (R_MN10300_SYM_DIFF): Likewise.
27901         (R_MN10300_ALIGN): Likewise.
27902         (R_MN10300_NUM): Update.
27904 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27907         Remove.
27909 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27911         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27913         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27914         sysdeps/unix -> sysdeps/posix move.
27915         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27917 2012-08-07      Allan McRae     <allan@archlinux.org>
27919         [BZ #14303]
27920         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27921         (SUNOS_CPP): Likewise.
27922         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27923         not found.
27924         (open_input): Call CPP using execvp.
27926 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27928         * sysdeps/unix/sysv/linux/kernel-features.h
27929         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27930         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27931         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27932         (__ASSUME_WAITID_SYSCALL): Likewise.
27933         * sysdeps/unix/sysv/linux/dl-execstack.c
27934         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27935         code unconditional.
27936         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27937         conditional code.
27938         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27939         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27940         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27941         code.
27942         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27943         unconditional.
27944         [__ASSUME_WAITID_SYSCALL]: Likewise.
27945         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27947 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27949         * sysdeps/unix/closedir.c: Renamed to ...
27950         * sysdeps/posix/closedir.c: ... here.
27951         * sysdeps/unix/dirfd.c: Renamed to ...
27952         * sysdeps/posix/dirfd.c: ... here.
27953         * sysdeps/unix/dirstream.h: Renamed to ...
27954         * sysdeps/posix/dirstream.h: ... here.
27955         * sysdeps/unix/fdopendir.c: Renamed to ...
27956         * sysdeps/posix/fdopendir.c: ... here.
27957         * sysdeps/unix/opendir.c: Renamed to ...
27958         * sysdeps/posix/opendir.c: ... here.
27959         * sysdeps/unix/readdir.c: Renamed to ...
27960         * sysdeps/posix/readdir.c: ... here.
27961         * sysdeps/unix/readdir_r.c: Renamed to ...
27962         * sysdeps/posix/readdir_r.c: ... here.
27963         * sysdeps/unix/rewinddir.c: Renamed to ...
27964         * sysdeps/posix/rewinddir.c: ... here.
27965         * sysdeps/unix/seekdir.c: Renamed to ...
27966         * sysdeps/posix/seekdir.c: ... here.
27967         * sysdeps/unix/telldir.c: Renamed to ...
27968         * sysdeps/posix/telldir.c: ... here.
27969         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27970         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27971         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27972         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27974         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27975         * bits/fcntl.h: ... here.
27977         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27978         not 0.
27979         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27980         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27981         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27982         (struct flock): Move l_start, l_len to the beginning.
27983         Use __pid_t for l_pid.
27984         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27985         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27986         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27987         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27988         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27989         [__USE_LARGEFILE64] (struct flock64): New type.
27990         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27992         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27993         * bits/dirent.h: ... here.
27995         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27996         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27998 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28000         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28001         Change from 2.6.0 to 2.6.16.
28002         * sysdeps/unix/sysv/linux/configure: Regenerated.
28003         * sysdeps/unix/sysv/linux/kernel-features.h
28004         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28005         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28006         version.
28007         (__ASSUME_UTIMES): Likewise.
28008         (__ASSUME_CLONE_STOPPED): Remove.
28009         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28010         architectures, not kernel version.
28011         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28012         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28013         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28014         (__ASSUME_WAITID_SYSCALL): Likewise.
28015         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28016         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28017         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28018         refer to older versions.
28020 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28022         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28023         Define alphasort64 as an alias.
28024         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28025         Define versionsort64 as an alias.
28026         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28027         Define scandir64 as an alias.
28028         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28029         Define scandirat64 as an alias.
28030         * dirent/alphasort64.c (alphasort64):
28031         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28032         * dirent/versionsort64.c: Likewise.
28033         * dirent/scandir64.c: Likewise.
28034         * dirent/scandirat64.c: Likewise.
28035         * sysdeps/wordsize-64/alphasort.c: File removed.
28036         * sysdeps/wordsize-64/alphasort64.c: File removed.
28037         * sysdeps/wordsize-64/scandir.c: File removed.
28038         * sysdeps/wordsize-64/scandir64.c: File removed.
28039         * sysdeps/wordsize-64/scandirat.c: File removed.
28040         * sysdeps/wordsize-64/scandirat64.c: File removed.
28041         * sysdeps/wordsize-64/versionsort.c: File removed.
28042         * sysdeps/wordsize-64/versionsort64.c: File removed.
28043         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28044         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28045         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28046         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28047         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28048         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28049         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28052         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28054         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28056         [defined __arch64__ || defined __sparcv9]
28057         (__INO_T_MATCHES_INO64_T): New macro.
28058         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28059         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28060         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28061         * sysdeps/unix/sysv/linux/bits/dirent.h
28062         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28063         (_DIRENT_MATCHES_DIRENT64): New macro.
28065         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28066         Define lockf64 as an alias.
28067         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28068         Define fseeko64 as an alias.
28069         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28070         Define ftello64 as an alias.
28071         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28072         Define _IO_fgetpos64 and fgetpos64 as aliases.
28073         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28074         Define _IO_fsetpos64 and fsetpos64 as aliases.
28075         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28076         Conditionalize body on this.
28077         * libio/fseeko64.c: Likewise.
28078         * libio/ftello64.c: Likewise.
28079         * libio/iofgetpos64.c: Likewise.
28080         * libio/iofsetpos64.c: Likewise.
28081         * sysdeps/wordsize-64/lockf.c: File removed.
28082         * sysdeps/wordsize-64/lockf64.c: File removed.
28083         * sysdeps/wordsize-64/fseeko.c: File removed.
28084         * sysdeps/wordsize-64/fseeko64.c: File removed.
28085         * sysdeps/wordsize-64/ftello.c: File removed.
28086         * sysdeps/wordsize-64/ftello64.c: File removed.
28087         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28088         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28089         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28090         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28091         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28092         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28093         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28094         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28095         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28096         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28097         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28099         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28100         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28102         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28104         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28106         [defined __arch64__ || defined __sparcv9]
28107         (__OFF_T_MATCHES_OFF64_T): New macro.
28108         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28109         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28111         (__OFF_T_MATCHES_OFF64_T): New macro.
28113 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28115         * stdlib/secure-getenv.c (__secure_getenv): Replace
28116         GLIBC_2_16 with GLIBC_2_17.
28118 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28120         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28123 2012-08-03  David S. Miller  <davem@davemloft.net>
28125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28127 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28129         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28130         Remove.
28131         (__ASSUME_CORRECT_SI_PID): Likewise.
28132         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28133         (__ASSUME_TMPFS_NAME): Likewise.
28134         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28135         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28136         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28137         (HAVE_AUX_SECURE): Make definition unconditional.
28138         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28139         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28141 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28143         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28144         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28145         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28146         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28147         __eloop_threshold instead of SYMLOOP_MAX.
28149         * sysdeps/generic/eloop-threshold.h: New file.
28150         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28151         of MAXSYMLINKS.
28152         * elf/chroot_canon.c (chroot_canon): Likewise.
28154 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28156         [BZ #13717]
28157         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28158         Change to 2.6.0 everywhere.
28159         * sysdeps/unix/sysv/linux/configure: Regenerated.
28160         * sysdeps/unix/sysv/linux/kernel-features.h
28161         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28162         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28163         kernel versions.
28164         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28165         (__ASSUME_FUTEX_REQUEUE): Remove.
28166         (__ASSUME_STATFS64): Define unconditionally.
28167         (__ASSUME_AT_SECURE): Likewise.
28168         (__ASSUME_CORRECT_SI_PID): Likewise.
28169         (__ASSUME_TGKILL): Define without depending on kernel version for
28170         i386.
28171         (__ASSUME_UTIMES): Likewise.
28172         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28173         kernel version.
28174         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28175         (__ASSUME_TMPFS_NAME): Likewise.
28176         * README: Update reference to Linux kernel versions.
28178 2012-08-02  Marek Polacek  <polacek@redhat.com>
28180         [BZ# 14150]
28181         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28182         libc_cv_asm_type_prefix with %.
28183         * configure: Regenerated.
28184         * include/libc-symbols.h: Remove comment about
28185         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28186         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28187         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28188         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28189         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28190         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28191         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28192         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28193         * elf/tst-unique2mod1.c: Likewise.
28194         * elf/tst-unique1mod2.c: Likewise.
28195         * elf/tst-unique1mod1.c: Likewise.
28196         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28197         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28198         Replace ASM_TYPE_DIRECTIVE with .type.
28199         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28200         * sysdeps/i386/sysdep.h: Likewise.
28201         * sysdeps/x86_64/sysdep.h: Likewise.
28202         * sysdeps/sh/sysdep.h: Likewise.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28204         Do not define ASM_TYPE_DIRECTIVE.
28205         * sysdeps/powerpc/sysdep.h: Likewise.
28206         * sysdeps/powerpc/powerpc32/sysdep.h:
28207         Replace ASM_TYPE_DIRECTIVE with .type.
28208         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28209         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28210         * sysdeps/i386/fpu/e_powf.S: Likewise.
28211         * sysdeps/i386/fpu/e_expl.S: Likewise.
28212         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28213         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28214         * sysdeps/i386/fpu/e_pow.S: Likewise.
28215         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28216         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28217         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28218         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28219         * sysdeps/i386/fpu/e_log2.S: Likewise.
28220         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28221         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28222         * sysdeps/i386/fpu/e_powl.S: Likewise.
28223         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28224         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28225         * sysdeps/i386/fpu/e_logl.S: Likewise.
28226         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28227         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28228         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28229         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28230         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28231         * sysdeps/i386/fpu/e_log.S: Likewise.
28232         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28233         * sysdeps/i386/fpu/e_logf.S: Likewise.
28234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28236         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28237         * sysdeps/i386/fpu/e_log10.S: Likewise.
28238         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28239         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28240         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28241         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28242         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28243         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28244         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28245         * sysdeps/i386/i686/strtok.S: Likewise.
28246         * sysdeps/i386/i386-mcount.S: Likewise.
28247         * sysdeps/i386/strtok.S: Likewise.
28248         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28249         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28250         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28251         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28252         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28253         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28254         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28255         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28257         * sysdeps/x86_64/_mcount.S: Likewise.
28258         * sysdeps/x86_64/strtok.S: Likewise.
28259         * sysdeps/sh/_mcount.S: Likewise.
28261 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28263         * libio/iofopen.c: Include <fcntl.h>.
28264         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28265         (_IO_fopen64, fopen64): Define as aliases.
28266         * libio/iofopen64.c: Include <fcntl.h>.
28267         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28268         Conditionalize body on this.
28269         * sysdeps/wordsize-64/iofopen.c: File removed.
28270         * sysdeps/wordsize-64/iofopen64.c: File removed.
28272 2012-08-01  Marek Polacek  <polacek@redhat.com>
28274         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28275         Use dlfcn directly instead of a variable.
28276         (binfmt-subdir): Do not define.
28277         (dlfcn): Likewise.
28279 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28281         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28282         Remove all definitions.
28283         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28284         <kernel-features.h>.
28285         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28286         (miss_F_GETOWN_EX): Remove all definitions.
28287         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28288         macro definition.
28289         [!__ASSUME_FCNTL64]: Remove conditional code.
28290         [__ASSUME_FCNTL64]: Make code unconditional.
28291         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28292         <kernel-features.h>.
28293         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28294         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28295         (lockf64) [__NR_fcntl64]: Make code unconditional.
28296         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28298         * sysdeps/unix/sysv/linux/kernel-features.h
28299         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28300         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28301         Make code unconditional.
28302         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28303         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28305         [__NR_vfork]: Make code unconditional.
28306         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28307         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28309         [__NR_vfork]: Make code unconditional.
28310         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28311         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28313 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28315         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28316         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28318         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28319         Define mkstemp64 as an alias.
28320         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28321         Define mkstemps64 as an alias.
28322         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28323         Define mkostemp64 as an alias.
28324         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28325         Define mkostemps64 as an alias.
28326         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28327         Conditionalize body on this.
28328         * misc/mkostemp64.c: Likewise.
28329         * misc/mkostemps64.c: Likewise.
28330         * misc/mkstemps64.c: Likewise.
28331         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28332         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28333         * sysdeps/wordsize-64/mkostemp.c: File removed.
28334         * sysdeps/wordsize-64/mkstemp.c: File removed.
28335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28337         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28340         [BZ #14138]
28341         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28342         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28343         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28344         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28346         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28347         compat_symbol macros from <shlib-compat.h> rather than the underlying
28348         default_symbol_version and symbol_version macros, so that DEFAULT
28349         lines in shlib-versions are respected.
28350         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28352 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28354         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28355         Declare with warn_unused_result.
28356         (setgid, setregid, setegid, setresgid): Likewise.
28357         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28358         Likewise.
28359         * WUR-REPORT: Remove set*id functions.
28361 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28363         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28365 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28367         [BZ #10191]
28368         * include/sys/socket.h (__libc_accept, __libc_accept4):
28369         Add attribute_hidden.
28370         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28372         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28373         use of PTR_MANGLE.
28374         * inet/getnetgrent_r.c (setup): Likewise.
28376         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28378 2012-07-31  David S. Miller  <davem@davemloft.net>
28380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28382 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28384         [BZ #13629]
28385         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28386         value between 1.0 and 2.0 and smaller part has absolute value less
28387         than 1.0.
28388         * math/s_clog10.c (__clog10): Likewise.
28389         * math/s_clog10f.c (__clog10f): Likewise.
28390         * math/s_clog10l.c (__clog10l): Likewise.
28391         * math/s_clogf.c (__clogf): Likewise.
28392         * math/s_clogl.c (__clogl): Likewise.
28393         * math/libm-test.inc (clog_test): Add more tests.
28394         (clog10_test): Likewise.
28395         * sysdeps/i386/fpu/libm-test-ulps: Update.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28398 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28400         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28401         Exit with zero in case no suitable GID is found, and write a
28402         message to standard error.
28404 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28406         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28407         rather than to 1.
28408         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28409         (MAXPATHLEN): Removed.
28410         (NOGROUP, NODEV): New macros.
28411         (setbit, clrbit, isset, isclr): New macros.
28412         (howmany, roundup, powerof2): New macros.
28413         (DEV_BSIZE): New macro.
28415         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28416         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28418         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28419         definition on [!__NO_LONG_DOUBLE_MATH].
28421         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28422         PTR_MANGLE and PTR_DEMANGLE.
28424         * socket/accept4.c (accept4): Rename to __libc_accept4.
28425         Define accept4 as a weak alias.
28427         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28428         on [_DIRENT_HAVE_D_TYPE].
28429         * io/ftw.c (ftw_dir): Likewise.
28431         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28433         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28435         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28436         Use the BSD numbers rather than the arbitrary ones we had.
28437         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28438         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28439         (SIGXCPU, SIGXFSZ): New macros.
28440         (_NSIG): Now 32.
28442         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28443         initializer on [_LIBC_REENTRANT].
28445         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28446         definitions inside [_POSIX_MAPPED_FILES].
28448         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28450         * dirent/opendir.c: Include <fcntl.h>.
28452         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28453         (__libc_getspecific): Likewise.
28454         (__libc_key_create): Likewise.
28456         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28457         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28458         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28459         (tmpfile64): Define as alias.
28460         * sysdeps/wordsize-64/tmpfile.c: File removed.
28461         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28462         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28463         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28465         * stdio-common/vfscanf.c: Include <stdbool.h>.
28466         * nss/makedb.c: Likewise.
28467         * stdio-common/_i18n_number.h: Likewise.
28468         * argp/argp-help.c: Likewise.
28469         * posix/wordexp.c: Likewise.
28470         * sysdeps/posix/spawni.c: Likewise.
28471         * nss/nss_files/files-initgroups.c: Likewise.
28472         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28473         * nss/nss_files/files-initgroups.c: Likewise.
28474         * nss/nss_db/db-netgrp.c: Likewise.
28475         * nss/nss_db/db-initgroups.c: Likewise.
28476         * io/fchmodat.c: Include <sys/stat.h>.
28478         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28479         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28481         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28482         [HAVE_MMAP].
28484         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28485         Add multiple inclusion protection.
28487 2012-07-27  David S. Miller  <davem@davemloft.net>
28489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28491 2012-07-27  Gary Benson  <gbenson@redhat.com>
28493         [BZ #14298]
28494         * elf/rtld.c: Include <stap-probe.h>.
28495         (dl_main): Added static probes "init_start" and "init_complete".
28496         * elf/dl-load.c: Include <stap-probe.h>.
28497         (lose): Take new parameter "nsid".
28498         Added static probe "map_failed".
28499         (_dl_map_object_from_fd): Pass namespace id to lose.
28500         Added static probe "map_start".
28501         (open_verify): Pass namespace id to lose.
28502         * elf/dl-open.c: Include <stap-probe.h>.
28503         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28504         and "reloc_complete".
28505         * elf/dl-close.c: Include <stap-probe.h>.
28506         (_dl_close_worker): Added static probes "unmap_start" and
28507         "unmap_complete".
28508         * elf/rtld-debugger-interface.txt: New file documenting the above.
28510 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28512         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28513         rather than a string variable.
28514         * sunrpc/rpc_main.c (h_output): Likewise.
28515         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28517 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28519         * inet/check_native.c: New file.
28521 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28523         [BZ #13629]
28524         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28525         if larger part has absolute value 1.0.
28526         * math/s_clog10.c (__clog10): Likewise.
28527         * math/s_clog10f.c (__clog10f): Likewise.
28528         * math/s_clog10l.c (__clog10l): Likewise.
28529         * math/s_clogf.c (__clogf): Likewise.
28530         * math/s_clogl.c (__clogl): Likewise.
28531         * math/libm-test.inc (clog_test): Add more tests.
28532         (clog10_test): Likewise.
28533         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28536         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28537         (pltexit): Likewise.
28538         (La_regs): Likewise.
28539         (La_retval): Likewise.
28540         (int_retval): Likewise.
28541         Update #error for removed macros to refer only to definitions in
28542         tst-audit.h.
28543         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28544         macro.
28545         (pltexit): Likewise.
28546         (La_regs): Likewise.
28547         (La_retval): Likewise.
28548         (int_retval): Likewise.
28549         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28550         macro.
28551         (pltexit): Likewise.
28552         (La_regs): Likewise.
28553         (La_retval): Likewise.
28554         (int_retval): Likewise.
28555         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28556         macro.
28557         (pltexit): Likewise.
28558         (La_regs): Likewise.
28559         (La_retval): Likewise.
28560         (int_retval): Likewise.
28561         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28562         macro.
28563         (pltexit): Likewise.
28564         (La_regs): Likewise.
28565         (La_retval): Likewise.
28566         (int_retval): Likewise.
28567         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28568         macro.
28569         (pltexit): Likewise.
28570         (La_regs): Likewise.
28571         (La_retval): Likewise.
28572         (int_retval): Likewise.
28573         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28574         macro.
28575         (pltexit): Likewise.
28576         (La_regs): Likewise.
28577         (La_retval): Likewise.
28578         (int_retval): Likewise.
28579         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28580         macro definitions in tst-audit.h.
28581         * sysdeps/i386/tst-audit.h: New file.
28582         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28583         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28584         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28585         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28586         * sysdeps/sh/tst-audit.h: Likewise.
28587         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28588         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28589         * sysdeps/x86_64/tst-audit.h: Likewise.
28591 2012-07-26  Andreas Jaeger  <aj@suse.de>
28593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28594         ptrace.
28596         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28597         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28598         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28599         PTRACE_O_MASK.
28600         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28601         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28604         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28605         value.
28607         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28608         _sigsys.
28609         (si_call_addr, si_syscall, si_arch): Define new macro.
28610         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28611         _sigsys.
28612         (si_call_addr, si_syscall, si_arch): Define new marcro.
28613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28614         _sigsys.
28615         (si_call_addr, si_syscall, si_arch): Define new macro.
28616         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28617         _sigsys.
28618         (si_call_addr, si_syscall, si_arch): Define new macro.
28620 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28622         [BZ #13717]
28623         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28624         Change to 2.4.21 where previously 2.4.1.
28625         * sysdeps/unix/sysv/linux/configure: Regenerated.
28626         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28627         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28628         Linux kernel version.
28629         (__ASSUME_STD_AUXV): Remove.
28630         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28631         kernel version.
28632         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28633         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28634         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28635         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28636         (__ASSUME_NETLINK_SUPPORT): Likewise.
28637         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28638         (__no_netlink_support): Remove conditional definition.
28639         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28640         Remove.
28641         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28642         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28643         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28644         (if_nameindex_ioctl): Remove.
28645         (if_nameindex_netlink): Do not handle __no_netlink_support.
28646         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28647         code.
28648         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28649         Remove conditional code.
28650         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28651         code.
28652         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28653         unconditional.
28654         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28655         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28656         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28657         Remove.
28658         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28659         [!__ASSUME_STD_AUXV]: Remove conditional code.
28660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28661         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28662         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28664         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28665         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28666         code.
28667         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28669         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28670         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28671         conditional code.
28672         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28674         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28675         code.
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28677         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28678         conditional code.
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28680         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28681         code unconditional.
28682         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28683         conditional code.
28684         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28685         unconditional.
28686         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28687         conditional code.
28688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28689         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28690         unconditional.
28691         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28692         conditional code.
28693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28694         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28695         code unconditional.
28696         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28697         conditional code.
28698         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28699         unconditional.
28700         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28701         conditional code.
28702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28703         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28704         code unconditional.
28705         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28706         conditional code.
28707         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28708         unconditional.
28709         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28710         conditional code.
28712 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28714         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28715         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28716         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28717         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28718         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28719         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28720         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28721         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28722         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28723         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28724         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28725         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28726         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28727         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28728         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28729         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28730         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28731         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28732         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28734         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28735         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28738 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28740         * Versions.def: Add GLIBC_2.17.
28741         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28742         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28743         Introduce __libc_secure_getenv.
28744         * stdlib/Versions (2.17): Add secure_getenv
28745         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28746         * stdlib/secure-getenv.c: Rename __secure_getenv to
28747         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28748         symbol __secure_getenv for GLIBC_2.0.
28749         * stdlib/tst-secure-getenv.c: New.
28750         * stdlib/Makefile (tests): Add testcase.
28751         * manual/startup.texi (Environment Access): Document
28752         secure_getenv.
28753         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28754         __libc_secure_getenv.
28755         * inet/ruserpass.c (ruserpass): Likewise.
28756         * malloc/mtrace.c (mtrace): Likewise.
28757         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28758         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28759         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28760         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28761         HAVE_SECURE_GETENV.
28762         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28763         __secure_getenv to __libc_secure_getenv.
28764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28766         Likewise.
28767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28768         Likewise.
28769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28777 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28779         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28780         (struct La_i86_retval): Likewise.
28781         (struct La_x86_64_regs): Likewise.
28782         (struct La_x86_64_retval): Likewise.
28783         (struct La_x32_regs): Likewise.
28784         (struct La_x32_retval): Likewise.
28785         (struct La_ppc32_regs): Likewise.
28786         (struct La_ppc32_retval): Likewise.
28787         (struct La_ppc64_regs): Likewise.
28788         (struct La_ppc64_retval): Likewise.
28789         (struct La_sh_regs): Likewise.
28790         (struct La_sh_retval): Likewise.
28791         (struct La_s390_32_regs): Likewise.
28792         (struct La_s390_32_retval): Likewise.
28793         (struct La_s390_64_regs): Likewise.
28794         (struct La_s390_64_retval): Likewise.
28795         (struct La_sparc32_regs): Likewise.
28796         (struct La_sparc32_retval): Likewise.
28797         (struct La_sparc64_regs): Likewise.
28798         (struct La_sparc64_retval): Likewise.
28799         (struct audit_ifaces): Remove architecture-specific pltenter and
28800         pltexit members.
28801         * sysdeps/i386/ldsodefs.h: New file.
28802         * sysdeps/powerpc/ldsodefs.h: Likewise.
28803         * sysdeps/s390/ldsodefs.h: Likewise.
28804         * sysdeps/sh/ldsodefs.h: Likewise.
28805         * sysdeps/sparc/ldsodefs.h: Likewise.
28806         * sysdeps/x86_64/ldsodefs.h: Likewise.
28808 2012-07-25  Marek Polacek  <polacek@redhat.com>
28810         [BZ #6808]
28811         * math/libm-test.inc (yn_test): Add another test.
28812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28813         to ERANGE when the result is +-Inf.
28814         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28815         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28816         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28817         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28819 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28821         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28822         equal to 0.
28823         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28824         clock_t.
28825         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28827 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28829         * configure.in <sysdeps resolving>: Correct printing
28830         Implies_before.
28831         * configure: Regenerate.
28833 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28835         * math/w_ilogb.c: Include <limits.h>.
28836         * math/w_ilogbl.c: Likewise.
28838 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28840         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28841         va_copy.  Document allowing for unavailable va_copy only as
28842         pre-C99 compatibility.
28843         * manual/string.texi (Copying and Concatenation): Use va_copy
28844         instead of __va_copy in concat example.
28846 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28848         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28849         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28850         it if not null.
28852         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28853         with O_NOLINK passed to __file_name_lookup.
28855         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28856         with O_NOLINK passed to __file_name_lookup.
28858         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28859         negative N or less than NGIDS.
28861         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28862         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28863         enough.  Use memcpy instead of strncpy.
28865 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28867         * elf/Makefile (check-data): Remove.
28868         (localplt.data): New vpath directive.
28869         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28870         instead of $(check-data).
28871         * scripts/data/localplt-generic.data: Move to ...
28872         * sysdeps/generic/localplt.data: ... here.
28873         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28874         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28875         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28877         ... here.
28878         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28880         ... here.
28881         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28883         ... here.
28884         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28886         ... here.
28887         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28889         ... here.
28890         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28892         ... here.
28894 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28896         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28897         PPC32 and PPC64 files.
28898         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28899         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28901 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28903         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28904         __makecontext_ret to ...
28905         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28906         ... here and call exit if uc_link is NULL.  New file.
28907         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28908         __makecontext_ret.S.
28909         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28910         __makecontext_ret to ...
28911         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28912         ... here and call exit if uc_link is NULL.  New file.
28913         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28914         __makecontext_ret.S.
28916 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28918         * elf/elf.h (R_390_IRELATIVE): New definition.
28919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28920         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28921         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28922         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28923         (elf_machine_lazy_rel): Likewise.
28924         * sysdeps/s390/dl-irel.h: New file.
28925         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28926         * sysdeps/s390/s390-64/memset.S: New asm code.
28927         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28928         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28929         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28930         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28931         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28932         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28933         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28934         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28935         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28936         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28937         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28938         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28939         * sysdeps/s390/s390-32/memset.S: New asm code.
28940         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28942 2012-07-17  Marek Polacek  <polacek@redhat.com>
28944         [BZ #14349]
28945         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28946         * sysdeps/s390/s390-64/configure.in: Likewise.
28947         * sysdeps/sparc/configure.in: Likewise.
28948         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28949         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28950         * sysdeps/i386/configure.in: Likewise.
28951         * sysdeps/x86_64/configure.in: Likewise.
28952         * sysdeps/sh/configure.in: Likewise.
28953         * sysdeps/s390/s390-32/configure: Regenerated.
28954         * sysdeps/s390/s390-64/configure: Likewise.
28955         * sysdeps/x86_64/configure: Likewise.
28956         * sysdeps/sh/configure: Likewise.
28957         * sysdeps/powerpc/powerpc64/configure: Likewise.
28958         * sysdeps/powerpc/powerpc32/configure: Likewise.
28959         * sysdeps/sparc/configure: Likwise.
28960         * sysdeps/i386/configure: Likewise.
28962         * elf/dl-open.c: Comment fixes.
28964 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28966         * Makefile [CXX] (check-data): Remove.
28967         [CXX] (c++-types.data): New vpath directive.
28968         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28969         vpath.  Do not allow for C++ type data being missing.
28970         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28971         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28972         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28973         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28974         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28975         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28976         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28978         ... here.
28979         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28981         ... here.
28982         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28984         ... here.
28985         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28987         ... here.
28988         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28990         ... here.
28991         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28993         ... here.
28994         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28996         ... here.
28997         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29000         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29001         definitions to architecture-specific files.
29002         (TLS_IE): Likewise.
29003         (TLS_LD): Likewise.
29004         (TLS_GD): Likewise.
29005         * sysdeps/i386/tls-macros.h: New file.
29006         * sysdeps/powerpc/tls-macros.h: Likewise.
29007         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29008         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29009         * sysdeps/sh/tls-macros.h: Likewise.
29010         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29011         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29012         * sysdeps/x86_64/tls-macros.h: Likewise.
29014 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29017         zero value for regular exit case.
29019         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29020         (__start_context): Preserve zero value for regular exit case.
29022 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29023             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29025         * manual/setjmp.texi (setcontext): Clarify normal process
29026         termination when uc_link is the null pointer.
29027         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29028         exit call.
29030 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29032         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29033         preprocessor.  Test for each exception mask separately.
29035 2012-07-16  Andreas Jaeger  <aj@suse.de>
29037         * po/ru.po: Update from translation team.
29039 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29041         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29042         equal to 0.
29043         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29044         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29045         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29046         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29049 2012-07-13  Andreas Jaeger  <aj@suse.de>
29051         * po/fr.po: Update from translation team.
29053 2012-07-12  Marek Polacek  <polacek@redhat.com>
29055         [BZ #14173]
29056         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29057         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29058         loop condition.
29060 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29062         [BZ #13717]
29063         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29064         Change to 2.4.1 where previously 2.4.0.
29065         * sysdeps/unix/sysv/linux/configure: Regenerated.
29066         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29067         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29068         version.
29069         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29070         (__ASSUME_AT_CLKTCK): Remove.
29071         (__ASSUME_AT_PAGESIZE): Likewise.
29072         (__ASSUME_AT_XID): Likewise.
29073         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29074         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29075         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29076         unconditionally.
29077         (HAVE_AUX_PAGESIZE): Likewise.
29078         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29079         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29080         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29082 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29084         [BZ #14307]
29085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29086         the temporary buffer used to invoke __gethostbyname2_r,
29087         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29088         host_data / struct gaih_addrtuple.
29089         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29090         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29091         header file nss/nsswitch.h.
29092         * nss/nsswitch.h (global scope): Add definition of implementation
29093         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29094         resolv/nss_dns/dns-host.c).
29096 2012-07-11  Andreas Jaeger  <aj@suse.de>
29098         * po/fr.po: Update from translation team.
29100         * po/sv.po: Update from translation team
29101         * po/fr.po: Another update from translation team.
29103 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29106         for subnormals or multiply small sinh result by itself.
29107         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29110 2012-07-11  David S. Miller  <davem@davemloft.net>
29112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29114 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29116         [BZ #14347]
29117         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29118         (INTERNAL_MARK): Shift it here.
29120 2012-07-10  Marek Polacek  <polacek@redhat.com>
29122         [BZ #14151]
29123         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29124         libc_cv_asm_global_directive with .globl.
29125         * configure: Regenerated.
29126         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29127         with .globl.
29128         * sysdeps/i386/configure: Regenerated.
29129         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29130         with .globl.
29131         * sysdeps/x86_64/configure: Regenerated.
29132         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29133         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29134         * elf/tst-unique2mod2.c: Likewise.
29135         * elf/tst-unique2mod1.c: Likewise.
29136         * elf/tst-unique1mod2.c: Likewise.
29137         * elf/tst-unique1mod1.c: Likewise.
29138         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29139         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29140         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29141         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29142         * sysdeps/mach/sysdep.h: Likewise.
29143         * sysdeps/i386/sysdep.h: Likewise.
29144         * sysdeps/i386/i386-mcount.S: Likewise.
29145         * sysdeps/x86_64/_mcount.S: Likewise.
29146         * sysdeps/x86_64/sysdep.h: Likewise.
29147         * sysdeps/sh/_mcount.S: Likewise.
29148         * sysdeps/sh/sysdep.h: Likewise.
29149         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29150         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29151         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29152         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29153         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29154         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29155         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29156         * locale/localeinfo.h: Likewise.
29157         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29158         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29160 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29162         [BZ #14336]
29163         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29164         system".
29165         * manual/message.texi (The Uniforum approach): Likewise.
29166         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29167         (glibc iconv Implementation): Likewise.
29169 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29171         [BZ #14337]
29172         * math/s_clog.c (__clog): Avoid scaling a value down where that
29173         could result in underflow.
29174         * math/s_clog10.c (__clog10): Likewise.
29175         * math/s_clog10f.c (__clog10f): Likewise.
29176         * math/s_clog10l.c (__clog10l): Likewise.
29177         * math/s_clogf.c (__clogf): Likewise.
29178         * math/s_clogl.c (__clogl): Likewise.
29179         * math/libm-test.inc (clog_test): Add more tests.
29180         (clog10_test): Likewise.
29181         * sysdeps/i386/fpu/libm-test-ulps: Update.
29182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29184 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29186         [BZ #14283]
29187         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29188         by 7 not 8 to examine high bit of fractional part.
29190         [BZ #14042]
29191         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29192         for call to __mcount_internal.
29193         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29194         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29195         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29197 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29199         [BZ #14154]
29200         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29201         approximation for values within 0x1p-13f of an odd multiple of
29202         pi/4.
29203         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29204         exception.  Add more tests.
29205         * sysdeps/i386/fpu/libm-test-ulps: Update.
29207         [BZ #6778]
29208         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29209         inputs and return -1 for them.  Do not check for +Inf in case not
29210         reachable for +Inf.
29211         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29212         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29213         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29214         and return -1 for them.  Do not check for +Inf in case not
29215         reachable for +Inf.
29216         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29217         define.
29218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29219         and return -1 for them.  Do not check for +Inf in case not
29220         reachable for +Inf.
29221         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29222         spurious underflow.
29223         * sysdeps/i386/fpu/libm-test-ulps: Update.
29224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29226 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29228         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29230 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29232         [BZ #14157]
29233         [BZ #14331]
29234         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29235         could result in spurious underflow.  Scale down values above
29236         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29237         * math/s_csqrtf.c (__csqrtf): Likewise.
29238         * math/s_csqrtl.c (__csqrtl): Likewise.
29239         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29240         spurious underflow.
29241         * sysdeps/i386/fpu/libm-test-ulps: Update.
29242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29244 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29246         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29247         xopen-msg.sed.
29248         * catgets/xopen-msg.awk: New file.
29249         * catgets/xopen-msg.sed: Removed.
29251         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29252         po2text.sed.
29253         * intl/po2test.awk: New file.
29254         * intl/po2test.sed: Removed.
29256 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29258         [BZ #14328]
29259         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29260         or multiply small sinh result by itself.
29261         * math/s_ctanf.c (__ctanf): Likewise.
29262         * math/s_ctanh.c (__ctanh): Likewise.
29263         * math/s_ctanhf.c (__ctanhf): Likewise.
29264         * math/s_ctanhl.c (__ctanhl): Likewise.
29265         * math/s_ctanl.c (__ctanl): Likewise.
29266         * math/libm-test.inc (ctan_test_tonearest): New function.
29267         (ctan_test_towardzero): Likewise.
29268         (ctan_test_downward): Likewise.
29269         (ctan_test_upward): Likewise.
29270         (ctanh_test_tonearest): Likewise.
29271         (ctanh_test_towardzero): Likewise.
29272         (ctanh_test_downward): Likewise.
29273         (ctanh_test_upward): Likewise.
29274         (main): Call these new functions.
29275         * sysdeps/i386/fpu/libm-test-ulps: Update.
29276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29278 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29280         * .gitignore: Delete /ports entry.
29282 2012-07-03  Andreas Jaeger  <aj@suse.de>
29284         * po/bg.po: Update from translation team.
29285         * po/cs.po: Likewise.
29286         * po/de.po: Likewise.
29287         * po/hr.po: Likewise.
29288         * po/nl.pl: Likewise.
29289         * po/pl.po: Likewise.
29290         * po/vi.po: Likewise.
29292 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29294         * Makeconfig [!+link] (+link-before-libc): New variable.
29295         [!+link] (+link-after-libc): Likewise.
29296         [!+link] (+link-tests): Likewise.
29297         [!+link] (+link): Define in terms of $(+link-before-libc) and
29298         $(+link-after-libc).
29299         [!+link-static] (+link-static-before-libc): New variable.
29300         [!+link-static] (+link-static-after-libc): Likewise.
29301         [!+link-static] (+link-static-tests): Likewise.
29302         [!+link-static] (+link-static): Define in terms of
29303         $(+link-static-before-libc) and $(+link-static-after-libc).
29304         [build-shared] (link-libc-before-gnulib): New variable.
29305         [build-shared] (link-libc-tests): Likewise.
29306         [build-shared] (link-libc): Define in terms of
29307         $(link-libc-before-gnulib).
29308         [!build-shared] (link-libc-tests): New variable.
29309         (link-libc-static-tests): New variable.
29310         [!gnulib] (gnulib-arch): New variable.
29311         [!gnulib] (gnulib-tests): Likewise.
29312         [!gnulib] (static-gnulib-arch): Likewise.
29313         [!gnulib] (static-gnulib-tests): Likewise.
29314         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29315         Define with "=" instead of ":=".
29316         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29317         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29318         * Rules (binaries-all-notests): New variable.
29319         (binaries-all-tests): Likewise.
29320         (binaries-static-notests): Likewise.
29321         (binaries-static-tests): Likewise.
29322         (binaries-all): Define using $(binaries-all-notests) and
29323         $(binaries-all-tests).
29324         (binaries-static): Define using $(binaries-static-notests) and
29325         $(binaries-static-tests).
29326         (binaries-shared-tests): New variable.
29327         (binaries-shared-notests): Likewise.
29328         (binaries-shared): Remove variable.
29329         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29330         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29331         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29332         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29333         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29334         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29335         * elf/Makefile (sln-modules): New variable.
29336         (extra-objs): Add $(sln-modules:=.o).
29337         (ldconfig-modules): Add static-stubs.
29338         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29339         * elf/static-stubs.c: New file.
29341         [BZ #14283]
29342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29343         by 7 not 8 to examine high bit of fractional part.  Use volatile
29344         variables when splitting into final array of floats if
29345         __FLT_EVAL_METHOD__ != 0.
29346         * math/libm-test.inc (cos_test): Add another test.
29347         (sin_test): Likewise.
29348         * sysdeps/i386/fpu/libm-test-ulps: Update.
29350         [BZ #14273]
29351         * math/libm-test.inc (cosh_test): Add more tests.
29353         * version.h (RELEASE): Set to "development".
29354         (VERSION): Set to "2.16.90".
29356 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29358         * NEWS: Update copyright. Remove last-updated date.
29359         Mention math library bug fixes and timezone data changes.
29360         * README: Mention GNU/Hurd, x32, and HPPA support status.
29362 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29364         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29366 2012-06-27  Andreas Jaeger  <aj@suse.de>
29368         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29370 2012-06-25  Andreas Jaeger  <aj@suse.de>
29372         * sysdeps/s390/fpu/libm-test-ulps: Update.
29374 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29375             Thomas Schwinge  <thomas@codesourcery.com>
29377         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29378         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29380         fanotify_mark.
29382 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29384         * sysdeps/mach/start.c: Remove file.
29385         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29386         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29387         * sysdeps/sh/init-first.c: Likewise.
29389         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29390         registers for frame unwinding purposes, add CFI directives.
29391         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29392         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29393         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29394         Likewise.
29396         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29397         __fortify_fail returning.
29398         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29400         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29401         sysdeps/sh/____longjmp_chk.S.
29402         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29403         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29404         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29405         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29407         * sysdeps/sh/abort-instr.h: New file.
29408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29409         process in case exit returns.
29411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29412         initialize the GOT register before use.
29414         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29415         calculation of ARGC > 4.
29417         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29418         meaningful names to some local labels.
29420 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29421             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29423         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29424         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29425         (__arch_compare_and_exchange_val_16_acq): Likewise.
29426         (__arch_compare_and_exchange_val_32_acq): Likewise.
29427         (atomic_exchange_and_add): Fix gUSA sequence.
29428         (atomic_add): Likewise.
29429         (atomic_add_negative): Likewise.
29430         (atomic_add_zero): Likewise.
29431         (atomic_bit_test_set): Likewise.
29433 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29435         [BZ #13579]
29436         * include/link.h (struct link_map): Add l_free_initfini.
29437         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29438         l_initfini.
29439         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29440         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29441         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29442         set.
29444 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29446         * configure.in: Use AC_LANG_SOURCE.
29447         * configure: Regenerate.
29449 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29451         * configure.in (libc_cv_localstatedir): New substituted variable.
29452         * configure: Regenerated.
29453         * config.make.in (localstatedir): New variable, substituted from
29454         libc_cv_localstatedir.
29455         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29456         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29457         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29458         * sysdeps/gnu/configure: Regenerated.
29460 2012-06-21  Jeff Law  <law@redhat.com>
29462         [BZ #14277]
29463         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29464         free.  Simplify list management for _LIBC case.
29466 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29468         [BZ #14273]
29469         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29470         Clear sign bit of 64-bit integer value before comparing against
29471         overflow value.
29473         * sysdeps/mach/configure: Regenerated.
29475 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29477         [BZ #14278]
29478         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29480 2012-06-21  Jeff Law  <law@redhat.com>
29482         [BZ #13882]
29483         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29484         uint16_t for elements in the "seen" array to avoid char overflows.
29485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29486         * elf/dl-open.c (dl_open_worker): Likewise.
29488 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29490         * scripts/list-sources.sh: Scan PORTS for translations.
29491         * po/libc.pot: Regenerated.
29493 2012-06-21  Andreas Jaeger  <aj@suse.de>
29495         [BZ #12194]
29496         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29497         warning.
29498         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29499         * bits/byteswap-16.h (__bswap_16): Likewise.
29500         * bits/byteswap.h (__bswap_constant_16): Likewise.
29502 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29504         [BZ #14117]
29505         * sysdeps/i386/fpu_control.h: Removed.
29506         * sysdeps/x86_64/fpu_control.h: Moved to ...
29507         * sysdeps/x86/fpu_control.h: Here.
29509         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29510         (_FPU_SETCW): Likewise.
29512 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29514         [BZ #14117]
29515         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29516         * sysdeps/x86/fpu/bits/mathinline.h: This.
29517         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29519         [BZ #14050]
29520         [BZ #14117]
29521         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29522         functions if __x86_64__ is defined.
29524 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29526         * string/endian.h: Add !__ASSEMBLER__ condition for including
29527         conversion interfaces.
29529 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #14241]
29532         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29533         of ABS(x) in calculating zero to negative powers other than odd
29534         integers.
29535         * math/libm-test.inc (pow_test): Add more tests.
29537 2012-06-15  Andreas Jaeger  <aj@suse.de>
29539         * manual/contrib.texi (Contributors): Update entry of Liubov
29540         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29541         Machado Filho.
29543 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29545         * string/string.h: Add __wur to GNU version of strerror_r.
29547 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29549         [BZ #14229]
29550         * string/Makefile (tests): Add tst-strtok_r.
29551         * string/tst-strtok_r.c: New file.
29552         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29553         RAX_LP/RDX_LP on SAVE_PTR.
29555 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29557         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29559 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29561         * libm_test.inc (csqrt_test): Allow more spurious underflow
29562         exceptions.
29563         (j0_test): Likewise.
29564         (j1_test): Likewise.
29565         (y0_test): Likewise.
29566         (y1_test): Likewise.
29568 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29570         * po/Makefile (libc.pot): Use UTF-8 charset.
29572 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29574         [BZ #14210]
29575         Suppress sign-conversion warning from FD_SET.
29576         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29577         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29578         not unsigned long int.
29579         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29581 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29583         [BZ #14050]
29584         [BZ #14117]
29585         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29586         __extern_always_inline instead of __extern_inline.
29587         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29588         (__signbit): Likewise.
29589         (__signbitl): Support C++ namespace.
29590         (lrintf): New inline function.
29591         (lrint): Likewise.
29592         (llrintf): Likewise.
29593         (llrint): Likewise.
29594         (fmaxf): Likewise.
29595         (fmax): Likewise.
29596         (fminf): Likewise.
29597         (fmin): Likewise.
29598         (rint): Likewise.
29599         (rintf): Likewise.
29600         (ceil): Likewise.
29601         (ceilf): Likewise.
29602         (floor): Likewise.
29603         (floorf): Likewise.
29604         (nearbyint): Likewise.
29605         (nearbyintf): Likewise.
29607 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29610         non-default versions.
29612 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29614         [BZ #14218]
29615         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29617 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29619         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29620         (FE_UPWARD, FE_DOWNWARD): Don't define.
29621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29622         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29624         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29625         reading it.
29626         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29627         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29629 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29631         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29633         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29634         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29636 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29638         [BZ #14117]
29639         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29640         * sysdeps/i386/fpu/Implies: New file.
29641         * sysdeps/x86_64/fpu/Implies: Likewise.
29642         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29643         * sysdeps/x86/fpu/bits/fenv.h: This.
29645         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29646         __SSE_MATH__.
29648 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29650         [BZ #14134]
29651         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29652         character 0xffff that matches the last element of the
29653         conversion table.
29655 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29658         fmodl commit.
29660 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29663         values higher than 25.6283.
29665 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29668         subnormal exponent extraction and add some __builtin_expect.
29669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29670         Fix for subnormal mantissa calculation.
29672 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29674         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29675         cpu2 is -1 and errno is not ENOSYS.
29677 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29679         [BZ #14117]
29680         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29681         * sysdeps/x86/bits/string.h: This.
29682         * sysdeps/x86_64/bits/string.h: Removed.
29684         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29685         if not compiling for x86-64, but compiling for >= i486.
29687         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29688         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29690         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29691         New macro from Linux kernel 3.4.0.
29692         (FP_XSTATE_MAGIC2): Likewise.
29693         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29694         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29695         (struct _fpx_sw_bytes): New struct.
29696         (struct _xsave_hdr): Likewise.
29697         (struct _ymmh_state): Likewise.
29698         (struct _xstate): Likewise.
29700         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29701         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29702         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29703         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29704         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29705         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29707         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29708         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29709         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29710         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29711         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29712         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29714 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29716         [BZ #13743]
29717         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29718         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29719         (sysdep_headers): Include sys/platform/ppc.h.
29720         * sysdeps/powerpc/test-gettimebase.c: Test for
29721         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29722         * manual/Makefile (appendices): Include platform.texi.
29723         * manual/contrib.texi (Contributors): Update @node pointers.
29724         * manual/maint.texi (Maintenance): Likewise.
29725         (Platform): New node.
29726         * manual/platform.texi: New file.  Document the new features.
29728 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29729             Jakub Jelinek  <jakub@redhat.com>
29731         [BZ #14188]
29732         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29733         where __builtin_expect is unavailable.
29735 2012-06-03  David S. Miller  <davem@davemloft.net>
29737         * stdlib/longlong.h: Updated from GCC.
29739 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29741         [BZ #14042]
29742         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29743         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29744         __mcount_internal.
29745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29746         (GLIBC_2.16): Likewise.
29748 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29750         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29752 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29755         (default-abi): New variable.
29756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29757         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29758         variable.
29759         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29760         Likewise.
29761         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29762         Likewise.
29763         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29764         Likewise.
29766         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29767         definition.  Document in comment.
29769 2012-06-01  David S. Miller  <davem@davemloft.net>
29771         * stdlib/longlong.h: Updated from GCC.
29773 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29775         [BZ #14117]
29776         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29777         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29778         sys/debugreg.h sys/io.h here.
29779         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29780         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29781         sys/io.h.
29782         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29783         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29784         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29785         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29786         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29787         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29789         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29790         Define only if __x86_64__ is defined.
29792 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29794         [BZ #14048]
29795         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29796         Use int64_t for variable i.
29797         * math/libm-test.inc (fmod_test): Add more tests.
29799         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29800         z computation is not scheduled after fetestexcept.
29801         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29802         Use math_force_eval instead of asm to ensure calculation scheduled
29803         before exception test.
29804         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29805         Ensure a1 + u.d computation is not scheduled after fetestexcept.
29807 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
29809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29810         computation is not scheduled after fetestexcept.
29812 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29814         [BZ #14117]
29815         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29816         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29818 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29820         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29821         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29823 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29825         [BZ #14117]
29826         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29827         <bits/wordsize.h>.
29828         (__WCHAR_MIN): Support __WORDSIZE == 64.
29829         (__WCHAR_MAX): Likewise.
29831         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29834         [BZ #14183]
29835         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29836         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29838         [BZ #14117]
29839         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29840         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29842         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29843         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29845         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29846         Defined to 1 if __x86_64__ isn't defined.
29847         (_STAT_VER_LINUX_OLD): New.
29848         (st_atime): Remove duplicate.
29849         (st_mtime): Likewise.
29850         (st_ctime): Likewise.
29852 2012-05-31  David S. Miller  <davem@davemloft.net>
29854         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29855         entries.
29857 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29859         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29860         gen-libm-test.pl.
29862         [BZ #14132]
29863         * elf/dl-reloc.c: Include <_itoa.h>.
29864         (_dl_reloc_bad_type): Remove use of INTUSE.
29865         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29866         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29867         * stdio-common/psiginfo.c (psiginfo): Likewise.
29868         * stdio-common/psignal.c (psignal): Likewise.
29869         * string/strsignal.c (strsignal): Likewise.
29870         * include/signal.h (_sys_siglist): Declare hidden proto.
29871         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29872         INTVARDEF with libc_hidden_data_def.
29873         * stdio-common/itoa-udigits.c: Likewise.
29874         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29875         (_itoa_lower_digits_internal): Remove declaration.
29876         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29877         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29878         (_sys_sigabbrev_internal): Remove aliases.
29879         (_sys_siglist): Define hidden alias.
29881 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29884         bits/sysctl.h.
29886 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29888         [BZ #14117]
29889         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29890         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29892         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29893         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29894         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29895         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29897         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29899         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29900         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29901         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29903         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29904         with __addr.
29905         (insw): Likewise.
29906         (insl): Likewise.
29907         (outsb): Likewise.
29908         (outsw): Likewise.
29909         (outsl): Likewise.
29911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29912         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29913         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29915         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29916         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29917         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29918         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29919         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29920         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29922         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29923         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29925         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29926         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29930         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29932         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29933         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29934         to ...
29935         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29937         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29938         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29939         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29941         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29942         for x86-64.
29943         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29945 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29947         * math/math.h (M_El): Use two more decimal places.
29948         (M_LOG2El): Likewise.
29949         (M_LOG10El): Likewise.
29950         (M_LN2l): Likewise.
29951         (M_LN10l): Likewise.
29952         (M_PIl): Likewise.
29953         (M_PI_2l): Likewise.
29954         (M_PI_4l): Likewise.
29955         (M_1_PIl): Likewise.
29956         (M_2_PIl): Likewise.
29957         (M_2_SQRTPIl): Likewise.
29958         (M_SQRT2l): Likewise.
29959         (M_SQRT1_2l): Likewise.
29961 2012-05-31  David S. Miller  <davem@davemloft.net>
29963         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29964         values between float registers.
29965         * sysdeps/sparc/sparc64/memset.S: Likewise.
29966         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29968 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29970         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29971         -D_FORTIFY_SOURCE=1.
29972         (CPPFLAGS-tst-longjmp_chk.c): Define.
29973         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29974         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29975         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29976         CFLAGS-tst-wchar-h.c.
29978 2012-05-31  Marek Polacek  <polacek@redhat.com>
29980         [BZ #14132]
29981         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29982         __endmntent_internal): Remove declaration.
29983         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29984         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29985         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29987 2012-05-30  David S. Miller  <davem@davemloft.net>
29989         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29990         (___Q_simulate_exceptions): Use real FP ops rather than writing
29991         into the %fsr.
29992         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29993         Likewise.
29995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29997         [BZ #14117]
29998         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29999         * sysdeps/x86/bits/xtitypes.h: This.
30001         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30002         * sysdeps/x86/bits/wordsize.h: This.
30004         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30005         * sysdeps/x86/bits/huge_vall.h: This.
30007         * sysdeps/i386/bits/select.h: Removed.
30008         * sysdeps/x86_64/bits/select.h: Renamed to ...
30009         * sysdeps/x86/bits/select.h: This.
30011         * sysdeps/i386/bits/setjmp.h: Removed.
30012         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30013         * sysdeps/x86/bits/setjmp.h: This.
30015         * sysdeps/i386/bits/mathdef.h: Removed.
30016         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30017         * sysdeps/x86/bits/mathdef.h: This.
30019 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30021         [BZ #14132]
30022         * include/sys/socket.h (__connect_internal)
30023         (__libc_sa_len_internal): Remove declaration.
30024         (__connect, __libc_sa_len): Declare hidden_proto.
30025         (SA_LEN): Remove use of INTUSE.
30026         * socket/connect.c: Add libc_hidden_def.
30027         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30028         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30029         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30030         alias.
30031         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30032         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30033         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30034         of adding _internal alias.
30036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30038         [BZ #14117]
30039         * sysdeps/i386/bits/link.h: Removed.
30040         * sysdeps/i386/bits/linkmap.h: Likewise.
30041         * sysdeps/x86_64/bits/link.h: Renamed to ...
30042         * sysdeps/x86/bits/link.h: This.
30043         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30044         * sysdeps/x86/bits/linkmap.h: This.
30046         * sysdeps/i386/bits/endian.h: Removed.
30047         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30048         * sysdeps/x86/bits/endian.h: This.
30050         * sysdeps/i386/bits/byteswap.h: Removed.
30051         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30052         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30053         * sysdeps/x86/bits/byteswap.h: This.
30054         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30055         * sysdeps/x86/bits/byteswap-16.h: This.
30056         * sysdeps/i386/Implies: Add x86.
30057         * sysdeps/x86_64/Implies: Likewise.
30059 2012-05-30  David S. Miller  <davem@davemloft.net>
30061         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30062         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30063         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30064         (FP_TRAPPING_EXCEPTIONS): Define.
30065         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30066         (FP_TRAPPING_EXCEPTIONS): Define.
30067         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30068         subnormals only when inexact has been signalled or underflow
30069         exceptions are enabled.
30070         (_FP_PACK_CANONICAL): Likewise.
30072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30074         [BZ #14183]
30075         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30076         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30078 2012-05-30  Richard Henderson  <rth@twiddle.net>
30080         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30081         with #ifndef NOT_IN_libc.
30083         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30084         marked to avoid plt entry.
30086 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30088         [BZ #14112]
30089         * Makeconfig (default-abi): New macro.
30090         (abi-includes): Likewise.
30091         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30092         $(abi-$(default-abi)-lib-soname) for soname if defined.
30093         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30094         abi-variants.
30095         * Makefile (installed-stubs): Likewise.
30096         * include/stubs-biarch.h: Removed.
30097         * scripts/lib-names.awk: Only handle one library at a time.
30098         * scripts/soversions.awk: Remove WORDSIZE support.
30099         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30100         entries.
30101         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30102         Removed.
30103         (syscall-list-default-condition): Likewise.
30104         (syscall-list-default-condition): Likewise.
30105         (syscall-list-includes): Likewise.
30106         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30107         syscall-list-* with abi-*.  Handle undefined abi-variants.
30108         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30109         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30110         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30111         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30112         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30113         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30114         Removed.
30115         (syscall-list-32-options): Likewise.
30116         (syscall-list-32-condition): Likewise.
30117         (syscall-list-64-options): Likewise.
30118         (syscall-list-64-condition): Likewise.
30119         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30120         macro.
30121         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30122         Renamed to ...
30123         (abi-*): This.
30124         (abi-64-ld-soname): New macro.
30125         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30126         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30127         Renamed to ...
30128         (abi-*): This.
30129         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30130         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30132 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30134         * sysdeps/unix/sysv/linux/kernel-features.h
30135         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30136         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30137         include <kernel-features.h>.
30138         [!__NR_ftruncate64]: Remove conditional code.
30139         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30140         [__NR_ftruncate64]: Make code unconditional.
30141         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30142         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30143         include <kernel-features.h>.
30144         [!__NR_ftruncate64]: Remove conditional code.
30145         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30146         [__NR_ftruncate64]: Make code unconditional.
30147         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30149         include <kernel-features.h>.
30150         [!__NR_ftruncate64]: Remove conditional code.
30151         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30152         [__NR_ftruncate64]: Make code unconditional.
30153         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30155         include <kernel-features.h>.
30156         [!__NR_ftruncate64]: Remove conditional code.
30157         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30158         [__NR_ftruncate64]: Make code unconditional.
30159         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30161         * configure.in (libc_cv_fpie): Weaken to a compile test using
30162         LIBC_TRY_CC_OPTION.
30163         * configure: Regenerated.
30165 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30171         Refreshed.
30172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30178         Refreshed.
30180 2012-05-27  David S. Miller  <davem@davemloft.net>
30182         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30183         (___Q_zero): New.
30184         (__Q_simulate_exceptions): Return void.  Change to simulate
30185         exceptions by writing into the %fsr.
30186         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30187         (__Qp_handle_exceptions): Likewise.
30188         (numbers): Delete.
30189         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30190         __Qp_handle_exceptions.
30191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30192         __Qp_handle_exceptions.
30193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30194         as unused and give dummy FP_RND_NEAREST initializer.
30195         (FP_INHIBIT_RESULTS): Define.
30196         (___Q_simulate_exceptions): Update declaration.
30197         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30198         formatting.
30199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30200         as unused and give dummy FP_RND_NEAREST initializer.
30201         (__Qp_handle_exceptions): Update declaration.
30202         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30203         formatting.
30205 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30207         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30208         the temporary FPU control word.
30209         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30210         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30212         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30213         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30214         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30215         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30216         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30217         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30218         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30219         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30221 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30223         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30224         fields.
30226 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30228         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30229         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30230         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30231         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30232         Likewise.
30233         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30234         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30235         Likewise.
30237 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30239         * po/h.po: Update from translation team.
30241 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30243         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30245         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30246         handling of denormals.
30247         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30248         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30249         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30250         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30254         Likewise.
30256 2012-05-26  Marek Polacek  <polacek@redhat.com>
30258         [BZ #14152]
30259         * math/libm-test.inc (fma_test): Don't always expect underflow
30260         exception.
30262 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30264         [BZ #12416]
30265         * elf/tst-execstack.c: Include stackinfo.h.
30266         (do_test): Adjust test case to ensure that pthread_getattr_np
30267         behaviour remains the same after marking stack executable.
30269 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30271         * sysdeps/unix/sysv/linux/kernel-features.h
30272         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30273         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30274         kernel-features.h.
30275         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30276         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30277         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30278         kernel-features.h.
30279         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30280         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30282 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30284         * configure.in: Define the default includes to being none.
30285         * configure: Regenerated.
30287 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30289         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30290         * sysdeps/x86_64/setjmp.S: Likewise.
30291         * sysdeps/i386/bsd-setjmp.S: Likewise.
30292         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30293         * sysdeps/i386/setjmp.S: Likewise.
30294         * sysdeps/i386/__longjmp.S: Likewise.
30295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30296         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30298         * include/stap-probe.h: New file.
30299         * configure.in: Handle --enable-systemtap.
30300         * configure: Regenerated.
30301         * config.h.in (USE_STAP_PROBE): New #undef.
30302         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30303         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30304         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30306 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30308         [BZ #13717]
30309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30310         to 2.4.0 where earlier.
30311         * sysdeps/unix/sysv/linux/configure: Regenerated.
30312         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30313         <kernel-features.h>.
30314         [__ASSUME_32BITUIDS]: Make code unconditional.
30315         [!__ASSUME_32BITUIDS]: Remove conditional code.
30316         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30317         <kernel-features.h>.
30318         [__ASSUME_32BITUIDS]: Make code unconditional.
30319         [!__ASSUME_32BITUIDS]: Remove conditional code.
30320         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30321         [__ASSUME_32BITUIDS]: Make code unconditional.
30322         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30323         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30324         <kernel-features.h>.
30325         [__ASSUME_32BITUIDS]: Make code unconditional.
30326         [!__ASSUME_32BITUIDS]: Remove conditional code.
30327         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30328         <kernel-features.h>.
30329         [__ASSUME_32BITUIDS]: Make code unconditional.
30330         [!__ASSUME_32BITUIDS]: Remove conditional code.
30331         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30332         <kernel-features.h>.
30333         [__ASSUME_32BITUIDS]: Make code unconditional.
30334         [!__ASSUME_32BITUIDS]: Remove conditional code.
30335         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30336         <kernel-features.h>.
30337         [__ASSUME_32BITUIDS]: Make code unconditional.
30338         [!__ASSUME_32BITUIDS]: Remove conditional code.
30339         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30340         <kernel-features.h>.
30341         [__ASSUME_32BITUIDS]: Make code unconditional.
30342         [!__ASSUME_32BITUIDS]: Remove conditional code.
30343         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30344         <kernel-features.h>.
30345         [__ASSUME_32BITUIDS]: Make code unconditional.
30346         [!__ASSUME_32BITUIDS]: Remove conditional code.
30347         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30348         <kernel-features.h>.
30349         [__ASSUME_32BITUIDS]: Make code unconditional.
30350         [!__ASSUME_32BITUIDS]: Remove conditional code.
30351         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30352         <kernel-features.h>.
30353         [__ASSUME_32BITUIDS]: Make code unconditional.
30354         [!__ASSUME_32BITUIDS]: Remove conditional code.
30355         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30356         <kernel-features.h>.
30357         [__ASSUME_32BITUIDS]: Make code unconditional.
30358         [!__ASSUME_32BITUIDS]: Remove conditional code.
30359         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30360         <kernel-features.h>.
30361         [__ASSUME_32BITUIDS]: Make code unconditional.
30362         [!__ASSUME_32BITUIDS]: Remove conditional code.
30363         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30364         <kernel-features.h>.
30365         [__NR_setresgid] (__setresgid): Do not declare.
30366         [__ASSUME_32BITUIDS]: Make code unconditional.
30367         [!__ASSUME_32BITUIDS]: Remove conditional code.
30368         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30369         <kernel-features.h>.
30370         [__NR_setresuid] (__setresuid): Do not declare.
30371         [__ASSUME_32BITUIDS]: Make code unconditional.
30372         [!__ASSUME_32BITUIDS]: Remove conditional code.
30373         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30374         <kernel-features.h>.
30375         [__ASSUME_32BITUIDS]: Make code unconditional.
30376         [!__ASSUME_32BITUIDS]: Remove conditional code.
30377         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30378         <kernel-features.h>.
30379         [__ASSUME_32BITUIDS]: Make code unconditional.
30380         [!__ASSUME_32BITUIDS]: Remove conditional code.
30381         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30382         <kernel-features.h>.
30383         [__ASSUME_32BITUIDS]: Make code unconditional.
30384         [!__ASSUME_32BITUIDS]: Remove conditional code.
30385         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30386         <kernel-features.h>.
30387         [__ASSUME_32BITUIDS]: Make code unconditional.
30388         [!__ASSUME_32BITUIDS]: Remove conditional code.
30389         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30390         <kernel-features.h>.
30391         [__ASSUME_32BITUIDS]: Make code unconditional.
30392         [!__ASSUME_32BITUIDS]: Remove conditional code.
30393         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30394         <kernel-features.h>.
30395         [__ASSUME_32BITUIDS]: Make code unconditional.
30396         [!__ASSUME_32BITUIDS]: Remove conditional code.
30397         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30398         <kernel-features.h>.
30399         [__ASSUME_32BITUIDS]: Make code unconditional.
30400         [!__ASSUME_32BITUIDS]: Remove conditional code.
30401         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30402         <kernel-features.h>.
30403         [__ASSUME_32BITUIDS]: Make code unconditional.
30404         [!__ASSUME_32BITUIDS]: Remove conditional code.
30405         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30406         <kernel-features.h>.
30407         [__ASSUME_32BITUIDS]: Make code unconditional.
30408         [!__ASSUME_32BITUIDS]: Remove conditional code.
30409         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30410         <kernel-features.h>.
30411         [__ASSUME_32BITUIDS]: Make code unconditional.
30412         [!__ASSUME_32BITUIDS]: Remove conditional code.
30413         * sysdeps/unix/sysv/linux/kernel-features.h
30414         (__ASSUME_SETRESUID_SYSCALL): Remove.
30415         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30416         (__ASSUME_32BITUIDS): Likewise.
30417         (__ASSUME_LDT_WORKS): Likewise.
30418         (__ASSUME_O_DIRECTORY): Likewise.
30419         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30420         architecture but not kernel version.
30421         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30422         (__ASSUME_MMAP2_SYSCALL): Likewise.
30423         (__ASSUME_STAT64_SYSCALL): Likewise.
30424         (__ASSUME_IPC64): Likewise.
30425         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30426         <kernel-features.h>.
30427         [__ASSUME_32BITUIDS]: Make code unconditional.
30428         [!__ASSUME_32BITUIDS]: Remove conditional code.
30429         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30430         <kernel-features.h>.
30431         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30432         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30433         132096]: Remove conditional code.
30434         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30435         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30436         <kernel-features.h>.
30437         [__ASSUME_32BITUIDS]: Make code unconditional.
30438         [!__ASSUME_32BITUIDS]: Remove conditional code.
30439         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30440         <kernel-features.h>.
30441         [__ASSUME_32BITUIDS]: Make code unconditional.
30442         [!__ASSUME_32BITUIDS]: Remove conditional code.
30443         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30444         <kernel-features.h>.
30445         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30446         unconditional.
30447         (__setresgid): Do not declare.
30448         [__ASSUME_32BITUIDS]: Make code unconditional.
30449         [!__ASSUME_32BITUIDS]: Remove conditional code.
30450         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30451         <kernel-features.h>.
30452         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30453         unconditional.
30454         (__setresuid): Do not declare.
30455         [__ASSUME_32BITUIDS]: Make code unconditional.
30456         [!__ASSUME_32BITUIDS]: Remove conditional code.
30457         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30458         <kernel-features.h>.
30459         [__ASSUME_32BITUIDS]: Make code unconditional.
30460         [!__ASSUME_32BITUIDS]: Remove conditional code.
30461         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30462         <kernel-features.h>.
30463         [__ASSUME_32BITUIDS]: Make code unconditional.
30464         [!__ASSUME_32BITUIDS]: Remove conditional code.
30466 2012-05-25  Richard Henderson  <rth@twiddle.net>
30468         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30469         dl_hwcap to ifunc resolver.
30470         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30471         elf_ifunc_invoke.
30472         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30473         dl_hwcap to ifunc resolver.
30474         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30476 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30478         [BZ #14153]
30479         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30480         for |x| <= 2**-26, not 2**-57.
30481         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30482         exception.
30484 2012-05-24  Jeff Law  <law@redhat.com>
30486         * stdio-common/Makefile (tests): Add bug25.
30487         * stdio-common/bug25.c: New test.
30489 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30491         [BZ #13576]
30492         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30493         multiple of MALLOC_ALIGNMENT in size.
30494         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30496 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30498         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30499         Require >= 256.
30500         (FILENAME_MAX): Use macro-int-constant.
30501         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30502         (_IOFBF): Use macro-int-constant.
30503         (_IOLBF): Likewise.
30504         (_IONBF): Likewise.
30505         (SEEK_CUR): Likewise.
30506         (SEEK_END): Likewise.
30507         (SEEK_SET): Likewise.
30508         (TMP_MAX): Likewise.
30509         (EOF): Use macro-int-constant.  Require < 0.
30510         (NULL): Use macro-constant.  Require == 0.
30511         (stdin): Require type to be FILE *.
30512         (stdout): Likewise.
30513         (stderr): Likewise.
30514         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30515         macro-int-constant.
30516         (EXIT_SUCCESS): Likewise.
30517         (NULL): Use macro-constant.  Require == 0.
30518         (RAND_MAX): Use macro-int-constant.
30519         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30520         [C99-based standards] (strtof): Require function.
30521         [C99-based standards] (strtold): Likewise.
30522         [C99-based standards] (strtoll): Likewise.
30523         [C99-based standards] (strtoull): Likewise.
30524         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30525         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30526         [ISO || ISO99 || ISO11] (math.h): Likewise.
30527         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30528         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30531 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30533         [BZ #14132]
30534         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30535         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30536         * intl/dgettext.c (DCGETTEXT): Likewise.
30537         * intl/gettext.c (DCGETTEXT): Likewise.
30538         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30539         * posix/regex_internal.h (gettext): Likewise.
30540         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30541         Remove declaration.
30542         * include/argz.h (__argz_count_internal)
30543         (__argz_stringify_internal): Remove declaration.
30544         (__argz_count, __argz_stringify): Declare hidden proto.
30545         * intl/dcgettext.c: Remove use of INTDEF.
30546         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30547         * string/argz-stringify.c: Likewise.
30548         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30549         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30550         Declare hidden proto.
30551         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30552         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30553         Declare hidden proto.
30554         * include/stdio.h (__asprintf_internal): Don't declare.
30555         (__asprintf): Don't define as macro.  Declare hidden proto.
30556         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30557         (__fsetlocking): Declare hidden proto.
30558         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30559         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30560         hidden proto.
30561         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30562         (_IO_setlinebuf): Remove use of INTUSE.
30563         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30564         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30565         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30566         Remove declaration.
30567         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30568         (_IO_do_flush): Remove use of INTUSE.
30569         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30570         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30571         (_IO_adjust_column, _IO_least_wmarker)
30572         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30573         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30574         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30575         (_IO_default_doallocate, _IO_wdefault_doallocate)
30576         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30577         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30578         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30579         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30580         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30581         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30582         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30583         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30584         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30585         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30586         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30587         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30588         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30589         proto.
30590         (_IO_flush_all_internal, _IO_adjust_column_internal)
30591         (_IO_default_uflow_internal, _IO_default_finish_internal)
30592         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30593         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30594         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30595         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30596         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30597         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30598         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30599         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30600         (_IO_file_close_internal, _IO_file_close_it_internal)
30601         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30602         (_IO_file_init_internal, _IO_file_attach_internal)
30603         (_IO_file_fopen_internal, _IO_file_read_internal)
30604         (_IO_file_sync_internal, _IO_file_seek_internal)
30605         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30606         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30607         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30608         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30609         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30610         (_IO_list_all_internal, _IO_link_in_internal)
30611         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30612         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30613         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30614         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30615         (_IO_do_write_internal, _IO_padn_internal)
30616         (_IO_getline_info_internal, _IO_getline_internal)
30617         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30618         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30619         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30620         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30621         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30622         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30623         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30624         with libc_hidden_ver, remove use of INTUSE.
30625         * libio/genops.c: Likewise.
30626         * libio/freopen.c: Likewise.
30627         * libio/freopen64.c: Likewise.
30628         * libio/iofclose.c: Likewise.
30629         * libio/iofdopen.c: Likewise.
30630         * libio/iofflush.c: Likewise.
30631         * libio/iofflush_u.c: Likewise.
30632         * libio/iofgets.c: Likewise.
30633         * libio/iofgets_u.c: Likewise.
30634         * libio/iofopen.c: Likewise.
30635         * libio/iofopncook.c: Likewise.
30636         * libio/iofread.c: Likewise.
30637         * libio/iofread_u.c: Likewise.
30638         * libio/ioftell.c: Likewise.
30639         * libio/iofwrite.c: Likewise.
30640         * libio/iogetline.c: Likewise.
30641         * libio/iogets.c: Likewise.
30642         * libio/iogetwline.c: Likewise.
30643         * libio/iopadn.c: Likewise.
30644         * libio/iopopen.c: Likewise.
30645         * libio/ioseekoff.c: Likewise.
30646         * libio/ioseekpos.c: Likewise.
30647         * libio/iosetbuffer.c: Likewise.
30648         * libio/iosetvbuf.c: Likewise.
30649         * libio/ioungetc.c: Likewise.
30650         * libio/ioungetwc.c: Likewise.
30651         * libio/iovdprintf.c: Likewise.
30652         * libio/iovsprintf.c: Likewise.
30653         * libio/iovsscanf.c: Likewise.
30654         * libio/memstream.c: Likewise.
30655         * libio/obprintf.c: Likewise.
30656         * libio/oldfileops.c: Likewise.
30657         * libio/oldiofclose.c: Likewise.
30658         * libio/oldiofdopen.c: Likewise.
30659         * libio/oldiofopen.c: Likewise.
30660         * libio/oldiopopen.c: Likewise.
30661         * libio/oldstdfiles.c: Likewise.
30662         * libio/putc.c: Likewise.
30663         * libio/setbuf.c: Likewise.
30664         * libio/setlinebuf.c: Likewise.
30665         * libio/stdfiles.c: Likewise.
30666         * libio/strops.c: Likewise.
30667         * libio/vasprintf.c: Likewise.
30668         * libio/vscanf.c: Likewise.
30669         * libio/vsnprintf.c: Likewise.
30670         * libio/vswprintf.c: Likewise.
30671         * libio/wfiledoalloc.c: Likewise.
30672         * libio/wfileops.c: Likewise.
30673         * libio/wgenops.c: Likewise.
30674         * libio/wmemstream.c: Likewise.
30675         * libio/wstrops.c: Likewise.
30676         * libio/__fpurge.c: Likewise.
30677         * libio/__fsetlocking.c: Likewise.
30678         * assert/assert.c: Likewise.
30679         * debug/fgets_chk.c: Likewise.
30680         * debug/fgets_u_chk.c: Likewise.
30681         * debug/fread_chk.c: Likewise.
30682         * debug/fread_u_chk.c: Likewise.
30683         * debug/gets_chk.c: Likewise.
30684         * debug/obprintf_chk.c: Likewise.
30685         * debug/vasprintf_chk.c: Likewise.
30686         * debug/vdprintf_chk.c: Likewise.
30687         * debug/vsnprintf_chk.c: Likewise.
30688         * debug/vsprintf_chk.c: Likewise.
30689         * malloc/mtrace.c: Likewise.
30690         * misc/error.c: Likewise.
30691         * misc/syslog.c: Likewise.
30692         * stdio-common/asprintf.c: Likewise.
30693         * stdio-common/fxprintf.c: Likewise.
30694         * stdio-common/getw.c: Likewise.
30695         * stdio-common/isoc99_fscanf.c: Likewise.
30696         * stdio-common/isoc99_scanf.c: Likewise.
30697         * stdio-common/isoc99_vfscanf.c: Likewise.
30698         * stdio-common/isoc99_vscanf.c: Likewise.
30699         * stdio-common/isoc99_vsscanf.c: Likewise.
30700         * stdio-common/printf-prs.c: Likewise.
30701         * stdio-common/printf_fp.c: Likewise.
30702         * stdio-common/printf_fphex.c: Likewise.
30703         * stdio-common/printf_size.c: Likewise.
30704         * stdio-common/putw.c: Likewise.
30705         * stdio-common/scanf.c: Likewise.
30706         * stdio-common/sprintf.c: Likewise.
30707         * stdio-common/tmpfile.c: Likewise.
30708         * stdio-common/vfprintf.c: Likewise.
30709         * stdio-common/vfscanf.c: Likewise.
30710         * stdlib/strfmon_l.c: Likewise.
30711         * sunrpc/openchild.c: Likewise.
30712         * sunrpc/xdr_stdio.c: Likewise.
30713         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30714         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30716 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30718         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30720         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30721         in the third column, to generate for the shared library an IFUNC
30722         that uses _dl_vdso_vsym.
30723         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30724         * Makeconfig (object-suffixes-noshared): New variable.
30726         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30727         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30728         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30729         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30731         [BZ #14132]
30732         * include/sys/time.h (__gettimeofday): Remove macro.
30733         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30734         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30735         Remove INTDEF.
30736         (__gettimeofday): Add libc_hidden_def.
30737         (gettimeofday): Add libc_hidden_weak.
30738         * sysdeps/mach/gettimeofday.c: Likewise.
30739         * sysdeps/posix/gettimeofday.c: Likewise.
30740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30741         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30743         (__gettimeofday_internal): Remove strong_alias.
30744         (__gettimeofday): Add libc_hidden_def.
30745         (gettimeofday): Add libc_hidden_weak.
30746         * sysdeps/unix/syscalls.list (gettimeofday):
30747         Remove __gettimeofday_internal alias.
30749 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30750             H.J. Lu  <hongjiu.lu@intel.com>
30752         [BZ #12495]
30753         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30754         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30755         (largebin_index_32_big): New.
30756         (largebin_index): Use it for 16-byte alignment.
30757         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30758         correction with front_misalign.
30760 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30764         Likewise.
30765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30766         Likewise.
30767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30768         Likewise.
30769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30770         Likewise.
30771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30772         Likewise.
30773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30774         Likewise.
30775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30776         Likewise.
30777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30778         Likewise.
30779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30780         Likewise.
30781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30782         Likewise.
30783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30784         Likewise.
30785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30786         Likewise.
30788         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30789         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30791 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30793         [BZ #10846]
30794         [BZ #14036]
30795         * math/libm-test.inc (exp_test): Add test from bug 14036.
30796         (pow_test): Add test from bug 10846.
30798         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30799         and other flags.
30800         (special_function): Do not include flags in test name.
30801         (parse_args): Likewise.
30802         * sysdeps/i386/fpu/libm-test-ulps: Update.
30803         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30804         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30805         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30808         * math/gen-libm-test.pl (%beautify): Add entries for underflow
30809         exceptions.
30810         * math/libm-test.inc ("Philosophy"): Update comment about
30811         exception testing.
30812         (UNDERFLOW_EXCEPTION): New macro.
30813         (UNDERFLOW_EXCEPTION_OK): Likewise.
30814         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30815         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30816         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30817         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30818         (INVALID_EXCEPTION_OK): Update value.
30819         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30820         (OVERFLOW_EXCEPTION_OK): Likewise.
30821         (IGNORE_ZERO_INF_SIGN): Likewise.
30822         (test_exceptions): Handle underflow exceptions.
30823         (acos_test): Update for underflow exception expectations.
30824         (cexp_test): Likewise.
30825         (clog_test): Likewise.
30826         (clog10_test): Likewise.
30827         (csqrt_test): Likewise.
30828         (ctan_test): Likewise.
30829         (ctanh_test): Likewise.
30830         (exp_test): Likewise.
30831         (exp10_test): Likewise.
30832         (exp2_test): Likewise.
30833         (expm1_test): Likewise.
30834         (fma_test): Likewise.
30835         (j0_test): Likewise.
30836         (jn_test): Likewise.
30837         (nexttoward_test): Likewise.
30838         (pow_test): Likewise.
30839         (scalbn_test): Likewise.
30840         (scalbln_test): Likewise.
30841         (tan_test): Likewise.
30842         (y1_test): Likewise.
30843         * sysdeps/i386/fpu/libm-test-ulps: Update.
30844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30846 2012-05-23  David S. Miller  <davem@davemloft.net>
30848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30849         (__libc_sigaction): Remove unused local variables.
30851 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30853         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30855 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30857         mktime: avoid signed integer overflow
30858         * time/mktime.c (__mktime_internal): Do not mishandle the case
30859         where diff == INT_MIN.
30861         mktime: simplify computation of average
30862         * time/mktime.c (ranged_convert): Use new time_t_avg function
30863         instead of rolling our own (probably-slower) code.
30865         mktime: do not assume signed right shift propagates sign bit
30866         * time/mktime.c (isdst_differ): New static function.
30867         (__mktime_internal): No need to normalize tm_isdst now.
30868         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30869         tm_isdst values.
30871         mktime: merge another wrapv change from gnulib
30872         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30873         from some compilers.
30875         mktime: remove incorrect attempt at unusual arithmetics
30876         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30877         The code didn't really work on such machines anyway.
30878         (TYPE_MINIMUM): Assume two's complement.
30879         (twos_complement_arithmetic): Verify that long_int and time_t
30880         are two's complement (or unsigned, in the latter case).
30882         mktime: check signed shifts on long_int and time_t, too
30883         * time/mktime.c (SHR): Check that shifts work as desired
30884         on the types long_int and time_t too, as SHR is used on
30885         such types.
30887         mktime: do not assume 'long' is wide enough
30888         * time/mktime.c (verify): Move decl up.
30889         (long_int): New type.
30890         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30891         to remove assumption in the code that 'long' is wide enough to
30892         store year values.  This assumption is not true on x32 and on
30893         some non-glibc platforms.
30895         mktime: merge wrapv change from gnulib
30896         * time/mktime.c (WRAPV): New macro.
30897         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30898         (guess_time_tm, __mktime_internal): Do not assume that signed
30899         integer overflow wraps around; modern compilers generate code
30900         where this assumption is no longer valid.
30902 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30904         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30905         Replace "jmp L(pseudo_end)" with "ret".
30906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30907         Likewise.
30909 2012-05-23  Andreas Jaeger  <aj@suse.de>
30911         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30912         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30914 2012-05-23  Andreas Jaeger  <aj@suse.de>
30915             Maximilian Attems  <max@stro.at>
30917         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30918         New macros.
30920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30923         code so that pseudo_end is just ret and the stack pointer is
30924         correct also for static library in error case.
30926 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30928         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30929         move to syscalls.list.
30930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30935         * manual/install.texi (Running make install): Do not mention Linux
30936         kernel version for which pt_chown is not needed.
30937         (Linux): Do not mention problems with nscd with 2.0 kernels.
30938         * INSTALL: Regenerated.
30940 2012-05-23  Andreas Jaeger  <aj@suse.de>
30942         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30943         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30944         macro.
30945         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30946         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30947         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30948         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30949         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30950         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30952         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30954         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30955         * sysdeps/unix/sysv/linux/bits/in.h
30956         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30958 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30960         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30961         (PREPARE_VERSION): Just use assert instead, it will be elided
30962         under [NDEBUG] anyway.
30964 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30966         * sysdeps/unix/sysv/linux/Makefile: Include
30967         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30968         (sysdep_routines): Remove sysctl.
30969         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30970         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30971         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30972         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30973         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30975 2012-05-22  Andreas Jaeger  <aj@suse.de>
30977         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30978         that pseudo_end is just ret and the stack pointer is correct also
30979         for static library in error case.
30981 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30983         [BZ #14122]
30984         * nss/nsswitch.c (defconfig_entries): New variable.
30985         (__nss_database_lookup): Don't leak defconfig entries.
30986         (nss_parse_service_list): Don't leak on error paths.
30987         (free_database_entries): New function.
30988         (free_defconfig): New function.
30989         (free_mem): Move common code to free_database_entries.
30991 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30993         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30994         Add arch_prctl.
30995         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30997         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30998         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31000         New macro.
31001         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31002         (INTERNAL_SYSCALL_TYPES): Likewise.
31003         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31004         (LOAD_REGS_TYPES_[1-6]): Likewise.
31005         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31006         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31008 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31010         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31011         copysignl for GLIBC_2_0.
31012         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31013         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31015         logbl for GLIBC_2_0.
31016         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31017         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31019 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31021         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31022         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31024         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31025         Use "neg %eax".
31027         * time/mktime.c: Update copyright years.
31029 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31031         mktime: merge comment-quoting-style change from gnulib
31032         * time/mktime.c: Quote 'like this' in comments.
31033         The GNU coding standards suggest that we no longer quote `like this',
31034         as "`" and "'" are typically rendered asymmetrically nowadays.
31035         The typical gnulib style is to quote 'like this' when quoting
31036         code, and "like this" when quoting English.
31038         * time/mktime.c (compile-command): Add "-I.".
31040         mktime: merge mktime-internal.h change from gnulib
31041         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31043         mktime: merge time_r change from gnulib
31044         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31046         mktime: merge DEBUG change from gnulib
31047         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31048         case system <time.h> has a #define.
31050         mktime: merge <sys/types.h> change from gnulib
31051         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31052         since <time.t> is now guaranteed to define time_t.
31054         mktime: merge HAVE_CONFIG_H change from gnulib
31055         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31060         Use "neg %eax".
31062         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31063         __rlim_t cast.
31064         (struct rusage): Use anonymous union to pad each field to
31065         __syscall_slong_t.
31067 2012-05-21  David S. Miller  <davem@davemloft.net>
31069         * Makefules (o-iterator): Remove .s cases.
31070         (compile-command.s): Delete.
31071         (COMPILE.s): Delete.
31072         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31074 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31076         * configure.in (libc_cv_predef_stack_protector): Only consider
31077         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31078         * configure: Regenerated.
31080 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31083         New macro.  Use R*LP on int and pointer.
31084         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31085         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31086         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31087         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31089         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31090         [__WORDSIZE_TIME64_COMPAT32] instead of
31091         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31092         (struct utmp): Likewise.
31093         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31094         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31095         Renamed to ...
31096         (__WORDSIZE_TIME64_COMPAT32): This.
31097         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31098         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31099         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31101         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31102         (__WORDSIZE_TIME64_COMPAT32): New macro.
31104 2012-05-21  Andreas Jaeger  <aj@suse.de>
31106         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31107         only if [SHARED]. Add prototype for __wcschr_ia32.
31109 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31111         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31112         of %rbp unmolested in the jmp_buf while mangling the low bits.
31113         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31114         unmolested high bits of %rbp while demangling the low bits.
31115         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31117 2012-05-21  Andreas Jaeger  <aj@suse.de>
31119         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31120         * sunrpc/svc_simple.c: Use it for registerrpc.
31121         * sunrpc/xcrypt.c: Use it for passwd2des.
31123         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31125 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31127         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31128         Don't define if [__SYSCALL_WORDSIZE != 32].
31129         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31130         New macro.
31132 2012-05-21  Bruno Haible  <bruno@clisp.org>
31133             Andreas Jaeger  <aj@suse.de>
31135         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31136         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31137         inptr and inend for must_buffer_ch.
31138         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31139         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31140         * stdio-common/Makefile (tests): Remove bug15.
31141         (bug15-ENV): Remove macro.
31142         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31143         anymore.
31145 2012-05-19  Andreas Jaeger  <aj@suse.de>
31146             Roland McGrath  <roland@hack.frob.com>
31148         * manual/contrib.texi: Completely rewritten. It contains now an
31149         alphabetical list of contributors and their contributions.
31151 2012-05-21  Richard Henderson  <rth@twiddle.net>
31153         * misc/getauxval.c (__getauxval): Use unsigned long int.
31154         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31155         (getauxval): Use unsigned long int.
31157 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31159         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31161 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31163         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31164         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31165         __alignof__ (long double).
31167 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31171 2012-05-20  Richard Henderson  <rth@twiddle.net>
31173         * misc/getauxval.c: New file.
31174         * misc/sys/auxv.h: New file.
31175         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31176         (routines): Add getauxval.
31177         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31178         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31179         * elf/dl-sysdep.c (_dl_auxv): Remove.
31180         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31181         * elf/dl-support.c (_dl_auxv): New variable.
31182         (_dl_aux_init): Initialize it.
31183         * manual/startup.texi (Auxiliary Vector): New node.
31184         * sysdeps/generic/bits/hwcap.h: New file.
31185         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31186         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31187         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31188         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31189         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31190         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31192         Update.
31193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31202 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31206 2012-05-19  David S. Miller  <davem@davemloft.net>
31208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31210 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31212         [BZ #14123]
31213         * math/s_ccosh.c: Include <float.h>
31214         (__ccosh): Avoid internal overflow calculating sinh and cosh
31215         values before multiplying by sin and cos values.
31216         * math/s_ccoshf.c: Likewise.
31217         * math/s_ccoshl.c: Likewise.
31218         * math/s_csin.c: Likewise.
31219         * math/s_csinf.c: Likewise.
31220         * math/s_csinl.c: Likewise.
31221         * math/s_csinh.c: Likewise.
31222         * math/s_csinhf.c: Likewise.
31223         * math/s_csinhl.c: Likewise.
31224         * math/libm-test.inc (ccos_test): Add more tests.
31225         (ccosh_test): Likewise.
31226         (csin_test): Likewise.
31227         (csinh_test): Likewise.
31228         * sysdeps/i386/fpu/libm-test-ulps: Update.
31229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31231 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31233         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31234         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31236         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31238 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31240         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31241         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31242         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31243         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31244         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31245         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31246         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31247         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31248         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31249         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31250         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31251         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31252         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31253         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31254         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31255         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31256         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31257         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31258         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31259         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31260         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31261         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31262         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31263         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31264         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31265         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31266         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31267         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31268         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31269         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31270         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31272 2012-05-18  Andreas Jaeger  <aj@suse.de>
31274         * csu/.gitignore: Delete.
31276 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31278         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31279         (timex): Use __syscall_slong_t.
31281 2012-05-18  Andreas Jaeger  <aj@suse.de>
31282             Carlos O'Donell  <carlos_odonell@mentor.com>
31284         * manual/install.texi (Configuring and compiling): Update
31285         description about files modified in the source directory.
31286         * INSTALL: Regenerated.
31288 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31290         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31291         value.  Use "or" to set return value to -1.
31292         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31293         negate return value.
31295 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31297         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31298         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31299         failure if the compiler has Graphite support disabled.
31300         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31301         Likewise.
31302         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31303         (CFLAGS-memmove.c): Likewise.
31304         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31305         Likewise.
31307 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31309         * sysdeps/x86_64/x32/_itoa.h: New file.
31311         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31312         getdents system call only if kernel and user dirents have the
31313         same d_ino and d_off.
31315         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31316         LLONG_MAX != LONG_MAX.
31317         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31318         (_fitoa_word): Likewise.
31320         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31321         years.
31322         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31323         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31324         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31327         include <bits/wordsize.h>.  Check __x86_64__ instead of
31328         __WORDSIZE.
31329         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31330         if __x86_64__ is defined.  Use anonymous union on fpstate.
31332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31333         anonymous union.
31335 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31337         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31338         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31340         Refer to _rtld_local_ro instead of _rtld_global_ro.
31341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31342         Likewise.
31343         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31344         Likewise.
31345         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31346         Likewise.
31347         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31348         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31349         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31351         * sysdeps/powerpc/powerpc32/dl-machine.c
31352         (__elf_machine_runtime_setup) [PROF]: Don't reference
31353         _dl_prof_resolve.
31355 2012-05-18  Andreas Jaeger  <aj@suse.de>
31357         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31358         function only available for GCCs before 3.4 since GCC 3.4
31359         introduced a builtin.
31360         (lrint): Likewise.
31361         (llrintf): Likewise.
31362         (llrint): Likewise.
31363         (fmaxf): Likewise.
31364         (fmax): Likewise.
31365         (fminf): Likewise.
31366         (fmin): Likewise.
31367         (rint): Likewise.
31368         (rintf): Likewise.
31369         (nearbyint): Likewise.
31370         (nearbyintf): Likewise.
31371         (ceil): Likewise.
31372         (ceilf): Likewise.
31373         (floor): Likewise.
31374         (floorf): Likewise.
31376 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31378         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31379         on both fields and cast pointer to __syscall_ulong_t.
31381         * bits/types.h (__fsword_t): New type.
31382         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31383         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31384         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31385         (__FSWORD_T_TYPE): Likewise.
31386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31387         (__FSWORD_T_TYPE): Likewise.
31388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31389         (__FSWORD_T_TYPE): Likewise.
31390         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31391         (__FSWORD_T_TYPE): Likewise.
31392         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31393         __SWORD_TYPE with __fsword_t.
31394         (statfs64): Likewise.
31396 2012-05-17  David S. Miller  <davem@davemloft.net>
31398         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31400 2012-05-17  Andreas Jaeger  <aj@suse.de>
31402         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31403         warning.
31405 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31407         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31409 2012-05-17  Andreas Jaeger  <aj@suse.de>
31411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31412         when it is used.
31414 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31416         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31418 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31420         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31421         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31423 2012-05-17  Andreas Jaeger  <aj@suse.de>
31424             Carlos O'Donell  <carlos_odonell@mentor.com>
31426         [BZ #14059]
31427         * sysdeps/x86_64/multiarch/init-arch.h
31428         (bit_YMM_Usable): Rename to...
31429         (bit_AVX_Usable): ... this.
31430         (bit_FMA4_Usable): New macro.
31431         (bit_XMM_state): New macro.
31432         (bit_YMM_state): New macro.
31433         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31434         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31435         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31436         (CPUID_OSXSAVE): New macro.
31437         (CPUID_AVX): New macro.
31438         (CPUID_FMA4): New macro.
31439         (index_YMM_Usable): Rename to...
31440         (index_AVX_Usable): ... this.
31441         (HAS_AVX): Use HAS_ARCH_FEATURE.
31442         (HAS_FMA4): Likewise.
31443         (HAS_YMM_USABLE): Remove.
31444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31445         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31446         are present.
31447         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31448         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31449         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31450         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31451         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31453 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31455         * math/libm-test.c: Support platforms without multiple rounding modes.
31456         * math/bug-nextafter.c: Support platforms without FP exceptions.
31457         * math/bug-nexttoward.c: Likewise.
31458         * math/test-fenv.c: Likewise.
31459         * math/test-misc.c: Likewise.
31460         * stdlib/bug-getcontext.c: Likewise.
31462 2012-05-17  Andreas Jaeger  <aj@suse.de>
31464         * manual/examples/search.c (critter_cmp): Change signature to
31465         avoid warnings.
31466         * manual/string.texi (Collation Functions): Likewise.
31468 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31470         * bits/types.h: Fold copyright years.
31471         * bits/typesizes.h: Likewise.
31472         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31476         * time/time.h: Likewise.
31478 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31480         [BZ #208]
31481         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31482         in instead of returning them.  Return void.
31483         (__libc_mallinfo): Accumulate over all arenas.
31484         (__malloc_stats): Adjust for change in int_mallinfo interface.
31486 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31488         [BZ #10375]
31489         * configure.in (NM): Add AC_CHECK_TOOL for it.
31490         (libc_extra_cflags): New substituted variable.
31491         Check for -fstack-protector being used implicitly.
31492         * configure: Regenerated.
31493         * config.make.in (config-extra-cflags): New variable,
31494         gets @libc_extra_cflags@.
31495         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31497         [BZ #10375]
31498         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31499         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31500         * configure: Regenerated.
31501         * config.make.in (CPPUNDEFS): New substituted variable.
31502         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31503         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31504         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31506 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31508         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31509         (mq_attr): Use __syscall_slong_t.
31511 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31513         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31514         Check __x86_64__ instead of __WORDSIZE.
31515         (_STAT_VER_LINUX): Likewise.
31516         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31517         __syscall_ulong_t and __syscall_slong_t.
31518         (stat64): Likewise.
31520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31522         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31526         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31530         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31531         __syscall_ulong_t.
31533         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31534         include <bits/wordsize.h>.  Check __x86_64__ instead of
31535         __WORDSIZE.
31536         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31537         defined.
31538         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31541         include <bits/wordsize.h>.  Check __x86_64__ instead of
31542         __WORDSIZE.
31543         (user_regs_struct): Use "__extension__ unsigned long long"
31544         instead of "unsigned long" if __x86_64__ is defined.
31545         (user): Likewise.  Pad after pointer field if __ILP32__ is
31546         defined.
31548 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31550         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31551         versions 5 to 9.
31552         * configure: Regenerated.
31553         * manual/install.texi (texinfo): Increase version requirement to
31554         4.5 or later.
31555         * INSTALL: Regenerated.
31557         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31561         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31563         * sysdeps/x86_64/x32/ffs.c: New file.
31565         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31566         __syscall_ulong_t.
31567         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31568         defined.  Use __syscall_ulong_t.
31569         (shminfo): Use __syscall_ulong_t.
31570         (shm_info): Likewise.
31572         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31573         __syscall_ulong_t.
31575         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31576         <bits/wordsize.h>.
31577         (msgqnum_t): Use __syscall_ulong_t.
31578         (msglen_t): Likewise.
31579         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31580         __syscall_ulong_t.
31582         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31583         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31585         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31587         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31588         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31590         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31591         __syscall_slong_t.
31593         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31594         include <bits/wordsize.h>.  Check __x86_64__ instead of
31595         __WORDSIZE.
31597         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31598         "unsigned long long int" if __x86_64__ is defined.
31599         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31601         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31602         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31603         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31605         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31606         <stdint.h>.
31607         (GET_PC): Cast to uintptr_t first.
31608         (GET_FRAME): Likewise.
31609         (GET_STACK): Likewise.
31611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31612         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31613         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31614         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31615         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31616         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31617         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31618         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31619         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31620         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31621         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31622         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31623         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31624         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31625         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31626         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31627         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31628         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31629         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31630         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31631         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31632         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31633         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31634         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31635         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31636         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31637         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31638         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31639         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31641 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31643         * Makerules (+depfiles): Also collect depfiles from .oS in
31644         $(extra-objs).
31645         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31646         .oS, $(libnldbl-routines)).
31648         * Makerules (native-compile-mkdep-flags): Define.
31649         * sunrpc/Makefile (extra-objs): Add $(addprefix
31650         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31651         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31652         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31653         calling $(make-target-directory).
31655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31657         * bits/types.h (__snseconds_t): Removed.
31658         * time/time.h (struct timespec): Replace __snseconds_t with
31659         __syscall_slong_t.
31660         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31661         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31662         Likewise.
31663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31664         (__SNSECONDS_T_TYPE): Likewise.
31665         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31666         (__SNSECONDS_T_TYPE): Likewise.
31667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31668         (__SNSECONDS_T_TYPE): Likewise.
31670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31672         * sysdeps/mach/hurd/bits/typesizes.h
31673         (__SYSCALL_SLONG_TYPE): New macro.
31674         (__SYSCALL_ULONG_TYPE): Likewise.
31676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31678         * bits/types.h (__syscall_slong_t): New type.
31679         (__syscall_ulong_t): Likewise.
31681         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31682         (__SYSCALL_ULONG_TYPE): Likewise.
31683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31684         (__SYSCALL_SLONG_TYPE): Likewise.
31685         (__SYSCALL_ULONG_TYPE): Likewise.
31686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31687         (__SYSCALL_SLONG_TYPE): Likewise.
31688         (__SYSCALL_ULONG_TYPE): Likewise.
31689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31690         (__SYSCALL_SLONG_TYPE): Likewise.
31691         (__SYSCALL_ULONG_TYPE): Likewise.
31693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31695         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31696         Add sigaltstack-offsets.sym.
31697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31698         <sigaltstack-offsets.h>.
31699         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31700         longjmp_msg pointer.
31701         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31702         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31703         signal stack.
31704         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31706 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31708         * elf/stackguard-macros.h: Remove file.
31709         * sysdeps/generic/stackguard-macros.h: New file.
31710         * sysdeps/i386/stackguard-macros.h: Likewise.
31711         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31712         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31713         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31714         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31715         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31716         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31717         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31718         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31719         <elf/stackguard-macros.h>.
31721         [BZ #14109]
31722         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31723         __aligned__ in attribute.
31724         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31725         (gregset_t): Likewise.
31727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31729         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31730         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31731         * sysdeps/x86_64/x32/Implies-after: New file.
31733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31735         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31736         and access return value for _dl_profile_fixup.  Use R10_LP to
31737         load frame size.
31739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31741         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31745         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31746         * sysdeps/x86_64/x32/sysdep.h: New file.
31748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31750         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31751         * sysdeps/x86_64/setjmp.S: Likewise.
31753 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31756         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31757         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31758         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31759         remove unused global constant.
31761 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31763         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31764         include of <not-cancel.h>.
31766 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31768         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31770 2012-05-15  Jeff Law  <law@redhat.com>
31771             Andreas Jaeger  <aj@suse.de>
31773         [BZ #13594]
31774         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31775         out from...
31776         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31777         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31779         code changing __hst_map_handle.map.
31781 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31783         * configure.in (sysnames): Look for Implies-before and Implies-after
31784         files.
31785         * configure: Regenerated.
31787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31789         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31790         8-byte data alignment with LP_SIZE alignment.
31792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31794         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31795         into R10_LP.
31797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31799         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31803         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31804         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31805         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31806         Likewise.
31807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31811         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31812         (stackinfo_sub_sp): Likewise.
31814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31816         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31817         RAX_LP.
31819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31821         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31822         into R*_LP.
31824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31826         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31827         sizes into R*_LP.
31829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31831         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31835         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31836         into R11_LP and load __x86_64_shared_cache_size_half into
31837         R8_LP.
31839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31841         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31842         R8_LP.
31844 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31847         logb for POWER7.
31848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31849         logbf for POWER7.
31850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31851         logbl for POWER7.
31852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31853         powerpc32/power7/fpu/s_logb.c via #include.
31854         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31855         powerpc32/power7/fpu/s_logbf.c via #include.
31856         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31857         powerpc32/power7/fpu/s_logbl.c via #include.
31859 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31861         * README.libm: Remove file.
31863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31865         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31866         count for x32.  Use R*_LP and omit operand-size suffix.
31868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31870         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31871         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31872         * sysdeps/x86_64/x32/shlib-versions: New file.
31874 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31876         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31877         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31878         Use _dl_fatal_printf instead.
31880 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31882         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31883         set if not set by the user.  Do not allow for being unset.
31884         * sysdeps/unix/sysv/linux/configure: Regenerated.
31886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31888         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31889         the `q' suffix from lea and replace .quad with ASM_ADDR.
31891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31894         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31895         instead of $17.
31896         (PTR_DEMANGLE): Likewise.
31898 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31900         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31901         (LP_OP): Likewise.
31902         (ASM_ADDR): Likewise.
31903         (RAX_LP): Likewise.
31904         (RBP_LP): Likewise.
31905         (RBX_LP): Likewise.
31906         (RCX_LP): Likewise.
31907         (RDI_LP): Likewise.
31908         (RSI_LP): Likewise.
31909         (RSP_LP): Likewise.
31910         (R8_LP): Likewise.
31911         (R9_LP): Likewise.
31912         (R10_LP): Likewise.
31913         (R10_LP): Likewise.
31914         (R11_LP): Likewise.
31915         (R12_LP): Likewise.
31916         (R13_LP): Likewise.
31917         (R14_LP): Likewise.
31918         (R15_LP): Likewise.
31920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31922         * sysdeps/x86_64/x32/dl-machine.h: New file.
31924 2012-05-14  Andreas Jaeger  <aj@suse.de>
31926         * manual/Makefile (subdir): Remove export of subdir.
31927         (all): Remove target.
31928         (.PHONY): Remove all from list.
31929         (mkinstalldirs): Remove.
31930         (.PHONY): Remove installdirs from list.
31931         ($(inst_infodir)/libc.info): Use make-target-directory.
31932         (installdirs): Remove.
31933         (subdir_%): Remove.
31934         (glibc-targets): Remove.
31935         (lib): Remove.
31936         (stubs): Remove.
31937         ($(objpfx)stubs ../po/manual.pot): Remove.
31938         ($(objpfx)stamp%): Remove.
31939         (make-target-directory): Remove.
31940         (subdir_install): Remove.
31941         (routines): Remove.
31942         (aux): Remove.
31943         (sources): Remove.
31944         (objects): Remove.
31945         (headers): Remove.
31947         [BZ #13750]
31948         * manual/.gitignore: Remove, it's not needed anymore.
31949         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31950         all files in it.
31951         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31952         directory.
31953         (texis): Renamed to $(objpfx)texis.
31954         (texis-path): New, contains path to generated files.
31955         (chapters.%): Use texis-path for complete path, add extra argument
31956         libc-texinfo.sh.
31957         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31958         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31959         (summary,texi, stamp-summary): Use complete path of
31960         files. Generate files in build dir.
31961         (dir-add.texi): Build in build dir.
31962         (libm-err.texi,stamp-libm-err): Likewise.
31963         (version.texi, stamp-version): Likewise.
31964         (.%c.texi): Likewise.
31965         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31966         (mostlyclean): Remove target.
31967         (realclean): Remove target.
31968         (generated): Add new variable with contents from mostlyclean and
31969         realclean, remove entries duplicated in common-mostlyclean, add
31970         stamp-libm-err and stamp-version.
31971         (generated-dirs): Add libc directory.
31972         ($(inst_infodir)/libc.info): Install files from build dir.
31974         * manual/install.texi (Configuring and compiling): Adjust since
31975         the info files are not part of the tar ball anymore.
31977 2012-05-14  Andreas Jaeger  <aj@suse.de>
31979         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31980         variable.
31982 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31984         [BZ #13717]
31985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31986         to 2.2.0 where earlier.
31987         * sysdeps/unix/sysv/linux/configure: Regenerated.
31988         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31989         Remove conditional code.
31990         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31991         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31992         Remove conditional code.
31993         [!__NR_lchown]: Likewise.
31994         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31995         [__NR_lchown]: Likewise.
31996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31997         comment referencing __ASSUME_LCHOWN_SYSCALL.
31998         * sysdeps/unix/sysv/linux/i386/sigaction.c
31999         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32000         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32001         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32002         Remove conditional code.
32003         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32004         (__protocol_available): Remove #if 0 code.
32005         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32006         conditional code.
32007         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32008         * sysdeps/unix/sysv/linux/kernel-features.h
32009         (__ASSUME_GETCWD_SYSCALL): Don't define.
32010         (__ASSUME_REALTIME_SIGNALS): Likewise.
32011         (__ASSUME_PREAD_SYSCALL): Likewise.
32012         (__ASSUME_PWRITE_SYSCALL): Likewise.
32013         (__ASSUME_POLL_SYSCALL): Likewise.
32014         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32015         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32016         non-SPARC.
32017         (__ASSUME_SIOCGIFNAME): Don't define.
32018         (__ASSUME_MSG_NOSIGNAL): Likewise.
32019         (__ASSUME_SENDFILE): Define unconditionally.
32020         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32021         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32022         conditional code.
32023         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32024         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32025         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32026         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32027         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32028         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32029         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32034         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32040         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32046         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32052         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32054         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32055         Remove conditional code.
32056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32057         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32058         Remove conditional code.
32059         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32060         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32061         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32062         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32063         Remove conditional code.
32064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32065         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32066         Remove conditional code.
32067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32068         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32069         Remove conditional code.
32070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32071         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32072         Remove conditional code.
32073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32074         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32075         Remove conditional code.
32076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32077         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32080         * sysdeps/unix/sysv/linux/sigaction.c
32081         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32082         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32083         * sysdeps/unix/sysv/linux/sigpending.c
32084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32086         * sysdeps/unix/sysv/linux/sigprocmask.c
32087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32089         * sysdeps/unix/sysv/linux/sigsuspend.c
32090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32092         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32093         (__libc_missing_rt_sigs): Remove.
32094         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32095         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32096         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32097         Remove conditional code.
32098         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32099         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32100         return 1.
32101         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32102         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32103         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32104         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32106 2012-05-14  Andreas Jaeger  <aj@suse.de>
32108         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32109         it's not used in glibc.
32110         (__coshm1): Likewise.
32111         (__acosh1p): Likewise.
32112         (__sgn): Likewise.
32114         * manual/string.texi (Copying and Concatenation): Add missing
32115         variable in concat example.
32116         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32120         [BZ #14103]
32121         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32122         __builtin_clzl with __builtin_clzll.
32124 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32126         [BZ #14104]
32127         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32128         libc_freeres_ptr.
32130 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32132         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32133         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32134         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32135         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32137 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32139         * NEWS: Update ia64 info.
32141 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32143         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32144         used as bcopy.
32146 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32148         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32149         * sysdeps/unix/syscalls.list (dup3): Likewise.
32150         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32151         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32153 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32155         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32156         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32158 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32160         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32161         thread pointer.
32162         (TLS_IE): Use mov/add instead of movq/addq to load thread
32163         pointer.
32164         (TLS_GD_PREFIX): New.
32165         (TLS_GD): Use it.
32167 2012-05-11  David S. Miller  <davem@davemloft.net>
32169         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32170         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32171         (_FPU_SETCW): Likewise.
32173 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32175         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32176         is 32-byte aligned.
32178 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32180         [BZ #11837]
32181         * iconvdata/gb18030.c: Update tables.
32182         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32183         characters specially.
32184         (BODY for TO_LOOP): Add encoding of missing ranges.
32186 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32188         [BZ #13673]
32189         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32190         * sysdeps/mach/hurd/dup3.c: Likewise.
32191         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32192         * sysdeps/powerpc/memmove.c:: Likewise.
32194 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32197         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32199 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32201         * elf/elf.h (R_X86_64_RELATIVE64): New.
32202         (R_X86_64_NUM): Updated.
32203         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32204         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32205         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32206         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32207         tst-quad1pie tst-quad2pie
32208         (modules-names): Add tst-quadmod1 tst-quadmod2.
32209         ($(objpfx)tst-quad1): New dependency.
32210         ($(objpfx)tst-quad2): Likewise.
32211         ($(objpfx)tst-quad1pie): Likewise.
32212         ($(objpfx)tst-quad2pie): Likewise.
32213         * sysdeps/x86_64/tst-quad1.c: New file.
32214         * sysdeps/x86_64/tst-quad1pie.c: New file.
32215         * sysdeps/x86_64/tst-quad2.c: Likewise.
32216         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32217         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32218         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32219         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32220         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32224         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32225         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32226         * streams/stropts.h (t_scalar_t): Define type.
32228         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32229         (_PATH_PRESERVE): Set to "/var/lib".
32230         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32232         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32233         instead of int.
32235         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32236         if __dir_mkfile succeeded.
32238         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32239         checking for _hurd_dtablesize.  Unlock it right after having
32240         finished _hurd_dtable allocation.
32242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32244         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32245         * sysdeps/mach/hurd/configure: Regenerated.
32246         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32247         special-casing to...
32248         * sysdeps/gnu/configure.in: ... this new file.
32249         * sysdeps/unix/sysv/linux/configure: Regenerated.
32250         * sysdeps/gnu/configure: New generated file.
32252         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32253         for Linux: use nsec instead of usec, as well as:
32254         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32255         members of type struct timespec.
32256         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32257         New macros.
32258         (struct stat64): Likewise.
32259         (_STATBUF_ST_NSEC): New macro.
32260         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32262         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32263         __strtoul_internal rather than strtoul.
32265 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32267         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32268         and reject them.
32270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32272         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32273         which preserves existing values.
32274         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32276 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32278         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32279         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32280         greater than FD_SETSIZE.
32282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32284         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32285         allocated, call __vm_protect to finish enabling the existing space, and
32286         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32287         allocate the remainder.
32289 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32291         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32292         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32296         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32297         sysdeps/mach/hurd/readlink.c.
32299         * posix/tst-sysconf.c (posix_options): Only use
32300         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32301         _POSIX_SYNCHRONIZED_IO when they are defined
32302         * sysdeps/mach/hurd/bits/posix_opt.h:
32303         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32304         (_XOPEN_REALTIME): Undefine macro.
32305         (_XOPEN_REALTIME_THREADS): Undefine macro.
32306         (_XOPEN_SHM): Undefine macro.
32307         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32308         macro to -1.
32309         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32310         macro to -1.
32311         (_POSIX_ASYNC_IO): Undefine macro.
32312         (_POSIX_PRIORITIZED_IO): Undefine macro.
32313         (_POSIX_SPIN_LOCKS): Define macro to -1.
32315         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32316         SA_NODEFER, SA_RESETHAND.
32317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32318         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32319         F_DUPFD_CLOEXEC.
32321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32323         * elf/Makefile (pldd-modules): Define unconditionally.
32325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32327         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32331         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32332         Return ENOENT when name is empty.
32333         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32337         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32339         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32343         Fix mlock in all cases except non-readable pages.
32344         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32345         instead of VM_PROT_ALL as parameter to __vm_wire function.
32347         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32348         (__mkdir): When path is `/', just fail with EEXIST.
32349         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32353         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32354         <sys/uio.h> (for writev).
32355         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32356         and <sys/param.h> (for MIN).
32358 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32360         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32361         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32362         if interrupted.
32364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32366         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32367         Depend on against $(link-rpcuserlibs).
32369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32371         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32372         (__libc_stack_end): Do not use attribute_relro.
32373         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32374         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32375         to libthread-provided value.
32376         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32377         attribute_relro.
32379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32381         [BZ #3748]
32382         * bits/libc-lock.h (__libc_once_get): New macro.
32383         * sysdeps/mach/bits/libc-lock.h: Likewise.
32384         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32385         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32386         instead of using implementation details.
32388         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32389         * libio/freopen.c: Likewise.
32390         * libio/freopen64.c: Likewise.
32391         * misc/syslog.c: Likewise.
32392         * nscd/connections.c: Likewise.
32393         * nscd/netgroupcache.c: Likewise.
32394         * sysdeps/posix/getcwd.c: Likewise.
32396 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32398         * math/w_ilogbf.c: Add #include <limits.h>.
32400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32402         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32403         path instead of returning without unlocking.
32405         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32406         immediate-write ioctls.
32407         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32411         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32412         __builtin_frame_address instead of making assumptions about the
32413         location of the return address relative to DATA.  Force early load of
32414         the return address.
32415         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32416         __builtin_frame_address.
32418         dup3 for GNU Hurd.
32419         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32420         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32421         implement dup3 and do some further code clean-ups.
32422         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32423         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32427         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32429         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32430         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32431         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32432         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32433         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32434         d->port.lock.
32436         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32437         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32438         when handler == SIG_ERR, not when handler != SIG_ERR.
32440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32442         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32443         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32444         definitions.
32446         accept4 for GNU Hurd.
32447         * include/sys/socket.h (__libc_accept4): New prototype.
32448         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32449         to implement __libc_accept4.
32450         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32451         __libc_accept4.
32452         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32454         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32455         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32456         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32457         signal-defines.sym.
32459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32461         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32465         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32466         assertion on O_CLOEXEC flag.
32467         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32468         * hurd/intern-fd.c: Likewise.
32469         * hurd/port2fd.c: Likewise.
32471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32473         [BZ #3906]
32474         * bits/in.h (IPV6_PKTINFO): Define new macro.
32475         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32477 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32479         [BZ #13954]
32480         [BZ #13955]
32481         [BZ #13956]
32482         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32483         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32484         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32485         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32487         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32488         * math/libm-test.inc (logb_test) : Additional logb tests.
32490 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32491             Andreas Jaeger  <aj@suse.de>
32493         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32494         * configure: Regenerated.
32495         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32496         * config.make.in (link-obsolete-rpc): New substituted variable.
32497         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32498         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32499         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32500         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32501         so that libc.a contains the symbols.
32502         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32503         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32504         * sunrpc/auth_none.c: Likewise.
32505         * sunrpc/auth_unix.c: Likewise.
32506         * sunrpc/authdes_prot.c: Likewise.
32507         * sunrpc/authuxprot.c: Likewise.
32508         * sunrpc/clnt_gen.c: Likewise.
32509         * sunrpc/clnt_perr.c: Likewise.
32510         * sunrpc/clnt_raw.c: Likewise.
32511         * sunrpc/clnt_simp.c: Likewise.
32512         * sunrpc/clnt_tcp.c: Likewise.
32513         * sunrpc/clnt_udp.c: Likewise.
32514         * sunrpc/clnt_unix.c: Likewise.
32515         * sunrpc/des_crypt.c: Likewise.
32516         * sunrpc/des_soft.c: Likewise.
32517         * sunrpc/get_myaddr.c: Likewise.
32518         * sunrpc/key_call.c: Likewise.
32519         * sunrpc/key_prot.c: Likewise.
32520         * sunrpc/netname.c: Likewise.
32521         * sunrpc/pm_getmaps.c: Likewise.
32522         * sunrpc/pm_getport.c: Likewise.
32523         * sunrpc/pmap_clnt.c: Likewise.
32524         * sunrpc/pmap_prot.c: Likewise.
32525         * sunrpc/pmap_prot2.c: Likewise.
32526         * sunrpc/pmap_rmt.c: Likewise.
32527         * sunrpc/publickey.c: Likewise.
32528         * sunrpc/rpc_cmsg.c: Likewise.
32529         * sunrpc/rpc_common.c: Likewise.
32530         * sunrpc/rpc_dtable.c: Likewise.
32531         * sunrpc/rpc_prot.c: Likewise.
32532         * sunrpc/rpc_thread.c: Likewise.
32533         * sunrpc/rtime.c: Likewise.
32534         * sunrpc/svc.c: Likewise.
32535         * sunrpc/svc_auth.c: Likewise.
32536         * sunrpc/svc_raw.c: Likewise.
32537         * sunrpc/svc_run.c: Likewise.
32538         * sunrpc/svc_tcp.c: Likewise.
32539         * sunrpc/svc_udp.c: Likewise.
32540         * sunrpc/svc_unix.c: Likewise.
32541         * sunrpc/svcauth_des.c: Likewise.
32542         * sunrpc/xcrypt.c: Likewise.
32543         * sunrpc/xdr.c: Likewise.
32544         * sunrpc/xdr_array.c: Likewise.
32545         * sunrpc/xdr_float.c: Likewise.
32546         * sunrpc/xdr_intXX_t.c: Likewise.
32547         * sunrpc/xdr_mem.c: Likewise.
32548         * sunrpc/xdr_rec.c: Likewise.
32549         * sunrpc/xdr_ref.c: Likewise.
32550         * sunrpc/xdr_sizeof.c: Likewise.
32551         * sunrpc/xdr_stdio.c: Likewise.
32553 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32556         change.  Update copyright years.
32558 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32560         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32562 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32563             Joseph Myers  <joseph@codesourcery.com>
32564             Paul Pluzhnikov  <ppluzhnikov@google.com>
32566         [BZ #14012]
32567         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32568         requiring rpcgen.
32569         [cross-compiling] (extra-libs): Likewise.
32570         [cross-compiling] (extra-libs-others): Likewise.
32571         [cross-compiling] (librpcsvc-routines): Likewise.
32572         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32573         [cross-compiling] (omit-deps): Likewise.
32574         (sunrpc-CPPFLAGS): New variable.
32575         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32576         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32577         (cross-rpcgen-objs): New variable.
32578         (extra-objs): Append $(cross-rpcgen-objs).
32579         ($(cross-rpcgen-objs)): New rule.
32580         ($(objpfx)cross-rpcgen): Likewise.
32581         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32582         comment.
32583         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32584         ($(objpfx)x%.stmp): Likewise.
32585         * sunrpc/proto.h [IS_IN_build] (_): Define.
32586         [IS_IN_build] (_libc_intl_domainname): Likewise.
32588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32591         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32592         and R_X86_64_TPOFF64.
32594 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32596         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32597         sysdeps/unix/sysv/syscalls.list.
32598         (stime): Likewise.
32599         (utime): Likewise.
32600         * sysdeps/unix/sysv/syscalls.list: Remove file.
32602 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32604         [BZ #3440]
32605         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32606         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32607         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32608         (__LC_IDENTIFICATION): Make these macros useful in #if
32609         expressions, as required by C99.
32611 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32613         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32614         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32615         after this.
32617 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32619         * stdlib/longlong.h: Updated from GCC.
32621 2012-05-09  Andreas Jaeger  <aj@suse.de>
32623         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32624         default is first entry.
32625         (run_mode): Set type.
32626         (main): Remove informal message about syslog.
32627         (options): Fix typo.
32629         [BZ #14053]
32630         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32631         to asm.
32632         (lrint): Likewise.
32633         (llrintf): Likewise.
32634         (llrint): Likewise.
32635         (rint): Likewise.
32636         (rintf): Likewise.
32637         (nearbyint): Likewise.
32638         (nearbyintf): Likewise.
32640 2012-05-09  Andreas Jaeger  <aj@suse.de>
32641             Pedro Alves  <palves@redhat.com>
32643         * nscd/nscd.c (run_mode): Use enum.
32644         (main): Cleanup coding style issue.
32646 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32647             Andreas Jaeger  <aj@suse.de>
32649         * nscd/nscd.c (go_background): Replaced with...
32650         (run_mode): ... this.
32651         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32652         (options): Add -F --foreground.
32653         (main): Implement it.
32654         (parse_opt): Parse it.
32656 2012-05-09  Andreas Jaeger  <aj@suse.de>
32658         [BZ #14083]
32659         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32660         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32661         -Wconversion warning.
32662         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32663         Likewise.
32665 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32667         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32668         == 0.
32669         (LC_ALL): Use macro-int-constant.
32670         (LC_COLLATE): Likewise.
32671         (LC_CTYPE): Likewise.
32672         (LC_MESSAGES): Likewise.
32673         (LC_MONETARY): Likewise.
32674         (LC_NUMERIC): Likewise.
32675         (LC_TIME): Likewise.
32676         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32677         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32679         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32680         Specify type.
32681         [C99-based standards] (float_t): Expect type.
32682         [C99-based standards] (double_t): Expect type.
32683         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32684         type.
32685         [C99-based standards] (HUGE_VALL): Likewise.
32686         [C99-based standards] (INFINITY): Likewise.
32687         [C99-based standards] (NAN): Likewise.
32688         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32689         [C99-based standards] (FP_NAN): Likewise.
32690         [C99-based standards] (FP_NORMAL): Likewise.
32691         [C99-based standards] (FP_SUBNORMAL): Likewise.
32692         [C99-based standards] (FP_ZERO): Likewise.
32693         [C99-based standards] (FP_FAST_FMA): Use
32694         optional-macro-int-constant.  Specify type.  Require == 1.
32695         [C99-based standards] (FP_FAST_FMAF): Likewise.
32696         [C99-based standards] (FP_FAST_FMAL): Likewise.
32697         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32698         [C99-based standards] (FP_ILOGBNAN): Likewise.
32699         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32700         Specify type.
32701         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32702         [C99-based standards] (math_errhandling): Specify type.
32703         [ISO99 || ISO11] (signgam): Do not allow.
32704         [non-C99-based standards] (copysignf): Do not allow.
32705         [non-C99-based standards] (exp2f): Likewise.
32706         [non-C99-based standards] (log2f): Likewise.
32707         [non-C99-based standards] (modff): Allow.
32708         [non-C99-based standards] (erff): Do not allow.
32709         [non-C99-based standards] (erfcf): Likewise.
32710         [non-C99-based standards] (gammaf): Likewise.
32711         [non-C99-based standards] (hypotf): Likewise.
32712         [non-C99-based standards] (j0f): Likewise.
32713         [non-C99-based standards] (j1f): Likewise.
32714         [non-C99-based standards] (jnf): Likewise.
32715         [non-C99-based standards] (lgammaf): Likewise.
32716         [non-C99-based standards] (tgammaf): Likewise.
32717         [non-C99-based standards] (y0f): Likewise.
32718         [non-C99-based standards] (y1f): Likewise.
32719         [non-C99-based standards] (ynf): Likewise.
32720         [non-C99-based standards] (isnanf): Likewise.
32721         [non-C99-based standards] (acoshf): Likewise.
32722         [non-C99-based standards] (asinhf): Likewise.
32723         [non-C99-based standards] (atanhf): Likewise.
32724         [non-C99-based standards] (cbrtf): Likewise.
32725         [non-C99-based standards] (expm1f): Likewise.
32726         [non-C99-based standards] (ilogbf): Likewise.
32727         [non-C99-based standards] (log1pf): Likewise.
32728         [non-C99-based standards] (logbf): Likewise.
32729         [non-C99-based standards] (nextafterf): Likewise.
32730         [non-C99-based standards] (remainderf): Likewise.
32731         [non-C99-based standards] (rintf): Likewise.
32732         [non-C99-based standards] (scalbf): Likewise.
32733         [non-C99-based standards] (copysignl): Likewise.
32734         [non-C99-based standards] (exp2l): Likewise.
32735         [non-C99-based standards] (log2l): Likewise.
32736         [non-C99-based standards] (modfl): Allow.
32737         [non-C99-based standards] (erfl): Do not allow.
32738         [non-C99-based standards] (erfcl): Likewise.
32739         [non-C99-based standards] (gammal): Likewise.
32740         [non-C99-based standards] (hypotl): Likewise.
32741         [non-C99-based standards] (j0l): Likewise.
32742         [non-C99-based standards] (j1l): Likewise.
32743         [non-C99-based standards] (jnl): Likewise.
32744         [non-C99-based standards] (lgammal): Likewise.
32745         [non-C99-based standards] (tgammal): Likewise.
32746         [non-C99-based standards] (y0l): Likewise.
32747         [non-C99-based standards] (y1l): Likewise.
32748         [non-C99-based standards] (ynl): Likewise.
32749         [non-C99-based standards] (isnanl): Likewise.
32750         [non-C99-based standards] (acoshl): Likewise.
32751         [non-C99-based standards] (asinhl): Likewise.
32752         [non-C99-based standards] (atanhl): Likewise.
32753         [non-C99-based standards] (cbrtl): Likewise.
32754         [non-C99-based standards] (expm1l): Likewise.
32755         [non-C99-based standards] (ilogbl): Likewise.
32756         [non-C99-based standards] (log1pl): Likewise.
32757         [non-C99-based standards] (logbl): Likewise.
32758         [non-C99-based standards] (nextafterl): Likewise.
32759         [non-C99-based standards] (remainderl): Likewise.
32760         [non-C99-based standards] (rintl): Likewise.
32761         [non-C99-based standards] (scalbl): Likewise.
32762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32763         [non-C99-based standards] (FP_*): Do not allow.
32764         [C99-based standards] (FP_*): Change to
32765         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32766         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32767         allow.
32768         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32769         (SIG_ERR): Likewise.
32770         [X/Open-based standards] (SIG_HOLD): Likewise.
32771         (SIG_IGN): Likewise.
32772         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32773         positive value.
32774         (SIGFPE): Likewise.
32775         (SIGILL): Likewise.
32776         (SIGINT): Likewise.
32777         (SIGSEGV): Likewise.
32778         (SIGTER): Likewise.
32779         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32780         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32781         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32782         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32783         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32784         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32785         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32786         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32787         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32788         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32789         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32790         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32791         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32792         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32793         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32794         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32795         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32796         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32797         [X/Open-based standards] (SIGTRAP): Likewise.
32798         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32799         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32800         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32801         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32802         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32803         allow.
32805 2012-05-08  Ian Wienand  <ianw@vmware.com>
32807         [BZ #14080]
32808         * time/tzset.c (__tzset_parse_tz): Update default rules for
32809         daylight time changes in the Energy Policy Act of 2005.
32811 2012-05-09  Andreas Jaeger  <aj@suse.de>
32813         [BZ #13983]
32814         * elf/ldconfig.c (parse_conf): Change string to make clear that
32815         ldconfig only issued a warning if ld.so.conf does not exist.
32817 2012-05-08  David S. Miller  <davem@davemloft.net>
32819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32820         movxtod instead of popping the value on the stack.
32822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32824 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32826         * config.h.in: Add HAVE_ARM_PCS_VFP.
32828 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32830         [BZ #13979]
32831         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32832         checking but the checks are disabled for any reason.
32834 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32836         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32837         and ELF64_R_TYPE with ELFW(R_TYPE).
32839 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32841         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32842         (ulimit): Likewise.
32844         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32845         (settimeofday): Likewise.
32847 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32849         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32850         a struct th_u2 inside the union, and move tu_block/tu_code into
32851         a new th_u3 union of tu_block/tu_code inside of that.  Move
32852         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32853         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32854         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32855         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32856         (th_stuff): Change to th_u1.tu_stuff.
32857         (th_data): Define.
32858         (th_msg): Change to th_u1.th_u2.tu_data.
32860 2012-05-07  David S. Miller  <davem@davemloft.net>
32862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864         [BZ #14074]
32865         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32866         (SETUP_PIC_REG): Use it.
32867         (SETUP_PIC_REG_LEAF): Use it.
32869 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32871         [BZ #13885]
32872         [BZ #13923]
32873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32874         USE_AS_EXPM1L.
32875         (EXPL_FINITE): Likewise.
32876         (FLDLOG): Likewise.
32877         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32878         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32879         e_expl.S.
32880         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32881         USE_AS_EXPM1L.
32882         (EXPL_FINITE): Likewise.
32883         (FLDLOG): Likewise.
32884         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32885         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32886         e_expl.S.
32887         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32888         test of -max_value argument for long double.
32889         * sysdeps/i386/fpu/libm-test-ulps: Update.
32890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32892 2012-05-06  David S. Miller  <davem@davemloft.net>
32894         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32895         quad soft-float symbols whose references which are compiler
32896         generated.
32897         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32899 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32901         [BZ #13884]
32902         [BZ #13914]
32903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32904         USE_AS_EXP10L.
32905         (EXPL_FINITE): Likewise.
32906         (FLDLOG): Likewise.
32907         (c0): Likewise.
32908         (c1): Likewise.
32909         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32910         Adjust comments for base varying.
32911         (__expl_finite): Change alias to EXPL_FINITE.
32912         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32913         e_expl.S.
32914         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32915         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32916         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32917         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32919         USE_AS_EXP10L.
32920         (EXPL_FINITE): Likewise.
32921         (FLDLOG): Likewise.
32922         (c0): Likewise.
32923         (c1): Likewise.
32924         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32925         Adjust comments for base varying.
32926         (__expl_finite): Change alias to EXPL_FINITE.
32927         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32928         tests for bugs.
32929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32931         [BZ #14064]
32932         * math/libm-test.inc (check_float_internal): Correct ulp
32933         calculation for subnormal expected results.
32935 2012-05-06  Andreas Jaeger  <aj@suse.de>
32937         * Makeconfig (+math-flags): New, set to -frounding-math.
32938         (+cflags): Add +math-flags so that all of glibc gets compiled with
32939         it.
32941         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32943 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32945         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32946         Disable one test.
32948         [BZ #13787]
32949         [BZ #13922]
32950         [BZ #14036]
32951         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32952         (__ieee754_expl): Allow for and saturate large arguments.
32953         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32954         (u_threshold): Likewise.
32955         (__exp): Call __ieee754_exp before checking for overflow and
32956         underflow.
32957         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32958         (u_threshold): Likewise.
32959         (__expf): Call __ieee754_expf before checking for overflow and
32960         underflow.
32961         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32962         (u_threshold): Likewise.
32963         (__expl): Call __ieee754_expl before checking for overflow and
32964         underflow.
32965         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32966         (__ieee754_expl): Allow for and saturate large arguments.
32967         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32968         missing overflow exception on overflow.
32969         (expm1_test): Do not allow missing overflow exception on overflow.
32971         * sysdeps/i386/fpu/e_expl.c: Move to ...
32972         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32973         rather than using inline asm.
32974         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32975         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32976         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32978         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32979         (nice): Likewise.
32980         (poll): Likewise.
32981         (signal): Likewise.
32982         (time): Likewise.
32983         (times): Likewise.
32985 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32987         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32988         sysdeps/unix/common/syscalls.list.
32989         (fchmod): Likewise.
32990         (fchown): Likewise.
32991         (ftruncate): Likewise.
32992         (getrusage): Likewise.
32993         (gettimeofday): Likewise.
32994         (setpgid): Likewise.
32995         (setregid): Likewise.
32996         (setreuid): Likewise.
32997         (sigaction): Likewise.
32998         (truncate): Likewise.
32999         (vhangup): Likewise.
33000         * sysdeps/unix/common/syscalls.list: Remove file.
33001         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33002         * sysdeps/unix/sysv/linux/Implies: Likewise.
33004 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33006         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33008         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33009         Moved to ...
33010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33011         Here.
33012         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33013         to ...
33014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33015         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33016         to ...
33017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33018         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33019         to ...
33020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33021         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33022         to ...
33023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33024         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33025         to ...
33026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33027         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33028         to ...
33029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33030         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33031         to ...
33032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33033         Here.
33034         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33035         to ...
33036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33037         Here.
33038         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33039         to ...
33040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33041         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33042         Moved to ...
33043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33044         Here.
33045         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33046         to ...
33047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33049 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33051         * sysdeps/unix/common/bits/dirent.h: Remove file.
33052         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33054         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33055         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33056         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33057         * sysdeps/unix/bsd/isatty.c: Likewise.
33058         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33059         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33060         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33062 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33064         [BZ #13563]
33065         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33066         long double comparison inaccuracies.
33067         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33070 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33072         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33075 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33077         [BZ #14049]
33078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33079         nonzero digits before rounding a hex value.
33080         * stdlib/tst-strtod.c (tests): Add another test.
33082 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33084         * sysdeps/s390/fpu/libm-test-ulps: Update.
33086 2012-05-03  Andreas Jaeger  <aj@suse.de>
33088         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33089         does not get optimized out.
33090         (malloc_opt_barrier): New.
33092 2012-05-03  Andreas Jaeger  <aj@suse.de>
33093             Roland McGrath  <roland@hack.frob.com>
33095         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33096         intermediate file deletion.
33097         (generated): Add .symlist files.
33099 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33101         [BZ #13775]
33102         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33103         Redirect under this condition.
33104         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33105         [__USE_GNU] (__dprintf_chk): Not under this condition.
33106         [__USE_GNU] (__vdprintf_chk): Likewise.
33107         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33108         under this condition.
33109         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33110         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33111         [__USE_XOPEN2K8] (vdprintf): Likewise.
33112         [__USE_GNU] (__dprintf_chk): Not under this condition.
33113         [__USE_GNU] (__vdprintf_chk): Likewise.
33114         [__USE_GNU] (dprintf): Likewise.
33115         [__USE_GNU] (vdprintf): Likewise.
33117 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33119         * elf/Makefile (common-generated): Set this instead of generated for
33120         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33121         $(all-built-dso)-derived lists.
33123 2012-05-03  Andreas Jaeger  <aj@suse.de>
33125         * sysdeps/i386/fpu/libm-test-ulps: Update.
33127         * FAQ: Removed.
33128         * FAQ.in: Likewise.
33129         * scripts/gen-FAQ.pl: Likewise.
33130         * manual/install.texi (Installation): Point to online location of
33131         FAQ.
33132         * Makefile (files-for-dist): Remove FAQ.
33133         (FAQ): Remove.
33135 2012-05-02  Allan McRae  <allan@archlinux.org>
33137         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33138         (LDFLAGS-reldepmod5.so): Likewise.
33139         (LDFLAGS-reldep6mod1.so): Likewise.
33140         (LDFLAGS-reldep6mod4.so): Likewise.
33141         (LDFLAGS-reldep8mod3.so): Likewise.
33142         (LDFLAGS-unload4mod1.so): Likewise.
33143         (LDFLAGS-unload4mod2.so): Likewise.
33144         (LDFLAGS-tst-initorder): Likewise.
33145         (LDFLAGS-tst-initordera2.so): Likewise.
33146         (LDFLAGS-tst-initordera3.so): Likewise.
33147         (LDFLAGS-tst-initordera4.so): Likewise.
33148         (LDFLAGS-tst-initorderb2.so): Likewise.
33149         (LDFLAGS-noload): Likewise.
33150         (LDFLAGS-next): Likewise.
33151         (LDFLAGS-order2mod1.so): Likewise.
33152         (LDFLAGS-order2mod2.so): Likewise.
33153         (LDFLAGS-tst-initorder2): Likewise.
33154         (LDFLAGS-tst-initorder2a.so): Likewise.
33155         (LDFLAGS-tst-initorder2b.so): Likewise.
33156         (LDFLAGS-tst-initorder2c.so): Likewise.
33157         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33159 2012-05-02  David S. Miller  <davem@davemloft.net>
33161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33163 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33165         [BZ #14055]
33166         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33168 2012-05-02  Andreas Jaeger  <aj@suse.de>
33170         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33171         since we manipulate rounding mode.
33172         (CPPFLAGS-test-idouble.c): Likewise.
33173         (CPPFLAGS-test-ifloat.c): Likewise.
33174         (CFLAGS-test-ldouble.c): Likewise.
33175         (CFLAGS-test-double.c): Likewise.
33176         (CFLAGS-test-float.c): Likewise.
33177         (CFLAGS-test-misc.c): Likewise.
33178         (CFLAGS-test-test-fenv.c): Likewise.
33180 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33182         [BZ #2550]
33183         [BZ #2570]
33184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33185         comparisons to determine direction to adjust input.
33187 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33189         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33190         output to the target.
33192         * scripts/localplt.awk: New file.
33193         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33194         (check-localplt-CFLAGS): Variable removed.
33195         ($(all-built-dso:=.jmprel)): New static pattern rule.
33196         (generated): Add those targets.
33197         (localplt-built-dso): New variable.
33198         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33200         * elf/check-localplt.c: File removed.
33202         * scripts/check-execstack.awk: New file.
33203         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33204         (check-execstack-CFLAGS): Variable removed.
33205         ($(objpfx)check-execstack.h): Target removed.
33206         ($(objpfx)execstack-default): New target.
33207         (generated): Add that instead of check-execstack.h.
33208         ($(all-built-dso:=.phdr)): New static pattern rule.
33209         (generated): Add those targets.
33210         * elf/check-execstack.c: File removed.
33212         * scripts/check-textrel.awk: New file.
33213         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33214         (check-textrel-CFLAGS): Variable removed.
33215         (all-built-dso): Use := to define.o
33216         ($(all-built-dso:=.dyn)): New static pattern rule.
33217         (generated): Add those targets.
33218         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33219         * config.make.in (READELF): New substituted variable.
33220         * elf/check-textrel.c: File removed.
33222 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33224         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33225         allow.
33226         * conform/data/ctype.h-data [C99-based standards] (isblank):
33227         Expect function.
33228         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33229         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33231         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33232         Specify type.  Require positive value.
33233         (EILSEQ): Likewise.
33234         (ERANGE): Likewise.
33235         [ISO || POSIX] (EILSEQ): Do not expect.
33236         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33237         Specify type.  Require positive value.
33238         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33239         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33240         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33241         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33242         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33243         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33244         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33245         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33246         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33247         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33248         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33249         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33250         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33251         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33252         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33253         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33254         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33255         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33256         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33257         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33258         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33259         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33260         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33261         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33262         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33263         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33264         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33265         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33266         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33267         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33268         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33269         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33270         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33271         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33272         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33273         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33274         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33275         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33276         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33277         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33278         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33279         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33280         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33281         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33282         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33283         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33284         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33285         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33286         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33287         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33288         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33289         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33290         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33291         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33292         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33293         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33294         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33295         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33296         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33297         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33298         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33299         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33300         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33301         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33302         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33303         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33304         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33305         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33306         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33307         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33308         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33309         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33310         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33311         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33312         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33313         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33314         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33315         Require >= 2.
33316         (FLT_ROUNDS): Expect as macro, not constant.
33317         (FLT_MANT_DIG): Use macro-int-constant.
33318         (DBL_MANT_DIG): Likewise.
33319         (LDBL_MANT_DIG): Likewise.
33320         (FLT_DIG): Likewise.
33321         (DBL_DIG): Likewise.
33322         (LDBL_DIG): Likewise.
33323         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33324         (DBL_MIN_EXP): Likewise.
33325         (LDBL_MIN_EXP): Likewise.
33326         (FLT_MAX_EXP): Use macro-int-constant.
33327         (DBL_MAX_EXP): Likewise.
33328         (LDBL_MAX_EXP): Likewise.
33329         (FLT_MAX_10_EXP): Likewise.
33330         (DBL_MAX_10_EXP): Likewise.
33331         (LDBL_MAX_10_EXP): Likewise.
33332         (FLT_MAX): Use macro-constant.
33333         (DBL_MAX): Likewise.
33334         (LDBL_MAX): Likewise.
33335         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33336         (DBL_EPSILON): Likewise.
33337         (LDBL_EPSILON): Likewise.
33338         (FLT_MIN): Likewise.
33339         (DBL_MIN): Likewise.
33340         (LDBL_MIN): Likewise.
33341         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33342         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33343         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33344         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33345         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33346         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33347         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33348         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33349         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33350         [ISO11] (FLT_TRUE_MIN): Likewise.
33351         [ISO11] (LDBL_TRUE_MIN): Likewise.
33352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33353         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33354         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33355         (SCHAR_MAX): Likewise.
33356         (UCHAR_MAX): Likewise.
33357         (CHAR_MIN): Likewise.
33358         (CHAR_MAX): Likewise.
33359         (MB_LEN_MAX): Use macro-int-constant.
33360         (SHRT_MIN): Use macro-int-constant.  Specify type.
33361         (SHRT_MAX): Likewise.
33362         (USHRT_MAX): Likewise.
33363         (INT_MAX): Likewise.
33364         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33365         bound negative.
33366         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33367         bound with "U".
33368         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33369         bound with "L".
33370         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33371         bound negative.  Suffix upper bound with "L".
33372         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33373         bound with "UL".
33374         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33375         Specify type.
33376         [C99-based standards] (LLONG_MAX): Likewise.
33377         [C99-based standards] (ULLONG_MAX): Likewise.
33378         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33379         == 0.
33380         [ISO11] (max_align_t): Require type.
33381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33383         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33384         from $CFLAGS, without defining away __attribute__ calls.
33385         (checknamespace): Use $CFLAGS_namespace.
33387         * conform/conformtest.pl (@keywords): Only include C99 keywords
33388         for standards based on C99 or C11.
33390         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33391         Disable tests.
33392         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33393         UNIX98]: Likewise.
33395         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33396         usability of symbols in #if.
33398         * conform/conformtest.pl: If macro or constant types start
33399         "promoted:", expect the symbol to be of the following type
33400         promoted by the integer promotions.
33402         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33403         in one place.  Also handle "macro-constant".
33405         * conform/conformtest.pl: Only accept expected macro values with
33406         "==".  Parse all "macro" lines in one place.
33407         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33409         * conform/conformtest.pl: Handle braced types on "constant" lines
33410         instead of handling "typed-constant".
33411         * conform/data/signal.h-data: Use "constant" instead of
33412         "typed-constant".
33414         * conform/conformtest.pl: Handle "optional-" at start of lines in
33415         one place rather than duplicating several cases.  Handle each
33416         format of "macro" line with initial "optional-".
33418         * conform/conformtest.pl: Only accept expected constant or
33419         optional-constant values with "==".  Parse all "constant" lines in
33420         one place.  Parse all "optional-constant" lines in one place.
33421         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33422         * conform/data/fmtmsg.h-data: Likewise.
33423         * conform/data/netinet/in.h-data: Likewise.
33424         * conform/data/tar.h-data: Likewise.
33425         * conform/data/limits.h-data: Use "==" form on "constant" and
33426         "optional-constant" lines.
33428         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33429         Use -std=c99 for XOPEN2K.
33430         (@knownproblems): Remove.
33431         (newtoken): Don't check %isknown.
33433         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33434         Do not expect macro.
33435         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33436         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33437         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33438         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33439         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33440         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33441         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33442         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33443         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33444         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33445         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33446         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33447         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33448         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33449         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33450         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33451         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33452         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33453         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33454         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33455         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33456         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33457         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33458         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33459         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33460         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33461         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33462         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33463         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33464         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33465         [XPG3] (acosh): Likewise.
33466         [XPG3] (asinh): Likewise.
33467         [XPG3] (atanh): Likewise.
33468         [XPG3] (cbrt): Likewise.
33469         [XPG3] (expm1): Likewise.
33470         [XPG3] (ilogb): Likewise.
33471         [XPG3] (log1p): Likewise.
33472         [XPG3] (logb): Likewise.
33473         [XPG3] (nextafter): Likewise.
33474         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33475         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33476         [XPG3] (remainder): Likewise.
33477         [XPG3] (rint): Likewise.
33478         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33479         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33480         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33481         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33482         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33483         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33484         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33485         [UNIX98 || XOPEN2K] (scalb): Expect.
33486         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33487         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33488         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33489         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33490         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33491         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33492         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33493         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33494         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33495         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33496         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33497         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33498         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33499         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33500         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33501         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33502         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33503         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33504         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33505         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33506         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33507         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33508         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33509         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33510         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33511         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33512         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33513         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33514         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33515         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33516         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33517         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33518         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33519         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33520         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33521         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33522         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33523         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33524         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33525         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33526         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33527         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33528         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33529         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33530         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33531         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33532         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33533         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33534         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33535         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33536         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33537         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33538         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33539         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33540         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33541         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33542         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33543         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33544         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33545         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33546         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33547         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33548         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33549         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33550         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33551         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33552         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33553         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33554         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33555         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33556         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33557         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33558         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33559         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33560         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33561         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33562         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33563         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33564         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33565         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33566         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33567         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33568         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33569         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33570         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33571         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33572         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33573         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33574         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33575         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33576         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33577         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33578         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33579         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33580         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33581         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33582         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33583         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33584         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33585         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33586         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33587         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33588         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33589         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33590         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33591         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33592         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33593         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33594         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33595         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33596         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33597         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33598         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33599         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33600         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33601         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33602         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33603         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33604         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33605         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33606         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33607         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33608         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33609         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33610         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33611         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33612         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33613         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33614         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33615         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33616         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33617         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33618         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33619         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33620         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33621         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33622         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33624         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33625         _XOPEN_SOURCE_EXTENDED for XPG4.
33627         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33629         * Makeconfig (localtime): Remove variable.
33630         (inst_localtime-file): Likewise.
33632 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33635         Update.
33636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33637         Update.
33638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33639         Update.
33640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33641         Update.
33642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33643         Update.
33644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33645         Update.
33646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33647         Update.
33648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33649         Update.
33650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33651         Update.
33653 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33655         [BZ #2550]
33656         [BZ #2570]
33657         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33658         comparisons to determine direction to adjust input.
33659         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33660         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33662         Likewise.
33663         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33664         Likewise.
33665         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33666         Likewise.
33667         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33668         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33669         Likewise.
33670         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33671         Likewise.
33672         * math/libm-test.inc (nexttoward_test): Add more tests.
33674 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33676         [BZ #14040]
33677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33678         in version GLIBC_2.1, not GLIBC_2.0.
33679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33680         Likewise.
33682 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33684         [BZ #13942]
33685         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33686         (1 - x) * (1 + x).
33687         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33688         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33689         * math/libm-test.inc (acos_test): Add more tests.
33690         (asin_test): Likewise.
33691         * sysdeps/i386/fpu/libm-test-ulps: Update.
33692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33694         [BZ #14034]
33695         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33696         of square root.
33697         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33698         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33699         * math/libm-test.inc (acos_test_tonearest): New function.
33700         (acos_test_towardzero): Likewise.
33701         (acos_test_downward): Likewise.
33702         (acos_test_upward): Likewise.
33703         (asin_test_tonearest): Likewise.
33704         (asin_test_towardzero): Likewise.
33705         (asin_test_downward): Likewise.
33706         (asin_test_upward): Likewise.
33707         (main): Call the new functions.
33708         * sysdeps/i386/fpu/libm-test-ulps: Update.
33709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33711         [BZ #13884]
33712         [BZ #13924]
33713         * math/e_exp10.c: Include <float.h>.
33714         (__ieee754_exp10): Handle underflow here rather than multiplying
33715         large negative argument by M_LN10.
33716         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33717         of __ieee754_expf.
33718         * math/e_exp10l.c: Include <float.h>.
33719         (__ieee754_exp10l): Handle underflow here rather than multiplying
33720         large negative argument by M_LN10l.
33721         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33722         spurious overflow exception on underflow.
33724 2012-04-29  Marek Polacek  <polacek@redhat.com>
33726         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33727         (__fortify_function): New macro.
33728         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33729         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33730         __extern_always_inline.
33731         * libio/bits/stdio2.h: Likewise.
33732         * libio/bits/stdio.h: Likewise.
33733         * string/string.h: Likewise.
33734         * string/bits/string3.h: Likewise.
33735         * include/stdio.h: Likewise.
33736         * stdlib/bits/stdlib.h: Likewise.
33737         * stdlib/stdlib.h: Likewise.
33738         * rt/bits/mqueue2.h: Likewise.
33739         * rt/mqueue.h: Likewise.
33740         * posix/bits/unistd.h: Likewise.
33741         * posix/unistd.h: Likewise.
33742         * io/bits/poll2.h: Likewise.
33743         * io/bits/fcntl2.h: Likewise.
33744         * io/fcntl.h: Likewise.
33745         * io/sys/poll.h: Likewise.
33746         * misc/bits/syslog.h: Likewise.
33747         * misc/bits/syslog-ldbl.h: Likewise.
33748         * misc/sys/syslog.h: Likewise.
33749         * socket/bits/socket2.h: Likewise.
33750         * socket/sys/socket.h: Likewise.
33751         * debug/tst-chk1.c: Likewise.
33752         * wcsmbs/bits/wchar2.h: Likewise.
33753         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33754         * wcsmbs/wchar.h: Likewise.
33756 2012-04-29  Andreas Jaeger  <aj@suse.de>
33758         * Makerules (tests): Remove enable-check-abi protection.
33759         (check-abi-warn): Remove.
33760         (check-abi-%): Remove check-abi-warn usage.
33762         * configure.in: Remove check-abi configure option.
33763         * configure: Regenerated.
33764         * config.make.in (enable-check-abi): Remove.
33766 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33768         [BZ #14033]
33769         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33770         double functions to double *_finite functions.
33772         [BZ #13941]
33773         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33774         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33775         LDBL_MIN_EXP.
33776         * stdio-common/Makefile (tests): Add tst-sprintf3.
33777         * stdio-common/tst-sprintf3.c: New file.
33779         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33780         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33782 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33784         * conform/conformtest.pl: Remove duplicate typed-constant
33785         handling.
33787 2012-04-28  David S. Miller  <davem@davemloft.net>
33789         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33790         (check-abi-%): Remove AWK script prerequisite and explicit
33791         abilist directory.
33792         (check-abi): Rewrite to just diff the symlist with the abilist.
33793         (config-tls, config-abi-config): Delete, no longer used.
33794         (update-abi-%): Remove AWK script and explicit abilist directory.
33795         (update-abi): Rewrite to simply compare and conditionally copy the
33796         symlist and the sysdep abilist file.  Remove update-abi-config
33797         checks.
33798         * abilist/ld.abilist: Remove.
33799         * abilist/libBrokenLocale.abilist: Remove.
33800         * abilist/libanl.abilist: Remove.
33801         * abilist/libcrypt.abilist: Remove.
33802         * abilist/libdl.abilist: Remove.
33803         * abilist/librt.abilist: Remove.
33804         * abilist/libthread_db.abilist: Remove.
33805         * abilist/libutil.abilist: Remove.
33806         * scripts/extract-abilist.awk: Remove.
33807         * scripts/merge-abilist.awk: Remove.
33808         * sysdeps/generic/libcidn.abilist: New file.
33809         * sysdeps/generic/libnss_compat.abilist: New file.
33810         * sysdeps/generic/libnss_db.abilist: New file.
33811         * sysdeps/generic/libnss_dns.abilist: New file.
33812         * sysdeps/generic/libnss_files.abilist: New file.
33813         * sysdeps/generic/libnss_hesiod.abilist: New file.
33814         * sysdeps/generic/libnss_nis.abilist: New file.
33815         * sysdeps/generic/libnss_nisplus.abilist: New file.
33816         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33817         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33818         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33819         file.
33820         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33821         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33822         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33823         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33824         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33825         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33826         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33827         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33828         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33829         file.
33830         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33831         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33832         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33833         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33834         file.
33835         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33836         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33837         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33838         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33839         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33840         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33841         file.
33842         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33843         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33844         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33845         file.
33846         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33848         New file.
33849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33850         New file.
33851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33852         New file.
33853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33854         New file.
33855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33856         New file.
33857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33858         New file.
33859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33860         New file.
33861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33862         New file.
33863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33864         New file.
33865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33866         New file.
33867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33868         New file.
33869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33870         New file.
33871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33872         New file.
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33874         file.
33875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33876         New file.
33877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33878         New file.
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33880         file.
33881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33882         New file.
33883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33884         New file.
33885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33886         file.
33887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33888         New file.
33889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33890         New file.
33891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33892         New file.
33893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33894         New file.
33895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33896         New file.
33897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33898         New file.
33899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33901         file.
33902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33903         New file.
33904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33905         file.
33906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33907         file.
33908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33909         file.
33910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33911         file.
33912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33913         file.
33914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33915         New file.
33916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33917         file.
33918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33919         file.
33920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33921         New file.
33922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33923         file.
33924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33926         file.
33927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33928         New file.
33929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33930         file.
33931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33932         file.
33933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33934         file.
33935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33936         file.
33937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33938         file.
33939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33940         New file.
33941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33942         file.
33943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33944         file.
33945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33946         New file.
33947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33948         file.
33949         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33950         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33951         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33952         file.
33953         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33954         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33955         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33956         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33957         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33958         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33959         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33960         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33961         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33962         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33965         file.
33966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33967         New file.
33968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33969         file.
33970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33971         file.
33972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33973         file.
33974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33975         file.
33976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33977         file.
33978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33979         New file.
33980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33981         New file.
33982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33983         file.
33984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33985         New file.
33986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33987         file.
33988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33990         file.
33991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33992         New file.
33993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33994         file.
33995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33996         file.
33997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33998         file.
33999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34000         file.
34001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34002         file.
34003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34004         New file.
34005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34006         New file.
34007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34008         file.
34009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34010         New file.
34011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34012         file.
34014 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34016         * conform/conformtest.pl: Fix typo in handling typed-constant from
34017         allow-header.
34019 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34021         * README: Cut down references to pre-2.6 Linux kernels and
34022         Linuxthreads.  Update lists of configurations in libc and ports
34023         and sort alphabetically.  Say "or newer" with Linux kernel version
34024         requirements.
34026         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34028 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34030         [BZ #887]
34031         * math/libm-test.inc (logb_test_downward): New test to expose
34032         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34033         rounding mode.
34035 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34037         [BZ #14027]
34038         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34039         to be done.
34040         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34041         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34043 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34045         * sysdeps/unix/i386/brk.S: Remove file.
34046         * sysdeps/unix/i386/dl-brk.S: Likewise.
34047         * sysdeps/unix/i386/pipe.S: Likewise.
34048         * sysdeps/unix/i386/sigreturn.S: Likewise.
34049         * sysdeps/unix/i386/syscall.S: Likewise.
34050         * sysdeps/unix/i386/vfork.S: Likewise.
34051         * sysdeps/unix/i386/wait.S: Likewise.
34053         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34054         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34056         * configure.in (arm*-none*): Do not allow without
34057         --enable-hacker-mode.
34058         (netbsd*): Remove case setting base_os.
34059         (386bsd*): Likewise.
34060         (freebsd*): Likewise.
34061         (bsdi*): Likewise.
34062         (osf*): Likewise.
34063         (sunos*): Likewise.
34064         (ultrix*): Likewise.
34065         (newsos*): Likewise.
34066         (dynix*): Likewise.
34067         (*bsd*): Likewise.
34068         (sysv*): Likewise.
34069         (isc*): Likewise.
34070         (esix*): Likewise.
34071         (sco*): Likewise.
34072         (minix*): Likewise.
34073         (irix4*): Likewise.
34074         (irix6*): Likewise.
34075         (solaris[2-9]*): Likewise.
34076         (none): Likewise.
34077         * configure: Regenerated.
34079 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34081         [BZ #11521]
34082         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34083         overflow or cancellation in calculating denominator.
34084         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34085         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34086         down expression to avoid unexpected rounding in newer GCCs.
34087         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34089 2012-04-26  David S. Miller  <davem@davemloft.net>
34091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34092         long-double compat symbols.
34093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34107 2012-04-25  David S. Miller  <davem@davemloft.net>
34109         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34110         HWCAP_* values only after the memory barriers have been defined.
34111         (atomic_full_barrier): Define.
34112         (atomic_read_barrier): Define.
34113         (atomic_write_barrier): Define.
34115 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34117         * shlib-versions: Add libgcc_s version information.
34118         * sysdeps/generic/libgcc_s.h: Remove.
34119         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34120         libgcc_s.h.
34121         * sysdeps/gnu/unwind-resume.c: Likewise.
34122         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34124 2012-04-25  David S. Miller  <davem@davemloft.net>
34126         * sysdeps/unix/sparc/brk.S: Delete.
34127         * sysdeps/unix/sparc/dl-brk.S: Delete.
34128         * sysdeps/unix/sparc/pipe.S: Delete.
34129         * sysdeps/unix/sparc/sysdep.S: Delete.
34130         * sysdeps/unix/sparc/sysdep.h: Delete.
34131         * sysdeps/unix/sparc/vfork.S: Delete.
34132         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34133         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34135         (ret_ERRVAL, r0, r1, MOVE): Define.
34136         (JUMPTARGET): Remove.
34137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34138         sysdeps/unix/sparc/sysdep.h
34139         (ENTRY, END): Remove.
34140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34142 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34144         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34145         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34146         -DIS_IN_build.
34148         * timezone/README: Update upstream location and email address for
34149         tzcode and tzdata.
34150         * timezone/zdump.c: Update from tzcode 2012b.
34151         * timezone/zic.c: Likewise.
34153         * configure.in (libc_cv_as_needed): Remove test.
34154         * configure: Regenerated.
34155         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34156         conditional definition.
34157         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34158         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34159         * config.make.in (have-as-needed): Remove variable.
34161 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34162             Paul Pluzhnikov  <ppluzhnikov@google.com>
34164         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34165         strings correctly.
34167 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34169         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34170         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34171         * sysdeps/sh/strlen.S: Likewise.
34173 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34175         * sysdeps/unix/fork.S: Remove file.
34176         * sysdeps/unix/i386/fork.S: Likewise.
34177         * sysdeps/unix/sparc/fork.S: Likewise.
34179         * sysdeps/unix/system.c: Remove file.
34180         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34182         * sysdeps/unix/getegid.S: Remove file.
34183         * sysdeps/unix/geteuid.S: Likewise.
34185 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34187         * scripts/check-localplt.awk: New file.
34188         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34189         of diff.
34190         * scripts/data/localplt-generic.data: Add a comment.
34192         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34193         NODE when __dir_mkfile failed.
34194         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34195         Reported by Ludovic Courtès <ludo@gnu.org>.
34197 2012-04-24  Andreas Jaeger  <aj@suse.de>
34199         * Makerules (common-clean): Also remove gen-as-const-headers
34200         files.
34202 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34204         * Makerules (native-compile): Do not change working directory for
34205         build.  Use $(OUTPUT_OPTION) in command.
34206         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34208 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34210         [BZ #13886]
34211         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34212         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34213         * math/libm-test.inc (floor_test): Add more tests.
34214         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34216 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34218         * sysdeps/unix/getdents.c: Remove file.
34219         * sysdeps/unix/sysv/getdents.c: Likewise.
34220         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34222         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34223         sysdeps/unix/mman/syscalls.list.
34224         (mmap): Likewise.
34225         (mprotect): Likewise.
34226         (msync): Likewise.
34227         (munmap): Likewise.
34228         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34229         * sysdeps/unix/mman/syscalls.list: Remove.
34230         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34232         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34233         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34234         * configure: Regenerated.
34235         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34236         $(libgcc_s_suffix).
34237         * config.make.in (libgcc_s_suffix): Remove variable.
34239 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34241         * sysdeps/unix/sysv/gethostname.c: Move to ...
34242         * sysdeps/posix/gethostname.c: ... here.
34244         * sysdeps/unix/execve.S: Remove file.
34246         * sysdeps/unix/_exit.S: Remove file.
34248 2012-04-23  Andreas Jaeger  <aj@suse.de>
34250         [BZ #13739]
34251         * manual/Makefile: Remove make dist support, there's no
34252         need for a stand-alone documentation tar ball.
34253         (TEXI2DVI): Define always, it's not in Makeconfig.
34254         (dist): Removed.
34255         (tar-it): Removed.
34256         (edition): Removed.
34257         (glibc-doc-$(edition).tar): Removed
34258         (%.Z): Removed.
34259         (%.gz): Removed.
34260         (%.uu): Removed.
34261         (ETAGS): Remove, it's in Makeconfig.
34262         (move-if-change): Remove, it's in Makeconfig.
34264 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34266         [BZ #13970]
34267         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34268         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34269         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34270         (strtod_l, strtof_l, strtold_l): Remove __wur.
34271         It is not necessarily an error to ignore strtol's return value.
34272         One can reliably look at the stored endptr to decide whether
34273         the number had valid syntax.
34275 2012-04-21  Andreas Jaeger  <aj@suse.de>
34277         [BZ #13739]
34278         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34280 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34282         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34283         * sysdeps/unix/sysv/Versions: Remove file.
34285 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34287         [BZ #13927]
34288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34290 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34292         [BZ #7064]
34293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34294         version from __vm86.
34296 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34298         * sysdeps/unix/common/lxstat.c: Remove file.
34299         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34301         * sysdeps/unix/sysv/Makefile: Remove file.
34303         * sysdeps/unix/sysv/direct.h: Remove file.
34305         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34306         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34307         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34308         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34309         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34310         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34311         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34313         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34315         * sysdeps/unix/xmknod.c: Remove file.
34316         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34318         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34320         * sysdeps/unix/sysv/i386/time.S: Remove file.
34322         * sysdeps/unix/fxstat.c: Remove file.
34323         * sysdeps/unix/xstat.c: Likewise.
34324         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34326         * sysdeps/unix/sysv/sigaction.c: Remove file.
34328         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34329         (sysdep_headers): Remove variable.
34330         [termio.h not in sysdep_headers] (generated): Likewise.
34331         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34332         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34333         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34334         * sysdeps/unix/sysv/tcflow.c: Likewise.
34335         * sysdeps/unix/sysv/tcflush.c: Likewise.
34336         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34337         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34338         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34339         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34340         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34342         * sysdeps/unix/siglist.c: Remove file.
34344         * sysdeps/unix/getppid.S: Remove file.
34346         * sysdeps/unix/mkdir.c: Remove file.
34347         * sysdeps/unix/rmdir.c: Likewise.
34349 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34351         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34352         ERR_MAX value.
34353         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34354         errlist-compat value.
34356 2012-04-18  David S. Miller  <davem@davemloft.net>
34358         * sysdeps/generic/memcopy.h (reg_char): Delete.
34359         * debug/strcat_chk.c: Use char, not reg_char.
34360         * debug/strcpy_chk.c: Likewise.
34361         * debug/strncat_chk.c: Likewise.
34362         * debug/strncpy_chk.c: Likewise.
34363         * string/memchr.c: Likewise.
34364         * string/memrchr.c: Likewise.
34365         * string/rawmemchr.c: Likewise.
34366         * string/strcat.c: Likewise.
34367         * string/strchr.c: Likewise.
34368         * string/strchrnul.c: Likewise.
34369         * string/strcmp.c: Likewise.
34370         * string/strcpy.c: Likewise.
34371         * string/strncat.c: Likewise.
34372         * string/strncmp.c: Likewise.
34373         * string/strncpy.c: Likewise.
34375 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34377         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34378         __builtin_memcopy is called when src and dest ranges are known to not
34379         overlap.
34381 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34383         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34384         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34385         fwd_align_merge macro call.
34386         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34387         bwd_align_merge macro call.
34388         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34390 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34392         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34393         bwd_align_merge macros.
34394         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34395         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34396         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34398 2012-04-18  David S. Miller  <davem@davemloft.net>
34400         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34402 2012-04-18  Andreas Jaeger  <aj@suse.de>
34404         [BZ# 6794]
34405         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34406         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34407         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34409         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34410         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34411         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34413         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34414         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34415         Adjust for changed ldbl-128 files.
34417         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34418         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34419         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34421 2012-04-17  David S. Miller  <davem@davemloft.net>
34423         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34425 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34427         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34428         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34429         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34430         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34431         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34432         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34434 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34436         [BZ #6794]
34437         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34438         * math/libm-test.inc: Add ilogb errno and exception tests.
34439         * math/w_ilogb.c: New file: ilogb wrapper.
34440         * math/w_ilogbf.c: New file: ilogbf wrapper.
34441         * math/w_ilogbl.c: New file: ilogbl wrapper.
34442         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34443         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34444         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34445         exception being thrown with 0.0 as argument.
34446         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34447         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34448         exception being thrown with 0.0 as argument.
34449         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34450         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34451         exception being thrown with 0.0 as argument.
34452         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34453         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34454         exception being thrown with 0.0 as argument.
34455         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34456         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34457         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34458         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34459         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34460         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34461         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34462         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34463         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34465 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34467         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34468         with altivec.
34470 2012-04-16  Marek Polacek  <polacek@redhat.com>
34472         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34474 2012-04-16  Marek Polacek  <polacek@redhat.com>
34476         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34477         operands of fdivp instruction.
34479 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34481         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34482         * elf/tst-auditmod3b.c: Likewise.
34483         * elf/tst-auditmod4b.c: Likewise.
34484         * elf/tst-auditmod5b.c: Likewise.
34485         * elf/tst-auditmod6b.c: Likewise.
34486         * elf/tst-auditmod6c.c: Likewise.
34487         * elf/tst-auditmod7b.c: Likewise.
34488         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34489         * sysdeps/x86_64/preconfigure.in: Likewise.
34490         * sysdeps/x86_64/preconfigure: Regenerated.
34492 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34494         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34495         __ILP32__.
34497 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34499         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34500         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34502 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34504         [BZ #13973]
34505         * locale/iso-639.def: Fix gl language name. Spotted by
34506         Yaron Shahrabani.
34508 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34510         [BZ #2074]
34511         * libio/libio.h (__io_write_fn): Update comment.
34513 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34515         [BZ #2074]
34516         * stdio.texi (Hook Functions): The user provided writer function
34517         is not allowed to return -1.
34519 2012-04-11  David S. Miller  <davem@davemloft.net>
34521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34523 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34525         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34526         Add a leading slash to rtkaio.
34528 2012-04-11  Jim Meyering  <meyering@redhat.com>
34530         [BZ #11959]
34531         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34532         It is not necessarily an error to ignore fwrite's return
34533         value.  One can reliably use ferror to test for errors after
34534         the fact.
34536 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34538         * bits/types.h (__snseconds_t): New type.
34539         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34541         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34543         (__SNSECONDS_T_TYPE): Likewise.
34544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34545         (__SNSECONDS_T_TYPE): Likewise.
34546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34547         (__SNSECONDS_T_TYPE): Likewise.
34549 2012-04-10  Andreas Jaeger  <aj@suse.de>
34551         [BZ #2636]
34552         * manual/time.texi (Processor Time): Return type of times is
34553         elapsed real time since an arbitrary point in the past.
34554         (CPU Time): Move CLK_TCK from here...
34555         (Processor Time): ...to here.  Correct description.
34556         * manual/conf.texi (Constants for Sysconf): Correct description of
34557         _SC_CLK_TCK.
34559 2012-04-10  David S. Miller  <davem@davemloft.net>
34561         [BZ #13967]
34562         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34563         where the is a gap between DT_REL(A) and DT_JMPREL.
34565 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34567         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34568         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34569         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34571 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34573         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34574         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34575         (dl_main): Handle --inhibit-cache.
34576         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34577         _dl_inhibit_cache.
34578         * elf/dl-load.c (_dl_map_object): Use it.
34579         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34581 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34583         [BZ #13872]
34584         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34585         (__ieee754_powl): Saturate large exponents rather than testing for
34586         overflow of y*log2(x).
34587         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34588         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34589         exceptions.
34591         [BZ #11521]
34592         * math/s_ctan.c: Include <float.h>.
34593         (__ctan): Avoid internal overflow or cancellation in calculating
34594         denominator.
34595         * math/s_ctanf.c: Likewise.
34596         * math/s_ctanl.c: Likewise.
34597         * math/s_ctanh.c: Likewise.
34598         * math/s_ctanhf.c: Likewise.
34599         * math/s_ctanhl.c: Likewise.
34600         * math/libm-test.inc (ctan_test): Add more tests.
34601         (ctanh_test): Likewise.
34602         * sysdeps/i386/fpu/libm-test-ulps: Update.
34603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34605 2012-04-09  Andreas Jaeger  <aj@suse.de>
34607         [BZ #6894]
34608         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34609         is an optional BSD extension.
34611         [BZ #10254]
34612         * manual/stdio.texi (Opening Streams): Document additional fopen
34613         parameters.
34615 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34617         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34618         %eax without telling the compiler.
34620 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34622         [BZ # 13963]
34623         * manual/install.texi: Use sourceware.org.
34625 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34627         [BZ #13873]
34628         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34629         (__ieee754_pow): Generate overflow and underflow using huge*huge
34630         and tiny*tiny rather than just returning constant infinity or zero
34631         for large exponents.
34632         * math/libm-test.inc (pow_test): Require overflow exceptions for
34633         applicable cases of large exponents.
34635         [BZ #706]
34636         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34637         (__ieee754_pow): Use iterative multiplication algorithm only for
34638         integer exponents with absolute value below 1024.  Check for odd
34639         integer exponents when using algorithm for real exponents.
34640         * math/libm-test.inc (pow_test): Add more tests.
34641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34643 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34645         [BZ #13705]
34646         * math/libm-test.inc (exp_test): Do not allow overflow exception
34647         on underflow test.
34649 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34651         [BZ #13705]
34652         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34653         instead of __kernel_standard_f.
34655 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34657         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34658         * sysdeps/x86_64/memset_chk.S: Likewise.
34660 2012-04-08  Andreas Jaeger  <aj@suse.de>
34662         [BZ #10153]
34663         * manual/startup.texi (Environment Access): Describe return value
34664         for putenv and setenv.
34666         [BZ #6895]
34667         * manual/filesys.texi (Directory Entries): Add description for
34668         DT_LNK.
34670         [BZ #6890]
34671         * manual/filesys.texi (Directory Entries): Clarify that it's file
34672         system not operating system in the description of DT_UNKNOWN.
34674         [BZ #6578]
34675         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34677 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34679         [BZ #6649]
34680         * manual/llio.texi (Opening and Closing Files): Add cross
34681         reference to explain mode argument.
34683 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34685         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34686         * sysdeps/x86_64/memset_chk.S: Likewise.
34688 2012-04-07  David S. Miller  <davem@davemloft.net>
34690         * elf/elf.h (R_SPARC_WDISP10): Define.
34691         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34692         R_SPARC_SIZE32.
34693         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34694         R_SPARC_SIZE64 and R_SPARC_H34.
34696 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34698         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34699         conditions and remove no longer applicable assertion.
34701 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34703         * bits/byteswap.h: Include <features.h>.
34704         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34705         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34707 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34709         * bits/byteswap.h (__bswap_16): Removed.
34710         Include <bits/byteswap-16.h> to get __bswap_16.
34711         * sysdeps/i386/bits/byteswap.h: Likewise.
34712         * sysdeps/s390/bits/byteswap.h: Likewise.
34713         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34714         * bits/byteswap-16.h: New file.
34715         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34716         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34717         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34718         * string/Makefile (headers): Add bits/byteswap-16.h.
34720 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34722         [BZ #13895]
34723         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34724         extra indirection.
34725         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34726         * nss/tst-nss-static.c: New.
34728 2012-04-06  Robert Millan  <rmh@gnu.org>
34730         [BZ #6486]
34731         * manual/llio.texi (File Position Primitive): lseek
34732         refers to WHENCE when it really means OFFSET.
34734 2012-04-06  Andreas Jaeger  <aj@suse.de>
34736         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34737         strncmp declarations.
34739         * abilist/libc.abilist: Add __poll and __ppoll.
34741 2012-04-05  David S. Miller  <davem@davemloft.net>
34743         * scripts/check-local-headers.sh: Accept a host triplet in the
34744         path matched by the exclude regexp.
34746         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34747         definition.
34748         * sysdeps/powerpc/powerpc32/dl-machine.h
34749         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34750         * sysdeps/s390/s390-32/dl-machine.h
34751         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34752         * sysdeps/sparc/sparc32/dl-machine.h
34753         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34754         * sysdeps/sparc/sparc64/dl-machine.h
34755         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34757         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34758         lazy binding.
34759         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34760         undefined symbol errors.
34762         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34763         DT_NEEDED entries.
34765 2012-04-05  Michael Matz  <matz@suse.de>
34767         [BZ #13592]
34768         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34770 2012-04-05  Andreas Jaeger  <aj@suse.de>
34772         [BZ #13908]
34773         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34774         comment.
34776 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34778         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34779         which ROUND is no valid rounding mode.
34781 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34783         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34784         read again.
34785         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34787 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34789         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34790         an exception using FPU order intentionally.
34792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34794         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34795         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34796         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34797         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34799 2012-04-05  Simon Josefsson  <simon@josefsson.org>
34801         [BZ #12340]
34802         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34803         EINVAL when BUFLEN is too smal.
34805 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34807         [BZ #13553]
34808         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34809         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34811 2012-04-03  Andreas Jaeger  <aj@suse.de>
34813         [BZ #13938]
34814         * manual/setjmp.texi (System V contexts): Fix sentence.
34816         [BZ #13926]
34817         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34818         New macro for this case.
34819         [!__GNUC__] (__bswap_64): New inline function for this case.
34820         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34821         * bits/byteswap.h: Likewise.
34822         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34823         ull, guard with __GLIBC_HAVE_LONG_LONG.
34825         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34826         __GLIBC_HAVE_LONG_LONG.
34828         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34829         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34831 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34833         [BZ #13691]
34834         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34835         inptr and inend, rather than using last_ch.
34837 2012-04-02  David S. Miller  <davem@davemloft.net>
34839         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34840         * stdio-common/printf-parse.h (read_int): Change return type to
34841         'int', return -1 on INT_MAX overflow.
34842         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34843         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34844         overflows INT_MAX.  Check for overflow of in-format-string precision
34845         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34846         SIZE_MAX not INT_MAX for integer overflow test.
34847         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34848         skip the construct in the format string but do not record anything.
34849         * stdio-common/bug22.c: Adjust to test both width/prevision
34850         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34851         explicitly for proper errno values.
34853 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34855         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34856         CHAR_MAX.
34857         * string/test-strcmp.c [! WIDE]: Likewise.
34858         * time/tst-mktime2.c: Likewise for INT_MAX.
34859         * string/test-string.h: #include <sys/param.h> for MIN.
34861         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34862         * sysdeps/i386/init-first.c (init): Likewise.
34863         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34864         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34865         * sysdeps/sh/init-first.c (init): Likewise.
34867 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34869         * po/ru.po: Update from translation team.
34870         * po/vi.po: Likewise.
34872 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34874         * resolv/nss_dns/dns-host.c: Merge copyright years.
34876 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34878         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34879         Optimize memcpy with prefetch if
34880         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34881         src, dst pointers have unequal 16 byte alignments.
34883 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885         [BZ #13928]
34886         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34887         from a CNAME entry and return the minimum ttl for the query.
34888         (gaih_getanswer_slice): Likewise.
34890 2012-03-30  Jeff Law  <law@redhat.com>
34892         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34893         due to long keys.
34894         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34895         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34897         * resolv/nss_dns/dns-host.c: Update copyright year.
34899 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34901         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34902         requests to save a system call.  Fix check that all bytes are sent.
34904         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34905         comments for sendmmsg.
34907 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34909         [BZ #13691]
34910         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34911         with only 1 character between 0x0041 and 0x01b0.
34912         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34913         * wcsmbs/tst-mbsnrtowcs.c: New file.
34915 2012-03-29  David S. Miller  <davem@davemloft.net>
34917         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34918         small copies by hand.
34920 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34922         [BZ #13761]
34923         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34924         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34925         group memberships.
34927 2012-03-28  David S. Miller  <davem@davemloft.net>
34929         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34930         that branches into memcpy.
34931         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34932         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34934         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34936         bits.
34937         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34938         implementation too.
34939         * sysdeps/sparc/mempcpy.S: New file.
34941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34942         the IFUNC routine in the libc case.
34943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34945         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34946         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34947         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34948         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34949         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34950         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34951         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34952         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34954         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34955         loop to 256 bytes instead of 64 bytes and fix test signedness.
34957         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34958         * sysdeps/sparc/sparc32/Makefile: rather than here...
34959         * sysdeps/sparc/sparc64/Makefile: and here.
34961 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34963         * malloc/mallocbug.c: Avoid warnings about unused variables.
34965 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967         [BZ #13760]
34968         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34969         in the right place. Discard and retry query if response is
34970         larger than input buffer size.
34972 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34974         [BZ #369]
34975         [BZ #2678]
34976         [BZ #3866]
34977         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34978         x for large integer exponent.
34979         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34980         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34981         sign of result as needed afterwards.
34982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34983         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34984         result for underflowing pow the same as for overflow.
34985         (__kernel_standard_l): Handle powl overflow and underflow here
34986         rather than calling __kernel_standard.
34987         * math/libm-test.inc (pow_test): Add more tests.
34989         [BZ #3868]
34990         [BZ #13879]
34991         [BZ #13910]
34992         [BZ #13911]
34993         [BZ #13912]
34994         [BZ #13913]
34995         [BZ #13915]
34996         [BZ #13916]
34997         [BZ #13917]
34998         [BZ #13918]
34999         [BZ #13919]
35000         [BZ #13920]
35001         [BZ #13921]
35002         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35003         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35004         (__kernel_standard_l): New function.
35005         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35006         __kernel_standard.
35007         * math/w_acosl.c (__acosl): Likewise.
35008         * math/w_asinl.c (__asinl): Likewise.
35009         * math/w_atan2l.c (__atan2l): Likewise.
35010         * math/w_atanhl.c (__atanhl): Likewise.
35011         * math/w_coshl.c (__coshl): Likewise.
35012         * math/w_exp10l.c (__exp10l): Likewise.
35013         * math/w_exp2l.c (__exp2l): Likewise.
35014         * math/w_fmodl.c (__fmodl): Likewise.
35015         * math/w_hypotl.c (__hypotl): Likewise.
35016         * math/w_j0l.c (__j0l, __y0l): Likewise.
35017         * math/w_j1l.c (__j1l, __y1l): Likewise.
35018         * math/w_jnl.c (__jnl, __ynl): Likewise.
35019         * math/w_lgammal.c (__lgammal): Likewise.
35020         * math/w_log10l.c (__log10l): Likewise.
35021         * math/w_log2l.c (__log2l): Likewise.
35022         * math/w_logl.c (__logl): Likewise.
35023         * math/w_powl.c (__powl): Likewise.
35024         * math/w_remainderl.c (__remainderl): Likewise.
35025         * math/w_scalbl.c (sysv_scalbl): Likewise.
35026         * math/w_sinhl.c (__sinhl): Likewise.
35027         * math/w_sqrtl.c (__sqrtl): Likewise.
35028         * math/w_tgammal.c (__tgammal): Likewise.
35029         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35030         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35031         * math/libm-test.inc (acos_test): Add more tests.
35032         (acosh_test): Likewise.
35033         (asin_test): Likewise.
35034         (atanh_test): Likewise.
35035         (exp_test): Likewise.
35036         (exp10_test): Likewise.
35037         (exp2_test): Likewise.
35038         (expm1_test): Likewise.
35039         (lgamma_test): Likewise.
35040         (log_test): Likewise.
35041         (log10_test): Likewise.
35042         (log1p_test): Likewise.
35043         (log2_test): Likewise.
35044         (pow_test): Do not allow some spurious overflow exceptions.
35045         (sqrt_test): Add more tests.
35046         (tgamma_test): Likewise.
35047         (y0_test): Likewise.
35048         (y1_test): Likewise.
35049         (yn_test): Likewise.
35051 2012-03-27  Anton Blanchard  <anton@samba.org>
35053         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35054         MAP_HUGETLB.
35055         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35056         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35057         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35059 2012-03-27  David S. Miller  <davem@davemloft.net>
35061         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35063         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35064         have-as-vis3 check.
35066 2012-03-27  Andreas Jaeger  <aj@suse.de>
35068         * sysdeps/x86_64/elf/configure.in: Moved to ...
35069         * sysdeps/x86_64/configure.in: ... here.
35070         * sysdeps/x86_64/elf/start.S: Moved to ...
35071         * sysdeps/x86_64/start.S: ... here.
35072         * sysdeps/x86_64/elf/configure: Delete.
35074         * sysdeps/x86_64/configure.in: Merge contents from
35075         sysdeps/i386/configure.in (without i686 check).
35077         * sysdeps/i386/elf/Versions: Merge into ...
35078         * sysdeps/i386/Versions: ... this.
35079         * sysdeps/i386/elf/Versions: Delete file.
35080         * sysdeps/i386/elf/start.S: Moved to ...
35081         * sysdeps/i386/start.S: ...here.
35082         * sysdeps/i386/elf/configure.in: Merge into...
35083         * sysdeps/i386/configure.in: ...here.
35084         * sysdeps/i386/elf/configure.in: Delete file.
35085         * sysdeps/i386/elf/configure: Delete file.
35087         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35088         * debug/backtracesyms.c: ... here.
35089         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35090         * debug/backtracesymsfd.c: ... here.
35091         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35092         * sysdeps/generic/ifunc-sel.h: ... here.
35094         * sysdeps/unix/i386/start.c: Delete file.
35095         * sysdeps/unix/sparc/start.c: Delete file.
35096         * sysdeps/unix/start.c: Delete file.
35098         * sysdeps/sh/elf/configure.in: Moved to ...
35099         * sysdeps/sh/configure.in: ... here.
35100         * sysdeps/sh/elf/start.S: Moved to ...
35101         * sysdeps/sh/start.S: ... here.
35102         * sysdeps/sh/elf/configure: Delete file.
35104         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35105         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35106         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35107         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35108         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35109         * sysdeps/powerpc/powerpc64/start.S: here.
35110         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35111         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35112         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35113         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35114         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35116         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35117         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35118         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35119         * sysdeps/powerpc/powerpc32/start.S: ... here.
35120         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35121         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35122         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35124         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35125         * sysdeps/powerpc/ifunc-sel.h: ... here.
35126         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35127         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35129         * sysdeps/sparc/elf/configure.in: Moved to ...
35130         * sysdeps/sparc/configure.in: ... here.
35131         * sysdeps/sparc/elf/configure: Delete file.
35132         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35133         * sysdeps/sparc/sparc32/start.S: ... here.
35134         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35135         * sysdeps/sparc/sparc64/start.S: ... here.
35136         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35137         * sysdeps/sparc/sparc32/Makefile: ... this.
35138         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35139         * sysdeps/sparc/sparc64/Makefile: ... this.
35141         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35142         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35143         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35144         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35145         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35146         * sysdeps/s390/s390-32/setjmp.S: ... here.
35147         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35148         * sysdeps/s390/s390-32/configure.in: ... here.
35149         * sysdeps/s390/s390-32/elf/configure: Delete file.
35150         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35151         * sysdeps/s390/s390-32/start.S: ... here.
35153         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35154         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35155         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35156         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35157         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35158         * sysdeps/s390/s390-64/setjmp.S: ... here.
35159         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35160         * sysdeps/s390/s390-64/configure.in: ... here
35161         * sysdeps/s390/s390-64/elf/configure: Delete file.
35162         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35163         * sysdeps/s390/s390-64/start.S: ... here.
35164         * sysdeps/s390/s390-64/elf/configure: Delete.
35166         * configure.in: Remove support for elf directories in sysdeps.
35168         * configure: Regenerated.
35169         * sysdeps/i386/configure: Regenerated.
35170         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35171         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35172         * sysdeps/s390/s390-32/configure: Regenerated.
35173         * sysdeps/s390/s390-64/configure: Regenerated.
35174         * sysdeps/sh/configure: Regenerated.
35175         * sysdeps/sparc/configure: Regenerated.
35176         * sysdeps/x86_64/configure: Regenerated.
35178 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35183         denormal result into account.
35185 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35187         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35188         Reported by Allan McRae <allan@archlinux.org>.
35190 2012-03-23  Jeff Law  <law@redhat.com>
35192         * nss/getnssent.c (__nss_getent): Fix typo.
35194 2012-03-23  David S. Miller  <davem@davemloft.net>
35196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35198 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35200         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35201         to pad to uint64_t for each field.
35202         (dl_tls_index): Replace unsigned long with uint64_t.
35204 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35205         Paul Pluzhnikov  <ppluzhnikov@google.com>
35207         [BZ #6528]
35208         * grp/Makefile (otherlibs): Don't set it.
35209         * inet/Makefile (otherlibs): Likewise.
35210         * login/Makefile (otherlibs): Likewise.
35211         * nscd/Makefile (otherlibs): Likewise.
35212         * posix/Makefile (otherlibs): Likewise.
35213         * pwd/Makefile (otherlibs): Likewise.
35214         * rt/Makefile (otherlibs): Likewise.
35215         * sunrpc/Makefile (otherlibs): Likewise.
35216         * nss/Makefile (otherlibs): Likewise.
35217         Add libnss_files to routines and static-only-routines.
35218         ($(objpfx)getent): Remove rule.
35219         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35220         static-only-routines.
35222 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35224         [BZ #13892]
35225         * math/s_cexp.c: Include <float.h>.
35226         (__cexp): Handle exp result overflowing not necessarily
35227         overflowing both real and imaginary parts of result.
35228         * math/s_cexpf.c: Likewise.
35229         * math/s_cexpl.c: Likewise.
35230         * math/libm-test.inc (cexp_test): Add more tests.
35231         * sysdeps/i386/fpu/libm-test-ulps: Update.
35232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35234 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35236         * include/link.h (ELFW): New macro.
35237         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35238         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35240 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35242         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35243         with uint64_t.
35245 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35247         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35248         declaration.
35249         (struct La_x32_retval): Likewise.
35251 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35253         * sysdeps/x86_64/preconfigure.in: New file.
35254         * sysdeps/x86_64/preconfigure: New generated file.
35256 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35258         [BZ #13824]
35259         * math/e_exp2l.c: Include <float.h>.
35260         (__ieee754_exp2l): Handle overflow and underflow cases
35261         separately.  Only pass fractional part of argument to
35262         __ieee754_expl.
35263         * math/libm-test.inc (exp2_test): Add more tests.
35265         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35266         negating x to take absolute value.
35267         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35268         Likewise.
35269         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35270         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35271         Likewise.
35272         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35273         computing low part if x was negated.
35274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35276 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35278         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35279         la_x32_gnu_pltexit.
35280         (pltexit): Cast int_retval to ptrdiff_t.
35281         * elf/tst-auditmod3b.c: Likewise.
35282         * elf/tst-auditmod4b.c: Likewise.
35283         * elf/tst-auditmod5b.c: Likewise.
35284         * elf/tst-auditmod6b.c: Likewise.
35285         * elf/tst-auditmod6c.c: Likewise.
35286         * elf/tst-auditmod7b.c: Likewise.
35288         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35289         and x32_gnu_pltexit.
35291         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35292         __ELF_NATIVE_CLASS.
35293         (La_x32_regs): New macro.
35294         (La_x32_retval): Likewise.
35295         (la_x32_gnu_pltenter): New function prototype.
35296         (la_x32_gnu_pltexit): Likewise.
35298 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35301         exponent.
35303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35305         * configure.in (libc_cv_cc_nofma): Check for option to disable
35306         generation of FMA instructions.
35307         * configure: Regenerate.
35308         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35309         * sysdeps/ieee754/dbl-64/Makefile: New file.
35310         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35311         Remove brandred-fma4.
35312         (CFLAGS-brandred-fma4.c): Remove.
35313         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35314         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35315         define.
35316         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35317         define.
35319 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35321         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35322         LLONG_MAX != LONG_MAX.
35323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35324         (_fitoa_word): Likewise.
35325         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35326         LLONG_MAX != LONG_MAX.
35327         * stdio-common/_itowa.h: Include <_itoa.h>.
35328         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35329         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35330         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35331         only if not defined.
35332         (_ITOA_WORD_TYPE): Likewise.
35333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35334         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35336 2012-03-21  David S. Miller  <davem@davemloft.net>
35338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35340 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35342         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35343         of x86_64 when setting libc_cv_slibdir, libdir and
35344         libc_cv_localedir.
35345         * sysdeps/unix/sysv/linux/configure: Regenerated.
35347 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35349         * manual/lang.texi (Old Varargs): Remove section.
35350         (How Variadic): Update menu.
35351         (va_start): Do not mention varargs.h.
35353 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35354             Joseph Myers  <joseph@codesourcery.com>
35356         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35357         link test.
35358         * configure: Regenerated.
35360 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35362         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35363         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35364         conformtest.pl
35366 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35368         * NOTES: Remove.
35369         * Makefile (files-for-dist): Remove NOTES.
35370         (NOTES): Remove rule.
35371         * README: Don't refer to NOTES.
35372         * manual/creature.texi: Don't include macros.texi.
35373         * manual/intro.texi (creature.texi): Remove comment referring to
35374         NOTES.
35376         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35377         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35378         * configure: Regenerated.
35379         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35380         LIBC_TRY_CC_OPTION.
35381         (libc_cv_as_i686): Likewise.
35382         (libc_cv_cc_avx): Likewise.
35383         (libc_cv_cc_sse2avx): Likewise.
35384         (libc_cv_cc_fma4): Likewise.
35385         (libc_cv_cc_novzeroupper): Likewise.
35386         * sysdeps/i386/configure: Regenerated.
35388         [BZ #13883]
35389         * sysdeps/i386/fpu/s_cexp.S: Remove.
35390         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35391         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35392         * math/libm-test.inc (cexp_test): Add more tests.
35393         * sysdeps/i386/fpu/libm-test-ulps: Update.
35394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35396 2012-03-21  Allan McRae  <allan@archlinux.org>
35398         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35400 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35402         [BZ #13871]
35403         * math/w_exp2.c: Do not include <float.h>.
35404         (o_threshold, u_threshold): Remove.
35405         (__exp2): Calculate result before checking finiteness and calling
35406         __kernel_standard.
35407         * math/w_exp2f.c: Likewise.
35408         * math/w_exp2l.c: Likewise.
35409         * math/libm-test.inc (exp2_test): Require overflow exception for
35410         1e6 input.
35412         [BZ #3866]
35413         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35414         range of signed 64-bit integers before using fistpll.  Remove
35415         checks for whether integers fit in mantissa bits.
35416         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35417         the range of signed 32-bit integers before using fistpl.  Remove
35418         checks for whether integers fit in mantissa bits.
35419         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35420         (__ieee754_powl): Test for y outside the range of signed 64-bit
35421         integers before using fistpll.  Reduce 64-bit values to 63-bit
35422         ones as needed.
35423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35424         divide-by-zero is raised for zero to large negative powers.
35425         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35426         (__ieee754_powl): Test for y outside the range of signed 64-bit
35427         integers before using fistpll.  Reduce 64-bit values to 63-bit
35428         ones as needed.
35429         * math/libm-test.inc (pow_test): Add more tests.
35431 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35433         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35434         <stdio-common/_itoa.h>.
35435         * debug/segfault.c: Likewise.
35436         * elf/dl-cache.c: Likewise.
35437         * elf/dl-minimal.c: Likewise.
35438         * elf/dl-misc.c: Likewise.
35439         * elf/dl-sysdep.c: Likewise.
35440         * elf/dl-version.c: Likewise.
35441         * elf/rtld.c: Likewise.
35442         * hurd/hurdsock.c: Likewise.
35443         * hurd/lookup-retry.c: Likewise.
35444         * malloc/malloc.c: Likewise.
35445         * malloc/mtrace.c: Likewise.
35446         * nscd/nscd_getgr_r.c: Likewise.
35447         * nscd/nscd_getpw_r.c: Likewise.
35448         * nscd/nscd_getserv_r.c: Likewise.
35449         * posix/getopt_init.c: Likewise.
35450         * posix/wordexp.c: Likewise.
35451         * stdio-common/_itoa.c: Likewise.
35452         * stdio-common/printf_fphex.c: Likewise.
35453         * stdio-common/vfprintf.c: Likewise.
35454         * string/_strerror.c: Likewise.
35455         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35456         * sysdeps/i386/i686/hp-timing.h: Likewise.
35457         * sysdeps/mach/_strerror.c: Likewise.
35458         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35459         * sysdeps/mach/hurd/sethostid.c: Likewise.
35460         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35461         * sysdeps/mach/xpg-strerror.c: Likewise.
35462         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35464         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35465         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35466         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35467         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35468         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35469         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35470         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35471         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35472         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35473         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35474         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35475         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35476         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35477         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35478         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35479         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35480         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35481         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35482         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35484         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35486         * stdio-common/_itoa.h: Moved to ...
35487         * sysdeps/generic/_itoa.h: Here.
35489         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35491         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35492         instead of "_itoa.h" and "_itowa.h".
35493         * stdio-common/vfprintf.: Likewise.
35495 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35497         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35498         <bits/wordsize.h>.
35499         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35500         (__signbit): Likwise.
35501         (llrintf): Likwise.
35502         (llrint): Likwise.
35504 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35506         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35507         __WORDSIZE != 64.
35509 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35511         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35512         OVERFLOW_EXCEPTION_OK.
35513         * math/libm-test.inc ("Philosophy"): Update comment about
35514         exception testing.
35515         (OVERFLOW_EXCEPTION): Define.
35516         (OVERFLOW_EXCEPTION_OK): Likewise.
35517         (INVALID_EXCEPTION_OK): Renumber.
35518         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35519         (IGNORE_ZERO_INF_SIGN): Likewise.
35520         (test_exceptions): Handle FE_OVERFLOW.
35521         (exp10_test): Expect overflow exceptions.
35522         (exp2_test): Likewise.
35523         (expm1_test): Likewise.
35524         (nextafter_test): Likewise.
35525         (pow_test): Likewise.
35526         (scalbn_test): Likewise.
35527         (scalbln_test): Likewise.
35529 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35531         * sysdeps/x86_64/bits/atomic.h
35532         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35533         64bit integer.
35534         (atomic_exchange_acq): Likewise.
35535         (__arch_exchange_and_add_body): Likewise.
35536         (__arch_add_body): Likewise.
35537         (atomic_add_negative): Likewise.
35538         (atomic_add_zero): Likewise.
35540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35542         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35543         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35547         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35548         Check __x86_64__ instead of __WORDSIZE.
35550 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35552         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35554 2012-03-19  David S. Miller  <davem@davemloft.net>
35556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35558         * sysdeps/sparc/fpu/fenv_private.h: New file.
35559         * sysdeps/sparc/fpu/math_private.h: Use it.
35560         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35561         Remove.
35562         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35563         (libc_feholdexcept_setroundl): Remove.
35564         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35565         Remove.
35566         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35567         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35569 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35571         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35572         int64_t instead of long int.
35573         (INSERT_WORDS64): Likwise.
35575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35577         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35578         _Unwind_GetCFA return to _Unwind_Ptr first.
35580 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35582         [BZ #13629]
35583         * math/s_clog.c: Include <float.h>.
35584         (__clog): Scale large or subnormal inputs.
35585         * math/s_clogf.c: Likewise.
35586         * math/s_clogl.c: Likewise.
35587         * math/s_clog10.c: Include <float.h>.
35588         (M_LOG10_2): Define.
35589         (__clog10): Scale large or subnormal inputs.
35590         * math/s_clog10f.c: Likewise.
35591         * math/s_clog10l.c: Likewise.
35592         * math/libm-test.inc (clog_test): Add more tests.
35593         (clog10_test): Likewise.
35594         * sysdeps/i386/fpu/libm-test-ulps: Update.
35595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35597         [BZ #11451]
35598         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35599         x and y.
35600         * math/libm-test.inc (atan2_test): Add another test.
35602         * Makerules (common-objdir-compile): Remove.
35603         * sysdeps/unix/Makefile (config-generated): Do not add
35604         $(unix-generated) to variable.
35605         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35606         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35607         Remove rule.
35608         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35609         Likewise.
35610         [generic bits/local_lim.h] (before-compile): Do not append to
35611         variable.
35612         [generic bits/local_lim.h] (common-generated): Likewise.
35613         [generic sys/param.h] (before-compile): Do not append to variable.
35614         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35615         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35616         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35617         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35618         include.
35619         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35620         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35621         [generic sys/param.h] ($(addprefix
35622         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35623         [generic sys/param.h] (common-generated): Do not append to
35624         variable.
35625         [generic sys/param.h] (sysdep_headers): Likewise.
35626         [generic bits/errno.h] (before-compile): Do not append to
35627         variable.
35628         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35629         rule.
35630         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35631         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35632         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35633         [generic bits/errno.h] (common-generated): Do not append to
35634         variable.
35635         [generic bits/ioctls.h] (before-compile): Do not append to
35636         variable.
35637         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35638         rule.
35639         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35640         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35641         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35642         rule.
35643         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35644         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35645         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35646         [generic bits/ioctls.h] (common-generated): Do not append to
35647         variable.
35648         [generic sys/syscall.h] (syscall.h): Remove variable.
35649         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35650         rule.
35651         [generic sys/syscall.h] (before-compile): Do not append to
35652         variable.
35653         [generic sys/syscall.h] (common-generated): Likewise.
35654         * sysdeps/unix/errnos-tmpl.c: Remove file.
35655         * sysdeps/unix/errnos.awk: Likewise.
35656         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35657         * sysdeps/unix/ioctls.awk: Likewise.
35658         * sysdeps/unix/mk-local_lim.c: Likewise.
35659         * sysdeps/unix/snarf-ioctls: Likewise.
35661 2012-03-19  Richard Henderson  <rth@twiddle.net>
35663         * sysdeps/i386/fpu/fenv_private.h: New file.
35664         * sysdeps/i386/fpu/math_private.h: Use it.
35665         (math_opt_barrier, math_force_eval): Remove.
35666         (libc_feholdexcept_setround_53bit): Remove.
35667         (libc_feupdateenv_53bit): Remove.
35668         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35669         (math_opt_barrier, math_force_eval): Remove.
35670         (libc_feholdexcept): Remove.
35671         (libc_feholdexcept_setround): Remove.
35672         (libc_fetestexcept, libc_fesetenv): Remove.
35673         (libc_feupdateenv_test): Remove.
35674         (libc_feupdateenv, libc_feholdsetround): Remove.
35675         (libc_feresetround): Remove.
35677         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35678         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35680         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35681         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35682         (libc_feupdateenv_testl): New.
35683         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35684         (libc_feupdateenv_testf): New.
35685         (libc_feupdateenv): Use libc_feupdateenv_test.
35686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35687         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35689         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35690         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35691         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35692         (libc_feresetround_noex): New.
35693         (libc_feresetround_noexf): New.
35694         (libc_feresetround_noexl): New.
35695         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35696         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35697         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35698         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35699         SET_RESTORE_ROUND.
35700         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35701         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35702         (__cos): Likewise.
35703         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35704         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35705         SET_RESTORE_ROUND_NOEX.
35706         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35707         SET_RESTORE_ROUND_NOEXF.
35708         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35709         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35710         (libc_feholdsetroundf): New.
35711         (libc_feresetround, libc_feresetroundf): New.
35713         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35714         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35715         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35717         * sysdeps/generic/math_private.h: Include <fenv.h>.
35718         (default_libc_feholdexcept): New.
35719         (default_libc_feholdexcept_setround): New.
35720         (default_libc_fesetenv, default_libc_feupdateenv): New.
35721         (libc_feholdexcept): Only define if undefined.
35722         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35723         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35724         (libc_feholdexcept_setroundl): Likewise.
35725         (libc_feholdexcept_setround_53bit): Likewise.
35726         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35727         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35728         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35729         (libc_feupdateenv_53bit): Likewise.
35730         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35731         (libc_feholdexcept): Convert from macro to inline function.
35732         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35733         (libc_fesetenv, libc_feupdateenv): Likewise.
35735         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35736         not previously defined.
35737         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35738         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35739         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35740         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35741         * sysdeps/ieee754/flt-32/math_private.h: New file.
35742         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35743         math_private.h below SET_FLOAT_WORD.
35744         (__isnan, __isinf_ns, __finite): Remove.
35745         (__isnanf, __isinf_nsf, __finitef): Remove.
35747 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35751 2012-03-17  David S. Miller  <davem@davemloft.net>
35753         [BZ #6471]
35754         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35755         for 2.16.
35757 2012-03-16  David S. Miller  <davem@davemloft.net>
35759         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35760         warnings.
35762         [BZ #6471]
35763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35764         properly.
35765         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35766         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35767         sysdep_routines when subdir is sysvipc.
35768         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35769         __getshmlba helper.
35771         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35773 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35775         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35776         [__LP64__].
35778 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35781         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35782         (__lround): Renamed to ...
35783         (__llround): This.  Replace long int with long long int.
35784         Define lround functions as aliases of llround functions.
35785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35789         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35790         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35791         adresses to uintptr_t.  Replace "long int" and "unsigned long
35792         int" with "greg_t" on va_arg.
35794 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35796         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35797         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35799         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35800         Move e_machine check before EI_CLASS check.  Handle x32
35801         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35802         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35803         SKIP_EM_IA_64 and include
35804         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35806         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35807         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35808         (add_system_dir): New macro.
35810         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35811         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35813 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35815         [BZ #2551]
35816         [BZ #2552]
35817         [BZ #2553]
35818         [BZ #2554]
35819         [BZ #2562]
35820         [BZ #2563]
35821         [BZ #2565]
35822         [BZ #2566]
35823         [BZ #2576]
35824         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35825         (y0): Likewise.
35826         * math/w_j0f.c (j0f): Likewise.
35827         (y0f): Likewise.
35828         * math/w_j0l.c (__j0l): Likewise.
35829         (__y0l): Likewise.
35830         * math/w_j1.c (j1): Likewise.
35831         (y1): Likewise.
35832         * math/w_j1f.c (j1f): Likewise.
35833         (y1f): Likewise.
35834         * math/w_j1l.c (__j1l): Likewise.
35835         (__y1l): Likewise.
35836         * math/w_jn.c (jn): Likewise.
35837         (yn): Likewise.
35838         * math/w_jnf.c (jnf): Likewise.
35839         (ynf): Likewise.
35840         * math/w_jnl.c (__jnl): Likewise.
35841         (__ynl): Likewise.
35842         * math/libm-test.inc (j0_test): Add more tests.
35843         (j1_test): Likewise.
35844         (jn_test): Likewise.  Add trailing semicolon to existing test.
35845         (y0_test): Likewise.
35846         (y1_test): Likewise.
35847         * sysdeps/i386/fpu/libm-test-ulps: Update.
35848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35850         [BZ #13851]
35851         [BZ #13854]
35852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35853         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35854         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35855         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35856         (__tanl): Set errno for infinite argument.
35857         * sysdeps/i386/fpu/mptan.c: Remove.
35858         * sysdeps/i386/fpu/s_tan.S: Likewise.
35859         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35860         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35861         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35862         * math/libm-test.inc (tan_test): Add more tests and enable more
35863         tests for double and long double.
35864         * sysdeps/i386/fpu/libm-test-ulps: Update.
35865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35867 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35869         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35870         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35872 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35874         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35875         * configure.in: Use it for both main tree and add-ons.
35876         * configure: Regenerated.
35878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35880         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35882 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35884         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35885         in comment.
35887         [BZ #13851]
35888         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35889         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35890         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35891         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35892         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35893         infinite argument.
35894         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35895         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35896         != 0 for prec == 2.
35897         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35898         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35899         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35900         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35901         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35902         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35903         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35904         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35905         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35906         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35907         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35908         * math/libm-test.inc (cos_test): Add more tests and enable more
35909         tests for long double.
35910         (sin_test): Likewise.
35911         (sincos_test): Likewise.
35912         * sysdeps/i386/fpu/libm-test-ulps: Update.
35913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35915 2012-03-16  David S. Miller  <davem@davemloft.net>
35917         * sysdeps/sparc/fpu/math_private.h: New file.
35919 2012-03-15  David S. Miller  <davem@davemloft.net>
35921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35922         file.
35923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35925         file.
35926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35932         sysdep routines.
35933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35935         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35936         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35938         * sysdeps/sparc/sparc-ifunc.h: New file.
35939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35940         sparc-ifunc.h
35941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35943         Likewise.
35944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35945         Likewise.
35946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35950         Likewise.
35951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35956         Likewise.
35957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35958         Likewise.
35959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35965         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35966         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35977         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35978         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35979         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35980         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35981         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35984 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35986         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35987         scaling.
35988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35990 2012-03-15  Andreas Jaeger  <aj@suse.de>
35992         [BZ #13852]
35993         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35994         ieee754/flt-32 implementation for sin, cos and sincos.
35995         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35996         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35997         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35998         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35999         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36000         ieee754/flt-32 implementation for tan.
36002         * math/libm-test.inc (cos_test): Enable some large input tests for
36003         float as well
36004         (sin_test): Likewise.
36005         (sincos_test): Likewise.
36006         (tan_test): Add tests for large input.
36008         * sysdeps/i386/fpu/libm-test-ulps: Update.
36010 2012-03-15  Andreas Jaeger  <aj@suse.de>
36012         [BZ #13658]
36013         * math/libm-test.inc (cos_test): Add more test cases.
36014         (sin_test): Likewise.
36015         (sincos_test): Likewise.
36017 2012-03-15  Andreas Jaeger  <aj@suse.de>
36019         [BZ #13837]
36020         * math/libm-test.inc (cos_test): Add a test case for large input
36021         value.
36022         (sin_test): Likewise.
36023         (sincos_test): Likewise.
36025 2012-03-15  Andreas Jaeger  <aj@suse.de>
36026             Joseph Myers  <joseph@codesourcery.com>
36028         [BZ #13658]
36029         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36030         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36031         * sysdeps/i386/fpu/branred.c: Likewise.
36032         * sysdeps/i386/fpu/dosincos.c: Likewise.
36033         * sysdeps/i386/fpu/mpa.c: Likewise.
36034         * sysdeps/i386/fpu/s_cos.S: Likewise.
36035         * sysdeps/i386/fpu/s_sin.S: Likewise.
36036         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36037         * sysdeps/i386/fpu/sincos32.c: Likewise.
36039         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36040         Define.
36041         (libc_feupdateenv_53bit): Define.
36042         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36043         Define.
36044         (libc_feupdateenv_53bit): Define.
36046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36047         53 bit (without extend i386 double precision).
36049         * math/libm-test.inc (sincos_test): Add tests for large input.
36050         (sin): Likewise.
36051         (cos): Likewise.
36053         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36055 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36059 2012-03-15  David S. Miller  <davem@davemloft.net>
36061         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36062         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36063         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36064         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36077         file.
36078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36080         file.
36081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36083         file.
36084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36086         file.
36087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36089         fmin/fmax sysdep routines.
36090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36092 2012-03-14  David S. Miller  <davem@davemloft.net>
36094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36098         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36099         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36100         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36101         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36116         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36119         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36120         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36121         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36123         routines.
36124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36125         file.
36126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36128         file.
36129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36131         file.
36132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36134         file.
36135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36137         file.
36138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36140         file.
36141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36142         file.
36143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36144         file.
36145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36146         file.
36147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36148         New file.
36149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36150         file.
36151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36152         file.
36153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36155         file.
36156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36158         file.
36159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36161         file.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36164         VIS3 routines.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36167         New file.
36169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36171         * sysdeps/sparc/configure.in: New file.
36172         * sysdeps/sparc/configure: Generate.
36173         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36174         * configure: Regenerate.
36175         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36176         * config.make.in (have-as-vis3): New.
36177         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36178         available use -Av9d instead of -Av9a.
36179         * sysdeps/sparc/sparc64/Makefile: Likewise.
36180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36182         New file.
36183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36184         file.
36185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36186         New file.
36187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36188         file.
36189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36190         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36191         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36195         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36196         fzeros/fnegs to load 0x80000000 into a float register instead of
36197         using the stack.
36198         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36200 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36203         bits/syscall.h.
36204         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36205         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36206         ($(inst_includedir)/bits/syscall.h): Remove rule.
36207         ($(objpfx)bits/syscall.d): Include instead of
36208         $(objpfx)syscall-list.d.
36209         (generated): Change syscall-list.h and syscall-list.d to
36210         bits/syscall.h and bits/syscall.d.
36212 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36214         [BZ #13846]
36215         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36217 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36219         [BZ #13841]
36220         * math/s_csqrt.c: Include <float.h>.
36221         (__csqrt): Scale large or subnormal inputs.
36222         * math/s_csqrtf.c: Likewise.
36223         * math/s_csqrtl.c: Likewise.
36224         * math/libm-test.inc (csqrt_test): Add more tests.
36225         * sysdeps/i386/fpu/libm-test-ulps: Update.
36226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36228         [BZ #13840]
36229         * math/libm-test.inc (hypot_test): Add more tests.
36231 2012-03-13  David S. Miller  <davem@davemloft.net>
36233         [BZ #13840]
36234         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36235         double-precision for the calculation instead of scaling.
36237 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36239         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36240         manipulate bits before adding and subtracting TWO52[sx].
36241         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36242         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36243         Likewise.
36244         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36246 2012-03-13  David S. Miller  <davem@davemloft.net>
36248         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36249         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36250         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36251         rtld-global-offsets.h
36252         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36254         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36255         large parameters.
36257         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36259         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36260         'err' in the ifdef scope in which it is actually used.
36262         * nss/nss_db/db-init.c: Include string.h
36264 2012-03-12  David S. Miller  <davem@davemloft.net>
36266         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36267         masking out of the most significant byte of random value used.
36268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36269         Fix coding style in previous change.
36271         * sysdeps/unix/sysv/linux/kernel-features.h
36272         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36273         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36274         expression.
36275         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36276         later.
36278 2012-03-11  David S. Miller  <davem@davemloft.net>
36280         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36281         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36282         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36283         for 'resultvar' otherwise things get truncated on 64-bit.
36285         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36286         Fix masking out of the most significant byte of random value used.
36288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36290 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36294 2012-03-09  David S. Miller  <davem@davemloft.net>
36296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36297         variables with appropriate CPP guards.
36298         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36299         from the frame pointer, not the stack pointer.  Correct layout
36300         comments.  Fix test on resulting framesize and the management of
36301         the outregs buffer for pltexit.  Preserve floating point return
36302         values across _dl_call_pltexit call.
36303         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36304         framesize and the management of the outregs buffer for pltexit.
36305         Preserve floating point return values across _dl_call_pltexit
36306         call.
36307         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36308         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36309         (la_sparc64_gnu_pltexit): New functions.
36310         (print_exit): Fix format string for return register value.
36312 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36314         * sunrpc/Makefile (others): Add rpcgen.
36315         ($(objpfx)rpcgen): Remove special build rule and dependency on
36316         libc.
36317         * sunrpc/rpcgen.c: New file.
36319 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36321         [BZ #13673]
36322         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36323         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36324         * sysdeps/i386/crti.S: Likewise.
36325         * sysdeps/i386/crtn.S: Likewise.
36326         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36327         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36328         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36329         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36330         * sysdeps/sh/crti.S: Likewise.
36331         * sysdeps/sh/crtn.S: Likewise.
36332         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36334         [BZ #13673]
36335         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36336         with URL.
36337         * locale/programs/locfile-kw.gperf: Likewise.
36338         * locale/programs/charmap-kw.h: Regenerated.
36339         * locale/programs/locfile-kw.h: Likewise.
36341         [BZ #13673]
36342         * intl/plural.y: Replace FSF snail mail address with URL.
36343         * intl/plural.c: Regenerated.
36345 2012-03-09  Richard Henderson  <rth@twiddle.net>
36347         * include/math_private.h: Remove file.
36348         * math/math_private.h: Move file ...
36349         * sysdeps/generic/math_private.h: ... here.
36351         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36352         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36353         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36355         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36356         and <math_private.h>.
36357         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36358         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36359         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36360         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36361         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36362         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36363         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36365         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36366         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36368         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36369         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36371         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36372         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36373         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36374         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36375         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36376         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36378         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36379         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36381         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36382         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36383         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36384         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36386         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36387         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36389         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36390         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36391         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36394         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36395         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36397         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36398         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36399         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36400         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36401         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36402         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36403         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36404         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36405         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36406         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36407         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36408         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36409         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36410         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36411         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36412         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36414         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36415         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36416         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36417         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36418         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36420         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36421         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36422         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36423         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36424         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36425         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36427         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36428         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36429         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36430         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36431         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36434         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36435         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36436         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36437         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36438         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36440         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36441         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36443         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36444         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36445         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36446         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36447         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36448         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36449         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36450         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36451         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36452         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36453         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36454         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36455         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36456         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36457         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36458         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36459         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36460         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36461         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36462         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36463         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36464         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36465         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36466         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36467         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36468         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36469         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36470         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36471         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36472         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36474         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36475         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36476         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36477         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36478         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36479         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36480         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36481         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36482         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36483         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36484         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36485         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36486         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36487         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36488         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36489         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36490         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36491         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36492         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36493         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36494         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36495         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36496         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36497         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36498         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36499         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36500         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36501         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36502         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36503         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36504         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36505         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36506         * sysdeps/ieee754/k_standard.c: Likewise.
36507         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36508         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36509         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36510         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36511         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36512         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36513         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36514         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36519         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36520         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36521         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36522         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36523         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36524         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36525         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36526         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36527         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36528         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36530         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36531         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36532         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36533         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36534         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36535         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36536         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36537         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36538         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36539         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36540         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36541         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36542         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36543         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36544         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36545         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36546         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36547         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36548         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36549         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36550         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36551         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36552         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36553         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36554         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36555         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36557         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36558         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36559         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36560         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36563         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36564         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36565         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36566         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36567         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36568         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36569         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36570         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36573         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36574         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36576         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36579         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36580         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36581         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36584         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36586         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36587         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36588         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36590         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36592         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36593         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36594         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36595         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36597         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36598         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36599         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36600         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36602         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36604         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36606         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36608         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36610         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36611         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36615         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36616         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36617         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36618         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36619         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36620         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36621         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36622         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36624         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36625         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36626         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36629         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36630         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36631         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36632         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36634         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36635         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36637         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36638         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36639         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36640         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36641         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36642         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36643         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36644         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36645         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36646         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36647         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36648         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36649         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36650         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36651         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36652         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36653         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36654         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36655         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36656         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36658         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36661         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36662         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36663         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36664         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36665         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36667         * sysdeps/ieee754/s_lib_version.c: Likewise.
36668         * sysdeps/ieee754/s_matherr.c: Likewise.
36669         * sysdeps/ieee754/s_signgam.c: Likewise.
36670         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36671         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36672         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36673         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36674         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36675         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36676         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36677         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36678         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36679         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36680         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36681         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36682         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36683         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36684         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36685         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36687         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36688         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36692 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36694         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36695         * sunrpc/rpc_main.c: Likewise.
36696         * sunrpc/rpc_svcout.c: Likewise.
36698 2012-03-09  David S. Miller  <davem@davemloft.net>
36700         * include/math_private.h: New file.
36702 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36704         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36705         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36706         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36707         from <bits/socket_type.h>.
36708         (enum __socket_type): Don't define here.
36709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36711         bits/socket_type.h.
36713         [BZ #13566]
36714         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36715         checking __USE_GNU.
36717         * Makerules ($(inst_includedir)/%.h): New rule.
36718         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36719         (install-others): Remove variable setting.
36720         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36722 2012-03-08  Richard Henderson  <rth@twiddle.net>
36724         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36725         from macro to inline function; merge with the
36726         !__LIBC_INTERNAL_MATH_INLINES version.
36727         (__ieee754_sqrtf): Likewise.
36729         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36730         to inline function.
36731         (__rintf, __floor, __floorf): Likewise.
36733         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36734         macro to inline function.
36735         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36737         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36738         not <math/math_private.h>.
36740 2012-03-08  David S. Miller  <davem@davemloft.net>
36742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36743         copyright year.
36744         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36746 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36748         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36749         normalization.
36750         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36751         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36753 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36755         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36756         be defined individually, they must be defined as a block.  Define
36757         S for printing a string instead of hidint the different by using a
36758         macro for adding the 'l'.
36759         * stdio-common/tst-fphex-wide.c: Adjust.
36761 2012-03-07  Marek Polacek  <polacek@redhat.com>
36763         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36765 2012-03-08  Marek Polacek  <polacek@redhat.com>
36767         [BZ #13806]
36768         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36769         * stdio-common/tst-fphex.c: Define a few macros to make the
36770         test reusable.  Use them.
36771         * stdio-common/tst-fphex-wide.c: New file.
36773 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36775         [BZ #6911]
36776         * manual/macros.texi (gnusystems): New macro.
36777         (nongnusystems): Likewise.
36778         (gnulinuxhurdsystems): Likewise.
36779         (gnuhurdsystems): Likewise..
36780         (gnulinuxsystems): Likewise.
36781         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36782         variants of the GNU system, not "GNU system".
36783         * manual/conf.texi: Likewise.
36784         * manual/errno.texi: Likewise.  Update example of errno macro
36785         expansion.
36786         * manual/filesys.texi: Likewise.
36787         (getumask): Document as specific to GNU/Hurd.
36788         * manual/install.texi: Likewise.  Reword some references to
36789         GNU/Linux.
36790         * manual/intro.texi: Likewise.
36791         * manual/io.texi: Likewise.
36792         (File Name Portability): Detail which constraints are inapplicable
36793         to all GNU systems and which are only inapplicable to GNU/Hurd.
36794         * manual/job.texi: Likewise.
36795         * manual/llio.texi: Likewise.
36796         (O_NOCTTY): Document as present on GNU/Linux.
36797         * manual/maint.texi: Likewise.
36798         * manual/memory.texi: Likewise.
36799         * manual/pattern.texi: Likewise.
36800         * manual/pipe.texi: Likewise.
36801         * manual/process.texi: Likewise.
36802         * manual/resource.texi: Likewise.
36803         (RUSAGE_CHILDREN): Remove statement about specifying a particular
36804         child on GNU/Hurd.
36805         * manual/setjmp.texi: Likewise.
36806         * manual/signal.texi: Likewise.
36807         * manual/startup.texi: Likewise.
36808         * manual/stdio.texi: Likewise.
36809         * manual/terminal.texi: Likewise.
36810         (ONLCR): Document as POSIX.
36811         (OXTABS): Document availability on GNU/Linux as XTABS.
36812         (ONOEOT): Document availability separately from other bits.
36813         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36814         * manual/time.texi: Likewise.
36815         * manual/users.texi: Likewise.
36816         * INSTALL: Regenerated.
36817         * sysdeps/gnu/errlist.c: Regenerated.
36819         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36820         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36821         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36822         puts.
36823         * configure: Regenerated.
36825 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36827         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36828         default includes instead of AC_HEADER_CHECK.
36829         * sysdeps/i386/configure: Regenerated.
36831         [BZ #10716]
36832         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36833         * math/s_cacoshf.c (__cacoshf): Likewise.
36834         * math/s_cacoshl.c (__cacoshl): Likewise.
36835         * math/s_casinh.c (__casinh): Set signs of result from argument.
36836         * math/s_casinhf.c (__casinhf): Likewise.
36837         * math/s_casinhl.c (__casinhl): Likewise.
36838         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36839         (casinh_test): Add more tests.
36840         * sysdeps/i386/fpu/libm-test-ulps: Update.
36841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36843 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36845         * po/zh_TW.po: Update from translation team.
36847         * login/Makefile (distribute): Remove variable.
36848         * catgets/Makefile: Likewise.
36849         * mach/Makefile: Likewise.
36850         * malloc/Makefile: Likewise.
36851         * misc/Makefile: Likewise.
36852         * iconv/Makefile: Likewise.
36853         * nscd/Makefile: Likewise.
36854         * hurd/Makefile: Likewise.
36855         * manual/Makefile: Likewise.
36856         * locale/Makefile: Likewise.
36857         * intl/Makefile: Likewise.
36858         * conform/Makefile: Likewise.
36859         * nss/Makefile: Likewise.
36860         * time/Makefile: Likewise.
36861         * soft-fp/Makefile: Likewise.
36862         * dirent/Makefile: Likewise.
36863         * gmon/Makefile: Likewise.
36864         * po/Makefile: Likewise.
36865         * rt/Makefile: Likewise.
36866         * socket/Makefile: Likewise.
36867         * math/Makefile: Likewise.
36868         * signal/Makefile: Likewise.
36869         * debug/Makefile: Likewise.
36870         * elf/Makefile: Likewise.
36871         * timezone/Makefile: Likewise.
36872         * stdlib/Makefile: Likewise.
36873         * iconvdata/Makefile: Likewise.
36874         * sunrpc/Makefile: Likewise.
36875         * io/Makefile: Likewise.
36876         * argp/Makefile: Likewise.
36877         * inet/Makefile: Likewise.
36878         * hesiod/Makefile: Likewise.
36879         * grp/Makefile: Likewise.
36880         * csu/Makefile: Likewise.
36881         * wctype/Makefile: Likewise.
36882         * crypt/Makefile: Likewise.
36883         * libio/Makefile: Likewise.
36884         * string/Makefile: Likewise.
36885         * nis/Makefile: Likewise.
36886         * resolv/Makefile: Likewise.
36887         * stdio-common/Makefile: Likewise.
36888         * wcsmbs/Makefile: Likewise.
36889         * dlfcn/Makefile: Likewise.
36890         * posix/Makefile: Likewise.
36892         [BZ #6959]
36893         * timezone/Makefile: Don't install timezone files, just the programs
36894         and scripts.
36896 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36898         * nss/databases.def: Add missing gshadow entry.
36900         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36902 2012-03-06  Marek Polacek  <polacek@redhat.com>
36904         [BZ #13726]
36905         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36906         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36907         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36908         * stdio-common/tst-long-dbl-fphex.c: New file.
36910 2012-03-06  David S. Miller  <davem@davemloft.net>
36912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36913         (set_obp_int): New function.
36914         (get_obp_int): New function.
36915         (__get_clockfreq_via_dev_openprom): Likewise.
36916         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36917         Avoid unused variable warnings on 'val' and use builtin_expect.
36918         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36919         __builtin_expect.
36920         (INLINE_CLONE_SYSCALL): Likewise.
36922 2012-03-05  David S. Miller  <davem@davemloft.net>
36924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36926 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36931         only for |x| >= 40.
36932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36934 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36936         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36937         Replace gettimeofday with __vdso_gettimeofday.
36939         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36940         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36941         __vdso_clock_gettime and __vdso_getcpu.
36943         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36944         time with __vdso_time.
36946 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36948         * manual/lang.texi (size_t): Note types to which size_t may be
36949         equivalent with the GNU C Library, but do not describe when
36950         differences between them are significant.
36952 2012-03-05  Andreas Jaeger  <aj@suse.de>
36954         * sysdeps/i386/fpu/libm-test-ulps: Update.
36956 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36958         [BZ #3976]
36959         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36960         (__ieee754_pow): Save and restore rounding mode and use
36961         round-to-nearest for main computations.
36962         * math/libm-test.inc (pow_test_tonearest): New function.
36963         (pow_test_towardzero): Likewise.
36964         (pow_test_downward): Likewise.
36965         (pow_test_upward): Likewise.
36966         (main): Call the new functions.
36967         * sysdeps/i386/fpu/libm-test-ulps: Update.
36968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36970         [BZ #3976]
36971         * math/libm-test.inc (cosh_test_tonearest): New function.
36972         (cosh_test_towardzero): Likewise.
36973         (cosh_test_downward): Likewise.
36974         (cosh_test_upward): Likewise.
36975         (sinh_test_tonearest): Likewise.
36976         (sinh_test_towardzero): Likewise.
36977         (sinh_test_downward): Likewise.
36978         (sinh_test_upward): Likewise.
36979         (main): Call the new functions.
36980         * sysdeps/i386/fpu/libm-test-ulps: Update.
36981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36983 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36985         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36986         default stack guard is set in last bytes.
36987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36989 2012-03-05  Kees Cook  <keescook@chromium.org>
36991         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36993         [BZ #13656]
36994         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36995         possibly allocate from heap instead of stack.
36996         * stdio-common/bug-vfprintf-nargs.c: New file.
36997         * stdio-common/Makefile (tests): Add nargs overflow test.
36999 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37003 2012-03-03  Marek Polacek  <polacek@redhat.com>
37005         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37006         * math/math_private.h: Likewise.
37007         * stdlib/tst-strtod.c: Likewise.
37008         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37009         * sysdeps/x86_64/bits/atomic.h: Likewise.
37011 2012-03-02  David S. Miller  <davem@davemloft.net>
37013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37017         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37018         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37019         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37020         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37022 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37024         [BZ #13792]
37025         * manual/examples/README: New file, says the example source files
37026         can be used under GPL>=2.
37027         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37028         line containing just "*/".
37029         * manual/examples/add.c: Add copyright header (GPL>=2).
37030         * manual/examples/argp-ex1.c: Likewise.
37031         * manual/examples/argp-ex2.c: Likewise.
37032         * manual/examples/argp-ex3.c: Likewise.
37033         * manual/examples/argp-ex4.c: Likewise.
37034         * manual/examples/atexit.c: Likewise.
37035         * manual/examples/db.c: Likewise.
37036         * manual/examples/dir.c: Likewise.
37037         * manual/examples/dir2.c: Likewise.
37038         * manual/examples/execinfo.c: Likewise.
37039         * manual/examples/filecli.c: Likewise.
37040         * manual/examples/filesrv.c: Likewise.
37041         * manual/examples/fmtmsgexpl.c: Likewise.
37042         * manual/examples/genpass.c: Likewise.
37043         * manual/examples/inetcli.c: Likewise.
37044         * manual/examples/inetsrv.c: Likewise.
37045         * manual/examples/isockad.c: Likewise.
37046         * manual/examples/longopt.c: Likewise.
37047         * manual/examples/memopen.c: Likewise.
37048         * manual/examples/memstrm.c: Likewise.
37049         * manual/examples/mkfsock.c: Likewise.
37050         * manual/examples/mkisock.c: Likewise.
37051         * manual/examples/mygetpass.c: Likewise.
37052         * manual/examples/pipe.c: Likewise.
37053         * manual/examples/popen.c: Likewise.
37054         * manual/examples/rprintf.c: Likewise.
37055         * manual/examples/search.c: Likewise.
37056         * manual/examples/select.c: Likewise.
37057         * manual/examples/setjmp.c: Likewise.
37058         * manual/examples/sigh1.c: Likewise.
37059         * manual/examples/sigusr.c: Likewise.
37060         * manual/examples/stpcpy.c: Likewise.
37061         * manual/examples/strdupa.c: Likewise.
37062         * manual/examples/strftim.c: Likewise.
37063         * manual/examples/strncat.c: Likewise.
37064         * manual/examples/subopt.c: Likewise.
37065         * manual/examples/swapcontext.c: Likewise.
37066         * manual/examples/termios.c: Likewise.
37067         * manual/examples/testopt.c: Likewise.
37068         * manual/examples/testpass.c: Likewise.
37069         * manual/examples/timeval_subtract.c: Likewise.
37071         [BZ #13792]
37072         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37073         function to ...
37074         * manual/timeval_subtract.c.texi: ... here, new file.
37076 2012-03-02  David S. Miller  <davem@davemloft.net>
37078         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37080 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37082         [BZ #3976]
37083         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37084         (__sin): Save and restore rounding mode and use round-to-nearest
37085         for all computations.
37086         (__cos): Save and restore rounding mode and use round-to-nearest
37087         for all computations.
37088         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37089         <fenv.h>.
37090         (tan): Save and restore rounding mode and use round-to-nearest for
37091         all computations.
37092         * math/libm-test.inc (cos_test_tonearest): New function.
37093         (cos_test_towardzero): Likewise.
37094         (cos_test_downward): Likewise.
37095         (cos_test_upward): Likewise.
37096         (sin_test_tonearest): Likewise.
37097         (sin_test_towardzero): Likewise.
37098         (sin_test_downward): Likewise.
37099         (sin_test_upward): Likewise.
37100         (tan_test_tonearest): Likewise.
37101         (tan_test_towardzero): Likewise.
37102         (tan_test_downward): Likewise.
37103         (tan_test_upward): Likewise.
37104         (main): Call the new functions.
37105         * sysdeps/i386/fpu/libm-test-ulps: Update.
37106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37108         [BZ #10135]
37109         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37110         small n, then large n, before computing and testing k+n.
37111         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37113         Likewise.
37114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37115         Likewise.
37116         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37117         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37118         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37119         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37120         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37121         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37122         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37123         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37124         * math/libm-test.inc (scalbn_test): Add more tests.
37125         (scalbln_test): Likewise.
37127         * manual/filesys.texi (mode_t): Describe constraints on size and
37128         signedness, not exact equivalence to a particular type.
37129         (ino_t): Likewise.
37130         (ino64_t): Likewise.
37131         (dev_t): Likewise.
37132         (nlink_t): Likewise.
37133         (blkcnt_t): Likewise.
37134         (blkcnt64_t): Likewise.
37135         * manual/llio.texi (off_t): Likewise.
37137         [BZ #3976]
37138         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37139         (__ieee754_exp): Save and restore rounding mode and use
37140         round-to-nearest for all computations.
37141         * math/libm-test.inc (exp_test_tonearest): New function.
37142         (exp_test_towardzero): Likewise.
37143         (exp_test_downward): Likewise.
37144         (exp_test_upward): Likewise.
37145         (main): Call the new functions.
37146         * sysdeps/i386/fpu/libm-test-ulps: Update.
37147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37149 2012-03-01  Chris Demetriou  <cgd@google.com>
37151         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37152         have predictable order.
37154 2012-03-01  David S. Miller  <davem@davemloft.net>
37156         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37158         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37159         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37160         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37161         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37163         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37164         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37165         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37167         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37168         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37169         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37170         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37171         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37176         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37177         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37179         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37180         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37181         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37182         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37183         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37184         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37185         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37186         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37187         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37188         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37189         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37192         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37193         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37195         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37196         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37197         * sysdeps/sparc/elf/configure: Regenerated.
37199 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37201         * configure.in (AS, LD): Require binutils 2.20 or later.
37202         * configure: Regenerated.
37203         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37204         as required minimum version.
37205         * INSTALL: Regenerated.
37207         [BZ #2541]
37208         [BZ #4108]
37209         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37210         before squaring exponent.
37211         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37212         bottom long double and 27 bits of top long double before squaring
37213         exponent.
37214         * math/libm-test.inc (erfc_test): Add more tests.
37215         * sysdeps/i386/fpu/libm-test-ulps: Update.
37216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37219 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37221         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37222         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37223         containing bit-fields.
37224         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37225         * soft-fp/single.h (_FP_UNION_S): Likewise.
37226         * soft-fp/double.h (_FP_UNION_D): Likewise.
37228 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37230         [BZ #13786]
37231         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37232         not include ../strcmp.S.
37233         [USE_AS_STRNCASECMP_L]: Likewise.
37234         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37235         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37236         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37237         (__strncasecmp_l_ia32): Define as alias to
37238         __strncasecmp_l_nonascii.
37240         [BZ #5794]
37241         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37242         * sysdeps/i386/fpu/libm-test-ulps: Update.
37243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37245         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37248 2012-02-29  Jeff Law  <law@redhat.com>
37250         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37251         out of bounds read.
37253 2012-02-29  Marek Polacek  <polacek@redhat.com>
37255         [BZ #13706]
37256         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37257         * elf/Makefile: Add rules to run tst-unused-dep.out.
37259 2012-02-28  David S. Miller  <davem@davemloft.net>
37261         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37262         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37264         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37265         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37266         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37268 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37270         * math/libm-test.inc (llround_test): Move one test from
37271         lround_test.  Use TEST_f_L in moved test.
37272         (lround_test): Move misplaced test to llround_test.  Add testcase
37273         from bug 2561.
37275 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37277         * sysdeps/x86_64/fpu/e_expf.S: New file.
37278         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37280 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37282         [BZ #13637]
37283         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37284         of remain_len that may cause incomplete multi-byte character and
37285         false match.
37286         * posix/bug-regex33.c: New file.
37287         * posix/Makefile (tests): Add bug-regex33.
37289 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37291         * manual/macros.texi: New file.
37292         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37293         * manual/libc.texinfo: Include macros.texi.
37294         * manual/creatute.texi: Likewise.
37295         * manual/install.texi: Likewise.
37296         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37297         @glibcadj{} in references to the GNU C Library.
37298         * manual/charset.texi: Likewise.
37299         * manual/conf.texi: Likewise.
37300         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37301         when not using those macros.
37302         * manual/creature.texi: Likewise.
37303         * manual/crypt.texi: Likewise.
37304         * manual/errno.texi: Likewise.
37305         * manual/filesys.texi: Likewise.
37306         * manual/header.texi: Likewise.
37307         * manual/install.texi: Likewise.
37308         * manual/intro.texi: Likewise.
37309         * manual/io.texi: Likewise.
37310         * manual/job.texi: Likewise.
37311         * manual/lang.texi: Likewise.
37312         * manual/libc.texiinfo: Likewise.
37313         * manual/llio.texi: Likewise.
37314         * manual/locale.texi: Likewise.
37315         * manual/maint.texi: Likewise.
37316         * manual/math.texi: Likewise.
37317         * manual/memory.texi: Likewise.
37318         * manual/message.texi: Likewise.
37319         * manual/nss.texi: Likewise.
37320         * manual/pattern.texi: Likewise.
37321         * manual/process.texi: Likewise.
37322         * manual/resource.texi: Likewise.
37323         * manual/search.texi: Likewise.
37324         * manual/setjmp.texi: Likewise.
37325         * manual/signal.texi: Likewise.
37326         * manual/socket.texi: Likewise.
37327         * manual/startup.texi: Likewise.
37328         * manual/stdio.texi: Likewise.
37329         * manual/string.texi: Likewise.
37330         * manual/sysinfo.texi: Likewise.
37331         * manual/syslog.texi: Likewise.
37332         * manual/terminal.texi: Likewise.
37333         * manual/time.texi: Likewise.
37334         * manual/users.texi: Likewise.
37335         * INSTALL: Regenerated.
37336         * NOTES: Regenerated.
37337         * sysdeps/gnu/errlist.c: Regenerated.
37339 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37341         * include/dirent.h: Include <dirstream.h> before
37342         <dirent/dirent.h>.
37344 2012-02-28  David S. Miller  <davem@davemloft.net>
37346         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37347         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37348         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37349         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37351 2012-02-27  David S. Miller  <davem@davemloft.net>
37353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37355         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37356         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37359         frame pointer instead of stack pointer relative arg slot.
37360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37361         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37362         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37364 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37366         [BZ #3992]
37367         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37369 2012-02-27  David S. Miller  <davem@davemloft.net>
37371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37375         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37376         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37377         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37378         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37380 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37382         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37383         later.  Allow versions 5-9.
37384         * configure: Regenerated.
37385         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37386         required minimum version and 4.6 as recommended version.  Do not
37387         mention bugs in GCC 2.7 and 2.8.
37388         * INSTALL: Regenerated.
37390 2012-02-27  David S. Miller  <davem@davemloft.net>
37392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37396         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37397         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37398         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37399         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37401         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37402         manipulate bits before adding and subtracting TWO112[sx].
37403         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37405 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37407         [BZ #13775]
37408         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37409         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37410         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37411         being in POSIX, because they are in 1003.1-2008.
37413         * rt/tst-aio.c: Include <fcntl.h>.
37414         * rt/tst-aio7.c: Likewise.
37415         * rt/tst-aio64.c: Likewise.
37417         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37419 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37421         * manual/install.texi (--with-headers): Describe headers as
37422         interface headers, not private headers.
37423         (Specific advice for GNU/Linux systems): Describe use of headers
37424         from "make headers_install", not private headers from older
37425         kernels.
37426         * INSTALL: Regenerated.
37427         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37428         Change to 2.6.19.
37429         * sysdeps/unix/sysv/linux/configure: Regenerated.
37431         * manual/llio.texi (fclean): Remove documentation.
37433         * manual/Makefile (libc-texi-generated): New variable.  Include
37434         version.texi.
37435         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37436         $(libc-texi-generated), not duplicated list of files.
37437         (version.texi, stamp-version): New rules.
37438         (realclean): Remove $(libc-texi-generated), not individual files
37439         from that list.  Do not remove dir-add.texinfo.
37440         * manual/libc.texinfo: Comment out uses of edition numbers and
37441         references to printed manual.  Remove last-updated dates.
37442         (EDITION): Comment out.
37443         (ISBN): Likewise.
37444         (VERSION, UPDATED): Remove.
37445         (version.texi): Include.
37447 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37449         * sysdeps/posix/spawni.c: Include <signal.h>.
37450         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37451         * sysdeps/pthread/aio_fsync.c: Likewise.
37453 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37455         * conform/Makefile (tests): Run only when not cross-compiling and
37456         when fast-check is not defined.
37458         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37459         * conform/data/limits.h-data: Fixes for POSIX2008.
37460         * conform/run-conformtest.sh: Run all tests.
37461         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37462         headers.
37463         * include/bits/dlfcn.h: Likewise.
37464         * include/langinfo.h: Likewise.
37465         * include/monetary.h: Likewise.
37466         * include/sys/poll.h: Likewise.
37468         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37469         for __USE_GNU.
37470         * posix/spawn.h: Define __need_sigset_t.
37471         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37472         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37473         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37474         to get sigevent_t only.
37475         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37476         only for __USE_GNU.
37477         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37478         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37479         process_vm_writev only for __USE_GNU.
37480         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37482         * conform/Makefile: For now ignore errors from run-conformtest.
37483         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37484         POSIX to avoid namespace pollution.  Don't prepend headers.
37485         * conform/data/aio.h-data: Fixes for POSIX testing.
37486         * conform/data/fcntl.h-data: Likewise.
37487         * conform/data/glob.h-data: Likewise.
37488         * conform/data/grp.h-data: Likewise.
37489         * conform/data/pthread.h-data: Likewise.
37490         * conform/data/pwd.h-data: Likewise.
37491         * conform/data/signal.h-data: Likewise.
37492         * conform/data/spawn.h-data: Likewise.
37493         * conform/data/stdio.h-data: Likewise.
37494         * conform/data/stdlib.h-data: Likewise.
37495         * conform/data/stropts.h-data: Likewise.
37496         * conform/data/sys/mman.h-data: Likewise.
37497         * conform/data/sys/stat.h-data: Likewise.
37498         * conform/data/sys/types.h-data: Likewise.
37499         * conform/data/sys/wait.h-data: Likewise.
37500         * conform/data/time.h-data: Likewise.
37501         * conform/data/unistd.h-data: Likewise.
37502         * conform/data/utime.h-data: Likewise.
37504         * io/sys/stat.h: fchmod was always in POSIX.
37505         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37506         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37507         * rt/aio.h: Define __need_timespec before including <time.h>.
37508         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37509         struct.  Add forward declaration of pthread_attr_t and use it in
37510         sigevent.
37511         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37513         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37514         always remove CLK_TCK definition.
37516 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37518         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37520 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37522         * conform/run-conformtest.sh: New file.
37523         * conform/Makefile: Run run-conformtest for tests.
37524         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37525         support.
37527         * conform/data/uchar.h-data: New file.
37528         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37529         * conform/data/arpa/inet.h-data: Likewise.
37530         * conform/data/assert.h-data: Likewise.
37531         * conform/data/complex.h-data: Likewise.
37532         * conform/data/cpio.h-data: Likewise.
37533         * conform/data/ctype.h-data: Likewise.
37534         * conform/data/dirent.h-data: Likewise.
37535         * conform/data/dlfcn.h-data: Likewise.
37536         * conform/data/errno.h-data: Likewise.
37537         * conform/data/fcntl.h-data: Likewise.
37538         * conform/data/float.h-data: Likewise.
37539         * conform/data/fmtmsg.h-data: Likewise.
37540         * conform/data/fnmatch.h-data: Likewise.
37541         * conform/data/ftw.h-data: Likewise.
37542         * conform/data/glob.h-data: Likewise.
37543         * conform/data/grp.h-data: Likewise.
37544         * conform/data/iconv.h-data: Likewise.
37545         * conform/data/inttypes.h-data: Likewise.
37546         * conform/data/langinfo.h-data: Likewise.
37547         * conform/data/libgen.h-data: Likewise.
37548         * conform/data/limits.h-data: Likewise.
37549         * conform/data/locale.h-data: Likewise.
37550         * conform/data/math.h-data: Likewise.
37551         * conform/data/monetary.h-data: Likewise.
37552         * conform/data/mqueue.h-data: Likewise.
37553         * conform/data/ndbm.h-data: Likewise.
37554         * conform/data/net/if.h-data: Likewise.
37555         * conform/data/netdb.h-data: Likewise.
37556         * conform/data/netinet/in.h-data: Likewise.
37557         * conform/data/nl_types.h-data: Likewise.
37558         * conform/data/poll.h-data: Likewise.
37559         * conform/data/pthread.h-data: Likewise.
37560         * conform/data/pwd.h-data: Likewise.
37561         * conform/data/regex.h-data: Likewise.
37562         * conform/data/sched.h-data: Likewise.
37563         * conform/data/search.h-data: Likewise.
37564         * conform/data/semaphore.h-data: Likewise.
37565         * conform/data/setjmp.h-data: Likewise.
37566         * conform/data/signal.h-data: Likewise.
37567         * conform/data/spawn.h-data: Likewise.
37568         * conform/data/stdarg.h-data: Likewise.
37569         * conform/data/stdio.h-data: Likewise.
37570         * conform/data/stdlib.h-data: Likewise.
37571         * conform/data/string.h-data: Likewise.
37572         * conform/data/strings.h-data: Likewise.
37573         * conform/data/stropts.h-data: Likewise.
37574         * conform/data/sys/ipc.h-data: Likewise.
37575         * conform/data/sys/mman.h-data: Likewise.
37576         * conform/data/sys/msg.h-data: Likewise.
37577         * conform/data/sys/resource.h-data: Likewise.
37578         * conform/data/sys/select.h-data: Likewise.
37579         * conform/data/sys/sem.h-data: Likewise.
37580         * conform/data/sys/shm.h-data: Likewise.
37581         * conform/data/sys/socket.h-data: Likewise.
37582         * conform/data/sys/stat.h-data: Likewise.
37583         * conform/data/sys/statvfs.h-data: Likewise.
37584         * conform/data/sys/time.h-data: Likewise.
37585         * conform/data/sys/timeb.h-data: Likewise.
37586         * conform/data/sys/times.h-data: Likewise.
37587         * conform/data/sys/types.h-data: Likewise.
37588         * conform/data/sys/uio.h-data: Likewise.
37589         * conform/data/sys/un.h-data: Likewise.
37590         * conform/data/sys/utsname.h-data: Likewise.
37591         * conform/data/sys/wait.h-data: Likewise.
37592         * conform/data/syslog.h-data: Likewise.
37593         * conform/data/tar.h-data: Likewise.
37594         * conform/data/termios.h-data: Likewise.
37595         * conform/data/utime.h-data: Likewise.
37596         * conform/data/utmpx.h-data: Likewise.
37597         * conform/data/varargs.h-data: Likewise.
37598         * conform/data/wchar.h-data: Likewise.
37599         * conform/data/wctype.h-data: Likewise.
37600         * conform/data/wordexp.h-data: Likewise.
37602         * include/stropts.h: New file.
37603         * include/uchar.h: New file.
37604         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37605         * include/assert.h: Likewise.
37606         * include/ctype.h: Likewise.
37607         * include/dirent.h: Likewise.
37608         * include/dlfcn.h: Likewise.
37609         * include/fcntl.h: Likewise.
37610         * include/fnmatch.h: Likewise.
37611         * include/glob.h: Likewise.
37612         * include/grp.h: Likewise.
37613         * include/libio.h: Likewise.
37614         * include/locale.h: Likewise.
37615         * include/math.h: Likewise.
37616         * include/net/if.h: Likewise.
37617         * include/netdb.h: Likewise.
37618         * include/netinet/in.h: Likewise.
37619         * include/pthread.h: Likewise.
37620         * include/pwd.h: Likewise.
37621         * include/regex.h: Likewise.
37622         * include/sched.h: Likewise.
37623         * include/search.h: Likewise.
37624         * include/setjmp.h: Likewise.
37625         * include/signal.h: Likewise.
37626         * include/stdio.h: Likewise.
37627         * include/stdlib.h: Likewise.
37628         * include/string.h: Likewise.
37629         * include/sys/cdefs.h: Likewise.
37630         * include/sys/mman.h: Likewise.
37631         * include/sys/msg.h: Likewise.
37632         * include/sys/resource.h: Likewise.
37633         * include/sys/select.h: Likewise.
37634         * include/sys/socket.h: Likewise.
37635         * include/sys/stat.h: Likewise.
37636         * include/sys/statvfs.h: Likewise.
37637         * include/sys/time.h: Likewise.
37638         * include/sys/times.h: Likewise.
37639         * include/sys/uio.h: Likewise.
37640         * include/sys/utsname.h: Likewise.
37641         * include/sys/wait.h: Likewise.
37642         * include/termios.h: Likewise.
37643         * include/time.h: Likewise.
37644         * include/ulimit.h: Likewise.
37645         * include/unistd.h: Likewise.
37646         * include/utime.h: Likewise.
37647         * include/wchar.h: Likewise.
37648         * include/wctype.h: Likewise.
37649         * include/wordexp.h: Likewise.
37651         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37653         * time/time.h: TIME_UTC must be a macro.
37654         Make timespec_get available for ISO C11 only as well.
37656 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37658         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37659         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37661 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37663         * configure.in: Use -o not -a in test for unsupported multi-arch.
37665 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37667         * manual/texinfo.tex: Update to version 2012-01-19.16.
37669 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37671         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37673 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37675         [BZ #13738]
37676         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37677         * manual/fdl-1.3.texi: New file.
37678         * manual/fdl-1.1.texi: File removed.
37680         [BZ #13738]
37681         * manual/libc.texinfo (FDL_VERSION): New @set.
37682         Use it for mention of FDL in cover text.
37683         (Documentation License): Use it in @include file name.
37685 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37686             Roland McGrath  <roland@hack.frob.com>
37688         [BZ #5461]
37689         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37690         (not LONG_LONG_MAX and LONG_LONG_MIN.
37691         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37692         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37693         name.
37694         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37696 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37698         [BZ #2547]
37699         [BZ #11365]
37700         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37701         manipulate bits before adding and subtracting TWO23[sx].
37702         * math/libm-test.inc (nearbyint_test): Add more tests.
37704 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37706         [BZ #2548]
37707         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37708         bits before adding and subtracting TWO23[sx].
37709         * math/libm-test.inc (rint_test): Add more tests.
37710         (rint_test_tonearest): Likewise.
37711         (rint_test_towardzero): Likewise.
37712         (rint_test_downward): Likewise.
37713         (rint_test_upward: Likewise.
37715 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37717         [BZ #10110]
37718         * include/stdc-predef.h: New file.  Extracted from features.h.
37719         * include/features.h: Include stdc-predef.h.
37720         * Makefile (headers): Add stdc-predef.h.
37721         * CONFORMANCE (Compiler limitations): Update.
37723 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37725         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37727 2012-02-21  David S. Miller  <davem@davemloft.net>
37729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37730         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37732 2012-02-20  David S. Miller  <davem@davemloft.net>
37734         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37735         using a normal save/restore sequence, rather than allocating a
37736         dummy stack frame just to store a frame pointer and restore.
37737         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37739 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37741         * manual/install.texi: Fix stray word in line-wrapped comment.
37743 2012-02-20  David S. Miller  <davem@davemloft.net>
37745         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37746         both binutils and gcc support GOTDATA.
37748         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37749         "rd %pc" in the PIC register setup sequences.
37751         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37752         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37753         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37754         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37755         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37757         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37760         (SYSCALL_ERROR_HANDLER): Likewise.
37761         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37762         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37764         (SYSCALL_ERROR_HANDLER): Likewise.
37766         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37767         (HAVE_GCC_GOTDATA): New.
37768         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37769         relocation support in both binutils and gcc.
37770         * sysdeps/sparc/elf/configure: Regenerate.
37772         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37773         * sysdeps/sparc/sparc32/elf/configure: Delete.
37774         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37775         * sysdeps/sparc/sparc64/elf/configure: Delete.
37776         * sysdeps/sparc/elf/configure.in: New file.
37777         * sysdeps/sparc/elf/configure: Generate.
37779         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37780         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37781         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37782         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37783         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37785 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37787         * manual/install.texi: Do not mention specific glibc version
37788         numbers.
37789         * manual/libc.texinfo (VERSION, UPDATED): Update.
37790         (@copying): Use @copyright{} and range of years.
37792 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37794         [BZ #13695]
37795         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37796         [crti.S not in sysdirs] (generated): Do not append.
37797         [crti.S not in sysdirs] (omit-deps): Likewise.
37798         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37799         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37800         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37801         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37802         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37803         Likewise.
37804         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37805         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37806         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37807         * csu/defs.awk: Remove file.
37808         * sysdeps/generic/initfini.c: Likewise.
37809         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37810         variable.
37811         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37812         Likewise.
37814 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37816         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37817         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37818         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37819         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37820         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37821         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37822         <bits/epoll.h>.
37823         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37824         (__EPOLL_PACKED): Define to empty if not defined by
37825         <bits/epoll.h>.
37826         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37828         bits/epoll.h.
37830 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37832         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37833         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37834         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37835         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37836         <bits/timerfd.h>.
37837         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37839         bits/timerfd.h.
37841 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37843         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37844         in C locale.
37845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37846         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37847         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37850 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37852         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37853         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37855 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37857         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37858         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37859         defined.
37860         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37861         Likewise.
37862         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37863         entry for 2.16.
37865 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37867         * math/w_acos.c: Use non-signaling floating-point comparisons.
37868         * math/w_acosf.c: Likewise.
37869         * math/w_acosh.c: Likewise.
37870         * math/w_acoshf.c: Likewise.
37871         * math/w_acoshl.c: Likewise.
37872         * math/w_acosl.c: Likewise.
37873         * math/w_asin.c: Likewise.
37874         * math/w_asinf.c: Likewise.
37875         * math/w_asinl.c: Likewise.
37876         * math/w_atanh.c: Likewise.
37877         * math/w_atanhf.c: Likewise.
37878         * math/w_atanhl.c: Likewise.
37879         * math/w_exp2.c: Likewise.
37880         * math/w_exp2f.c: Likewise.
37881         * math/w_exp2l.c: Likewise.
37882         * math/w_j0.c: Likewise.
37883         * math/w_j0f.c: Likewise.
37884         * math/w_j0l.c: Likewise.
37885         * math/w_j1.c: Likewise.
37886         * math/w_j1f.c: Likewise.
37887         * math/w_j1l.c: Likewise.
37888         * math/w_jn.c: Likewise.
37889         * math/w_jnf.c: Likewise.
37890         * math/w_log.c: Likewise.
37891         * math/w_log10.c: Likewise.
37892         * math/w_log10f.c: Likewise.
37893         * math/w_log10l.c: Likewise.
37894         * math/w_log2.c: Likewise.
37895         * math/w_log2f.c: Likewise.
37896         * math/w_log2l.c: Likewise.
37897         * math/w_logf.c: Likewise.
37898         * math/w_logl.c: Likewise.
37899         * math/w_sqrt.c: Likewise.
37900         * math/w_sqrtf.c: Likewise.
37901         * math/w_sqrtl.c: Likewise.
37902         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37903         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37904         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37905         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37906         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37908 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37910         [BZ #9739]
37911         * manual/string.texi (strnlen): Use correct parameter name in
37912         equivalent expression.
37914 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37916         [BZ #11174]
37917         * manual/users.texi (seteuid): Consistently use neweuid for
37918         argument name.
37920 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37922         [BZ #13704]
37923         * manual/nss.texi (Services in the NSS configuration): Correct
37924         list of services in example configuration file.
37926 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37928         [BZ #11322]
37929         * manual/arith.texi: Remove statements about negative zero
37930         behaving identically to zero.
37932 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37934         [BZ #5993]
37935         * manual/install.texi: Do not document upgrading from libc5.
37937 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37939         [BZ #4596]
37940         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37942 2012-02-18  David S. Miller  <davem@davemloft.net>
37944         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37945         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37946         %o7 across the call.
37947         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37948         instead.
37949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37950         SETUP_PIC_REG_LEAF.
37951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37952         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37953         * sysdeps/sparc/crtn.S: Likewise.
37955 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37957         * aout/Makefile: Remove.
37959 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37961         [BZ #13058]
37962         * manual/examples/argp-ex1.c (main): Format definition in GNU
37963         style.
37964         * manual/examples/argp-ex2.c (main): Likewise.
37965         * manual/examples/argp-ex3.c (main): Likewise.
37966         * manual/examples/argp-ex4.c (main): Likewise.
37967         * manual/examples/longopt.c (main): Use new-style prototype
37968         definition.
37969         * manual/examples/strncat.c (main): Specify return type and use
37970         (void) for arguments.
37971         * manual/examples/subopt.c (main): Use char **argv argument.
37973 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37975         [BZ #5077]
37976         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37977         rounding modes.
37979 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37981         [BZ #6907]
37982         * manual/string.texi (strchr): Change when strchrnul is
37983         recommended.
37985 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37987         [BZ #174]
37988         * manual/locale.texi (setlocale): Document LOCPATH.
37990 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37992         [BZ #10210]
37993         * manual/process.texi (execle): Move @dots{} before last argument.
37995 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37997         [BZ #12047]
37998         * manual/charset.texi (Generic Charset Conversion): Fix typo
37999         (LC_TYPE -> LC_CTYPE).
38001 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38003         [BZ #5805]
38004         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38005         (scalbnf): Likewise.
38006         (scalbnl): Likewise.
38007         (scalbln): Likewise.
38008         (scalblnf): Likewise.
38009         (scalblnl): Likewise.
38010         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38011         (vwarnx): Likewise.
38012         (verr): Likewise.
38013         (verrx): Likewise.
38014         * manual/filesys.texi (telldir): Use braces around return type.
38015         * manual/llio.texi (mmap): Add space after comma.
38016         (mmap64): Likewise.
38017         * manual/math.texi (jn): Use @var{} on parameter names.
38018         (jnf): Likewise.
38019         (jnl): Likewise.
38020         (yn): Likewise.
38021         (ynf): Likewise.
38022         (ynl): Likewise.
38023         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38024         line.
38025         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38026         "...".
38027         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38028         (sched_get_priority_max): Likewise.
38029         * manual/signal.texi (sigvec): Add space after comma.
38030         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38031         names.
38032         (if_indextoname): Likewise.
38033         (if_freenameindex): Likewise.
38034         (sendto): Use ',' instead of '.' in prototype.
38035         * manual/startup.texi (syscall): Use @dots{} instead of literal
38036         "...".
38037         * manual/stdio.texi (__fpending): Separate initial words of
38038         paragraph from @deftypefun line.
38039         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38040         "...".
38041         (vsyslog): Use @var{} on parameter names.
38042         * manual/terminal.texi (stty): Use @var{} on parameter names.
38043         * manual/users.texi (getutmp): Use @var{} on parameter names.
38044         (getutmpx): Likewise.
38046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38048         [BZ #6884]
38049         * manual/stdio.texi (fopen): Fix typos in description of
38050         ",ccs=STRING".
38052 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38054         [BZ #4026]
38055         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38056         get clock_id definition.
38058 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38060         [BZ #4822]
38061         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38062         (madvise): Cast every argument to void on its own.
38064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38066         [BZ #9902]
38067         * manual/startup.texi (Exit Status): Fix typo.
38069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38071         [BZ #10140]
38072         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38073         * manual/examples/argp-ex2.c: Likewise.
38074         * manual/examples/argp-ex3.c: Likewise.
38076 2012-02-16  Richard Henderson  <rth@redhat.com>
38078         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38079         * sysdeps/s390/s390-32/initfini.c: Remove.
38080         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38081         * sysdeps/s390/s390-64/initfini.c: Remove.
38083 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38085         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38086         compiler output for sysdeps/generic/initfini.c.
38087         * sysdeps/sh/elf/initfini.c: Remove file.
38089 2012-02-16  David S. Miller  <davem@davemloft.net>
38091         [BZ #11494]
38092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38094         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38095         * sysdeps/sparc/crti.S: New file.
38096         * sysdeps/sparc/crtn.S: New file.
38097         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38098         * sysdeps/sparc/sparc64/Makefile: Likewise.
38100 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38102         [BZ #3335]
38103         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38105 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38107         [BZ #4822]
38108         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38110         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38111         (write, read, close): Likewise.
38112         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38114 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38116         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38117         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38118         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38119         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38120         <bits/signalfd.h>.
38121         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38123         bits/signalfd.h.
38125 2012-02-14  Marek Polacek  <polacek@redhat.com>
38127         * sysdeps/x86_64/crti.S: New file.
38128         * sysdeps/x86_64/crtn.S: New file.
38129         * sysdeps/x86_64/elf/initfini.c: Remove file.
38131 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38133         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38134         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38135         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38136         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38137         <bits/inotify.h>.
38138         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38140         bits/inotify.h.
38142 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38144         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38145         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38146         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38147         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38148         <bits/eventfd.h>.
38149         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38151         bits/eventfd.h.
38153 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38155         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38156         __feraiseexcept instead of feraiseexcept.
38158         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38159         nanosleep invocations.
38160         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38161         strings, and add error checking for a nanosleep invocations.
38163 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38165         Replace FSF snail mail address with URLs, as per GNU coding standards.
38166         Most of the snail mail addresses were wrong anyway, and omitting
38167         them makes the source code easier to maintain.  Almost all of the
38168         changes are to license notices and to locale LC_IDENTIFICATION
38169         addresses, except for this one:
38170         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38171         not its snail mail address.
38173 2012-02-09  Richard Henderson  <rth@twiddle.net>
38175         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38176         of kernel-features.h.
38178         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38180 2012-02-08  Marek Polacek  <polacek@redhat.com>
38182         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38183         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38184         * sysdeps/gnu/_G_config.h: Likewise.
38185         * sysdeps/generic/_G_config.h: Likewise.
38187 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38189         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38190         tests.
38191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38193         * sysdeps/powerpc/powerpc32/crti.S: New file.
38194         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38195         * sysdeps/powerpc/powerpc64/crti.S: New file.
38196         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38198         * Makeconfig (have-initfini): Don't set.
38199         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38200         * configure.in (nopic_initfini): Don't substitute.
38201         * config.h.in (HAVE_INITFINI): Don't #undef.
38202         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38203         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38205 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38207         Support crti.S and crtn.S provided directly by architectures.
38208         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38209         [crti.S in sysdirs] (omit-deps): Likewise.
38210         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38211         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38212         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38213         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38214         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38215         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38216         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38217         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38218         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38219         compiler output for sysdeps/generic/initfini.c.
38220         * sysdeps/i386/elf/Makefile: Remove file.
38221         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38223 2012-02-07  Marek Polacek  <polacek@redhat.com>
38225         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38226         * sysdeps/gnu/_G_config.h: Likewise.
38227         * sysdeps/mach/hurd/_G_config.h: Likewise.
38229 2012-02-07  Marek Polacek  <polacek@redhat.com>
38231         * math/Makefile (tests): Add tst-CMPLX2.
38232         * math/tst-CMPLX2.c: New file.
38234 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38236         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38238         * math/libm-test.inc (jn_test): Add missing L suffix.
38240 2012-02-06  Marek Polacek  <polacek@redhat.com>
38242         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38243         * sysdeps/i386/fpu/e_powf.S: Likewise.
38244         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38245         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38246         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38247         * sysdeps/i386/fpu/e_pow.S: Likewise.
38248         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38249         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38250         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38251         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38252         * sysdeps/i386/fpu/e_log2.S: Likewise.
38253         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38254         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38255         * sysdeps/i386/fpu/e_powl.S: Likewise.
38256         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38257         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38258         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38259         * sysdeps/i386/fpu/e_logl.S: Likewise.
38260         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38261         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38262         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38263         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38264         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38265         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38266         * sysdeps/i386/fpu/e_log.S: Likewise.
38267         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38268         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38269         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38270         * sysdeps/i386/fpu/e_logf.S: Likewise.
38271         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38272         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38273         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38274         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38275         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38276         * sysdeps/i386/fpu/e_log10.S: Likewise.
38277         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38278         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38279         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38280         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38281         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38282         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38283         * sysdeps/i386/asm-syntax.h: Likewise.
38284         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38285         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38286         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38287         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38288         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38289         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38290         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38291         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38292         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38293         * sysdeps/powerpc/sysdep.h: Likewise.
38294         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38295         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38297 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38299         [BZ #411]
38300         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38302 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38304         * sysdeps/i386/sysdep.h: Include <features.h>.
38305         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38306         version.
38308 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38310         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38311         Define.
38312         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38313         LOAD_PIC_REG_STR.
38315 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38317         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38318         (SETUP_PIC_REG): Use GET_PC_THUNK.
38319         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38320         macro.
38322 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38325         for non-PIC compilation.
38326         (SETUP_PIC_REG): Add .p2align directive.
38327         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38328         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38329         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38332         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38333         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38335         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38336         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38337         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38338         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38339         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38340         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38341         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38344         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38345         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38346         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38347         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38348         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38350         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38353         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38354         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38355         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38356         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38357         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38358         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38359         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38360         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38361         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38362         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38363         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38364         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38365         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38366         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38367         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38369 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38371         * math/tst-CMPLX.c: Include <stdio.h>.
38373 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38375         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38376         float.
38377         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38378         * sysdeps/sparc/bits/mathdef.h: Likewise.
38380 2012-01-31  Marek Polacek  <polacek@redhat.com>
38382         * libio/libio.h: Don't define _PARAMS.
38383         * locale/programs/config.h: Don't define PARAMS.
38384         * stdlib/strtol_l.c: Likewise.
38385         (__strtol_l): Remove PARAMS from the prototype.
38387 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38389         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38390         names.  Just use the correct names.  Remove unnecessary wrapper
38391         functions.
38392         * malloc/arena.c: Likewise.
38393         * malloc/hooks.c: Likewise.
38395         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38396         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38397         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38399 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38401         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38402         into tail calls.
38403         (update_get_addr): New function.
38404         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38405         GET_ADDR_MODULE parameter.
38407 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38409         * crypt/cert.c: Remove __STDC__ conditionals.
38410         * crypt/crypt-entry.c: Likewise.
38411         * crypt/crypt_util.c: Likewise.
38412         * libio/filedoalloc.c: Likewise.
38413         * libio/fileops.c: Likewise.
38414         * libio/genops.c: Likewise.
38415         * libio/iofclose.c: Likewise.
38416         * libio/iofdopen.c: Likewise.
38417         * libio/iofopen.c: Likewise.
38418         * libio/iofopen64.c: Likewise.
38419         * libio/iogetdelim.c: Likewise.
38420         * libio/iopopen.c: Likewise.
38421         * libio/obprintf.c: Likewise.
38422         * libio/oldfileops.c: Likewise.
38423         * libio/oldiofclose.c: Likewise.
38424         * libio/oldiofdopen.c: Likewise.
38425         * libio/oldiofopen.c: Likewise.
38426         * libio/oldiopopen.c: Likewise.
38427         * libio/wfiledoalloc.c: Likewise.
38428         * libio/wgenops.c: Likewise.
38429         * locale/programs/xmalloc.c: Likewise.
38430         * misc/syslog.c: Likewise.
38431         * stdio-common/xbug.c: Likewise.
38432         * string/memchr.c: Likewise.
38433         * string/memcmp.c: Likewise.
38434         * string/memrchr.c: Likewise.
38435         * string/rawmemchr.c: Likewise.
38436         * sysdeps/posix/getcwd.c: Likewise.
38437         * time/strftime_l.c: Likewise.
38439 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38441         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38442         * config.make.in (config-cflags-sse2avx): Define.
38443         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38444         Fix typo.
38446 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38448         * scripts/config.guess: Update from upstream config git repository.
38449         * scripts/config.sub: Likewise.
38451 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38453         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38454         (EM_NUM): Update.
38455         (R_TILEPRO_*, R_TILEGX_*): New macros.
38457         * scripts/firstversions.awk: Fix bug in version range handling.
38459         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38463         * include/sys/epoll.h: New file.
38464         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38465         libc_hidden_def.
38467 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38469         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38470         Avoid unnecessary __WORDSIZE == 64 test.
38471         (fmaxf): Use VEX format if possible.
38472         (fmax): Likewise.
38473         (fminf): Likewise.
38474         (fmin): Likewise.
38476         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38477         * math/math_private.h: Remove libc_fegetround* and
38478         libc_fesetround*.
38479         * sysdeps/i386/configure.in: Check for -msse2avx.
38480         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38481         also if SSE2AVX is defined.
38482         Remove libc_fegetround* and libc_fesetround*.
38483         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38484         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38485         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38486         of HAS_YMM_USABLE.
38487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38488         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38489         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38490         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38491         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38493         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38495 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38497         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38498         size is not set.
38499         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38501 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38503         [BZ #13618]
38504         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38505         relocation.
38506         * Makeconfig (libm): Define.
38507         * elf/Makefile: Add rules to build and run tst-relsort1.
38508         * elf/tst-relsort1.c: New file.
38509         * elf/tst-relsort1mod1.c: New file.
38510         * elf/tst-relsort1mod2.c: New file.
38512 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38514         * math/s_ldexp.c: Remove __STDC__ conditionals.
38515         * math/s_ldexpf.c: Likewise.
38516         * math/s_ldexpl.c: Likewise.
38517         * math/s_nextafter.c: Likewise.
38518         * math/s_nexttowardf.c: Likewise.
38519         * math/s_significand.c: Likewise.
38520         * math/s_significandf.c: Likewise.
38521         * math/s_significandl.c: Likewise.
38522         * math/w_jnl.c: Likewise.
38523         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38524         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38525         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38526         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38527         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38528         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38529         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38530         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38531         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38532         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38533         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38535         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38536         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38538         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38539         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38540         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38542         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38543         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38544         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38545         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38547         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38548         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38549         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38550         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38551         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38552         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38553         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38554         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38555         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38556         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38557         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38558         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38559         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38560         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38561         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38562         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38563         * sysdeps/ieee754/k_standard.c: Likewise.
38564         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38566         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38568         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38573         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38582         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38583         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38586         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38589         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38593         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38595         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38597         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38599         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38602         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38603         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38604         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38606         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38607         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38608         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38609         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38612         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38613         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38616         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38617         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38618         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38619         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38620         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38621         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38622         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38623         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38624         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38625         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38626         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38627         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38628         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38629         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38630         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38631         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38632         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38634         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38635         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38636         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38637         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38638         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38639         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38640         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38641         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38642         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38643         * sysdeps/ieee754/s_matherr.c: Likewise.
38644         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38645         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38646         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38649 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38651         * crypt/md5.h: Remove __STDC__ conditionals.
38652         * libio/libioP.h: Likewise.
38653         * locale/programs/config.h: Likewise.
38654         * sysdeps/generic/sysdep.h: Likewise.
38655         * sysdeps/i386/asm-syntax.h: Likewise.
38656         * sysdeps/s390/asm-syntax.h: Likewise.
38657         * sysdeps/unix/sysdep.h: Likewise.
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38661 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38663         * libio/libio.h: Remove __STDC__ conditionals.
38664         * malloc/obstack.h: Likewise.
38665         * math/complex.h: Likewise.
38666         * math/math.h: Likewise.
38667         * sysdeps/generic/_G_config.h: Likewise.
38668         * sysdeps/gnu/_G_config.h: Likewise.
38669         * sysdeps/mach/hurd/_G_config.h: Likewise.
38670         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38671         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38672         * sysdeps/sparc/bits/mathdef.h: Likewise.
38674 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38676         [BZ #13583]
38677         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38678         Clean up HAS_* macros.
38679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38680         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38681         possible.
38682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38683         HAS_AVX.
38684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38685         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38686         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38687         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38688         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38690 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38692         * elf/tst-unique3.cc (gets): Remove declaration.
38693         * elf/tst-unique3lib.cc (gets): Likewise.
38694         * elf/tst-unique3lib2.cc (gets): Likewise.
38695         * elf/tst-unique4.cc (gets): Likewise.
38697 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38699         * include/stdio.h: Add C++ protection.  Add gets declarations and
38700         definitions.
38701         * debug/tst-chk1.c: Don't declare gets here.
38702         * stdio-common/tst-gets.c: Likewise.
38704 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38706         * posix/glob: Remove directory.
38708 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38710         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38712 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38714         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38715         of the non-standard EPFNOSUPPORT.
38717 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38719         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38720         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38721         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38723 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38725         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38727 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38729         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38730         transient errors.
38731         * nscd/grpcache.c (cache_addgr): Likewise.
38732         * nscd/hstcache.c (cache_addhst): Likewise.
38733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38734         * nscd/pwdcache.c (cache_addpw): Likewise.
38735         * nscd/servicescache.c (cache_addserv): Likewise.
38737 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38739         * malloc/malloc.c: Various cleanups.
38740         * malloc/hooks.c: Likewise.
38742         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38743         * stdlib/bug-fmtmsg1.c: New file.
38745         * stdlib/fmtmsg.c (init): Add missing unlock.
38746         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38748 2012-01-12  Marek Polacek  <polacek@redhat.com>
38750         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38751         and _GNU_SOURCE.
38753 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38755         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38756         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38757         macro to ensure uniqueness of label name.
38758         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38759         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38761 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38765         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38766         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38767         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38770 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38772         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38774         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38775         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38776         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38778         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38780         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38781         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38782         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38785         * math/bits/math-finite.h: Add ldexp support.
38787 2012-01-10  Marek Polacek  <polacek@redhat.com>
38789         * locale/programs/localedef.h (show_archive_content): Add noreturn
38790         attribute.
38792 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
38794         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38796 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38798         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38800         * io/Makefile (headers): Add bits/poll2.h.
38802 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
38804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38805         typo #include statement.
38807 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38809         * include/sys/cdefs.h: Define __attribute_alloc_size.
38810         * catgets/gencat.c: Add alloc_size attribute and apply consistently
38811         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38812         * elf/pldd.c: Likewise.
38813         * iconv/iconv_charmap.c: Likewise.
38814         * iconv/iconvconfig.c: Likewise.
38815         * iconv/strtab.c: Likewise.
38816         * locale/programs/locale.c: Likewise.
38817         * locale/programs/localedef.h: Likewise.
38818         * locale/programs/simple-hash.c: Likewise.
38819         * nscd/nscd.h: Likewise.
38820         * nss/makedb.c: Likewise.
38821         * sysdeps/generic/ldconfig.h: Likewise.
38822         * locale/programs/localedef.c: Remove xmalloc prototype.
38823         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38825 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38827         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38828         appropriate.
38830 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38832         * math/Makefile (tests): Add tst-CMPLX.
38833         * math/tst-CMPLX.c: New file.
38835         * math/complex.h (CMPLXL): Fix typo.
38837         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38838         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38839         GLIBC_2.16.
38840         * debug/tst-chk1.c: Add poll and ppoll tests.
38841         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38842         * include/sys/poll.h: Add hidden proto for ppoll.
38843         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38844         * sysdeps/mach/hurd/ppoll.c: Likewise.
38845         * io/ppoll.c: Likewise.
38846         * debug/poll_chk.c: New file.
38847         * debug/ppoll_chk.c: New file.
38848         * include/bits/poll2.h: New file.
38849         * io/bits/poll2.h: New file.
38851         [BZ #1350]
38852         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38854         * configure.in: static is always set to yes.  Remove.
38855         * config.make.in: Don't set build-static.
38856         * Makeconfig: Remove use of build-static.
38857         * dlfcn/Makefile: Likewise.
38858         * elf/Makefile: Likewise.
38859         * math/Makefile: Likewise.
38860         * misc/Makefile: Likewise.
38861         * nptl/Makefile: Likewise.
38862         * sysdeps/mach/hurd/Makefile: Likewise.
38864         * configure.in: PWD_P is not used anymore.
38865         * config.make.in: Remove PWD_P entry.
38867         * configure.in: Remove last remnants of RANLIB.
38868         No need to check for signed size_t anymore.
38869         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38870         and IA-64.
38871         Remove __builtin_expect test because we require at least gcc 3.4.
38872         * aclocal.m4: Likewise.
38874         * wcsmbs/mbrtoc16.c: Implement using towc function.
38875         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38876         * wcsmbs/wcsmbsload.c: Likewise.
38877         * iconv/gconv_simple.c: Likewise.
38878         * iconv/gconv_int.h: Likewise.
38879         * iconv/gconv_builtin.h: Likewise.
38880         * iconv/iconv_prog.c: Remove CHAR16 handling.
38882         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38884         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38886         * configure.in: Remove --with-elf and --enable-bounded options.
38887         Dont set base_machine for ia64.  More non-ELF conditions removed.
38888         Remove testing and setting of leading underscore information.
38889         * config.make.in (build-bounded): Set to no.
38890         * config.h.in: Remove NO_UNDERSCORES entry.
38891         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38892         them.
38893         * csu/start.c: Remove !NO_UNDERSCORE code.
38894         * locale/localeinfo.h: Likewise.
38895         * sysdeps/generic/machine-gmon.h: Likewise.
38896         * sysdeps/generic/sysdep.h: Likewise.
38897         * sysdeps/i386/sysdep.h: Likewise.
38898         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38899         * sysdeps/mach/sysdep.h: Likewise.
38900         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38901         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38902         * sysdeps/sh/sysdep.h: Likewise.
38903         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38904         * sysdeps/unix/i386/sysdep.S: Likewise.
38905         * sysdeps/unix/sparc/start.c: Likewise.
38906         * sysdeps/unix/sparc/sysdep.S: Likewise.
38907         * sysdeps/unix/sparc/sysdep.h: Likewise.
38908         * sysdeps/unix/start.c: Likewise.
38909         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38910         * sysdeps/x86_64/sysdep.h: Likewise.
38912 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38914         [BZ #13553]
38915         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38916         for non-gcc.
38917         * argp/argp-fmtstream.h: Use const instead __const.
38918         * argp/argp.h: Likewise.
38919         * assert/assert.h: Likewise.
38920         * bits/fenv.h: Likewise.
38921         * bits/sched.h: Likewise.
38922         * bits/sigset.h: Likewise.
38923         * bits/sigthread.h: Likewise.
38924         * catgets/nl_types.h: Likewise.
38925         * conform/data/pthread.h-data: Likewise.
38926         * crypt/crypt-private.h: Likewise.
38927         * crypt/crypt.h: Likewise.
38928         * crypt/crypt_util.c: Likewise.
38929         * ctype/ctype.h: Likewise.
38930         * debug/execinfo.h: Likewise.
38931         * debug/mbsnrtowcs_chk.c: Likewise.
38932         * debug/mbsrtowcs_chk.c: Likewise.
38933         * debug/wcsnrtombs_chk.c: Likewise.
38934         * debug/wcsrtombs_chk.c: Likewise.
38935         * debug/wcstombs_chk.c: Likewise.
38936         * dirent/dirent.h: Likewise.
38937         * dlfcn/dlfcn.h: Likewise.
38938         * elf/neededtest4.c: Likewise.
38939         * grp/grp.h: Likewise.
38940         * gshadow/gshadow.h: Likewise.
38941         * iconv/gconv.h: Likewise.
38942         * iconv/gconv_int.h: Likewise.
38943         * iconv/gconv_simple.c: Likewise.
38944         * iconv/iconv.h: Likewise.
38945         * iconv/loop.c: Likewise.
38946         * iconv/skeleton.c: Likewise.
38947         * include/aio.h: Likewise.
38948         * include/aliases.h: Likewise.
38949         * include/argz.h: Likewise.
38950         * include/arpa/inet.h: Likewise.
38951         * include/assert.h: Likewise.
38952         * include/dirent.h: Likewise.
38953         * include/dlfcn.h: Likewise.
38954         * include/execinfo.h: Likewise.
38955         * include/fcntl.h: Likewise.
38956         * include/fenv.h: Likewise.
38957         * include/glob.h: Likewise.
38958         * include/grp.h: Likewise.
38959         * include/libintl.h: Likewise.
38960         * include/mntent.h: Likewise.
38961         * include/netdb.h: Likewise.
38962         * include/pwd.h: Likewise.
38963         * include/rpc/netdb.h: Likewise.
38964         * include/sched.h: Likewise.
38965         * include/search.h: Likewise.
38966         * include/shadow.h: Likewise.
38967         * include/signal.h: Likewise.
38968         * include/stdio.h: Likewise.
38969         * include/stdlib.h: Likewise.
38970         * include/string.h: Likewise.
38971         * include/sys/socket.h: Likewise.
38972         * include/sys/stat.h: Likewise.
38973         * include/sys/statfs.h: Likewise.
38974         * include/sys/statvfs.h: Likewise.
38975         * include/sys/syslog.h: Likewise.
38976         * include/sys/time.h: Likewise.
38977         * include/sys/uio.h: Likewise.
38978         * include/time.h: Likewise.
38979         * include/unistd.h: Likewise.
38980         * include/utmp.h: Likewise.
38981         * include/wchar.h: Likewise.
38982         * include/wctype.h: Likewise.
38983         * inet/aliases.h: Likewise.
38984         * inet/arpa/inet.h: Likewise.
38985         * inet/netinet/ether.h: Likewise.
38986         * inet/netinet/in.h: Likewise.
38987         * intl/libintl.h: Likewise.
38988         * io/bits/fcntl2.h: Likewise.
38989         * io/fcntl.h: Likewise.
38990         * io/ftw.h: Likewise.
38991         * io/sys/poll.h: Likewise.
38992         * io/sys/stat.h: Likewise.
38993         * io/sys/statfs.h: Likewise.
38994         * io/sys/statvfs.h: Likewise.
38995         * io/utime.h: Likewise.
38996         * libio/bits/stdio.h: Likewise.
38997         * libio/bits/stdio2.h: Likewise.
38998         * libio/libio.h: Likewise.
38999         * libio/libioP.h: Likewise.
39000         * libio/stdio.h: Likewise.
39001         * locale/lc-ctype.c: Likewise.
39002         * locale/locale.h: Likewise.
39003         * login/utmp.h: Likewise.
39004         * malloc/arena.c: Likewise.
39005         * malloc/malloc.c: Likewise.
39006         * malloc/malloc.h: Likewise.
39007         * malloc/mcheck.c: Likewise.
39008         * malloc/mtrace.c: Likewise.
39009         * math/bits/mathcalls.h: Likewise.
39010         * math/fenv.h: Likewise.
39011         * math/math_private.h: Likewise.
39012         * misc/bits/error.h: Likewise.
39013         * misc/bits/syslog.h: Likewise.
39014         * misc/err.h: Likewise.
39015         * misc/error.h: Likewise.
39016         * misc/fstab.h: Likewise.
39017         * misc/mntent.h: Likewise.
39018         * misc/regexp.h: Likewise.
39019         * misc/search.h: Likewise.
39020         * misc/sgtty.h: Likewise.
39021         * misc/sys/mman.h: Likewise.
39022         * misc/sys/syslog.h: Likewise.
39023         * misc/sys/uio.h: Likewise.
39024         * misc/sys/xattr.h: Likewise.
39025         * misc/ttyent.h: Likewise.
39026         * nis/rpcsvc/ypclnt.h: Likewise.
39027         * nss/nss.h: Likewise.
39028         * posix/bits/unistd.h: Likewise.
39029         * posix/fnmatch.h: Likewise.
39030         * posix/glob.h: Likewise.
39031         * posix/sched.h: Likewise.
39032         * posix/spawn.h: Likewise.
39033         * posix/sys/wait.h: Likewise.
39034         * posix/unistd.h: Likewise.
39035         * posix/wordexp.h: Likewise.
39036         * pwd/pwd.h: Likewise.
39037         * resolv/netdb.h: Likewise.
39038         * resource/sys/resource.h: Likewise.
39039         * rt/aio.h: Likewise.
39040         * rt/bits/mqueue2.h: Likewise.
39041         * rt/mqueue.h: Likewise.
39042         * shadow/shadow.h: Likewise.
39043         * signal/signal.h: Likewise.
39044         * socket/send.c: Likewise.
39045         * socket/sendto.c: Likewise.
39046         * socket/sys/socket.h: Likewise.
39047         * stdio-common/printf.h: Likewise.
39048         * stdlib/bits/stdlib.h: Likewise.
39049         * stdlib/fmtmsg.h: Likewise.
39050         * stdlib/monetary.h: Likewise.
39051         * stdlib/stdlib.h: Likewise.
39052         * stdlib/ucontext.h: Likewise.
39053         * streams/stropts.h: Likewise.
39054         * string/argz.h: Likewise.
39055         * string/bits/string2.h: Likewise.
39056         * string/string.h: Likewise.
39057         * string/strings.h: Likewise.
39058         * sunrpc/rpc/auth.h: Likewise.
39059         * sunrpc/rpc/auth_des.h: Likewise.
39060         * sunrpc/rpc/clnt.h: Likewise.
39061         * sunrpc/rpc/netdb.h: Likewise.
39062         * sunrpc/rpc/pmap_clnt.h: Likewise.
39063         * sunrpc/rpc/xdr.h: Likewise.
39064         * sysdeps/generic/inttypes.h: Likewise.
39065         * sysdeps/generic/net/if.h: Likewise.
39066         * sysdeps/generic/sys/swap.h: Likewise.
39067         * sysdeps/gnu/net/if.h: Likewise.
39068         * sysdeps/gnu/utmpx.h: Likewise.
39069         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39070         * sysdeps/i386/i486/bits/string.h: Likewise.
39071         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39072         * sysdeps/s390/bits/string.h: Likewise.
39073         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39074         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39075         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39076         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39077         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39078         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39079         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39080         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39081         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39082         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39083         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39084         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39085         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39086         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39087         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39088         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39089         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39090         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39091         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39092         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39093         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39094         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39095         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39096         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39097         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39098         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39099         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39100         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39101         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39102         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39103         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39104         * sysvipc/sys/ipc.h: Likewise.
39105         * sysvipc/sys/msg.h: Likewise.
39106         * sysvipc/sys/sem.h: Likewise.
39107         * sysvipc/sys/shm.h: Likewise.
39108         * termios/termios.h: Likewise.
39109         * time/sys/time.h: Likewise.
39110         * time/time.h: Likewise.
39111         * wcsmbs/bits/wchar2.h: Likewise.
39112         * wcsmbs/uchar.h: Likewise.
39113         * wcsmbs/wchar.h: Likewise.
39114         * wctype/wctype.h: Likewise.
39116         [BZ #13551]
39117         * Makeconfig: Remove all but ELF support including AIX support.
39118         * Makerules: Likewise.
39119         * config.h.in: Likewise.
39120         * config.make.in: Likewise.
39121         * configure: Likewise.
39122         * configure.in: Likewise.
39123         * csu/Makefile: Likewise.
39124         * csu/version.c: Likewise.
39125         * debug/Makefile: Likewise.
39126         * dlfcn/Makefile: Likewise.
39127         * elf/Makefile: Likewise.
39128         * extra-lib.mk: Likewise.
39129         * iconv/Makefile: Likewise.
39130         * include/libc-symbols.h: Likewise.
39131         * include/shlib-compat.h: Likewise.
39132         * resolv/Makefile: Likewise.
39133         * resolv/res_libc.c: Likewise.
39134         * rt/Makefile: Likewise.
39135         * sysdeps/i386/asm-syntax.h: Likewise.
39136         * sysdeps/i386/sysdep.h: Likewise.
39137         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39138         * sysdeps/mach/sysdep.h: Likewise.
39139         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39140         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39141         * sysdeps/s390/asm-syntax.h: Likewise.
39142         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39143         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39144         * sysdeps/sh/sysdep.h: Likewise.
39145         * sysdeps/unix/sparc/sysdep.h: Likewise.
39146         * sysdeps/wordsize-32/divdi3.c: Likewise.
39147         * sysdeps/x86_64/sysdep.h: Likewise.
39149         * argp/Versions: Remove _argp_unlock_xxx.
39151         [BZ #13559]
39152         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39153         * abilist/libBrokenLocale.abilist: Likewise.
39154         * abilist/libanl.abilist: Likewise.
39155         * abilist/libc.abilist: Likewise.
39156         * abilist/libcrypt.abilist: Likewise.
39157         * abilist/libdl.abilist: Likewise.
39158         * abilist/libm.abilist: Likewise.
39159         * abilist/libnsl.abilist: Likewise.
39160         * abilist/libpthread.abilist: Likewise.
39161         * abilist/libresolv.abilist: Likewise.
39162         * abilist/librt.abilist: Likewise.
39163         * abilist/libthread_db.abilist: Likewise.
39164         * abilist/libutil.abilist: Likewise.
39165         * abilist/libnss_db.abilist: New file.
39167         * scripts/abilist.awk: Add support for indirect functions.
39169         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39171         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39173         * shlib-versions: Remove entries for ports architectures.
39175         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39176         files in ports.
39177         * elf/stackguard-macros.h: Remove support for IA-64.
39178         * elf/tst-auditmod1.c: Likewise.
39179         * sysdeps/generic/ldsodefs.h: Likewise.
39181         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39182         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39183         configure files.
39185         [BZ #13552]
39186         * configure.in: Remove --enable-omitfp support.
39187         * FAQ.in: Adjust.
39188         * config.make.in: Likewise.
39189         * Makeconfig: Likewise.
39190         * manual/install.texi: Likewise.
39192         In case anyone cares, the IA-64 architecture could move to ports.
39193         * sysdeps/ia64/*: Removed.
39194         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39195         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39197         [BZ #13555]
39198         * configure.in: Remove entries for unsupported architectures.
39200         [BZ #13533]
39201         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39202         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39203         routines.
39204         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39205         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39206         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39207         fall back to using wcrtomb.
39208         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39209         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39210         renaming.
39211         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39212         * wcsmbs/tst-c16c32-1.c: New file.
39214         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39215         local variable.
39217         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39219         * elf/tst-unique3.cc: Add explicit declaration of gets.
39220         * elf/tst-unique3lib.cc: Likewise.
39221         * elf/tst-unique3lib2.cc: Likewise.
39222         * elf/tst-unique4.cc: Likewise.
39224         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39226 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39228         [BZ #13566]
39229         * assert/assert.h (static_assert): Don't define for C++.
39230         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39231         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39233 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39235         * iconv/loop.c (single loop): Fix assertion in storing of
39236         remaining bytes.
39238         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39240 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39242         * posix/getconf.c: Update copyright year.
39243         * nss/getent.c: Likewise.
39244         * nss/makedb.c: Likewise.
39245         * iconv/iconvconfig.c: Likewise.
39246         * iconv/iconv_prog.c: Likewise.
39247         * elf/ldconfig.c: Likewise.
39248         * elf/pldd.c: Likewise.
39249         * elf/sotruss.ksh: Likewise.
39250         * catgets/gencat.c: Likewise.
39251         * csu/version.c: Likewise.
39252         * elf/ldd.bash.in: Likewise.
39253         * elf/sprof.c (print_version): Likewise.
39254         * locale/programs/locale.c: Likewise.
39255         * locale/programs/localedef.c: Likewise.
39256         * login/programs/pt_chown.c: Likewise.
39257         * nscd/nscd.c (print_version): Likewise.
39258         * debug/xtrace.sh: Likewise.
39259         * malloc/memusage.sh: Likewise.
39260         * malloc/mtrace.pl: Likewise.
39261         * debug/catchsegv.sh: Likewise.
39263 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39265         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39266         pure attribute.
39268 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39270         [BZ #13533]
39271         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39272         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39273         transformations.
39274         * iconv/gconv_int.h: Likewise.
39275         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39276         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39277         from libc for GLIBC_2.16.
39278         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39279         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39280         * wcsmbs/uchar.h: Really define mbstate_t.
39281         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39282         * wcsmbs/c16rtomb.c: New file.
39283         * wcsmbs/mbrtoc16.c: New file.
39284         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39285         for C/POSIX locale.
39286         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39287         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39289         * wcsmbs/wchar.h: Add missing __restrict.
39291 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39293         [BZ #13532]
39294         * time/Makefile (routines): Add timespec_get.
39295         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39296         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39297         timespec for ISO C11.
39298         * time/timespec_get.c: New file.
39299         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39300         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39302         [BZ #13531]
39303         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39304         * stdlib/stdlib.h: Declare aligned_alloc.
39305         * Versions.def: Add GLIBC_2.16 for libc.
39306         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39308         [BZ 13527]
39309         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39310         ISO C11.
39312         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39313         code.
39315         [BZ #13528]
39316         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39318         [BZ #13529]
39319         * assert/assert.h (static_assert): Define.
39321         * version.h: Update for 2.16 development version.
39323         [BZ #13526]
39324         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39325         _ISOC11_SOURCE.
39327         * version.h (RELEASE): Bump for 2.15 release.
39328         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39330         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39331         Patch by Marek Polacek <mpolacek@redhat.com>.
39333         * bits/byteswap.h: Protect long long constants with __extension__.
39334         * sysdeps/i386/bits/byteswap.h: Likewise.
39335         * sysdeps/ia64/bits/byteswap.h: Likewise.
39336         * sysdeps/s390/bits/byteswap.h: Likewise.
39337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39339 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39341         [BZ #13540]
39342         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39343         destination buffer.
39344         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39346 2011-12-23  Marek Polacek  <polacek@redhat.com>
39348         * elf/dl-addr.c (determine_info): Add inline keyword.
39349         * elf/tst-auditmod4b.c (check_avx): Likewise.
39350         * elf/tst-auditmod6b.c (check_avx): Likewise.
39351         * elf/tst-auditmod6c.c (check_avx): Likewise.
39352         * elf/tst-auditmod7b.c (check_avx): Likewise.
39354 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39356         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39357         !__SSE_MATH__.
39359 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39361         [BZ #13540]
39362         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39363         processing for last bytes.
39365 2011-08-06  Bruno Haible  <bruno@clisp.org>
39367         [BZ #13061]
39368         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39369         U+0385, not to U+1FEE.
39371         [BZ #13062]
39372         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39373         entry for U+00A5 U+0301.
39375 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39377         [BZ #13166]
39378         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39379         buffer for the output is too small.
39381         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39382         optimization.
39384         [BZ #13185]
39385         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39386         SSE flags if possible.
39388 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39390         [BZ #13540]
39391         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39392         processing for last bytes.
39394 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39396         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39397         (syscall-list-default-options, syscall-list-default-condition)
39398         (syscall-list-includes): Define.
39399         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39400         list of ABIs and options and #if conditions for each ABI.  Do not
39401         handle common syscalls between ABIs specially.
39402         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39403         Remove.
39404         (syscall-list-variants, syscall-list-32bit-options)
39405         (syscall-list-32bit-condition, syscall-list-64bit-options)
39406         (syscall-list-64bit-condition): Define.
39407         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39408         (syscall-list-variants, syscall-list-32bit-options)
39409         (syscall-list-32bit-condition, syscall-list-64bit-options)
39410         (syscall-list-64bit-condition): Define.
39411         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39412         Remove.
39413         (syscall-list-variants, syscall-list-32bit-options)
39414         (syscall-list-32bit-condition, syscall-list-64bit-options)
39415         (syscall-list-64bit-condition): Define.
39416         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39417         Remove.
39418         (syscall-list-variants, syscall-list-32bit-options)
39419         (syscall-list-32bit-condition, syscall-list-64bit-options)
39420         (syscall-list-64bit-condition): Define.
39422 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39424         * locale/iso-639.def: Add brx entry.
39426         [BZ #13328]
39427         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39428         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39430         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39431         __feraiseexcept_renamed.
39433 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39435         [BZ #13538]
39436         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39437         EPOLLET with unsigned values.
39438         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39441         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39442         to large cancellation.
39443         * math/s_cacoshf.c: Likewise.
39444         * math/s_cacoshl.c: Likewise.
39446 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39448         [BZ #13305]
39449         [BZ #12786]
39450         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39451         * math/s_cacoshf.c: Likewise.
39452         * math/s_cacoshl.c: Likewise.
39454 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39456         [BZ #13439]
39457         * iconv/gconv.h: Define __GCONV_SWAP.
39458         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39459         * iconvdata/utf-16.c: Likewise.
39460         * iconvdata/utf-32.c: Likewise.
39462 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39464         [BZ #13524]
39465         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39466         numerator after shifting it by one limb.
39468 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39470         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39471         under [__USE_EXTERN_INLINES].
39473 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39475         [BZ #13446]
39476         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39478 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39480         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39481         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39482         optimized code.
39483         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39484         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39485         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39486         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39487         for strncasecmp/strncasecmp_l compilation.
39488         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39489         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39491 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39493         [BZ #13484]
39494         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39495         of __asm__.
39497 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39499         [BZ #13506]
39500         * time/tzfile.c (__tzfile_read): Check values from file header.
39502 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39504         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39505         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39506         * powerpc/powerpc32/dl-start.S: Likewise.
39507         * powerpc/powerpc32/elf/start.S: Likewise.
39508         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39509         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39510         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39511         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39512         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39513         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39514         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39515         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39516         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39517         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39518         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39519         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39520         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39521         * powerpc/powerpc32/memset.S: Likewise.
39522         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39523         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39524         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39525         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39526         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39527         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39528         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39529         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39530         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39531         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39532         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39533         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39534         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39536 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39538         * math/libm-test.inc: Added more nearbyint tests.
39539         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39541         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39544 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39546         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39547         FD_CLOEXEC.
39549 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39551         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39552         Add wcscpy-ssse3 wcscpy-c.
39553         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39554         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39555         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39556         * sysdeps/x86_64/wcschr.S: New file.
39557         * sysdeps/x86_64/wcsrchr.S: New file.
39558         * string/test-strcmp.c: Remove checking of wcscmp function for
39559         wrong alignments.
39560         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39561         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39562         wcsrchr-sse2 wcsrchr-c.
39563         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39564         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39565         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39566         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39567         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39568         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39569         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39570         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39571         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39572         * wcsmbc/wcschr.c (WCSCHR): New macro.
39574 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39576         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39577         * wcsmbs/test-wcsrchr.c: New file.
39578         * string/test-strrchr.c: Add wcsrchr support.
39579         (WIDE): New macro.
39580         * wcsmbs/test-wcscpy.c: New file.
39581         * string/test-strcpy.c: Add wcscpy support.
39582         (WIDE): New macro.
39584 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39586         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39587         the inner loop.
39589 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39591         [BZ #13472]
39592         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39594 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39596         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39597         Minor optimizations.
39599         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39600         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39601         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39603 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39605         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39606         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39607         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39608         for gcc to avoid warnings.
39609         * inet/Makefile (tests): Add tst-checks.
39610         * inet/tst-checks.c: New file.
39612         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39613         warning.
39615         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39616         __wmemcmp_sse2.
39618         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39619         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39621         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39623 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39625         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39626         problem.
39628         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39630 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39632         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39633         conditional on GCC version.
39634         (__arch_compare_and_exchange_val_8_acq)
39635         (__arch_compare_and_exchange_val_16_acq)
39636         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39637         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39638         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39640 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39642         * sysdeps/sh/backtrace.c: New file.
39644 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39646         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39647         parenthesis.
39649 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39651         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39652         falling back to utime.
39654 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39656         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39657         expectations for float.
39659 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39661         * locale/weight.h (findidx): Add parameter len.
39662         * locale/weightwc.h (findidx): Likewise.
39663         * posix/fnmatch_loop.c (FCT): Adjust caller.
39664         * posix/regcomp.c (build_equiv_class): Likewise.
39665         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39666         * posix/regexec.c (check_node_accept_bytes): Likewise.
39667         * string/strcoll_l.c (STRCOLL): Likewise.
39668         * string/strxfrm_l.c (STRXFRM): Likewise.
39670 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39672         * Makefile.in: Remove CVSOPT handling.
39673         * configure.in: Remove use of AC_REVISION.
39674         * iconvdata/Makefile (distribute): No need to filter out CVS.
39675         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39676         handling.
39678 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39681         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39682         [USE_AS_STRNCASECMP_L]: Likewise.
39683         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39684         NO_TLS_DIRECT_SEG_REFS.
39685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39686         Fix argument offsets for non-PIC.
39687         [USE_AS_STRNCASECMP_L]: Likewise.
39688         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39689         NO_TLS_DIRECT_SEG_REFS.
39691 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39693         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39694         O_CLOEXEC.
39695         * locale/loadlocale.c (_nl_load_locale): Likewise.
39697 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39699         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39700         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39701         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39702         (SYSCALL_GETTIME): Set errno on error.
39704         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39705         count references to noai6ai_cached.
39707 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39709         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39711         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39712         FD_CLOEXEC for /proc/self/maps.
39714         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39715         FD_CLOEXEC for /proc/meminfo.
39717         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39718         gai.conf.
39720         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39721         FD_CLOEXEC for given file.
39723         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39725         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39726         FD_CLOEXEC for /etc/hosts.
39727         (_gethtent): Likewise.
39729         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39731         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39732         cancellation and set FD_CLOEXEC for /etc/netgroup.
39734         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39735         reading /etc/publickey.
39737         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39738         allow cancellation when reading /etc/group.
39740         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39741         cancellation.
39742         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39744         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39745         when using data file.
39747         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39749         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39750         (write_nis_obj): Use "c" and "e" in fopen.
39752         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39754         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39756         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39758         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39760         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39761         locale.alias.
39763         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39765         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39767         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39769         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39770         file parsing and set FD_CLOEXEC.
39772 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39774         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39776 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39778         * malloc/arena.c (arena_get2): Don't call reused_arena when
39779         _int_new_arena failed.
39781 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39783         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39784         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39785         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39786         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39787         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39789         to compile strcasecmp and strncasecmp.
39790         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39791         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39793         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39795 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
39797         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39798         locale-defines.sym to gen-as-const-headers.
39799         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39800         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39802         to compile strcasecmp and strncasecmp.
39803         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39804         strcasecmp_l and strncasecmp_l.
39805         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39806         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39807         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39808         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39809         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39810         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39811         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39812         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39813         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39814         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39815         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39817 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39819         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39820         result of SYSDEP_GETTIME_CPU to retval.
39821         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39822         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39824         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39825         variable.
39827         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39828         mantissa words.
39829         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39831         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39832         from unused variable.
39834         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39835         DWARF definitions.
39836         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39837         for assembling.
39839         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39840         over namespaces.
39842         * sunrpc/rpc_prot.c (rejected): Fix case value.
39844         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39845         unsigned long long int to avoid warnings in shift.
39847         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39848         of use of trans.
39849         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39850         variable tmp.
39852         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39853         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39854         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39856         * nis/nis_table.c (nis_list): Use variable of correct type for
39857         result of __follow_path call.
39859 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39861         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39862         of math functions ceil, trunc, floor, round, and sqrt, when
39863         avaliable on the platform.
39864         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39865         name clash.
39866         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39867         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39868         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39870 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39872         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39875 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39877         * include/unistd.h: Fix __readlink return type.
39878         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39880 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39882         * stdlib/ucontext.h: Undo last change for makecontext.
39884 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39886         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39888         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39889         * setjmp/setjmp.h: Mark functions as non-leaf.
39890         * setjmp/bits/setjmp2.h: Likewise.
39891         * stdlib/ucontext.h: Likewise.
39893 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39895         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39896         (reused_arena): Don't check arena limit.
39897         (arena_get2): Atomically check arena limit.
39899 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39901         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39902         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39905         instructions.
39907 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39909         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39910         handler when locking.
39912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39913         Fix size of allocated buffer.
39915 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39917         [BZ #10103]
39918         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39919         declarations for long double functions.
39920         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39922         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39924 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39926         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39927         installed.
39929         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39930         is disabled.
39932 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39934         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39936 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39938         * include/alloca.h (stackinfo_alloca_round): Define.
39939         (extend_alloca): Use it.
39940         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39941         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39942         here.
39944         * scripts/check-local-headers.sh: Ignore libaudit.h.
39946         * nscd/Makefile (extra-objs): Make recursively expanded.
39948 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39950         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39951         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39953         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39954         * posix/tst-rfc3484-2.c: Likewise.
39955         * posix/tst-rfc3484-3.c: Likewise.
39957         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39958         process_vm_writev.
39959         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39960         process_vm_writev.
39961         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39962         process_vm_writev from libc using GLIBC_2.15 version.
39964         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39966 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39968         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39969         stack usage.
39971 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39973         [BZ #13367]
39974         * nss/getent.c (initgroups_keys): Show error message in case no group
39975         names are given.
39977         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39978         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39979         __bump_nl_timestamp.
39980         * nscd/connections (nscd_init): When host database is served open
39981         netlink socket and request notification about configuration changes.
39982         (main_loop_poll): Track netlink file descriptor and bump timestamp
39983         in case data becomes available.
39984         (main_loop_epoll): Likewise.
39985         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39986         (database_pers_head): Add extra_data fileds.
39987         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39988         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39989         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39990         Adjust caller.
39991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39992         in6ai data, call __free_in6ai.
39993         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39994         Add -DHAVE_NETLINK.
39995         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39996         interface information.  Reuse previous data if netlink timestamp
39997         is not changed.
39998         (__bump_nl_timestamp): New function.
39999         (__free_in6ai): New function.
40001 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40004         close_not_cancel_no_status here.
40005         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40007 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40009         [BZ #13276]
40010         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40011         return value.
40013         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40014         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40015         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40017 2011-07-03  Andreas Jaeger  <aj@suse.de>
40019         [BZ #10709]
40020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40021         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40022         * math/libm-test.inc (sin_test): Add test case.
40024 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40026         [BZ #13337]
40027         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40028         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40030         * elf/chroot_canon.c (chroot_canon): Cleanups.
40032         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40034         [BZ #13335]
40035         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40036         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40038         * string/test-strchr.c: Make usable for strchrnul testing.
40039         * string/test-strchrnul.c: New file.
40040         * string/Makefile (strop-tests): Add strchrnul.
40042         * po/it.po: Update from translation team.
40043         * po/es.po: Likewise.
40045 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40047         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40048         the three constants needed as parameters.  Drop the others.
40049         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40050         __m128i_strloadu_tolower.
40051         Create and initialize variable zero and use it in all the places
40052         where _mm_setzero_si128 was used.
40054         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40055         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40056         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40057         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40058         anymore.
40059         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40060         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40061         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40062         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40063         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40064         __mpranred, __mptan.
40065         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40066         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40067         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40068         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40071         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40072         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40073         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40075 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40077         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40078         redefine if SHARED.
40079         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40082         wide char related routines to wcsmbs subdir.
40084 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40086         [BZ #13344]
40087         * misc/sys/cdefs.h (__THROWNL): Define.
40088         * posix/unistd.h: Use __THREADNL instead of __THREAD
40089         for memory synchronization functions.
40091 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40093         [BZ #13349]
40094         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40095         doesn't exist.
40096         * manual/stdio.texi (Obstack Streams): Node removed.
40098 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40100         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40101         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40102         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40104         * math/math_private.h (math_force_eval): Allow non-addressable
40105         arguments.
40106         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40108 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40110         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40111         file is not needed.
40113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40116         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40117         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40118         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40119         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40120         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40121         Add AVX variants.
40122         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40123         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40124         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40125         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40126         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40127         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40128         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40129         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40130         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40131         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40132         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40133         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40134         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40135         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40136         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40137         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40138         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40139         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40140         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40142         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40143         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40146         place.  Use VEX encoding when compiling for AVX.
40148 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40150         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40151         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40153         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40155 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40157         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40158         useless if() expression.
40159         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40160         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40161         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40162         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40163         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40164         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40165         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40166         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40167         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40168         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40169         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40170         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40171         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40172         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40173         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40174         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40177         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40179         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40181 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40183         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40184         condition.
40185         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40187 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40189         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40190         .text section.  Avoid duplicate constants.
40191         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40193         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40196         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40199         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40200         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40201         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40202         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40203         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40206         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40207         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40208         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40210         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40211         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40212         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40213         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40214         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40215         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40216         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40217         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40218         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40219         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40220         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40221         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40231         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40232         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40233         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40234         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40235         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40237 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40239         * sysdeps/x86_64/dla.h: Move to ...
40240         * sysdeps/x86_64/fpu/dla.h: ...here.
40241         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40242         situations.  Use __builtin_fma only for gcc 4.6 and up.
40244         * config.make.in: Add have-mfma4 entry.
40245         * configure.in: Substitute libc_cv_cc_fma4.
40246         * math/Makefile (dbl-only-routines): Add sincostab.
40247         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40248         Use __sincostab not sincos.
40249         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40250         name is a macro.
40251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40255         using __copysign.
40256         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40257         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40258         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40259         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40260         and __inv.
40261         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40262         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40263         __copysign.
40264         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40265         define aliases when function name is a macro.
40266         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40267         sysdeps/ieee754/dbl-64/sincos.tbl.
40268         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40269         fma4-enabled routines.
40270         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40271         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40272         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40273         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40274         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40275         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40276         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40277         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40278         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40279         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40280         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40281         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40282         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40283         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40284         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40285         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40286         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40287         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40288         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40290         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40291         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40293         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40294         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40295         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40297         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40298         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40299         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40301         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40302         rename.
40303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40304         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40310         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40312 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40314         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40316 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40320         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40321         prediction.
40322         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40324         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40325         Remove unused variable magic_bits.
40326         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40328         * string/strnlen.c: Define and use STRNLEN macro.
40329         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40330         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40332         * wcsmbs/wcslen.c: Define and use WCSLEN.
40333         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40334         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40335         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40336         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40337         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40338         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40339         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40341 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40344         strnlen-sse2-no-bsf.
40345         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40347         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40348         Add strnlen support.
40349         (USE_AS_STRNLEN): New macro.
40350         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40351         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40352         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40353         * sysdeps/x86_64/wcslen.S: New file.
40355 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40357         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40358         XMM-moves are used for copying on small sizes.
40360 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40362         * wcsmbs/Makefile (strop-tests): Add wcschr.
40363         * wcsmbs/test-wcschr.c: New file.
40364         * string/test-strchr.c: Update.
40365         Add wcschr support.
40366         (WIDE): New macro.
40368 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40370         * wcsmbs/Makefile (strop-tests): Add wcslen.
40371         * wcsmbs/test-wcslen.c: New file.
40372         * string/test-strlen.c: Update.
40373         Add wcslen support.
40374         (WIDE): New macro.
40376 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40378         * po/it.po: Update from translation team.
40380 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40382         * sysdeps/x86_64/wcscmp.S: Update.
40383         Fix wrong comparison semantics.
40384         wcscmp shall use signed comparison not unsigned.
40385         Don't use substraction to avoid overflow bug.
40386         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40387         * wcsmbc/wcscmp.c: Likewise.
40388         * string/test-strcmp.c: Likewise.
40389         Add new tests to check cases with negative values.
40391 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40393         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40394         * sysdeps/x86_64/dla.h: ...here.  New file.
40395         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40405 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40408         __ynl_finite aliases.
40410 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40414         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40415         define DLA_FMA.
40416         [DLA_FMA] (EMULV): Use DLA_FMA.
40417         [DLA_FMA] (MUL12): Use EMULV.
40418         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40419         that are not needed.
40420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40428 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40430         * math/s_nan.c: Undef __nan.
40431         * math/s_nanf.c: Undef __nanf.
40432         * math/s_nanl.c: Undef __nanl.
40433         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40434         "math_private.h".
40436 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40438         * math/s_catan.c: Add branch predictions.
40439         * math/s_catanf.c: Likewise.
40440         * math/s_catanh.c: Likewise.
40441         * math/s_catanhf.c: Likewise.
40442         * math/s_catanhl.c: Likewise.
40443         * math/s_catanl.c: Likewise.
40444         * math/s_cexp.c: Likewise.
40445         * math/s_cexpf.c: Likewise.
40446         * math/s_cexpl.c: Likewise.
40447         * math/s_clog.c: Likewise.
40448         * math/s_clog10.c: Likewise.
40449         * math/s_clog10f.c: Likewise.
40450         * math/s_clog10l.c: Likewise.
40451         * math/s_clogf.c: Likewise.
40452         * math/s_clogl.c: Likewise.
40453         * math/s_csqrt.c: Likewise.
40454         * math/s_csqrtf.c: Likewise.
40455         * math/s_csqrtl.c: Likewise.
40456         * math/s_ctanf.c: Likewise.
40457         * math/s_ctanh.c: Likewise.
40458         * math/s_ctanhf.c: Likewise.
40459         * math/s_ctanhl.c: Likewise.
40460         * math/s_ctanl.c: Likewise.
40462         * math/math_private.h: Define __nan, __nanf, __nanl.
40463         * math/s_cacosh.c: Include <math_private.h>.
40464         * math/s_cacoshl.c: Likewise.
40465         * math/s_casinh.c: Likewise.
40466         * math/s_casinhf.c: Likewise.
40467         * math/s_casinhl.c: Likewise.
40468         * math/s_ccos.c: Rely entire on ccosh.
40469         * math/s_ccosf.c: Rely entire on ccoshf.
40470         * math/s_ccosl.c: Rely entirely on ccoshl.
40471         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40472         Remove tests for FE_INVALID.
40473         * math/s_ccoshf.c: Likewise.
40474         * math/s_ccoshl.c: Likewise.
40475         * math/s_csin.c: Likewise.
40476         * math/s_csinf.c: Likewise.
40477         * math/s_csinh.c Likewise.
40478         * math/s_csinhf.c: Likewise.
40479         * math/s_csinhl.c: Likewise.
40480         * math/s_csinl.c: Likewise.
40481         * math/s_ctan.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40483         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40484         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40486 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40489         compilation problems.
40491         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40492         __builtin_expect.
40494 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40496         * sysdeps/i386/configure.in: Test for -mfma4 option.
40497         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40498         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40499         COMMON_CPUID_INDEX_80000001.
40500         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40501         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40502         use it if FMA3 is not supported.
40503         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40505         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40506         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40508 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40510         [BZ #12892]
40511         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40512         it would create a cycle with a link time dependency.
40514 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40516         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40517         instruction.
40518         * string/Makefile (strop-tests): Add rawmemchr.
40519         * string/test-rawmemchr.c: New file.
40521         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40523         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40524         when compiling str{,n}casecmp and when AVX is available.  Hook up
40525         new optimized code in initializers.
40527 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40529         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40530         __feraiseexcept instead of feraiseexcept.
40532 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40534         * math/math_private.h: Define defaults for libc_fetestexcept and
40535         libc_feupdateenv.
40536         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40537         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40538         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40539         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40540         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40541         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40542         libc_fetestexcept and libc_feupdateenv.
40544         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40545         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40546         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40547         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40548         libc_feholdexcept_setround.
40550         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40551         Add s_nearbyint-c and s_nearbyintf-c.
40552         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40553         nearbyintf inlines.
40554         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40555         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40556         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40557         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40559         * math/math_private.h: Define defaults for libc_fegetround,
40560         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40561         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40562         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40563         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40564         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40565         standard functions.
40566         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40567         Remove comments and hacks for old compiler versions.
40568         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40569         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40570         libc_feholdexceptl.
40572 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40574         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40575         (__feraiseexcept_renamed): Add __NTH.
40576         (feraiseexcept): Add __NTH.  Rename local variables to fix
40577         namespace violations.
40579 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40583         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40585         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40586         recently added interfaces.
40587         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40589         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40590         about macro parameter expansion.
40592         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40593         __NO_MATH_INLINES is defined.  Cleanups.
40595         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40596         and __floorf is target has SSE4.1.
40597         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40598         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40599         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40600         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40602         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40603         name.
40604         (floorf): Likewise.
40606         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40608 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40610         * misc/sys/cdefs.h: Fix last change.
40612         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40613         database lookup.
40615 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40617         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40619         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40622         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40624         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40625         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40626         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40627         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40628         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40629         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40630         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40631         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40632         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40633         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40634         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40635         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40636         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40637         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40638         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40639         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40640         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40642         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40643         ceil, ceilf, floor, floorf.
40645         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40646         Perform IRELATIVE relocations last.
40648         * elf/do-rel.h: Add another parameter nrelative, replacing the
40649         local variable with the same name.  Change name of the function
40650         to end in Rel or Rela (uppercase).
40651         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40652         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40653         elf_dynamic_do_##reloc function.
40655 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40657         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40658         is sufficient, at least on modern CPUs.
40660         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40662         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40663         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40665         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40666         __expl_finite.
40667         * math/bits/math-finite.h: Add entries for exp.
40668         * math/e_expl.c: Add __*_finite alias.
40669         * sysdeps/i386/fpu/e_exp.S: Likewise.
40670         * sysdeps/i386/fpu/e_expf.S: Likewise.
40671         * sysdeps/i386/fpu/e_expl.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40673         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40676         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40677         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40680         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40681         is sufficient, at least on modern CPUs.
40683         * ctype/ctype-info.c (__ctype_init): Define.
40684         * include/ctype.h (__ctype_init): Declare.
40685         (__ctype_b_loc): The variable is always initialized.
40686         (__ctype_toupper_loc): Likewise.
40687         (__ctype_tolower_loc): Likewise.
40688         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40689         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40691 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40693         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40695         * configure.in: Also look in $cxxmachine/include for C++ system
40696         headers.
40698 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40700         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40701         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40702         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40703         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40705         (USE_AS_WMEMCMP): New macro.
40706         Fixing indents.
40707         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40708         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40709         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40710         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40712         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40713         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40714         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40715         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40716         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40717         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40718         (USE_AS_WMEMCMP): New macro.
40719         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40720         * sysdeps/string/test-memcmp.c: Update.
40721         Fix simple_wmemcmp.
40722         Add new tests.
40723         * wcsmbs/wmemcmp.c: Update.
40724         (WMEMCMP): New macro.
40725         Fix overflow bug.
40727 2011-10-12  Andreas Jaeger  <aj@suse.de>
40729         [BZ #13268]
40730         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40732 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40734         * libio/iofwide.c (do_length): Avoid warning.
40736         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40738 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40740         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40742         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40743         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40744         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40745         * sysdeps/i386/i686/fpu/e_log.S: New file.
40746         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40747         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40749         * ctype/ctype.h: Add support for inlined isXXX functions when
40750         compiling C++ code.
40752 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40754         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40756         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40758 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40760         [BZ #13291]
40761         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40763 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40765         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40766         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40767         feraiseexcept.
40769         * sysdeps/x86_64/memrchr.S: Check for zero size.
40771         * string/stratcliff.c: Add memrchr tests.
40773 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40776         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40777         rawmemchr-sse2 rawmemchr-sse2-bsf.
40778         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40779         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40780         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40781         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40782         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40783         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40784         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40785         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40786         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40787         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40788         * string/memrchr.c (MEMRCHR): New macro.
40790 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40792         Add integration with gcc's -ffinite-math-only and optimize wrapper
40793         functions in libm.
40794         * Versions.def: Define GLIBC_2.15 version for libm.
40795         * math/Makefile (headers): Add bits/math-finite.h.
40796         * math/bits/math-finite.h: New file.
40797         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40798         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40799         * math/e_acoshl.c: Add __*_finite alias.
40800         * math/e_acosl.c: Likewise.
40801         * math/e_asinl.c: Likewise.
40802         * math/e_atan2l.c: Likewise.
40803         * math/e_atanhl.c: Likewise.
40804         * math/e_coshl.c: Likewise.
40805         * math/e_exp10.c: Likewise.
40806         * math/e_exp10f.c: Likewise.
40807         * math/e_exp10l.c: Likewise.
40808         * math/e_exp2l.c: Likewise.
40809         * math/e_fmodl.c: Likewise.
40810         * math/e_gammal_r.c: Likewise.
40811         * math/e_hypotl.c: Likewise.
40812         * math/e_j0l.c: Likewise.
40813         * math/e_j1l.c: Likewise.
40814         * math/e_jnl.c: Likewise.
40815         * math/e_lgammal_r.c: Likewise.
40816         * math/e_log10l.c: Likewise.
40817         * math/e_log2l.c: Likewise.
40818         * math/e_logl.c: Likewise.
40819         * math/e_powl.c: Likewise.
40820         * math/e_sinhl.c: Likewise.
40821         * math/e_sqrtl.c: Likewise.
40822         * math/e_scalb.c: Completely rewritten and optimized.
40823         * math/e_scalbf.c: Likewise.
40824         * math/e_scalbl.c: Likewise.
40825         * math/w_acos.c: Likewise.
40826         * math/w_acosf.c: Likewise.
40827         * math/w_acosl.c: Likewise.
40828         * math/w_acosh.c: Likewise.
40829         * math/w_acoshf.c: Likewise.
40830         * math/w_acoshl.c: Likewise.
40831         * math/w_asin.c: Likewise.
40832         * math/w_asinf.c: Likewise.
40833         * math/w_asinl.c: Likewise.
40834         * math/w_atan2.c: Likewise.
40835         * math/w_atan2f.c: Likewise.
40836         * math/w_atan2l.c: Likewise.
40837         * math/w_atanh.c: Likewise.
40838         * math/w_atanhf.c: Likewise.
40839         * math/w_atanhl.c: Likewise.
40840         * math/w_exp10.c: Likewise.
40841         * math/w_exp10f.c: Likewise.
40842         * math/w_exp10l.c: Likewise.
40843         * math/w_fmod.c: Likewise.
40844         * math/w_fmodf.c: Likewise.
40845         * math/w_fmodl.c: Likewise.
40846         * math/w_j0.c: Likewise.
40847         * math/w_j0f.c: Likewise.
40848         * math/w_j0l.c: Likewise.
40849         * math/w_j1.c: Likewise.
40850         * math/w_j1f.c: Likewise.
40851         * math/w_j1l.c: Likewise.
40852         * math/w_jn.c: Likewise.
40853         * math/w_jnf.c: Likewise.
40854         * math/w_log.c: Likewise.
40855         * math/w_logf.c: Likewise.
40856         * math/w_logl.c: Likewise.
40857         * math/w_log10.c: Likewise.
40858         * math/w_log10f.c: Likewise.
40859         * math/w_log10l.c: Likewise.
40860         * math/w_log2.c: Likewise.
40861         * math/w_log2f.c: Likewise.
40862         * math/w_log2l.c: Likewise.
40863         * math/w_pow.c: Likewise.
40864         * math/w_powf.c: Likewise.
40865         * math/w_powl.c: Likewise.
40866         * math/w_remainder.c: Likewise.
40867         * math/w_remainderf.c: Likewise.
40868         * math/w_remainderl.c: Likewise.
40869         * math/w_scalb.c: Likewise.
40870         * math/w_scalbf.c: Likewise.
40871         * math/w_scalbl.c: Likewise.
40872         * math/w_sqrt.c: Likewise.
40873         * math/w_sqrtf.c: Likewise.
40874         * math/w_sqrtl.c: Likewise.
40875         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40876         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40877         used.
40878         * math/math_private.h: Declare __kernel_standard_f.
40879         * math/w_cosh.c: Remove cruft and optimize a bit.
40880         * math/w_coshf.c: Likewise.
40881         * math/w_coshl.c: Likewise.
40882         * math/w_exp2.c: Likewise.
40883         * math/w_exp2f.c: Likewise.
40884         * math/w_exp2l.c: Likewise.
40885         * math/w_hypot.c: Likewise.
40886         * math/w_hypotf.c: Likewise.
40887         * math/w_hypotl.c: Likewise.
40888         * math/w_lgamma.c: Likewise.
40889         * math/w_lgamma_r.c: Likewise.
40890         * math/w_lgammaf.c: Likewise.
40891         * math/w_lgammaf_r.c: Likewise.
40892         * math/w_lgammal.c: Likewise.
40893         * math/w_lgammal_r.c: Likewise.
40894         * math/w_sinh.c: Likewise.
40895         * math/w_sinhf.c: Likewise.
40896         * math/w_sinhl.c: Likewise.
40897         * math/w_tgamma.c: Likewise.
40898         * math/w_tgammaf.c: Likewise.
40899         * math/w_tgammal.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40901         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40902         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40903         Minor optimizations.  Pretty printing.  Remove cruft.
40904         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40905         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40907         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40908         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40909         * sysdeps/i386/fpu/e_asin.S: Likewise.
40910         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40911         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40912         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40913         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40914         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40915         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40916         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40917         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40918         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40919         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40920         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40921         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40922         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40923         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40924         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40925         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40926         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40927         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40928         * sysdeps/i386/fpu/e_log.S: Likewise.
40929         * sysdeps/i386/fpu/e_log10.S: Likewise.
40930         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40931         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40932         * sysdeps/i386/fpu/e_log2.S: Likewise.
40933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40934         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40935         * sysdeps/i386/fpu/e_logf.S: Likewise.
40936         * sysdeps/i386/fpu/e_logl.S: Likewise.
40937         * sysdeps/i386/fpu/e_pow.S: Likewise.
40938         * sysdeps/i386/fpu/e_powf.S: Likewise.
40939         * sysdeps/i386/fpu/e_powl.S: Likewise.
40940         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40941         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40942         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40943         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40944         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40945         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40946         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40947         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40948         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40949         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40950         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40952         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40954         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40956         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40957         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40961         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40962         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40964         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40965         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40966         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40969         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40970         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40971         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40972         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40973         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40974         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40975         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40976         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40977         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40978         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40979         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40980         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40981         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40983         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40984         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40985         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40987         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40988         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40989         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40990         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41029         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41032         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41034         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41035         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41037         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41040         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41041         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41042         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41043         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41044         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41045         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41046         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41047         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41048         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41049         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41050         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41051         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41052         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41053         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41054         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41056         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41057         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41058         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41059         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41060         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41061         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41062         (__isnanf): Likewise.
41063         (__isinf_ns): Likewise.
41064         (__isinf_nsf): Likewise.
41065         (__finite): Likewise.
41066         (__finitef): Likewise.
41067         (__ieee754_sqrt): Define as macro.
41068         (__ieee754_sqrtf): Define as macro.
41069         (__ieee754_sqrtl): Define as macro.
41070         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41071         inlined copy.
41072         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41073         __FINITE_MATH_ONLY__ consistent.
41074         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41076 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41078         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41079         of rawmemchr.
41081         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41083 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41085         * po/ja.po: Update from translation team.
41087 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41089         * locale/programs/locarchive.c (prepare_address_space): New function.
41090         (create_archive, enlarge_archive, open_archive): Use it.
41092         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41093         inside [SHARED], where it is used.
41095         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41097         * nss/getent.c (netgroup_keys): Remove unused variable.
41098         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41100 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41102         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41103         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41105         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41106         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41107         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41108         * math/Makefile (libm-calls): Add s_isinf_ns.
41109         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41110         * math/multc3.c: Likewise.
41111         * math/s_casin.c: Likewise.
41112         * math/s_casinf.c: Likewise.
41113         * math/s_casinl.c: Likewise.
41114         * math/s_ccos.c: Likewise.
41115         * math/s_ccosf.c: Likewise.
41116         * math/s_ccosl.c: Likewise.
41117         * math/s_ctan.c: Likewise.
41118         * math/s_ctanf.c: Likewise.
41119         * math/s_ctanh.c: Likewise.
41120         * math/s_ctanhf.c: Likewise.
41121         * math/s_ctanhl.c: Likewise.
41122         * math/s_ctanl.c: Likewise.
41123         * math/w_fmod.c: Likewise.
41124         * math/w_fmodf.c: Likewise.
41125         * math/w_fmodl.c: Likewise.
41126         * math/w_remainder.c: Likewise.
41127         * math/w_remainderf.c: Likewise.
41128         * math/w_remainderl.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41130         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41131         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41133         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41134         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41135         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41136         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41138         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41139         of the number.
41140         * stdio-common/printf_fphex.c: Likewise.
41141         * stdio-common/printf_size.c: Likewise.
41143         * math/e_exp10.c: Include math_private.h using <...> not "...".
41144         * math/e_exp10f.c: Likewise.
41145         * math/e_exp10l.c: Likewise.
41146         * math/e_exp2l.c: Likewise.
41147         * math/e_j0l.c: Likewise.
41148         * math/e_j1l.c: Likewise.
41149         * math/e_jnl.c: Likewise.
41150         * math/e_lgammal_r.c: Likewise.
41151         * math/e_rem_pio2l.c: Likewise.
41152         * math/e_scalb.c: Likewise.
41153         * math/e_scalbf.c: Likewise.
41154         * math/e_scalbl.c: Likewise.
41155         * math/k_cosl.c: Likewise.
41156         * math/k_sinl.c: Likewise.
41157         * math/k_tanl.c: Likewise.
41158         * math/s_cacoshf.c: Likewise.
41159         * math/s_catan.c: Likewise.
41160         * math/s_catanf.c: Likewise.
41161         * math/s_catanh.c: Likewise.
41162         * math/s_catanhf.c: Likewise.
41163         * math/s_catanhl.c: Likewise.
41164         * math/s_catanl.c: Likewise.
41165         * math/s_ccosh.c: Likewise.
41166         * math/s_ccoshf.c: Likewise.
41167         * math/s_ccoshl.c: Likewise.
41168         * math/s_cexp.c: Likewise.
41169         * math/s_cexpf.c: Likewise.
41170         * math/s_cexpl.c: Likewise.
41171         * math/s_clog.c: Likewise.
41172         * math/s_clog10.c: Likewise.
41173         * math/s_clog10f.c: Likewise.
41174         * math/s_clog10l.c: Likewise.
41175         * math/s_clogf.c: Likewise.
41176         * math/s_clogl.c: Likewise.
41177         * math/s_csin.c: Likewise.
41178         * math/s_csinf.c: Likewise.
41179         * math/s_csinh.c: Likewise.
41180         * math/s_csinhf.c: Likewise.
41181         * math/s_csinhl.c: Likewise.
41182         * math/s_csinl.c: Likewise.
41183         * math/s_csqrt.c: Likewise.
41184         * math/s_csqrtf.c: Likewise.
41185         * math/s_csqrtl.c: Likewise.
41186         * math/s_ctan.c: Likewise.
41187         * math/s_ctanf.c: Likewise.
41188         * math/s_ctanh.c: Likewise.
41189         * math/s_ctanhf.c: Likewise.
41190         * math/s_ctanhl.c: Likewise.
41191         * math/s_ctanl.c: Likewise.
41192         * math/s_ldexp.c: Likewise.
41193         * math/s_ldexpf.c: Likewise.
41194         * math/s_ldexpl.c: Likewise.
41195         * math/s_significand.c: Likewise.
41196         * math/s_significandf.c: Likewise.
41197         * math/s_significandl.c: Likewise.
41198         * math/w_acos.c: Likewise.
41199         * math/w_acosf.c: Likewise.
41200         * math/w_acosh.c: Likewise.
41201         * math/w_acoshf.c: Likewise.
41202         * math/w_acoshl.c: Likewise.
41203         * math/w_acosl.c: Likewise.
41204         * math/w_asin.c: Likewise.
41205         * math/w_asinf.c: Likewise.
41206         * math/w_asinl.c: Likewise.
41207         * math/w_atan2.c: Likewise.
41208         * math/w_atan2f.c: Likewise.
41209         * math/w_atan2l.c: Likewise.
41210         * math/w_atanh.c: Likewise.
41211         * math/w_atanhf.c: Likewise.
41212         * math/w_atanhl.c: Likewise.
41213         * math/w_cosh.c: Likewise.
41214         * math/w_coshf.c: Likewise.
41215         * math/w_coshl.c: Likewise.
41216         * math/w_dremf.c: Likewise.
41217         * math/w_exp10.c: Likewise.
41218         * math/w_exp10f.c: Likewise.
41219         * math/w_exp10l.c: Likewise.
41220         * math/w_exp2.c: Likewise.
41221         * math/w_exp2f.c: Likewise.
41222         * math/w_fmod.c: Likewise.
41223         * math/w_fmodf.c: Likewise.
41224         * math/w_fmodl.c: Likewise.
41225         * math/w_hypot.c: Likewise.
41226         * math/w_hypotf.c: Likewise.
41227         * math/w_hypotl.c: Likewise.
41228         * math/w_j0.c: Likewise.
41229         * math/w_j0f.c: Likewise.
41230         * math/w_j0l.c: Likewise.
41231         * math/w_j1.c: Likewise.
41232         * math/w_j1f.c: Likewise.
41233         * math/w_j1l.c: Likewise.
41234         * math/w_jn.c: Likewise.
41235         * math/w_jnf.c: Likewise.
41236         * math/w_jnl.c: Likewise.
41237         * math/w_lgamma.c: Likewise.
41238         * math/w_lgamma_r.c: Likewise.
41239         * math/w_lgammaf.c: Likewise.
41240         * math/w_lgammaf_r.c: Likewise.
41241         * math/w_lgammal.c: Likewise.
41242         * math/w_lgammal_r.c: Likewise.
41243         * math/w_log.c: Likewise.
41244         * math/w_log10.c: Likewise.
41245         * math/w_log10f.c: Likewise.
41246         * math/w_log10l.c: Likewise.
41247         * math/w_log2.c: Likewise.
41248         * math/w_log2f.c: Likewise.
41249         * math/w_log2l.c: Likewise.
41250         * math/w_logf.c: Likewise.
41251         * math/w_logl.c: Likewise.
41252         * math/w_pow.c: Likewise.
41253         * math/w_powf.c: Likewise.
41254         * math/w_powl.c: Likewise.
41255         * math/w_remainder.c: Likewise.
41256         * math/w_remainderf.c: Likewise.
41257         * math/w_remainderl.c: Likewise.
41258         * math/w_scalb.c: Likewise.
41259         * math/w_scalbf.c: Likewise.
41260         * math/w_scalbl.c: Likewise.
41261         * math/w_sinh.c: Likewise.
41262         * math/w_sinhf.c: Likewise.
41263         * math/w_sinhl.c: Likewise.
41264         * math/w_sqrt.c: Likewise.
41265         * math/w_sqrtf.c: Likewise.
41266         * math/w_sqrtl.c: Likewise.
41267         * math/w_tgamma.c: Likewise.
41268         * math/w_tgammaf.c: Likewise.
41269         * math/w_tgammal.c: Likewise.
41271         * po/ja.po: Update from translation team.
41273 2011-09-29  Andreas Jaeger  <aj@suse.de>
41275         [BZ #13179]
41276         * sunrpc/netname.c (netname2host): Fix logic.
41278         [BZ #6779]
41279         [BZ #6783]
41280         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41281         correctly.
41282         * math/w_remainder.c (__remainder): Likewise.
41283         * math/w_remainderf.c (__remainderf): Likewise.
41284         * math/libm-test.inc (remainder_test): Add test cases.
41286 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41288         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41289         sdiv_qrnnd.
41291 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41293         * string/test-memcmp.c: Avoid unncessary #defines.
41294         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41296 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41298         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41299         Use new sse2 version for core i3 - i7 as it's faster
41300         than sse42 version.
41301         (bit_Prefer_PMINUB_for_stringop): New.
41302         * sysdeps/x86_64/rawmemchr.S: Update.
41303         Replace with faster SSE2 version.
41304         * sysdeps/x86_64/memrchr.S: New file.
41305         * sysdeps/x86_64/memchr.S: Update.
41306         Replace with faster SSE2 version.
41308 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41310         * elf/dl-load.c (lose): Add cast to avoid warning.
41312 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41314         * po/ca.po: Update from translation team.
41316         * inet/getnetgrent_r.c: Hook up nscd.
41317         * nscd/Makefile (routines): Add nscd_netgroup.
41318         (nscd-modules): Add netgroupcache.
41319         (CFLAGS-netgroupcache.c): Define.
41320         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41321         (cache_search): Add const to second parameter.
41322         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41323         INNETGR.
41324         (dbs): Add netgrdb entry.
41325         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41326         (verify_persistent_db): Handle netgrdb.
41327         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41328         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41329         GETFDNETGR.
41330         (netgroup_response_header): Define.
41331         (innetgroup_response_header): Define.
41332         (datahead): Add netgroup_response_header and innetgroup_response_header
41333         elements.
41334         * nscd/nscd.conf: Add entries for netgroup cache.
41335         * nscd/nscd.h (dbtype): Add netgrdb.
41336         (_PATH_NSCD_NETGROUP_DB): Define.
41337         (netgroup_iov_disabled): Declare.
41338         (xmalloc, xcalloc, xrealloc): Move declarations here.
41339         (cache_search): Adjust prototype.
41340         Add netgroup-related prototypes.
41341         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41342         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41343         (__nscd_innetgr): Declare.
41344         * nscd/selinux.c (perms): Use access_vector_t as element type and
41345         add netgroup-related initializers.
41346         * nscd/netgroupcache.c: New file.
41347         * nscd/nscd_netgroup.c: New file.
41348         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41349         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41350         For four parameters use innetgr.
41351         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41352         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41353         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41354         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41356         * nscd/connections.c (register_traced_file): Don't register file
41357         for disabled databases.
41359 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41361         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41363         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41364         from tree and freeing node.
41366 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41368         * nss/nsswitch.c (__nss_database_lookup): Handle
41369         nss_parse_service_list out of memory case.
41371 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41373         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41374         out of memory case.
41376 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41378         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41379         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41380         pass it down.
41381         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41382         elf_machine_rela, elf_machine_lazy_rel.
41383         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41384         (ELF_DYNAMIC_DO_REL): Likewise.
41385         (ELF_DYNAMIC_DO_RELA): Likewise.
41386         (ELF_DYNAMIC_RELOCATE): Likewise.
41387         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41388         to ELF_DYNAMIC_DO_REL.
41389         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41390         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41391         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41392         elf_machine_rela.
41393         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41394         skip_ifunc, don't call ifunc function if non-zero.
41395         (elf_machine_rela): Likewise.
41396         (elf_machine_lazy_rel): Likewise.
41397         (elf_machine_lazy_rela): Likewise.
41398         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41399         (elf_machine_lazy_rel): Likewise.
41400         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41401         Likewise.
41402         (elf_machine_lazy_rel): Likewise.
41403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41404         Likewise.
41405         (elf_machine_lazy_rel): Likewise.
41406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41407         (elf_machine_lazy_rel): Likewise.
41408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41409         (elf_machine_lazy_rel): Likewise.
41410         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41411         (elf_machine_lazy_rel): Likewise.
41412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41413         (elf_machine_lazy_rel): Likewise.
41414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41415         (elf_machine_lazy_rel): Likewise.
41416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41417         (elf_machine_lazy_rel): Likewise.
41419 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41421         * nss/nss_files/files-init.c (_nss_files_init): Use static
41422         initialization for all the *_traced_file variables.
41424 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41426         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41428 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41430         [BZ #13226]
41431         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41433 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41435         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41436         Reread the line before reparsing it.
41438 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41440         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41442 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41443             Maxim Kuvyrkov  <maxim@codesourcery.com>
41444             Joseph Myers  <joseph@codesourcery.com>
41446         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41447         if needed for __stack_chk_guard.
41449 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41451         * sysdeps/posix/spawni.c (script_execute): Always define it.
41452         It will be optimized away if unused.
41453         (maybe_script_execute): New function.
41454         (__spawni): Call it.
41456         * Makerules: Don't include tls.make.
41457         (config-tls): Always set to thread.
41458         * tls.make.c: File removed.
41460 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41462         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41463         * config.make.in (CPPFLAGS-config): New substituted variable.
41465 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41469         [BZ #13192]
41470         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41471         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41473 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41475         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41476         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41477         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41478         (CALL_FAIL): Likewise.
41479         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41480         (CALL_FAIL): Macro removed.
41481         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41483 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41485         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41486         for __FINITE_MATH_ONLY__ == 1.
41488 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41490         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41491         __ieee754_sqrt instead of sqrt.
41492         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41493         __ieee754_sqrtf instead of sqrtf.
41494         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41495         __floorf instead of floorf.
41496         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41497         __floorf, __truncf instead of floorf, truncf.
41499 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41501         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41503         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41504         __extern_always_inline.
41505         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41506         32-bit.
41508 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41510         * elf/rtld.c (dl_main): Also relocate in dependency order when
41511         doing symbol dependency testing.
41513 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41516         Always define `refsym'.
41518 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41520         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41521         (__FD_ELT): Renamed from __FDELT.
41522         * misc/bits/select2.h (__FD_ELT): Likewise.
41523         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41524         __FD_MASK instead of __FDELT, __FDMASK.
41525         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41526         Likewise.
41527         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41528         Likewise.
41530         * elf/Makefile (gen-ldd): Fix pattern.
41532         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41533         (init_tls): Likewise.
41535 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41539 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41541         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41542         `struct cmsghdr *' instead of `void *'.
41543         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41544         Likewise.
41546 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41548         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41549         if non-absolute.
41550         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41551         ldd_rewrite_script.
41553 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41555         * configure.in: Remove --with-tls option.
41556         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41557         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41558         out in case it is missing.
41559         * sysdeps/ia64/elf/configure.in: Likewise.
41560         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41561         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41562         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41563         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41564         * sysdeps/sh/elf/configure.in: Likewise.
41565         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41566         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41567         * sysdeps/x86_64/elf/configure.in: Likewise.
41568         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41569         * sysdeps/mach/hurd/tls.h: Likewise.
41571         [BZ #13067]
41572         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41574         [BZ #13090]
41575         * configure.in: Fix use of AC_INIT.
41577         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41579 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41581         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41582         __set_errno.
41583         * malloc/hooks.c: Likewise.
41585         [BZ #11929]
41586         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41587         variables statically.
41588         (narenas): Initialize.
41589         (list_lock): Initialize.
41590         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41591         initializtion of main_arena and list_lock.  Small cleanups.
41592         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41593         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41594         Add initializers to main_arena and mp_.
41595         (malloc_state): Remove pagesize member.  Change all users to use
41596         GLRO(dl_pagesize).
41598         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41599         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41600         is always initialized.
41602         * malloc/malloc.c: Removed unused configurations and dead code.
41603         * malloc/arena.c: Likewise.
41604         * malloc/hooks.c: Likewise.
41605         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41607         * include/tls.h: Removed.  USE___THREAD must always be defined.
41608         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41609         * elf/dl-libc.c: Likewise.
41610         * elf/dl-tsd.c: Likewise.
41611         * include/errno.h: Likewise.
41612         * include/netdb.h: Likewise.
41613         * include/resolv.h: Likewise.
41614         * inet/herrno-loc.c: Likewise.
41615         * inet/herrno.c: Likewise.
41616         * malloc/arena.c: Likewise.
41617         * malloc/hooks.c: Likewise.
41618         * malloc/malloc.c: Likewise.
41619         * resolv/res-state.c: Likewise.
41620         * resolv/res_libc.c: Likewise.
41621         * sysdeps/i386/dl-machine.h: Likewise.
41622         * sysdeps/ia64/dl-machine.h: Likewise.
41623         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41625         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41626         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41627         * sysdeps/sh/dl-machine.h: Likewise.
41628         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41629         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41630         * sysdeps/unix/i386/sysdep.S: Likewise.
41631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41632         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41637         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41641         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41642         * sysdeps/x86_64/dl-machine.h: Likewise.
41643         * tls.make.c: Likewise.
41645         * configure.in: Remove --with-__thread option.  Make tests for
41646         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41647         tls_model attribute fail if no support is available.  Remove
41648         USE_IN_LIBIO.
41649         * Makeconfig: Adjust for dropped configure option.  All features are
41650         now mandatory.
41651         * Makerules: Likewise.
41652         * Versions.def: Likewise.
41653         * argp/argp-fmtstream.c: Likewise.
41654         * argp/argp-fmtstream.h: Likewise.
41655         * argp/argp-help.c: Likewise.
41656         * assert/assert.c: Likewise.
41657         * config.h.in: Likewise.
41658         * config.make.in: Likewise.
41659         * configure: Likewise.
41660         * configure.in: Likewise.
41661         * csu/Versions: Likewise.
41662         * csu/init.c: Likewise.
41663         * elf/tst-audit2.c: Likewise.
41664         * elf/tst-tls10.c: Likewise.
41665         * elf/tst-tls10.h: Likewise.
41666         * elf/tst-tls11.c: Likewise.
41667         * elf/tst-tls12.c: Likewise.
41668         * elf/tst-tls14.c: Likewise.
41669         * elf/tst-tlsmod11.c: Likewise.
41670         * elf/tst-tlsmod12.c: Likewise.
41671         * elf/tst-tlsmod13.c: Likewise.
41672         * elf/tst-tlsmod13a.c: Likewise.
41673         * elf/tst-tlsmod14a.c: Likewise.
41674         * elf/tst-tlsmod15b.c: Likewise.
41675         * elf/tst-tlsmod16a.c: Likewise.
41676         * elf/tst-tlsmod16b.c: Likewise.
41677         * elf/tst-tlsmod7.c: Likewise.
41678         * elf/tst-tlsmod8.c: Likewise.
41679         * elf/tst-tlsmod9.c: Likewise.
41680         * gmon/gmon.c: Likewise.
41681         * grp/fgetgrent_r.c: Likewise.
41682         * grp/putgrent.c: Likewise.
41683         * hurd/fopenport.c: Likewise.
41684         * include/libc-symbols.h: Likewise.
41685         * include/tls.h: Likewise.
41686         * intl/gettextP.h: Likewise.
41687         * intl/loadinfo.h: Likewise.
41688         * locale/global-locale.c: Likewise.
41689         * locale/localeinfo.h: Likewise.
41690         * mach/devstream.c: Likewise.
41691         * malloc/arena.c: Likewise.
41692         * malloc/set-freeres.c: Likewise.
41693         * misc/err.c: Likewise.
41694         * misc/getttyent.c: Likewise.
41695         * misc/mntent_r.c: Likewise.
41696         * posix/getopt.c: Likewise.
41697         * posix/wordexp.c: Likewise.
41698         * pwd/fgetpwent_r.c: Likewise.
41699         * resolv/Versions: Likewise.
41700         * resolv/res_hconf.c: Likewise.
41701         * shadow/fgetspent_r.c: Likewise.
41702         * shadow/putspent.c: Likewise.
41703         * stdio-common/printf_fphex.c: Likewise.
41704         * stdio-common/tmpfile.c: Likewise.
41705         * stdlib/abort.c: Likewise.
41706         * stdlib/fmtmsg.c: Likewise.
41707         * sunrpc/auth_unix.c: Likewise.
41708         * sunrpc/clnt_perr.c: Likewise.
41709         * sunrpc/clnt_tcp.c: Likewise.
41710         * sunrpc/clnt_udp.c: Likewise.
41711         * sunrpc/clnt_unix.c: Likewise.
41712         * sunrpc/openchild.c: Likewise.
41713         * sunrpc/svc_simple.c: Likewise.
41714         * sunrpc/svc_tcp.c: Likewise.
41715         * sunrpc/svc_udp.c: Likewise.
41716         * sunrpc/svc_unix.c: Likewise.
41717         * sunrpc/xdr.c: Likewise.
41718         * sunrpc/xdr_array.c: Likewise.
41719         * sunrpc/xdr_rec.c: Likewise.
41720         * sunrpc/xdr_ref.c: Likewise.
41721         * sunrpc/xdr_stdio.c: Likewise.
41723 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41725         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41727 2011-07-03  Andreas Jaeger  <aj@suse.de>
41729         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41730         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41731         regenerate with gen-libm-tests.pl.
41733 2010-05-12  Petr Baudis  <pasky@suse.cz>
41735         [BZ #11589]
41736         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41737         around j0() zero points by switching to j1().
41738         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41739         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41741         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41743 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41745         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41746         instead of 0.
41747         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41748         instead of 0.
41749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41750         Patch in part by Pavel Roskin <proski@gnu.org>.
41752         [BZ #13138]
41753         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41754         realloc.
41755         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41756         Free memory block if necessary.
41758         [BZ #12847]
41759         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41760         be NULL.  Don't lock in this case.
41762 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41764         * elf/elf.h (ELFOSABI_GNU): New macro.
41765         (ELFOSABI_LINUX): Define to that.
41767 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41769         * string/strncat.c (strncat): Undef the symbol in case it has been
41770         defined in bits/string.h.
41772 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41774         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41776         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41777         link map.
41779 2011-08-17  Andreas Jaeger  <aj@suse.de>
41781         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41783 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41784             Ian Lance Taylor  <iant@google.com>
41786         * math/libm-test.inc (lround_test): New testcase.
41787         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41789 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41791         * Makefile: Remove support for automatic cvs check-ins.
41792         * Makerules: Likewise.
41793         * config.make.in: Likewise.
41794         * configure.in: Likewise.
41795         * intl/Makefile: Likewise.
41796         * locale/Makefile: Likewise.
41797         * po/Makefile: Likewise.
41798         * posix/Makefile: Likewise.
41799         * sysdeps/gnu/Makefile: Likewise.
41800         * sysdeps/mach/hurd/Makefile: Likewise.
41801         * sysdeps/sparc/sparc32/Makefile: Likewise.
41803         [BZ #13118]
41804         * posix/Makefile (bug-regex32-ENV): Define.
41805         Patch by John Stanley <jpsinthemix@verizon.net>.
41807         * misc/Makefile (headers): Add bits/select2.h.
41808         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41809         * misc/bits/select2.h: New file.
41810         * include/bits/select2.h: New file.
41811         * debug/Makefile (routines): Add fdelt_chk.
41812         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41813         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41814         FD_ISSET.
41815         * debug/fdelt_chk.c: New file.
41817         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41818         * wcsmbs/test-wmemcmp.c: Likewise.
41819         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41820         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41822 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41824         * string/Makefile (strop-tests): Add memcmp.
41825         * string/test-wmemcmp.c: New file.
41826         * string/test-memcmp.c: Add wmemcmp support.
41828 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41830         [BZ #13153]
41831         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41832         2011-07-19 change.
41834         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41835         garbage value in a __mach_port_mod_refs call in the cases of the
41836         task-self and thread-self ports.
41838 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41840         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41842 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41844         * elf/dl-load.c (lose): Check for non-null L.
41846 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41848         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41850         * elf/dl-libc.c (dlerror_run): Pass back error code from
41851         dl_catch_error.
41853         [BZ #13123]
41854         * elf/dl-load.c (lose): Free l_origin if it is valid.
41856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41857         names.
41858         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41859         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41861         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41862         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41863         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41865 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41867         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41868         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41869         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41870         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41871         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41872         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41873         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41874         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41875         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41876         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41878 2011-08-15  Alan Modra  <amodra@gmail.com>
41880         [BZ #13092]
41881         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41882         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41883         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41884         ppc_mcount to static-only-routines.
41885         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41886         __mcount_internal.
41887         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41888         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41890 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41892         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41893         for finite and infinity parameters.
41895 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41897         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41898         and add nop instructions for throughput optimization.
41899         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41901 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41903         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41904         aligned copy for power7 with vector-scalar instructions.
41905         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41907 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41910         AVX check.
41912 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41914         [BZ #13144]
41915         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41916         last change.
41918 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41920         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41921         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41922         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41923         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41924         clock_gettime.
41926 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41928         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41929         Forgot to demangle the pointer.
41931         * sysdeps/i386/sysdep.h: Define atom_text_section.
41932         * sysdeps/x86_64/sysdep.h: Likewise.
41933         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41934         section with atom_text_section.
41935         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41936         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41938         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41939         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41941         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41942         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41943         already be defined.  Change to take two parameters and don't assign
41944         result to variable.  Adjust all users.
41945         Define INTERNAL_GETTIME if not already defined.
41946         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41947         call.
41948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41949         HAVE_CLOCK_GETTIME_VSYSCALL.
41950         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41952         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41953         gettimeofday vsyscall, just use time.
41955 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41958         <errno.h>.
41960 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41962         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41963         syscall on x86-64.
41964         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41965         syscall.
41966         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41967         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41968         syscall if possible.
41970 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41972         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41973         e_ident.  Don't pass to find_mapsXX.
41974         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41976 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41979         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41980         * sysdeps/x86_64/multiarch/strchr.S: Update.
41981         Check bit_slow_BSF bit.
41982         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41983         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41984         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41986 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41988         [BZ #13134]
41989         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41990         before glibc 2.15.
41991         (tryshell): Define.
41992         (__spawni): Change last parameter to be flag.  Test
41993         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41994         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41995         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41996         * posix/spawni.c: Likewise.
41997         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41998         * posix/spawnp.c: Likewise.  Change normal version to use
41999         SPAWN_XFLAGS_USE_PATH.
42000         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42001         SPAWN_XFLAGS_TRY_SHELL.
42003         [BZ #13150]
42004         * posix/glob.h: Remove gcc 1.x support.
42006         [BZ #13068]
42007         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42009 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42012         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42013         strrchr-sse2-bsf
42014         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42015         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42016         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42017         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42018         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42019         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42021 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42023         * sysdeps/x86_64/wcscmp.S: New file.
42025         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42026         wcscmp-c wcscmp-sse2
42027         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42028         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42029         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42030         * wcsmbs/wcscmp.c: Allow renaming.
42032 2011-09-05  David S. Miller  <davem@davemloft.net>
42034         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42035         stack slot, rather than the struct return pointer slot.
42036         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42037         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42039         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42041 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42043         * po/ja.po: Update from translation team.
42045         [BZ #13144]
42046         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42047         kernel in 64-bit binaries.
42049 2011-09-01  David S. Miller  <davem@davemloft.net>
42051         * elf/elf.h (HWCAP_SPARC_*): Move to..
42052         * sysdeps/sparc/sysdep.h: this new file and add new values.
42053         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42054         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42055         _DL_HWCAP_COUNT to 24.
42056         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42057         entries.
42058         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42059         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42060         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42062         instead of magic constants.
42063         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42065 2011-08-31  David S. Miller  <davem@davemloft.net>
42067         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42069         Reimplement to do errno handling inline.
42070         (SYSCALL_ERROR_HANDLER): New macro.
42071         (__SYSCALL_STRING): Do not do errno handling in asm.
42072         (__CLONE_SYSCALL_STRING): Delete.
42073         (__INTERNAL_SYSCALL_STRING): Delete.
42074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42075         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42076         (PSEUDO): Reimplement to do errno handling inline.
42077         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42078         (SYSCALL_ERROR_HANDLER): New macro.
42079         (__SYSCALL_STRING): Do not do errno handling in asm.
42080         (__CLONE_SYSCALL_STRING): Delete.
42081         (__INTERNAL_SYSCALL_STRING): Delete.
42082         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42083         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42084         i386.
42085         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42086         (inline_syscall*): Add 'err' argument.
42087         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42088         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42089         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42090         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42092         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42093         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42095 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42097         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42099 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42101         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42102         directive.
42104 2011-08-24  David S. Miller  <davem@davemloft.net>
42106         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42108 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42110         * elf/Makefile: Add rules to build and run unload8 test.
42111         * elf/unload8.c: New file.
42112         * elf/unload8mod1.c: New file.
42113         * elf/unload8mod1x.c: New file.
42114         * elf/unload8mod2.c: New file.
42115         * elf/unload8mod3.c: New file.
42117         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42118         it wasn't used.
42120 2011-08-23  David S. Miller  <davem@davemloft.net>
42122         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42123         subtract stack bias.
42124         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42125         %sp not %fp in calculations.
42126         (_JMPBUF_UNWINDS_ADJ): Likewise.
42128         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42129         (aio_suspend): Call it to force an exception region around the
42130         AIO_MISC_WAIT() invocation.
42132 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42134         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42135         backslash.
42137 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42139         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42140         protection macro.
42141         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42142         and <dl-machine.h>.
42143         (Elf64_FuncDesc): Remove.
42145 2011-08-22  David S. Miller  <davem@davemloft.net>
42147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42148         sigaltstack check, add missing cfi directives.
42149         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42150         missing cfi directives, and sigaltstack handling.
42152 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42154         [BZ #11724]
42155         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42156         object is seen twice.
42157         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42159         * elf/Makefile (distribute): Add tst-initorder2.c.
42160         (tests): Add tst-initorder2.
42161         (modules-names): Add tst-initorder2a tst-initorder2b
42162         tst-initorder2c tst-initorder2d.  Add rules to build them.
42163         ($(objpfx)tst-initorder2.out): New rule.
42164         * elf/tst-initorder2.c: New file.
42165         * elf/tst-initorder2.exp: New file.
42167 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42169         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42171         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42172         dependencies back to end of function.
42174         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42175         $(elfobjdir)/ld.so.
42177 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42179         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42180         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42181         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42182         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42183         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42184         of __vdso_gettimeofday.
42185         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42186         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42187         attribute_hidden.
42188         (_libc_vdso_platform_setup): Remove initialization of
42189         __vdso_gettimeofday and __vdso_time.
42191 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42193         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42194         and fgetc_unlocked.
42195         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42196         getc_unlocked.
42198         * elf/dl-open.c (add_to_global): Report additions to the global scope
42199         for LD_DEBUG=scopes.
42200         (dl_open_worker): Also print scope of newly loaded dependencies.
42201         (_dl_show_scope): Indicate if there is no scope.
42203         [BZ #13114]
42204         * stdio-common/Makefile (tests): Add bug24.
42205         * stdio-common/bug24.c: New file.
42207 2011-08-19  Andreas Jaeger  <aj@suse.de>
42209         [BZ #13114]
42210         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42211         non-existant file when using close-on-exec mode.
42213 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42216         the very first instruction.
42218         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42219         the CFI state in the end.
42220         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42221         inclusion of dl-trampoline.h.
42222         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42224 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42226         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42227         expectations for long double.
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42230         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42232 2011-08-14  David S. Miller  <davem@davemloft.net>
42234         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42235         artificual limit depends upon the system page size.
42237 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42239         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42240         * resolv/Makefile: Define CFLAGS-libresolv.
42242 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42244         * nss/makedb.c (compute_tables): Make variables used in nested
42245         function static.
42247 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42249         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42250         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42251         if buffer was too small.
42253         * elf/pldd.c (main): Attach to all threads in the process.
42254         Rewrite /proc handling to use *at functions.
42256 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42258         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42259         specifies first scope to show.
42260         (dl_open_worker): Update callers.  Move printing scope of new
42261         object to before the relocation.
42262         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42263         * sysdeps/generic/ldsodefs.h: Update declaration.
42265         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42266         string for the scope number.
42268 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42270         * nscd/servicescache.c (cache_addserv): Make sure written is always
42271         initialized.
42273 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42275         * sysdeps/i386/i486/bits/atomic.h
42276         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42277         statement expression, so as to suppress "set but not used" warning.
42278         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42280         * string/strncat.c (STRNCAT): Use prototype definition.
42282         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42283         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42284         -Iprograms here.
42285         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42286         (localedef-modules): Add localedef.
42287         (locale-modules): Add locale.
42289         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42290         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42291         to avoid a warning.
42293 2011-08-14  David S. Miller  <davem@davemloft.net>
42295         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42296         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42298 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42300         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42301         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42302         * elf/rtld.c (dl_main): Set l_name of vDSO.
42303         Call _dl_show_scope when DL_DEBUG_SCOPES.
42304         (process_dl_debug): Recognize scopes flag and also set it for all.
42305         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42306         Declare _dl_show_scope.
42308         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42309         (do_dlopen): Pass caller_dlopen to dl_open.
42310         (__libc_dlopen_mode): Initialize caller_dlopen.
42312         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42313         of libc.  Make tolower call locale-independent.  Optimize a bit by
42314         using isdigit instead of isalnum.
42315         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42317 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42319         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42320         was a dependency or dynamically loaded.
42322 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42324         * intl/l10nflist.c: Allow architecture-specific pop function.
42325         * sysdeps/x86_64/l10nflist.c: New file.
42327         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42328         classification.
42330 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42332         * include/dirent.h: Add libc_hidden_proto for scandirat and
42333         scandirat64.  Don't declare __scandirat64.
42334         * dirent/scandirat.c: Add libc_hidden_def.
42335         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42336         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42338 2011-08-10  David S. Miller  <davem@davemloft.net>
42340         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42341         enum.
42342         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42343         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42346 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42348         * Versions.def [libc]: Add GLIBC_2.15.
42349         * dirent/Makefile (routines): Add scandirat and scandirat64.
42350         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42351         GLIBC_2.15.
42352         * dirent/dirent.h: Declare scandirat and scandirat64.
42353         * dirent/scandirat.c: New file.
42354         * dirent/scandirat64.c: New file.
42355         * sysdeps/wordsize-64/scandirat.c: New file.
42356         * sysdeps/wordsize-64/scandirat64.c: New file.
42357         * dirent/opendir.c: Define opendirat.
42358         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42359         using scandirat.
42360         * dirent/scandir64.c: Adjust for scandir.c change.
42361         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42362         __scandirat64, and __scandir_cancel_handler.
42363         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42364         additional parameter and use openat instead of open (outside of ld.so).
42365         Add new __opendir as wrapper around __opendirat.
42366         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42367         here without requiring old scandirat implementation.
42369 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42371         * dirent/scandir.c (cancel_handler): Renamed to
42372         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42373         defined.  Adjust users.
42374         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42377 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42379         * string/test-string.h (IMPL): Use __STRING to expand name and then
42380         stringify it.
42382         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42383         of cleanups.
42385 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42387         * string/Makefile: Update.
42388         (strop-tests): Append strncat.
42389         * string/test-wcscmp.c: New file.
42390         New comprehensive test for wcscmp.
42391         * string/test-strcmp.c: Update.
42392         (WIDE): New define.
42394 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42396         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42397         line.
42399 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42402         encoding to ACE if AI_IDN.
42404 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42407         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42409 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42411         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42412         Fix overflow bug in strncat.
42413         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42415         * string/test-strncat.c: Update.
42416         Add new tests for checking overflow bugs.
42418 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42421         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42422         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42423         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42424         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42425         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42426         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42427         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42428         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42431         (USE_AS_STRCAT): Define.
42432         Add strcat and strncat support.
42433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42435 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42437         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42438         __n bigger than INT_MAX+1.
42439         (__strncmp_g): Likewise.
42441 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42443         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42444         * libio/stido.h: Likewise.
42446         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42447         (AF_NFC): Define.
42448         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42449         (AF_NFC): Define.
42451         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42453         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42454         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42457         [BZ #13021]
42458         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42459         installed.
42461         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42462         typo.
42463         (_dl_x86_64_save_sse): Likewise.
42465 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42468         OSXSAVE.
42469         (_dl_x86_64_save_sse): Likewise.
42471         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42473         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42475 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42478         change.
42479         (_dl_x86_64_save_sse): Use correct AVX check.
42481 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42484         bug in strncpy/strncat.
42485         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42487 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42489         * string/tester.c (test_strcat): Add tests for different alignments
42490         of source and destination.
42491         (test_strncat): Likewise.
42493 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42495         [BZ #12852]
42496         * posix/glob.c (glob): Check passed in values before using them in
42497         expressions to avoid some overflows.
42498         (glob_in_dir): Likewise.
42500         [BZ #13007]
42501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42502         check for AVX enablement so that we don't crash with old kernels and
42503         new hardware.
42504         * elf/tst-audit4.c: Add same checks here.
42505         * elf/tst-audit6.c: Likewise.
42507         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42509 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42511         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42513 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42515         * po/cs.po: Update from translation team.
42516         * po/bg.po: Likewise.
42518 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42520         * misc/sys/cdefs.h: Add support for const attribute.
42521         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42522         to gnu_dev_{major,minor,makedev} functions.
42524 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42526         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42528 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42530         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42531         strlen results.
42533 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42536         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42537         register in order to avoid conflicts with the soft frame pointer
42538         being held in r11 when necessary.
42539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42540         (INTERNAL_VSYSCALL_NCS): Likewise.
42542 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42544         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42545         * elf/dl-fini.c (_dl_fini): Adjust caller.
42546         * elf/dl-close.c (_dl_close_worker): Likewise.
42547         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42549 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42551         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42552         "aux_cache->nlibs < 0".
42554         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42555         in the reload-count case.
42557 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42560         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42561         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42562         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42563         * sysdeps/x86_64/multiarch/strcat.S: New file.
42564         * sysdeps/x86_64/multiarch/strncat.S: New file.
42565         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42566         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42567         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42568         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42569         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42570         (USE_AS_STRCAT): Define.
42571         Add strcat and strncat support.
42572         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42573         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42574         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42575         * string/strncat.c: Update.
42576         (USE_AS_STRNCAT): Define.
42577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42578         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42579         and i7.
42580         * sysdeps/x86_64/multiarch/init-arch.h
42581         (bit_Prefer_PMINUB_for_stringop): New.
42582         (index_Prefer_PMINUB_for_stringop): Likewise.
42583         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42584         bit_Prefer_PMINUB_for_stringop.
42586 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42588         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42589         buffer64.
42590         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42591         of casting of buffer.
42592         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42593         buffer32 and buffer64.
42594         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42595         writes instead of casting of buffer.
42596         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42597         buffer32.
42598         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42599         casting of buffer.
42601 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42603         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42605 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42607         * nscd/nscd.c (termination_handler): Don't do anything for a database
42608         if it has not yet been initialized.
42610 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42612         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42614 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42616         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42618 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42620         * po/nl.po: Update from translation team.
42621         * po/sv.po: Likewise.
42623 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42625         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42626         now disallowed by GCC.
42628         * configure.in (use-default-link): Default to yes if a test -shared
42629         link meets our qualifications.
42630         * configure: Regenerated.
42632         * config.make.in (output-format): New variable.
42633         * configure.in: Check for ld --print-output-format support.
42634         * configure: Regenerated.
42635         * Makerules ($(common-objpfx)format.lds)
42636         [$(output-format) != unknown]: Just use $(output-format),
42637         instead of the linker-script munging.
42639 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42641         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42642         of $(common-objpfx)shlib.lds.
42643         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42645         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42646         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42648         * configure.in (-z relro check): Adjust test code to add a large
42649         writable data section after it.
42650         * configure: Regenerated.
42652 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42654         * configure.in (-z relro check): Fix test code to make the variable
42655         truly const.
42656         * configure: Regenerated.
42658 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42660         * nscd/nscd.h (struct traced_file): Define.
42661         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42662         elements.  Add traced_files.
42663         (inotify_fd): Declare.
42664         (register_traced_file): Declare.
42665         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42666         (inotify_fd): Export.
42667         (resolv_conf_descr): Remove.
42668         (nscd_init): Move inotify descriptor creation to main.
42669         Don't register files for notification here.
42670         (register_traced_file): New function.
42671         (invalidate_cache): Don't use reset_res to determine whether to call
42672         res_init, go through the list of registered files.
42673         (main_loop_poll): The inotify descriptors are now stored in the
42674         structures for the traced files.
42675         (main_loop_epoll): Likewise
42676         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42677         to __nss_disable_nscd.
42678         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42679         for a database anymore.  Check the records for all the registered
42680         files instead.
42681         * nss/Makefile (libnss_files-routines): Add files-init.
42682         (libnss_db-routines): Add db-init.
42683         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42684         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42685         * nss/nss_db/db-init.c: New file.
42686         * nss/nss_files/files-init.c: New file.
42687         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42688         __nss_lookup_function.
42689         (__nss_lookup_function): Call nss_load_library.
42690         (nss_load_all_libraries): New function.
42691         (__nss_disable_nscd): Take parameter with callback function for files
42692         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42693         used for the cached services.
42694         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42695         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42696         options for features to all the files in nscd.
42698         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42700 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42702         * csu/elf-init.c (__libc_csu_init): Comment typo.
42704 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42706         * po/pl.po: Update from translation team.
42707         * po/ja.po: Likewise.
42708         * po/ru.po: Likewise.
42709         * po/ko.po: Likewise.
42710         * po/fr.po: Likewise.
42712 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42714         * configure.in (.ctors/.dtors header and trailer check):
42715         Use an empirical test on a built program.
42716         * configure: Regenerated.
42718         * configure.in (-z relro check): Use an empirical test on a built DSO.
42719         Detect, but do not require, on ia64.
42720         * configure: Regenerated.
42722         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42723         Update tests that use readelf to use $READELF instead.
42724         * configure: Regenerated.
42726 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42728         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42729         if the result is not used.
42731 2011-07-05  Andreas Jaeger  <aj@suse.de>
42733         [BZ#9696]
42734         * stdlib/tst-strtod.c: Add testcase.
42736 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42738         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42739         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42740         The latter has a higher limit.  Take additional parameter to pass to
42741         the new function.
42742         (__pathconf): Pass file to __statfs_link_max.
42743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42744         __statfs_link_max.
42745         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42746         __statfs_link_max.
42748         [BZ #12868]
42749         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42751         Handle Lustre.
42752         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42753         (__statfs_filesize_max): Likewise.
42754         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42756 2011-07-05  Andreas Jaeger  <aj@suse.de>
42758         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42760 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42762         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42763         `status' variable.
42764         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42765         Likewise.
42767 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42769         * Makefile (strop-tests): Add strncat.
42770         * string/test-strncat.c: New file.
42772 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42774         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42776 2011-06-21  Andreas Jaeger  <aj@suse.de>
42778         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42779         Copy rule from iconvdata/Makefile.
42781 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42783         [BZ #12922]
42784         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42785         but no long options are defined, just return 'W'.
42787 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42789         [BZ #9696]
42790         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42792 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42794         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42795         netgroups to read.
42796         (innetgr): Likewise.
42798 2011-07-05  Roland McGrath  <roland@hack.frob.com>
42800         * config.make.in (install_root): Default to $(DESTDIR).
42802 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
42804         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42806 2011-07-02  Roland McGrath  <roland@hack.frob.com>
42808         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42810         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42811         containing directory rather than embedding absolute directory names.
42813         * scripts/check-local-headers.sh: Rewritten using awk.
42814         Match by word, not by line.  Print error messages for matches.
42815         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42817         * Makerules [shlib-lds-flags empty]:
42818         ($(common-objpfx)libc_pic.opts): New target.
42819         ($(common-objpfx)libc_pic.os.clean): New target.
42820         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42822         * config.make.in (OBJCOPY): New variable.
42823         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42824         * configure: Regenerated.
42826         * config.make.in (use-default-link): New variable.
42827         * configure.in (use_default_link): Grok --with-default-link to set it.
42828         * configure: Regenerated.
42829         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42830         (shlib-lds, shlib-lds-flags): Define to empty.
42832         * Makerules (shlib-lds): New variable.
42833         (shlib-lds-flags): New variable.
42834         (build-shlib, build-moduile, build-module-asneeded): Use it.
42835         ($(common-objpfx)libc.so): Use $(shlib-lds).
42836         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42837         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42839         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42840         DT_FLAGS/DT_FLAGS_1 with zero flags.
42842         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42843         linker script munging.
42845 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42847         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42848         as 128-bit value.
42849         * crypt/sha512.c (sha512_process_block): Perform total addition using
42850         128-bit if possible.
42851         (__sha512_finish_ctx): Likewise.
42852         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42853         as 64-bit value.
42854         * crypt/sha256.c (SWAP64): Define.
42855         (sha256_process_block): Perform total addition using 64-bit if
42856         possible.
42857         (__sha256_finish_ctx): Likewise.
42859 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42861         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42862         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42863         * nscd/hstcache.c (cache_addhst): Likewise.
42864         * nscd/grpcache.c (cache_addgr): Likewise.
42865         * nscd/aicache.c (addhstaiX): Likewise
42866         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42868 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42870         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42872         * nscd/hstcache.c (cache_addhst): Likewise.
42873         * nscd/grpcache.c (cache_addgr): Likewise.
42874         * nscd/aicache.c (addhstaiX): Likewise
42876 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42878         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42879         domain only when needed.
42881 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42884         is always restored.
42886 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42888         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42889         are re-adding the entry.
42890         * nscd/servicescache.c (cache_addserv): Likewise.
42892 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42894         * sysdeps/generic/dl-irel.h: fix protection against multiple
42895         inclusions.
42896         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42898 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42900         [BZ #12935]
42901         * malloc/memusage.sh: Fix quoting in message.
42902         * debug/xtrace.sh: Likewise.
42904         * configure.in: Remove support for --experimental-malloc option, make
42905         it the default.
42906         * config.make.in: Likewise.
42907         * malloc/Makefile: Likewise.
42909 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42911         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42912         two-byte characters.
42914 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42916         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42917         AC_CACHE_CHECK invocation.
42918         * configure: Regenerated.
42920         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42922 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42924         [BZ #12350]
42925         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42926         bit from old_res_options.
42928         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42930         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42931         value type for setfct.
42933 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42935         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42936         __gettimeofday instead of gettimeofday.
42938 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42940         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42942 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42944         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42946         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42947         info.
42949 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42952         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42953         strcpy-sse2-unaligned strncpy-sse2-unaligned
42954         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42955         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42956         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42957         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42958         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42959         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42960         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42961         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42962         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42963         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42964         (STRCPY): Support SSE2 and SSSE3 versions.
42966 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42968         [BZ #12874]
42969         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42970         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42971         kernels which artificially limit size of requests.
42973 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42976         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42977         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42978         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42979         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42980         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42981         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42982         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42985         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42986         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42987         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42988         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42989         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42991         Enable unaligned load optimization for Intel Core i3, i5 and i7
42992         processors.
42993         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42994         Define.
42995         (index_Fast_Unaligned_Load): Define.
42996         (HAS_FAST_UNALIGNED_LOAD): Define.
42998 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43000         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43002 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43004         [BZ #12907]
43005         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43006         until it is clear that the information is realy needed.
43007         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43009 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43013 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43015         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43016         /sys/devices/system/cpu/online if it is usable.
43018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43019         reading the information from the /proc filesystem to once a second.
43021 2011-06-21  Andreas Jaeger  <aj@suse.de>
43023         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43024         NULL after inclusion of kernel headers.
43026 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43028         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43029         calls to internal_setent.
43031         [BZ #12885]
43032         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43033         addresses using gethostbyname4_r ignore IPv4 addresses.
43035         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43036         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43038         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43040 2011-06-20  David S. Miller  <davem@davemloft.net>
43042         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43043         inclusions.
43044         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43046         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43047         (elf_irel): Use it.
43048         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43049         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43050         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43051         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43052         * sysdeps/x86_64/dl-irel.h: Likewise.
43054         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43055         * elf/dl-sym.c: Likewise.
43057 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43059         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43060         need to dereference resplen2.
43062 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43064         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43066 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43068         * Makeconfig: Define vardbdir and inst_vardbdir.
43069         * nss/Makefile: Add rules to install db-Makefile.
43071         * nss/nss_db/db-XXX.c: Cleanup.
43073         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43074         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43075         GLIBC_PRIVATE.
43076         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43077         * nss/makedb.c: Implement -g option to specify that value strings
43078         are generated and should not be added to table iterated over for
43079         get*ent calls.
43080         * nss/nss_db/db-initgroups.c: New file.
43082         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43083         interface.
43085         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43086         (internal_getgrouplist): Adjust to name change.
43087         Update use_initgroups_entry if this is not the first call.
43088         * nss/databases.def: Add initgroups entry.
43090         * nss/makedb.c (compute_tables): Check result of multiple hash table
43091         sizes to minimize maximum chain length.
43093 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43095         * Versions.def: Add entry for libnss_db.
43096         * shlib-versions: Likewise.
43097         * nss/Makefile: Add rules to build libnss_db.
43098         * nss/Versions: Add libnss_db information.  Organize libnss_files
43099         entries better.
43100         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43101         makedb progra.  Some minor improvements to generate smaller files.
43102         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43103         here from...
43104         * nss/makedb.c: ...here.
43105         Improve database format to be smaller and require less memory at
43106         runtime.
43107         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43108         db anymore.
43109         * nss/nss_db/db-netgrp.c: Likewise.
43110         * nss/nss_db/db-open.c: Likewise.
43111         * nss/nss_files/flies-XXX.x: Adjust comments.
43112         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43113         * nss/nss_files/files-grp.c: Likewise.
43114         * nss/nss_files/files-hosts.c: Likewise.
43115         * nss/nss_files/files-network.c: Likewise.
43116         * nss/nss_files/files-proto.c: Likewise.
43117         * nss/nss_files/files-pwd.c: Likewise.
43118         * nss/nss_files/files-rpc.c: Likewise.
43119         * nss/nss_files/files-service.c: Likewise.
43120         * nss/nss_files/files-sgrp.c: Likewise.
43121         * nss/nss_files/files-spwd.c: Likewise.
43122         * nss/nss_db/db-alias.c: Removed.
43123         * nss/nss_db/dummy-db.h: Removed.
43125 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43127         * nss/makedb.c: Rewritten to not use database library.
43128         * nss/Makefile: Update to build new makedb program.
43130 2011-06-14  Andreas Jaeger  <aj@suse.de>
43132         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43133         memset declaration.
43135 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43138         tmpbuf.
43140 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43142         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43143         * elf/Makefile ($(objpfx)ld.so): Likewise.
43145         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43146         Don't list ld.so twice in dependencies.
43148         * posix/bug-regex31.c: Include <stdlib.h>.
43150         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43152         * nis/nss_compat/compat-spwd.c
43153         (getspent_next_nss_netgr): Remove unused variable.
43154         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43156         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43157         nonmembers" output to use the right array.
43159         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43161         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43163         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43164         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43165         * catgets/gencat.c (read_input_file): Likewise.
43166         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43168         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43169         variable definition inside #if's controlling its use.
43171         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43173         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43175         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43177         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43178         unreachable code.
43180         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43182         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43183         * configure: Regenerated.
43185         * Makerules: Revert last change.
43186         * elf/Makefile: Likewise.
43188 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43190         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43191         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43192         (reloc-link): Likewise.
43194 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43196         * elf/Makefile: Add rules to build pldd.
43197         * elf/pldd.c: New file.
43198         * elf/pldd-xx.c: New file.
43200 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43202         * version.h: Update for 2.15 development version.
43204 2011-06-07  David S. Miller  <davem@davemloft.net>
43206         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43207         ifuncs.
43208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43209         elf_machine_lazy_rel): Likewise.
43210         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43211         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43212         elf_machine_lazy_rel): Likewise.
43213         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43214         dl_hwcap via passed in argument.
43215         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43216         Likewise.
43218 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43220         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43222 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43224         [BZ #12849]
43225         * manual/fdl-1.1.texi: New file, verbatim from:
43226         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43227         * manual/lgpl-2.1.texi: New file, verbatim from:
43228         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43229         * manual/Makefile (licenses): New variable, list those new file names.
43230         (texis): Use it.
43231         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43233         * manual/fdl.texi: File removed.
43234         * manual/lesser.texi: File removed.
43235         * manual/libc.texinfo (Copying, Documentation License):
43236         Use new @include file names, put @appendix directive before @include.
43238 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43240         [BZ #12841]
43241         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43242         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43243         (mq_open): Add __NTH.
43245 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43248         Assume Intel Core i3/i5/i7 processor if AVX is available.
43250 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43253         typo.
43255 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43257         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43258         memory.  Use alloca_account.  Fix memory leak when retrying.
43260 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43262         * version.h (RELEASE): Bump for 2.14 release.
43263         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43265         * config.make.in (RANLIB): Remove entry.
43267 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43269         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43270         (libc.pot): Work around missing support for .ksh extension in xgettext.
43272         [BZ #12684]
43273         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43274         if both request failed.
43275         (send_dg): In case of server errors clear resplen or *resplen2.
43277         [BZ #12454]
43278         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43279         when there are multiple maps.
43280         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43281         (_dl_fini): Remove test here.
43283         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43285 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43287         [BZ #12350]
43288         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43289         bit from old_res_options.
43290         (gaih_inet): Likewise.
43292         [BZ #11099]
43293         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43294         as signed.
43296         * resolv/res_init.c (res_setoptions): Make the code more compact.
43298         [BZ #11558]
43299         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43300         set RES_USEVC.
43302         [BZ #11634]
43303         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43305         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43307         [BZ #11781]
43308         * malloc/malloc.h: Declare malloc hook variables as volatile.
43310         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43311         in last patch.
43313         [BZ #11799]
43314         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43315         raise in the comment.
43316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43318         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43320 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43322         [BZ #12811]
43323         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43324         grow the buffers more if it already has to be sufficient.
43325         (build_wcs_upper_buffer): Likewise.
43326         * posix/regexec.c (check_matching): Likewise.
43327         (clean_state_log_if_needed): Likewise.
43328         (extend_buffers): Don't enlarge buffers beyond size of the input
43329         buffer.
43330         Patches mostly by Emil Wojak <emil@wojak.eu>.
43331         * posix/bug-regex32.c: New file.
43332         * posix/Makefile (tests): Add bug-regex32.
43334         * locale/findlocale.c (_nl_find_locale): Return right away if
43335         _nl_explode_name failed.
43336         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43338         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43340         * debug/xtrace.sh: Unify messages.
43341         * malloc/memusage.sh: Likewise.
43343         [BZ #12813]
43344         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43345         time symbol from vDSO.  Substitute with vsyscall if not available.
43346         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43347         __vdso_time.
43349         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43350         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43351         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43352         Add sendmmsg and internal_sendmmsg.
43353         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43354         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43355         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43357         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43358         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43361 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43363         [BZ #12813]
43364         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43365         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43366         available.
43367         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43368         __vdso_getcpu.
43370         [BZ #12814]
43371         * iconvdata/Makefile (tests): Add bug-iconv9.
43372         * iconvdata/bug-iconv9.c: New file.
43374 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43376         [BZ #12814]
43377         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43379 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43381         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43382         (struct user_regs_struct): Change intcs field back to cs.
43384 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43386         * po/ja.po: Update from translation team.
43388 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43390         [BZ #12795]
43391         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43392         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43394 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43396         * stdlib/longlong.h: Update from GCC.
43398 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43400         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43401         parameter name.
43402         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43403         Add parameter name.
43404         (__sysconf): Pass it down.
43406 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43408         [BZ #12671]
43409         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43410         some situations.
43411         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43412         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43413         add in in __libc_use_alloca calls.  Adjust callers.
43414         (glob): Use malloc in some situations.
43416         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43417         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43418         pltexit.
43420 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43422         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43423         and CLOCK_BOOTTIME_ALARM.
43425         [BZ #12782]
43426         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43427         is returned.
43429         * string/_strerror.c (__strerror_r): Print negative errors as signed
43430         numbers.
43432         [BZ #12777]
43433         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43434         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43435         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43437         * configure.in: Fix typo in redirection and correct removal of test
43438         files in two cases.
43440         [BZ #12788]
43441         * locale/setlocale.c (new_composite_name): Fix test to check for
43442         identical name of all categories.
43444         [BZ #12792]
43445         * libio/filedoalloc.c (local_isatty): New function.
43446         (_IO_file_doallocate): Use local_isatty.
43447         * stdio-common/perror.c (perror): In case a new stream is used
43448         forward the stream error.
43449         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43450         error flag.
43452 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43454         [BZ #11869]
43455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43456         alloca.
43457         * include/alloca.h (extend_alloca_account): Define.
43459         [BZ #11857]
43460         * posix/regex.h: Fix comments with documentation of user-accessible
43461         fields after compilation and describe correct free'ing of pattern
43462         after re_compile_pattern.
43463         Patch by Reuben Thomas <rrt@sc3d.org>.
43465 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43467         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43468         and -mno-altivec to prevent the compiler from using Altivec and/or
43469         VSX instructions when the corresponding registers are not available.
43471 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43473         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43475 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43477         * libio/freopen.c (freopen): Use __dup2, not dup2.
43478         * libio/freopen64.c (freopen64): Likewise.
43480 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43482         [BZ #12775]
43483         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43484         * math/Makefile (tests): Add test-powl.
43485         (CFLAGS-test-powl.c): Define.
43486         * math/test-powl.c: New file.
43488 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43490         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43492 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43494         [BZ #11837]
43495         * iconvdata/gb18030.c: Update to GB18020-2005.
43497 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43499         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43500         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43501         Patch by Aharon Robbins <arnold@skeeve.com>.
43503         [BZ #11892]
43504         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43505         on the stack.
43507         [BZ #11895]
43508         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43509         through underflows.
43511         [BZ #12766]
43512         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43513         point to strings before performing equality test for error_one_per_line
43514         mode.
43516         [BZ #11697]
43517         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43519         [BZ #11820]
43520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43521         (struct user_fpregs_struct): Avoid __uint*_t types.
43523         [BZ #6420]
43524         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43525         symbol info.  Use it instead of calling _dl_addr locally.
43526         (lock_and_info): New function.
43527         (tr_freehook): Call lock_and_info and pass symbol info as additional
43528         parameter to tr_where.
43529         (tr_mallochook): Likewise.
43530         (tr_reallochook): Likewise.
43531         (tr_memalignhook): Likewise.
43533         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43534         used and couldn't be at all thread-safe.
43536 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43538         * libio/freopen.c (freopen): Don't close old file descriptor
43539         before the new one is opened.  Instead dup the new file descriptor
43540         to the old one after the new stream is created.
43541         * libio/freopen64.c (freopen64): Likewise.
43542         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43543         * libio/fileops.c (_IO_new_file_close_it): Handle new
43544         _IO_FLAGS2_NOCLOSE flag.
43545         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43546         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43547         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43548         _IO_FLAGS2_NOCLOSE flag.
43549         * include/unistd.h: Add hidden_proto for dup3.
43550         Define __have_dup3.
43551         * io/dup3.c: Define hidden symbol.
43552         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43554         [BZ #7101]
43555         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43556         when an incomplete long option is used.
43557         * posix/tst-getopt_long1.c: New file.
43558         * posix/Makefile (tests): Add tst-getopt_long1.
43560         [BZ #10138]
43561         * scripts/config.guess: Update from autoconf-2.68.
43562         * scripts/config.sub: Likewise.
43564         [BZ #10157]
43565         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43566         tests into ...
43567         (has_cpuclock): ...this.  New function.
43568         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43569         macro here based on has_cpuclock code.
43571         [BZ #10149]
43572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43573         First byte (not low byte) is now always NUL.
43574         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43577         Use non-cancelable interfaces.
43579         [BZ #9809]
43580         * locale/iso-639.def: Add entry for Sorani.
43582         [BZ #11901]
43583         * include/stdlib.h: Move include protection to the right place.
43584         Define abort_msg_s.  Declare __abort_msg with it.
43585         * stdlib/abort.c (__abort_msg): Adjust type.
43586         * assert/assert.c (__assert_fail_base): New function.  Majority
43587         of code from __assert_fail.  Allocate memory for __abort_msg with
43588         mmap.
43589         (__assert_fail): Now call __assert_fail_base.
43590         * assert/assert-perr.c: Remove bulk of implementation.  Use
43591         __assert_fail_base.
43592         * include/assert.hL Declare __assert_fail_base.
43593         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43594         mmap.
43595         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43597 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43599         [BZ #11952]
43600         [BZ #12453]
43601         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43602         until all modules are registered in the DTV.
43603         * elf/Makefile: Add rules to build and run tst-tls19.
43604         * elf/tst-tls19.c: New file.
43605         * elf/tst-tls19mod1.c: New file.
43606         * elf/tst-tls19mod2.c: New file.
43607         * elf/tst-tls19mod3.c: New file.
43608         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43610         [BZ #12083]
43611         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43612         correctly.
43614         [BZ #12601]
43615         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43616         two-byte sequence errors.
43617         * iconvdata/Makefile (tests): Add bug-iconv8.
43618         * iconvdata/bug-iconv8.c: New file.
43620         [BZ #12626]
43621         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43622         buf2 definition.
43624         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43626         [BZ #12432]
43627         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43628         (dummy_getcfa): New function.
43629         (init): Get _Unwind_GetCFA address, use dummy if not found.
43630         (backtrace_helper): In recursion check, also check whether CFA changes.
43631         (__backtrace): Completely initialize arg.
43633         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43634         storing incomplete byte sequence in state object.  Avoid testing for
43635         guaranteed too small input if we know there is enough data available.
43637 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43639         * Makeconfig (+link-pie): Indent.
43640         * Rules (binaries-pie): Define if $(have-fpie) and
43641         $(build-shared).
43642         (binaries-shared): Also filter out $(binaries-pie).
43643         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43644         * nscd/Makefile (others-pie): Add nscd.
43645         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43646         ($(objpfx)nscd): Remove command override.
43647         * login/Makefile (others-pie): Add pt_chown.
43648         ($(objpfx)pt_chown): Remove command override.
43649         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43650         remove command overrides.
43652 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43654         * libio/tst_putwc.c: Fix error messages.
43656         [BZ #12724]
43657         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43658         currently writing and seek to current position when not.
43659         * libio/Makefile (tests): Add bug-fclose1.
43660         * libio/bug-fclose1.c: New file.
43662 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43664         [BZ #12511]
43665         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43666         don't set DF_1_NODELETE here.
43667         (do_lookup_x): When entering new entry test for copy relocation
43668         and if necessary set DF_1_NODELETE flag.
43669         * elf/tst-unique4.cc: New file.
43670         * elf/tst-unique4.h: New file.
43671         * elf/tst-unique4lib.cc: New file.
43672         * elf/Makefile: Add rules to build and run tst-unique4.
43673         Patch by Piotr Bury <pbury@goahead.com>.
43675 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43677         [BZ #12052]
43678         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43680         [BZ #12625]
43681         * misc/mntent_r.c (addmntent): Flush the stream after the output
43683         [BZ #12393]
43684         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43685         (is_trusted_path_normalize): Skip initial colon.  Append slash
43686         to empty buffer.  Duplicate is_trusted_path code but allow
43687         constructed patch to be prefix.
43688         (is_dst): Allow $ORIGIN followed by /.
43689         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43690         Correct testing of result of is_trusted_path_normalize
43691         (decompose_rpath): Fix warning.
43693 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43695         [BZ #11257]
43696         * grp/initgroups.c (internal_getgrouplist): When we found the service
43697         list through the initgroups entry in nsswitch.conf do not always
43698         continue on a successful lookup.  Don't always use the
43699         __nss_group_database value if it is set.
43700         * nss/nsswitch.conf (initgroups): Change action for successful db
43701         lookup to continue for compatibility.
43703 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43705         [BZ #11532]
43706         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43707         and CP774 modules.
43708         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43709         and CP774 modules.
43710         * iconvdata/tst-tables.sh: Likewise.
43711         * iconvdata/cp770.c: New file.
43712         * iconvdata/cp771.c: New file.
43713         * iconvdata/cp772.c: New file.
43714         * iconvdata/cp773.c: New file.
43715         * iconvdata/cp774.c: New file.
43716         * iconvdata/testdata/CP770: New file.
43717         * iconvdata/testdata/CP770..UTF8: New file.
43718         * iconvdata/testdata/CP771: New file.
43719         * iconvdata/testdata/CP771..UTF8: New file.
43720         * iconvdata/testdata/CP772: New file.
43721         * iconvdata/testdata/CP772..UTF8: New file.
43722         * iconvdata/testdata/CP773: New file.
43723         * iconvdata/testdata/CP773..UTF8: New file.
43724         * iconvdata/testdata/CP774: New file.
43725         * iconvdata/testdata/CP774..UTF8: New file.
43727         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43728         END CHARMAP line.
43729         * iconvdata/gen-8bit-gap.sh: Likewise.
43730         * iconvdata/gen-8bit.sh: Likewise.
43732         * locale/iso-639.def: Add ary entry.
43734         [BZ #11258]
43735         * locale/C-translit.h.in: Add U20A1 transliteration.
43737         [BZ #12178]
43738         * locale/iso-639.def: Add wae entry.
43739         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43741         [BZ #12545]
43742         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43743         for n.
43745         [BZ #12711]
43746         * locale/C-translit.h.in: Add entry for U20B9.
43747         Patch by pravin.d.s@gmail.com.
43749 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43751         [BZ #12713]
43752         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43753         ENAMETOOLONG use generic getcwd.
43754         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43755         in rtld.  Use *stat64.
43756         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43757         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43758         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43759         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43760         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43761         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43762         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43763         __fstatat64 macros.
43764         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43765         * dirent/rewinddir.c: Add libc_hidden_def.
43766         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43767         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43769         * include/dirent.h (__alloc_dir): Add flags parameter.
43770         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43771         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43772         __alloc_dir.
43773         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43774         from fdopendir if O_CLOEXEC is already set.
43776 2011-03-15  Alan Modra  <amodra@gmail.com>
43778         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43779         l_tls_firstbyte_offset non-zero.  Save padding offset in
43780         l_tls_firstbyte_offset for later use.
43781         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43782         freeing static tls block.
43784 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43786         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43787         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43788         being defined by the kernel headers.
43790 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43792         [BZ #12734]
43793         * resolv/resolv.h: Define RES_NOTLDQUERY.
43794         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43795         no-tld-query and set RES_NOTLDQUERY.
43796         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43797         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43798         modern BIND to search name as TLD unless forbidden.
43800 2011-05-07  Petr Baudis  <pasky@suse.cz>
43801             Ulrich Drepper  <drepper@gmail.com>
43803         [BZ #12393]
43804         * elf/dl-load.c (fillin_rpath): Move trusted path check...
43805         (is_trusted_path): ...to here.
43806         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43807         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43808         using is_trusted_path_normalize() in setuid scripts.
43810 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43812         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43813         __BEGIN/__END_DECLS.
43815 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43818         NSS_STATUS_NOTFOUND if no record was found.
43820 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43822         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43823         (headers-not-in-tirpc): Remove rpc/netdb.h
43824         * resolv/netdb.h: Revert last change.
43826 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43828         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43829         circular dependency between libgcc.a and libc.a.
43831 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43833         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43834         * nis/Makefile: Don't install rpcsvc/*.
43835         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43836         instead of <rpc/types.h>.
43837         (MAXHOSTNAMELEN): Define.
43839 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43841         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43843 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43845         [BZ #12714]
43846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43847         gethostbyname4_r when IPv6 results are possible.
43849 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43851         [BZ #12723]
43852         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43853         _PC_PIPE_BUF handling.
43855 2011-04-30  Bruno Haible  <bruno@clisp.org>
43857         [BZ #12717]
43858         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43859         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43860         to 'int'.
43861         * inet/getnameinfo.c (getnameinfo): Likewise.
43863 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43865         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43866         to groups setting in database lookup.
43867         * nss/nsswitch.conf: Add initgroups entry.
43869 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43871         [BZ #12685]
43872         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43873         mode string.
43874         Patch by Eric Blake <eblake@redhat.com>.
43876 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43878         * sunrpc/Makefile (need-export-routines): Add svc_run.
43879         (routines): Remove svc_run.
43880         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43881         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43882         * sunrpc/svc_run.c (svc_run): Likewise.
43883         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43885 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43888         problem in reallocation in last patch.
43890 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43892         * sunrpc/Makefile: Move inclusion of Rules.
43894 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43896         * nss/nss_files/files-initgroups.c: New file.
43897         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43898         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43899         _nss_files_initgroups_dyn.
43901 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43903         * elf/elf.h (R_ARM_IRELATIVE): Define.
43905 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43907         * po/ru.po: Update from translation team.
43909 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43911         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43912         dependencies.
43914 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43916         [BZ #12653]
43917         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43918         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43921         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43923 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43925         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43926         differing bytes.
43927         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43931 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43933         [BZ #12420]
43934         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43935         storing it.
43936         * stdlib/bug-getcontext.c: New file.
43937         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43939 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43941         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43942         instructions into .machine "z9-109".
43943         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43944         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43946 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43948         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43949         between environment variables and auxiliary vector.
43951 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43953         * Makefile: Add rules to build linkobj/libc.so.
43954         * include/libc-symbols.h: Define libc_hidden_nolink.
43955         * include/rpc/auth.h: Mark functions which are to be hidden.
43956         * include/rpc/auth_des.h: Likewise.
43957         * include/rpc/auth_unix.h: Likewise.
43958         * include/rpc/clnt.h: Likewise.
43959         * include/rpc/des_crypt.h: Likewise.
43960         * include/rpc/key_prot.h: Likewise.
43961         * include/rpc/pmap_clnt.h: Likewise.
43962         * include/rpc/pmap_prot.h: Likewise.
43963         * include/rpc/pmap_rmt.h: Likewise.
43964         * include/rpc/rpc_msg.h: Likewise.
43965         * include/rpc/svc.h: Likewise.
43966         * include/rpc/svc_auth.h: Likewise.
43967         * include/rpc/xdr.h: Likewise.
43968         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43969         * nss/Makefile: Likewise.
43970         * sunrpc/Makefile: Don't install headers.  Build library with normal
43971         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43972         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43973         for the compat linking library.  Remove use of INTDEF/INTUSE.
43974         * sunrpc/auth_none.c: Likewise.
43975         * sunrpc/auth_unix.c: Likewise.
43976         * sunrpc/authdes_prot.c: Likewise.
43977         * sunrpc/authuxprot.c: Likewise.
43978         * sunrpc/clnt_gen.c: Likewise.
43979         * sunrpc/clnt_perr.c: Likewise.
43980         * sunrpc/clnt_raw.c: Likewise.
43981         * sunrpc/clnt_simp.c: Likewise.
43982         * sunrpc/clnt_tcp.c: Likewise.
43983         * sunrpc/clnt_udp.c: Likewise.
43984         * sunrpc/clnt_unix.c: Likewise.
43985         * sunrpc/des_crypt.c: Likewise.
43986         * sunrpc/des_soft.c: Likewise.
43987         * sunrpc/get_myaddr.c: Likewise.
43988         * sunrpc/key_call.c: Likewise.
43989         * sunrpc/key_prot.c: Likewise.
43990         * sunrpc/netname.c: Likewise.
43991         * sunrpc/pm_getmaps.c: Likewise.
43992         * sunrpc/pm_getport.c: Likewise.
43993         * sunrpc/pmap_clnt.c: Likewise.
43994         * sunrpc/pmap_prot.c: Likewise.
43995         * sunrpc/pmap_prot2.c: Likewise.
43996         * sunrpc/pmap_rmt.c: Likewise.
43997         * sunrpc/publickey.c: Likewise.
43998         * sunrpc/rpc_cmsg.c: Likewise.
43999         * sunrpc/rpc_common.c: Likewise.
44000         * sunrpc/rpc_dtable.c: Likewise.
44001         * sunrpc/rpc_prot.c: Likewise.
44002         * sunrpc/rpc_thread.c: Likewise.
44003         * sunrpc/rtime.c: Likewise.
44004         * sunrpc/svc.c: Likewise.
44005         * sunrpc/svc_auth.c: Likewise.
44006         * sunrpc/svc_authux.c: Likewise.
44007         * sunrpc/svc_raw.c: Likewise.
44008         * sunrpc/svc_run.c: Likewise.
44009         * sunrpc/svc_simple.c: Likewise.
44010         * sunrpc/svc_tcp.c: Likewise.
44011         * sunrpc/svc_udp.c: Likewise.
44012         * sunrpc/svc_unix.c: Likewise.
44013         * sunrpc/svcauth_des.c: Likewise.
44014         * sunrpc/xcrypt.c: Likewise.
44015         * sunrpc/xdr.c: Likewise.
44016         * sunrpc/xdr_array.c: Likewise.
44017         * sunrpc/xdr_float.c: Likewise.
44018         * sunrpc/xdr_intXX_t.c: Likewise.
44019         * sunrpc/xdr_mem.c: Likewise.
44020         * sunrpc/xdr_rec.c: Likewise.
44021         * sunrpc/xdr_ref.c: Likewise.
44022         * sunrpc/xdr_sizeof.c: Likewise.
44023         * sunrpc/xdr_stdio.c: Likewise.
44025 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44027         [BZ #12650]
44028         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44029         * sysdeps/ia64/dl-tls.h: Likewise.
44030         * sysdeps/powerpc/dl-tls.h: Likewise.
44031         * sysdeps/s390/dl-tls.h: Likewise.
44032         * sysdeps/sh/dl-tls.h: Likewise.
44033         * sysdeps/sparc/dl-tls.h: Likewise.
44034         * sysdeps/x86_64/dl-tls.h: Likewise.
44035         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44037 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44039         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44040         rpath element also skip the following colon.
44041         (expand_dynamic_string_token): Add is_path parameter and pass
44042         down to DL_DST_REQUIRED and _dl_dst_substitute.
44043         (decompose_rpath): Call expand_dynamic_string_token with
44044         non-zero is_path.  Ignore empty rpaths.
44045         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44046         with zero is_path.
44048 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44051         Make cancelable.
44053 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44055         [BZ #12655]
44056         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44057         Patch by Filipe David Manana <fdmanana@apache.org>.
44059 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44061         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44062         Maintain aligned stack.
44063         (CHECK_RSP): Remove unused macro.
44065 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44067         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44068         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44070 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44072         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44074         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44076 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44078         [BZ #12518]
44079         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44080         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44081         * sysdeps/x86_64/memmove.c: New file.
44082         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44083         (memcpy): Renamed to ...
44084         (__new_memcpy): This.
44085         (memcpy): Provide GLIBC_2_14 memcpy.
44086         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44087         (memcpy): Provide GLIBC_2_2_5 memcpy.
44089 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44091         [BZ #12631]
44092         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44094 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44096         * misc/syncfs.c: New file.
44097         * misc/Makefile (routines): Add syncfs.
44098         * posix/unistd.h: Declare syncfs.
44099         * sysdeps/unix/syscalls.list: Add syncfs.
44101 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44103         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44104         open_by_handle_at.
44105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44107         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44108         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44110         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44113 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44115         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44117         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44119         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44121         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44123         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44124         sync_file_range.c with -fexceptions.
44125         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44126         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44127         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44128         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44129         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44130         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44132         sync_file_range as cancellation point
44133         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44134         now a wrapper around __call_sync_file_range with cancellation handling.
44135         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44136         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44137         function name to __call_sync_file_range.
44138         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44139         Add call_sync_file_range.
44141 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44144         bits/timex.h.
44146 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44148         * iconv/iconv.h: Fix typo in comment.
44149         * io/fcntl.h: Likewise.
44150         * libio/stdio.h: Likewise.
44151         * posix/spawn.h: Likewise.
44152         * posix/unistd.h: Likewise.
44153         * stdlib/stdlib.h: Likewise.
44154         * time/time.h: Likewise.
44155         * wcsmbs/wchar.h: Likewise.
44157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44158         open_by_handle): Add.
44159         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44160         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44161         Augment a few comments.
44162         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44164         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44166         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44167         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44168         open_by_handle.
44170         * io/fcntl.h (AT_EMPTY_PATH): Define.
44172 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44174         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44175         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44176         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44177         to...
44178         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44179         * Versions.def: Add GLIBC_2.14.
44180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44181         Export.
44183 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44185         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44186         round counter.
44187         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44189 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44191         [BZ #12597]
44192         * string/test-strncmp.c (do_page_test): New function.
44193         (check2): Likewise.
44194         (test_main): Call check2.
44195         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44197 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44199         [BZ #12587]
44200         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44201         Handle cache information in CPU leaf 4.
44202         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44204 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44206         [BZ #12583]
44207         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44208         character representation.
44209         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44211 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44213         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44214         END(__isnan) to END(__isnanf) to match function entry point/label
44215         EALIGN(__isnanf,...).
44217 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44219         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44221 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44223         [BZ #12510]
44224         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44225         copy from the symbol referenced in the relocation to initialize the
44226         used variable.
44227         Patch by Piotr Bury <pbury@goahead.com>.
44228         * elf/Makefile: Add rules to build and tst-unique3.
44229         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44230         * elf/tst-unique3.cc: New file.
44231         * elf/tst-unique3.h: New file.
44232         * elf/tst-unique3lib.cc: New file.
44233         * elf/tst-unique3lib2.cc: New file.
44235         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44237 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44239         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44240         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44241         to _start.
44243 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44245         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44246         to-be-loaded object along a path to loader is ld.so.
44248 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44249             Ulrich Drepper  <drepper@gmail.com>
44251         * sysdeps/x86_64/memset.S: After aligning destination, code
44252         branches to different locations depending on the value of
44253         misalignment, when multiarch is enabled. Fix this.
44255 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44257         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44258         Set _x86_64_preferred_memory_instruction for AMD processsors.
44259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44260         Set bit_Prefer_SSE_for_memop for AMD processors.
44262 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44264         * libio/fmemopen.c (fmemopen): Optimize a bit.
44266 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44268         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44270 2011-03-03  Roland McGrath  <roland@redhat.com>
44272         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44274 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44276         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44277         __bzero_ultra1 instead of __memset_ultra1.
44279 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44280             Ulrich Drepper  <drepper@gmail.com>
44282         [BZ #12509]
44283         * include/link.h (struct link_map): Add l_orig_initfini.
44284         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44285         returning unsuccessfully.
44286         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44287         close of a file loaded at startup, restore the original l_initfini
44288         list.
44289         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44290         list, store the pointer.
44291         * elf/Makefile ($(objpfx)noload-mem): New rule.
44292         (noload-ENV): Define.
44293         (tests): Add $(objpfx)noload-mem.
44294         * elf/noload.c: Include <memcheck.h>.
44295         (main): Call mtrace.  Close all opened handles.
44297 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44299         [BZ #12454]
44300         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44301         dependencies are missing.
44303 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44305         Fix __if_freereq crash: Unlike the generic version which uses free,
44306         Hurd needs munmap.
44307         * sysdeps/mach/hurd/ifreq.h: New file.
44309 2011-01-27  Petr Baudis  <pasky@suse.cz>
44310             Ulrich Drepper  <drepper@gmail.com>
44312         [BZ 12445]#
44313         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44314         to extend_alloca().
44315         * stdio-common/bug23.c: New file.
44316         * stdio-common/Makefile (tests): Add bug23.
44318 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44319             Ulrich Drepper  <drepper@gmail.com>
44321         [BZ #12489]
44322         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44323         before performing relro protection.  At old place add assertion
44324         to make sure nothing changed.
44326 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44327             Glauber de Oliveira Costa  <glommer@gmail.com>
44329         * elf/elf.h: Add new ARM TLS relocs.
44331 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44334         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44335         cast from r3.
44336         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44337         'tests' variable.
44338         * sysdeps/wordsize-64/tst-writev.c: New file.
44340 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44342         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44343         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44344         insns in _dl_start to prevent a TOC reference before relocs are
44345         resolved.
44347 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44349         [BZ #12469]
44350         * Makeconfig: Remove RANLIB definition.
44351         * Makerules: Don't use RANLIB.
44352         * aclocal.m4: Remove ranlib test.
44353         * configure.in: No need to check for ranlib.
44354         * elf/rtld-Rules: Don't use RANLIB.
44356 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44358         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44359         protection macro.
44360         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44361         inclusion protection macro.
44363         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44364         SIGRTMIN and SIGRTMAX and print information in that case only when
44365         SIGRTMIN is defined.
44367 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44369         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44370         arginfo fn returning -1.
44372         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44373         and thousands string is zero terminated.
44375 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44377         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44378         sysdeps/unix/sysv/linux/bits/socket.h.
44380 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44382         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44383         (__CPU_COUNT): Remove old macros.
44384         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44385         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44386         (__CPU_ALLOC, __CPU_FREE): Add macros.
44387         (__sched_cpualloc, __sched_cpufree): Add declarations.
44389 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44391         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44392         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44393         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44394         (readdhstai): Return value of addhstaiX call.
44395         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44396         (addgrbyX): Return value returned by cache_addgr.
44397         (readdgrbyname): Return value returned by addgrbyX.
44398         (readdgrbygid): Likewise.
44399         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44400         (addpwbyX): Return value returned by cache_addpw.
44401         (readdpwbyname): Return value returned by addhstbyX.
44402         (readdpwbyuid): Likewise.
44403         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44404         (addservbyX): Return value returned by cache_addserv.
44405         (readdservbyname): Return value returned by addservbyX:
44406         (readdservbyport): Likewise.
44407         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44408         (addhstbyX): Return value returned by cache_addhst.
44409         (readdhstbyname): Return value returned by addhstbyX.
44410         (readdhstbyaddr): Likewise.
44411         (readdhstbynamev6): Likewise.
44412         (readdhstbyaddrv6): Likewise.
44413         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44414         (readdinitgroups): Return value returned by addinitgroupsX.
44415         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44416         (prune_cache): Keep track of timeout value of re-added entries.
44417         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44418         * nscd/nscd.h: Adjust prototypes of readd* functions.
44420 2011-02-04  Roland McGrath  <roland@redhat.com>
44422         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44423         (nis_stats): Likewise.
44424         * nis/nis_modify.c (nis_modify): Likewise.
44425         * nis/nis_remove.c (nis_remove): Likewise.
44426         * nis/nis_add.c (nis_add): Likewise.
44428         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44430         * posix/fnmatch_loop.c: Add some consts.
44432         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44434 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44436         [BZ #12460]
44437         * config.make.in (config-cflags-novzeroupper): Define.
44438         * configure.in: Substitute libc_cv_cc_novzeroupper.
44439         * elf/Makefile (AVX-CFLAGS): Define.
44440         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44441         (CFLAGS-tst-auditmod4a.c): Likewise.
44442         (CFLAGS-tst-auditmod4b.c): Likewise.
44443         (CFLAGS-tst-auditmod6b.c): Likewise.
44444         (CFLAGS-tst-auditmod6c.c): Likewise.
44445         (CFLAGS-tst-auditmod7b.c): Likewise.
44446         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44448 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44450         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44451         function to the callback.
44452         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44454 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44456         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44457         of errno.
44459 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44461         [BZ #11724]
44462         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44463         of constructors.
44464         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44465         of destructors.
44466         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44468         [BZ #11724]
44469         * elf/Makefile: Add rules to build and run new test.
44470         * elf/tst-initorder.c: New file.
44471         * elf/tst-initorder.exp: New file.
44472         * elf/tst-initordera1.c: New file.
44473         * elf/tst-initordera2.c: New file.
44474         * elf/tst-initordera3.c: New file.
44475         * elf/tst-initordera4.c: New file.
44476         * elf/tst-initorderb1.c: New file.
44477         * elf/tst-initorderb2.c: New file.
44478         * elf/tst-order-a1.c: New file.
44479         * elf/tst-order-a2.c: New file.
44480         * elf/tst-order-a3.c: New file.
44481         * elf/tst-order-a4.c: New file.
44482         * elf/tst-order-b1.c: New file.
44483         * elf/tst-order-b2.c: New file.
44484         * elf/tst-order-main.c: New file.
44485         New test case by George Gensure <werkt0@gmail.com>.
44487 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44490         decoding ACE if AI_CANONIDN.
44492 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44494         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44496 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44498         * version.h (RELEASE): Bump for 2.13 release.
44499         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44501         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44503         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44504         MADV_NOHUGEPAGE.
44505         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44506         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44507         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44508         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44509         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44510         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44512         * posix/getconf.c: Update copyright year.
44513         * catgets/gencat.c: Likewise.
44514         * csu/version.c: Likewise.
44515         * debug/catchsegv.sh: Likewise.
44516         * debug/xtrace.sh: Likewise.
44517         * elf/ldconfig.c: Likewise.
44518         * elf/ldd.bash.in: Likewise.
44519         * elf/sprof.c (print_version): Likewise.
44520         * iconv/iconv_prog.c: Likewise.
44521         * iconv/iconvconfig.c: Likewise.
44522         * locale/programs/locale.c: Likewise.
44523         * locale/programs/localedef.c: Likewise.
44524         * malloc/memusage.sh: Likewise.
44525         * malloc/mtrace.pl: Likewise.
44526         * nscd/nscd.c (print_version): Likewise.
44527         * nss/getent.c: Likewise.
44529         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44530         PF_CAIF, and PF_ALG.
44531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44533 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44535         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44536         (modules-names): Use them.
44537         (ifunc-test-modules, ifunc-pie-tests): Define.
44538         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44539         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44540         (test-extras): Likewise.
44541         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44542         $(compile-command.c).
44543         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44544         (all-built-dso): Define.
44545         (check-textrel.out, check-execstack.out): Depend on it.
44547         * configure.in: Don't override --enable-multi-arch.
44549 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44551         [BZ #6812]
44552         * nscd/hstcache.c (tryagain): Define.
44553         (cache_addhst): Return tryagain not notfound for temporary errors.
44554         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44555         failed.
44557 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44559         [BZ #10563]
44560         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44561         to make the syscall.
44562         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44564         [BZ #12378]
44565         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44566         and fall back to matching as normal character if the string ends before
44567         the matching ']' is found.  This is what POSIX requires.
44568         * posix/testfnm.c: Adjust test result.
44569         * posix/globtest.sh: Adjust test result.  Add new test.
44570         * posix/tst-fnmatch.input: Likewise.
44571         * posix/tst-fnmatch2.c: Add new test.
44573 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44575         * elf/Makefile (check-execstack): Revert last change.  Depend on
44576         check-execstack.h.
44577         (check-execstack.h): New target.
44578         (generated): Add check-execstack.h.
44579         * elf/check-execstack.c: Include "check-execstack.h".
44580         (main): Revert last change.
44581         (handle_file): Return zero if GNU_STACK is absent and
44582         DEFAULT_STACK_PERMS doesn't include PF_X.
44584 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44586         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44587         in child fails because the descriptor is already closed.
44588         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44589         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44590         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44592         [BZ #12397]
44593         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44594         syscall.
44596         [BZ #10484]
44597         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44598         temporary buffer used to handle multi lookups locally.
44599         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44601 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44603         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44604         loader is ld.so.
44606 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44608         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44609         alignment for SSE2.
44611 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44613         [BZ #12394]
44614         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44615         characters.  When rounding increased number of integer digits recompute
44616         number of groups.
44617         * stdio-common/tst-grouping.c: New file.
44618         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44620 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44622         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44623         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44625         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44626         void.
44627         * bits/select.h: Likewise.
44629 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44631         * po/ja.po: Update from translation team.
44633 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44635         [BZ #11155]
44636         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44637         implementation just like for lxstat, fxstatat, et al.
44639 2010-12-27  Jim Meyering  <meyering@redhat.com>
44641         [BZ #12348]
44642         * posix/regexec.c (build_trtable): Return failure indication upon
44643         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44645 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44647         [BZ #12201]
44648         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44649         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44650         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44651         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44653         [BZ #12207]
44654         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44656         [BZ #12204]
44657         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44658         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44660 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44662         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44663         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44664         script has SORT_BY_INIT_PRIORITY.
44665         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44666         NO_CTORS_DTORS_SECTIONS is defined.
44667         * elf/soinit.c: Likewise.
44668         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44669         NO_CTORS_DTORS_SECTIONS is defined.
44670         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44671         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44672         * sysdeps/sh/init-first.c: Likewise.
44673         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44675 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44677         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44678         always use the slow path.
44680 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44682         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44683         similar rule which adds the sysdep directories to the header search in
44684         order to pick up the correct platform stackinfo.h.
44685         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44686         perform test if it is, otherwise return successfully without testing.
44687         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44688         DEFAULT_STACK_PERMS define in stackinfo.h.
44689         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44690         defined in stackinfo.h.
44691         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44692         DEFAULT_STACK_PERMS defined in stackinfo.h.
44693         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44694         * sysdeps/ia64/stackinfo.h: Likewise.
44695         * sysdeps/s390/stackinfo.h: Likewise.
44696         * sysdeps/sh/stackinfo.h: Likewise.
44697         * sysdeps/sparc/stackinfo.h: Likewise.
44698         * sysdeps/x86_64/stackinfo.h: Likewise.
44699         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44700         PF_X for powerpc64.  Retain PF_X for powerpc32.
44702 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44704         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44705         accurately.
44706         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44707         GETDENTS_64BIT_ALIGNED.
44709 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44711         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44713 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44715         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44716         _GNU_SOURCE.
44718         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44719         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44720         Remove __restrict.
44721         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44722         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44724 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44726         [BZ #11655]
44727         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44728         are initialized.
44730 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44732         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44734 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44736         * po/it.po: Update from translation team.
44738 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44741         unused codes.
44743 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44745         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44747 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44749         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44750         specially.
44751         (gaih_getanswer_slice): Likewise.
44753 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44757 2010-05-31  Petr Baudis  <pasky@suse.cz>
44759         [BZ #11149]
44760         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44761         silently even in the chroot mode.
44763 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44765         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44766         last patch a bit.  Pretty printing
44768 2010-05-31  Petr Baudis <pasky@suse.cz>
44770         [BZ #10085]
44771         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44772         initialization of skip_initgroups_dyn.
44774 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44776         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44777         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44779 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44781         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44783 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44785         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44786         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44787         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44788         ($(objpfx)tst-fnmatch-mem): New rule.
44789         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44790         * posix/tst-fnmatch.c (main): Call mtrace.
44792 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
44794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44795         Support Intel processor model 6 and model 0x2c.
44797 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
44799         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44800           signed comparison.
44802 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
44804         [BZ #12205]
44805         * string/test-strncasecmp.c (check_result): New function.
44806         (do_one_test): Use it.
44807         (check1): New function.
44808         (test_main): Use it.
44809         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44810         Support strcasecmp and strncasecmp.
44812 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44814         [BZ #12194]
44815         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44816         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44818 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44820         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44821         IFUNC support.
44822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44823         memset-x86-64.
44824         * sysdeps/x86_64/multiarch/bzero.S: New file.
44825         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44826         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44827         * sysdeps/x86_64/multiarch/memset.S: New file.
44828         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44830         Set bit_Prefer_SSE_for_memop for Intel processors.
44831         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44832         Define.
44833         (index_Prefer_SSE_for_memop): Define.
44834         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44836 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44838         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44839         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44841 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44843         [BZ #12191]
44844         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44845         (__x86_64_raw_data_cache_size_half): Likewise.
44846         (__x86_64_raw_shared_cache_size): Likewise.
44847         (__x86_64_raw_shared_cache_size_half): Likewise.
44849         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44850         (__x86_64_raw_data_cache_size_half): Likewise.
44851         (__x86_64_raw_shared_cache_size): Likewise.
44852         (__x86_64_raw_shared_cache_size_half): Likewise.
44853         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44854         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44855         and __x86_64_raw_shared_cache_size_half.  Round
44856         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44857         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44858         to multiple of 256 bytes.
44860 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44862         [BZ #12167]
44863         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44864         of inacessible symlinks.  Verify result of symlink before returning it.
44865         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44866         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44868 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44870         * math/math.h (isinf): Fix typo in comment.
44872 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44874         * po/da.po: Update from translation team.
44876 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44878         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44879         is added to the list.
44881 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44882             Ulrich Drepper  <drepper@gmail.com>
44884         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44885         the global list here.  Move code to...
44886         (_dl_add_to_namespace_list): ...here.  New function.
44887         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44888         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44889         * elf/dl-load.c (lose): Don't remove the element from the list.
44890         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44891         (_dl_map_object): Likewise.
44893 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44895         [BZ #12159]
44896         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44897         into all bytes of SSE register.
44898         Patch by Richard Li <richardpku@gmail.com>.
44900 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44902         [BZ #12140]
44903         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44904         perturbing.
44906 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44908         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44909         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44911         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44913         submachine.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44916 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44918         * include/dlfcn.h (__RTLD_SECURE): Define.
44919         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44920         mode & __RTLD_SECURE instead.
44921         (open_path): Rename preloaded parameter to secure.
44922         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44923         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44924         * elf/dl-deps.c (openaux): Likewise.
44925         * elf/rtld.c (struct map_args): Remove is_preloaded.
44926         (map_doit): Don't use it.
44927         (dl_main): Likewise.
44928         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44929         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44931 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44933         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44934         (sysd-rules-targets): Remove duplicates.
44935         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44936         rtld-%.$o dependency.
44938 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44940         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44941         _dl_map_object do it.
44943 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44945         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44946         fast fma builtins, define the macros in the C99 standard.
44947         (FP_FAST_FMAF): Likewise.
44948         (FP_FAST_FMAL): Likewise.
44949         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44951         * bits/mathdef.h: Update copyright year.
44952         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44954 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44956         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44957         builtins, define the macros in the C99 standard.
44958         (FP_FAST_FMAF): Likewise.
44959         (FP_FAST_FMAL): Likewise.
44960         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44961         multiply/add.
44962         (FP_FAST_FMAF): Likewise.
44964 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44966         [BZ #3268]
44967         * math/libm-test.inc (fma_test): Some new testcases.
44968         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44970         y and infinite z.  Do multiplication by C already in long double.
44971         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44973         y and infinite z.  Do bitwise or of inexact bit into u.d.
44974         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44975         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44976         * sysdeps/i386/fpu/s_fma.S: Removed.
44977         * sysdeps/i386/fpu/s_fmal.S: Removed.
44979 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44981         [BZ #3268]
44982         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44984         computation is not scheduled after fetestexcept.  Fix value
44985         of minimum denormal long double.
44987 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44989         [BZ #3268]
44990         * math/libm-test.inc (fma_test): Add some more tests.
44991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44992         correctly.
44994 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44996         * scripts/data/localplt-s390-linux-gnu.data: New file.
44997         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44999 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45001         [BZ #3268]
45002         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45003         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45004         instead of dbl-64.
45005         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45006         inlines.
45007         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45009         if one of x and y is very large and the other is subnormal.
45010         * sysdeps/s390/fpu/s_fmaf.c: New file.
45011         * sysdeps/s390/fpu/s_fma.c: New file.
45012         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45013         * sysdeps/powerpc/fpu/s_fma.S: New file.
45014         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45015         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45016         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45018 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45020         [BZ #3268]
45021         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45022         fma tests.
45023         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45024         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45025         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45026         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45027         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45028         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45031 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45033         [BZ #12078]
45034         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45035         * posix/bug-regex31.input: Add test case.
45037 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45039         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45040         * posix/bug-regex31.input: New file.
45042         [BZ #12078]
45043         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45044         (parse_sub_exp): Fix last change, use postorder.
45046         * posix/bug-regex31.c: New file.
45047         * posix/Makefile: Add rules to build and run bug-regex31.
45049         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45051         [BZ #12078]
45052         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45054         [BZ #12108]
45055         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45056         to have entries in sys_siglist.
45058         [BZ #12093]
45059         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45060         be NULL.
45062 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45064         [BZ #3268]
45065         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45066         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45067         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45068         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45069         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45070         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45071         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45072         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45073         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45074         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45075         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45077         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45078         * math/ftestexcept.c (fetestexcept): Likewise.
45079         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45080         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45081         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45082         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45083         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45084         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45085         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45087 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45089         [BZ #12107]
45090         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45091         newline.
45093 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45095         * string/bug-strstr1.c: New file.
45096         * string/Makefile: Add rules to build and run bug-strstr1.
45098 2010-10-05  Eric Blake  <eblake@redhat.com>
45100         [BZ #12092]
45101         * string/str-two-way.h (two_way_long_needle): Always clear memory
45102         when skipping input due to the shift table.
45104 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45106         [BZ #12005]
45107         * malloc/mcheck.c: Handle large requests.
45109         [BZ #12077]
45110         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45111         for strncmp and strncasecmp.
45112         * string/stratcliff.c: Add tests for strcmp and strncmp.
45113         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45115 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45117         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45118         __set_fpscr.
45120 2010-09-30  Andreas Jaeger  <aj@suse.de>
45122         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45123         (CGROUP_SUPER_MAGIC): Define.
45124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45125         Handle btrfs and cgroup file systems.
45126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45127         Likewise.
45129 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45131         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45132         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45134 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45136         [BZ #12067]
45137         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45138         trying to locate the ELF header.
45140 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45142         [BZ #11611]
45143         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45144         Mask out sign-bit copies when constructing f_fsid.
45146 2010-09-24  Petr Baudis <pasky@suse.cz>
45148         * debug/stack_chk_fail_local.c: Add missing licence exception.
45149         * debug/warning-nop.c: Likewise.
45151 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45153         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45154         implementing getdents64 using getdents syscall, set d_type if
45155         __ASSUME_GETDENTS32_D_TYPE.
45157 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45159         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45160         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45162 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45164         [BZ #12037]
45165         * posix/unistd.h: Undo change of feature selection for ftruncate from
45166         2010-01-11.
45168 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45170         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45171         detection.
45173 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45175         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45176         fanotify_mark.
45177         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45179 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45181         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45182         variables after CHECK_SP call.
45183         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45185 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45186             Ulrich Drepper  <drepper@redhat.com>
45188         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45189         re-relocationg ld.so.
45190         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45191         _dl_init_paths call.
45192         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45193         here anymore.
45195 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45197         * resolv/res_init.c (__res_vinit): Count the default server we added.
45199 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45200             Ulrich Drepper  <drepper@redhat.com>
45202         [BZ #11968]
45203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45204         (____longjmp_chk): Use %ebx for saving value across system call.
45205         Add unwind info.
45207 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45209         * manual/Makefile: Don't mix pattern rules with normal rules.
45211 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45213         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45214         operation.
45215         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45216         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45217         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45218         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45220         Likewise.
45222 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45224         [BZ #11979]
45225         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45226         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45228 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45230         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45231         * sysdeps/x86_64/addmul_1.S: Likewise.
45232         * sysdeps/x86_64/lshift.S: Likewise.
45233         * sysdeps/x86_64/mul_1.S: Likewise.
45234         * sysdeps/x86_64/rshift.S: Likewise.
45235         * sysdeps/x86_64/sub_n.S: Likewise.
45236         * sysdeps/x86_64/submul_1.S: Likewise.
45238 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45240         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45241         Define __sched_param instead of SCHED_* and sched_param when
45242         <bits/sched.h> is included with __need_schedparam defined.
45243         * bits/sched.h [__need_schedparam]
45244         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45245         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45246         (__defined_schedparam): Define to 1.
45247         (__sched_param): New structure, identical to sched_param.
45248         (__need_schedparam): Undefine.
45250 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45252         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45253         (epoll_create1): Declare.
45255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45257 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45259         [BZ #7066]
45260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45261         shifting retval into place.
45263 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45265         * nis/rpcsvc/nis.h: Update copyright notice.
45266         * nis/rpcsvc/nis.x: Likewise.
45267         * nis/rpcsvc/nis_callback.h: Likewise.
45268         * nis/rpcsvc/nis_callback.x: Likewise.
45269         * nis/rpcsvc/nis_object.x: Likewise.
45270         * nis/rpcsvc/nis_tags.h: Likewise.
45271         * nis/rpcsvc/yp.h: Likewise.
45272         * nis/rpcsvc/yp.x: Likewise.
45273         * nis/rpcsvc/ypupd.h: Likewise.
45274         * nis/yp_xdr.c: Likewise.
45275         * nis/ypupdate_xdr.c: Likewise.
45277         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45278         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45279         (pmap_getport): Use __libc_rpc_getport.
45280         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45281         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45282         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45284 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45287         fanotify_mark.
45289 2010-08-27  Roland McGrath  <roland@redhat.com>
45291         * sysdeps/i386/i686/multiarch/Makefile
45292         (CFLAGS-varshift.c): New variable.
45294 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45296         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45297         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45301         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45303 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45305         * sysdeps/x86_64/strlen.S: Unroll the loop.
45306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45307         strlen-sse2 strlen-sse2-bsf.
45308         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45309         __strlen_no_bsf if bit_Slow_BSF is set.
45310         (__strlen_sse42): Removed.
45311         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45312         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45314 2010-08-25  Roland McGrath  <roland@redhat.com>
45316         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45317         * sysdeps/x86_64/multiarch/varshift.c: New file.
45318         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45319         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45320         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45321         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45323 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45326         strlen-sse2 strlen-sse2-bsf.
45327         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45328         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45329         (__strlen_sse2): Removed.
45330         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45333         bit_Slow_BSF for Atom.
45334         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45335         (index_Slow_BSF): Define.
45336         (HAS_SLOW_BSF): Define.
45338 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45340         [BZ #10851]
45341         * resolv/res_init.c (__res_vinit): When no server address at all
45342         is given default to loopback.
45344 2010-08-24  Roland McGrath  <roland@redhat.com>
45346         * configure.in: Remove config-name.h generation.
45347         * configure: Regenerated.
45348         * config-name.in: File removed.
45349         * scripts/config-uname.sh: New file.
45350         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45351         ($(objdir)config-name.h): New target.
45353         * sunrpc/rpc_parse.h: Avoid nested comment.
45355 2010-08-24  Richard Henderson  <rth@redhat.com>
45356             Ulrich Drepper  <drepper@redhat.com>
45357             H.J. Lu  <hongjiu.lu@intel.com>
45359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45361         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45362         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45363         _mm_alignr_epi8 with _mm_loadu_si128.
45364         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45365         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45366         (__m128i_shift_right): Removed.
45367         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45368         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45369         * sysdeps/x86_64/multiarch/varshift.h: New file.
45370         * sysdeps/x86_64/multiarch/varshift.S: New file.
45372 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45374         * configure.in: Move assembler checks to before sysdep dir checking.
45376 2010-08-20  Petr Baudis  <pasky@suse.cz>
45378         * LICENSES: Sync the sunrpc license.
45380 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45382         * sunrpc/auth_des.c: Update copyright notice once again.
45383         * sunrpc/auth_none.c: Likewise.
45384         * sunrpc/auth_unix.c: Likewise.
45385         * sunrpc/authdes_prot.c: Likewise.
45386         * sunrpc/authuxprot.c: Likewise.
45387         * sunrpc/bindrsvprt.c: Likewise.
45388         * sunrpc/clnt_gen.c: Likewise.
45389         * sunrpc/clnt_perr.c: Likewise.
45390         * sunrpc/clnt_raw.c: Likewise.
45391         * sunrpc/clnt_simp.c: Likewise.
45392         * sunrpc/clnt_tcp.c: Likewise.
45393         * sunrpc/clnt_udp.c: Likewise.
45394         * sunrpc/clnt_unix.c: Likewise.
45395         * sunrpc/des_crypt.c: Likewise.
45396         * sunrpc/des_soft.c: Likewise.
45397         * sunrpc/get_myaddr.c: Likewise.
45398         * sunrpc/getrpcport.c: Likewise.
45399         * sunrpc/key_call.c: Likewise.
45400         * sunrpc/key_prot.c: Likewise.
45401         * sunrpc/openchild.c: Likewise.
45402         * sunrpc/pm_getmaps.c: Likewise.
45403         * sunrpc/pm_getport.c: Likewise.
45404         * sunrpc/pmap_clnt.c: Likewise.
45405         * sunrpc/pmap_prot.c: Likewise.
45406         * sunrpc/pmap_prot2.c: Likewise.
45407         * sunrpc/pmap_rmt.c: Likewise.
45408         * sunrpc/rpc/auth.h: Likewise.
45409         * sunrpc/rpc/auth_unix.h: Likewise.
45410         * sunrpc/rpc/clnt.h: Likewise.
45411         * sunrpc/rpc/des_crypt.h: Likewise.
45412         * sunrpc/rpc/key_prot.h: Likewise.
45413         * sunrpc/rpc/netdb.h: Likewise.
45414         * sunrpc/rpc/pmap_clnt.h: Likewise.
45415         * sunrpc/rpc/pmap_prot.h: Likewise.
45416         * sunrpc/rpc/pmap_rmt.h: Likewise.
45417         * sunrpc/rpc/rpc.h: Likewise.
45418         * sunrpc/rpc/rpc_des.h: Likewise.
45419         * sunrpc/rpc/rpc_msg.h: Likewise.
45420         * sunrpc/rpc/svc.h: Likewise.
45421         * sunrpc/rpc/svc_auth.h: Likewise.
45422         * sunrpc/rpc/types.h: Likewise.
45423         * sunrpc/rpc/xdr.h: Likewise.
45424         * sunrpc/rpc_clntout.c: Likewise.
45425         * sunrpc/rpc_cmsg.c: Likewise.
45426         * sunrpc/rpc_common.c: Likewise.
45427         * sunrpc/rpc_cout.c: Likewise.
45428         * sunrpc/rpc_dtable.c: Likewise.
45429         * sunrpc/rpc_hout.c: Likewise.
45430         * sunrpc/rpc_main.c: Likewise.
45431         * sunrpc/rpc_parse.c: Likewise.
45432         * sunrpc/rpc_parse.h: Likewise.
45433         * sunrpc/rpc_prot.c: Likewise.
45434         * sunrpc/rpc_sample.c: Likewise.
45435         * sunrpc/rpc_scan.c: Likewise.
45436         * sunrpc/rpc_scan.h: Likewise.
45437         * sunrpc/rpc_svcout.c: Likewise.
45438         * sunrpc/rpc_tblout.c: Likewise.
45439         * sunrpc/rpc_util.c: Likewise.
45440         * sunrpc/rpc_util.h: Likewise.
45441         * sunrpc/rpcinfo.c: Likewise.
45442         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45443         * sunrpc/rpcsvc/key_prot.x: Likewise.
45444         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45445         * sunrpc/rpcsvc/mount.x: Likewise.
45446         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45447         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45448         * sunrpc/rpcsvc/rex.x: Likewise.
45449         * sunrpc/rpcsvc/rstat.x: Likewise.
45450         * sunrpc/rpcsvc/rusers.x: Likewise.
45451         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45452         * sunrpc/rpcsvc/spray.x: Likewise.
45453         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45454         * sunrpc/rtime.c: Likewise.
45455         * sunrpc/svc.c: Likewise.
45456         * sunrpc/svc_auth.c: Likewise.
45457         * sunrpc/svc_authux.c: Likewise.
45458         * sunrpc/svc_raw.c: Likewise.
45459         * sunrpc/svc_run.c: Likewise.
45460         * sunrpc/svc_simple.c: Likewise.
45461         * sunrpc/svc_tcp.c: Likewise.
45462         * sunrpc/svc_udp.c: Likewise.
45463         * sunrpc/svc_unix.c: Likewise.
45464         * sunrpc/svcauth_des.c: Likewise.
45465         * sunrpc/xcrypt.c: Likewise.
45466         * sunrpc/xdr.c: Likewise.
45467         * sunrpc/xdr_array.c: Likewise.
45468         * sunrpc/xdr_float.c: Likewise.
45469         * sunrpc/xdr_mem.c: Likewise.
45470         * sunrpc/xdr_rec.c: Likewise.
45471         * sunrpc/xdr_ref.c: Likewise.
45472         * sunrpc/xdr_sizeof.c: Likewise.
45473         * sunrpc/xdr_stdio.c: Likewise.
45475         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45476         handling.
45478 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45480         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45482 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45484         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45485         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45487         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45488         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45489         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45490         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45491         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45494         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45495         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45496         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45497         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45499 2010-07-26  Anton Blanchard  <anton@samba.org>
45501         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45502         * malloc/arena.c (heap_trim): Likewise.
45504 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45506         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45507         here.  Not...
45508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45509         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45511 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45513         * sysdeps/i386/elf/Makefile: New file.
45515 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45517         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45518         from fanotify_init.
45519         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45522 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45524         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45525         of strncasecmp_l.
45526         * sysdeps/multiarch/strcmp.S: Likewise.
45528 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45530         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45531         strncase_l-nonascii.
45532         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45533         Add strncase_l-ssse3.
45534         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45535         * sysdeps/x86_64/strcmp.S: Likewise.
45536         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45537         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45538         * sysdeps/x86_64/strncase.S: New file.
45539         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45540         * sysdeps/x86_64/strncase_l.S: New file.
45541         * string/Makefile (strop-tests): Add strncasecmp.
45542         * string/test-strncasecmp.c: New file.
45544         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45545         warning.
45547         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45548         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45550 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45552         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45554 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45556         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45557         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45558         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45560 2010-05-01  Alan Modra  <amodra@gmail.com>
45562         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45563         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45564         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45565         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45566         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45567         tidying.  Don't tail-call __sigjmp_save for static lib.
45568         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45569         save location.
45570         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45571         (CALL_MCOUNT): Add eh info, and nop after bl.
45572         (TAIL_CALL_SYSCALL_ERROR): New macro.
45573         (PSEUDO_RET): Use it.
45574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45575         Correct save location of integer regs and cr.
45576         (_dl_profile_resolve): Correct cr save location.  Delete nops
45577         after bl when SHARED.  Reduce cfi size a little by better
45578         placement of cfi directives.
45579         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45580         make a stack frame.  Instead use parm save area as a temp.
45581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45582         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45584         Don't make a stack frame for parent, use parm save area.
45585         Increase child stack frame to 112 bytes.  Don't save unused reg,
45586         and adjust reg usage.  Set up cfi on error recovery and
45587         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45589         (__makecontext): Add dummy nop after jump to exit.
45590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45591         Use correct parm save area and cr save, reduce stack frame.
45592         Correct cfi for possible PSEUDO_RET frame setup.
45593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45594         Branch to local label emitted by PSEUDO_RET rather than
45595         __syscall_error.
45597 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45599         [BZ #11904]
45600         * locale/programs/locale.c (print_assignment): New function.
45601         (show_locale_vars): Use it.
45603 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45605         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45606         field.
45607         (struct statfs64): Likewise.
45608         (_STATFS_F_FLAGS): Define.
45609         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45610         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45611         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45612         (ST_VALID): Define locally.
45613         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45614         __statvfs_getflags, use the provided value.
45615         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45616         __ASSUME_STATFS_F_FLAGS.
45618         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45620         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45621         Add sys/fanotify.h.
45622         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45623         fanotify_mask for GLIBC_2.13.
45624         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45625         fanotify_init and fanotify_mark.
45626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45627         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45629         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45630         Add prlimit.
45631         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45632         prlimit64 for GLIBC_2.13.
45633         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45634         prlimit64.
45635         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45636         syscall.
45637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45638         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45639         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45640         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45642         add prlimit alias.
45643         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45645         [BZ #11903]
45646         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45647         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45649         * nss/Makefile: Add rules to build and run tst-nss-test1.
45650         * shlib-versions: Add entry for libnss_test1.
45651         * nss/nss_test1.c: New file.
45652         * nss/tst-nss-test1.c: New file.
45654         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45655         (__nss_configure_lookup): Set appropriate entry in
45656         __nss_configure_lookup to true.
45657         * nss/nsswitch.h: Define enum with indeces of databases in
45658         databases and __nss_database_custom arrays.  Declare
45659         __nss_database_custom.
45660         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45661         to avoid using nscd when custom rules are installed.
45662         * nss/getXXbyYY_r.c: Likewise.
45663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45665         * nss/nss_files/files-parse.c: Whitespace fixes.
45667 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45669         [BZ #11883]
45670         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45671         * posix/fnmatch_loop.c: Likewise.
45673 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45675         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45676         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45677         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45678         * Versions.def [GLIBC_2.13]: Add.
45680 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45682         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45683         Also fail if tpwd after pwuid call is NULL.
45685 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45687         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45688         when converting to ms.
45690 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45692         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45693         EOPNOTSUPP errors with ENOTTY.
45694         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45695         EOPNOTSUPP errors with ENOTTY.
45697 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45699         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45700         Add strcasecmp_l-ssse3.
45701         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45702         strcasecmp.
45703         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45704         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45705         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45707 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45709         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45711         * string/Makefile (strop-tests): Add strcasecmp.
45712         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45713         strcasecmp_l-nonascii.
45714         (gen-as-const-headers): Add locale-defines.sym.
45715         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45716         * sysdeps/x86_64/strcasecmp.S: New file.
45717         * sysdeps/x86_64/strcasecmp_l.S: New file.
45718         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45719         * sysdeps/x86_64/locale-defines.sym: New file.
45720         * string/test-strcasecmp.c: New file.
45722         * string/test-strcasestr.c: Test both ends of the range of characters.
45723         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45725 2010-07-29  Roland McGrath  <roland@redhat.com>
45727         [BZ #11856]
45728         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45730 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45732         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45733         for ld.so.
45735 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45737         * manual/memory.texi (Malloc Tunable Parameters): Document
45738         M_PERTURB.
45740 2010-07-26  Roland McGrath  <roland@redhat.com>
45742         [BZ #11840]
45743         * configure.in (-fgnu89-inline check): Set and substitute
45744         gnu89_inline, not libc_cv_gnu89_inline.
45745         * configure: Regenerated.
45746         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45748 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45750         * string/test-strnlen.c: New file.
45751         * string/Makefile (strop-tests): Add strnlen.
45752         * string/tester.c (test_strnlen): Add a few more test cases.
45753         * string/tst-strlen.c: Better error reporting.
45755         * sysdeps/x86_64/strnlen.S: New file.
45757 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45759         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45760         lower-latency instructions.
45762 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45764         * string/test-strcasestr.c: New file.
45765         * string/test-strstr.c: New file.
45766         * string/Makefile (strop-tests): Add strstr and strcasestr.
45767         * string/str-two-way.h: Don't undefine MAX.
45768         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45770 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45773         strcasestr-nonascii.
45774         (CFLAGS-strcasestr-nonascii.c): Define.
45775         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45776         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45777         Remove unused attribute.
45779 2010-07-20  Roland McGrath  <roland@redhat.com>
45781         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45782         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45783         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45784         like LD_HWCAP_MASK can disable hwcaps.
45786 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45788         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45790 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45792         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45793         call in strcasestr.
45794         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45795         __strcasestr_sse42_nonascii.
45796         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45797         strcasestr-nonascii.c.
45798         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45800 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
45802         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45803         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45804         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45805         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45807 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
45809         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45810         fcntl.
45812 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45814         [BZ #11577]
45815         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45816         dl_signal_cerror.
45818 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45820         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45821         _PC_PIPE_BUF using F_GETPIPE_SZ.
45823 2010-07-05  Roland McGrath  <roland@redhat.com>
45825         * manual/arith.texi (Rounding Functions): Fix rint description
45826         implicit in round description.
45828 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45830         * elf/Makefile: Fix linking for a few tests to make recent linker
45831         happy.
45833 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45835         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45836         $(common-objpfx)libc_nonshared.a.
45838 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45840         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45841         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45842         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45843         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45844         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45845         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45846         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45847         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45862         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45863         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45864         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45865         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45866         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45867         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45868         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45869         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45870         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45871         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45872         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45873         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45889 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45891         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45892         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45893         * string/memmove.c (memmove): Renamed to ...
45894         (MEMMOVE): ...this.  Default to memmove.
45895         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45896         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45897         (END_CHK): Define.
45898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45899         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45900         mempcpy-ssse3-back memmove-ssse3-back.
45901         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45902         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45903         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45904         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45905         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45906         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45907         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45908         * sysdeps/x86_64/multiarch/memmove.c: New file.
45909         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45910         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45911         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45912         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45913         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45914         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45915         Define.
45916         (index_Fast_Copy_Backward): Define.
45917         (HAS_ARCH_FEATURE): Define.
45918         (HAS_FAST_REP_STRING): Define.
45919         (HAS_FAST_COPY_BACKWARD): Define.
45921 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45923         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45924         Restore proper fallback handling.
45926 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45928         [BZ #11701]
45929         * posix/group_member.c (__group_member): Correct checking loop.
45931         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45932         OOM in getpwuid_r correctly.  Return error number when the caller
45933         should return, otherwise -1.
45934         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45935         call returning > 0 value.
45936         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45938 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45940         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45941         libc_nonshared.a from targets in modules-names.
45943 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45945         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45946         requires it.
45948 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45951         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45952         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45953         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45955 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45957         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45959 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45961         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45962         and F_GETPIPE_SZ.
45963         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45964         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45967         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45968         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45970 2010-06-14  Roland McGrath  <roland@redhat.com>
45972         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45974 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45976         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45977         __REDIRECT followed by __THROW.
45978         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45979         * posix/getopt.h (getopt): Likewise.
45981 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45983         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45984         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45985         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45986         in AT_FLAGS.
45987         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45988         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45990 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45992         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45994 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45996         [BZ #11640]
45997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45998         Properly check family and model.
46000 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46002         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46004 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46006         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46008 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46010         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46011         symbol reference.
46013 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46015         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46016         symbol reference.
46018 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46020         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46021         and internal_recvmmsg.
46022         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46023         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46024         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46025         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46027         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46028         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46029         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46031 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46033         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46035 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46037         POWER7 optimizations.
46038         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46039         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46041 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46043         * version.h: Update for 2.13 development version.
46045 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46047         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46048         exceptions.  Return 0.
46050 2010-05-07  Roland McGrath  <roland@redhat.com>
46052         * elf/ldconfig.c (main): Add a const.
46054 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46056         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46057         (args_options): Add no-idn option.
46058         (ahosts_keys_int): Add idn_flags to ai_flags.
46059         (parse_option): Handle 'i' option to clear idn_flags.
46061         * malloc/malloc.c (_int_free): Possible race in the most recently
46062         added check.  Only act on the data if no current modification
46063         happened.
46065 See ChangeLog.17 for earlier changes.