Consolidate NPTL sigprocmask.
[glibc.git] / ChangeLog
blob0f66198d68025d928a0c611cf3f8bf1b0dd43b2e
1 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10         Update #include target.
11         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12         * sysdeps/i386/i686/nptl/Makefile: ... here.
13         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15         Update #include target.
16         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18         * nptl/sysdeps/i386/Makefile: Moved ...
19         * sysdeps/i386/nptl/Makefile: ... here.
20         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
21         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31         * nptl/sysdeps/i386/tls.h: Moved ...
32         * sysdeps/i386/nptl/tls.h: ... here.
34         * sysdeps/sh/Makefile [$(subdir) = csu]
35         (gen-as-const-headers): Add tcb-offsets.sym.
36         * nptl/sysdeps/sh/Makefile: File removed.
37         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
38         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49         * nptl/sysdeps/sh/tls.h: Moved ...
50         * sysdeps/sh/nptl/tls.h: ... here.
51         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
52         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
53         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
54         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
55         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
56         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
57         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
58         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
59         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
60         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
61         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
62         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
63         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
64         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
65         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
66         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
67         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
68         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
69         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
70         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
71         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
72         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
73         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
74         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
75         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
76         Moved ...
77         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
78         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
79         Moved ...
80         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
81         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
82         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
83         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
84         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
85         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
86         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
87         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
88         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
89         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
90         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
91         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
92         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
93         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
94         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
95         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
96         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
97         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
98         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
100 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
102         * posix/spawn_faction_addopen.c: Include string.h.
104 2014-06-11  Roland McGrath  <roland@hack.frob.com>
106         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
107         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
108         * nptl/sysdeps/x86_64/Makefile: Moved ...
109         * sysdeps/x86_64/nptl/Makefile: ... here.
110         * nptl/sysdeps/x86_64/configure: Moved ...
111         * sysdeps/x86_64/nptl/configure: ... here.
112         * nptl/sysdeps/x86_64/configure.ac: Moved ...
113         * sysdeps/x86_64/nptl/configure.ac: ... here.
114         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
115         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
116         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
117         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
118         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
119         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
120         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
121         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
122         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
123         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
124         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
125         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
126         * nptl/sysdeps/x86_64/tls.h: Moved ...
127         * sysdeps/x86_64/nptl/tls.h: ... here.
128         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
129         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
130         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
131         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
133         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
135 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
139 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
141         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
142         type.
143         [POSIX] (off_t): Likewise.
144         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
145         [POSIX] (S_ISBLK): Require macro.
146         [POSIX] (S_ISCHR): Likewise.
147         [POSIX] (S_ISDIR): Likewise.
148         [POSIX] (S_ISFIFO): Likewise.
149         [POSIX] (S_ISREG): Likewise.
150         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
151         optional-macro.
152         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
153         type.
154         [POSIX] (time_t): Likewise.
155         [POSIX] (timer_t): Likewise.
157 2014-06-11  Florian Weimer  <fweimer@redhat.com>
159         [BZ #17048]
160         * posix/spawn_int.h (struct __spawn_action): Make the path string
161         non-const to support deallocation.
162         * posix/spawn_faction_addopen.c
163         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
164         * posix/spawn_faction_destroy.c
165         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
166         path in all spawn_do_open actions.
167         * posix/tst-spawn.c (do_test): Exercise the copy operation in
168         posix_spawn_file_actions_addopen.
170 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
172         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
173         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
174         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
175         conditional code always true.
176         (__libc_vfork): New alias.
178 2014-06-11  Roland McGrath  <roland@hack.frob.com>
180         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
181         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
183         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
185         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
186         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
188         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
189         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
191         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
192         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
194 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
196         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
197         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
198         multiarch strcmp for PPC64.
199         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
200         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
202         multiarch optimizations.
203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
204         (__libc_ifunc_impl_list): Likewise.
206 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
208         * benchtests/scripts/validate_benchout.py: New script.
209         * benchtests/Makefile (bench-func): Call it.
210         * benchtests/scripts/benchout.schema.json: New file.
212 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
214         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
215         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
216         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
217         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
218         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
219         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
220         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
221         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
222         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
223         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
224         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
225         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
226         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
227         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
228         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
229         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
231         Moved ...
232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
233         ... here.
234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
235         Moved ...
236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
238         Moved ...
239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
240         ... here.
241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
242         Moved ...
243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
244         ... here.
245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
246         Moved ...
247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
249         Moved ...
250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
251         ... here.
252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
253         Moved ...
254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
255         ... here.
256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
257         Moved ...
258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
260         Moved ...
261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
262         ... here.
263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
264         Moved ...
265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
266         ... here.
267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
268         Moved ...
269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
270         ... here.
271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
272         Moved ...
273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
275         Moved ...
276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
277         ... here.
278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
279         Moved ...
280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
281         ... here.
282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
283         Moved ...
284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
285         ... here.
286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
287         Moved ...
288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
290         Moved ...
291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
292         ... here.
293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
294         Moved ...
295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
296         ... here.
297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
298         Moved ...
299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
301         Moved ...
302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
303         ... here.
304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
305         Moved ...
306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
308         Moved ...
309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
311         Moved ...
312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
313         ... here.
314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
315         Moved ...
316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
317         ... here.
318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
319         Moved ...
320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
321         ... here.
322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
323         Moved ...
324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
326         Moved ...
327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
328         ... here.
329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
330         Moved ...
331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
332         ... here.
333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
334         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
336         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
338         Moved ...
339         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
340         ... here.
341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
344         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
352         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
354         Moved ...
355         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
357         Moved ...
358         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
360         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
362         Moved ...
363         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
366         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
367         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
368         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
369         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
371 2014-06-10  Wilco  <wdijkstr@arm.com>
373         * math/test-fenv-return.c: New file.
374         * math/Makefile: Add new test test-fenv-return.
376 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #17042]
379         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
380         when x - 1 is zero.
381         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
382         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
383         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
384         0.0L for an argument of 1.0L.
385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
386         Likewise.
387         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
388         value when x - 1 is zero.
389         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
390         * sysdeps/i386/fpu/libm-test-ulps: Update.
391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
393 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
395         [BZ #15119]
396         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
398 2014-06-09  Roland McGrath  <roland@hack.frob.com>
400         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
401         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
403 2014-06-09  Roland McGrath  <roland@hack.frob.com>
405         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
406         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
408         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
409         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
411         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
412         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
414         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
415         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
417         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
418         if not already defined.
419         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
420         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
421         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
422         (TLS_INIT_TP): Use it.
423         (TLS_DEFINE_INIT_TP): New macro.
424         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
426 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
428         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
429         constant.
430         [POSIX] (IXANY): Likewise.
431         [POSIX] (OLCUC): Likewise.
432         [POSIX || POSIX2008] (CBAUD): Do not allow.
433         [POSIX || POSIX2008] (DEFECHO): Likewise.
434         [POSIX || POSIX2008] (ECHOCTL): Likewise.
435         [POSIX || POSIX2008] (ECHOKE): Likewise.
436         [POSIX || POSIX2008] (ECHOPRT): Likewise.
437         [POSIX || POSIX2008] (EXTA): Likewise.
438         [POSIX || POSIX2008] (EXTB): Likewise.
439         [POSIX || POSIX2008] (FLUSHO): Likewise.
440         [POSIX || POSIX2008] (LOBLK): Likewise.
441         [POSIX || POSIX2008] (PENDIN): Likewise.
442         [POSIX || POSIX2008] (SWTCH): Likewise.
443         [POSIX || POSIX2008] (VDISCARD): Likewise.
444         [POSIX || POSIX2008] (VDSUSP): Likewise.
445         [POSIX || POSIX2008] (VLNEXT): Likewise.
446         [POSIX || POSIX2008] (VREPRINT): Likewise.
447         [POSIX || POSIX2008] (VSTATUS): Likewise.
448         [POSIX || POSIX2008] (VWERASE): Likewise.
449         (B*): Change to B[0123456789]*.
450         * conform/data/time.h-data [POSIX || UNIX98]
451         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
452         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
453         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
454         [POSIX] (tm_*): Do not allow.
456 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
458         * Makefile (install): Don't set LANGUAGE.
459         * Makefile.in (install): Likewise.
460         * assert/Makefile (test-assert-ENV): Remove variable.
461         (test-assert-perr-ENV): Likewise.
462         * elf/Makefile (neededtest4-ENV): Likewise.
463         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
464         [$(cross-compiling) = no]: Don't set LANGUAGE.
465         * io/ftwtest-sh (LANG): Remove variable.
466         * libio/Makefile (tst-widetext-ENV): Likewise.
467         * manual/install.texi (Running make install): Don't refer to
468         environment settings for make install.
469         * INSTALL: Regenerated.
470         * nptl/tst-tls6.sh: Don't set LANG.
471         * posix/globtest.sh (LANG): Remove variable.
472         * string/Makefile (tester-ENV): Likewise.
473         (inl-tester-ENV): Likewise.
474         (noinl-tester-ENV): Likewise.
475         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
476         [$(cross-compiling) = no]: Don't set LANGUAGE.
477         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
478         without explicit environment settings.
480 2014-06-06  Roland McGrath  <roland@hack.frob.com>
482         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
483         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
484         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
485         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
487 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
489         * crypt/crypt-private.h [DOS]: Add some includes taken from the
490         other files in the crypt directory.
491         * crypt/crypt.c: Remove duplicate includes.
492         * crypt/crypt-entry.c: Likewise.
493         * crypt/crypt_util.c: Likewise.
495 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
497         * Makeconfig (run-program-env): New variable.
498         (run-program-prefix-before-env): Likewise.
499         (run-program-prefix-after-env): Likewise.
500         (run-program-prefix): Define in terms of new variables.
501         (built-program-cmd-before-env): New variable.
502         (built-program-cmd-after-env): Likewise.
503         (built-program-cmd): Define in terms of new variables.
504         (test-program-prefix-before-env): New variable.
505         (test-program-prefix-after-env): Likewise.
506         (test-program-prefix): Define in terms of new variables.
507         (test-program-cmd-before-env): New variable.
508         (test-program-cmd-after-env): Likewise.
509         (test-program-cmd): Define in terms of new variables.
510         * Rules (make-test-out): Use $(run-program-env).
511         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
512         (help): Do not mention environment variables.  Mention
513         --timeoutfactor option.
514         (timeoutfactor): New variable.
515         (blacklist_exports): Remove function.
516         (exports): Remove variable.
517         (command): Do not include ${exports}.
518         * manual/install.texi (Configuring and compiling): Do not mention
519         test wrappers preserving environment variables.  Mention that last
520         assignment to a variable must take precedence.
521         * INSTALL: Regenerated.
522         * benchtests/Makefile (run-bench): Use $(run-program-env).
523         * catgets/Makefile ($(objpfx)test1.cat): Use
524         $(built-program-cmd-before-env), $(run-program-env) and
525         $(built-program-cmd-after-env).
526         ($(objpfx)test2.cat): Do not specify environment variables
527         explicitly.
528         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
529         $(run-program-env) and $(built-program-cmd-after-env).
530         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
531         $(run-program-env) and $(test-program-cmd-after-env).
532         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
533         explicitly.
534         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
535         run_program_env and test_program_cmd_after_env arguments.
536         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
537         * elf/tst-pathopt.sh: Use run_program_env argument.
538         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
539         $(test-wrapper-env) and $(run-program-env).
540         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
541         run_program_env arguments.
542         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
543         * intl/Makefile ($(objpfx)tst-gettext.out): Use
544         $(test-program-prefix-before-env), $(run-program-env) and
545         $(test-program-prefix-after-env).
546         ($(objpfx)tst-gettext2.out): Likewise.
547         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
548         run_program_env and test_program_prefix_after_env arguments.
549         * intl/tst-gettext2.sh: Likewise.
550         * intl/tst-gettext4.sh: Do not set environment variables
551         explicitly.
552         * intl/tst-gettext6.sh: Likewise.
553         * intl/tst-translit.sh: Likewise.
554         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
555         $(test-program-prefix-before-env), $(run-program-env) and
556         $(test-program-prefix-after-env).
557         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
558         run_program_env and test_program_prefix_after_env arguments.
559         * math/Makefile (run-regen-ulps): Use $(run-program-env).
560         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
561         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
562         explicitly with each use of ${test_wrapper_env}.
563         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
564         $(test-program-prefix-before-env), $(run-program-env) and
565         $(test-program-prefix-after-env).
566         * posix/tst-getconf.sh: Do not set environment variables
567         explicitly.
568         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
569         run_program_env and test_program_prefix_after_env arguments.
570         * stdio-common/tst-printf.sh: Do not set environment variables
571         explicitly.
572         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
573         $(test-program-prefix-before-env), $(run-program-env) and
574         $(test-program-prefix-after-env).
575         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
576         run_program_env and test_program_prefix_after_env arguments.
577         Split $test calls into $test_pre and $test.
578         * timezone/Makefile (build-testdata): Use
579         $(built-program-cmd-before-env), $(run-program-env) and
580         $(built-program-cmd-after-env).
582 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
584         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
585         strlen for non SHARED builds.
587 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
589         * nptl/allocatestack.c (check_list): Inlined function...
590         (__reclaim_stacks): ... here.
592 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
594         [BZ #15698]
595         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
596         memory overrun.
598 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
600         * Rules (make-test-out): Include
601         LOCPATH=$(common-objpfx)localedata in default environment.
602         * debug/Makefile (tst-chk1-ENV): Remove variable.
603         (tst-chk2-ENV): Likewise.
604         (tst-chk3-ENV): Likewise.
605         (tst-chk4-ENV): Likewise.
606         (tst-chk5-ENV): Likewise.
607         (tst-chk6-ENV): Likewise.
608         (tst-lfschk1-ENV): Likewise.
609         (tst-lfschk2-ENV): Likewise.
610         (tst-lfschk3-ENV): Likewise.
611         (tst-lfschk4-ENV): Likewise.
612         (tst-lfschk5-ENV): Likewise.
613         (tst-lfschk6-ENV): Likewise.
614         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
615         (tst-iconv7-ENV): Likewise.
616         * intl/Makefile (LOCPATH-ENV): Likewise.
617         (tst-codeset-ENV): Likewise.
618         (tst-gettext3-ENV): Likewise.
619         (tst-gettext5-ENV): Likewise.
620         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
621         (tst-fopenloc-ENV): Likewise.
622         (tst-fgetws-ENV): Remove variable.
623         (tst-ungetwc1-ENV): Likewise.
624         (tst-ungetwc2-ENV): Likewise.
625         (bug-ungetwc2-ENV): Likewise.
626         (tst-swscanf-ENV): Likewise.
627         (bug-ftell-ENV): Likewise.
628         (tst-fgetwc-ENV): Likewise.
629         (tst-fseek-ENV): Likewise.
630         (tst-ftell-partial-wide-ENV): Likewise.
631         (tst-ftell-active-handler-ENV): Likewise.
632         (tst-ftell-append-ENV): Likewise.
633         * posix/Makefile (tst-fnmatch-ENV): Likewise.
634         (tst-regexloc-ENV): Likewise.
635         (bug-regex1-ENV): Likewise.
636         (tst-regex-ENV): Likewise.
637         (tst-regex2-ENV): Likewise.
638         (bug-regex5-ENV): Likewise.
639         (bug-regex6-ENV): Likewise.
640         (bug-regex17-ENV): Likewise.
641         (bug-regex18-ENV): Likewise.
642         (bug-regex19-ENV): Likewise.
643         (bug-regex20-ENV): Likewise.
644         (bug-regex22-ENV): Likewise.
645         (bug-regex23-ENV): Likewise.
646         (bug-regex25-ENV): Likewise.
647         (bug-regex26-ENV): Likewise.
648         (bug-regex30-ENV): Likewise.
649         (bug-regex32-ENV): Likewise.
650         (bug-regex33-ENV): Likewise.
651         (bug-regex34-ENV): Likewise.
652         (bug-regex35-ENV): Likewise.
653         (tst-rxspencer-ENV): Likewise.
654         (tst-rxspencer-no-utf8-ENV): Likewise.
655         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
656         (tst-sscanf-ENV): Likewise.
657         (tst-swprintf-ENV): Likewise.
658         (tst-swscanf-ENV): Likewise.
659         (test-vfprintf-ENV): Likewise.
660         (scanf13-ENV): Likewise.
661         (bug14-ENV): Likewise.
662         (tst-grouping-ENV): Likewise.
663         * stdlib/Makefile (tst-strtod-ENV): Likewise.
664         (tst-strtod3-ENV): Likewise.
665         (tst-strtod4-ENV): Likewise.
666         (tst-strtod5-ENV): Likewise.
667         (testmb2-ENV): Likewise./
668         * string/Makefile (tst-strxfrm-ENV): Likewise.
669         (tst-strxfrm2-ENV): Likewise.
670         (bug-strcoll1-ENV): Likewise.
671         (test-strcasecmp-ENV): Likewise.
672         (test-strncasecmp-ENV): Likewise.
673         * time/Makefile (tst-strptime-ENV): Likewise.
674         (tst-ftime_l-ENV): Likewise.
675         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
676         (tst-mbrtowc-ENV): Likewise.
677         (tst-wcrtomb-ENV): Likewise.
678         (tst-mbrtowc2-ENV): Likewise.
679         (tst-c16c32-1-ENV): Likewise.
680         (tst-mbsnrtowcs-ENV): Likewise.
682 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
684         * manual/resource.texi (How to get information about the memory
685         subsystem?): Fix typo.
686         Reported by Peon de la Parra Ivan <peon@keba.com>
688 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
690         [BZ #16882]
691         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
692         (pthread_spin_lock): Branch out of spin loop to proper location.
693         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
694         (pthread_spin_lock): Likewise.
696         * nptl/tst-spin4.c: New test.
697         * nptl/Makefile (tests): Add tst-spin4.
699 2014-06-03  Andreas Schwab  <schwab@suse.de>
701         [BZ #15946]
702         * resolv/res_send.c (send_dg): Reload file descriptor after
703         calling reopen.
705 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
709 2014-06-03  Richard Henderson  <rth@redhat.com>
711         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
712         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
713         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
714         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
715         in the SAVE_PID block.
716         (__libc_vfork): New alias.
717         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
719         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
720         child in registers, not on the stack.  Remove RESET_PID conditionals.
721         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
723 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
725         * sysdeps/aarch64/libm-test-ulps: Regenerate.
727 2014-06-03  Wilco  <wdijkstr@arm.com>
729         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
730         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
731         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
732         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
733         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
734         Likewise.
736 2014-06-03  Wilco  <wdijkstr@arm.com>
738         * sysdeps/aarch64/fpu/math_private.h
739         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
740         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
741         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
742         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
743         Fix declarations.
745 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
747         * crypt/crypt-private.h: Include ufc-crypt.h.
748         (__b64_from_24bit): Declare extern.
749         * crypt/crypt_util.c(__b64_from_24bit): New function.
750         (b64t): New static const variable.
751         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
752         (b64t): Remove variable.
753         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
754         * crypt/sha256-crypt.c: Include crypt-private.h.
755         (b64t): Remove variable.
756         (__sha256_crypt_r): Remove b64_from_24bit and replace
757         with __b64_from_24bit.
758         * crypt/sha512-crypt.c: Likewise.
760 2014-06-02  Roland McGrath  <roland@hack.frob.com>
762         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
763         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
764         Label the code __libc_vfork rather than __vfork.
765         [!NOT_IN_libc] (vfork): Define as weak alias.
766         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
767         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
768         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
770 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
772         * malloc/malloc.c (malloc_info): Fix format specifier for
773         n_mmaps.
775 2014-06-02  Wilco  <wdijkstr@arm.com>
777         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
778         FPCR write.
780 2014-06-02  Wilco  <wdijkstr@arm.com>
782         [BZ #17009]
783         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
784         Rewrite to reduce FPCR/FPSR accesses.
786 2014-06-01  David S. Miller  <davem@davemloft.net>
788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
790 2014-05-31  David S. Miller  <davem@davemloft.net>
792         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
793         to occur in round to nearest mode when |x| >= 2.0
795 2014-05-30  Richard Henderson  <rth@twiddle.net>
797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
798         (PSEUDO_RET_NOERRNO): Remove.
799         (ret): Don't redefine.
800         (ret_NOERRNO): Define in terms of ret.
801         (ret_ERRVAL): Likewise.
803         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
804         use of PSEUDO_RET; perform the error check directly.
806 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
808         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
809         with __int128_t.
811 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
813         * malloc/malloc (malloc_info): Fix formatting.
815 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
816             Roland McGrath  <roland@hack.frob.com>
818         * malloc/malloc (malloc_info): Also print mmapped statistics.
820 2014-05-30  Roland McGrath  <roland@hack.frob.com>
822         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
823         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
825 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
827         * malloc/malloc.c (malloc_info): Inline mi_arena.
829 2014-05-29  Richard Henderson  <rth@twiddle.net>
831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
832         Remove comma before expanding ASM_ARGS_##nr.
833         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
834         Make _x0 a strict output; make _x8 a strict input; adjust expansion
835         of ASM_ARGS_##nr.
836         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
837         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
838         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
839         (ASM_ARGS_1): Add leading comma.
841         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
842         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
843         to __errno_location.
844         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
845         Remove the expected plt for __errno_location.
847         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
848         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
849         call to __read_tp.
851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
852         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
853         it and break it down.
854         (DOCARGS_0, DOCARGS_1): Do nothing.
855         (DOCARGS_2): Update to store into the new stack frame.
856         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
857         (UNDOCARGS_1): Update to restore from the new stack frame.
858         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
859         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
862         (SINGLE_THREAD_P): New parameter for result regno.
863         (PSEUDO): Update to match; use cbz instead of beq.
865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
866         Use ENTRY to define the _nocancel entry point.  Share the syscall
867         and syscall error check paths with the cancel path.
868         (PSEUDO_END): New.
870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
871         whitespace; tabs before and after asm mnemonics.
873 2014-05-29  Eric Wong  <normalperson@yhbt.net>
875         [BZ #15132]
876         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
877         Call fstat64 or stat64 internally, depending on arguments passed.
878         Replace stat buffer argument with file descriptor argument.
879         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
880         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
881         Pass fd to __internal_statvfs instead of calling fstat64.
882         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
883         Pass fd to __internal_statvfs64 instead of calling fstat64.
884         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
885         Pass -1 to __internal_statvfs instead of calling stat64.
886         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
887         Pass -1 to __internal_statvfs64 instead of calling stat64.
889 2014-05-28  Roland McGrath  <roland@hack.frob.com>
891         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
892         that was previously under [RESET_PID].
893         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
895         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
896         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
898 2014-05-27  Roland McGrath  <roland@hack.frob.com>
900         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
902         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
903         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
905 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
907         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
909 2014-05-27  Andreas Schwab  <schwab@suse.de>
911         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
912         TLS_INIT_TP macro.
913         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
914         * elf/rtld.c (init_tls, dl_main): Likewise.
915         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
916         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
917         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
918         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
919         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
920         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
921         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
922         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
923         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
924         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
925         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
926         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
927         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
928         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
929         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
930         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
931         * sysdeps/generic/tls.h: Update description.
933 2014-05-27  Will Newton  <will.newton@linaro.org>
935         [BZ #16990]
936         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
937         and restore r2 rather than just restoring.
939 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
941         [BZ #16724]
942         * libio/tst-ftell-append.c: New test case.
943         * libio/Makefile (tests): Add test case.
944         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
945         append mode.
946         * libio/wfileops.c (do_ftell_wide): Likewise.
948 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
952         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
953         ...
954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
956         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
957         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
959         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
960         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
961         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
963         Moved ...
964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
966         Moved ...
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
968         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
969         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
970         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
971         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
972         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
973         ...
974         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
975         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
976         Moved ...
977         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
978         here.
979         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
980         ...
981         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
982         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
983         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
985         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
986         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
987         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
988         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
991         merge into ...
992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
994         ...
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
997         ...
998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1000         Moved ...
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1002         here.
1003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1004         Moved ...
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1007         Moved ...
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1011         conditional [RESET_PID].
1012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1014         removed.
1015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1016         removed.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1019         <tcb-offsets.h>.
1020         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1021         (__libc_vfork): New strong alias.
1022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1023         removed.
1024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1025         Removed.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1028         <tcb-offsets.h>.
1029         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1030         (__libc_vfork): New strong alias.
1031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1032         removed.
1033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1034         removed.
1036 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1038         * malloc/malloc.c (mi_arena): New function.
1039         (malloc_info): Remove nested function mi_arena. Call non-nosted
1040         function mi_arena.
1042 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1045         by insrwi.
1046         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1047         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1048         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1049         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1050         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1051         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1052         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1054 2014-05-26  Andreas Schwab  <schwab@suse.de>
1056         [BZ #16984]
1057         * locale/programs/repertoire.c (repertoire_read): Add slash
1058         between I18NPATH element and file name.
1059         * locale/programs/locfile.c (locfile_read): Likewise.
1061 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1063         * nptl/pthread_mutexattr_settype.c
1064         (__pthread_mutexattr_settype):
1065         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1067 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1069         * nptl/tst-mutex5 (do_test):
1070         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1072 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074         * benchtests/README: Document 'init' directive.
1075         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1076         BENCH_INIT.
1077         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1078         (parse_file): Recognize 'init' directive.
1080 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1082         [BZ #16796]
1083         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1084         alignment of struct pthread.
1086 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1088         [BZ #16878]
1089         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1090         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1091         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1092         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1094 2014-05-25  Richard Henderson  <rth@twiddle.net>
1096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1097         (SINGLE_THREAD_P_PIC): Remove.
1098         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1099         (SINGLE_THREAD_P_PIC): Remove.
1101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1102         branch to syscall error ...
1103         (PSEUDO): ... here.
1104         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1105         from __local_syscall_error to .Lsyscall_error.
1106         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1107         (SYSCALL_ERROR): Update label name.
1109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1110         Do not use DOARGS/UNDOARGS.
1111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1112         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1113         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1114         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1115         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1118         block comment.
1120         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1121         define if !NOT_IN_libc.
1122         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1123         define with non-default symbol versions.
1125 2014-05-23  Richard Henderson  <rth@twiddle.net>
1127         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1128         (vfork, __vfork): Define via compat_symbol.
1130         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1131         [!HAVE_IFUNC] (vfork_compat): Remove.
1132         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1134 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1136         [BZ #16978]
1137         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1138         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1139         variable.
1141 2014-05-23  Richard Henderson  <rth@twiddle.net>
1143         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1144         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1145         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1146         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1148         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1149         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1150         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1151         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1153         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1154         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1155         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1156         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1157         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1158         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1159         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1160         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1161         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1162         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1163         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1164         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1165         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1167         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1169         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1173         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1174         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1175         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1176         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1177         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1181         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1182         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1183         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1184         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1185         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1186         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1187         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1188         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1189         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1190         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1191         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1192         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1193         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1195         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1197         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1199         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1201         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1203         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1205         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1206         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1207         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1208         before exiting on error.
1209         (__libc_vfork): New strong alias.
1210         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1211         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1213         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1214         that was previously under [RESET_PID].
1215         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1217         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1219 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1221         [BZ #16977]
1222         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1223         value when x - 1 is zero.
1224         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1225         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1226         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1227         0.0L for an argument of 1.0L.
1228         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1229         Likewise.
1230         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1231         value when x - 1 is zero.
1232         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1233         * sysdeps/i386/fpu/libm-test-ulps: Update.
1234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1238         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1239         alphasort and versionsort.
1241 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1243         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1244         macro.
1245         [copysignf]: Likewise.
1247 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249         * crypt/md5-crypt.c: Fix formatting.
1251 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1253         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1254         (b64_from_24bit): New function.
1256 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1259         libc_hidden_builtin_def to ifunc.
1260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1261         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1263 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1265         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1266         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1268 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1270         * nscd/Depend (linuxthreads): Remove.
1271         (nptl): Add.
1272         * resolv/Depend (linuxthreads): Remove.
1273         * rt/Depend (linuxthreads): Remove.
1275         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1276         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1277         $(common-objpfx)elf/.
1278         (link-libc-before-gnulib): Likewise.
1279         (elfobjdir): Remove variable.
1280         * Makefile (install): Use $(elf-objpfx) instead of
1281         $(common-objpfx)elf/.
1282         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1283         $(elfobjdir)/.
1284         (link-libc-deps): Likewise.
1285         ($(common-objpfx)libc.so): Likewise.
1286         ($(common-objpfx)linkobj/libc.so): Likewise.
1287         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1288         instead of $(common-objpfx)elf/.
1289         (symbolic-link-list): Likewise.
1290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1291         [$(cross-compiling) = no]: Likewise.
1292         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1293         $(elfobjdir)/.
1294         (static-gnulib-arch): Likewise.
1295         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1296         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1297         $(common-objpfx)elf/.
1299 2014-05-21  Richard Henderson  <rth@redhat.com>
1301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1302         (SINGLE_THREAD_P): Use the correct width load.  Fold
1303         into the ldr offset.
1305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1306         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1308 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1310         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1311         (libgcc_s_resume): Use __attribute_used__.
1312         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1313         Likewise.
1315 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1317         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1318         optimization when used with float constants.
1320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1322 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1324         [BZ #16915]
1325         * locale/nl_langinfo_l.c: Make direct reference to every
1326         _nl_current_CATEGORY symbol.
1327         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1328         (tests-static): Add tst-langinfo-static.
1329         (tests-special): Add tst-langinfo-static.out.
1330         ($(objpfx)tst-langinfo.out): Redirect output.
1331         ($(objpfx)tst-langinfo-static.out): New.
1332         * localedata/tst-langinfo.sh: Send output to stdout.
1333         * localedata/tst-langinfo-static.c: New file.
1335         [BZ #16965]
1336         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1337         when the shift amount is modulo the limb size.
1339 2014-05-20  Richard Henderson  <rth@redhat.com>
1341         [BZ #16967]
1342         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1343         Change type of sa_flags from unsigned int to int.
1345         [BZ #16966]
1346         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1348         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1350 2014-05-20  Will Newton  <will.newton@linaro.org>
1352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1353         Test the return value of the system call in the nocancel case.
1355 2014-05-20  Will Newton  <will.newton@linaro.org>
1356             Yvan Roux  <yvan.roux@linaro.org>
1358         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1359         #include of asm/ptrace.h.
1360         (PTRACE_GET_THREAD_AREA): Remove #undef.
1361         (PTRACE_GETHBPREGS): Likewise.
1362         (PTRACE_SETHBPREGS): Likewise.
1363         (struct user_regs_struct): New structure.
1364         (struct user_fpsimd_struct): New structure.
1365         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1366         #include of asm/ptrace.h and second #include of sys/user.h.
1367         (PTRACE_GET_THREAD_AREA): Remove #undef.
1368         (PTRACE_GETHBPREGS): Likewise.
1369         (PTRACE_SETHBPREGS): Likewise.
1370         (ELF_NGREG): Use new struct user_regs_struct.
1371         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1373 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1378 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1380         [BZ #16958]
1381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1382         membar to avoid block loads/stores to overlap previous stores.
1384 2014-05-17  Richard Henderson  <rth@redhat.com>
1386         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1387         Create the __##syscall_name##_nocancel entry point.
1388         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1389         Remove; let the sysdep-cancel.h code create it.
1391 2014-05-17  David S. Miller  <davem@davemloft.net>
1393         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1394         Protect with __USE_GNU.
1395         (TIOCSET_TEMPT): Likewise.
1396         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1397         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1398         these are already provided in bits/ioctl-types.h
1400 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1402         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1403         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1405         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1406         Use wait4 regardless of [__NR_waitpid].
1408 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1410         PR libgcc/60166
1411         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1412         (_FP_NANSIGN_Q): Set the quiet bit.
1414 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1416         * benchtests/Makefile
1417         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1418         not $(common-objpfx)math/libm.so.
1419         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1420         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1421         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1422         $(common-objpfx)dlfcn/libdl.so.
1423         ($(objpfx)tst-audit8): Depend on $(libm), not
1424         $(common-objpfx)math/libm.so.
1425         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1426         not $(common-objpfx)dlfcn/libdl.so.
1427         * math/Makefile
1428         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1429         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1430         [$(build-shared) = yes].
1431         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1432         $(common-objpfx)nptl/libpthread.so.
1433         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1434         $(common-objpfx)math/libm.so$(libm.so-version) or
1435         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1436         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1437         $(common-objpfx)dlfcn/libdl.so.
1438         * setjmp/Makefile (link-libm): Remove variable.
1439         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1440         * stdio-common/Makefile (link-libm): Remove variable.
1441         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1442         * stdlib/Makefile (link-libm): Remove variable.
1443         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1444         ($(objpfx)tst-strtod-round): Likewise.
1445         ($(objpfx)tst-tininess): Likewise.
1446         ($(objpfx)tst-strtod-underflow): Likewise.
1447         ($(objpfx)tst-strtod6): Likewise.
1448         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1449         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1450         $(common-objpfx)dlfcn/libdl.so.
1452 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1455         BSD terminal modes definitions.
1457 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1459         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1460         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1462         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1463         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1464         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1465         Don't do #include_next.
1466         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1467         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1468         Don't do #include_next.
1469         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1470         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1471         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1472         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1474 2014-05-16  Allan McRae  <allan@archlinux.org>
1476         * po/sv.po: Update Swedish translation from translation project.
1478         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1479         in sed expression.
1481 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1483         [BZ #16917]
1484         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1485         errno if the TIOCGPTN ioctl fails with an error different than
1486         EINVAL.
1487         * login/tst-ptsname.c: New file.
1488         * login/Makefile (tests): Add tst-ptsname.
1490         [BZ #16943]
1491         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1492         and prlimit64.
1494 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1496         [BZ #16849]
1497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1498         herrno to return EAI_AGAIN.
1500 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1502         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1503         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1504         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1505         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1507         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1508         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1511         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1515         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1516         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1517         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1518         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1519         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1520         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1521         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1522         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1523         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1524         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1525         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1526         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1527         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1528         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1529         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1530         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1531         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1533         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1535         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1537         Moved ...
1538         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1540         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1544         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1546         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1548         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1550         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1556         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1560         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1562         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1564         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1566         Moved ...
1567         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1569         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1571         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1573         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1575         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1579         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1583         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1585         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1587         Moved ...
1588         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1590         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1592         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1593         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1594         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1595         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1596         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1597         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1598         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1599         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1600         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1601         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1602         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1603         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1604         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1605         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1606         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1607         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1608         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1609         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1610         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1611         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1612         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1613         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1614         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1615         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1616         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1617         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1619         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1620         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1621         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1622         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1624         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1625         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1627         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1628         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1629         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1630         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1631         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1633         Moved ...
1634         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1636         Moved ...
1637         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1639         Moved ...
1640         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1642         Moved ...
1643         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1644         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1645         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1647         Moved ...
1648         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1649         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1650         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1652         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1653         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1654         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1655         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1656         Moved ...
1657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1658         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1659         Moved ...
1660         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1661         ... here.
1662         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1663         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1664         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1665         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1667         Moved ...
1668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1669         ... here.
1670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1671         Moved ...
1672         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1673         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1674         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1675         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1676         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1678         Moved ...
1679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1681         Moved ...
1682         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1684         Moved ...
1685         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1687         Moved ...
1688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1689         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1690         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1694         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1695         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1697         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1698         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1699         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1700         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1701         Moved ...
1702         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1703         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1706         ... here.
1707         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1708         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1709         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1710         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1712         Moved ...
1713         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1714         ... here.
1715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1716         Moved ...
1717         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1718         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1719         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1720         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1721         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1722         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1723         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1724         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1725         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1727         Moved ...
1728         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1730         Moved ...
1731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1733         Moved ...
1734         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1736         Moved ...
1737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1739         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1741         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1743         Moved ...
1744         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1745         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1746         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1748         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1749         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1750         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1752         Moved ...
1753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1757         ... here.
1758         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1759         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1761         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1763         Moved ...
1764         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1765         ... here.
1766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1767         Moved ...
1768         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1769         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1770         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1771         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1772         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1773         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1774         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1775         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1776         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1778         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1780         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1781         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1783         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1784         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1786         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1787         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1788         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1790         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1791         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1792         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1794         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1795         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1797         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1799         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1800         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1802         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1804         Moved ...
1805         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1809         Moved ...
1810         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1814         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1816         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1818         Moved ...
1819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1821         Moved ...
1822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1828         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1830         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1832         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1834         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1836         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1838         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1840         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1841         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1842         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1843         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1844         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1846         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1847         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1849         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1850         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1851         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1852         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1853         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1854         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1855         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1860         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1861         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1862         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1863         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1865         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1866         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1867         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1868         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1869         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1871         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1872         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1873         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1875         Update #include.
1876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1877         Likewise.
1878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1879         Likewise.
1880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1881         Likewise.
1882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1883         Likewise.
1884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1885         Likewise.
1886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1887         Likewise.
1888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1889         Likewise.
1890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1891         Likewise.
1892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1893         Likewise.
1894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1899         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1900         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1910         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1911         that was previously under [RESET_PID].
1912         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1913         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1914         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1916         * sysdeps/i386/nptl/Implies: New file.
1917         * sysdeps/x86_64/nptl/Implies: New file.
1918         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1919         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1921         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1923         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1924         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1925         (__libc_vfork): New strong alias.
1926         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1927         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1929         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1930         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1931         (__libc_vfork): New strong alias.
1932         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1933         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1935         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1936         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1937         (__libc_vfork): New strong alias.
1938         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1939         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1940         * nptl/pt-vfork.c: New file.
1941         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1942         (libpthread: GLIBC_2.20): New version set (empty).
1944 2014-05-14  Will Newton  <will.newton@linaro.org>
1946         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1947         rather than #if.
1949 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1951         [BZ #16564]
1952         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1953         arguments with exponent 65 or above.
1954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1955         arguments 0x1p113L or above.
1956         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1957         to arguments 0x1p107L or above.
1958         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1959         positive arguments with exponent 65 or above.
1960         * math/auto-libm-test-in: Add more tests of log1p.
1961         * math/auto-libm-test-out: Regenerated.
1963         [BZ #16928]
1964         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1965         non-finite arguments is +0.
1966         * math/s_cacosf.c (__cacosf): Likewise.
1967         * math/s_cacosl.c (__cacosl): Likewise.
1968         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1969         * sysdeps/i386/fpu/libm-test-ulps: Update.
1970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1972         [BZ #16927]
1973         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1974         value.
1975         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1976         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1977         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1978         for explicit high bit of mantissa when testing for argument equal
1979         to 1.
1980         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1981         * sysdeps/i386/fpu/libm-test-ulps: Update.
1982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1984         [BZ #16516]
1985         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1986         (__erf): Scale by 16 instead of 8 in potentially underflowing
1987         case.  Ensure exception if result actually underflows.
1988         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1989         (__erff): Scale by 16 instead of 8 in potentially underflowing
1990         case.  Ensure exception if result actually underflows.
1991         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1992         (efx8): Remove variable.
1993         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1994         case.  Ensure exception if result actually underflows.
1995         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1996         (efx8): Remove variable.
1997         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1998         case.  Ensure exception if result actually underflows.
1999         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2000         (efx8): Remove variable.
2001         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2002         case.  Ensure exception if result actually underflows.
2003         * math/auto-libm-test-in: Add more tests of erf.
2004         * math/auto-libm-test-out: Regenerated.
2006 2014-05-14  Andreas Schwab  <schwab@suse.de>
2008         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2009         Remove code conditionalized on USE___THREAD.
2011         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2012         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2013         not definedness.
2015 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2018         Define unconditionally.
2019         (__ASSUME_O_CLOEXEC): Likewise.
2020         (__ASSUME_SOCK_CLOEXEC): Likewise.
2021         (__ASSUME_IN_NONBLOCK): Likewise.
2022         (__ASSUME_PIPE2): Likewise.
2023         (__ASSUME_EVENTFD2): Likewise.
2024         (__ASSUME_SIGNALFD4): Likewise.
2025         (__ASSUME_DUP3): Likewise.
2026         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2027         (__ASSUME_DUP3): Do not define.
2028         (__ASSUME_EVENTFD2): Likewise.
2029         (__ASSUME_IN_NONBLOCK): Likewise.
2030         (__ASSUME_O_CLOEXEC): Likewise.
2031         (__ASSUME_PIPE2): Likewise.
2032         (__ASSUME_SIGNALFD4): Likewise.
2033         (__ASSUME_SOCK_CLOEXEC): Likewise.
2034         (__ASSUME_UTIMES): Undefine.
2035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2036         (__ASSUME_UTIMES): Do not define.
2037         (__ASSUME_O_CLOEXEC): Likewise.
2038         (__ASSUME_SOCK_CLOEXEC): Likewise.
2039         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2040         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2041         0x020621].
2042         (__ASSUME_PIPE2): Likewise.
2043         (__ASSUME_EVENTFD2): Likewise.
2044         (__ASSUME_SIGNALFD4): Likewise.
2045         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2046         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2047         Do not define.
2048         (__ASSUME_EVENTFD2): Likewise.
2049         (__ASSUME_SIGNALFD4): Likewise.
2050         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2051         (__ASSUME_32BITUIDS): Likewise.
2052         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2053         (__ASSUME_IPC64): Likewise.
2054         (__ASSUME_ST_INO_64_BIT): Likewise.
2055         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2056         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2057         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2058         (__ASSUME_UTIMES): Do not define.
2059         (__ASSUME_PSELECT): Likewise.
2060         (__ASSUME_PPOLL): Likewise.
2061         (__ASSUME_O_CLOEXEC): Likewise.
2062         (__ASSUME_SOCK_CLOEXEC): Likewise.
2063         (__ASSUME_IN_NONBLOCK): Likewise.
2064         (__ASSUME_PIPE2): Likewise.
2065         (__ASSUME_EVENTFD2): Likewise.
2066         (__ASSUME_SIGNALFD4): Likewise.
2067         (__ASSUME_DUP3): Likewise.
2068         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2069         (__ASSUME_UTIMES): Likewise.
2070         (__ASSUME_O_CLOEXEC): Likewise.
2071         (__ASSUME_SOCK_CLOEXEC): Likewise.
2072         (__ASSUME_IN_NONBLOCK): Likewise.
2073         (__ASSUME_PIPE2): Likewise.
2074         (__ASSUME_EVENTFD2): Likewise.
2075         (__ASSUME_SIGNALFD4): Likewise.
2076         (__ASSUME_DUP3): Likewise.
2077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2078         (__ASSUME_UTIMES): Likewise.
2079         (__ASSUME_O_CLOEXEC): Likewise.
2080         (__ASSUME_SOCK_CLOEXEC): Likewise.
2081         (__ASSUME_IN_NONBLOCK): Likewise.
2082         (__ASSUME_PIPE2): Likewise.
2083         (__ASSUME_EVENTFD2): Likewise.
2084         (__ASSUME_SIGNALFD4): Likewise.
2085         (__ASSUME_DUP3): Likewise.
2086         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2087         Likewise.
2088         (__ASSUME_UTIMES): Likewise.
2089         (__ASSUME_EVENTFD2): Likewise.
2090         (__ASSUME_SIGNALFD4): Likewise.
2091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2092         (__ASSUME_O_CLOEXEC): Likewise.
2093         (__ASSUME_SOCK_CLOEXEC): Likewise.
2094         (__ASSUME_IN_NONBLOCK): Likewise.
2095         (__ASSUME_PIPE2): Likewise.
2096         (__ASSUME_EVENTFD2): Likewise.
2097         (__ASSUME_SIGNALFD4): Likewise.
2098         (__ASSUME_DUP3): Likewise.
2099         (__ASSUME_UTIMES): Undefine.
2101         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2102         feclearexcept.  Remove symbol versioning code.
2103         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2104         symbol versioning code.
2105         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2106         symbol versioning code.
2107         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2108         feupdateenv.  Remove symbol versioning code.
2109         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2110         fegetexceptflag.  Remove symbol versioning code.
2111         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2112         fesetexceptflag.  Remove symbol versioning code.
2113         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2114         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2115         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2116         (__posix_fadvise64_l32): Remove prototype.
2117         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2118         code.
2120 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2122         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2123         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2124         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2125         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2127 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2129         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2130         current working directory
2132 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2134         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2135         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2136         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2137         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2138         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2139         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2140         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2141         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2142         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2143         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2145         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2146         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2147         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2148         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2149         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2150         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2151         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2152         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2153         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2155         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2156         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2157         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2158         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2161         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2167         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2168         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2169         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2170         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2171         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2172         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2173         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2174         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2175         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2177         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2178         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2180         * sysdeps/unix/sysv/linux/arm/Makefile
2181         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2182         Add rt-aeabi_unwind_cpp_pr1.
2183         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2184         Add nptl-aeabi_unwind_cpp_pr1.
2185         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2186         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2187         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2188         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2189         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2190         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2192         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2193         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2194         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2195         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2197         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2198         Deconditionalize the code that was previously under [RESET_PID].
2199         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2201         * sysdeps/generic/exit-thread.h: New file.
2202         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2203         * include/unistd.h (__exit_thread): Remove declaration.
2204         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2205         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2206         * csu/libc-start.c: Include <exit-thread.h>.
2207         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2208         * nptl/pthread_create.c: Include <exit-thread.h>.
2209         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2210         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2211         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2212         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2213         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2214         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2215         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2216         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2217         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2218         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2219         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2220         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2221         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2222         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2223         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2224         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2225         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2227 2014-05-13  Andreas Schwab  <schwab@suse.de>
2229         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2231 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2233         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2234         (__ASSUME_UTIMES): Do not condition on kernel version.
2235         (__ASSUME_PSELECT): Define unconditionally.
2236         (__ASSUME_PPOLL): Likewise.
2237         (__ASSUME_ATFCTS): Likewise.
2238         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2239         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2240         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2241         (__ASSUME_UTIMENSAT): Define unconditionally.
2242         (__ASSUME_PRIVATE_FUTEX): Likewise.
2243         (__ASSUME_FALLOCATE): Likewise.
2244         (__ASSUME_O_CLOEXEC): Likewise.
2245         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2246         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2247         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2248         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2249         (__ASSUME_IN_NONBLOCK): Likewise.
2250         (__ASSUME_PIPE2): Likewise.
2251         (__ASSUME_EVENTFD2): Likewise.
2252         (__ASSUME_SIGNALFD4): Likewise.
2253         (__ASSUME_DUP3): Likewise.
2254         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2255         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2256         (__ASSUME_AT_RANDOM): Likewise.
2257         (__ASSUME_PREADV): Likewise.
2258         (__ASSUME_PWRITEV): Likewise.
2259         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2260         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2261         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2262         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2263         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2265         (__ASSUME_O_CLOEXEC): Define unconditionally.
2266         (__ASSUME_PSELECT): Do not undefine conditionally.
2267         (__ASSUME_PPOLL): Likewise.
2268         (__ASSUME_ATFCTS): Likewise.
2269         (__ASSUME_SET_ROBUST_LIST): Likewise.
2270         (__ASSUME_UTIMENSAT): Likewise.
2271         (__ASSUME_FDATASYNC): Define unconditionally.
2272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2273         (__ASSUME_SIGFRAME_V2): Likewise.
2274         )__ASSUME_EVENTFD2): Likewise.
2275         (__ASSUME_SIGNALFD4): Likewise.
2276         (__ASSUME_PSELECT): Do not undefine conditionally.
2277         (__ASSUME_PPOLL): Likewise.
2278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2279         (__ASSUME_PSELECT): Define unconditionally.
2280         (__ASSUME_PPOLL): Likewise.
2281         (__ASSUME_O_CLOEXEC): Likewise.
2282         (__ASSUME_SOCK_CLOEXEC): Likewise.
2283         (__ASSUME_IN_NONBLOCK): Likewise.
2284         (__ASSUME_PIPE2): Likewise.
2285         (__ASSUME_EVENTFD2): Likewise.
2286         (__ASSUME_SIGNALFD4): Likewise.
2287         (__ASSUME_DUP3): Likewise.
2288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2289         (__ASSUME_O_CLOEXEC): Likewise.
2290         (__ASSUME_SOCK_CLOEXEC): Likewise.
2291         (__ASSUME_IN_NONBLOCK): Likewise.
2292         (__ASSUME_PIPE2): Likewise.
2293         (__ASSUME_EVENTFD2): Likewise.
2294         (__ASSUME_SIGNALFD4): Likewise.
2295         (__ASSUME_DUP3): Likewise.
2296         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2297         (__ASSUME_EVENTFD2): Likewise.
2298         (__ASSUME_SIGNALFD4): Likewise.
2299         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2301 2014-05-12  Andreas Schwab  <schwab@suse.de>
2303         [BZ #16932]
2304         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2305         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2306         than maximum RPC packet size.
2307         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2308         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2309         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2310         (_nss_nis_getservbyport_r): Likewise.
2312 2014-05-12  Will Newton  <will.newton@linaro.org>
2314         * malloc/Makefile (tests): Add tst-mallopt.
2315         * malloc/tst-mallopt.c: New file.
2317 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2319         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2320         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2322 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2324         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2325         (tst-tlsmod6.so): Likewise.
2327 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2329         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2331 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2333         [BZ #16064]
2334         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2335         and <dl-procinfo.h>.
2336         (__fegetenv): Save SSE state in envp->__eip if supported.
2337         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2338         envp->__eip if supported.
2339         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2340         and <dl-procinfo.h>.
2341         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2342         __data_offset and __data_selector in environment to 0.  Set SSE
2343         state if supported.
2344         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2345         test-fenv-sse.
2346         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2347         -mfpmath=sse.
2348         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2350 2014-05-09  Will Newton  <will.newton@linaro.org>
2352         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2353         and libc_relro_required for ARM.
2354         * sysdeps/arm/preconfigure: Regenerate.
2356 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2357             Stefan Liebler  <stli@linux.vnet.ibm.com>
2359         * config.make.in (enable-lock-elision): New Makefile variable.
2360         * configure.ac: Likewise.
2361         * configure: Regenerate.
2362         * sysdeps/s390/configure.ac:
2363         Add check for gcc transactions support.
2364         * sysdeps/s390/configure: Regenerate.
2365         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2366         Build elision files if enabled.
2367         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2368         Add lock elision support for s390.
2369         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2370         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2371         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2372         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2373         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2374         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2376         Likewise.
2377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2378         Likewise.
2379         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2380         Likewise.
2381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2382         Likewise.
2383         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2384         (__lll_timedlock_elision, __lll_lock_elision)
2385         (__lll_unlock_elision, __lll_trylock_elision)
2386         (lll_timedlock_elision, lll_lock_elision)
2387         (lll_unlock_elision, lll_trylock_elision): Add.
2388         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2389         (pthread_mutex_t): Add lock elision support for s390.
2391 2014-05-14  Wilco  <wdijkstr@arm.com>
2393         * sysdeps/arm/fclrexcpt.c: Cleanup.
2394         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2395         * sysdeps/arm/feenablxcpt.c: Cleanup.
2396         * sysdeps/arm/fegetenv.c: Cleanup.
2397         * sysdeps/arm/fegetexcept.c: Cleanup.
2398         * sysdeps/arm/fegetround.c: Cleanup.
2399         * sysdeps/arm/feholdexcpt.c: Cleanup.
2400         * sysdeps/arm/fesetenv.c: Cleanup.
2401         * sysdeps/arm/fesetround.c: Cleanup.
2402         * sysdeps/arm/feupdateenv.c: Cleanup.
2403         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2404         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2405         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2406         * sysdeps/arm/ftestexcept.c: Cleanup.
2407         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2408         * sysdeps/arm/setfpucw.c: Cleanup.
2410 2014-05-09  Will Newton  <will.newton@linaro.org>
2412         * sysdeps/arm/armv7/strcmp.S: New file.
2413         * NEWS: Mention addition of ARMv7 optimized strcmp.
2415 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2417         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2418         look for %.ac rather than %.in.
2420         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2421         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2422         * sysdeps/mach/hurd/configure: Regenerated.
2423         * sysdeps/unix/sysv/linux/configure: Regenerated.
2425         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2427 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2429         [BZ# 16922]
2430         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2431         (LONG_SUB): Ditto.
2432         (PTR_SUB): Ditto.
2434 2014-05-07  Andreas Schwab  <schwab@suse.de>
2436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2437         when skipping over non-matching result from nscd.
2439 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2441         [BZ #16876]
2442         * nptl/sockperf.c (client): Check socket return value.
2444         [BZ #16877]
2445         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2446         nscd security class.
2448 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2450         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2451         * sysdeps/arm/unwind.h: ... here.
2453 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2455         [BZ# 16916]
2456         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2457         Define.
2459 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2461         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2462         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2463         multiarch strncpy for PPC64.
2464         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2465         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2467         multiarch optimizations.
2468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2469         (__libc_ifunc_impl_list): Likewise.
2470         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2472         multiarch stpncpy for PPC64.
2473         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2474         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2476 2014-05-06  Andreas Schwab  <schwab@suse.de>
2478         [BZ #16912]
2479         * gmon/mcount.c (_MCOUNT_DECL): Use
2480         atomic_compare_and_exchange_bool_acq instead of
2481         catomic_compare_and_exchange_bool_acq.
2483 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2485         * elf/Makefile (others, install-bin): Remove pldd.
2486         (pldd-modules): Variable removed.
2487         ($(objpfx)pldd): Target removed.
2488         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2489         (others, install-bin): Append pldd here.
2490         ($(objpfx)pldd): New target.
2492         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2493         to 0, so the first #if test emitted later doesn't see it undefined.
2494         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2495         * sysdeps/gnu/errlist.c: Regenerated.
2497 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2500         [libc_hidden_builtin_def]: Define to empty value.
2501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2502         [libc_hidden_builtin_def]: Likewise.
2503         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2504         [libc_hidden_builtin_def]: Likewise.
2505         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2506         [libc_hidden_builtin_def]: Likewise.
2507         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2508         __redirect_memcpy and define ifunc as default hidden symbol.
2509         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2510         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2512 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2514         * locale/iso-4217.def: Reintroduce XDR currency.
2516 2014-05-04  Allan McRae  <allan@archlinux.org>
2518         * po/eo.po: Update Esperanto translation from translation project.
2520 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2522         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2523         and FEATURE_INDEX_MAX to 1.
2524         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2526 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2528         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2529         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2530         * iconvdata/big5.c (ONE_DIRECTION): Define.
2531         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2532         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2533         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2534         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2535         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2536         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2537         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2538         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2539         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2540         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2541         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2542         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2543         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2544         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2545         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2546         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2547         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2548         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2549         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2550         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2551         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2552         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2553         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2554         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2555         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2556         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2557         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2558         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2559         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2560         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2561         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2562         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2563         * iconvdata/johab.c (ONE_DIRECTION): Define.
2564         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2565         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2566         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2567         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2568         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2569         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2570         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2571         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2572         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2573         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2575 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2577         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2578         (_IO_JUMPS_OFFSET): Define to 0.
2580         * nptl/sysdeps/pthread/bits/libc-lock.h
2581         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2582         (__libc_lock_define_initialized_recursive): Always define using
2583         initializer.  Modern compilers treat uninitialized (implicit zero) and
2584         explicit zero initializers the same (i.e. put the datum in bss).
2586 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2588         * nscd/nscd-client.h: Include <string.h>.
2590 2014-05-01  David S. Miller  <davem@davemloft.net>
2592         [BZ #16885]
2593         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2594         multiple zero bytes exist at the end of a string.
2595         Reported by Aurelien Jarno <aurelien@aurel32.net>
2597         * string/test-strcmp.c (check): Add explicit test for situations where
2598         there are multiple zero bytes after the first.
2600 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2602         [BZ #16890]
2603         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2604         when compiling wprintf.
2605         * stdio-common/tstdiomisc.c (t3): New function.
2606         (main): Call it.
2608 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2610         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2611         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2612         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2613         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2615 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2617         * stdlib/longlong.h: Updated from GCC.
2619 2014-05-01  Will Newton  <will.newton@linaro.org>
2620             Bernard Ogden  <bernie.ogden@linaro.org>
2622         * NEWS: Update fixed bug list.
2624         [BZ #15119]
2625         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2627 2014-04-30  David S. Miller  <davem@davemloft.net>
2629         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2630         (libc_feholdexcept_setround_sparc_ctx): New function.
2631         (libc_fesetenv_sparc_ctx): Likewise.
2632         (libc_feupdateenv_sparc_ctx): Likewise.
2633         (libc_feholdsetround_sparc_ctx): Likewise.
2634         (libc_feholdexcept_setround_ctx): Define.
2635         (libc_feholdexcept_setroundf_ctx): Likewise.
2636         (libc_feholdexcept_setroundl_ctx): Likewise.
2637         (libc_fesetenv_ctx): Likewise.
2638         (libc_fesetenvf_ctx): Likewise.
2639         (libc_fesetenvl_ctx): Likewise.
2640         (libc_feupdateenv_ctx): Likewise.
2641         (libc_feupdateenvf_ctx): Likewise.
2642         (libc_feupdateenvl_ctx): Likewise.
2643         (libc_feresetround_ctx): Likewise.
2644         (libc_feresetroundf_ctx): Likewise.
2645         (libc_feresetroundl_ctx): Likewise.
2646         (libc_feholdsetround_ctx): Likewise.
2647         (libc_feholdsetroundf_ctx): Likewise.
2648         (libc_feholdsetroundl_ctx): Likewise.
2650         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2651         with __USE_GNU instead of XOPEN cpp guards.
2653         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2654         0.
2656         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2657         with XOPEN cpp guards.
2659 2014-04-30  Julian Brown  <julian@codesourcery.com>
2661         [BZ #16888]
2662         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2663         handling.
2665 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2667         [BZ #9894]
2668         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2669         Change to 2.6.32.
2670         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2671         * sysdeps/unix/sysv/linux/configure: Regenerated.
2672         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2673         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2674         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2675         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2676         * README: Update reference to required Linux kernel version.
2677         * manual/install.texi (Linux): Update reference to required Linux
2678         kernel headers version.
2679         * INSTALL: Regenerated.
2681         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2682         header inclusion.
2683         [POSIX] (limits.h): Likewise.
2684         [POSIX] (math.h): Likewise.
2685         [POSIX] (sys/wait.h): Likewise.
2686         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2687         function.
2688         [POSIX] (stddef.h): Do not allow header inclusion.
2690 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2692         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2694 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2696         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2697         Return immediately after lll_futex_wake.
2699 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2701         [BZ #16791]
2702         * nscd/nscd-client.h (datahead_init_common): Initialize entire
2703         structure.
2704         (datahead_init_pos): Call datahead_init_common early.
2705         (datahead_init_neg): Likewise.
2707         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2708         datahead_init_neg): New functions.
2709         * nscd/aicache.c (addhstaiX): Use them.
2710         * nscd/grpcache.c (cache_addgr): Likewise.
2711         * nscd/hstcache.c (cache_addhst): Likewise.
2712         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2713         * nscd/netgroupcache.c (do_notfound): Likewise.
2714         (addgetnetgrentX): Likewise.
2715         (addinnetgrX): Likewise.
2716         * nscd/pwdcache.c (cache_addpw): Likewise.
2717         * nscd/servicescache.c (cache_addserv): Likewise.
2719 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2720             Atsushi Onoe  <atsushi@onoe.org>
2722         [BZ #14308]
2723         [BZ #12994]
2724         [BZ #13651]
2725         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2726         one response is valid.
2727         * resolv/res_send.c (send_dg): Check for validity of other
2728         response if the current response is a referral.
2730 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2732         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2734 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2736         [BZ #16823]
2737         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2738         Always divide by positive zero when computing -Inf result.
2739         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2740         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2742 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2744         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2745         FPSCR if value do not change.
2746         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2747         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2748         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2749         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2750         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2751         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2752         function.
2754 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2756         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2757         * sysdeps/unix/sysv/linux/hppa: Move directory from
2758         ports/systeps/unix/sysv/linux/hppa.
2759         * README: Update listing for hppa-*-linux-gnu.
2761 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2763         [BZ #16754]
2764         * manual/stdio.texi (Hook functions): Fix types of stream hook
2765         functions.
2766         [BZ #16854]
2767         * socket/sys/socket.h: Fix typo in comment.
2769 2014-04-28  Wilco  <wdijkstr@arm.com>
2771         * sysdeps/arm/fenv_private.h: New file.
2772         * sysdeps/arm/math_private.h: New file.
2773         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2775 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2777         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2778         with __int128_t.
2779         (La_x86_64_retval): Likewise.
2781 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2783         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2784         fpsr if value didn't change.
2785         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2786         to fpcr if value didn't change.
2787         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2788         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2789         fpsr or fpcr if value didn't change.
2790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2791         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2792         fpcr if value didn't change.
2793         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2794         to fpsr if value didn't change.
2796 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2798         * nptl/tst-sem3.c: Use test-skeleton.c
2799         (main): Rename to do_test.  Use return instead of
2800         exit.
2801         * nptl/tst-sem4.c: Use test-skeleton.c
2802         (main): Rename to do_test.
2804 2014-04-22  David S. Miller  <davem@davemloft.net>
2806         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2807         (struct sigaction): New struct member __glibc_reserved0, change
2808         type of sa_flags to int.
2810 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2812         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2813         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2815 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2817         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2818         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2820 2014-04-22  Will Newton  <will.newton@linaro.org>
2821             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2823         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2824         (__longjmp): Add longjmp and longjmp_target SystemTap
2825         probes.
2826         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2827         (__sigsetjmp): Add setjmp SystemTap probe.
2829 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2831         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2832         match manual order.
2834 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2836         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2838         * sysdeps/powerpc/fpu/fenv_private.h
2839         (libc_feholdexcept_setroundl_ctx): Define to
2840         libc_feholdexcept_setround_ppc_ctx.
2841         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2842         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2843         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2844         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2846 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2848         * sysdeps/aarch64/math-tests.h: New file.
2850 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2852         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2853         New.
2854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2855         Check and set bit_AVX2_Usable.
2856         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2857         macro.
2858         (bit_AVX2): Likewise.
2859         (index_AVX2_Usable): Likewise.
2860         (CPUID_AVX2): Likewise.
2861         (HAS_AVX2): Likewise.
2863 2014-04-17  Will Newton  <will.newton@linaro.org>
2865         * manual/setjmp.texi (System V contexts): Add note that
2866         calling setcontext on a context created by a call to a
2867         signal handler is undefined.  Update text to note that
2868         setcontext from a signal handler is possible but not
2869         recommended.
2871         [BZ #16629]
2872         * stdlib/tst-setcontext.c: Include signal.h.
2873         (main): Check that the signal stack before and
2874         after swapcontext is the same.
2876         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2877         Re-implement to restore registers in user code and avoid
2878         rt_sigreturn system call.
2880 2014-04-17  Wilco  <wdijkstr@arm.com>
2882         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2883         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2884         * math/test-fenv.c: Skip exception trap tests on targets which only
2885         support non-stop mode.
2887 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2888             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2890         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2891         (libc_feholdsetround_aarch64_ctx)
2892         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2893         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2894         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2895         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2896         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2897         (libc_feresetround_noexl_ctx): Define.
2899 2014-04-16  Richard Henderson  <rth@redhat.com>
2901         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2903         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2904         unwind tables.
2906         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2907         const from the non-libc, non-ldso copy.
2909         * sysdeps/alpha/libm-test-ulps: Regenerate.
2911 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2912             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2914         * sysdeps/aarch64/fpu/math_private.h: New file.
2916 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2918         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2920 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2922         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2923         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2924         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2925         Intel MPX bound registers before _dl_profile_fixup.
2926         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2927         registers after _dl_profile_fixup.  Save and restore bound
2928         registers bnd0/bnd1 when calling _dl_call_pltexit.
2929         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2930         (LR_BND_OFFSET): Likewise.
2931         (LRV_BND0_OFFSET): Likewise.
2932         (LRV_BND1_OFFSET): Likewise.
2934 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2936         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2937         to...
2938         * sysdeps/mach/hurd/i386/tls.h: ... here.
2939         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2940         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2941         fields.
2943 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2945         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2947 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2949         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2951 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2953         [BZ #14770]
2954         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2955         * sysdeps/s390/configure: Regenerate.
2957         [BZ #16824]
2958         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2959         Set round-to-nearest internally to reduce error accumulation.
2961 2014-04-16  Alan Modra  <amodra@gmail.com>
2963         [BZ #16740]
2964         [BZ #16619]
2965         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2966         * math/libm-test.inc (frexp_test_data): Add tests.
2967         * NEWS: Update fixed bug list.
2969 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2971         * benchtests/Makefile: Depend on libraries in build directory.
2972         (bench-math): Separate out math tests.
2973         (bench-pthread): Separate out pthread tests.
2974         (bench): Include math and pthread tests.
2976 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2978         [BZ #16831]
2979         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2980         _dl_debug_initialize.
2982         * configure.ac: Remove SELinux header check.
2983         * configure: Regenerate.
2984         * nscd/selinux.c (perms): Array of const char* to permission names.
2985         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2986         default policy. Call string_to_security_class and string_to_av_perm to
2987         translate strings. Enforce default policy and call avs_has_perm with
2988         results of translated strings.
2990 2014-04-13  David S. Miller  <davem@davemloft.net>
2992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2994 2014-04-12  Allan McRae  <allan@archlinux.org>
2996         [BZ #16838]
2997         * manual/string.texi (Collation Functions): Fix qsort argument
2998         order in example.
2999         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3001 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3003         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3004         Make the test a no-op if there are no exceptions defined.
3006 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3008         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3009         enable-hardcoded-path-in-tests
3011 2014-04-11  Will Newton  <will.newton@linaro.org>
3013         * benchtests/Makefile (extra-objs): Add json-lib.o.
3014         (bench-func): Tidy up JSON output.
3015         * benchtests/bench-skeleton.c: Include json-lib.h.
3016         (main): Use JSON library functions to do output of
3017         benchmark results.
3018         * benchtests/bench-timing-type.c (main): Output the
3019         timing type simply, leaving formatting to the user.
3020         * benchtests/json-lib.c: New file.
3021         * benchtests/json-lib.h: Likewise.
3023 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3025         [BZ #15215]
3026         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3027         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3028         memory barriers.  Add comments.
3029         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3030         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3031         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3032         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3033         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3034         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3036 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3038         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3039         * sysdeps/s390/s390-64/configure.ac: ... this ...
3040         * sysdeps/s390/configure.ac: ... to here.
3041         * sysdeps/s390/s390-32/configure: Delete file.
3042         * sysdeps/s390/s390-64/configure: Delete file.
3043         * sysdeps/s390/configure: Regenerate.
3045 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3047         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3049 2014-04-11  Will Newton  <will.newton@linaro.org>
3051         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3052         to zero if it is not defined elsewhere.  (mtrim): Test
3053         the value of MALLOC_DEBUG with #if rather than #ifdef.
3055 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3057         * benchtests/pthread_once-inputs: New file.
3058         * benchtests/pthread_once-source.c: New file.
3059         * benchtests/README: Update documentation.
3061 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3062             H.J. Lu  <hongjiu.lu@intel.com>
3064         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3065         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3066         * sysdeps/x86_64/configure: Regenerated.
3067         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3068         macro.
3069         (REGISTER_SAVE_RAX): Likewise.
3070         (REGISTER_SAVE_RCX): Likewise.
3071         (REGISTER_SAVE_RDX): Likewise.
3072         (REGISTER_SAVE_RSI): Likewise.
3073         (REGISTER_SAVE_RDI): Likewise.
3074         (REGISTER_SAVE_R8): Likewise.
3075         (REGISTER_SAVE_R9): Likewise.
3076         (REGISTER_SAVE_BND0): Likewise.
3077         (REGISTER_SAVE_BND1): Likewise.
3078         (REGISTER_SAVE_BND2): Likewise.
3079         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3080         bound registers when calling _dl_fixup.
3082 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3084         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3085         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3086         of its definition.
3087         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3088         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3089         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3090         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3091         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3092         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3093         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3095 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3097         [BZ #15514]
3098         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3099         pathconf(_PC_NAME_MAX).
3101 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3103         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3104         Remove macro usage.
3105         (__PTHREAD_SPINS): Move definition to ...
3106         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3107         (__PTHREAD_SPINS): ... here.
3108         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3109         (__PTHREAD_SPIN): Likewise.
3110         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3111         (__PTHREAD_SPIN): Likewise.
3112         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3113         (__PTHREAD_SPIN): Likewise.
3114         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3115         (__PTHREAD_SPIN): Likewise.
3116         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3117         (__PTHREAD_SPIN): Likewise.
3118         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3119         (__PTHREAD_SPIN): Likewise.
3120         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3121         (__PTHREAD_SPIN): Likewise.
3122         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3123         (__PTHREAD_SPIN): Likewise.
3124         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3125         (__PTHREAD_SPIN): Likewise.
3126         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3127         (__PTHREAD_SPIN): Likewise.
3128         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3129         (__PTHREAD_SPIN): Likewise.
3130         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3131         (__PTHREAD_SPIN): Likewise.
3133         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3134         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3135         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3136         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3137         imply folder.
3138         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3139         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3140         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3141         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3142         correct imply path.
3143         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3144         strlen symbol for non multi-arch builds.
3145         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3146         missing hidden_def and weak_alias.
3148 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3150         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3152 2014-04-07  Will Newton  <will.newton@linaro.org>
3154         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3155         and contents.  [!_LIBC] Remove #ifndef and contents.
3156         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3157         * string/memccpy.c (__memccpy): Use ANSI prototype.
3158         * string/memfrob.c (memfrob): Likewise.
3159         * string/strcoll.c (STRCOLL): Likewise.
3160         * string/strlen.c (strlen): Likewise.
3161         * string/strtok.c (STRTOK): Likewise.
3162         * string/strcat.c: Remove unused #include of memcopy.h.
3163         (strcat): Use ANSI prototype.
3164         * string/strchr.c: Remove unused #include of memcopy.h.
3165         (strchr): Use ANSI prototype.
3166         * string/strcmp.c: Remove unused #include of memcopy.h.
3167         (strcmp): Use ANSI prototype.
3168         * string/strcpy.c: Remove unused #include of memcopy.h.
3169         (strcpy): Use ANSI prototype.
3171 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3173         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3174         * config.make.in (config-extra-cppflags): Set it from
3175         libc_extra_cppflags.
3176         * configure.ac (libc_extra_cflags): Make it accumulate over
3177         configure fragments.
3178         (libc_extra_cppflags): New flag.
3179         * configure. Regenerate.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3181         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3182         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3185         [BZ #16815]
3186         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3187         result for FE_DOWNWARD rounding mode.
3188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3189         Likewise.
3190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3192 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3194         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3195         in function argument name.
3197 2014-04-03  David Svoboda  <svoboda@cert.org>
3199         [BZ #5666]
3200         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3201         explicitly.
3203 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3205         * elf/dl-unmap-segments.h: New file.
3206         * sysdeps/generic/ldsodefs.h
3207         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3208         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3209         * elf/dl-fptr.c: Likewise.
3210         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3211         * sysdeps/aarch64/tlsdesc.c: Likewise.
3212         * sysdeps/arm/tlsdesc.c: Likewise.
3213         * sysdeps/i386/tlsdesc.c: Likewise.
3214         * sysdeps/tile/dl-runtime.c: Likewise.
3215         * sysdeps/x86_64/tlsdesc.c: Likewise.
3216         * elf/dl-load.h: New file.
3217         * elf/dl-load.c: Include it.
3218         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3219         Macros moved to dl-load.h.
3220         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3221         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3222         Use _dl_unmap_segments in place of __munmap.
3223         Break out segment-mapping loop into ...
3224         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3226 2014-04-03  Will Newton  <will.newton@linaro.org>
3228         * elf/dl-lookup.c (do_lookup_x): Remove comment
3229         referring to nested function and move variable
3230         declarations down to before first use.
3232 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3234         [BZ #16799]
3235         [BZ #16800]
3236         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3237         with 0 numerator.
3238         * math/s_catanf.c (__catanf): Likewise.
3239         * math/s_catanh.c (__catanh): Likewise.
3240         * math/s_catanhf.c (__catanhf): Likewise.
3241         * math/s_catanhl.c (__catanhl): Likewise.
3242         * math/s_catanl.c (__catanl): Likewise.
3243         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3244         by positive zero when computing -Inf result.
3245         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3246         (catanh_test): Likewise.
3247         * sysdeps/i386/fpu/libm-test-ulps: Update.
3248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250         [BZ #16789]
3251         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3252         instead of using underflowing value in computing result.
3253         * math/s_clog10.c (__clog10): Likewise.
3254         * math/s_clog10f.c (__clog10f): Likewise.
3255         * math/s_clog10l.c (__clog10l): Likewise.
3256         * math/s_clogf.c (__clogf): Likewise.
3257         * math/s_clogl.c (__clogl): Likewise.
3258         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3259         (clog10_test): Likewise.
3260         * sysdeps/i386/fpu/libm-test-ulps: Update.
3261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3263 2014-04-02  Alan Modra  <amodra@gmail.com>
3265         [BZ #16739]
3266         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3267         output when value is near a power of two.  Use int64_t for lx and
3268         remove casts.  Use decimal rather than hex exponent constants.
3269         Don't use long double multiplication when double will suffice.
3270         * math/libm-test.inc (nextafter_test_data): Add tests.
3271         * NEWS: Add 16739 and 16786 to bug list.
3273         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3275         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3277 2014-04-01  Will Newton  <will.newton@linaro.org>
3279         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3280         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3282 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3284         [BZ #13347]
3285         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3286         * nptl/tst-setuid2.c: New file.
3287         * nptl/Makefile (xtests): Add tst-setuid2.
3289 2014-04-01  Alan Modra  <amodra@gmail.com>
3291         [BZ #16786]
3292         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3294 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3296         [BZ #6803]
3297         [BZ #6804]
3298         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3299         set errno as appropriate.
3300         * math/w_scalbf.c (__scalbf): Likewise.
3301         * math/w_scalbl.c (__scalbl): Likewise.
3302         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3303         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3304         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3305         Add more NaN tests.
3307         [BZ #16349]
3308         * math/w_atan2.c: Include <errno.h>.
3309         (__atan2): Set errno for result underflowing to zero.
3310         * math/w_atan2f.c: Include <errno.h>.
3311         (__atan2f): Set errno for result underflowing to zero.
3312         * math/w_atan2l.c: Include <errno.h>.
3313         (__atan2l): Set errno for result underflowing to zero.
3314         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3315         tests.
3316         * math/auto-libm-test-out: Regenerated.
3318 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3321         Encode instruction correctly in little endian.
3322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3323         Likewise.
3324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3325         Likewise.
3326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3327         Likewise.
3328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3329         Likewise.
3331 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3333         [BZ #9894]
3334         * sysdeps/unix/sysv/linux/kernel-features.h
3335         [__sparc__ && !__arch64__ && !__sparc_v9__]
3336         (__ASSUME_SET_ROBUST_LIST): Do not define.
3337         [__sparc__ && !__arch64__ && !__sparc_v9__]
3338         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3339         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3340         Likewise.
3341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3342         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3343         (__ASSUME_REQUEUE_PI): Likewise.
3344         (__ASSUME_SET_ROBUST_LIST): Likewise.
3345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3346         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3347         Undefine.
3348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3349         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3350         Likewise.
3351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3352         Likewise.
3353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3354         Likewise.
3355         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3356         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3357         Undefine.
3358         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3359         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3360         Likewise.
3362         [BZ #16648]
3363         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3364         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3365         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3367 2014-03-31  Will Newton  <will.newton@linaro.org>
3369         * benchtests/Makefile (bench): Add ffs and ffsll to list
3370         of tests.
3371         * benchtests/ffs-inputs: New file.
3372         * benchtests/ffsll-inputs: Likewise.
3374 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3376         [BZ #16770]
3377         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3378         too large before casting to int.
3379         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3380         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3381         * math/libm-test.inc (scalb_test_data): Add more tests.
3383 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * benchtests/Makefile (DETAILED_OPT): New make option.
3386         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3387         set.
3388         * benchtests/bench-skeleton.c: Include stdbool.h.
3389         (main): Store and print timings per input.
3390         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3391         member to each argument value.
3392         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3393         (_print_arg_data): Initialize per-input timing to 0.
3395         * benchtests/Makefile (timing-type): New binary.
3396         (bench-clean): Also remove bench-timing-type.
3397         (bench): New target for timing-type.
3398         (bench-func): Print output in JSON format.
3399         * benchtests/bench-skeleton.c (main): Print output in JSON
3400         format.
3401         * benchtests/bench-timing-type.c: New file.
3402         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3403         (TIMING_PRINT_STATS): Remove.
3404         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3405         name separately.
3407         * benchtests/bench-modf.c: Remove.
3408         * benchtests/modf-inputs: New inputs file.
3410 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3412         [BZ #16362]
3413         * math/s_clog10.c (M_PI_LOG10E): New macro.
3414         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3415         imaginary parts are 0.
3416         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3417         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3418         imaginary parts are 0.
3419         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3420         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3421         imaginary parts are 0.
3422         * math/libm-test.inc (clog10_test_data): Update expected results
3423         for when real and imaginary parts are 0.
3425 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3427         * elf/dl-load.c: Finish conversion of __builtin_expect into
3428         __glibc_{un}likely.
3430 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3432         [BZ #16348]
3433         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3434         1+x for argument with exponent below -67.
3435         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3436         Likewise.
3437         * math/auto-libm-test-in: Add more tests of exp.
3438         * math/auto-libm-test-out: Regenerated.
3440 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3442         [BZ #16759]
3443         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3444         (nscd_getnetgrent): Use it.
3446         [BZ #16760]
3447         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3448         of stpcpy.
3450 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3452         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3453         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3454         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3455         (lll_robust_unlock): Remove out of line section. Use cfi
3456         intrinsics.
3457         (LLL_STUB_UNWIND_INFO*): Remove.
3458         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3459         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3460         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3461         (lll_robust_unlock): Remove out of line section. Use cfi
3462         intrinsics.
3463         (LLL_STUB_UNWIND_INFO*): Remove.
3465 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3467         [BZ #16758]
3468         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3469         blank values.
3471 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3473         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3475 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3477         [BZ #16198]
3478         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3479         fnstenv.
3480         * math/test-fenv-preserve.c: New file.
3481         * math/Makefile (tests): Add test-fenv-preserve.
3483 2014-03-26  Will Newton <will.newton@linaro.org>
3485         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3487 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3489         * scripts/versionlist.awk: Partition the version sets and emit all
3490         GLIBC_* (sorted) before all others (sorted).
3492 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3494         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3495         GLIBC_2.2.5 version.
3497 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3499         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3500         calls.
3502         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3503         previous change.
3505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3507 2014-03-25  Andreas Schwab  <schwab@suse.de>
3509         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3510         label to be used after in6ailist is initialized.
3512 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3514         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3515         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3517 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3519         [BZ #16357]
3520         [BZ #16599]
3521         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3522         min_plus_half.
3523         (fp_formats): Update initializers.
3524         (init_fp_formats): Initialize new field.
3525         (output_for_one_input_case): Allow underflow for results up to
3526         min_plus_half.
3527         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3528         * math/auto-libm-test-in: Don't mark some underflows from asin and
3529         atanh as spurious.
3530         * math/auto-libm-test-out: Regenerated.
3531         * sysdeps/i386/fpu/libm-test-ulps: Update.
3532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3534 2014-03-25  Andreas Schwab  <schwab@suse.de>
3536         * libio/Makefile (tst-ftell-partial-wide-ENV)
3537         (tst-ftell-active-handler-ENV): Define.
3539 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3541         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3543 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3545         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3547 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3549         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3550         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3551         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3553 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3555         [BZ #16634]
3556         * elf/dl-load.c (open_verify): Add mode parameter.
3557         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3558         (open_path): Change from boolean 'secure' to complete flag 'mode'
3559         (_dl_map_object): Adjust.
3560         * elf/Makefile (tests): Add tst-dlopen-aout.
3561         * elf/tst-dlopen-aout.c: New test.
3563 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3565         [BZ #16714]
3566         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3567         (struct stat): Rename member pad0 to __glibc_reserved0.
3569         [BZ #16712]
3570         * sysdeps/s390/s390-32/bits/wordsize.h
3571         (__WORDSIZE32_SIZE_ULONG): New define.
3572         * sysdeps/s390/s390-64/bits/wordsize.h
3573         (__WORDSIZE32_SIZE_ULONG): Likewise.
3574         * sysdeps/generic/stdint.h (SIZE_MAX):
3575         Define as UL if __WORDSIZE32_SIZE_ULONG.
3577         [BZ #16713]
3578         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3579         (__glibc_reserved0): New variable.
3580         (sa_flags): Change type to int.
3582         * posix/Makefile (before-compile): Use += before-compile instead
3583         of a :=.
3585         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3586         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3588 2014-03-20  Andreas Schwab  <schwab@suse.de>
3590         [BZ #16743]
3591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3592         non-matching result from nscd.
3594 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3596         * scripts/bench.py: Moved to ...
3597         * benchtests/scripts/bench.py: ... here.
3598         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3600 2014-03-24  Andreas Schwab  <schwab@suse.de>
3602         [BZ #16002]
3603         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3604         alloca_account and account alloca use for struct in6ailist.
3606 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3608         [BZ #16284]
3609         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3610         rounding mode to recompute results that overflow to infinity or
3611         underflow to zero.
3612         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3613         bug 16284.
3614         * math/auto-libm-test-out: Regenerated.
3615         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3616         (ccosh_test): Likewise.
3617         (csin_test_data): Use plus_oflow.
3618         (csin_test): Use ALL_RM_TEST.
3619         (csinh_test_data): Use plus_oflow.
3620         (csinh_test): Use ALL_RM_TEST.
3621         * sysdeps/i386/fpu/libm-test-ulps: Update.
3622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3624 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3626         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3627         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3628         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3630         [BZ #16731]
3631         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3632         when x - 1 is zero.
3633         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3634         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3635         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3636         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3637         argument is 1.
3638         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3639         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3640         zero.
3641         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3642         * sysdeps/i386/fpu/libm-test-ulps: Update.
3643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3645 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3647         * scripts/bench.pl: Remove file.
3648         * scripts/bench.py: New benchmark script.
3649         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3650         * benchtests/README: Mention python dependency.
3651         * scripts/pylintrc: New file.
3652         * scripts/pylint: New file.
3654         * bits/mathdef.h: Use #ifdef instead of #if.
3655         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3656         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3657         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3658         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3659         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3660         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3662 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3663             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3665         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3667         and strpbrk-ppc64 objects.
3668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3669         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3670         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3671         multiarch strpbrk for POWER7.
3672         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3673         multiarch strpbrk for PPC64.
3674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3675         ifunc selector.
3676         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3677         strpbrk for POWER7.
3679 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3681         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3682         (atan_test): Likewise.
3683         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3684         (atanh_test): Use ALL_RM_TEST.
3685         (atan2_test_data): Likewise.
3686         (cabs_test): Likewise.
3687         (cacosh_test): Likewise.
3688         (carg_test): Likewise.
3689         (casin_test): Likewise.
3690         (casinh_test): Likewise.
3691         (cbrt_test): Likewise.
3692         (csqrt_test): Likewise.
3693         (erf_test): Likewise.
3694         (erfc_test): Likewise.
3695         (pow10_test): Likewise.
3696         (exp2_test): Likewise.
3697         (hypot_test): Likewise.
3698         (j0_test): Likewise.
3699         (j1_test): Likewise.
3700         (lgamma_test): Likewise.
3701         (gamma_test): Likewise.
3702         (sincos_test): Likewise.
3703         (tanh_test): Likewise.
3704         (y0_test): Likewise.
3705         (y1_test): Likewise.
3706         * sysdeps/i386/fpu/libm-test-ulps: Update.
3707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3711         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3713         and strcspn-ppc64 objects.
3714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3715         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3716         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3717         multiarch strcspn for POWER7.
3718         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3719         multiarch strcspn for PPC64.
3720         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3721         ifunc selector.
3722         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3723         strcspn for POWER7.
3725 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3727         * math/gen-libm-test.pl (generate_testfile): Expect only function
3728         name as argument to AUTO_TESTS_* and pass results for all rounding
3729         modes to parse_args.
3730         (parse_auto_input): Separate inputs of automatic tests from
3731         outputs before storing in %auto_tests.
3732         * math/libm-test.inc (acos_test_data): Update call to
3733         AUTO_TESTS_f_f.
3734         (acos_test): Use ALL_RM_TEST.
3735         (acos_tonearest_test_data): Remove.
3736         (acos_test_tonearest): Likewise.
3737         (acos_towardzero_test_data): Likewise.
3738         (acos_test_towardzero): Likewise.
3739         (acos_downward_test_data): Likewise.
3740         (acos_test_downward): Likewise.
3741         (acos_upward_test_data): Likewise.
3742         (acos_test_upward): Likewise.
3743         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3744         (asin_test_data): Likewise.
3745         (asin_test): Use ALL_RM_TEST.
3746         (asin_tonearest_test_data): Remove.
3747         (asin_test_tonearest): Likewise.
3748         (asin_towardzero_test_data): Likewise.
3749         (asin_test_towardzero): Likewise.
3750         (asin_downward_test_data): Likewise.
3751         (asin_test_downward): Likewise.
3752         (asin_upward_test_data): Likewise.
3753         (asin_test_upward): Likewise.
3754         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3755         (atan_test_data): Likewise.
3756         (atanh_test_data): Likewise.
3757         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3758         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3759         (carg_test_data): Likewise.
3760         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3761         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3762         (ccosh_test_data): Likewise.
3763         (cexp_test_data): Likewise.
3764         (clog_test_data): Likewise.
3765         (clog10_test_data): Likewise.
3766         (cos_test_data): Update call to AUTO_TESTS_f_f.
3767         (cos_test): Use ALL_RM_TEST.
3768         (cos_tonearest_test_data): Remove.
3769         (cos_test_tonearest): Likewise.
3770         (cos_towardzero_test_data): Likewise.
3771         (cos_test_towardzero): Likewise.
3772         (cos_downward_test_data): Likewise.
3773         (cos_test_downward): Likewise.
3774         (cos_upward_test_data): Likewise.
3775         (cos_test_upward): Likewise.
3776         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3777         (cosh_test): Use ALL_RM_TEST.
3778         (cosh_tonearest_test_data): Remove.
3779         (cosh_test_tonearest): Likewise.
3780         (cosh_towardzero_test_data): Likewise.
3781         (cosh_test_towardzero): Likewise.
3782         (cosh_downward_test_data): Likewise.
3783         (cosh_test_downward): Likewise.
3784         (cosh_upward_test_data): Likewise.
3785         (cosh_test_upward): Likewise.
3786         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3787         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3788         (ctan_test_data): Likewise.
3789         (ctan_test): Use ALL_RM_TEST.
3790         (ctan_tonearest_test_data): Remove.
3791         (ctan_test_tonearest): Likewise.
3792         (ctan_towardzero_test_data): Likewise.
3793         (ctan_test_towardzero): Likewise.
3794         (ctan_downward_test_data): Likewise.
3795         (ctan_test_downward): Likewise.
3796         (ctan_upward_test_data): Likewise.
3797         (ctan_test_upward): Likewise.
3798         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3799         (ctanh_test): Use ALL_RM_TEST.
3800         (ctanh_tonearest_test_data): Remove.
3801         (ctanh_test_tonearest): Likewise.
3802         (ctanh_towardzero_test_data): Likewise.
3803         (ctanh_test_towardzero): Likewise.
3804         (ctanh_downward_test_data): Likewise.
3805         (ctanh_test_downward): Likewise.
3806         (ctanh_upward_test_data): Likewise.
3807         (ctanh_test_upward): Likewise.
3808         (erf_test_data): Update call to AUTO_TESTS_f_f.
3809         (erfc_test_data): Likewise.
3810         (exp_test_data): Likewise.
3811         (exp_test): Use ALL_RM_TEST.
3812         (exp_tonearest_test_data): Remove.
3813         (exp_test_tonearest): Likewise.
3814         (exp_towardzero_test_data): Likewise.
3815         (exp_test_towardzero): Likewise.
3816         (exp_downward_test_data): Likewise.
3817         (exp_test_downward): Likewise.
3818         (exp_upward_test_data): Likewise.
3819         (exp_test_upward): Likewise.
3820         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3821         (exp10_test): Use ALL_RM_TEST.
3822         (exp10_tonearest_test_data): Remove.
3823         (exp10_test_tonearest): Likewise.
3824         (exp10_towardzero_test_data): Likewise.
3825         (exp10_test_towardzero): Likewise.
3826         (exp10_downward_test_data): Likewise.
3827         (exp10_test_downward): Likewise.
3828         (exp10_upward_test_data): Likewise.
3829         (exp10_test_upward): Likewise.
3830         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3831         (expm1_test_data): Likewise.
3832         (expm1_test): Use ALL_RM_TEST.
3833         (expm1_tonearest_test_data): Remove.
3834         (expm1_test_tonearest): Likewise.
3835         (expm1_towardzero_test_data): Likewise.
3836         (expm1_test_towardzero): Likewise.
3837         (expm1_downward_test_data): Likewise.
3838         (expm1_test_downward): Likewise.
3839         (expm1_upward_test_data): Likewise.
3840         (expm1_test_upward): Likewise.
3841         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3842         (fma_test): Use ALL_RM_TEST.
3843         (fma_towardzero_test_data): Remove.
3844         (fma_test_towardzero): Likewise.
3845         (fma_downward_test_data): Likewise.
3846         (fma_test_downward): Likewise.
3847         (fma_upward_test_data): Likewise.
3848         (fma_test_upward): Likewise.
3849         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3850         (j0_test_data): Update call to AUTO_TESTS_f_f.
3851         (j1_test_data): Likewise.
3852         (jn_test_data): Update call to AUTO_TESTS_if_f.
3853         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3854         (log_test_data): Update call to AUTO_TESTS_f_f.
3855         (log10_test_data): Likewise.
3856         (log1p_test_data): Likewise.
3857         (log2_test_data): Likewise.
3858         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3859         (pow_tonearest_test_data): Likewise.
3860         (sin_test_data): Update call to AUTO_TESTS_f_f.
3861         (sin_test): Use ALL_RM_TEST.
3862         (sin_tonearest_test_data): Remove.
3863         (sin_test_tonearest): Likewise.
3864         (sin_towardzero_test_data): Likewise.
3865         (sin_test_towardzero): Likewise.
3866         (sin_downward_test_data): Likewise.
3867         (sin_test_downward): Likewise.
3868         (sin_upward_test_data): Likewise.
3869         (sin_test_upward): Likewise.
3870         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3871         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3872         (sinh_test): Use ALL_RM_TEST.
3873         (sinh_tonearest_test_data): Remove.
3874         (sinh_test_tonearest): Likewise.
3875         (sinh_towardzero_test_data): Likewise.
3876         (sinh_test_towardzero): Likewise.
3877         (sinh_downward_test_data): Likewise.
3878         (sinh_test_downward): Likewise.
3879         (sinh_upward_test_data): Likewise.
3880         (sinh_test_upward): Likewise.
3881         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3882         (sqrt_test): Use ALL_RM_TEST.
3883         (sqrt_tonearest_test_data): Remove.
3884         (sqrt_test_tonearest): Likewise.
3885         (sqrt_towardzero_test_data): Likewise.
3886         (sqrt_test_towardzero): Likewise.
3887         (sqrt_downward_test_data): Likewise.
3888         (sqrt_test_downward): Likewise.
3889         (sqrt_upward_test_data): Likewise.
3890         (sqrt_test_upward): Likewise.
3891         (tan_test_data): Update call to AUTO_TESTS_f_f.
3892         (tan_test): Use ALL_RM_TEST.
3893         (tan_tonearest_test_data): Remove.
3894         (tan_test_tonearest): Likewise.
3895         (tan_towardzero_test_data): Likewise.
3896         (tan_test_towardzero): Likewise.
3897         (tan_downward_test_data): Likewise.
3898         (tan_test_downward): Likewise.
3899         (tan_upward_test_data): Likewise.
3900         (tan_test_upward): Likewise.
3901         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3902         (tgamma_test_data): Likewise.
3903         (y0_test_data): Likewise.
3904         (y1_test_data): Likewise.
3905         (yn_test_data): Update call to AUTO_TESTS_if_f.
3906         (main): Do not call removed functions.
3908 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3910         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3911         (ldexp_test_data): Remove.
3912         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3913         scalbn_test_data.
3914         (scalb_test): Use ALL_RM_TEST.
3916 2014-03-19  Andreas Schwab  <schwab@suse.de>
3918         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3920 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3922         [BZ #16649]
3923         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3925         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3927         (__ASSUME_PREADV): Undefine.
3928         (__ASSUME_PWRITEV): Likewise.
3930 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3932         * bits/mman-linux.h: Add comment about non-Linux use.
3933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3934         bits/mman-linux.h resting place.
3936         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3937         * bits/mman-linux.h: ... here.
3939 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3941         * conform/conformtest.pl: Add standard definition when calling C
3942         preprocessor on data files.
3943         (checknamespace): Remove unused variable.
3945 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3947         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3948         minus_oflow, plus_uflow and minus_uflow in expected results.
3949         * math/libm-test.inc (scalbn_test_data): Add more tests of
3950         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3951         minus_uflow.
3952         (scalbn_test): Use ALL_RM_TEST.
3953         (scalbln_test_data): Add more tests of negative arguments.  Use
3954         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3955         (scalbln_test): Use ALL_RM_TEST.
3957 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3959         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3961 2014-03-18  Will Newton  <will.newton@linaro.org>
3963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3964         inaccurate comment.
3966 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3968         * Makerules [!subdir] (check-abi): Exit with error status if a
3969         test failed.
3971 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3973         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3974         for rint.  Include results for all rounding modes.
3975         (nearbyint_test): Use ALL_RM_TEST.
3976         (rint_test_data): Include all tests used for nearbyint.
3978 2014-03-17  Will Newton  <will.newton@linaro.org>
3980         * nptl/sysdeps/pthread/pthread.h: Revert previous
3981         change.
3983         * sysdeps/generic/ldsodefs.h: Revert previous
3984         change.
3986         * libio/genops.c: Revert previous change.
3987         * libio/libioP.h: Likewise.
3988         * stdio-common/vfprintf.c: Likewise.
3990         * sysdeps/generic/math_private.h: Revert previous
3991         change.
3993         * sysdeps/generic/math_private.h: Check whether
3994         HAVE_RM_CTX is defined with #ifdef rather
3995         than #if.
3997         * argp/argp-fmtstream.h: Check whether
3998         __STRICT_ANSI__ is defined with #ifdef rather
3999         than #if.
4000         * argp/argp.h: Likewise.
4002         * libio/genops.c: Check whether
4003         _IO_JUMPS_OFFSET is defined with #ifdef rather
4004         than #if.
4005         * libio/libioP.h: Likewise.
4006         * stdio-common/vfprintf.c: Likewise.
4008         * sysdeps/generic/ldsodefs.h: Check whether
4009         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4010         than #if.
4012         * nptl/sysdeps/pthread/pthread.h: Check
4013         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4014         its value.
4016 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4018         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4019         setting O_APPEND.
4020         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4021         test case.
4023         [BZ #16680]
4024         * libio/fileops.c (_IO_file_open): Seek to end of file but
4025         don't cache the offset.
4026         (get_file_offset): Remove function.
4027         (do_ftell): Use cached offset when available.
4028         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4029         don't cache the offset.
4030         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4031         case.
4032         (do_one_test): Call it.
4033         (do_ftell_test): Fix up expected old offset for a+ mode.
4034         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4035         available.
4037         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4038         up test status with function return status.
4039         (do_write_test): Likewise.
4040         (do_append_test): Likewise.
4042         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4043         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4044         Remove.
4046 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4048         * math/gen-libm-test.pl (parse_args): Handle results specified for
4049         each rounding mode separately.
4050         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4051         tests and results from lrint_tonearest_test_data,
4052         lrint_towardzero_test_data, lrint_downward_test_data and
4053         lrint_upward_test_data.
4054         (lrint_test): Use ALL_RM_TEST.
4055         (lrint_tonearest_test_data): Remove.
4056         (lrint_test_tonearest): Likewise.
4057         (lrint_towardzero_test_data): Likewise.
4058         (lrint_test_towardzero): Likewise.
4059         (lrint_downward_test_data): Likewise.
4060         (lrint_test_downward): Likewise.
4061         (lrint_upward_test_data): Likewise.
4062         (lrint_test_upward): Likewise.
4063         (llrint_test_data): Merge in per-rounding-mode tests and results
4064         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4065         llrint_downward_test_data and llrint_upward_test_data.
4066         (llrint_test): Use ALL_RM_TEST.
4067         (llrint_tonearest_test_data): Remove.
4068         (llrint_test_tonearest): Likewise.
4069         (llrint_towardzero_test_data): Likewise.
4070         (llrint_test_towardzero): Likewise.
4071         (llrint_downward_test_data): Likewise.
4072         (llrint_test_downward): Likewise.
4073         (llrint_upward_test_data): Likewise.
4074         (llrint_test_upward): Likewise.
4075         (rint_test_data): Merge in per-rounding-mode tests and results
4076         from rint_tonearest_test_data, rint_towardzero_test_data,
4077         rint_downward_test_data and rint_upward_test_data.  Add
4078         per-rounding-mode results for tests not in those arrays.
4079         (rint_test): Use ALL_RM_TEST.
4080         (rint_tonearest_test_data): Remove.
4081         (rint_test_tonearest): Likewise.
4082         (rint_towardzero_test_data): Likewise.
4083         (rint_test_towardzero): Likewise.
4084         (rint_downward_test_data): Likewise.
4085         (rint_test_downward): Likewise.
4086         (rint_upward_test_data): Likewise.
4087         (rint_test_upward): Likewise.
4088         (main): Don't call removed functions.
4090 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4092         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4093         "Compiled on ..." crapola.  It is anti-useful.
4095 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4097         * scripts/evaluate-test.sh: Handle fourth argument to determine
4098         whether test run should stop on failure.
4099         * Makeconfig (stop-on-test-failure): New variable.
4100         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4101         $(stop-on-test-failure).
4102         * Makefile (tests): Give a summary of results from testing and
4103         exit with failure status if they include an ERROR or FAIL.
4104         (xtests): Likewise.
4105         * manual/install.texi (Configuring and compiling): Mention
4106         stop-on-test-failure=y.
4107         * INSTALL: Regenerated.
4109 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4111         * scripts/versionlist.awk: New file.
4112         * Makerules [$(build-shared) = yes]
4113         (postclean-generated): Add Versions.def, not Versions.def.v and
4114         Versions.def.v.i.
4115         ($(common-objpfx)Versions.def.v.i): Target removed.
4116         ($(common-objpfx)Versions.def): New target.
4117         ($(common-objpfx)Versions.all): Depend on that rather that
4118         $(common-objpfx)Versions.def.v.
4119         * Versions.def: File removed.
4121         * Makeconfig (+gccwarn): Add -Wundef.
4122         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4123         a dl-sysdep.h breaking its contract.
4124         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4125         * include/stackinfo.h: New file.
4126         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4127         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4128         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4129         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4130         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4131         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4132         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4133         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4134         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4135         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4136         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4137         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4138         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4139         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4140         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4142 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4144         [BZ #16707]
4145         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4146         implementation.
4147         * math/libm-test.inc (round_test_data): Add more tests.
4149         [BZ #16706]
4150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4151         implementation.
4152         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4154         [BZ #16701]
4155         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4156         implementation.
4157         * math/libm-test.inc (ceil_test_data): Add more tests.
4159         * math/libm-test.inc (trunc_test_data): Add more tests related to
4160         BZ#16414.
4162 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4164         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4165         with #if rather than #ifdef.
4166         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4168 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4170         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4171         first.  Disable AVX-512 GCC support if assembler doesn't support
4172         it.
4173         * sysdeps/x86_64/configure: Regenerated.
4175 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4177         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4178         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4179         (__old_pthread_attr_setstack): Likewise.
4180         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4181         [!_STACK_GROWS_DOWN]: Likewise.
4183 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4185         * config.make.in (have-bash2): Delete.
4186         * configure.ac (libc_cv_have_bash2): Delete.
4187         * configure: Regenerate.
4188         * elf/Makefile (common-ldd-rewrite): Rename to ...
4189         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4190         (sh-ldd-rewrite): Delete.
4191         (bash-ldd-rewrite): Delete.
4192         (have-bash2): Delete checks.
4193         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4194         ldd-rewrite.
4196         * config.make.in (have-ksh): Delete.
4197         (KSH): Delete.
4198         * configure.ac (libc_cv_have_ksh): Delete.
4199         * configure: Regenerate.
4201         * elf/Makefile: Delete $(have-ksh) check.
4202         ($(objpfx)sotruss): Change KSH to BASH.
4203         * elf/sotruss.ksh: Rename to ...
4204         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4205         function style to match POSIX.  Drop ksh vim mode setting.
4207         * manual/time.texi (Specifying the Time Zone with TZ): Change
4208         Tuesday to Thursday.
4210         * debug/tst-longjmp_chk2.c: Update header comment.
4211         (stackoverflow_handler): Add comment.  Call assert on pass value.
4213 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4215         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4216         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4217         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4218         (La_x86_64_vector): Add zmm.
4219         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4220         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4221         ($(objpfx)tst-audit10): New target.
4222         ($(objpfx)tst-audit10.out): Likewise.
4223         (tst-audit10-ENV): New.
4224         (AVX512-CFLAGS): Likewise.
4225         (CFLAGS-tst-audit10.c): Likewise.
4226         (CFLAGS-tst-auditmod10a.c): Likewise.
4227         (CFLAGS-tst-auditmod10b.c): Likewise.
4228         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4229         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4230         * sysdeps/x86_64/configure: Regenerated.
4231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4232         AVX-512 zmm register support.
4233         (_dl_x86_64_save_sse): Likewise.
4234         (_dl_x86_64_restore_sse): Likewise.
4235         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4236         size vector registers.
4237         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4238         (ZMM_SIZE): Likewise.
4239         * sysdeps/x86_64/tst-audit10.c: New file.
4240         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4241         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4243 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4245         * configure.ac (HAVE_EHDR_START): New check.
4246         * configure: Regenerated.
4247         * config.h.in (HAVE_EHDR_START): New #undef.
4248         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4249         assuming the lowest-addressed segment maps the start of the file.
4251 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4253         * INSTALL: Regenerated.
4255 2014-03-13  Will Newton  <will.newton@linaro.org>
4257         * manual/setjmp.texi (System V contexts): Improve
4258         clarity and grammar of documentation.
4260 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4262         [BZ #16381]
4263         * elf/Makefile (tests): Add tst-pie2.
4264         (tests-pie): Add tst-pie2.
4265         * elf/tst-pie2.c: New file.
4266         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4267         for ET_EXEC.
4268         * elf/rtld.c (map_doit): Load executable as lt_executable.
4269         (dl_main): Likewise.
4271 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4273         [BZ #16642]
4274         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4275         (__ASSUME_PSELECT): Undefine.
4277 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4279         [BZ #16689]
4280         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4281         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4282         static build.
4283         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4284         selector for static builds.
4286 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4288         [BZ #16695]
4289         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4290         key in the buffer.
4292 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4294         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4295         IFUNC selector for static builds.
4297 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4299         * sysdeps/mips/math_private.h [__mips_hard_float]
4300         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4301         libc_feresetround_mips_ctx.
4302         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4303         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4304         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4306         [BZ #16677]
4307         * math/s_nextafter.c (__nextafter): Do not return value from
4308         overflowing computation.
4309         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4310         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4311         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4312         Likewise.
4313         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4314         Likewise.
4315         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4316         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4318 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4320         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4321         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4322         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4323         the new mov targetting sp.
4325 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4327         [BZ #16683]
4328         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4329         Define it for static builds as well.
4330         (NO_BZERO_IMPL): Likewise.
4332 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4334         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4335         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4336         multiarch strspn for PPC64.
4337         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4338         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4340         (__libc_ifunc_impl_list): Likewise.
4341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4342         multiarch optimizations
4343         * string/strspn.c (strspn): Using macro to redefine symbol name.
4345 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4346             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4348         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4349         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4350         multiarch strncat for PPC64.
4351         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4352         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4354         (__libc_ifunc_impl_list): Likewise.
4355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4356         multiarch optimizations
4358 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4360         [BZ #16639]
4361         * nscd/nscd.service: Make service type forking.
4363 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4365         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4366         sign in non default rounding modes.
4367         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4369 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4371         * math/libm-test.inc (ALL_RM_TEST): New macro.
4372         (ceil_test): Use ALL_RM_TEST.
4373         (cimag_test): Likewise.
4374         (conj_test): Likewise.
4375         (copysign_test): Likewise.
4376         (cproj_test): Likewise.
4377         (creal_test): Likewise.
4378         (fabs_test): Likewise.
4379         (floor_test): Likewise.
4380         (fmax_test): Likewise.
4381         (fmin_test): Likewise.
4382         (fmod_test): Likewise.
4383         (fpclassify_test): Likewise.
4384         (frexp_test): Likewise.
4385         (ilogb_test): Likewise.
4386         (isfinite_test): Likewise.
4387         (finite_test): Likewise.
4388         (isgreater_test): Likewise.
4389         (isgreaterequal_test): Likewise.
4390         (isinf_test): Likewise.
4391         (isless_test): Likewise.
4392         (islessequal_test): Likewise.
4393         (islessgreater_test): Likewise.
4394         (isnan_test): Likewise.
4395         (isnormal_test): Likewise.
4396         (issignaling_test): Likewise.
4397         (isunordered_test): Likewise.
4398         (logb_test): Likewise.
4399         (logb_downward_test_data): Remove.
4400         (logb_test_downward): Likewise.
4401         (lround_test): Use ALL_RM_TEST.
4402         (llround_test): Likewise.
4403         (modf_test): Likewise.
4404         (nexttoward_test): Likewise.
4405         (remainder_test): Likewise.
4406         (drem_test): Likewise.
4407         (remainder_tonearest_test_data): Likewise.
4408         (remainder_test_tonearest): Likewise.
4409         (drem_test_tonearest): Likewise.
4410         (remainder_towardzero_test_data): Likewise.
4411         (remainder_test_towardzero): Likewise.
4412         (drem_test_towardzero): Likewise.
4413         (remainder_downward_test_data): Likewise.
4414         (remainder_test_downward): Likewise.
4415         (drem_test_downward): Likewise.
4416         (remainder_upward_test_data): Likewise.
4417         (remainder_test_upward): Likewise.
4418         (drem_test_upward): Likewise.
4419         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4420         (round_test): Use ALL_RM_TEST.
4421         (signbit_test): Likewise.
4422         (trunc_test): Likewise.
4423         (significand_test): Likewise.
4424         (main): Don't call removed functions.
4426 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #16674]
4429         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4430         || __USE_XOPEN2K8].
4431         (ILL_ILLOPN): Likewise.
4432         (ILL_ILLADR): Likewise.
4433         (ILL_ILLTRP): Likewise.
4434         (ILL_PRVOPC): Likewise.
4435         (ILL_PRVREG): Likewise.
4436         (ILL_COPROC): Likewise.
4437         (ILL_BADSTK): Likewise.
4438         (FPE_INTDIV): Likewise.
4439         (FPE_INTOVF): Likewise.
4440         (FPE_FLTDIV): Likewise.
4441         (FPE_FLTOVF): Likewise.
4442         (FPE_FLTUND): Likewise.
4443         (FPE_FLTRES): Likewise.
4444         (FPE_FLTINV): Likewise.
4445         (FPE_FLTSUB): Likewise.
4446         (SEGV_MAPERR): Likewise.
4447         (SEGV_ACCERR): Likewise.
4448         (BUS_ADRALN): Likewise.
4449         (BUS_ADRERR): Likewise.
4450         (BUS_OBJERR): Likewise.
4451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4452         (TRAP_TRACE): Likewise.
4453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4454         __USE_XOPEN2K8].
4455         (CLD_KILLED): Likewise.
4456         (CLD_DUMPED): Likewise.
4457         (CLD_TRAPPED): Likewise.
4458         (CLD_STOPPED): Likewise.
4459         (CLD_CONTINUED): Likewise.
4460         (POLL_IN): Likewise.
4461         (POLL_OUT): Likewise.
4462         (POLL_MSG): Likewise.
4463         (POLL_ERR): Likewise.
4464         (POLL_PRI): Likewise.
4465         (POLL_HUP): Likewise.
4466         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4467         Likewise.
4468         (ILL_ILLOPN): Likewise.
4469         (ILL_ILLADR): Likewise.
4470         (ILL_ILLTRP): Likewise.
4471         (ILL_PRVOPC): Likewise.
4472         (ILL_PRVREG): Likewise.
4473         (ILL_COPROC): Likewise.
4474         (ILL_BADSTK): Likewise.
4475         (FPE_INTDIV): Likewise.
4476         (FPE_INTOVF): Likewise.
4477         (FPE_FLTDIV): Likewise.
4478         (FPE_FLTOVF): Likewise.
4479         (FPE_FLTUND): Likewise.
4480         (FPE_FLTRES): Likewise.
4481         (FPE_FLTINV): Likewise.
4482         (FPE_FLTSUB): Likewise.
4483         (SEGV_MAPERR): Likewise.
4484         (SEGV_ACCERR): Likewise.
4485         (BUS_ADRALN): Likewise.
4486         (BUS_ADRERR): Likewise.
4487         (BUS_OBJERR): Likewise.
4488         (BUS_MCEERR_AR): Likewise.
4489         (BUS_MCEERR_AO): Likewise.
4490         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4491         (TRAP_TRACE): Likewise.
4492         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4493         __USE_XOPEN2K8].
4494         (CLD_KILLED): Likewise.
4495         (CLD_DUMPED): Likewise.
4496         (CLD_TRAPPED): Likewise.
4497         (CLD_STOPPED): Likewise.
4498         (CLD_CONTINUED): Likewise.
4499         (POLL_IN): Likewise.
4500         (POLL_OUT): Likewise.
4501         (POLL_MSG): Likewise.
4502         (POLL_ERR): Likewise.
4503         (POLL_PRI): Likewise.
4504         (POLL_HUP): Likewise.
4505         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4506         (ILL_ILLOPN): Likewise.
4507         (ILL_ILLADR): Likewise.
4508         (ILL_ILLTRP): Likewise.
4509         (ILL_PRVOPC): Likewise.
4510         (ILL_PRVREG): Likewise.
4511         (ILL_COPROC): Likewise.
4512         (ILL_BADSTK): Likewise.
4513         (FPE_INTDIV): Likewise.
4514         (FPE_INTOVF): Likewise.
4515         (FPE_FLTDIV): Likewise.
4516         (FPE_FLTOVF): Likewise.
4517         (FPE_FLTUND): Likewise.
4518         (FPE_FLTRES): Likewise.
4519         (FPE_FLTINV): Likewise.
4520         (FPE_FLTSUB): Likewise.
4521         (SEGV_MAPERR): Likewise.
4522         (SEGV_ACCERR): Likewise.
4523         (BUS_ADRALN): Likewise.
4524         (BUS_ADRERR): Likewise.
4525         (BUS_OBJERR): Likewise.
4526         (BUS_MCEERR_AR): Likewise.
4527         (BUS_MCEERR_AO): Likewise.
4528         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4529         (TRAP_TRACE): Likewise.
4530         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4531         __USE_XOPEN2K8].
4532         (CLD_KILLED): Likewise.
4533         (CLD_DUMPED): Likewise.
4534         (CLD_TRAPPED): Likewise.
4535         (CLD_STOPPED): Likewise.
4536         (CLD_CONTINUED): Likewise.
4537         (POLL_IN): Likewise.
4538         (POLL_OUT): Likewise.
4539         (POLL_MSG): Likewise.
4540         (POLL_ERR): Likewise.
4541         (POLL_PRI): Likewise.
4542         (POLL_HUP): Likewise.
4543         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4544         Likewise.
4545         (ILL_ILLOPN): Likewise.
4546         (ILL_ILLADR): Likewise.
4547         (ILL_ILLTRP): Likewise.
4548         (ILL_PRVOPC): Likewise.
4549         (ILL_PRVREG): Likewise.
4550         (ILL_COPROC): Likewise.
4551         (ILL_BADSTK): Likewise.
4552         (ILL_BADIADDR): Likewise.
4553         (ILL_BREAK): Likewise.
4554         (FPE_INTDIV): Likewise.
4555         (FPE_INTOVF): Likewise.
4556         (FPE_FLTDIV): Likewise.
4557         (FPE_FLTOVF): Likewise.
4558         (FPE_FLTUND): Likewise.
4559         (FPE_FLTRES): Likewise.
4560         (FPE_FLTINV): Likewise.
4561         (FPE_FLTSUB): Likewise.
4562         (FPE_DECOVF): Likewise.
4563         (FPE_DECDIV): Likewise.
4564         (FPE_DECERR): Likewise.
4565         (FPE_INVASC): Likewise.
4566         (FPE_INVDEC): Likewise.
4567         (SEGV_MAPERR): Likewise.
4568         (SEGV_ACCERR): Likewise.
4569         (SEGV_PSTKOVF): Likewise.
4570         (BUS_ADRALN): Likewise.
4571         (BUS_ADRERR): Likewise.
4572         (BUS_OBJERR): Likewise.
4573         (BUS_MCEERR_AR): Likewise.
4574         (BUS_MCEERR_AO): Likewise.
4575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4576         (TRAP_TRACE): Likewise.
4577         (TRAP_BRANCH): Likewise.
4578         (TRAP_HWBKPT): Likewise.
4579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4580         __USE_XOPEN2K8].
4581         (CLD_KILLED): Likewise.
4582         (CLD_DUMPED): Likewise.
4583         (CLD_TRAPPED): Likewise.
4584         (CLD_STOPPED): Likewise.
4585         (CLD_CONTINUED): Likewise.
4586         (POLL_IN): Likewise.
4587         (POLL_OUT): Likewise.
4588         (POLL_MSG): Likewise.
4589         (POLL_ERR): Likewise.
4590         (POLL_PRI): Likewise.
4591         (POLL_HUP): Likewise.
4592         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4593         (ILL_ILLOPN): Likewise.
4594         (ILL_ILLADR): Likewise.
4595         (ILL_ILLTRP): Likewise.
4596         (ILL_PRVOPC): Likewise.
4597         (ILL_PRVREG): Likewise.
4598         (ILL_COPROC): Likewise.
4599         (ILL_BADSTK): Likewise.
4600         (FPE_INTDIV): Likewise.
4601         (FPE_INTOVF): Likewise.
4602         (FPE_FLTDIV): Likewise.
4603         (FPE_FLTOVF): Likewise.
4604         (FPE_FLTUND): Likewise.
4605         (FPE_FLTRES): Likewise.
4606         (FPE_FLTINV): Likewise.
4607         (FPE_FLTSUB): Likewise.
4608         (SEGV_MAPERR): Likewise.
4609         (SEGV_ACCERR): Likewise.
4610         (BUS_ADRALN): Likewise.
4611         (BUS_ADRERR): Likewise.
4612         (BUS_OBJERR): Likewise.
4613         (BUS_MCEERR_AR): Likewise.
4614         (BUS_MCEERR_AO): Likewise.
4615         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4616         (TRAP_TRACE): Likewise.
4617         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4618         __USE_XOPEN2K8].
4619         (CLD_KILLED): Likewise.
4620         (CLD_DUMPED): Likewise.
4621         (CLD_TRAPPED): Likewise.
4622         (CLD_STOPPED): Likewise.
4623         (CLD_CONTINUED): Likewise.
4624         (POLL_IN): Likewise.
4625         (POLL_OUT): Likewise.
4626         (POLL_MSG): Likewise.
4627         (POLL_ERR): Likewise.
4628         (POLL_PRI): Likewise.
4629         (POLL_HUP): Likewise.
4630         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4631         (ILL_ILLOPN): Likewise.
4632         (ILL_ILLADR): Likewise.
4633         (ILL_ILLTRP): Likewise.
4634         (ILL_PRVOPC): Likewise.
4635         (ILL_PRVREG): Likewise.
4636         (ILL_COPROC): Likewise.
4637         (ILL_BADSTK): Likewise.
4638         (FPE_INTDIV): Likewise.
4639         (FPE_INTOVF): Likewise.
4640         (FPE_FLTDIV): Likewise.
4641         (FPE_FLTOVF): Likewise.
4642         (FPE_FLTUND): Likewise.
4643         (FPE_FLTRES): Likewise.
4644         (FPE_FLTINV): Likewise.
4645         (FPE_FLTSUB): Likewise.
4646         (SEGV_MAPERR): Likewise.
4647         (SEGV_ACCERR): Likewise.
4648         (BUS_ADRALN): Likewise.
4649         (BUS_ADRERR): Likewise.
4650         (BUS_OBJERR): Likewise.
4651         (BUS_MCEERR_AR): Likewise.
4652         (BUS_MCEERR_AO): Likewise.
4653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4654         (TRAP_TRACE): Likewise.
4655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4656         __USE_XOPEN2K8].
4657         (CLD_KILLED): Likewise.
4658         (CLD_DUMPED): Likewise.
4659         (CLD_TRAPPED): Likewise.
4660         (CLD_STOPPED): Likewise.
4661         (CLD_CONTINUED): Likewise.
4662         (POLL_IN): Likewise.
4663         (POLL_OUT): Likewise.
4664         (POLL_MSG): Likewise.
4665         (POLL_ERR): Likewise.
4666         (POLL_PRI): Likewise.
4667         (POLL_HUP): Likewise.
4668         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4669         (ILL_ILLOPN): Likewise.
4670         (ILL_ILLADR): Likewise.
4671         (ILL_ILLTRP): Likewise.
4672         (ILL_PRVOPC): Likewise.
4673         (ILL_PRVREG): Likewise.
4674         (ILL_COPROC): Likewise.
4675         (ILL_BADSTK): Likewise.
4676         (FPE_INTDIV): Likewise.
4677         (FPE_INTOVF): Likewise.
4678         (FPE_FLTDIV): Likewise.
4679         (FPE_FLTOVF): Likewise.
4680         (FPE_FLTUND): Likewise.
4681         (FPE_FLTRES): Likewise.
4682         (FPE_FLTINV): Likewise.
4683         (FPE_FLTSUB): Likewise.
4684         (SEGV_MAPERR): Likewise.
4685         (SEGV_ACCERR): Likewise.
4686         (BUS_ADRALN): Likewise.
4687         (BUS_ADRERR): Likewise.
4688         (BUS_OBJERR): Likewise.
4689         (BUS_MCEERR_AR): Likewise.
4690         (BUS_MCEERR_AO): Likewise.
4691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4692         (TRAP_TRACE): Likewise.
4693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4694         __USE_XOPEN2K8].
4695         (CLD_KILLED): Likewise.
4696         (CLD_DUMPED): Likewise.
4697         (CLD_TRAPPED): Likewise.
4698         (CLD_STOPPED): Likewise.
4699         (CLD_CONTINUED): Likewise.
4700         (POLL_IN): Likewise.
4701         (POLL_OUT): Likewise.
4702         (POLL_MSG): Likewise.
4703         (POLL_ERR): Likewise.
4704         (POLL_PRI): Likewise.
4705         (POLL_HUP): Likewise.
4706         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4707         (ILL_ILLOPN): Likewise.
4708         (ILL_ILLADR): Likewise.
4709         (ILL_ILLTRP): Likewise.
4710         (ILL_PRVOPC): Likewise.
4711         (ILL_PRVREG): Likewise.
4712         (ILL_COPROC): Likewise.
4713         (ILL_BADSTK): Likewise.
4714         (ILL_DBLFLT): Likewise.
4715         (ILL_HARDWALL): Likewise.
4716         (FPE_INTDIV): Likewise.
4717         (FPE_INTOVF): Likewise.
4718         (FPE_FLTDIV): Likewise.
4719         (FPE_FLTOVF): Likewise.
4720         (FPE_FLTUND): Likewise.
4721         (FPE_FLTRES): Likewise.
4722         (FPE_FLTINV): Likewise.
4723         (FPE_FLTSUB): Likewise.
4724         (SEGV_MAPERR): Likewise.
4725         (SEGV_ACCERR): Likewise.
4726         (BUS_ADRALN): Likewise.
4727         (BUS_ADRERR): Likewise.
4728         (BUS_OBJERR): Likewise.
4729         (BUS_MCEERR_AR): Likewise.
4730         (BUS_MCEERR_AO): Likewise.
4731         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4732         (TRAP_TRACE): Likewise.
4733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4734         __USE_XOPEN2K8].
4735         (CLD_KILLED): Likewise.
4736         (CLD_DUMPED): Likewise.
4737         (CLD_TRAPPED): Likewise.
4738         (CLD_STOPPED): Likewise.
4739         (CLD_CONTINUED): Likewise.
4740         (POLL_IN): Likewise.
4741         (POLL_OUT): Likewise.
4742         (POLL_MSG): Likewise.
4743         (POLL_ERR): Likewise.
4744         (POLL_PRI): Likewise.
4745         (POLL_HUP): Likewise.
4746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4747         (ILL_ILLOPN): Likewise.
4748         (ILL_ILLADR): Likewise.
4749         (ILL_ILLTRP): Likewise.
4750         (ILL_PRVOPC): Likewise.
4751         (ILL_PRVREG): Likewise.
4752         (ILL_COPROC): Likewise.
4753         (ILL_BADSTK): Likewise.
4754         (FPE_INTDIV): Likewise.
4755         (FPE_INTOVF): Likewise.
4756         (FPE_FLTDIV): Likewise.
4757         (FPE_FLTOVF): Likewise.
4758         (FPE_FLTUND): Likewise.
4759         (FPE_FLTRES): Likewise.
4760         (FPE_FLTINV): Likewise.
4761         (FPE_FLTSUB): Likewise.
4762         (SEGV_MAPERR): Likewise.
4763         (SEGV_ACCERR): Likewise.
4764         (BUS_ADRALN): Likewise.
4765         (BUS_ADRERR): Likewise.
4766         (BUS_OBJERR): Likewise.
4767         (BUS_MCEERR_AR): Likewise.
4768         (BUS_MCEERR_AO): Likewise.
4769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4770         (TRAP_TRACE): Likewise.
4771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4772         __USE_XOPEN2K8].
4773         (CLD_KILLED): Likewise.
4774         (CLD_DUMPED): Likewise.
4775         (CLD_TRAPPED): Likewise.
4776         (CLD_STOPPED): Likewise.
4777         (CLD_CONTINUED): Likewise.
4778         (POLL_IN): Likewise.
4779         (POLL_OUT): Likewise.
4780         (POLL_MSG): Likewise.
4781         (POLL_ERR): Likewise.
4782         (POLL_PRI): Likewise.
4783         (POLL_HUP): Likewise.
4784         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4785         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4787         [BZ #16670]
4788         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4789         before #include of <time.h>.
4790         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4791         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4792         (test-xfail-UNIX98/sched.h/conform): Likewise.
4794 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4796         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4797         error absence of trapping exception support.
4798         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4800 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4802         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4803         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4804         * timezone/Makefile (testdata): Move definition above include of
4805         Rules.
4806         (test-zones): New variable.
4807         (tests-special): Add zone files.
4808         (build-testdata): Use $(evaluate-test).
4810         * elf/Makefile (tests-special): Rename tests to end with .out.
4811         ($(objpfx)noload-mem): Likewise.
4812         ($(objpfx)tst-leaks1-mem): Likewise.
4813         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4814         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4815         $(objpfx)test-iconvconfig.out.
4816         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4817         set -e inside subshell and redirect output to file.
4818         * iconvdata/Makefile (generated): Rename tests to end with .out.
4819         Correct type.
4820         (tests-special): Rename tests to end with .out.
4821         ($(objpfx)mtrace-tst-loading): Likewise.
4822         * intl/Makefile (generated): Likewise.
4823         (tests-special): Likewise.
4824         ($(objpfx)mtrace-tst-gettext): Likewise.
4825         * misc/Makefile (generated): Likewise.
4826         (tests-special): Likewise.
4827         ($(objpfx)tst-error1-mem): Likewise.
4828         * nptl/Makefile (tests-special): Likewise.
4829         ($(objpfx)tst-stack3-mem): Likewise.
4830         (generated): Likewise.
4831         * posix/Makefile (generated): Likewise.
4832         (tests-special): Likewise.
4833         (xtests-special): Likewise.
4834         ($(objpfx)tst-fnmatch-mem): Likewise.
4835         ($(objpfx)bug-regex2-mem): Likewise.
4836         ($(objpfx)bug-regex14-mem): Likewise.
4837         ($(objpfx)bug-regex21-mem): Likewise.
4838         ($(objpfx)bug-regex31-mem): Likewise.
4839         ($(objpfx)tst-vfork3-mem): Likewise.
4840         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4841         ($(objpfx)tst-pcre-mem): Likewise.
4842         ($(objpfx)tst-boost-mem): Likewise.
4843         ($(objpfx)bug-ga2-mem): Likewise.
4844         ($(objpfx)bug-glob2-mem): Likewise.
4845         * resolv/Makefile (generate): Likewise.
4846         (tests-special): Likewise.
4847         (xtests-special): Likewise.
4848         (generated): Likewise.
4849         ($(objpfx)mtrace-tst-leaks): Likewise.
4850         ($(objpfx)mtrace-tst-leaks2): Likewise.
4852         * scripts/merge-test-results.sh: New file.
4853         * Makefile (tests-special-notdir): New variable.
4854         (tests): Run merge-test-results.sh.
4855         (xtests): Likewise.
4856         * Rules (tests-special-notdir): New variable.
4857         (xtests-special-notdir): Likewise.
4858         (tests): Run merge-test-results.sh
4859         (xtests): Likewise.
4861         * Makeconfig (test-xfail-name): New variable.
4862         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4863         compute variable name for expected failures.
4864         * conform/Makefile (conformtest-headers-data): New variable.
4865         (conformtest-standards): Likewise.
4866         (conformtest-headers-ISO): Likewise.
4867         (conformtest-headers-ISO99): Likewise.
4868         (conformtest-headers-ISO11): Likewise.
4869         (conformtest-headers-POSIX): Likewise.
4870         (conformtest-headers-XPG3): Likewise.
4871         (conformtest-headers-XPG4): Likewise.
4872         (conformtest-headers-UNIX98): Likewise.
4873         (conformtest-headers-XOPEN2K): Likewise.
4874         (conformtest-headers-POSIX2008): Likewise.
4875         (conformtest-headers-XOPEN2K8): Likewise.
4876         (conformtest-header-list-base): Likewise.
4877         (conformtest-header-list-tests): Likewise.
4878         (conformtest-header-base): Likewise.
4879         (conformtest-header-tests): Likewise.
4880         (tests-special): Add $(conformtest-header-list-tests).  If
4881         [$(fast-check) && !$(cross-compiling)], add
4882         $(conformtest-header-tests) instead of
4883         $(objpfx)run-conformtest.out.
4884         (generated): Add $(conformtest-header-list-base).  If
4885         [$(fast-check) && !$(cross-compiling)], add
4886         $(conformtest-header-base).  Remove previous setting.
4887         ($(conformtest-header-list-tests)): New target.
4888         (test-xfail-run-conformtest): Remove variable.
4889         ($(objpfx)run-conformtest.out): Remove target.
4890         (test-xfail-ISO11/complex.h/conform): New variable.
4891         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4892         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4893         (test-xfail-XPG3/varargs.h/conform): Likewise.
4894         (test-xfail-XPG4/varargs.h/conform): Likewise.
4895         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4896         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4897         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4898         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4899         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4900         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4901         (test-xfail-XPG3/ftw.h/conform): Likewise.
4902         (test-xfail-XPG3/grp.h/conform): Likewise.
4903         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4904         (test-xfail-XPG3/limits.h/conform): Likewise.
4905         (test-xfail-XPG3/pwd.h/conform): Likewise.
4906         (test-xfail-XPG3/search.h/conform): Likewise.
4907         (test-xfail-XPG3/signal.h/conform): Likewise.
4908         (test-xfail-XPG3/stdio.h/conform): Likewise.
4909         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4910         (test-xfail-XPG3/string.h/conform): Likewise.
4911         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4912         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4913         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4914         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4915         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4916         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4917         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4918         (test-xfail-XPG3/termios.h/conform): Likewise.
4919         (test-xfail-XPG3/time.h/conform): Likewise.
4920         (test-xfail-XPG3/unistd.h/conform): Likewise.
4921         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4922         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4923         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4924         (test-xfail-XPG4/netdb.h/conform): Likewise.
4925         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4926         (test-xfail-XPG4/signal.h/conform): Likewise.
4927         (test-xfail-XPG4/stdio.h/conform): Likewise.
4928         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4929         (test-xfail-XPG4/stropts.h/conform): Likewise.
4930         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4931         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4932         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4933         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4934         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4935         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4936         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4937         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4938         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4939         (test-xfail-XPG4/termios.h/conform): Likewise.
4940         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4941         (test-xfail-XPG4/unistd.h/conform): Likewise.
4942         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4943         (test-xfail-POSIX/sched.h/conform): Likewise.
4944         (test-xfail-POSIX/signal.h/conform): Likewise.
4945         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4946         (test-xfail-POSIX/tar.h/conform): Likewise.
4947         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4948         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4949         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4950         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4951         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4952         (test-xfail-UNIX98/sched.h/conform): Likewise.
4953         (test-xfail-UNIX98/signal.h/conform): Likewise.
4954         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4955         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4956         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4957         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4958         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4959         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4960         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4961         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4962         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4963         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4964         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4965         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4966         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4967         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4968         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4969         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4970         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4971         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4972         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4973         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4974         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4975         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4976         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4977         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4978         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4979         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4980         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4981         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4982         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4983         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4984         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4985         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4986         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4987         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4988         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4989         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4990         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4991         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4992         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4993         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4994         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4995         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4996         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4997         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4998         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4999         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5000         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5001         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5002         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5003         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5004         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5005         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5006         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5007         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5008         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5009         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5010         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5011         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5012         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5013         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5014         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5015         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5016         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5017         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5018         (conformtest-cc-flags): Likewise.
5019         ($(conformtest-header-tests): New target.
5020         * conform/check-header-lists.sh: New file.
5021         * conform/run-conformtest.sh: Remove.
5023         * conform/conformtest.pl: Allow ' and \ in values given for
5024         constants.
5025         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5026         inclusion.
5027         [POSIX] (sys/types.h): Likewise.
5028         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5029         inclusion.
5030         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5031         inclusion.
5032         * conform/data/signal.h-data (SIGIO): Remove expectation.
5033         [XPG3] (SIGBUS): Do not expect.
5034         [POSIX || XPG3] (SIGPOLL): Likewise.
5035         [POSIX || XPG3] (SIGPROF): Likewise.
5036         [POSIX || XPG3] (SIGSYS): Likewise.
5037         [XPG3] (SIGTRAP): Likewise.
5038         [POSIX || XPG3] (SIGURG): Likewise.
5039         [POSIX || XPG3] (SIGVTALRM): Likewise.
5040         [POSIX || XPG3] (SIGXCPU): Likewise.
5041         [POSIX || XPG3] (SIGXFSZ): Likewise.
5042         [POSIX] (SA_SIGINFO): Expect.
5043         [XPG3] (siginfo_t): Do not expect type or contents.
5044         [POSIX] (si_pid): Do not expect element.
5045         [POSIX] (si_uid): Likewise.
5046         [POSIX] (si_addr): Likewise.
5047         [POSIX] (si_status): Likewise.
5048         [POSIX] (si_band): Likewise.
5049         [XPG4] (si_value): Likewise.
5050         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5051         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5052         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5053         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5054         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5055         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5056         [POSIX || XPG3] (ILL_COPROC): Likewise.
5057         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5058         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5059         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5060         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5061         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5062         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5063         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5064         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5065         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5066         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5067         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5068         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5069         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5070         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5071         [POSIX || XPG3] (CLD_EXITED): Likewise.
5072         [POSIX || XPG3] (CLD_KILLED): Likewise.
5073         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5074         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5075         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5076         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5077         [POSIX || XPG3] (POLL_IN): Likewise.
5078         [POSIX || XPG3] (POLL_OUT): Likewise.
5079         [POSIX || XPG3] (POLL_MSG): Likewise.
5080         [POSIX || XPG3] (POLL_ERR): Likewise.
5081         [POSIX || XPG3] (POLL_PRI): Likewise.
5082         [POSIX || XPG3] (POLL_HUP): Likewise.
5083         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5084         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5085         (SIG*): Do not allow.
5086         [XPG3] (si_*): Likewise.
5087         [XPG3] (SI_*): Likewise.
5088         [XPG3 || XPG4] (sigev_*): Likewise.
5089         [XPG3 || XPG4] (SIGEV_*): Likewise.
5090         [XPG3 || XPG4] (sival_*): Likewise.
5091         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5092         [POSIX || XPG3] (BUS_*): Likewise.
5093         [POSIX || XPG3] (CLD_*): Likewise.
5094         [POSIX || XPG3] (FPE_*): Likewise.
5095         [POSIX || XPG3] (ILL_*): Likewise.
5096         [POSIX || XPG3] (POLL_*): Likewise.
5097         [POSIX || XPG3] (SEGV_*): Likewise.
5098         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5099         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5100         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5101         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5102         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5103         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5104         Specify type and value.
5105         (TVERSLEN): Likewise.
5106         (REGTYPE): Likewise.
5107         (AREGTYPE): Likewise.
5108         (LNKTYPE): Likewise.
5109         (SYMTYPE): Likewise.
5110         (CHRTYPE): Likewise.
5111         (BLKTYPE): Likewise.
5112         (DIRTYPE): Likewise.
5113         (FIFOTYPE): Likewise.
5114         (CONTTYPE): Likewise.
5115         (TSUID): Likewise.
5116         (TSGID): Likewise.
5117         (TSVTX): Likewise.
5118         (TUREAD): Likewise.
5119         (TUWRITE): Likewise.
5120         (TUEXEC): Likewise.
5121         (TGREAD): Likewise.
5122         (TGWRITE): Likewise.
5123         (TGEXEC): Likewise.
5124         (TOREAD): Likewise.
5125         (TOWRITE): Likewise.
5126         (TOEXEC): Likewise.
5127         [POSIX] (TSVTX): Expect constant.
5129 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5131         * Makefile (tests): Change dependencies to ....
5132         (tests-special): ... additions to this variable.
5133         (tests): Depend on $(tests-special).
5134         * Makerules (check-abi-list): New variable.
5135         (check-abi): Depend on $(check-abi-list).
5136         [$(subdir) = elf] (tests-special): Add
5137         $(objpfx)check-abi-libc.out.
5138         [$(build-shared) = yes && subdir] (tests-special): Add
5139         $(check-abi-list).
5140         [$(build-shared) = yes && subdir] (tests): Do not depend on
5141         check-abi.
5142         * Rules (tests): Depend on $(tests-special).
5143         (xtests): Depend on $(xtests-special).
5144         * catgets/Makefile (tests): Change dependencies to ....
5145         (tests-special): ... additions to this variable.
5146         * conform/Makefile (tests): Change dependencies to ....
5147         (tests-special): ... additions to this variable.
5148         * elf/Makefile (tests): Change dependencies to ....
5149         (tests-special): ... additions to this variable.
5150         * grp/Makefile (tests): Change dependencies to ....
5151         (tests-special): ... additions to this variable.
5152         * iconv/Makefile (xtests): Change dependencies to ....
5153         (xtests-special): ... additions to this variable.
5154         * iconvdata/Makefile (tests): Change dependencies to ....
5155         (tests-special): ... additions to this variable.
5156         * intl/Makefile (tests): Change dependencies to ....
5157         (tests-special): ... additions to this variable.  Also add
5158         $(objpfx)tst-gettext.out.
5159         * io/Makefile (tests): Change dependencies to ....
5160         (tests-special): ... additions to this variable.
5161         * libio/Makefile (tests): Change dependencies to ....
5162         (tests-special): ... additions to this variable.
5163         * malloc/Makefile (tests): Change dependencies to ....
5164         (tests-special): ... additions to this variable.
5165         * misc/Makefile (tests): Change dependencies to ....
5166         (tests-special): ... additions to this variable.
5167         * nptl/Makefile (tests): Change dependencies to ....
5168         (tests-special): ... additions to this variable.
5169         * nptl_db/Makefile (tests): Change dependencies to ....
5170         (tests-special): ... additions to this variable.
5171         * posix/Makefile (tests): Change dependencies to ....
5172         (tests-special): ... additions to this variable.
5173         (xtests): Change dependencies to ....
5174         (xtests-special): ... additions to this variable.
5175         * resolv/Makefile (tests): Change dependencies to ....
5176         (tests-special): ... additions to this variable.
5177         (xtests): Change dependencies to ....
5178         (xtests-special): ... additions to this variable.
5179         * stdio-common/Makefile (tests): Change dependencies to ....
5180         (tests-special): ... additions to this variable.
5181         (do-tst-unbputc): Remove target.
5182         (do-tst-printf): Likewise.
5183         * stdlib/Makefile (tests): Change dependencies to ....
5184         (tests-special): ... additions to this variable.
5185         * string/Makefile (tests): Change dependencies to ....
5186         (tests-special): ... additions to this variable.
5187         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5188         (tests-special): ... additions to this variable.
5190         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5191         whole file.
5192         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5193         whole file.
5194         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5195         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5197         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5198         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5199         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5200         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5201         * conform/data/libgen.h-data [XPG3]: Likewise.
5202         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5203         * conform/data/ndbm.h-data [XPG3]: Likewise.
5204         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5205         * conform/data/netdb.h-data [XPG3]: Likewise.
5206         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5207         * conform/data/poll.h-data [XPG3]: Likewise.
5208         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5209         * conform/data/strings.h-data [XPG3]: Likewise.
5210         * conform/data/stropts.h-data [XPG3]: Likewise.
5211         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5212         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5213         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5214         Likewise.
5215         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5216         * conform/data/sys/time.h-data [XPG3]: Likewise.
5217         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5218         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5219         * conform/data/sys/un.h-data [XPG3]: Likewise.
5220         * conform/data/syslog.h-data [XPG3]: Likewise.
5221         * conform/data/ucontext.h-data [XPG3]: Likewise.
5222         * conform/data/utmpx.h-data [XPG3]: Likewise.
5223         * conform/data/varargs.h-data [UNIX98]: Enable file.
5225         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5227         * math/libm-test.inc (struct test_f_f_data): Move expected results
5228         into structure for each rounding mode.
5229         (struct test_ff_f_data): Likewise.
5230         (struct test_ff_f_data_nexttoward): Likewise.
5231         (struct test_fi_f_data): Likewise.
5232         (struct test_fl_f_data): Likewise.
5233         (struct test_if_f_data): Likewise.
5234         (struct test_fff_f_data): Likewise.
5235         (struct test_c_f_data): Likewise.
5236         (struct test_f_f1_data): Likewise.
5237         (struct test_fF_f1_data): Likewise.
5238         (struct test_ffI_f1_data): Likewise.
5239         (struct test_c_c_data): Likewise.
5240         (struct test_cc_c_data): Likewise.
5241         (struct test_f_i_data): Likewise.
5242         (struct test_ff_i_data): Likewise.
5243         (struct test_f_l_data): Likewise.
5244         (struct test_f_L_data): Likewise.
5245         (struct test_fFF_11_data): Likewise.
5246         (RM_): New macro.
5247         (RM_FE_DOWNWARD): Likewise.
5248         (RM_FE_TONEAREST): Likewise.
5249         (RM_FE_TOWARDZERO): Likewise.
5250         (RM_FE_UPWARD): Likewise.
5251         (RUN_TEST_LOOP_f_f): Update references to expected results.
5252         (RUN_TEST_LOOP_2_f): Likewise.
5253         (RUN_TEST_LOOP_fff_f): Likewise.
5254         (RUN_TEST_LOOP_c_f): Likewise.
5255         (RUN_TEST_LOOP_f_f1): Likewise.
5256         (RUN_TEST_LOOP_fF_f1): Likewise.
5257         (RUN_TEST_LOOP_fI_f1): Likewise.
5258         (RUN_TEST_LOOP_ffI_f1): Likewise.
5259         (RUN_TEST_LOOP_c_c): Likewise.
5260         (RUN_TEST_LOOP_cc_c): Likewise.
5261         (RUN_TEST_LOOP_f_i): Likewise.
5262         (RUN_TEST_LOOP_f_i_tg): Likewise.
5263         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5264         (RUN_TEST_LOOP_f_b): Likewise.
5265         (RUN_TEST_LOOP_f_b_tg): Likewise.
5266         (RUN_TEST_LOOP_f_l): Likewise.
5267         (RUN_TEST_LOOP_f_L): Likewise.
5268         (RUN_TEST_LOOP_fFF_11): Likewise.
5269         * math/gen-libm-test.pl (parse_args): Output four copies of
5270         expected results for each test.
5272         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5273         (__ASSUME_UTIMES): Remove.
5274         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5275         (__ASSUME_UTIMES): Likewise.
5277         * math/gen-auto-libm-tests.c: Update comment on output format.
5278         (output_for_one_input_case): Generate before-rounding and
5279         after-rounding information as conditions on output flags not
5280         floating-point format.
5281         * math/auto-libm-test-out: Regenerated.
5282         * math/gen-libm-test.pl (cond_value): New function.
5283         (or_cond_value): Use cond_value.
5284         (generate_testfile): Handle conditional exceptions.
5286 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5288         * math/libm-test.inc (max_valid_error): New variable.
5289         (init_max_error): Take new argument specifying whether function
5290         results are exactly determined.  Set max_valid_error and bound
5291         other variables for errors based on this argument.
5292         (set_max_error): Do not record results above max_valid_error.
5293         (check_float_internal): Only accept errors of up to 0.5ulps if
5294         also at most max_valid_error.
5295         (START): Take new argument EXACT and pass it to init_max_error.
5296         (acos_test): Update call to START.
5297         (acos_test_tonearest): Likewise.
5298         (acos_test_towardzero): Likewise.
5299         (acos_test_downward): Likewise.
5300         (acos_test_upward): Likewise.
5301         (acosh_test): Likewise.
5302         (asin_test): Likewise.
5303         (asin_test_tonearest): Likewise.
5304         (asin_test_towardzero): Likewise.
5305         (asin_test_downward): Likewise.
5306         (asin_test_upward): Likewise.
5307         (asinh_test): Likewise.
5308         (atan_test): Likewise.
5309         (atanh_test): Likewise.
5310         (atan2_test): Likewise.
5311         (cabs_test): Likewise.
5312         (cacos_test): Likewise.
5313         (cacosh_test): Likewise.
5314         (carg_test): Likewise.
5315         (casin_test): Likewise.
5316         (casinh_test): Likewise.
5317         (catan_test): Likewise.
5318         (catanh_test): Likewise.
5319         (cbrt_test): Likewise.
5320         (ccos_test): Likewise.
5321         (ccosh_test): Likewise.
5322         (ceil_test): Likewise.
5323         (cexp_test): Likewise.
5324         (cimag_test): Likewise.
5325         (clog_test): Likewise.
5326         (clog10_test): Likewise.
5327         (conj_test): Likewise.
5328         (copysign_test): Likewise.
5329         (cos_test): Likewise.
5330         (cos_test_tonearest): Likewise.
5331         (cos_test_towardzero): Likewise.
5332         (cos_test_downward): Likewise.
5333         (cos_test_upward): Likewise.
5334         (cosh_test): Likewise.
5335         (cosh_test_tonearest): Likewise.
5336         (cosh_test_towardzero): Likewise.
5337         (cosh_test_downward): Likewise.
5338         (cosh_test_upward): Likewise.
5339         (cpow_test): Likewise.
5340         (cproj_test): Likewise.
5341         (creal_test): Likewise.
5342         (csin_test): Likewise.
5343         (csinh_test): Likewise.
5344         (csqrt_test): Likewise.
5345         (ctan_test): Likewise.
5346         (ctan_test_tonearest): Likewise.
5347         (ctan_test_towardzero): Likewise.
5348         (ctan_test_downward): Likewise.
5349         (ctan_test_upward): Likewise.
5350         (ctanh_test): Likewise.
5351         (ctanh_test_tonearest): Likewise.
5352         (ctanh_test_towardzero): Likewise.
5353         (ctanh_test_downward): Likewise.
5354         (ctanh_test_upward): Likewise.
5355         (erf_test): Likewise.
5356         (erfc_test): Likewise.
5357         (exp_test): Likewise.
5358         (exp_test_tonearest): Likewise.
5359         (exp_test_towardzero): Likewise.
5360         (exp_test_downward): Likewise.
5361         (exp_test_upward): Likewise.
5362         (exp10_test): Likewise.
5363         (exp10_test_tonearest): Likewise.
5364         (exp10_test_towardzero): Likewise.
5365         (exp10_test_downward): Likewise.
5366         (exp10_test_upward): Likewise.
5367         (pow10_test): Likewise.
5368         (exp2_test): Likewise.
5369         (expm1_test): Likewise.
5370         (expm1_test_tonearest): Likewise.
5371         (expm1_test_towardzero): Likewise.
5372         (expm1_test_downward): Likewise.
5373         (expm1_test_upward): Likewise.
5374         (fabs_test): Likewise.
5375         (fdim_test): Likewise.
5376         (floor_test): Likewise.
5377         (fma_test): Likewise.
5378         (fma_test_towardzero): Likewise.
5379         (fma_test_downward): Likewise.
5380         (fma_test_upward): Likewise.
5381         (fmax_test): Likewise.
5382         (fmin_test): Likewise.
5383         (fmod_test): Likewise.
5384         (fpclassify_test): Likewise.
5385         (frexp_test): Likewise.
5386         (hypot_test): Likewise.
5387         (ilogb_test): Likewise.
5388         (isfinite_test): Likewise.
5389         (finite_test): Likewise.
5390         (isgreater_test): Likewise.
5391         (isgreaterequal_test): Likewise.
5392         (isinf_test): Likewise.
5393         (isless_test): Likewise.
5394         (islessequal_test): Likewise.
5395         (islessgreater_test): Likewise.
5396         (isnan_test): Likewise.
5397         (isnormal_test): Likewise.
5398         (issignaling_test): Likewise.
5399         (isunordered_test): Likewise.
5400         (j0_test): Likewise.
5401         (j1_test): Likewise.
5402         (jn_test): Likewise.
5403         (ldexp_test): Likewise.
5404         (lgamma_test): Likewise.
5405         (gamma_test): Likewise.
5406         (lrint_test): Likewise.
5407         (lrint_test_tonearest): Likewise.
5408         (lrint_test_towardzero): Likewise.
5409         (lrint_test_downward): Likewise.
5410         (lrint_test_upward): Likewise.
5411         (llrint_test): Likewise.
5412         (llrint_test_tonearest): Likewise.
5413         (llrint_test_towardzero): Likewise.
5414         (llrint_test_downward): Likewise.
5415         (llrint_test_upward): Likewise.
5416         (log_test): Likewise.
5417         (log10_test): Likewise.
5418         (log1p_test): Likewise.
5419         (log2_test): Likewise.
5420         (logb_test): Likewise.
5421         (logb_test_downward): Likewise.
5422         (lround_test): Likewise.
5423         (llround_test): Likewise.
5424         (modf_test): Likewise.
5425         (nearbyint_test): Likewise.
5426         (nextafter_test): Likewise.
5427         (nexttoward_test): Likewise.
5428         (pow_test): Likewise.
5429         (pow_test_tonearest): Likewise.
5430         (pow_test_towardzero): Likewise.
5431         (pow_test_downward): Likewise.
5432         (pow_test_upward): Likewise.
5433         (remainder_test): Likewise.
5434         (drem_test): Likewise.
5435         (remainder_test_tonearest): Likewise.
5436         (drem_test_tonearest): Likewise.
5437         (remainder_test_towardzero): Likewise.
5438         (drem_test_towardzero): Likewise.
5439         (remainder_test_downward): Likewise.
5440         (drem_test_downward): Likewise.
5441         (remainder_test_upward): Likewise.
5442         (drem_test_upward): Likewise.
5443         (remquo_test): Likewise.
5444         (rint_test): Likewise.
5445         (rint_test_tonearest): Likewise.
5446         (rint_test_towardzero): Likewise.
5447         (rint_test_downward): Likewise.
5448         (rint_test_upward): Likewise.
5449         (round_test): Likewise.
5450         (scalb_test): Likewise.
5451         (scalbn_test): Likewise.
5452         (scalbln_test): Likewise.
5453         (signbit_test): Likewise.
5454         (sin_test): Likewise.
5455         (sin_test_tonearest): Likewise.
5456         (sin_test_towardzero): Likewise.
5457         (sin_test_downward): Likewise.
5458         (sin_test_upward): Likewise.
5459         (sincos_test): Likewise.
5460         (sinh_test): Likewise.
5461         (sinh_test_tonearest): Likewise.
5462         (sinh_test_towardzero): Likewise.
5463         (sinh_test_downward): Likewise.
5464         (sinh_test_upward): Likewise.
5465         (sqrt_test): Likewise.
5466         (sqrt_test_tonearest): Likewise.
5467         (sqrt_test_towardzero): Likewise.
5468         (sqrt_test_downward): Likewise.
5469         (sqrt_test_upward): Likewise.
5470         (tan_test): Likewise.
5471         (tan_test_tonearest): Likewise.
5472         (tan_test_towardzero): Likewise.
5473         (tan_test_downward): Likewise.
5474         (tan_test_upward): Likewise.
5475         (tanh_test): Likewise.
5476         (tgamma_test): Likewise.
5477         (trunc_test): Likewise.
5478         (y0_test): Likewise.
5479         (y1_test): Likewise.
5480         (yn_test): Likewise.
5481         (significand_test): Likewise.
5483         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5484         individual tests in comment.
5485         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5486         (prev_max_error): New variable.
5487         (prev_real_max_error): Likewise.
5488         (prev_imag_max_error): Likewise.
5489         (compare_ulp_data): Don't refer to test names in comment.
5490         (find_test_ulps): Remove function.
5491         (find_function_ulps): Likewise.
5492         (find_complex_function_ulps): Likewise.
5493         (init_max_error): Take function name as argument.  Look up ulps
5494         for that function.
5495         (print_ulps): Remove function.
5496         (print_max_error): Use prev_max_error instead of calling
5497         find_function_ulps.
5498         (print_complex_max_error): Use prev_real_max_error and
5499         prev_imag_max_error instead of calling find_complex_function_ulps.
5500         (check_float_internal): Take max_ulp parameter instead of calling
5501         find_test_ulps.  Don't call print_ulps.
5502         (check_float): Update call to check_float_internal.
5503         (check_complex): Update calls to check_float_internal.
5504         (START): Pass argument to init_max_error.
5505         * math/gen-libm-test.pl (%results): Don't include "kind"
5506         information.
5507         (parse_ulps): Don't handle ulps of individual tests.
5508         (print_ulps_file): Likewise.
5509         (output_ulps): Likewise.
5510         * math/README.libm-test: Update.
5511         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5512         individual tests.
5513         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5514         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5515         * sysdeps/arm/libm-test-ulps: Likewise.
5516         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5517         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5518         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5519         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5520         * sysdeps/microblaze/libm-test-ulps: Likewise.
5521         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5522         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5523         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5524         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5525         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5526         * sysdeps/sh/libm-test-ulps: Likewise.
5527         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5528         * sysdeps/tile/libm-test-ulps: Likewise.
5529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5531 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5533         * math/libm-test.inc (print_complex_max_error): Check separately
5534         whether real and imaginary errors are within allowed range and
5535         pass 0 to print_complex_function_ulps instead of value within
5536         allowed range.
5538 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5540         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5541         formatting.
5542         (get_handles_fopen): Likewise.
5543         (do_write_test): Likewise.
5545         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5547         * libio/fileops.c (do_ftell): Use cached offset when
5548         available.
5549         * libio/iofwide.c (do_ftell_wide): Likewise.
5550         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5551         _IO_file_attach.
5552         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5554         [BZ #16532]
5555         * libio/libioP.h (get_file_offset): New function.
5556         * libio/fileops.c (get_file_offset): Likewise.
5557         (do_ftell): Likewise.
5558         (_IO_new_file_seekoff): Split out ftell logic.
5559         * libio/wfileops.c (do_ftell_wide): Likewise.
5560         (_IO_wfile_seekoff): Split out ftell logic.
5561         * libio/tst-ftell-active-handler.c: New test case.
5562         * libio/Makefile (tests): Add it.
5564 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5566         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5567         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5569 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5571         [BZ #16639]
5572         * nscd/connections.c (nscd_init): Call do_exit.
5573         (start_threads): Call do_exit and notify_parent.
5574         (begin_drop_privileges): Call do_exit.
5575         (finish_drop_privileges): Likewise.
5576         * nscd/selinux.c (preserve_capabilities): Likewise.
5577         (install_real_capabilities): Likewise.
5578         (nscd_selinux_enabled): Likewise.
5579         (avc_create_thread): Likewise.
5580         (avc_alloc_lock): Likewise.
5581         (nscd_avc_init): Likewise.
5582         * nscd/nscd.c (parent_fd): New static variable.
5583         (main): Create a pipe between parent and child processes.
5584         Skip closing parent_fd.
5585         (monitor_child): New function.
5586         (do_exit): Likewise.
5587         (notify_parent): Likewise.
5588         * nscd/nscd.h (notify_parent): Likewise.
5589         (do_exit): Likewise.
5591 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5593         * malloc/malloc.c (__libc_calloc): Revert last change.
5595 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5599 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5601         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5603         implementation.
5604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5605         (__libc_ifunc_impl_list): Likewise.
5606         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5607         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5608         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5609         * string/strrchr.c: Define STRRCHR.
5611 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5613         * benchtest/bench-strtok.c (simple_strtok): Delete.
5614         (strtok_string): Use as benchmark.
5615         * string/strtok (STRTOK): New macro.
5617 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5619         * manual/threads.texi: Add header and standard comments to all
5620         functions.
5622         * elf/dl-lookup.c (check_match): New function.
5623         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5624         (do_lookup_x): Remove nested function check_match. Use non-nested
5625         function check_match.
5627 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5629         * csu/Makefile (generated, before-compile): Use += rather than =.
5630         * catgets/Makefile (generated, generated-dirs): Likewise.
5631         * debug/Makefile (generated): Likewise.
5632         * dlfcn/Makefile (generated): Likewise.
5633         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5634         * iconvdata/Makefile (before-compile, generated): Likewise.
5635         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5636         * libio/Makefile (generated): Likewise.
5637         * malloc/Makefile (generated): Likewise.
5638         * manual/Makefile (generated, generated-dirs): Likewise.
5639         * misc/Makefile (generated): Likewise.
5640         * posix/Makefile (generated): Likewise.
5641         * resolv/Makefile (generated): Likewise.
5642         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5643         * timezone/Makefile (generated, generated-dirs): Likewise.
5645         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5647 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5650         power8 implementation.
5651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5652         file: POWER8 llround ifunc implementation.
5653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5654         (__lllround): Add POWER8 implementation.
5655         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5656         POWER8 llround implementation.
5658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5659         power8 implementation.
5660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5661         file: POWER8 llrint ifunc implementation.
5662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5663         Add POWER8 implementation.
5664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5665         POWER8 llrint implementation.
5667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5668         power8 implementation.
5669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5670         file: POWER8 finite ifunc implementation.
5671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5672         Add POWER8 implementation.
5673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5674         Likewise.
5675         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5676         POWER8 finite implementation.
5677         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5680         power8 implementation.
5681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5682         file: POWER8 isinf ifunc implementation.
5683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5684         POWER8 implementation.
5685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5686         Likewise.
5687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5688         isinf implementation.
5689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5691         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5692         (INIT_ARCH): Add hwcap2 initialization.
5693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5694         power8 implementation.
5695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5696         file: POWER8 isnan ifunc implementation.
5697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5698         POWER8 implementation.
5699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5700         Likewise.
5701         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5702         isnan implementation.
5703         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5705 2014-02-27  Joey Ye  <joey.ye@arm.com>
5707         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5708         (_FP_NANFRAC_Q): Set to zero.
5710 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5712         [BZ #16623]
5713         * math/auto-libm-test-in: New test inputs.
5714         * math/auto-libm-test-out: Regenerate.
5715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5716         and DA.
5717         (__cos): Likewise.
5718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5720 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
5722         * scripts/evaluate-test.sh: Take new argument indicating whether
5723         failure is expected.
5724         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5725         indicating whether failure is expected.
5726         * conform/Makefile (test-xfail-run-conformtest): New variable.
5727         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5728         level.
5729         * posix/Makefile (test-xfail-annexc): New variable.
5730         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5732 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5734         * argp/Makefile: Include Makeconfig immediately after defining
5735         subdir.
5736         * assert/Makefile: Likewise.
5737         * benchtests/Makefile: Likewise.
5738         * catgets/Makefile: Likewise.
5739         * conform/Makefile: Likewise.
5740         * crypt/Makefile: Likewise.
5741         * csu/Makefile: Likewise.
5742         (all): Remove target.
5743         * ctype/Makefile: Include Makeconfig immediately after defining
5744         subdir.
5745         * debug/Makefile: Likewise.
5746         * dirent/Makefile: Likewise.
5747         * dlfcn/Makefile: Likewise.
5748         * gmon/Makefile: Likewise.
5749         * gnulib/Makefile: Likewise.
5750         * grp/Makefile: Likewise.
5751         * gshadow/Makefile: Likewise.
5752         * hesiod/Makefile: Likewise.
5753         * hurd/Makefile: Likewise.
5754         (all): Remove target.
5755         * iconvdata/Makefile: Include Makeconfig immediately after
5756         defining subdir.
5757         * inet/Makefile: Likewise.
5758         * intl/Makefile: Likewise.
5759         * io/Makefile: Likewise.
5760         * libio/Makefile: Likewise.
5761         (all): Remove target.
5762         * locale/Makefile: Include Makeconfig immediately after defining
5763         subdir.
5764         * login/Makefile: Likewise.
5765         * mach/Makefile: Likewise.
5766         (all): Remove target.
5767         * malloc/Makefile: Include Makeconfig immediately after defining
5768         subdir.
5769         (all): Remove target.
5770         * manual/Makefile: Include Makeconfig immediately after defining
5771         subdir.
5772         * math/Makefile: Likewise.
5773         * misc/Makefile: Likewise.
5774         * nis/Makefile: Likewise.
5775         * nss/Makefile: Likewise.
5776         * po/Makefile: Likewise.
5777         (all): Remove target.
5778         * posix/Makefile: Include Makeconfig immediately after defining
5779         subdir.
5780         * pwd/Makefile: Likewise.
5781         * resolv/Makefile: Likewise.
5782         * resource/Makefile: Likewise.
5783         * rt/Makefile: Likewise.
5784         * setjmp/Makefile: Likewise.
5785         * shadow/Makefile: Likewise.
5786         * signal/Makefile: Likewise.
5787         * socket/Makefile: Likewise.
5788         * soft-fp/Makefile: Likewise.
5789         * stdio-common/Makefile: Likewise.
5790         * stdlib/Makefile: Likewise.
5791         * streams/Makefile: Likewise.
5792         * string/Makefile: Likewise.
5793         * sunrpc/Makefile: Likewise.
5794         (all): Remove target.
5795         * sysvipc/Makefile: Include Makeconfig immediately after defining
5796         subdir.
5797         * termios/Makefile: Likewise.
5798         * time/Makefile: Likewise.
5799         * timezone/Makefile: Likewise.
5800         (all): Remove target.
5801         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5802         subdir.
5803         * wctype/Makefile: Likewise.
5805 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5807         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5808         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5809         (libc_feholdexcept_setround_mips): Ditto.
5810         (libc_feholdsetround): New.
5811         (libc_feholdsetroundf): New.
5812         (libc_feholdsetroundl): New.
5813         (libc_feupdateenv_test_mips): New.
5814         (libc_feupdateenv_test): New.
5815         (libc_feupdateenv_testf): New.
5816         (libc_feupdateenv_testl): New.
5817         (libc_feresetround): New.
5818         (libc_feresetroundf): New.
5819         (libc_feresetroundl): New.
5820         (libc_fetestexcept_mips): New.
5821         (libc_fetestexcept): New.
5822         (libc_fetestexceptf): New.
5823         (libc_fetestexceptl): New.
5824         (HAVE_RM_CTX): New.
5825         (libc_feholdexcept_setround_mips_ctx): New.
5826         (libc_feholdexcept_setround_ctx): New.
5827         (libc_feholdexcept_setroundf_ctx): New.
5828         (libc_feholdexcept_setroundl_ctx): New.
5829         (libc_fesetenv_mips_ctx): New.
5830         (libc_fesetenv_ctx): New.
5831         (libc_fesetenv_ctxf): New.
5832         (libc_fesetenv_ctxl): New.
5833         (libc_feupdateenv_mips_ctx): New.
5834         (libc_feupdateenv_ctx): New.
5835         (libc_feupdateenvf_ctx): New.
5836         (libc_feupdateenvl_ctx): New.
5837         (libc_feholdsetround_mips_ctx): New.
5838         (libc_feholdsetround_ctx): New.
5839         (libc_feholdsetroundf_ctx): New.
5840         (libc_feholdsetroundl_ctx): New.
5841         (libc_feresetround_mips_ctx): New.
5842         (libc_feresetround_ctx): New.
5843         (libc_feresetroundf_ctx): New.
5844         (libc_feresetroundl_ctx): New.
5846 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5848         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5850         * manual/ipc.texi: New file.
5851         * manual/Makefile (chapters): Add ipc.
5852         * manual/job.texi: Add "Inter-Process Communication" to next.
5853         * manual/process.texi: Add "Inter-Process Communication" to prev.
5855 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5859 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5861         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5863         * manual/arith.texi: Fix spaces after sentences.
5864         * manual/charset.texi: Likewise.
5865         * manual/errno.texi: Likewise.
5866         * manual/install.texi: Likewise.
5867         * manual/llio.texi: Likewise.
5868         * manual/locale.texi: Likewise.
5869         * manual/maint.texi: Likewise.
5870         * manual/math.texi: Likewise.
5871         * manual/memory.texi: Likewise.
5872         * manual/message.texi: Likewise.
5873         * manual/probes.texi: Likewise.
5874         * manual/resource.texi: Likewise.
5875         * manual/signal.texi: Likewise.
5876         * manual/socket.texi: Likewise.
5877         * manual/stdio.texi: Likewise.
5878         * manual/string.texi: Likewise.
5879         * manual/time.texi: Likewise.
5880         * manual/users.texi: Likewise.
5882 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5884         [BZ #16632]
5885         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5886         _DEFAULT_SOURCE is defined.
5888 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5889             Carlos O'Donell  <carlos@redhat.com>
5891         [BZ #16613]
5892         * elf/dl-tls.c (_dl_count_modids): New function.
5893         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5894         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5895         audit library and increment generation counter.
5896         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5897         * elf/tst-audit9.c: New file.
5898         * elf/tst-auditmod9a.c: New file.
5899         * elf/tst-auditmod9b.c: New file.
5900         * elf/Makefile: Add rules to build and run tst-audit9.
5902 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5904         [BZ #15347]
5905         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5907 2014-02-25  Will Newton  <will.newton@linaro.org>
5909         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5910         (__longjmp): Restore sp and lr before restoring callee
5911         saved registers.  Add longjmp and longjmp_target
5912         SystemTap probe point.
5913         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5914         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5915         Define to zero to match jmpbuf layout.
5916         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5917         (__sigsetjmp): Save sp and lr before saving callee
5918         saved registers.  Add setjmp SystemTap probe point.
5920 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5922         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5924 2014-02-24  Andreas Schwab  <schwab@suse.de>
5926         [BZ #15804]
5927         * elf/pldd.c (wait_for_ptrace_stop): New function.
5928         (main): Call it after attaching.
5930 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5932         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5933         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5934         Versions files is now verboten.
5935         * hurd/Versions (libc: GLIBC_2.0):
5936         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5937         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5938         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5939         * mach/Versions: Likewise.
5941         * csu/Versions: Remove unused %include.
5942         * resolv/Versions: Likewise.
5944 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5946         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5947         ($(objpfx)check-local-headers.out): Likewise.
5948         ($(objpfx)begin-end-check.out): Likewise.
5949         * Makerules (check-abi-%.out): Likewise.
5950         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5951         ($(objpfx)test2.cat): Likewise.
5952         ($(objpfx)de/libc.cat): Likewise.
5953         ($(objpfx)test-gencat.out): Likewise.
5954         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5955         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5956         ($(objpfx)noload-mem): Likewise.
5957         ($(objpfx)tst-pathopt.out): Likewise.
5958         ($(objpfx)tst-rtld-load-self.out): Likewise.
5959         ($(objpfx)tst-array1-cmp.out): Likewise.
5960         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5961         ($(objpfx)tst-array2-cmp.out): Likewise.
5962         ($(objpfx)tst-array3-cmp.out): Likewise.
5963         ($(objpfx)tst-array4-cmp.out): Likewise.
5964         ($(objpfx)tst-array5-cmp.out): Likewise.
5965         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5966         ($(objpfx)check-textrel.out): Likewise.
5967         ($(objpfx)check-execstack.out): Likewise.
5968         ($(objpfx)check-localplt.out): Likewise.
5969         ($(objpfx)order2-cmp.out): Likewise.
5970         ($(objpfx)tst-leaks1-mem): Likewise.
5971         ($(objpfx)tst-leaks1-static-mem): Likewise.
5972         ($(objpfx)tst-initorder-cmp.out): Likewise.
5973         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5974         ($(objpfx)tst-unused-dep.out): Likewise.
5975         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5976         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5977         * iconv/Makefile (test-iconvconfig): Likewise.
5978         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5979         ($(objpfx)iconv-test.out): Likewise.
5980         ($(objpfx)tst-tables.out): Likewise.
5981         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5982         ($(objpfx)tst-gettext.out): Likewise.
5983         ($(objpfx)tst-translit.out): Likewise.
5984         ($(objpfx)tst-gettext2.out): Likewise.
5985         ($(objpfx)tst-gettext4.out): Likewise.
5986         ($(objpfx)tst-gettext6.out): Likewise.
5987         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5988         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5989         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5990         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5991         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5992         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5993         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5994         ($(objpfx)wordexp-tst.out): Likewise.
5995         ($(objpfx)annexc.out): Likewise.
5996         ($(objpfx)tst-fnmatch-mem): Likewise.
5997         ($(objpfx)bug-regex2-mem): Likewise.
5998         ($(objpfx)bug-regex14-mem): Likewise.
5999         ($(objpfx)bug-regex21-mem): Likewise.
6000         ($(objpfx)bug-regex31-mem): Likewise.
6001         ($(objpfx)tst-vfork3-mem): Likewise.
6002         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6003         ($(objpfx)tst-pcre-mem): Likewise.
6004         ($(objpfx)tst-boost-mem): Likewise.
6005         ($(objpfx)tst-getconf.out): Likewise.
6006         ($(objpfx)bug-ga2-mem): Likewise.
6007         ($(objpfx)bug-glob2-mem): Likewise.
6008         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6009         ($(objpfx)mtrace-tst-leaks2): Likewise.
6010         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6011         ($(objpfx)tst-printf.out): Likewise.
6012         ($(objpfx)tst-setvbuf1.out): Likewise.
6013         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6014         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6015         ($(objpfx)tst-fmtmsg.out): Likewise.
6016         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6017         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6019         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6020         * bits/sigaction.h [__USE_MISC]: Likewise.
6021         * bits/waitstatus.h: Update #endif comments.
6022         * ctype/ctype.h: Likewise.
6023         * dirent/dirent.h: Likewise.
6024         [__USE_MISC]: Remove redundant conditionals.
6025         * grp/grp.h: Update #endif comments.
6026         [__USE_GNU]: Remove redundant conditionals.
6027         [__USE_MISC]: Likewise.
6028         * inet/netinet/in.h [__USE_GNU]: Likewise.
6029         * io/sys/stat.h [__USE_MISC]: Likewise.
6030         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6031         * libio/bits/stdio.h: Update #endif comments.
6032         [__USE_MISC]: Remove redundant conditionals.
6033         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6034         * libio/stdio.h: Update #endif comments.
6035         [__USE_MISC]: Remove redundant conditionals.
6036         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6037         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6038         * math/math.h: Update #else and #endif comments.
6039         [__USE_MISC]: Remove redundant conditionals.
6040         * misc/sys/uio.h: Update #endif comments.
6041         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6042         * posix/glob.h [__USE_MISC]: Likewise.
6043         * posix/sys/types.h: Update #endif comments.
6044         [__USE_MISC]: Remove redundant conditionals.
6045         * posix/sys/wait.h: Update #endif comments.
6046         [__USE_MISC]: Remove redundant conditionals.
6047         * posix/unistd.h: Update #endif comments.
6048         [__USE_MISC]: Remove redundant conditionals.
6049         * pwd/pwd.h [__USE_GNU]: Likewise.
6050         [__USE_MISC]: Likewise.
6051         * resolv/netdb.h [__USE_GNU]: Likewise.
6052         * signal/signal.h: Update #endif comments.
6053         [__USE_MISC]: Remove redundant conditionals.
6054         * stdlib/stdlib.h: Update #else and #endif comments.
6055         [__USE_MISC]: Remove redundant conditionals.
6056         [__USE_GNU]: Likewise.
6057         * string/bits/string2.h [__USE_MISC]: Likewise.
6058         * string/string.h: Update #endif comments.
6059         [__USE_MISC]: Remove redundant conditionals.
6060         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6061         Likewise.
6062         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6063         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6064         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6065         Likewise.
6066         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6067         Likewise.
6068         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6069         comments.
6070         [__USE_MISC]: Remove redundant conditionals.
6071         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6072         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6073         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6074         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6075         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6076         Likewise.
6077         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6078         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6079         Likewise.
6080         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6081         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6082         Likewise.
6083         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6084         Likewise.
6085         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6086         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6087         Likewise.
6088         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6089         Likewise.
6090         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6091         * sysdeps/x86/bits/string.h: Update #endif comments.
6092         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6093         conditionals.
6094         * time/sys/time.h: Update #endif comments.
6095         * time/time.h: Likewise.
6096         [__USE_MISC]: Remove redundant conditionals.
6098 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6100         [BZ #16600]
6101         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6103 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6105         * Versions.def (librt): Add GLIBC_2.17.
6107 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6109         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6110         synonym for _SYS_AUXV_H to allow direct inclusion.
6111         * sysdeps/sparc/bits/hwcap.h: Likewise.
6112         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6113         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6114         * sysdeps/sparc/sysdep.h: Likewise.
6116 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6118         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6120 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6122         * benchtests/bench-strrchr.c: Print length instead of position.
6124 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6126         [BZ #16611]
6127         * sysdeps/unix/sysv/linux/kernel-features.h
6128         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6129         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6130         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6131         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6132         Likewise.
6133         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6134         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6135         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6136         (__ASSUME_SENDMMSG): Define instead of using previous
6137         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6138         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6139         (__ASSUME_SENDMMSG_SYSCALL): Define.
6140         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6141         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6142         Likewise.
6143         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6144         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6145         Likewise.
6146         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6147         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6148         Likewise.
6149         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6150         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6151         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6152         [__ASSUME_SENDMMSG]: Change conditionals to
6153         [__ASSUME_SENDMMSG_SOCKETCALL].
6154         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6155         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6156         Define.
6157         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6158         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6159         Likewise.
6160         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6161         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6162         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6163         [!__ASSUME_SENDMMSG]: Change conditional to
6164         [!__ASSUME_SENDMMSG_SOCKETCALL].
6165         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6166         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6167         Define.
6169         [BZ #16610]
6170         * sysdeps/unix/sysv/linux/kernel-features.h
6171         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6172         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6173         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6174         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6175         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6176         [__i386__ || __sparc__]
6177         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6178         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6179         (__ASSUME_RECVMMSG): Define instead of using previous
6180         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6181         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6182         (__ASSUME_RECVMMSG_SYSCALL): Define.
6183         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6184         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6185         Likewise.
6186         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6187         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6188         Likewise.
6189         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6190         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6191         Likewise.
6192         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6193         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6194         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6195         [__ASSUME_RECVMMSG]: Change condition to
6196         [__ASSUME_RECVMMSG_SOCKETCALL].
6197         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6198         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6199         Define.
6200         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6201         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6202         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6203         Likewise.
6204         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6205         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6206         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6207         [!__ASSUME_RECVMMSG]: Change condition to
6208         [!__ASSUME_RECVMMSG_SOCKETCALL].
6209         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6210         (__ASSUME_RECVMMSG_SYSCALL): Define.
6212         [BZ #16609]
6213         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6214         __powerpc__ || __s390__ || __sh__ || __sparc__]
6215         (__ASSUME_SOCKETCALL): Define.
6216         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6217         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6218         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6219         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6220         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6221         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6222         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6223         (__ASSUME_ACCEPT4): Define instead of using previous
6224         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6225         __powerpc__ || __sparc__ || __s390__)] condition.
6226         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6227         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6228         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6229         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6230         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6231         [!__ASSUME_ACCEPT4]: Change condition to
6232         [!__ASSUME_ACCEPT4_SOCKETCALL].
6233         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6234         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6235         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6236         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6237         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6238         __ASSUME_ACCEPT4_SYSCALL.
6239         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6240         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6242         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6243         __ASSUME_ACCEPT4_SYSCALL.
6244         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6245         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6246         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6247         [__ASSUME_ACCEPT4]: Change condition to
6248         [__ASSUME_ACCEPT4_SOCKETCALL].
6249         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6250         (__ASSUME_SOCKETCALL): Define.
6251         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6253         (__ASSUME_SOCKETCALL): Define.
6254         (__ASSUME_ACCEPT4): Remove.
6255         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6256         Define.
6257         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6258         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6259         Likewise.
6260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6261         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6263         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6264         macro.
6265         (HWCAP_ARM_LPAE): Likewise.
6266         (HWCAP_ARM_EVTSTRM): Likewise.
6267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6268         Add vpfd32, lpae and evtstrm.
6269         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6270         Increase to 22.
6272 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6274         * math/auto-libm-test-in: Add tests of clog10.
6275         * math/auto-libm-test-out: Regenerated.
6276         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6277         * sysdeps/i386/fpu/libm-test-ulps: Update.
6278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6280 2014-02-18  Andreas Schwab  <schwab@suse.de>
6282         [BZ #16574]
6283         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6284         Store non-zero if the second buffer was newly allocated.
6285         (send_dg): Likewise.
6286         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6287         to send_vc and send_dg.
6288         (res_nsend): Pass NULL for ansp2_malloced.
6289         * resolv/res_query.c (__libc_res_nquery): Add parameter
6290         answerp2_malloced and pass it down to __libc_res_nsend.
6291         (res_nquery): Pass additional NULL to __libc_res_nquery.
6292         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6293         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6294         second answer buffer if answerp2_malloced was set.
6295         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6296         (__libc_res_nquerydomain): Add parameter
6297         answerp2_malloced and pass it down to __libc_res_nquery.
6298         (res_nquerydomain): Pass additional NULL to
6299         __libc_res_nquerydomain.
6300         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6301         additional NULL to __libc_res_nsend and __libc_res_nquery.
6302         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6303         additional NULL to __libc_res_nsearch.
6304         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6305         parameter of __libc_res_nsearch to check for separately allocated
6306         second buffer.
6307         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6308         __libc_res_nquery.
6309         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6310         additional NULL to __libc_res_nquery.
6311         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6312         __libc_res_nsearch.
6313         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6314         * include/resolv.h: Update prototypes of __libc_res_nquery,
6315         __libc_res_nsearch, __libc_res_nsend.
6317 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6319         * math/auto-libm-test-in: Add tests of fma.
6320         * math/auto-libm-test-out: Regenerated.
6321         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6322         (fma_towardzero_test_data): Likewise.
6323         (fma_downward_test_data): Likewise.
6324         (fma_upward_test_data): Likewise.
6325         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6326         mpc_mode.
6327         (rounding_modes): Add values for new field.
6328         (func_calc_method): Add value mpfr_fff_f.
6329         (func_calc_desc): Add mpfr_fff_f union field.
6330         (test_function): Add field exact_args.
6331         (FUNC): Add macro argument EXACT_ARGS.
6332         (FUNC_mpfr_f_f): Update call to FUNC.
6333         (FUNC_mpfr_f_f): Likewise.
6334         (FUNC_mpfr_ff_f): Likewise.
6335         (FUNC_mpfr_if_f): Likewise.
6336         (FUNC_mpc_c_f): Likewise.
6337         (FUNC_mpc_c_c): Likewise.
6338         (test_functions): Add fma.  Update calls to FUNC.
6339         (handle_input_arg): Add argument exact_args.
6340         (add_test): Update call to handle_input_arg.
6341         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6342         (output_for_one_input_case): Update call to calc_generic_results.
6343         Recalculate exact zero results in each rounding mode.
6345         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6346         non-negative before setting low bit.
6347         * math/auto-libm-test-in: Mark one asin test possibly having
6348         spurious underflow.
6349         * math/auto-libm-test-out: Regenerated.
6350         * sysdeps/i386/fpu/libm-test-ulps: Update.
6351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6355         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6356         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6357         ports/sysdeps/unix/sysv/linux/microblaze.
6358         * README: Add missing listing for microblaze*-*-linux-gnu.
6360 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6362         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6363         * sysdeps/unix/sysv/linux/ia64: Move directory from
6364         ports/sysdeps/unix/sysv/linux/ia64.
6365         * README: Update listing for ia64-*-linux-gnu.
6367 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6368             Joseph Myers  <joseph@codesourcery.com>
6370         * Makeconfig (test-name): New variable.
6371         (evaluate-test): Likewise.
6372         * Makerules (do-test-clean): Remove .test-result files.
6373         (common-mostlyclean): Likewise.
6374         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6375         * scripts/evaluate-test.sh: New file.
6377 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6379         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6380         separate $(objpfx)tst-fopenloc-cmp.out and
6381         $(objpfx)tst-fopenloc-mem.out targets.
6382         (tests): Update dependencies.
6383         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6384         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6385         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6386         (tst-rxspencer-no-utf8-ARGS): New variable.
6387         (tst-rxspencer-no-utf8-ENV): Likewise.
6388         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6389         instead of $(objpfx)tst-rxspencer-mem.
6390         ($(objpfx)tst-rxspencer-mem): Change target to
6391         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6392         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6393         * posix/tst-rxspencer-no-utf8.c: New file.
6395         * elf/Makefile ($(objpfx)order.out): Remove rule.
6396         [$(run-built-tests) = yes] (tests): Depend on
6397         $(objpfx)order-cmp.out.
6398         ($(objpfx)order-cmp.out): New rule.
6399         [$(run-built-tests) = yes] (tests): Depend on
6400         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6401         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6402         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6403         $(objpfx)tst-array5-static-cmp.out.
6404         ($(objpfx)tst-array1.out): Remove rule.
6405         ($(objpfx)tst-array1-cmp.out): New rule.
6406         ($(objpfx)tst-array1-static.out): Remove rule.
6407         ($(objpfx)tst-array1-static-cmp.out): New rule.
6408         ($(objpfx)tst-array2.out): Remove rule.
6409         ($(objpfx)tst-array2-cmp.out): New rule.
6410         ($(objpfx)tst-array3.out): Remove rule.
6411         ($(objpfx)tst-array3-cmp.out): New rule.
6412         ($(objpfx)tst-array4.out): Remove rule.
6413         ($(objpfx)tst-array4-cmp.out): New rule.
6414         ($(objpfx)tst-array5.out): Remove rule.
6415         ($(objpfx)tst-array5-cmp.out): New rule.
6416         ($(objpfx)tst-array5-static.out): Remove rule.
6417         ($(objpfx)tst-array5-static-cmp.out): New rule.
6418         [$(run-built-tests) = yes] (tests): Depend on
6419         $(objpfx)order2-cmp.out.
6420         ($(objpfx)order2.out): Remove rule.
6421         ($(objpfx)order2-cmp.out): New rule.
6422         ($(objpfx)tst-initorder.out): Remove rule.
6423         [$(run-built-tests) = yes] (tests): Depend on
6424         $(objpfx)tst-initorder-cmp.out.
6425         ($(objpfx)tst-initorder-cmp.out): New rule.
6426         ($(objpfx)tst-initorder2.out): Remove rule.
6427         [$(run-built-tests) = yes] (tests): Depend on
6428         $(objpfx)tst-initorder2-cmp.out.
6429         ($(objpfx)tst-initorder2-cmp.out): New rule.
6430         [$(run-built-tests) = yes] (tests): Depend on
6431         $(objpfx)tst-unused-dep-cmp.out.
6432         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6433         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6434         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6435         on $(objpfx)tst-setvbuf1-cmp.out.
6436         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6437         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6438         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6439         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6440         ($(objpfx)tst-svc.out): Remove rule.
6441         ($(objpfx)tst-svc-cmp.out): New rule.
6443 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6445         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6446         * ctype/ctype.h [__USE_MISC]: Likewise.
6447         * dirent/dirent.h [__USE_MISC]: Likewise.
6448         * grp/grp.h [__USE_MISC]: Likewise.
6449         * io/fcntl.h [__USE_MISC]: Likewise.
6450         * io/sys/stat.h [__USE_MISC]: Likewise.
6451         * libio/stdio.h [__USE_MISC]: Likewise.
6452         * posix/unistd.h [__USE_MISC]: Likewise.
6453         * pwd/pwd.h [__USE_MISC]: Likewise.
6454         * stdlib.h [__USE_MISC]: Likewise.
6455         * string/bits/string2.h [__USE_MISC]: Likewise.
6456         * string/string.h [__USE_MISC]: Likewise.
6457         * time/time.h [__USE_MISC]: Likewise.
6459 2014-02-13  Andreas Schwab  <schwab@suse.de>
6461         [BZ #16574]
6462         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6463         second answer buffer if it was separately allocated.
6465 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6467         * sysdeps/mips/math-tests.h: Include <features.h>.
6468         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6469         (ROUNDING_TESTS_long_double): Do not define.
6470         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6471         (EXCEPTION_TESTS_long_double): Likewise.
6472         * sysdeps/mips/mips64/libm-test-ulps: Update.
6474         * include/features.h (__USE_BSD): Remove macro definitions.
6475         (__USE_SVID): Likewise.
6476         (_BSD_SOURCE): Likewise.
6477         (_SVID_SOURCE): Likewise.
6478         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6479         from definition of _DEFAULT_SOURCE.
6480         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6481         [_DEFAULT_SOURCE].
6482         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6483         * bits/mman.h [__USE_BSD]: Likewise.
6484         * bits/termios.h [__USE_BSD]: Likewise.
6485         * bits/waitstatus.h [__USE_BSD]: Likewise.
6486         * ctype/ctype.h [__USE_SVID]: Likewise.
6487         * dirent/dirent.h [__USE_BSD]: Likewise.
6488         * grp/grp.h [__USE_SVID]: Likewise.
6489         [__USE_BSD]: Likewise.
6490         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6491         * io/fcntl.h [__USE_BSD]: Likewise.
6492         * io/ftw.h [__USE_BSD]: Likewise.
6493         * io/sys/stat.h [__USE_BSD]: Likewise.
6494         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6495         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6496         * libio/stdio.h [__USE_SVID]: Likewise.
6497         [__USE_BSD]: Likewise.
6498         * math/math.h [__USE_SVID]: Likewise.
6499         [__USE_BSD]: Likewise.
6500         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6501         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6502         * misc/search.h [__USE_SVID]: Likewise.
6503         * misc/sys/mman.h [__USE_BSD]: Likewise.
6504         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6505         * misc/sys/uio.h [__USE_BSD]: Likewise.
6506         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6507         * posix/glob.h [__USE_BSD]: Likewise.
6508         * posix/regex.h [__USE_BSD]: Likewise.
6509         * posix/sys/types.h [__USE_BSD]: Likewise.
6510         [__USE_SVID]: Likewise.
6511         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6512         * posix/sys/wait.h [__USE_BSD]: Likewise.
6513         [__USE_SVID]: Likewise.
6514         * posix/unistd.h [__USE_BSD]: Likewise.
6515         [__USE_SVID]: Likewise.
6516         * pwd/pwd.h [__USE_SVID]: Likewise.
6517         * resolv/netdb.h [__USE_BSD]: Likewise.
6518         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6519         * signal/signal.h [__USE_BSD]: Likewise.
6520         [__USE_SVID]: Likewise.
6521         * socket/sys/socket.h [__USE_BSD]: Likewise.
6522         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6523         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6524         [__USE_SVID]: Likewise.
6525         * string/bits/string2.h [__USE_BSD]: Likewise.
6526         [__USE_SVID]: Likewise.
6527         * string/bits/string3.h [__USE_BSD]: Likewise.
6528         * string/endian.h [__USE_BSD]: Likewise.
6529         * string/string.h [__USE_SVID]: Likewise.
6530         [__USE_BSD]: Likewise.
6531         * string/strings.h [__USE_BSD]: Likewise.
6532         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6533         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6534         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6535         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6536         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6537         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6540         Likewise.
6541         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6542         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6545         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6550         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6551         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6554         Likewise.
6555         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6556         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6557         * termios/termios.h [__USE_BSD]: Likewise.
6558         * time/sys/time.h [__USE_BSD]: Likewise.
6559         * time/time.h [__USE_BSD]: Likewise.
6560         [__USE_SVID]: Likewise.
6562         * Makefile (subdir_targets): Remove subdir_lint.out.
6564         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6565         (do-tst-printf): Likewise.
6566         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6567         $(objpfx)tst-printf.out.
6569         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6571         * Makerules (check-abi-%): Change target to
6572         $(objpfx)check-abi-%.out.
6573         (check-abi target): Update dependencies.
6574         (check-abi-pattern variable): Redirect output of diff to $@.
6575         (check-abi variable): Likewise.
6576         * elf/Makefile (check-abi): Update dependencies.
6578         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6579         unused.
6580         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6581         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6582         subnormal range.
6583         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6584         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6585         value has largest subnormal exponent.
6586         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6587         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6588         * sysdeps/aarch64/soft-fp/sfp-machine.h
6589         (_FP_TININESS_AFTER_ROUNDING): New macro.
6590         * sysdeps/alpha/soft-fp/sfp-machine.h
6591         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6592         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6593         Likewise.
6594         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6595         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6596         * sysdeps/mips/soft-fp/sfp-machine.h
6597         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6598         * sysdeps/powerpc/soft-fp/sfp-machine.h
6599         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6600         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6601         Likewise.
6602         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6603         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6604         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6606         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6607         Likewise.
6609 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6611         [BZ #16545]
6612         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6613         model 1.
6615 2014-02-12  Richard Henderson  <rth@redhat.com>
6617         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6618         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6619         * sysdeps/unix/sysv/linux/alpha: Move directory from
6620         ports/sysdeps/unix/sysv/linux/alpha.
6621         * README: Update listing for alpha-*-linux-gnu.
6623 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6625         * include/features.h: Update comment documenting feature test
6626         macros.
6627         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6628         _DEFAULT_SOURCE.
6629         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6630         (_SVID_SOURCE): Likewise.
6631         (_DEFAULT_SOURCE): Update description of default features.
6632         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6633         with _GNU_SOURCE.
6634         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6635         (S_ISVTX): Likewise.
6636         * manual/math.texi (Mathematical Constants): Likewise.
6637         * manual/signal.texi (Interrupted Primitives): Likewise.
6638         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6639         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6640         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6641         Don't refer to _SVID_SOURCE in warning text.
6643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6645         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6646         already defined.
6647         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6648         * sysdeps/mips/dl-lookup.c: Remove.
6649         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6651 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6653         [BZ #16447]
6654         * math/auto-libm-test-in: Add testcase for expl.
6655         * math/auto-libm-test-out: Regenerate.
6656         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6657         calculation of unsafe.
6658         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6660 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6662         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6663         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6664         ports/sysdeps/unix/sysv/linux/aarch64.
6665         * README: Update listing for aarch64*-*-linux-gnu.
6667 2014-02-11  Will Newton  <will.newton@linaro.org>
6669         * manual/probes.texi (Mathematical Function Probes): Use
6670         "triggered" instead of "hit".
6672         * manual/probes.texi (Internal Probes): Add documentation
6673         of setjmp, longjmp and longjmp_target probes.
6675         * include/stap-probe.h: Add comment about probe argument
6676         format.
6678         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6679         definition.  (tr_where, tr_freehook, tr_mallochook,
6680         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6682 2014-02-11  David S. Miller  <davem@davemloft.net>
6684         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6685         processing int_tests.
6687 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6689         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6690         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6691         * sysdeps/unix/sysv/linux/mips: Move directory from
6692         ports/sysdeps/unix/sysv/linux/mips.
6693         * README: Update listing for mips-*-linux-gnu and
6694         mips64-*-linux-gnu.
6696 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6698         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6699         * sysdeps/unix/sysv/linux/m68k: Move directory from
6700         ports/sysdeps/unix/sysv/linux/m68k.
6701         * README: Update listing for m68k-*-linux-gnu.
6703 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
6705         * sysdeps/tile: Move directory from ports/sysdeps/tile.
6706         * sysdeps/unix/sysv/linux/generic: Move directory from
6707         ports/sysdeps/unix/sysv/linux/generic.
6708         * sysdeps/unix/sysv/linux/tile: Move directory from
6709         ports/sysdeps/unix/sysv/linux/tile.
6710         * README: Update listing for tile*-*-linux-gnu.
6712 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
6714         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6715         __builtin_expect.
6716         * benchtests/bench-memmem.c (simple_memmem): Likewise.
6717         * catgets/open_catalog.c (__open_catalog): Likewise.
6718         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6719         * debug/confstr_chk.c: Likewise.
6720         * debug/fread_chk.c (__fread_chk): Likewise.
6721         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6722         * debug/getgroups_chk.c: Likewise.
6723         * debug/mbsnrtowcs_chk.c: Likewise.
6724         * debug/mbsrtowcs_chk.c: Likewise.
6725         * debug/mbstowcs_chk.c: Likewise.
6726         * debug/memcpy_chk.c: Likewise.
6727         * debug/memmove_chk.c: Likewise.
6728         * debug/mempcpy_chk.c: Likewise.
6729         * debug/memset_chk.c: Likewise.
6730         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6731         * debug/strcat_chk.c (__strcat_chk): Likewise.
6732         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6733         * debug/strncat_chk.c (__strncat_chk): Likewise.
6734         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6735         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6736         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6737         * debug/wcpncpy_chk.c: Likewise.
6738         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6739         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6740         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6741         * debug/wcsncpy_chk.c: Likewise.
6742         * debug/wcsnrtombs_chk.c: Likewise.
6743         * debug/wcsrtombs_chk.c: Likewise.
6744         * debug/wcstombs_chk.c: Likewise.
6745         * debug/wmemcpy_chk.c: Likewise.
6746         * debug/wmemmove_chk.c: Likewise.
6747         * debug/wmempcpy_chk.c: Likewise.
6748         * debug/wmemset_chk.c: Likewise.
6749         * dirent/scandirat.c (SCANDIRAT): Likewise.
6750         * dlfcn/dladdr1.c (dladdr1): Likewise.
6751         * dlfcn/dladdr.c (dladdr): Likewise.
6752         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6753         * dlfcn/dlerror.c (__dlerror): Likewise.
6754         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6755         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6756         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6757         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6758         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6759         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6760         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6761         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6762         Likewise.
6763         * elf/dl-conflict.c: Likewise.
6764         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6765         * elf/dl-dst.h: Likewise.
6766         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6767         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6769         * elf/dl-init.c (call_init, _dl_init): Likewise.
6770         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6771         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6772         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6773         Likewise.
6774         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6775         Likewise.
6776         * elf/dl-minimal.c (__libc_memalign): Likewise.
6777         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6778         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6779         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6780         * elf/dl-sym.c (do_sym): Likewise.
6781         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6782         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6783         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6784         * elf/dl-writev.h (_dl_writev): Likewise.
6785         * elf/ldconfig.c (search_dir): Likewise.
6786         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6787         (dl_main): Likewise.
6788         * elf/setup-vdso.h (setup_vdso): Likewise.
6789         * grp/compat-initgroups.c (compat_call): Likewise.
6790         * grp/fgetgrent.c (fgetgrent): Likewise.
6791         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6792         * grp/putgrent.c (putgrent): Likewise.
6793         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6794         Likewise.
6795         * hurd/hurdinit.c: Likewise.
6796         * iconvdata/8bit-gap.c (struct): Likewise.
6797         * iconvdata/ansi_x3.110.c : Likewise.
6798         * iconvdata/big5.c : Likewise.
6799         * iconvdata/big5hkscs.c : Likewise.
6800         * iconvdata/cp1255.c: Likewise.
6801         * iconvdata/cp1258.c : Likewise.
6802         * iconvdata/cp932.c : Likewise.
6803         * iconvdata/euc-cn.c: Likewise.
6804         * iconvdata/euc-jisx0213.c : Likewise.
6805         * iconvdata/euc-jp.c: Likewise.
6806         * iconvdata/euc-jp-ms.c : Likewise.
6807         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6808         * iconvdata/gb18030.c : Likewise.
6809         * iconvdata/gbbig5.c (const): Likewise.
6810         * iconvdata/gbgbk.c: Likewise.
6811         * iconvdata/gbk.c : Likewise.
6812         * iconvdata/ibm1364.c : Likewise.
6813         * iconvdata/ibm930.c : Likewise.
6814         * iconvdata/ibm932.c: Likewise.
6815         * iconvdata/ibm933.c : Likewise.
6816         * iconvdata/ibm935.c : Likewise.
6817         * iconvdata/ibm937.c : Likewise.
6818         * iconvdata/ibm939.c : Likewise.
6819         * iconvdata/ibm943.c: Likewise.
6820         * iconvdata/iso_11548-1.c: Likewise.
6821         * iconvdata/iso-2022-cn.c : Likewise.
6822         * iconvdata/iso-2022-cn-ext.c : Likewise.
6823         * iconvdata/iso-2022-jp-3.c: Likewise.
6824         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6825         * iconvdata/iso-2022-kr.c : Likewise.
6826         * iconvdata/iso646.c (gconv_end): Likewise.
6827         * iconvdata/iso_6937-2.c : Likewise.
6828         * iconvdata/iso_6937.c : Likewise.
6829         * iconvdata/iso8859-1.c: Likewise.
6830         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6831         * iconvdata/shift_jisx0213.c : Likewise.
6832         * iconvdata/sjis.c : Likewise.
6833         * iconvdata/t.61.c : Likewise.
6834         * iconvdata/tcvn5712-1.c : Likewise.
6835         * iconvdata/tscii.c: Likewise.
6836         * iconvdata/uhc.c : Likewise.
6837         * iconvdata/unicode.c (gconv_end): Likewise.
6838         * iconvdata/utf-16.c (gconv_end): Likewise.
6839         * iconvdata/utf-32.c (gconv_end): Likewise.
6840         * iconvdata/utf-7.c (base64): Likewise.
6841         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6842         * iconv/gconv_close.c (__gconv_close): Likewise.
6843         * iconv/gconv_open.c (__gconv_open): Likewise.
6844         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6845         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6846         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6847         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6848         (ucs4le_internal_loop_single): Likewise.
6849         * iconv/iconv.c (iconv): Likewise.
6850         * iconv/iconv_close.c: Likewise.
6851         * iconv/loop.c (SINGLE): Likewise.
6852         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6853         * include/atomic.h: Likewise.
6854         * inet/inet6_option.c (option_alloc): Likewise.
6855         * intl/bindtextdom.c (set_binding_values): Likewise.
6856         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6857         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6858         * intl/localealias.c (read_alias_file): Likewise.
6859         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6860         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6861         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6862         * libio/fmemopen.c (fmemopen): Likewise.
6863         * libio/iofgets.c (_IO_fgets): Likewise.
6864         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6865         * libio/iofgetws.c (fgetws): Likewise.
6866         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6867         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6868         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6869         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6870         * locale/findlocale.c (_nl_find_locale): Likewise.
6871         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6872         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6873         Likewise.
6874         * locale/setlocale.c (setlocale): Likewise.
6875         * login/programs/pt_chown.c (main): Likewise.
6876         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6877         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6878         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6879         (mmap, mmap64, mremap, munmap): Likewise.
6880         * math/e_exp2l.c: Likewise.
6881         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6882         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6883         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6884         * math/s_catan.c (__catan): Likewise.
6885         * math/s_catanf.c (__catanf): Likewise.
6886         * math/s_catanh.c (__catanh): Likewise.
6887         * math/s_catanhf.c (__catanhf): Likewise.
6888         * math/s_catanhl.c (__catanhl): Likewise.
6889         * math/s_catanl.c (__catanl): Likewise.
6890         * math/s_ccosh.c (__ccosh): Likewise.
6891         * math/s_ccoshf.c (__ccoshf): Likewise.
6892         * math/s_ccoshl.c (__ccoshl): Likewise.
6893         * math/s_cexp.c (__cexp): Likewise.
6894         * math/s_cexpf.c (__cexpf): Likewise.
6895         * math/s_cexpl.c (__cexpl): Likewise.
6896         * math/s_clog10.c (__clog10): Likewise.
6897         * math/s_clog10f.c (__clog10f): Likewise.
6898         * math/s_clog10l.c (__clog10l): Likewise.
6899         * math/s_clog.c (__clog): Likewise.
6900         * math/s_clogf.c (__clogf): Likewise.
6901         * math/s_clogl.c (__clogl): Likewise.
6902         * math/s_csin.c (__csin): Likewise.
6903         * math/s_csinf.c (__csinf): Likewise.
6904         * math/s_csinh.c (__csinh): Likewise.
6905         * math/s_csinhf.c (__csinhf): Likewise.
6906         * math/s_csinhl.c (__csinhl): Likewise.
6907         * math/s_csinl.c (__csinl): Likewise.
6908         * math/s_csqrt.c (__csqrt): Likewise.
6909         * math/s_csqrtf.c (__csqrtf): Likewise.
6910         * math/s_csqrtl.c (__csqrtl): Likewise.
6911         * math/s_ctan.c (__ctan): Likewise.
6912         * math/s_ctanf.c (__ctanf): Likewise.
6913         * math/s_ctanh.c (__ctanh): Likewise.
6914         * math/s_ctanhf.c (__ctanhf): Likewise.
6915         * math/s_ctanhl.c (__ctanhl): Likewise.
6916         * math/s_ctanl.c (__ctanl): Likewise.
6917         * math/w_pow.c: Likewise.
6918         * math/w_powf.c: Likewise.
6919         * math/w_powl.c: Likewise.
6920         * math/w_scalb.c (sysv_scalb): Likewise.
6921         * math/w_scalbf.c (sysv_scalbf): Likewise.
6922         * math/w_scalbl.c (sysv_scalbl): Likewise.
6923         * misc/error.c (error_tail): Likewise.
6924         * misc/pselect.c (__pselect): Likewise.
6925         * nis/nis_callback.c (__nis_create_callback): Likewise.
6926         * nis/nis_call.c (__nisfind_server): Likewise.
6927         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6928         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6929         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6930         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6931         * nis/nis_lookup.c (nis_lookup): Likewise.
6932         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6933         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6934         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6935         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6936         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6937         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6938         * nis/nss_compat/compat-initgroups.c (add_group)
6939         (internal_getgrent_r): Likewise.
6940         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6941         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6942         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6943         (internal_getspnam_r): Likewise.
6944         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6945         (_nss_nis_getaliasbyname_r): Likewise.
6946         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6947         (_nss_nis_getntohost_r): Likewise.
6948         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6949         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6950         (_nss_nis_getgrgid_r): Likewise.
6951         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6952         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6953         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6954         (_nss_nis_gethostbyname4_r): Likewise.
6955         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6956         (initgroups_netid): Likewise.
6957         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6958         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6959         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6960         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6961         (_nss_nis_getprotobynumber_r): Likewise.
6962         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6963         (_nss_nis_getsecretkey): Likewise.
6964         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6965         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6966         (_nss_nis_getpwuid_r): Likewise.
6967         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6968         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6969         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6970         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6971         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6972         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6973         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6974         Likewise.
6975         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6976         (_nss_nisplus_getntohost_r): Likewise.
6977         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6978         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6979         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6980         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6981         Likewise.
6982         * nis/nss_nisplus/nisplus-initgroups.c
6983         (_nss_nisplus_initgroups_dyn): Likewise.
6984         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6985         (_nss_nisplus_getnetbyaddr_r): Likewise.
6986         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6987         (_nss_nisplus_getprotobynumber_r): Likewise.
6988         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6989         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6990         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6991         Likewise.
6992         * nis/nss_nisplus/nisplus-service.c
6993         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6994         (_nss_nisplus_getservbyport_r): Likewise.
6995         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6996         (_nss_nisplus_getspnam_r): Likewise.
6997         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6998         Likewise.
6999         * nscd/aicache.c (addhstaiX): Likewise.
7000         * nscd/cache.c (cache_search, prune_cache): Likewise.
7001         * nscd/connections.c (register_traced_file, send_ro_fd)
7002         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7003         (main_loop_epoll): Likewise.
7004         * nscd/grpcache.c (addgrbyX): Likewise.
7005         * nscd/hstcache.c (addhstbyX): Likewise.
7006         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7007         * nscd/mem.c (gc, mempool_alloc): Likewise.
7008         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7009         (addinnetgrX): Likewise.
7010         * nscd/nscd-client.h (__nscd_acquire_maplock)
7011         (__nscd_drop_map_ref): Likewise.
7012         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7013         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7014         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7015         Likewise.
7016         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7017         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7018         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7019         (__nscd_get_map_ref): Likewise.
7020         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7021         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7022         Likewise.
7023         * nscd/pwdcache.c (addpwbyX): Likewise.
7024         * nscd/selinux.c (preserve_capabilities): Likewise.
7025         * nscd/servicescache.c (addservbyX): Likewise.
7026         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7027         * posix/fnmatch.c (fnmatch): Likewise.
7028         * posix/getopt.c (_getopt_internal_r): Likewise.
7029         * posix/glob.c (glob, glob_in_dir): Likewise.
7030         * posix/wordexp.c (exec_comm_child): Likewise.
7031         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7032         (getanswer_r, gaih_getanswer_slice): Likewise.
7033         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7034         * resolv/res_init.c: Likewise.
7035         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7036         * resolv/res_query.c (__libc_res_nquery): Likewise.
7037         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7038         Likewise.
7039         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7040         * stdio-common/perror.c (perror): Likewise.
7041         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7042         * stdio-common/tmpnam.c (tmpnam): Likewise.
7043         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7044         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7045         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7046         Likewise.
7047         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7048         * stdlib/putenv.c (putenv): Likewise.
7049         * stdlib/setenv.c (__add_to_environ): Likewise.
7050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7051         * stdlib/strtol_l.c (INTERNAL): Likewise.
7052         * string/memmem.c (memmem): Likewise.
7053         * string/strerror.c (strerror): Likewise.
7054         * string/strnlen.c (__strnlen): Likewise.
7055         * string/test-memmem.c (simple_memmem): Likewise.
7056         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7057         * sunrpc/pm_getport.c (__get_socket): Likewise.
7058         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7059         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7060         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7061         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7062         Likewise.
7063         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7064         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7065         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7066         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7067         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7068         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7069         Likewise.
7070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7071         Likewise.
7072         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7073         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7075         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7076         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7078         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7079         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7080         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7081         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7082         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7083         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7084         Likewise.
7085         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7086         Likewise.
7087         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7088         Likewise.
7089         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7090         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7091         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7092         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7093         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7094         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7095         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7096         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7098         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7099         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7101         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7102         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7104         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7105         Likewise.
7106         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7107         Likewise.
7108         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7109         Likewise.
7110         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7111         Likewise.
7112         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7113         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7114         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7115         Likewise.
7116         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7117         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7118         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7119         * sysdeps/posix/sleep.c: Likewise.
7120         * sysdeps/posix/tempname.c: Likewise.
7121         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7122         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7123         Likewise.
7124         * sysdeps/powerpc/powerpc32/dl-machine.h
7125         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7126         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7128         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7129         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7130         Likewise.
7131         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7132         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7133         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7134         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7135         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7136         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7137         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7138         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7139         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7140         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7141         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7142         (elf_machine_lazy_rel): Likewise.
7143         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7144         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7145         (elf_machine_lazy_rel): Likewise.
7146         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7147         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7148         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7149         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7150         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7151         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7152         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7153         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7154         Likewise.
7155         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7156         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7157         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7158         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7159         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7160         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7161         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7162         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7163         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7164         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7165         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7166         Likewise.
7167         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7168         (__posix_fallocate64_l64): Likewise.
7169         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7170         (posix_fallocate): Likewise.
7171         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7172         Likewise.
7173         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7174         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7175         (getifaddrs_internal): Likewise.
7176         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7177         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7178         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7179         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7180         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7181         (__posix_fallocate64_l64): Likewise.
7182         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7183         Likewise.
7184         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7185         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7186         (__get_clockfreq): Likewise.
7187         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7188         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7189         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7190         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7192         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7193         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7194         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7197         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7198         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7199         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7200         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7201         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7202         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7205         (posix_fallocate): Likewise.
7206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7207         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7208         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7209         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7210         (elf_machine_rela, elf_machine_rela_relative)
7211         (elf_machine_lazy_rel): Likewise.
7212         * time/asctime.c (asctime_internal): Likewise.
7213         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7214         * time/tzset.c (__tzset_parse_tz): Likewise.
7215         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7216         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7217         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7218         * wcsmbs/wcsmbsload.h: Likewise.
7220         [BZ #15894]
7221         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7223         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7224         (arena_get2): Remove THREAD_STATS conditionals.
7225         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7226         (__malloc_stats, int): Likewise.
7228 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7230         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7231         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7233         * manual/setjmp.texi: Fix typos/grammar errors.
7235         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7236         Only return early when n is <= 0.  Delete unused return statement.
7238         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7239         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7240         * debug/tst-longjmp_chk3.c: New file.
7242         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7243         (test_main): Replace code with set_fortify_handler call.
7244         * debug/test-strcpy_chk.c: Likewise.
7245         * debug/tst-chk1.c: Likewise.
7246         * debug/tst-longjmp_chk.c: Likewise.
7247         * test-skeleton.c: Include fcntl.h & paths.h
7248         (set_fortify_handler): Define.
7250         * debug/tst-longjmp_chk.c: Add header comment and include
7251         ../test-skeleton.c.
7252         (do_test): Mark static.
7253         (TEST_FUNCTION): Define.
7255         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7256         (IP_PMTUDISC_INTERFACE): Likewise.
7257         (IP_MULTICAST_IF): Likewise.
7258         (IP_MULTICAST_TTL): Likewise.
7259         (IP_MULTICAST_LOOP): Likewise.
7260         (IP_ADD_MEMBERSHIP): Likewise.
7261         (IP_DROP_MEMBERSHIP): Likewise.
7262         (IP_UNBLOCK_SOURCE): Likewise.
7263         (IP_BLOCK_SOURCE): Likewise.
7264         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7265         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7266         (IP_MSFILTER): Likewise.
7267         (MCAST_JOIN_GROUP): Likewise.
7268         (MCAST_BLOCK_SOURCE): Likewise.
7269         (MCAST_UNBLOCK_SOURCE): Likewise.
7270         (MCAST_LEAVE_GROUP): Likewise.
7271         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7272         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7273         (MCAST_MSFILTER): Likewise.
7274         (IP_MULTICAST_ALL): Likewise.
7275         (IP_UNICAST_IF): Likewise.
7277         * timezone/Makefile: Delete $(have-ksh) check.
7278         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7279         * timezone/tzselect.ksh: Add +x mode bits.
7281         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7282         (ANON_INODE_FS_MAGIC): Likewise.
7283         (BDEVFS_MAGIC): Likewise.
7284         (BINFMTFS_MAGIC): Likewise.
7285         (BTRFS_TEST_MAGIC): Likewise.
7286         (CRAMFS_MAGIC_WEND): Likewise.
7287         (DEBUGFS_MAGIC): Likewise.
7288         (ECRYPTFS_SUPER_MAGIC): Likewise.
7289         (EXT3_SUPER_MAGIC): Likewise.
7290         (EXT4_SUPER_MAGIC): Likewise.
7291         (FUTEXFS_SUPER_MAGIC): Likewise.
7292         (HOSTFS_SUPER_MAGIC): Likewise.
7293         (HUGETLBFS_MAGIC): Likewise.
7294         (MINIX3_SUPER_MAGIC): Likewise.
7295         (MTD_INODE_FS_MAGIC): Likewise.
7296         (NILFS_SUPER_MAGIC): Likewise.
7297         (OPENPROM_SUPER_MAGIC): Likewise.
7298         (PIPEFS_MAGIC): Likewise.
7299         (PSTOREFS_MAGIC): Likewise.
7300         (QNX6_SUPER_MAGIC): Likewise.
7301         (RAMFS_MAGIC): Likewise.
7302         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7303         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7304         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7305         (SECURITYFS_MAGIC): Likewise.
7306         (SELINUX_MAGIC): Likewise.
7307         (SMACK_MAGIC): Likewise.
7308         (SOCKFS_MAGIC): Likewise.
7309         (SQUASHFS_MAGIC): Likewise.
7310         (STACK_END_MAGIC): Likewise.
7311         (TMPFS_MAGIC): Likewise.
7312         (USBDEVICE_SUPER_MAGIC): Likewise.
7313         (V9FS_MAGIC): Likewise.
7314         (XENFS_SUPER_MAGIC): Likewise.
7315         (CRAMFS_MAGIC): Fix typo in comment.
7316         (EXT2_SUPER_MAGIC): Update comment.
7317         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7319 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7321         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7322         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7323         * sysdeps/unix/sysv/linux/arm: Move directory from
7324         ports/sysdeps/unix/sysv/linux/arm.
7325         * README: Update listing for arm-*-linux-gnueabi.
7327         * README: Remove mention of am33.
7329 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7331         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7332         than the comma operator, to avoid "rhs of comma has no effect"
7333         compiler warnings.
7334         (__sigfillset, __sigandset, __sigorset): Likewise.
7335         * include/signal.h (__sigemptyset): Likewise.
7336         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7338 2014-02-07  Allan McRae  <allan@archlinux.org>
7340         * version.h (RELEASE): Set to "development".
7341         (VERSION): Set to "2.19.90"
7342         * NEWS: Add 2.20 section.
7344 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7346         [BZ #16529]
7347         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7349 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7351         * manual/contrib.texi: Update entry for Carlos O'Donell,
7352         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7354 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7356         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7358         * sysdeps/unix/sysv/linux/kernel-features.h
7359         [__LINUX_KERNEL_VERSION >= 0x020621]
7360         (__ASSUME_PROC_PID_TASK_COMM): Define.
7362 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7364         [BZ #16398]
7365         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7366         conversion when destination buffer does not have enough space.
7367         * libio/tst-ftell-partial-wide.c: New test case.
7368         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7370         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7371         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7372         Leonard and Allan McRae.
7374 2014-02-04  David S. Miller  <davem@davemloft.net>
7376         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7377         32-bit.
7379 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7382         New file
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7384         New file
7385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7386         New file.
7387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7388         New file.
7389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7390         New file.
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7392         New file.
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7394         New file.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7396         New file.
7397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7398         New file.
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7400         New file.
7401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7402         New file.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7404         New file.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7406         New file.
7408 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7410         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7411         * shlib-versions: Likewise.
7413 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7414             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7416         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7417         (abilist-pattern): New variable, set to %-le.abilist.
7419         * Makerules (abilist-pattern): New variable.
7420         (vpath): Use $(abilist-pattern) in place of %.abilist.
7421         (check-abi-% pattern rule): Likewise.
7422         (check-abi, update-abi): Likewise.
7424 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7428 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7430         * manual/startup.texi: Add next, previous, and top entries for
7431         the `Program Arguments' and `Environment Variables' nodes.
7433 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7435         * manual/macros.texi: Add comments before MTASC-safety macros.
7437         * manual/users.texi: Document MTASC-safety properties.
7439         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7440         (pthread_getspecific, pthread_setspecific): Format with
7441         @deftypefun, and add @safety note.
7442         * manual/signal.texi: Move comments that analyze the above
7443         functions to their home place.
7445 2014-02-03  Allan McRae  <allan@archlinux.org>
7447         * po/sl.po: Update Slovenian translation from translation project.
7449 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7451         * manual/time.texi (timegm): Add missing blank after @c.
7452         Reported by Joseph Myers <joseph@codesourcery.com>.
7454 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7456         * manual/check-safety.sh: New.
7457         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7459         * manual/terminal.texi: Document MTASC-safety properties.
7461         * manual/filesys.texi: Document MTASC-safety properties.
7463         * manual/errno.texi: Document MTASC-safety properties.
7465         * manual/intro.texi: Document safety identifiers and
7466         conditionals.
7468         * manual/string.texi (wcstok): Fix prototype.
7469         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7471         * manual/time.texi: Document MTASC-safety properties.
7473         * manual/string.texi: Document MTASC-safety properties.
7475         * manual/threads.texi: Document MTASC-safety properties.
7477         * manual/stdio.texi: Document MTASC-safety properties.
7479         * manual/syslog.texi: Document MTASC-safety properties.
7481         * manual/sysinfo.texi: Document MTASC-safety properties.
7483         * manual/startup.texi: Document MTASC-safety properties.
7485         * manual/socket.texi: Document MTASC-safety properties.
7487         * manual/signal.texi: Document MTASC-safety properties.
7489 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7491         * manual/setjmp.texi: Document MTASC-safety properties.
7493         * manual/search.texi: Document MTASC-safety properties.
7495         * manual/resource.texi: Document MTASC-safety properties.
7497         * manual/process.texi: Document MTASC-safety properties.
7499         * manual/platform.texi: Document MTASC-safety properties.
7501         * manual/pipe.texi: Document MTASC-safety properties.
7503         * manual/pattern.texi: Document MTASC-safety properties.
7505         * manual/message.texi: Document MTASC-safety properties.
7507         [BZ #12751]
7508         * manual/memory.texi: Document MTASC-safety properties.
7510         * manual/math.texi: Document MTASC-safety properties.
7512         * manual/locale.texi: Document MTASC-safety properties.
7514         * manual/llio.texi: Document MTASC-safety properties.
7516         * manual/libdl.texi: New.
7518         * manual/lang.texi: Document MTASC-safety properties.
7520         * manual/job.texi: Document MTASC-safety properties.
7522         * manual/getopt.texi: Document MTASC-safety properties.
7524         * manual/ctype.texi: Document MTASC-safety properties.
7526 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7528         [BZ #16046]
7529         * csu/libc-tls.c (static_map): Remove variable.
7530         (__libc_setup_tls): Use main executable's link map for TLS data.
7531         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7532         casing for LM_ID_BASE and GL(dl_nns).
7533         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7534         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7535         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7536         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7537         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7538         member.
7539         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7540         l_phnum members.
7542 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7544         * manual/debug.texi: Document MTASC-safety properties.
7546 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7548         [BZ #16510]
7549         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7550         of __x86_64__ when disabling x87 inline functions.
7552 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7554         * manual/charset.texi: Document MTASC-safety properties.
7556         * manual/crypt.texi: Document MTASC-safety properties.
7558         * manual/conf.texi: Document MTASC-safety properties.
7560         * manual/arith.texi: Document MTASC-safety properties.
7562         * manual/argp.texi: Document MTASC-safety properties.
7564         * manual/macros.texi: Introduce macros to document multi
7565         thread, asynchronous signal and asynchronous cancellation
7566         safety properties.
7567         * manual/intro.texi: Introduce the properties themselves.
7569 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7571         * sysdeps/sh/sh4/Makefile: New file.
7573 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7575         * math/gen-libm-test.pl ($srcdir): New variable.
7576         ($auto_input): Use it.
7578 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7580         [BZ #16506]
7581         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7582         access beyond array bounds when parsing netgroups file.
7584         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7585         the old buffer before realloc.
7587 2014-01-27  Allan McRae  <allan@archlinux.org>
7589         * po/fr.po: Update French translation from translation project.
7591 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7593         * sysdeps/sh/libm-test-ulps: Regenerate.
7595 2014-01-24  David S. Miller  <davem@davemloft.net>
7597         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7599 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7601         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7602         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7604 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7606         [BZ #16474]
7607         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7608         string pointers after reallocation.
7610 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7612         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7613         __SH4A__ instead of __SH_FPU_ANY__.
7615 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7617         * sysdeps/sh/fpu_control.h: New file.
7618         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7619         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7620         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7621         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7622         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7623         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7624         * sysdeps/sh/sys/ucontext.h: Remove.
7625         * sysdeps/sh/sys: Remove directory.
7627 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7629         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7630         s390/sys/ucontext.h.
7631         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7632         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7634 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7636         [BZ #15605]
7637         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7639 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7641         [BZ#16431]
7642         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7643         Adjust the vDSO correctly for internal calls.
7644         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7646 2014-01-20  Allan McRae  <allan@archlinux.org>
7648         * po/ca.po: Update Catalan translation from translation project.
7650 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7652         * sysdeps/s390/sotruss-lib.c: New file.
7654 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7656         [BZ#16430]
7657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7658         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7659         local calls issues by not having a PLT stub required for IFUNC calls.
7660         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7662 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7664         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7665         * math/test-fpucw-static.c: Likewise.
7667 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7669         [BZ #16453]
7670         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7672 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7674         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7675         implementation for powerpc.
7677 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7679         [BZ #14782]
7680         * sysdeps/posix/system.c (__libc_system): Do not enable
7681         asynchronous cancellation.
7683 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7685         [BZ #16427]
7686         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7687         handling only for numbers special also in the IEEE case.
7689 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7691         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7693 2014-01-11  Allan McRae  <allan@archlinux.org>
7695         * po/bg.po: Update Bulgarian translation from translation project.
7697         * po/de.po: Update German translation from translation project.
7699 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7701         * sysdeps/generic/gcc-compat.h: New file.
7703 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7705         * benchtests/asin-inputs: Correct slow inputs.
7706         * benchtests/acos-inputs: Likewise.
7708 2014-01-10  Allan McRae  <allan@archlinux.org>
7710         * po:sv.po: Update Swedish translation from translation project.
7712         * po/vi.po: Update Vietnamese translation from translation project.
7714         * po/eo.po: Update Esperanto translation from translation project.
7716         * po/cs.po: Update Czech translation from translation project.
7718         * po/nl.po: Update Dutch translation from translation project.
7720         * po/pl.po: Update Polish translation from translation project.
7722         * po/ru.po: Update Russian translation from translation project.
7724         * po/uk.po: Update Ukrainian translation from translation project.
7726 2014-01-08  Brooks Moses  <bmoses@google.com>
7728         * elf/dl-load.c: Fix comment typo.
7730 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7732         * po/header.pot: Rename to...
7733         * po/pot.header: ... this.
7734         * po/Makefile: Use pot.header.
7736 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7737             Maxim Kuvyrkov  <maxim@kugelworks.com>
7739         [BZ #16394]
7740         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7741         SRC and DEST against LEN.
7743 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7745         [BZ #16414]
7746         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7747         implementation.
7748         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7750 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7754 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7756         [BZ #16408]
7757         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7758         for large positive arguments.
7760 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7762         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7764         * math/auto-libm-test-in: Mark various tests with
7765         xfail-rounding:ldbl-128ibm.
7766         * math/auto-libm-test-out: Regenerated.
7768         [BZ #16407]
7769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7770         Increase overflow threshold.
7772 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7774         [BZ #14286]
7775         * stdio-common/vfprintf.c: Check for integer overflow.
7777 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7779         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7780         the first argument and return value of __tls_get_addr_internal.
7782 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7784         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7785         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7787 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7789         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7790         * sysdeps/s390/rtld-global-offsets.sym: New file.
7791         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7792         GLIBC_2.19 symbol.
7793         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7794         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7796         ... this.
7797         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7798         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7799         ... this.
7800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7801         Regenerate.
7802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7803         Regenerate.
7804         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7805         halfs of GPRs for high_gprs contexts.
7806         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7807         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7808         field.
7809         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7810         uc_flags field.
7811         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7812         64 bit versions:
7813         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7814         for high GPRs (uc_high_gprs) and for future extensions
7815         (__reserved).
7816         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7817         for future extensions (__reserved).
7818         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7819         64 bit versions:
7820         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7821         SC_HIGHGPRS offset definition.
7822         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7823         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7825         * Versions.def: Add GLIBC_2.19 for libpthread.
7826         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7827         siglongjmp for libpthread with GLIBC_2.19 symver.
7828         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7829         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7830         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7831         * sysdeps/s390/__longjmp.c: New file.
7832         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7833         * sysdeps/s390/longjmp.c: New file.
7834         * sysdeps/s390/setjmp.S: New file.
7835         * sysdeps/s390/sigjmp.S: New file.
7836         * sysdeps/s390/v1-longjmp.c: New file.
7837         * sysdeps/s390/v1-setjmp.h: New file.
7838         * sysdeps/s390/v1-sigjmp.c: New file.
7839         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7840         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7841         GLIBC_2.19 version.
7842         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7843         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7844         versioned symbols for ____longjmp_chk.
7845         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7848         Regenerate.
7849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7850         Regenerate.
7851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7852         Regenerate.
7853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7854         Regenerate.
7855         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7856         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7857         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7858         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7859         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7860         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7861         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7862         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7863         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7864         * sysdeps/s390/rtld-__longjmp.c: New file.
7865         * sysdeps/s390/rtld-setjmp.S: New file.
7867 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7869         [BZ #16400]
7870         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7871         Return -__logl (x) for small positive arguments without evaluating
7872         a polynomial.
7874 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7876         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7877         Rename to ...
7878         (__ptrace_peeksiginfo_args): ... this.
7879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7883 2014-01-06  Allan McRae  <allan@archlinux.org>
7885         * inet/netinet/in.h: Fix typo in comment.
7887 2014-01-05  Andreas Jaeger  <aj@suse.de>
7889         * sysdeps/i386/fpu/libm-test-ulps: Update.
7891 2014-01-05  Allan McRae  <allan@archlinux.org>
7893         * po/libc.pot: Regenerated.
7895         * malloc/memusagestat.c: Fix gettext call formatting.
7897 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7899         * nscd/nscd.c: Improve usage() output.
7901 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7903         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7904         * sysdeps/unix/sysv/linux/configure: Regenerated.
7905         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7906         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7908 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7910         [BZ #16390]
7911         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7912         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7914 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7917         extra tokens at end of #undef directive.
7918         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7919         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7922 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7924         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7926         * math/auto-libm-test-in: Mark various tests with
7927         xfail-rounding:ldbl-128ibm.
7928         * math/auto-libm-test-out: Regenerated.
7930 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7932         [BZ #16386]
7933         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7934         numbers with subnormal high part when calculating exponent.
7936         [BZ #16385]
7937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7938         fabs.
7940         [BZ #16384]
7941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7942         M_LN2l.
7943         (__ieee754_acoshl): Use __log1pl not __log1p.
7945 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7947         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7948         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7949         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7950         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7951         (reused_arena, arena_get2): Convert to GNU style.
7952         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7953         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7954         (memalign_check, __malloc_set_state): Likewise.
7955         * malloc/mallocbug.c (main): Likewise.
7956         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7957         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7958         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7959         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7960         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7961         (__posix_memalign, malloc_info): Likewise.
7962         * malloc/malloc.h: Likewise.
7963         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7964         (mallochook, memalignhook, reallochook, mabort): Likewise.
7965         * malloc/mcheck.h: Likewise.
7966         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7967         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7968         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7969         * malloc/morecore.c (__default_morecore): Likewise.
7970         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7971         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7972         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7973         (print_and_abort): Likewise.
7974         * malloc/obstack.h: Likewise.
7975         * malloc/set-freeres.c (__libc_freeres): Likewise.
7976         * malloc/tst-mallocstate.c (main): Likewise.
7977         * malloc/tst-mtrace.c (main): Likewise.
7978         * malloc/tst-realloc.c (do_test): Likewise.
7980 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7982         [BZ #16366]
7983         * nscd/netgroupcache.c (do_notfound): New function.
7984         (addgetnetgrentX): Use it.
7986         [BZ # 16365]
7987         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7988         NSS_STATUS_NOTFOUND.
7990 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7992         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995 2014-01-01  Allan McRae  <allan@archlinux.org>
7997         * scripts/update-copyrights: Update configure input file suffix.
7999         * NEWS: Update copyright year.
8000         * catgets/gencat.c: Likewise.
8001         * csu/version.c: Likewise.
8002         * debug/catchsegv.sh: Likewise.
8003         * debug/pcprofiledump.c: Likewise.
8004         * debug/xtrace.sh: Likewise.
8005         * elf/ldconfig.c: Likewise.
8006         * elf/ldd.bash.in: Likewise.
8007         * elf/pldd.c: Likewise.
8008         * elf/sotruss.ksh: Likewise.
8009         * elf/sprof.c: Likewise.
8010         * iconv/iconv_prog.c: Likewise.
8011         * iconv/iconvconfig.c: Likewise.
8012         * locale/programs/locale.c: Likewise.
8013         * locale/programs/localedef.c: Likewise.
8014         * login/programs/pt_chown.c: Likewise.
8015         * malloc/memusage.sh: Likewise.
8016         * malloc/memusagestat.c: Likewise.
8017         * malloc/mtrace.pl: Likewise.
8018         * manual/libc.texinfo: Likewise.
8019         * nscd/nscd.c: Likewise.
8020         * nss/getent.c: Likewise.
8021         * nss/makedb.c: Likewise.
8022         * posix/getconf.c: Likewise.
8023         * scripts/test-installation.pl: Likewise.
8025         * All files with FSF copyright notices: Update copyright dates
8026         using scripts/update-copyrights.
8027         * intl/plural.c: Regenerated.
8028         * locale/programs/charmap-kw.h: Likewise.
8029         * locale/programs/locfile-kw.h: Likewise.
8031 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8033         * sysdeps/unix/sysv/linux/configure: Regenerated.
8034         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8035         the linux/fanotify.h header.
8036         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8037         HAVE_LINUX_FANOTIFY_H is defined.
8039 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8041         * benchtests/cos-inputs: New inputs.
8042         * benchtests/sin-inputs: Likewise.
8044         * benchtests/atan-inputs: New inputs. Fix name of multiple
8045         precision fallback inputs.
8047         * benchtests/atanh-inputs: New inputs.
8048         * benchtests/tanh-inputs: Likewise.
8050         * benchtests/acosh-inputs: New inputs.
8051         * benchtests/asinh-inputs: Likewise.
8053         * benchtests/cosh-inputs: New inputs.
8054         * benchtests/sinh-inputs: Likewise.
8056         * benchtests/acos-inputs: Add more inputs.
8057         * benchtests/asin-inputs: Likewise.
8059 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8061         [BZ #16375]
8062         * manual/arith.texi: Fix spelling.
8063         * manual/charset.texi: Likewise.
8064         * manual/errno.texi: Likewise.
8065         * manual/filesys.texi: Likewise.
8066         * manual/lang.texi: Likewise.
8067         * manual/llio.texi: Likewise.
8068         * manual/locale.texi: Likewise.
8069         * manual/message.texi: Likewise.
8070         * manual/resource.texi: Likewise.
8071         * manual/search.texi: Likewise.
8072         * manual/setjmp.texi: Likewise.
8073         * manual/stdio.texi: Likewise.
8074         * manual/string.texi: Likewise.
8075         * manual/sysinfo.texi: Likewise.
8076         * manual/time.texi: Likewise.
8078 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8080         * po/sl.po: New file.
8082 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8084         * .gitignore: Add core/.gdbinit/.gdb_history.
8086 2013-12-27  Allan McRae  <allan@archlinux.org>
8088         [BZ #16369]
8089         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8090         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8092 2013-12-24  Brooks Moses  <bmoses@google.com>
8094         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8095         all compilers that claim C++98 compliance, not just GCC.
8096         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8097         Likewise.
8099 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8101         * NEWS: Restore accidentally deleted bug-fix entries.
8103 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8104             Ondřej Bílka  <neleai@seznam.cz>
8106         [BZ #15073]
8107         * malloc/malloc.c (_int_free): Perform sanity check only if we
8108         have_lock.
8110 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8112         [BZ #12986]
8113         * manual/stdio.texi (String Input Conversions): Clarify that character
8114         classes are not supported.
8116 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8120 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #16337]
8123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8124         Calculate results for small negative arguments directly rather
8125         than using reflection formula with special underflow handling.
8127         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8128         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8129         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8130         (fchflags): Likewise.
8131         (revoke): Likewise.
8132         (setlogin): Likewise.
8133         (sigaltstack): Likewise.
8134         (wait4): Likewise.
8135         (sigblock): Remove.
8136         (sigsetmask): Likewise.
8137         (wait3): Likewise.
8138         (waitpid): Likewise.
8139         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8140         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8141         file.
8142         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8143         * sysdeps/unix/bsd/Makefile: ... here.
8144         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8145         * sysdeps/unix/bsd/Versions: ... here.
8146         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8147         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8148         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8149         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8150         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8151         * sysdeps/unix/bsd/sigblock.c: ... here.
8152         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8153         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8154         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8155         * sysdeps/unix/bsd/sigvec.c: ... here.
8156         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8157         * sysdeps/unix/bsd/tcdrain.c: ... here.
8158         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8159         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8160         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8161         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8162         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8163         * sysdeps/unix/bsd/wait.c: ... here.
8164         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8165         * sysdeps/unix/bsd/wait3.c: ... here.
8166         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8167         * sysdeps/unix/bsd/waitpid.c: ... here.
8169 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8171         [BZ #16356]
8172         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8173         round-to-nearest for [!USE_AS_EXPM1L].
8174         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8175         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8176         more tests of exp and exp10.  Expect some exp10 tests to miss
8177         exceptions or fail in directed rounding modes.
8178         * math/auto-libm-test-out: Regenerated.
8179         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8180         (exp10_test_tonearest): New function.
8181         (exp10_towardzero_test_data): New array.
8182         (exp10_test_towardzero): New function.
8183         (exp10_downward_test_data): New array.
8184         (exp10_test_downward): New function.
8185         (exp10_upward_test_data): New array.
8186         (exp10_test_upward): New function.
8187         (main): Call the new functions.
8188         * sysdeps/i386/fpu/libm-test-ulps: Update.
8189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8191 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8193         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8194         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8195         * math/auto-libm-test-out: Regenerated.
8196         * math/libm-test.inc (acosh_test_data): Add more tests.
8197         (atanh_test_data): Likewise.
8198         (ceil_test_data): Likewise.
8199         (copysign_test_data): Likewise.
8200         * sysdeps/i386/fpu/libm-test-ulps: Update.
8201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8203         * timezone/checktab.awk: Update from tzcode 2013i.
8204         * timezone/private.h: Likewise.
8205         * timezone/scheck.c: Likewise.
8206         * timezone/tzfile.h: Likewise.
8207         * timezone/tzselect.ksh: Likewise.
8208         * timezone/zdump.c: Likewise.
8209         * timezone/zic.c: Likewise.
8211         * math/auto-libm-test-in: Add tests of cpow.
8212         * math/auto-libm-test-out: Regenerated.
8213         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8214         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8215         mpc_cc_c.
8216         (func_calc_desc): Add mpc_cc_c union field.
8217         (test_functions): Add cpow.
8218         (special_fill_2pi): New function.
8219         (special_real_inputs): Add 2pi.
8220         (calc_generic_results): Handle mpc_cc_c.
8221         * sysdeps/i386/fpu/libm-test-ulps: Update.
8222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8224         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8225         csqrt, ctan and ctanh.
8226         * math/auto-libm-test-out: Regenerated.
8227         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8228         (TEST_COND_x86): Likewise.
8229         (ccos_test_data): Use AUTO_TESTS_c_c.
8230         (ccosh_test_data): Likewise.
8231         (cexp_test_data): Likewise.
8232         (clog_test_data): Likewise.
8233         (csqrt_test_data): Likewise.
8234         (ctan_test_data): Likewise.
8235         (ctan_tonearest_test_data): Likewise.
8236         (ctan_towardzero_test_data): Likewise.
8237         (ctan_downward_test_data): Likewise.
8238         (ctan_upward_test_data): Likewise.
8239         (ctanh_test_data): Likewise.
8240         (ctanh_tonearest_test_data): Likewise.
8241         (ctanh_towardzero_test_data): Likewise.
8242         (ctanh_downward_test_data): Likewise.
8243         (ctanh_upward_test_data): Likewise.
8244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8245         mpc_c_c.
8246         (func_calc_desc): Add mpc_c_c union field.
8247         (FUNC_mpc_c_c): New macro.
8248         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8249         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8250         ctanh.
8251         (special_fill_min_subnorm_p120): New function.
8252         (special_real_inputs): Add min_subnorm_p120.
8253         (calc_generic_results): Handle mpc_c_c.
8254         * sysdeps/i386/fpu/libm-test-ulps: Update.
8255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8257 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8259         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8260         (do_sin_slow): New functions.
8261         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8262         (cslow2, csloww1, csloww2): Use the new functions.
8264         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8265         Use M to change sign of result instead of X.  Assume X is
8266         positive.
8267         (csloww1): Likewise.
8268         (__sin): Adjust.
8269         (__cos): Adjust.
8271         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8272         arguments A and DA.
8273         (__sin): Adjust.
8274         (__cos): Likewise.
8276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8277         (__cos): Likewise.
8278         (sloww1): Don't adjust sign of DX.
8279         (csloww1): Likewise.
8280         (sloww2): Use X directly and don't adjust sign of DX.
8281         (csloww2): Likewise.
8283 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8285         * math/auto-libm-test-in: Add tests of cabs and carg.
8286         * math/auto-libm-test-out: Regenerated.
8287         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8288         (carg_test_data): Likewise.
8289         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8290         mpc_c_f.
8291         (func_calc_desc): Add mpc_c_f union field.
8292         (test_functions): Add cabs and carg.
8293         (calc_generic_results): Handle mpc_c_f.
8295         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8296         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8297         as a macro and a compat symbol.
8298         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8299         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8300         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8301         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8302         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8303         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8304         not use .hidden.
8305         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8306         Likewise.
8307         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8308         Likewise.
8309         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8310         Likewise.
8311         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8312         Likewise.
8313         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8314         Likewise.
8315         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8316         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8317         from GLIBC_2.3.2.
8319 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8323 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8325         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8326         trailing whitespace removed.
8327         * scripts/config.guess: Update to version 2013-11-29.
8328         * scripts/config.sub: Update to version 2013-10-01.
8330         * math/auto-libm-test-in: Add tests of sincos.
8331         * math/auto-libm-test-out: Regenerated.
8332         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8333         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8334         mpfr_f_11.
8335         (func_calc_desc): Add mpfr_f_11 union field.
8336         (test_functions): Add sincos.
8337         (calc_generic_results): Handle mpfr_f_11.
8338         * sysdeps/i386/fpu/libm-test-ulps: Update.
8339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341 2013-12-19  Andreas Schwab  <schwab@suse.de>
8343         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8344         CALL_MCOUNT.
8345         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8346         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8347         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8349 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8351         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8352         * sysdeps/i386/fpu/libm-test-ulps: Update.
8353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8355         [BZ #16293]
8356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8357         round-to-nearest mode when using frndint.
8358         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8359         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8361         Likewise.
8362         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8363         sinh test to fail.
8364         * math/auto-libm-test-out: Regenerated.
8365         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8366         (TEST_COND_x86): Likewise.
8367         (expm1_tonearest_test_data): New array.
8368         (expm1_test_tonearest): New function.
8369         (expm1_towardzero_test_data): New array.
8370         (expm1_test_towardzero): New function.
8371         (expm1_downward_test_data): New array.
8372         (expm1_test_downward): New function.
8373         (expm1_upward_test_data): New array.
8374         (expm1_test_upward): New function.
8375         (main): Run the new test functions.
8376         * sysdeps/i386/fpu/libm-test-ulps: Update.
8377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8379         * include/features.h: Update comment documenting feature test
8380         macros.  Mention _DEFAULT_SOURCE in comment.
8381         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8382         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8383         _BSD_SOURCE and _SVID_SOURCE.
8384         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8385         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8386         !_SVID_SOURCE]: Likewise.
8387         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8388         (__USE_POSIX_IMPLICITLY): Define.
8389         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8390         (_POSIX_SOURCE): Undefine and redefine.
8391         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8392         (_POSIX_C_SOURCE): Likewise.
8393         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8394         (Feature Test Macros): Update documentation of default features.
8396 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8398         * benchtests/Makefile: Add bench-strtok.
8399         * benchtests/bench-strtok.c: New file: strtok benchtest.
8401 2013-12-19  Allan McRae  <allan@archlinux.org>
8403         * manual/install.texi: Suppress menu for plain text output.
8404         * INSTALL: Regenerated.
8406 2013-12-18  Brooks Moses  <bmoses@google.com>
8408         [BZ #15846]
8409         * misc/getauxval.c: Include errno.h.
8410         (__getauxval): Set errno to ENOENT if the requested type is not
8411         found.
8412         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8413         don't declare with __attribute_const__.
8414         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8415         * manual/startup.texi: Document that getauxval sets errno.
8417 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8419         * math/auto-libm-test-in: Add tests of jn and yn.
8420         * math/auto-libm-test-out: Regenerated.
8421         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8422         (yn_test_data): Likewise.
8423         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8424         mpfr_if_f.
8425         (func_calc_desc): Add mpfr_if_f union field.
8426         (FUNC_mpfr_if_f): New macro.
8427         (test_functions): Add jn and yn.
8428         (calc_generic_results): Assert type of second input for
8429         mpfr_ff_f.  Handle mpfr_if_f.
8430         (output_for_one_input_case): Disable all checking for arguments
8431         fitting floating-point types in case of an integer argument.
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8436         Don't expect fegetround reference in libm.so.
8438 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8440         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8441         $(config-cflags-nofma).
8443 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8445         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8446         * math/auto-libm-test-out: Regenerated.
8448         [BZ #16338]
8449         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8450         to determine exponent and adjust argument to have exponent of -1.
8451         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8452         log2.
8453         * math/auto-libm-test-out: Regenerated.
8454         * sysdeps/i386/fpu/libm-test-ulps: Update.
8455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8457 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8459         * manual/probes.texi: Remove cases when per-thread arenas are
8460         disabled.
8462 2013-12-18  Andreas Schwab  <schwab@suse.de>
8464         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8465         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8466         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8467         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8468         * sysdeps/i386/i686/multiarch/Makefile: Update.
8469         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8471 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8473         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8474         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8476 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8478         [BZ #15968]
8479         Support TZ transition times < 00:00:00.
8480         This is needed for version-3 tz-format files; it supports time
8481         stamps past 2037 for America/Godthab (the only entry in the tz
8482         database for which this change is relevant).
8483         * manual/time.texi (TZ Variable): Document transition times
8484         from -167:59:59 through -00:00:01.
8485         * time/tzset.c (tz_rule): Time of day is now signed.
8486         (__tzset_parse_tz): Parse negative time of day.
8488         Document TZ transition times >= 25:00:00.
8489         * manual/time.texi (TZ Variable): Document transition times from
8490         25:00:00 through 167:59:59.  These are already supported, and this
8491         support will help with version-3 tz-format files.
8493         * manual/time.texi (TZ Variable): Modernize North America example
8494         to reflect current (i.e., 2007-and-later) daylight saving rules.
8496         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8498 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8500         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8501         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8502         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8504         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8505         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8506         * sysdeps/unix/bsd/clock.c: Likewise.
8507         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8508         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8509         * sysdeps/unix/bsd/init-posix.c: Likewise.
8510         * sysdeps/unix/bsd/poll.c: Likewise.
8511         * sysdeps/unix/bsd/ptsname.c: Likewise.
8512         * sysdeps/unix/bsd/seekdir.c: Likewise.
8513         * sysdeps/unix/bsd/setegid.c: Likewise.
8514         * sysdeps/unix/bsd/seteuid.c: Likewise.
8515         * sysdeps/unix/bsd/setgid.c: Likewise.
8516         * sysdeps/unix/bsd/setrgid.c: Likewise.
8517         * sysdeps/unix/bsd/setruid.c: Likewise.
8518         * sysdeps/unix/bsd/setsid.c: Likewise.
8519         * sysdeps/unix/bsd/setuid.c: Likewise.
8520         * sysdeps/unix/bsd/sigaction.c: Likewise.
8521         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8522         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8523         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8524         * sysdeps/unix/bsd/telldir.c: Likewise.
8525         * sysdeps/unix/bsd/times.c: Likewise.
8526         * sysdeps/unix/bsd/usleep.c: Likewise.
8528         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8529         ($(objpfx)libbsd-compat.a): Remove rule.
8531         * include/features.h (__FAVOR_BSD): Do not define.
8532         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8533         features conflicting with POSIX.
8534         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8535         (_BSD_SOURCE): Remove description of not being a subset of other
8536         feature test macros.
8537         * manual/job.texi (getpgrp): Do not document BSD version.
8538         (getpgid): Do not document by reference to BSD getpgrp.
8539         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8540         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8541         * signal/signal.h [__FAVOR_BSD]: Likewise.
8542         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8543         instead of making contents conditional on [__FAVOR_BSD].
8544         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8546 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8550 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8552         [BZ #16314]
8553         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8554         values below 2**-450, not 2**-500.
8555         * math/auto-libm-test-in: Don't allow spurious underflow from
8556         hypot.
8557         * math/auto-libm-test-out: Regenerated.
8559         [BZ #16316]
8560         [BZ #16330]
8561         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8562         values of ha and hb and sort them after adjusting subnormal
8563         arguments.
8564         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8565         Likewise.
8566         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8567         values of ea and eb and sort them after adjusting subnormal
8568         arguments.
8569         * math/auto-libm-test-in: Do not expect some hypot tests of
8570         subnormals to fail.  Add more hypot tests.
8571         * math/auto-libm-test-out: Regenerated.
8573 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8575         [BZ #13304]
8576         * sysdeps/sh/s_fma.c: New file.
8577         * sysdeps/sh/s_fmaf.c: New file.
8578         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8579         version.
8580         * sysdeps/sh/Implies: Add sh/soft-fp.
8582 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8584         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8585         level of indirection to members `objname', `errstring', `malloced'.
8586         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8587         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8588         it as the __longjmp argument (just pass 1 instead).
8589         (_dl_catch_error): Initialize C with argument pointers and address of
8590         volatile local ERRCODE rather than copying values out of C at return.
8592 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8594         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8595         * math/auto-libm-test-out: Regenerated.
8596         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8597         (hypot_test_data): Likewise.
8598         (pow_test_data): Likewise.
8599         (pow_tonearest_test_data): Likewise.
8600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8601         mpfr_ff_f.
8602         (func_calc_desc): Add mpfr_ff_f union field.
8603         (FUNC_mpfr_ff_f): New macro.
8604         (test_functions): Add atan2, hypot and pow.
8605         (special_fill_min): New function.
8606         (special_fill_minus_min): Likewise.
8607         (special_fill_min_subnorm): Likewise.
8608         (special_fill_minus_min_subnorm): Likewise.
8609         (special_real_inputs): Add min, -min, min_subnorm and
8610         -min_subnorm.
8611         (calc_generic_results): Handle mpfr_ff_f.
8612         * sysdeps/i386/fpu/libm-test-ulps: Update.
8613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8615 2013-12-16  Will Newton  <will.newton@linaro.org>
8617         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8618         (Aligned Memory Blocks): Add documentation for aligned_alloc
8619         and suggest it as an alternative to posix_memalign.
8620         (Hooks for Malloc): Document __memalign_hook is also called
8621         for aligned_alloc.  (Summary of Malloc): Add summary for
8622         aligned alloc.  Document __memalign_hook is also called
8623         for aligned_alloc.
8625 2013-12-16  Will Newton  <will.newton@linaro.org>
8627         * manual/memory.texi (Malloc Examples): Clarify default
8628         alignment documentation.  Suggest posix_memalign rather
8629         than memalign or valloc.
8630         (Aligned Memory Blocks): Remove suggestion to use memalign
8631         or valloc.  Remove obsolete comment about BSD.
8632         Document memalign errno values and mark the function obsolete.
8633         Document posix_memalign returned error codes.  Mark valloc
8634         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8635         called for posix_memalign and valloc.
8636         (Summary of Malloc): Add posix_memalign to function summary.
8637         __memalign_hook is also called for posix_memalign and valloc.
8639 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8641         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8642         TAYLOR_SIN.
8643         (__sin): Adjust.
8644         (__cos): Likewise.
8645         (sloww): Use mynumber union.  Expand ternary operator into
8646         if-else statements.
8647         (cslow): use mynumber union.
8649 2013-12-16  Allan McRae  <allan@archlinux.org>
8651         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8652         * configure: Regenerated.
8654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8656         [BZ #14120]
8657         * configure.ac: Added --enable-maintainer-mode. Check for
8658         autoconf when enabled.
8659         * configure: Regenerated.
8661         * nscd/nscd.service: New file.
8662         * nscd/nscd.tmpfiles: New file.
8664 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8666         [BZ #12100]
8667         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8668         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8669         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8670         (strstr): Add __strstr_sse2_unaligned ifunc.
8671         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8672         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8673         (strcasestr): Remove __strcasestr_sse42 ifunc.
8674         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8678 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8680         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8681         * sysdeps/sh/bits/fenv.h: ... here.
8682         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8684 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8686         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8689         hypotf multiarch implementations.
8690         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8693         multiarch hypot for PPC64.
8694         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8695         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8696         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8697         multiarch hypotf for PPC64.
8699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8700         modff multiarch implementations.
8701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8704         multiarch modf for PPC64.
8705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8708         multiarch modff for PPC64.
8710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8711         and logl multiarch implementations.
8712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8715         multiarch logb for PPC64.
8716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8719         multiarch logb for PPC64.
8720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8723         multiarch logb for PPC64.
8725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8726         isinff multiarch implementation.
8727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8728         file.
8729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8731         multiarch isinf for PPC64.
8732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8733         file.
8734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8735         multiarch isinff for PPC64.
8737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8738         finitef multiarch implementation.
8739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8740         file.
8741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8743         multiarch finite for PPC64.
8744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8745         file.
8746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8747         multiarch finitef for PPC64.
8749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8750         lrint multiarch implementation.
8751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8752         file.
8753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8755         multiarch llrint for PPC64.
8756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8757         multiarch lrint for PPC64.
8759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8760         copysignf multiarch implementation.
8761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8762         file.
8763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8764         file.
8765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8766         multiarch copysign for PPC64.
8767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8768         multiarch copysignf for PPC64.
8770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8771         multiarch implementation.
8772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8773         file.
8774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8775         file.
8776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8777         file.
8778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8779         file.
8780         multiarch llround for PPC64.
8781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8782         multiarch trunc for PPC64.
8783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8784         multiarch truncf for PPC64.
8786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8787         multiarch implementation.
8788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8789         file.
8790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8791         file.
8792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8793         file.
8794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8795         file.
8796         multiarch llround for PPC64.
8797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8798         multiarch round for PPC64.
8799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8800         multiarch roundf for PPC64.
8802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8803         multiarch implementation.
8804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8805         file.
8806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8807         file.
8808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8809         file.
8810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8811         file.
8812         multiarch llround for PPC64.
8813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8814         multiarch floor for PPC64.
8815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8816         multiarch floorf for PPC64.
8818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8819         multiarch implementation.
8820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8821         file.
8822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8823         file.
8824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8825         file.
8826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8827         file.
8828         multiarch llround for PPC64.
8829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8830         multiarch ceil for PPC64.
8831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8832         multiarch ceilf for PPC64.
8834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8835         multiarch implementation.
8836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8837         file.
8838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8839         file.
8840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8841         file.
8842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8843         multiarch llround for PPC64.
8844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8845         multiarch lround for PPC64.
8847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8848         multiarch implementation.
8849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8852         file.
8853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8856         multiarch isnan for PPC64.
8857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8858         multiarch isnanf for PPC64.
8860         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8861         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8862         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8863         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8864         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8867         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8868         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8870         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8873         multiarch implementations.
8874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8875         (__libc_ifunc_impl_list): Likewise.
8876         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8877         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8879         multiarch stpcpy for PPC64.
8881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8882         multiarch implementations.
8883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8884         (__libc_ifunc_impl_list): Likewise.
8885         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8886         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8887         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8888         multiarch strcpy for PPC64.
8890         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8891         redefine function name.
8892         (_wordcopy_fwd_dest_aligned): Likewise.
8893         (_wordcopy_bwd_aligned): Likewise.
8894         (_wordcopy_bwd_dest_aligned): Likewise.
8895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8896         multiarch implementations.
8897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8898         (__libc_ifunc_impl_list): Likewise.
8899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8900         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8901         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8902         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8903         multiarch wcscpy for PPC64.
8905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8906         multiarch implementations.
8907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8908         (__libc_ifunc_impl_list): Likewise.
8909         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8910         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8911         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8912         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8913         multiarch wcscpy for PPC64.
8915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8916         multiarch implementations.
8917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8918         (__libc_ifunc_impl_list): Likewise.
8919         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8920         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8921         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8922         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8923         multiarch wcsrchr for PPC64.
8925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8926         multiarch implementations.
8927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8928         (__libc_ifunc_impl_list): Likewise.
8929         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8930         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8931         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8932         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8933         multiarch wcschr for PPC64.
8935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8936         multiarch implementations.
8937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8938         (__libc_ifunc_impl_list): Likewise.
8939         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8940         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8941         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8942         multiarch strchrnul for PPC64.
8944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8945         implementations.
8946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8947         (__libc_ifunc_impl_list): Likewise.
8948         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8949         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8950         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8951         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8952         strchr for PPC64.
8954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8955         implementations.
8956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8957         (__libc_ifunc_impl_list): Likewise.
8958         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8959         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8960         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8961         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8962         strncmp for PPC64.
8964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8965         multiarch implementations.
8966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8967         (__libc_ifunc_impl_list): Likewise.
8968         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8969         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8970         strncasecmp for PPC64.
8971         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8972         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8973         multiarch strncasecmp_l for PPC64.
8975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8976         multiarch implementations.
8977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8978         (__libc_ifunc_impl_list): Likewise.
8979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8981         multiarch strcasecmp for PPC64.
8982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8983         file.
8984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8985         multiarch strcasecmp_l for PPC64.
8987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8988         implementations.
8989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8990         (__libc_ifunc_impl_list): Likewise.
8991         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8992         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8993         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8994         strnlen for PPC64.
8996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8997         implementations.
8998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8999         (__libc_ifunc_impl_list): Likewise.
9000         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9001         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9002         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9003         strlen for PPC64.
9005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9006         implementations.
9007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9008         (__libc_ifunc_impl_list): Likewise.
9009         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9010         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9011         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9012         rawmemrchr for PPC64.
9014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9015         implementation.
9016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9017         (__libc_ifunc_impl_list): Likewise.
9018         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9019         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9020         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9021         memrchr for PPC64.
9023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9024         implementation.
9025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9026         (__libc_ifunc_impl_list): Likewise.
9027         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9028         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9029         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9030         memchr for PPC64.
9032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9033         implementation.
9034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9035         (__libc_ifunc_impl_list): Likewise.
9036         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9037         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9038         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9039         mempcpy for PPC64.
9041         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9042         avoid cretion of __bzero symbol.
9043         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9044         Likewise.
9045         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9046         Likewise.
9047         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9048         Likewise.
9049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9050         multiarch implementations.
9051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9052         (__libc_ifunc_impl_list): Likewise.
9053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9054         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9055         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9056         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9057         bzero for PPC32.
9058         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9059         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9060         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9061         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9062         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9063         memset for PPC64.
9064         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9066         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9068         implementations.
9069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9070         (__libc_ifunc_impl_list): Likewise.
9071         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9072         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9073         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9074         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9075         memcmp for PPC64.
9077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9078         multiarch for POWER/PPC64.
9079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9080         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9081         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9082         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9083         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9084         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9085         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9086         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9087         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9088         memcpy for PPC64.
9090         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9091         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9092         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9093         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9094         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9095         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9096         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9097         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9098         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9099         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9100         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9101         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9102         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9103         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9104         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9113 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9117 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9119         * benchtests/Makefile (bench): Add exp2 and log2.
9120         (LDLIBS-bench-exp2): Add -lm.
9121         (LDLIBS-bench-log2): Likewise.
9122         * benchtests/exp2-inputs: New inputs file.
9123         * benchtests/log2-inputs: New inputs file.
9124         * benchtests/log-inputs: Add new inputs.
9125         * benchtests/tan-inputs: Likewise.
9127 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9129         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9130         definition...
9131         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9132         (csloww2): ... from here.
9134         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9135         instead of structures.
9136         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9137         (POLYNOMIAL): Likewise.
9138         (TAYLOR_SLOW): Likewise.
9139         (__sin): Likewise.
9140         (__cos): Likewise.
9141         (slow1): Likewise.
9142         (slow2): Likewise.
9143         (sloww): Likewise.
9144         (sloww1); Likewise.
9145         (sloww2): Likewise.
9146         (bsloww1): Likewise.
9147         (bsloww2): Likewise.
9148         (cslow2): Likewise.
9149         (csloww): Likewise.
9150         (csloww1): Likewise.
9151         (csloww2): Likewise.
9153 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9155         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9156         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9157         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9158         * malloc/hooks.c (realloc_check): Likewise.
9160         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9161         * malloc/arena.c: Remove PER_THREAD conditional.
9162         [!PER_THREAD]: Remove code.
9163         (ptmalloc_unlock_all2): Likewise.
9164         (ptmalloc_init): Likewise.
9165         (_int_new_arena): Likewise.
9166         (arena_get2): Likewise.
9167         * malloc/hooks.c (__malloc_get_state): Likewise.
9168         (__malloc_set_state): Likewise.
9169         * malloc/malloc.c: Likewise.
9170         (struct malloc_state): Likewise.
9171         (struct malloc_par): Likewise.
9172         (__libc_realloc): Likewise.
9173         (__libc_mallopt): Likewise.
9175 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9177         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9179 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9181         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9182         macro to a function.  Check for zero perturb_byte.
9183         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9185         * malloc/malloc.c: (force_reg): Remove.
9186         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9187         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9188         force_reg by atomic_forced_read.
9189         * malloc/arena.c (ptmalloc_init): Likewise.
9190         * malloc/hooks.c (top_check): Likewise.
9192 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9196 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9200 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9202         * math/auto-libm-test-in: Add tests of lgamma.
9203         * math/auto-libm-test-out: Regenerated.
9204         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9205         (M_LOG_2_SQRT_PIl): Likewise.
9206         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9207         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9208         mpfr_f_f1.
9209         (func_calc_desc): Add mpfr_f_f1 union field.
9210         (ARGS1): New macro.
9211         (ARGS2): Likewise.
9212         (ARGS3): Likewise.
9213         (ARGS4): Likewise.
9214         (RET1): Likewise.
9215         (RET2): Likewise.
9216         (CALC): Likewise.
9217         (FUNC): Likewise.
9218         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9219         (test_functions): Add lgamma.
9220         (calc_generic_results): Handle mpfr_f_f1.
9221         * sysdeps/i386/fpu/libm-test-ulps: Update.
9222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9224 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9226         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9227         __mpn_add_n for PowerPC64/POWER7.
9228         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9229         __mpn_sub_n for PowerPC64/POWER7.
9231         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9232         __mpn_addmul_1 for PowerPC64.
9233         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9234         __mpn_submul_1 for PowerPC64.
9235         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9236         for PowerPC64.
9237         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9238         for PowerPC64.
9240 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9242         [BZ #15089]
9243         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9245 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9247         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9249         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9250         add multiarch folders.
9251         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9252         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9253         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9254         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9255         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9256         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9257         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9258         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9259         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9260         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9261         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9270         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9272         New file.
9273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9274         New file.
9275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9276         multiarch __ieee754_hypot for PowerPC32.
9277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9278         New file.
9279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9280         New file.
9281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9282         multiarch __ieee754_hypotf for PowerPC32.
9284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9285         long_double_symbol only if __logbl is defined.
9286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9287         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9289         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9291         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9292         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9293         path for implementation.
9294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9295         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9297         logb, and logbl multiarch implementations for PowerPC32.
9298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9299         file.
9300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9301         file.
9302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9303         multiarch logb for PowerPC32.
9304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9305         file.
9306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9307         file.
9308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9309         multiarch logbf for PowerPC32.
9310         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9312         file.
9313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9314         multiarch logbl implementation for PowerPC32.
9316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9317         and modff multiarch implementations.
9318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9319         New file.
9320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9321         New file.
9322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9323         multiarch modf for PowerPC32.
9324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9325         New file.
9326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9327         New file.
9328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9329         multiarch modff for PowerPC32.
9331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9332         and lrintf multiarch implementations.
9333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9334         New file.
9335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9336         New file.
9337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9338         multiarch lrint for PowerPC32.
9339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9340         file: multiarch lrintf for PowerPC32.
9342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9343         and lroundf multiarch implementations.
9344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9345         New file.
9346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9347         New file.
9348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9349         New file.
9350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9351         multiarch lround for PowerPC32.
9352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9353         file: multiarch lroundf for PowerPC32.
9355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9356         copysign and copysignf multiarch implementations.
9357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9358         New file.
9359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9360         New file.
9361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9362         file: multiarch copysign for PowerPC32.
9363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9364         file: multiarch copysignf for PowerPC32.
9366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9367         and truncf multiarch implementations.
9368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9369         New file.
9370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9371         file.
9372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9373         multiarch trunc for PowerPC32.
9374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9375         New file.
9376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9377         New file.
9378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9379         multiarch truncf for PowerPC32.
9381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9382         and roundf multiarch implementations.
9383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9384         New file.
9385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9386         file.
9387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9388         multiarch round for PowerPC32.
9389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9390         New file.
9391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9392         New file.
9393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9394         multiarch roundf for PowerPC32.
9396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9397         and floorf multiarch implementations.
9398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9399         New file.
9400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9401         file.
9402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9403         multiarch floor for PowerPC32.
9404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9405         New file.
9406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9407         New file.
9408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9409         multiarch floorf for PowerPC32.
9411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9412         and ceilf multiarch implementations.
9413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9414         New file.
9415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9416         file.
9417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9418         multiarch ceil for PowerPC32.
9419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9420         New file.
9421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9422         file.
9423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9424         multiarch ceilf for PowerPC32.
9426         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9427         is defined.
9428         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9429         FINITEF is defined.
9430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9431         and finitef multiarch implementations.
9432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9433         New file.
9434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9435         file.
9436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9437         multiarch finite for PowerPC32.
9438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9439         New file.
9440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9441         file: multiarch finitef for PowerPC32.
9443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9444         and isinff multiarch implementations.
9445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9446         file.
9447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9448         file.
9449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9450         multiarch isinf for PowerPC32.
9451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9452         New file.
9453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9454         multiarch isinff for PowerPC32.
9456         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9457         alias when __isnan is defined.
9458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9459         and isnanf multiarch implementations.
9460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9461         file.
9462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9463         file.
9464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9465         file.
9466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9467         file.
9468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9469         multiarch isnan for PowerPC32.
9470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9471         New file.
9472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9473         New file.
9474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9475         multiarch isnanf for PowerPC32.
9477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9478         and sqrtf multiarch implementations.
9479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9480         file.
9481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9482         file.
9483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9484         multiarch sqrt for PowerPC32.
9485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9486         file.
9487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9488         file.
9489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9490         multiarch sqrtf for PowerPC32.
9492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9493         and llroundf multiarch implementations.
9494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9495         New file.
9496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9497         New file.
9498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9499         New file.
9500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9501         file: multiarch llround for PowerPC32.
9502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9503         file: multiarch llroundf for PowerPC32.
9505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9506         multiarch PowerPC32 fpu implementations.
9507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9508         New file.
9509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9510         New file.
9511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9512         multiarch llrint for PowerPC32.
9513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9514         New file.
9515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9516         New file.
9517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9518         file.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9522         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9523         file.
9524         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9525         file.
9526         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9527         file.
9528         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9529         multiarch wordcopy for PPC32.
9530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9531         wordcopy objects.
9532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9533         (__libc_ifunc_impl_list): Likewise.
9534         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9535         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9536         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9537         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9538         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9539         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9541         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9543         file.
9544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9545         file.
9546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9547         file.
9548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9549         multiarch wcscpy for PPC32.
9550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9551         multiarch objects.
9552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9553         (__libc_ifunc_impl_list): Likewise.
9554         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9555         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9556         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9557         sysdeps/powerpc/power6/wcscpy.c.
9559         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9561         file.
9562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9563         file.
9564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9565         file.
9566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9567         multiarch wcsrchr for PPC32.
9568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9569         multiarch objects.
9570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9571         (__libc_ifunc_impl_list): Likewise.
9572         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9573         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9574         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9575         sysdeps/powerpc/power6/wcsrchr.c.
9577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9578         file.
9579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9580         file.
9581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9583         multiarch wcschr for PPc32.
9584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9585         multiarch objects.
9586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9587         (__libc_ifunc_impl_list): Likewise.
9588         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9589         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9590         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9591         sysdeps/powerpc/power6/wcschr.c.
9593         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9594         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9595         file.
9596         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9597         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9598         file: multiarch strchr for PPC32.
9599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9600         multiarch objects.
9601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9602         (__libc_ifunc_impl_list): Likewise.
9604         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9605         name.
9606         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9607         file.
9608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9609         file.
9610         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9611         multiarch strchrnul for PPC32.
9612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9613         multiarch objects.
9614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9615         (__libc_ifunc_impl_list): Likewise.
9617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9618         file.
9619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9620         multiarch strncasecmp for PPC32.
9621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9622         file.
9623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9624         multiarch strncasecmp_l for PPC32.
9625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9626         strncasecmp multiarch objects.
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9628         (__libc_ifunc_impl_list): Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9631         file.
9632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9633         multiarch strncasecmp for PPC32.
9634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9635         New file.
9636         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9637         multiarch strcasecmp_l for PPC32.
9638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9639         multiarch objects.
9640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9641         (__libc_ifunc_impl_list): Likewise.
9643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9644         file.
9645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9646         file.
9647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9648         multiarch strncmp for PPC32.
9649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9650         multiarch objects.
9651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9652         (__libc_ifunc_impl_list): Likewise.
9654         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9655         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9656         file.
9657         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9658         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9660         multiarch objects.
9661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9662         (__libc_ifunc_impl_list): Likewise.
9664         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9665         file.
9666         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9667         file.
9668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9670         multiarch objects.
9671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9672         (__libc_ifunc_impl_list): Likewise.
9674         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9675         file.
9676         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9677         file.
9678         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9679         multiarch rawmemchr for PPC32.
9680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9681         multiarch objects.
9682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9683         (__libc_ifunc_impl_list): Likewise.
9685         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9686         file.
9687         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9688         file.
9689         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9690         file: memrchr multiarch for PPC32.
9691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9692         multiarch objects.
9693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9694         (__libc_ifunc_impl_list): Likewise.
9696         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9698         file.
9699         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9700         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9701         multiarch memchr for PPC32.
9702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9703         multiarch objects.
9704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9705         (__libc_ifunc_impl_list): Likewise.
9707         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9708         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9709         file.
9710         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9711         file.
9712         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9713         file: multiarch mempcpy for PPC32.
9714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9715         multiarch objects.
9716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9717         (__libc_ifunc_impl_list): Likewise.
9719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9720         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9721         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9722         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9723         multiarch bzero for PPC32.
9724         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9725         file.
9726         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9727         file.
9728         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9729         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9730         file: multiarch memset for PPC32.
9731         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9733         memset multiarch objects.
9734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9735         (__libc_ifunc_impl_list): Likewise.
9737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9738         file.
9739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9741         memcmp for PPC32.
9742         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9744         multiarch objects.
9745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9746         (__libc_ifunc_impl_list): Likewise.
9748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9751         file.
9752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9753         file.
9754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9755         file.
9756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9757         multiarch memcpy for PPC32.
9758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9759         multiarch objects.
9760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9761         (__libc_ifunc_impl_list): Likewise.
9763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9764         support multiarch for POWER/PPC32.
9765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9766         Likewise.
9767         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9769         Implies file to make multiarch folder appers before the fpu and
9770         default folder for power4 configuration.
9772 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9774         * scripts/bench.pl: Append volatile keyword to type.
9776 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9778         * sysdeps/sh/sotruss-lib.c: New file.
9779         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9781 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9785 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9787         [BZ #6810]
9788         * math/w_tgamma.c: Include <errno.h>.
9789         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9790         * math/w_tgammaf.c: Include <errno.h>.
9791         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9792         * math/w_tgammal.c: Include <errno.h>.
9793         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9794         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9795         underflow.  Add more tgamma tests.
9796         * math/auto-libm-test-out: Regenerated.
9797         * sysdeps/i386/fpu/libm-test-ulps: Update.
9798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9800         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9801         sin, sinh, tan, tanh, tgamma, y0 and y1.
9802         * math/auto-libm-test-out: Regenerated.
9803         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9804         (TEST_COND_x86): Likewise.
9805         (M_E2l): Remove macro.
9806         (M_E3l): Likewise.
9807         (M_2_SQRT_PIl): Likewise.
9808         (M_SQRT_PIl): Likewise.
9809         (M_1_DIV_El): Likewise.
9810         (log_test_data): Use AUTO_TESTS_f_f.
9811         (log10_test_data): Likewise.
9812         (log1p_test_data): Likewise.
9813         (log2_test_data): Likewise.
9814         (sin_test_data): Likewise.
9815         (sin_tonearest_test_data): Likewise.
9816         (sin_towardzero_test_data): Likewise.
9817         (sin_downward_test_data): Likewise.
9818         (sin_upward_test_data): Likewise.
9819         (sinh_test_data): Likewise.
9820         (sinh_tonearest_test_data): Likewise.
9821         (sinh_towardzero_test_data): Likewise.
9822         (sinh_downward_test_data): Likewise.
9823         (sinh_upward_test_data): Likewise.
9824         (tan_test_data): Likewise.
9825         (tan_tonearest_test_data): Likewise.
9826         (tan_towardzero_test_data): Likewise.
9827         (tan_downward_test_data): Likewise.
9828         (tan_upward_test_data): Likewise.
9829         (tanh_test_data): Likewise.
9830         (tgamma_test_data): Likewise.
9831         (y0_test_data): Likewise.
9832         (y1_test_data): Likewise.
9833         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9834         (special_real_inputs): Add pi/4.
9835         * sysdeps/i386/fpu/libm-test-ulps: Update.
9836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9838 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9840         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9841         "longjmp_target" static probes.
9842         (__longjmp): Rename to __longjmp_symbol.
9843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9844         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9845         on which longjmp to generate.
9846         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9847         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9848         probe.
9849         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9850         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9851         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9853         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9854         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9856         __longjmp_symbol based on which __longjmp to generate.
9857         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9858         probe.
9859         (setjmp): Rename to setjmp_symbol.
9860         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9861         (_setjmp): Rename to _setjmp_symbol.
9862         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9863         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9864         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9865         which setjmp to generate.
9866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9867         "longjmp_target" static probes.
9869 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9871         * benchtests/README: Add note about output arguments.
9872         * benchtests/bench-sincos.c: Remove file.
9873         * benchtests/sincos-inputs: New file.
9874         * scripts/bench.pl: Identify output arguments and define
9875         static variables for them.
9877         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9879         [BZ #15941]
9880         * Makefile (INSTALL): Add install-plain.texi as the primary
9881         dependency.
9882         * manual/install-plain.texi: New file.
9883         * manual/install.texi: Include node directive only for
9884         non-plaintext output.
9886 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9888         * stdlib/longlong.h: Update from GCC.
9890         [BZ #6807]
9891         [BZ #15901]
9892         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9893         * math/w_j0f.c (y0f): Likewise.
9894         * math/w_j0l.c (__y0l): Likewise.
9895         * math/w_j1.c (y1): Likewise.
9896         * math/w_j1f.c (y1f): Likewise.
9897         * math/w_j1l.c (__y1l): Likewise
9898         * math/w_jn.c (yn): Likewise.
9899         * math/w_jnf.c (ynf): Likewise.
9900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9901         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9902         value for Bessel function domain errors outside _SVID_ mode.
9903         Adjust sign of return value for yn (negative integer, 0).
9904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9905         by zero in return for negative x and set sign appropriately for
9906         negative n.
9907         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9908         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9909         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9910         expectations in error cases.
9911         (y1_test_data): Likewise.
9912         (yn_test_data): Likewise.
9913         * sysdeps/i386/fpu/libm-test-ulps: Update.
9914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9916 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9918         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9919         "64" to "64-v1".  Add "64-v2".
9920         (abi-64-options): Rename to ...
9921         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9922         (abi-64-condition): Rename to ...
9923         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9924         (abi-64-ld-soname): Rename to ...
9925         (abi-64-v1-ld-soname): ... this.
9926         (abi-64-v2-options): Define.
9927         (abi-64-v2-condition): Likewise.
9928         (abi-64-v2-ld-soname): Likewise.
9929         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9930         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9935 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9936             Alan Modra  <amodra@gmail.com>
9938         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9939         New versions for use with the ELFv2 ABI.
9940         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9941         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9942         declaration.
9943         (struct La_ppc64v2_retval): Likewise.
9944         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9945         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9946         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9947         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9948         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9949         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9950         Do not save or restore CR.
9951         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9952         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9953         return values for ELFv2 ABI.  Fix location of FPR return registers.
9954         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9955         updated values for _CALL_ELF == 2.
9956         (La_regs, La_retval, int_retval): Likewise.
9958 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9960         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9961         (FRAME_MIN_SIZE_PARM): Likewise.
9962         (FRAME_BACKCHAIN): Likewise.
9963         (FRAME_CR_SAVE): Likewise.
9964         (FRAME_LR_SAVE): Likewise.
9965         (FRAME_TOC_SAVE): Likewise.
9966         (FRAME_PARM_SAVE): Likewise.
9967         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9968         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9969         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9970         (call_mcount_parm_offset): New macro.
9971         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9972         (PROF): Use symbolic stack frame offsets.
9973         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9975         Redefine in terms of FRAME_MIN_SIZE.
9976         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9977         (_dl_profile_resolve): Likewise.  Update comment.
9978         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9979         symbols stack frame offsets.
9980         (__sigsetjmp): Likewise.
9981         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9982         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9983         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9984         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9987         (FRAME_BACKCHAIN): Remove.
9988         (FRAME_CR_SAVE): Likewise.
9989         (FRAME_LR_SAVE): Likewise.
9990         (FRAME_COMPILER_DW): Likewise.
9991         (FRAME_LINKER_DW): Likewise.
9992         (FRAME_TOC_SAVE): Likewise.
9993         (FRAME_PARM_SAVE): Likewise.
9994         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9995         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9996         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9998         (CHECK_SP): Use symbolic stack frame offsets.
9999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10000         zone" instead of caller's parameter save area for temp storage.
10001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10002         Likewise.  Also, use symbolic stack frame offsets.
10003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10004         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10005         our own stack frame instead of the caller's.
10006         (__socket): Use symbolic stack frame offsets.
10008 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10009             Alan Modra  <amodra@gmail.com>
10011         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10012         Define.
10013         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10014         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10015         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10016         New function.
10017         (elf_machine_fixup_plt): Call it.
10018         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10019         reloc arguments.
10020         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10021         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10022         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10023         r2 before calling target.
10025 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10026             Alan Modra  <amodra@gmail.com>
10028         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10029         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10030         versions of macros to support ELFv2 ABI.
10031         (LOCALENTRY): New macro.
10032         (ENTRY, EALIGN): Use it.
10033         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10034         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10035         fall through into ENTRY entry point.
10036         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10037         Only define if _CALL_ELF != 2.
10039         (elf_machine_matches_host): Verify ABI version matches.
10040         (RTLD_START): Use LOCALENTRY.
10041         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10042         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10043         (PLT_ENTRY_WORDS): New macro.
10044         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10045         (elf_machine_runtime_setup): Support ELFv2 ABI.
10046         (elf_machine_fixup_plt): Likewise.
10047         (elf_machine_plt_conflict): Likewise.
10048         (resolve_ifunc): Likewise.
10049         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10051         Likewise.
10052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10053         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10055         (makecontext): Support ELFv2 ABI.
10056         * elf/elf.h (EF_PPC64_ABI): Define.
10058 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10060         * sysdeps/powerpc/powerpc64/sysdep.h
10061         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10062         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10063         (ENTRY) [ASSEMBLER]: ... but instead here ...
10064         (EALIGN) [ASSEMBLER]: ... and here.
10065         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10066         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10067         (ENTRY_2) [!ASSEMBLER]: Use it.
10068         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10069         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10070         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10071         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10072         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10074         Use PPC64_LOAD_FUNCPTR.
10076         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10078 2013-12-04  Alan Modra  <amodra@gmail.com>
10080         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10081         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10082         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10083         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10085         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10086         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10087         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10088         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10089         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10090         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10092 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10095         (__makecontext): Fix incorrect CFI when backtracing out of
10096         context created via makecontext.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10098         (__setcontext): Fix incorrect CFI during switch to new context.
10099         (__novec_setcontext): Likewise.
10101 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10103         [BZ #4772]
10104         * time/strptime_l.c (__strptime_internal): Allow modifiers
10105         in strptime.
10106         * time/tst-strptime.c (day_tests): Add testcase.
10108 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10110         * scripts/bench.pl: Skip over blank lines.
10112 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10114         [BZ #926]
10115         * manual/time.texi (Calendar Time): Clarify what timezone functions
10116         use.
10118 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10122 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10124         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10125         implementation.
10126         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10127         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10128         * debug/memset_chk.c (__memset_chk): Likewise.
10129         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10130         * debug/strncpy_chk.c: Likewise.
10132 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10134         [BZ #15268]
10135         [BZ #15425]
10136         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10137         (__ieee754_exp): For possibly underflowing results, check size of
10138         result and force underflow exception if required.
10139         * math/auto-libm-test-in: Add more tests of exp.
10140         * math/auto-libm-test-out: Regenerated.
10141         * sysdeps/i386/fpu/libm-test-ulps: Update.
10142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144         [BZ #16283]
10145         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10146         * math/w_exp2f.c (__exp2f): Likewise.
10147         * math/w_exp2l.c (__exp2l): Likewise.
10148         * math/auto-libm-test-in: Do not allow missing errno on exp2
10149         underflow.
10150         * math/auto-libm-test-out: Regenerated.
10152 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10154         [BZ #16274]
10155         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10156         handle filename validation.
10157         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10158         (do_open): Delete.
10160 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10162         [BZ #6786]
10163         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10164         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10165         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10166         <float.h>.
10167         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10169         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10170         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10171         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10172         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10173         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10174         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10175         Add more erfc tests.
10176         * math/auto-libm-test-out: Regenerated.
10177         * sysdeps/i386/fpu/libm-test-ulps: Update.
10178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10180         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10181         exp2, expm1, j0 and j1.
10182         * math/auto-libm-test-out: Regenerated.
10183         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10184         (erfc_test_data): Likewise.
10185         (exp_test_data): Likewise.
10186         (exp_tonearest_test_data): Likewise.
10187         (exp_towardzero_test_data): Likewise.
10188         (exp_downward_test_data): Likewise.
10189         (exp_upward_test_data): Likewise.
10190         (exp10_test_data): Likewise.
10191         (exp2_test_data): Likewise.
10192         (expm1_test_data): Likewise.
10193         (j0_test_data): Likewise.
10194         (j1_test_data): Likewise.
10195         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10196         (input_flag_type): Add flag_xfail_rounding.
10197         (input_flags): Add xfail-rounding.
10198         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10199         (output_for_one_input_case): Handle flag_xfail_rounding.
10200         * sysdeps/i386/fpu/libm-test-ulps: Update.
10201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10205         [BZ #16289]
10206         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10207         division by 0.
10209 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10211         [BZ #16195]
10212         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10213         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10214         (STAP_PROBE0): New macro.
10215         (STAP_PROBE1): Likewise.
10216         (STAP_PROBE2): Likewise.
10217         (STAP_PROBE3): Likewise.
10218         (STAP_PROBE4): Likewise.
10220 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10222         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10224 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10226         * benchtests/Makefile (bench): Add sqrt.
10227         (LDLIBS-bench-sqrt): New.
10228         * benchtests/sqrt-input: New.
10230 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10232         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10233         (GAIH_EAI): Likewise.
10234         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10235         (gaih_inet): Likewise.
10236         (getaddrinfo): Don't use GAIH_EAI.
10238         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10239         (struct gaih): Remove definition.
10241 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10243         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10244         Use HERRNOP directly.
10246 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10252         * math/gen-auto-libm-tests.c (test_functions): Add more
10253         single-argument functions.
10254         (special_fill_pi_2): New function.
10255         (special_fill_minus_pi_2): Likewise.
10256         (special_fill_pi_6): Likewise.
10257         (special_fill_minus_pi_6): Likewise.
10258         (special_fill_pi_3): Likewise.
10259         (special_fill_2pi_3): Likewise.
10260         (special_fill_e): Likewise.
10261         (special_fill_1_e): Likewise.
10262         (special_fill_e_minus_1): Likewise.
10263         (special_real_inputs): Add more special inputs.
10264         (output_for_one_input_case): Do not require ERANGE on underflow to
10265         zero if round-to-nearest result does not underflow to zero, unless
10266         exact results required.
10267         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10268         atan, atanh, cbrt, cos and cosh.
10269         * math/auto-libm-test-out: Regenerated.
10270         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10271         (acos_tonearest_test_data): Likewise.
10272         (acos_towardzero_test_data): Likewise.
10273         (acos_downward_test_data): Likewise.
10274         (acos_upward_test_data): Likewise.
10275         (acosh_test_data): Likewise.
10276         (asin_test_data): Likewise.
10277         (asin_tonearest_test_data): Likewise.
10278         (asin_towardzero_test_data): Likewise.
10279         (asin_upward_test_data): Likewise.
10280         (asinh_test_data): Likewise.
10281         (atan_test_data): Likewise.
10282         (atanh_test_data): Likewise.
10283         (cbrt_test_data): Likewise.
10284         (cos_test_data): Likewise.
10285         (cos_tonearest_test_data): Likewise.
10286         (cos_towardzero_test_data): Likewise.
10287         (cos_downward_test_data): Likewise.
10288         (cos_upward_test_data): Likewise.
10289         (cosh_test_data): Likewise.
10290         (cosh_tonearest_test_data): Likewise.
10291         (cosh_towardzero_test_data): Likewise.
10292         (cosh_downward_test_data): Likewise.
10293         (cosh_upward_test_data): Likewise.
10294         * sysdeps/i386/fpu/libm-test-ulps: Update.
10295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10299         [BZ #6787]
10300         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10301         * math/w_exp10f.c (__exp10f): Likewise.
10302         * math/w_exp10l.c (__exp10l): Likewise.
10303         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10304         errno settings in existing tests.
10306         [BZ #14032]
10307         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10308         precision control set to double precision.
10309         * sysdeps/i386/fpu/w_sqrt.c: New file.
10310         * math/auto-libm-test-in: Add more tests.
10311         * math/auto-libm-test-out: Update.
10313         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10314         (sqrt_test_tonearest): New function.
10315         (sqrt_towardzero_test_data): New variable.
10316         (sqrt_test_towardzero): New function.
10317         (sqrt_downward_test_data): New variable.
10318         (sqrt_test_downward): New function.
10319         (sqrt_upward_test_data): New variable.
10320         (sqrt_test_upward): New function.
10321         (main): Call the new functions.
10323         * math/gen-auto-libm-tests.c: New file.
10324         * math/auto-libm-test-in: Likewise.
10325         * math/auto-libm-test-out: New generated file.
10326         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10327         variables.
10328         (%beautify): Add generated representations of zero.
10329         (top level): Set $auto_input and call parse_auto_input.
10330         (beautify): Remove trailing "f" from hex float constants.
10331         (parse_args): Handle XFAIL_TEST.
10332         (convert_condition): New function.
10333         (or_value): Likewise.
10334         (or_cond_value): Likewise.
10335         (generate_testfile): Handle AUTO_TESTS_* lines.
10336         (parse_auto_input): New function.
10337         * math/libm-test.inc (XFAIL_TEST): New macro.
10338         (ERRNO_UNCHANGED): Update value.
10339         (ERRNO_EDOM): Likewise.
10340         (ERRNO_ERANGE): Likewise.
10341         (IGNORE_RESULT): Likewise.
10342         (TEST_COND_flt_32): New macro.
10343         (TEST_COND_dbl_64): Likewise.
10344         (TEST_COND_ldbl_96_intel): Likewise.
10345         (TEST_COND_ldbl_96_m68k): Likewise.
10346         (TEST_COND_ldbl_128): Likewise.
10347         (TEST_COND_ldbl_128ibm): Likewise.
10348         (TEST_COND_long32): Likewise.
10349         (TEST_COND_long64): Likewise.
10350         (TEST_COND_before_rounding): Likewise.
10351         (TEST_COND_after_rounding): Likewise.
10352         (enable_test): Handle XFAIL_TEST flag.
10353         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10354         with finite results.
10355         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10356         auto-libm-test-out.
10358 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10359             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10361         [BZ #16214]
10362         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10363         __tls_get_addr_internal instead of __tls_get_offset in order to
10364         avoid GOT pointer dependency.  Make rtld export
10365         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10366         __tls_get_addr since we are a __tls_get_offset platform.
10367         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10368         GOT pointer being set up before.
10369         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10371 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10373         * manual/math.texi (Errors in Math Functions): Document accuracy
10374         goals.
10376         [BZ #15004]
10377         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10378         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10379         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10380         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10381         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10382         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10383         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10384         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10385         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10386         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10387         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10388         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10389         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10390         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10391         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10392         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10394         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10395         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10396         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10397         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10398         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10399         Likewise.
10400         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10401         Likewise.
10402         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10403         Likewise.
10404         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10405         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10406         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10407         atomic-feupdateenv and flt-rounds.
10408         * sysdeps/powerpc/nofpu/Versions (libc): Add
10409         __atomic_feholdexcept, __atomic_feclearexcept,
10410         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10411         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10412         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10413         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10414         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10415         here.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10417         Update.
10419         * manual/arith.texi (FP Exceptions): Document that exceptions may
10420         not be raised when matherr is used.
10421         (Math Error Reporting): Document overflow in directed rounding
10422         modes.  Document that errno may not be set when finite values are
10423         returned on overflow.  Document intent to set errno on underflow
10424         only for underflow to zero.
10426         [BZ #16271]
10427         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10428         round-to-nearest then adjust result for other rounding modes.
10429         * include/fenv.h (fegetround): Use libm_hidden_proto.
10430         * math/fegetround.c (fegetround): Use libm_hidden_def.
10431         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10432         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10433         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10434         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10435         Likewise.
10436         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10437         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10438         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10439         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10441 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10443         [BZ #16077]
10444         * nss/Versions (libnss_files): Add
10445         _nss_files_gethostbyname3_r.
10446         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10447         New function.
10448         (HOST_DB_LOOKUP): Remove macro.
10449         (_nss_files_gethostbyname_r): Implement function without the
10450         HOST_DB_LOOKUP macro.
10451         (_nss_files_gethostbyname2_r): Likewise.
10453 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10455         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10457 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10459         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10460         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10461         warning.
10463 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10465         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10466         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10467         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10468         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10469         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10470         __fe_nomask_env_priv and attribute_hidden.
10471         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10472         (libc_feupdateenv_test_ppc): Likewise.
10473         (libc_feresetround_ppc): Likewise.
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10475         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10476         compat_symbol macro.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10478         (__fe_nomask_env): Likewise.
10479         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10481 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10483         * string/Makefile: Remove ifunc tests.
10484         * string/test-string.h: Define TEST_IFUNC.
10485         * string/test-bcopy-ifunc.c: Remove.
10486         * string/test-bzero-ifunc.c: Likewise.
10487         * string/test-memccpy-ifunc.c: Likewise.
10488         * string/test-memchr-ifunc.c: Likewise.
10489         * string/test-memcmp-ifunc.c: Likewise.
10490         * string/test-memcpy-ifunc.c: Likewise.
10491         * string/test-memmem-ifunc.c: Likewise.
10492         * string/test-memmove-ifunc.c: Likewise.
10493         * string/test-mempcpy-ifunc.c: Likewise.
10494         * string/test-memrchr-ifunc.c: Likewise.
10495         * string/test-memset-ifunc.c: Likewise.
10496         * string/test-rawmemchr-ifunc.c: Likewise.
10497         * string/test-stpcpy-ifunc.c: Likewise.
10498         * string/test-stpncpy-ifunc.c: Likewise.
10499         * string/test-strcasecmp-ifunc.c: Likewise.
10500         * string/test-strcasestr-ifunc.c: Likewise.
10501         * string/test-strcat-ifunc.c: Likewise.
10502         * string/test-strchr-ifunc.c: Likewise.
10503         * string/test-strchrnul-ifunc.c: Likewise.
10504         * string/test-strcmp-ifunc.c: Likewise.
10505         * string/test-strcpy-ifunc.c: Likewise.
10506         * string/test-strcspn-ifunc.c: Likewise.
10507         * string/test-strlen-ifunc.c: Likewise.
10508         * string/test-strncasecmp-ifunc.c: Likewise.
10509         * string/test-strncat-ifunc.c: Likewise.
10510         * string/test-strncmp-ifunc.c: Likewise.
10511         * string/test-strncpy-ifunc.c: Likewise.
10512         * string/test-strnlen-ifunc.c: Likewise.
10513         * string/test-strpbrk-ifunc.c: Likewise.
10514         * string/test-strrchr-ifunc.c: Likewise.
10515         * string/test-strspn-ifunc.c: Likewise.
10516         * string/test-strstr-ifunc.c: Likewise.
10518 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10520         * benchtests/Makefile: Remove ifunc tests.
10521         * benchtests/bench-string.h: Define TEST_IFUNC.
10522         * benchtests/bench-bcopy-ifunc.c: Remove.
10523         * benchtests/bench-bzero-ifunc.c: Likewise.
10524         * benchtests/bench-memccpy-ifunc.c: Likewise.
10525         * benchtests/bench-memchr-ifunc.c: Likewise.
10526         * benchtests/bench-memcmp-ifunc.c: Likewise.
10527         * benchtests/bench-memcpy-ifunc.c: Likewise.
10528         * benchtests/bench-memmem-ifunc.c: Likewise.
10529         * benchtests/bench-memmove-ifunc.c: Likewise.
10530         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10531         * benchtests/bench-memrchr-ifunc.c: Likewise.
10532         * benchtests/bench-memset-ifunc.c: Likewise.
10533         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10534         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10535         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10536         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10537         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10538         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10539         * benchtests/bench-strcat-ifunc.c: Likewise.
10540         * benchtests/bench-strchr-ifunc.c: Likewise.
10541         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10542         * benchtests/bench-strcmp-ifunc.c: Likewise.
10543         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10544         * benchtests/bench-strcpy-ifunc.c: Likewise.
10545         * benchtests/bench-strcspn-ifunc.c: Likewise.
10546         * benchtests/bench-strlen-ifunc.c: Likewise.
10547         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10548         * benchtests/bench-strncat-ifunc.c: Likewise.
10549         * benchtests/bench-strncmp-ifunc.c: Likewise.
10550         * benchtests/bench-strncpy-ifunc.c: Likewise.
10551         * benchtests/bench-strnlen-ifunc.c: Likewise.
10552         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10553         * benchtests/bench-strrchr-ifunc.c: Likewise.
10554         * benchtests/bench-strsep-ifunc.c: Likewise.
10555         * benchtests/bench-strspn-ifunc.c: Likewise.
10556         * benchtests/bench-strstr-ifunc.c: Likewise.
10558 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10560         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10562 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10564         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10565         * rt/aio.h: Likewise.
10566         * sysdeps/gnu/bits/utmp.h: Likewise.
10567         * sysdeps/gnu/bits/utmpx.h: Likewise.
10568         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10569         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10570         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10571         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10572         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10573         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10574         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10575         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10576         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10578         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10579         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10580         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10583         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10584         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10585         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10586         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10587         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10588         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10589         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10590         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10591         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10592         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10594         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10595         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10596         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10597         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10598         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10599         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10600         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10601         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10602         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10603         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10604         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10605         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10606         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10607         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10608         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10609         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10611 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10613         [BZ #16245]
10614         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10615         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10617 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10619         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10620         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10621         Likewise.
10623 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10625         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10626         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10627         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10628         (__fesetround): Remove define.
10629         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10630         rounding and exceptions handling.
10631         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10632         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10633         (__fe_nomask_env): Likewise.
10634         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10635         __fegetround instead of fegetround.
10636         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10637         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10639 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10641         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10642         it's there.
10644         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10646 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10648         [BZ #11157]
10649         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10650         (encrypt_r): Likewise.
10651         * malloc/obstack.h (obstack_free): Likewise.
10652         * posix/unistd.h (encrypt): Likewise.
10654 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10656         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10657         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10658         DL_CALL_DT_FINI() that call the functions directly.
10659         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10660         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10661         * elf/dl-fini.c: Likewise.
10663 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10665         * malloc/hooks.c (memalign_check): Add alignment rounding.
10666         * malloc/malloc.c (_mid_memalign): New function.
10667         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10668         Implement by calling _mid_memalign.
10669         * manual/probes.texi (Memory Allocation Probes): Remove
10670         memory_valloc_retry and memory_pvalloc_retry.
10672 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10674         * locale/programs/locarchive.c (open_archive): Add const
10675         qualifier to ARCHIVEFNAME and copy default fname to
10676         DEFAULT_FNAME.
10678         [BZ #15601]
10679         * libio/tst-widetext.input: Rename Oriya to Odia.
10680         * locale/iso-639.def: Likewise.
10682         * manual/probes.texi (Mathematical Function Probes): Add
10683         documentation for sin, cos, asin and acos probes.
10684         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10685         (__sin32): Add slowasin probe.
10686         (__cos32): Add slowacos probe.
10687         (__mpsin): Add slowsin probe.
10688         (__mpcos): Add slowcos probe.
10690 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10692         [BZ #15483]
10693         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10694         thread-local __sim_exceptions_thread and global
10695         __sim_exceptions_global.
10696         (__sim_disabled_exceptions): Change to thread-local
10697         __sim_disabled_exceptions_thread and global
10698         __sim_disabled_exceptions_global.
10699         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10700         and global __sim_round_mode_global.
10701         (__simulate_exceptions): Use thread-local floating-point state and
10702         set global state from it as needed.
10703         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10704         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10705         __sim_round_mode_thread.
10706         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10707         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10708         and global __sim_exceptions_global.
10709         (__sim_disabled_exceptions): Change to thread-local
10710         __sim_disabled_exceptions_thread and global
10711         __sim_disabled_exceptions_global.
10712         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10713         and global __sim_round_mode_global.
10714         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10715         (SIM_SET_GLOBAL): Likewise.
10716         * sysdeps/powerpc/soft-fp/sfp-machine.h
10717         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10718         __sim_round_mode_thread.
10719         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10720         __sim_disabled_exceptions_thread.
10721         (__sim_exceptions): Change to __sim_exceptions_thread.
10722         (__sim_disabled_exceptions): Change to
10723         __sim_disabled_exceptions_thread.
10724         (__sim_round_mode): Change to __sim_round_mode_thread.
10725         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10726         thread-local floating-point state and set global state from it as
10727         needed.
10728         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10729         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10730         (__sim_disabled_exceptions): Remove extern declaration.
10731         (feenableexcept): Use thread-local floating-point state and set
10732         global state from it as needed.
10733         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10734         extern declaration.
10735         (__sim_disabled_exceptions): Likewise.
10736         (__sim_round_mode): Likewise.
10737         (__fegetenv): Use thread-local floating-point state.
10738         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10739         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10740         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10741         floating-point state and set global state from it as needed.
10742         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10743         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10744         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10745         Likewise.
10746         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10747         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10748         Likewise.
10749         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10750         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10751         Use __sim_round_mode_thread.
10752         * math/test-fenv-tls.c: New file.
10753         * math/Makefile (tests): Add test-fenv-tls.
10754         ($(objpfx)test-fenv-tls): Depend on
10755         $(common-objpfx)nptl/libpthread.so.
10757 2013-11-19  Andreas Schwab  <schwab@suse.de>
10759         * locale/programs/locale.c (show_info): Decode wordarray elements.
10760         * locale/categories.def (LC_MONETARY): Add element for
10761         _NL_MONETARY_CRNCYSTR.
10762         * locale/C-monetary.c (conversion_rate): New variable.
10763         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10764         element.
10766 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10768         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10769         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10771 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10773         * elf/Makefile (tst-auxv): New test.
10774         * elf/tst-auxv.c: New
10775         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10777 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10779         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10780         (hidden_proto): Caller changed.
10781         (hidden_tls_proto): New macro.
10782         (libc_hidden_tls_proto): Likewise.
10783         (rtld_hidden_tls_proto): Likewise.
10784         (libm_hidden_tls_proto): Likewise.
10785         (libresolv_hidden_tls_proto): Likewise.
10786         (librt_hidden_tls_proto): Likewise.
10787         (libdl_hidden_tls_proto): Likewise.
10788         (libnss_files_hidden_tls_proto): Likewise.
10789         (libnsl_hidden_tls_proto): Likewise.
10790         (libnss_nisplus_hidden_tls_proto): Likewise.
10791         (libutil_hidden_tls_proto): Likewise.
10793 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10795         [BZ #10253]
10796         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10797         (decompose_rpath): Defer expansion to fillin_rpath.
10798         (_dl_init_paths): Pass linkmap to fillin_rpath.
10800 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10802         * benchtests/Makefile: Add strsep.
10803         * benchtests/bench-strsep.c: New file: strsep benchtest.
10804         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10806 2013-11-18  Andreas Schwab  <schwab@suse.de>
10808         * locale/programs/locale.c (show_info) [case byte]: Check for
10809         '\377' instead of '\177'.
10810         * locale/C-monetary.c (not_available): Always use "\377".
10811         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10812         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10813         detect unavailable sign_posn locale elements.
10814         * locale/localeconv.c (__localeconv): For grouping and
10815         mon_grouping handle "\177" and "\377" like no grouping.
10816         (INT_ELEM): New macro.  Use it to set all numeric members.
10817         * locale/programs/ld-monetary.c (monetary_read)
10818         <tok_mon_grouping>: Normalize single -1 to the empty string.
10819         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10820         Likewise.
10822 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10824         [BZ #16055]
10825         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10826         when we match (nil).
10827         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10829 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10831         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10832         (NO_TEST_INLINE): Update value.
10833         (ERRNO_UNCHANGED): Likewise.
10834         (ERRNO_EDOM): Likewise.
10835         (ERRNO_ERANGE): Likewise.
10836         (IGNORE_RESULT): Likewise.
10837         (check_float_internal): Check signs of NaN results if
10838         TEST_NAN_SIGN used.
10839         (check_complex): Pass TEST_NAN_SIGN flag through to second
10840         check_float_internal call.
10841         (copysign_test_data): Add tests with quiet NaNs as second
10842         argument.  Use TEST_NAN_SIGN.
10843         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10844         TEST_NAN_SIGN.
10845         (signbit_test_data): Add tests of quiet NaN argument.
10846         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10848         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10849         $ignore_result.
10850         (parse_args): Handle function results specified as IGNORE.
10851         * math/libm-test.inc (IGNORE_RESULT): New macro.
10852         (check_float_internal): Do not check numerical result if flag
10853         IGNORE_RESULT set.
10854         (check_complex): Pass through IGNORE_RESULT to second
10855         check_float_internal call.
10856         (check_int): Do not check numerical result if flag IGNORE_RESULT
10857         set.
10858         (check_long): Likewise.
10859         (check_bool): Likewise.
10860         (check_longlong): Likewise.
10861         (lrint_test_data): Add tests of infinite and NaN arguments.
10862         (lrint_tonearest_test_data): Likewise.
10863         (lrint_towardzero_test_data): Likewise.
10864         (lrint_downward_test_data): Likewise.
10865         (lrint_upward_test_data): Likewise.
10866         (llrint_test_data): Likewise.
10867         (llrint_tonearest_test_data): Likewise.
10868         (llrint_towardzero_test_data): Likewise.
10869         (llrint_downward_test_data): Likewise.
10870         (llrint_upward_test_data): Likewise.
10871         (lround_test_data): Likewise.
10872         (llround_test_data): Likewise.
10874         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10875         (ERRNO_UNCHANGED): Update value.
10876         (ERRNO_EDOM): Likewise.
10877         (ERRNO_ERANGE): Likewise.
10878         (NO_TEST_INLINE_FLOAT): New macro.
10879         (NO_TEST_INLINE_DOUBLE): Likewise.
10880         (enable_test): New function.
10881         (RUN_TEST_f_f): Check enable_test before running test.
10882         (RUN_TEST_2_f): Likewise.
10883         (RUN_TEST_fff_f): Likewise.
10884         (RUN_TEST_c_f): Likewise.
10885         (RUN_TEST_f_f1): Likewise.
10886         (RUN_TEST_fF_f1): Likewise.
10887         (RUN_TEST_fI_f1): Likewise.
10888         (RUN_TEST_ffI_f1): Likewise.
10889         (RUN_TEST_c_c): Likewise.
10890         (RUN_TEST_cc_c): Likewise.
10891         (RUN_TEST_f_i): Likewise.
10892         (RUN_TEST_f_i_tg): Likewise.
10893         (RUN_TEST_ff_i_tg): Likewise.
10894         (RUN_TEST_f_b): Likewise.
10895         (RUN_TEST_f_b_tg): Likewise.
10896         (RUN_TEST_f_l): Likewise.
10897         (RUN_TEST_f_L): Likewise.
10898         (RUN_TEST_fFF_11): Likewise.
10899         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10900         conditionals.
10901         (cosh_test_data): Likewise.
10902         (exp_test_data): Likewise.
10903         (expm1_test_data): Likewise.
10904         (hypot_test_data): Likewise.
10905         (pow_test_data): Likewise.
10906         (sinh_test_data): Likewise.
10907         (tanh_test_data): Likewise.
10908         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10909         flags argument.
10911         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10912         tests with quiet NaN input and output.
10913         (acosh_test_data): Likewise.
10914         (asin_test_data): Likewise.
10915         (asinh_test_data): Likewise.
10916         (atan_test_data): Likewise.
10917         (atanh_test_data): Likewise.
10918         (atan2_test_data): Likewise.
10919         (cbrt_test_data): Likewise.
10920         (cos_test_data): Likewise.
10921         (cosh_test_data): Likewise.
10922         (erf_test_data): Likewise.
10923         (erfc_test_data): Likewise.
10924         (exp_test_data): Likewise.
10925         (exp10_test_data): Likewise.
10926         (exp2_test_data): Likewise.
10927         (expm1_test_data): Likewise.
10928         (hypot_test_data): Likewise.
10929         (j0_test_data): Likewise.
10930         (j1_test_data): Likewise.
10931         (jn_test_data): Likewise.
10932         (lgamma_test_data): Likewise.
10933         (log_test_data): Likewise.
10934         (log10_test_data): Likewise.
10935         (log1p_test_data): Likewise.
10936         (log2_test_data): Likewise.
10937         (pow_test_data): Likewise.
10938         (scalb_test_data): Likewise.
10939         (sin_test_data): Likewise.
10940         (sincos_test_data): Likewise.
10941         (sinh_test_data): Likewise.
10942         (tan_test_data): Likewise.
10943         (tanh_test_data): Likewise.
10944         (tgamma_test_data): Likewise.
10945         (y0_test_data): Likewise.
10946         (y1_test_data): Likewise.
10947         (yn_test_data): Likewise.
10949         [BZ #16167]
10950         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10951         argument being NaN and avoid computations with second argument in
10952         that case.
10953         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10954         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10955         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10957 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10959         * locale/iso-639.def: Add Chitwani Tharu (the).
10961 2013-11-14  Andreas Schwab  <schwab@suse.de>
10963         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10964         word instead of empty string.
10966 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10969         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10971         (__fe_nomask_env): Likewise.
10973 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10975         * benchtests/bench-timing.h: Include time.h.
10977 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10979         [BZ #15997]
10980         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10981         to 3.4.0 for x32.
10982         * sysdeps/unix/sysv/linux/configure: Regenerated.
10984 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10986         [BZ #16151]
10987         * stdlib/strtod_l.c (round_and_return): Do not consider
10988         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10989         exponent one less than half the least subnormal exponent.
10990         * stdlib/test-strtod-round-data: Add more tests.
10991         * stdlib/tst-strtod-round.c (tests): Regenerated.
10993 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10995         [BZ #14143]
10996         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10997         (__fe_mask_env): Likewise.
10998         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10999         libm_hidden_proto and add function prototype.
11000         (__fe_mask_env): Add function prototype.
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11002         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11004         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11006         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11008 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11010         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11011         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11013 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11015         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11016         of htab_find_slot().
11018 2013-11-11  David S. Miller  <davem@davemloft.net>
11020         [BZ #16150]
11021         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11022         symbol in the non-vis3 case in static builds.
11023         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11024         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11025         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11026         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11028 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11030         [BZ #387]
11031         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11032         it is empty.
11034 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11036         * benchtests/Makefile: Add bench-strtod.
11037         * benchtests/bench-strtod.c: New file: strtod benchtest
11039 2013-11-11  Andreas Schwab  <schwab@suse.de>
11041         [BZ #16153]
11042         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11043         terminating NUL in key length.
11045 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11048         Add artificial ODP entry for vDSO symbol for PPC64.
11049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11050         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11052 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11054         [BZ #15374]
11055         * nss/getent.c (services_keys): Recognize services starting with digit.
11057 2013-11-06  David S. Miller  <davem@davemloft.net>
11059         [BZ #15985]
11060         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11061         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11063 2013-11-06  Will Newton  <will.newton@linaro.org>
11065         * manual/memory.texi (Malloc Examples): Remove register
11066         keyword from examples.
11068 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11070         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11072 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11074         [BZ #6981]
11075         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11076         depending on [__GCC_IEC_559 > 0].
11077         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11078         depending on [__GCC_IEC_559_COMPLEX > 0].
11080 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11082         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11083         to iso-639.def.
11085 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11087         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11089 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11091         [BZ #16112]
11092         * malloc/malloc (malloc_info): Do not handle first bin as
11093         special case.
11095 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11097         * locale/iso-639.def: Add Central Nahuatl (nhn).
11099 2013-11-01  Bruno Haible  <bruno@clisp.org>
11101         [BZ #7003]
11102         * manual/math.texi (BSD Random): Specify range upper bound as
11103         in POSIX.
11105 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11107         * locale/iso-639.def: Add Meadow Mari (mhr).
11109 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11111         [BZ #14752], [BZ #15763]
11112         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11113         Validate name.
11114         * rt/tst_shm.c: Add test for escaping directory.
11116 2013-10-31  Andreas Schwab  <schwab@suse.de>
11118         [BZ #15917]
11119         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11120         followed by 'x' as part of digit sequence.
11121         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11123 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11125         [BZ #16037]
11126         * configure.ac: allow GNU Make 4.0 and greater.
11127         * configure: Regenerated.
11129 2013-10-30  Will Newton  <will.newton@linaro.org>
11131         [BZ #16038]
11132         * malloc/hooks.c (memalign_check): Limit alignment to the
11133         maximum representable power of two.
11134         * malloc/malloc.c (__libc_memalign): Likewise.
11135         * malloc/tst-memalign.c (do_test): Add test for very
11136         large alignment values.
11137         * malloc/tst-posix_memalign.c (do_test): Likewise.
11139 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11141         [BZ #11087]
11142         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11143         (munmap_chunk): Likewise.
11144         (mremap_chunk): Likewise.
11146 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11148         [BZ #15799]
11149         * stdlib/div.c (div): Remove obsolete code.
11150         * stdlib/ldiv.c (ldiv): Likewise.
11151         * stdlib/lldiv.c (lldiv): Likewise.
11153 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11155         [BZ #16071]
11156         * nss/nss_files/files-XXX.c (get_contents_ret): New
11157         enumerator.
11158         (get_contents): New function.
11159         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11161 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11163         * configure.in: Moved to ...
11164         * configure.ac: ... here. Change reference to configure.in
11165         to configure.ac.
11166         * sysdeps/arm/preconfigure.ac: ... here.
11167         configure.in to configure.ac.
11168         * sysdeps/gnu/configure.in: Moved to ...
11169         * sysdeps/gnu/configure.ac: ... here.
11170         * sysdeps/i386/configure.in: Moved to ...
11171         * sysdeps/i386/configure.ac: ... here.
11172         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11173         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11174         * sysdeps/mach/configure.in: Moved to ...
11175         * sysdeps/mach/configure.ac: ... here.
11176         * sysdeps/mach/hurd/configure.in: Moved to ...
11177         * sysdeps/mach/hurd/configure.ac: ... here.
11178         * sysdeps/powerpc/configure.in: Moved to ...
11179         * sysdeps/powerpc/configure.ac: ... here.
11180         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11181         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11182         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11183         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11184         * sysdeps/s390/s390-32/configure.in: Moved to ...
11185         * sysdeps/s390/s390-32/configure.ac: ... here.
11186         * sysdeps/s390/s390-64/configure.in: Moved to ...
11187         * sysdeps/s390/s390-64/configure.ac: ... here.
11188         * sysdeps/sh/configure.in: Moved to ...
11189         * sysdeps/sh/configure.ac: ... here.
11190         * sysdeps/sparc/configure.in: Moved to ...
11191         * sysdeps/sparc/configure.ac: ... here.
11192         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11193         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11194         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11195         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11196         * sysdeps/x86_64/configure.in: Moved to ...
11197         * sysdeps/x86_64/configure.ac: ... here.
11198         * sysdeps/x86_64/preconfigure.in: Moved to ...
11199         * sysdeps/x86_64/preconfigure.ac: ... here.
11200         * aclocal.m4: Change reference to configure.in to configure.ac.
11201         * config.h.in: Likewise.
11202         * manual/install.texi: Likewise.
11203         * manual/maint.texi: Likewise.
11204         * Makefile: Likewise.
11205         * malloc/Makefile: Likewise.
11206         * nscd/Makefile: Likewise.
11207         * Makeconfig: Change reference to configure.in and
11208         preconfigure.in to configure.ac and preconfigure.ac
11209         respectively.
11210         * INSTALL: Regenerated.
11211         * configure: Likewise.
11212         * sysdeps/gnu/configure: Likewise.
11213         * sysdeps/i386/configure: Likewise.
11214         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11215         * sysdeps/mach/configure: Likewise.
11216         * sysdeps/mach/hurd/configure: Likewise.
11217         * sysdeps/powerpc/configure: Likewise.
11218         * sysdeps/powerpc/powerpc32/configure: Likewise.
11219         * sysdeps/powerpc/powerpc64/configure: Likewise.
11220         * sysdeps/s390/s390-32/configure: Likewise.
11221         * sysdeps/s390/s390-64/configure: Likewise.
11222         * sysdeps/sh/configure: Likewise.
11223         * sysdeps/sparc/configure: Likewise.
11224         * sysdeps/unix/sysv/linux/configure: Likewise.
11225         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11226         * sysdeps/x86_64/configure: Likewise.
11227         * sysdeps/x86_64/preconfigure: Likewise.
11229 2013-10-29  Andreas Schwab  <schwab@suse.de>
11231         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11233 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11235         * benchtests/pow-inputs: Add new inputs.
11237         * benchtests/exp-inputs: Add new inputs.
11239         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11240         conditional check for return value.
11241         (__cos32): Likewise.
11243 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11245         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11246         to provide a boost for large inputs with word alignment.
11247         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11248         implementation based on optimized PPC64 strcpy.
11249         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11250         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11251         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11252         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11254 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11256         [BZ #2801]
11257         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11259 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11261         [BZ #14876]
11262         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11263         * time/tst-strptime.c (day_tests): Add testcase.
11265 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11267         [BZ #14029]
11268         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11270 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11272         [BZ #16074]
11273         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11274         MAP_FAILED on error.
11276 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11278         [BZ #16072]
11279         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11280         heap for large requests.
11282 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11284         [BZ #9954]
11285         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11286         result if the result has no associated interface.
11287         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11288         interface for all 127.X.Y.Z addresses.
11290 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11292         * locale/iso-639.def: Add Ligurian (lij)
11294 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11296         [BZ #15825]
11297         * sunrpc/rpc_main.c: Document rpcgen -5.
11299 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11301         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11303 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11305         [BZ #10278]
11306         * posix/glob.c: Match only directories when trailing slash is present.
11307         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11308         (main): Add testcase.
11310 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11312         [BZ #15670]
11313         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11315 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11317         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11318         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11319         AUTH_DES and cindex for FIPS 140-2.
11320         (DES Encryption): Add cindex FIPS 46-3.
11322         * locale/locarchive.h (struct locarhandle): Add fname.
11323         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11324         if an optional argument was specified to --list-archive,
11325         otherwise NULL.
11326         * locale/programs/locarchive.c (show_archive_content): Take new
11327         argument fname and pass it via ah.fname to open_archive.
11328         * locale/programs/localedef.h: Update decl.
11329         (open_archive): If AH->fname is non-null, open that file
11330         rather than the default file name, and don't ignore ENOENT.
11331         (create_archive): Set AH.fname to NULL.
11332         (delete_locales_from_archive): Likewise.
11333         (add_locales_to_archive): Likewise.
11334         * locale/programs/locfile.c (write_all_categories): Likewise.
11336 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11337             Aldy Hernandez  <aldyh@redhat.com>
11339         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11340         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11341         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11342         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11343         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11344         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11345         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11346         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11347         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11348         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11349         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11350         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11351         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11352         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11353         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11354         Likewise.
11355         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11356         Likewise.
11357         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11358         Likewise.
11359         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11360         Likewise.
11361         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11362         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11363         Likewise.
11364         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11365         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11366         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11367         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11368         Likewise.
11369         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11370         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11371         * sysdeps/powerpc/preconfigure: Likewise.
11372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11373         Likewise.
11374         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11375         Replace contents of file by #include of <fenv_libc.h>.
11376         * sysdeps/powerpc/soft-fp/sfp-machine.h
11377         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11378         and <sys/prctl.h>.
11379         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11381         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11383         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11387         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11388         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11389         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11392         Allow copysignl PLT reference to be missing.
11394 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11395             Joseph Myers  <joseph@codesourcery.com
11397         [BZ #15948]
11398         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11399         single character.
11400         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11402 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11404         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11405         * elf/tst-tls1.c: Likewise.
11406         * elf/tst-tls10.h: Likewise.
11407         * elf/tst-tls14.c: Likewise.
11408         * elf/tst-tls2.c: Likewise.
11409         * elf/tst-tls3.c: Likewise.
11410         * elf/tst-tls4.c: Likewise.
11411         * elf/tst-tls5.c: Likewise.
11412         * elf/tst-tls6.c: Likewise.
11413         * elf/tst-tls7.c: Likewise.
11414         * elf/tst-tls8.c: Likewise.
11415         * elf/tst-tls9.c: Likewise.
11416         * elf/tst-tlsmod1.c: Likewise.
11417         * elf/tst-tlsmod13.c: Likewise.
11418         * elf/tst-tlsmod13a.c: Likewise.
11419         * elf/tst-tlsmod14a.c: Likewise.
11420         * elf/tst-tlsmod16a.c: Likewise.
11421         * elf/tst-tlsmod16b.c: Likewise.
11422         * elf/tst-tlsmod2.c: Likewise.
11423         * elf/tst-tlsmod3.c: Likewise.
11424         * elf/tst-tlsmod4.c: Likewise.
11425         * elf/tst-tlsmod5.c: Likewise.
11426         * elf/tst-tlsmod6.c: Likewise.
11428 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11430         [BZ #12486]
11431         * malloc/malloc.c: remove checks for statistics.
11433 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11435         [BZ #15277]
11436         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11437         * inet/tst-network.c: Add testcase.
11439 2013-10-17  Andreas Schwab  <schwab@suse.de>
11441         [BZ #15218]
11442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11443         to determine canonical name.
11445 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11447         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11448         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11449         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11450         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11452         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11453         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11454         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11455         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11456         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11457         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11458         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11464         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11465         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11466         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11467         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11469         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11470         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11471         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11472         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11473         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11474         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11475         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11476         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11477         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11478         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11479         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11480         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11481         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11482         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11483         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11484         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11485         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11486         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11487         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11488         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11489         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11490         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11491         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11492         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11493         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11494         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11495         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11496         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11497         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11498         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11499         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11500         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11502         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11503         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11504         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11506 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11508         [BZ #16041]
11509         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11510         make result into a quiet NaN.
11512 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11514         * soft-fp/adddf3.c: Fix horizontal whitespace.
11515         * soft-fp/addsf3.c: Likewise.
11516         * soft-fp/addtf3.c: Likewise.
11517         * soft-fp/divdf3.c: Likewise.
11518         * soft-fp/divsf3.c: Likewise.
11519         * soft-fp/divtf3.c: Likewise.
11520         * soft-fp/double.h: Likewise.
11521         * soft-fp/eqdf2.c: Likewise.
11522         * soft-fp/eqsf2.c: Likewise.
11523         * soft-fp/eqtf2.c: Likewise.
11524         * soft-fp/extenddftf2.c: Likewise.
11525         * soft-fp/extended.h: Likewise.
11526         * soft-fp/extendsfdf2.c: Likewise.
11527         * soft-fp/extendsftf2.c: Likewise.
11528         * soft-fp/extendxftf2.c: Likewise.
11529         * soft-fp/fixdfdi.c: Likewise.
11530         * soft-fp/fixdfsi.c: Likewise.
11531         * soft-fp/fixdfti.c: Likewise.
11532         * soft-fp/fixsfdi.c: Likewise.
11533         * soft-fp/fixsfsi.c: Likewise.
11534         * soft-fp/fixsfti.c: Likewise.
11535         * soft-fp/fixtfdi.c: Likewise.
11536         * soft-fp/fixtfsi.c: Likewise.
11537         * soft-fp/fixtfti.c: Likewise.
11538         * soft-fp/fixunsdfdi.c: Likewise.
11539         * soft-fp/fixunsdfsi.c: Likewise.
11540         * soft-fp/fixunsdfti.c: Likewise.
11541         * soft-fp/fixunssfdi.c: Likewise.
11542         * soft-fp/fixunssfsi.c: Likewise.
11543         * soft-fp/fixunssfti.c: Likewise.
11544         * soft-fp/fixunstfdi.c: Likewise.
11545         * soft-fp/fixunstfsi.c: Likewise.
11546         * soft-fp/fixunstfti.c: Likewise.
11547         * soft-fp/floatdidf.c: Likewise.
11548         * soft-fp/floatdisf.c: Likewise.
11549         * soft-fp/floatditf.c: Likewise.
11550         * soft-fp/floatsidf.c: Likewise.
11551         * soft-fp/floatsisf.c: Likewise.
11552         * soft-fp/floatsitf.c: Likewise.
11553         * soft-fp/floattidf.c: Likewise.
11554         * soft-fp/floattisf.c: Likewise.
11555         * soft-fp/floattitf.c: Likewise.
11556         * soft-fp/floatundidf.c: Likewise.
11557         * soft-fp/floatundisf.c: Likewise.
11558         * soft-fp/floatunditf.c: Likewise.
11559         * soft-fp/floatunsidf.c: Likewise.
11560         * soft-fp/floatunsisf.c: Likewise.
11561         * soft-fp/floatunsitf.c: Likewise.
11562         * soft-fp/floatuntidf.c: Likewise.
11563         * soft-fp/floatuntisf.c: Likewise.
11564         * soft-fp/floatuntitf.c: Likewise.
11565         * soft-fp/fmadf4.c: Likewise.
11566         * soft-fp/fmasf4.c: Likewise.
11567         * soft-fp/fmatf4.c: Likewise.
11568         * soft-fp/gedf2.c: Likewise.
11569         * soft-fp/gesf2.c: Likewise.
11570         * soft-fp/getf2.c: Likewise.
11571         * soft-fp/ledf2.c: Likewise.
11572         * soft-fp/lesf2.c: Likewise.
11573         * soft-fp/letf2.c: Likewise.
11574         * soft-fp/muldf3.c: Likewise.
11575         * soft-fp/mulsf3.c: Likewise.
11576         * soft-fp/multf3.c: Likewise.
11577         * soft-fp/negdf2.c: Likewise.
11578         * soft-fp/negsf2.c: Likewise.
11579         * soft-fp/negtf2.c: Likewise.
11580         * soft-fp/op-1.h: Likewise.
11581         * soft-fp/op-2.h: Likewise.
11582         * soft-fp/op-4.h: Likewise.
11583         * soft-fp/op-8.h: Likewise.
11584         * soft-fp/op-common.h: Likewise.
11585         * soft-fp/quad.h: Likewise.
11586         * soft-fp/single.h: Likewise.
11587         * soft-fp/soft-fp.h: Likewise.
11588         * soft-fp/sqrtdf2.c: Likewise.
11589         * soft-fp/sqrtsf2.c: Likewise.
11590         * soft-fp/sqrttf2.c: Likewise.
11591         * soft-fp/subdf3.c: Likewise.
11592         * soft-fp/subsf3.c: Likewise.
11593         * soft-fp/subtf3.c: Likewise.
11594         * soft-fp/truncdfsf2.c: Likewise.
11595         * soft-fp/trunctfdf2.c: Likewise.
11596         * soft-fp/trunctfsf2.c: Likewise.
11597         * soft-fp/trunctfxf2.c: Likewise.
11598         * soft-fp/unorddf2.c: Likewise.
11599         * soft-fp/unordsf2.c: Likewise.
11600         * soft-fp/unordtf2.c: Likewise.
11602 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11604         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11605         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11607 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11609         * elf/dl-libc.c: Clear initfini list after freeing.
11611 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11613         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11614         * soft-fp/addsf3.c: Likewise.
11615         * soft-fp/addtf3.c: Likewise.
11616         * soft-fp/divdf3.c: Likewise.
11617         * soft-fp/divsf3.c: Likewise.
11618         * soft-fp/divtf3.c: Likewise.
11619         * soft-fp/double.h: Likewise.
11620         * soft-fp/eqdf2.c: Likewise.
11621         * soft-fp/eqsf2.c: Likewise.
11622         * soft-fp/eqtf2.c: Likewise.
11623         * soft-fp/extenddftf2.c: Likewise.
11624         * soft-fp/extended.h: Likewise.
11625         * soft-fp/extendsfdf2.c: Likewise.
11626         * soft-fp/extendsftf2.c: Likewise.
11627         * soft-fp/extendxftf2.c: Likewise.
11628         * soft-fp/fixdfdi.c: Likewise.
11629         * soft-fp/fixdfsi.c: Likewise.
11630         * soft-fp/fixdfti.c: Likewise.
11631         * soft-fp/fixsfdi.c: Likewise.
11632         * soft-fp/fixsfsi.c: Likewise.
11633         * soft-fp/fixsfti.c: Likewise.
11634         * soft-fp/fixtfdi.c: Likewise.
11635         * soft-fp/fixtfsi.c: Likewise.
11636         * soft-fp/fixtfti.c: Likewise.
11637         * soft-fp/fixunsdfdi.c: Likewise.
11638         * soft-fp/fixunsdfsi.c: Likewise.
11639         * soft-fp/fixunsdfti.c: Likewise.
11640         * soft-fp/fixunssfdi.c: Likewise.
11641         * soft-fp/fixunssfsi.c: Likewise.
11642         * soft-fp/fixunssfti.c: Likewise.
11643         * soft-fp/fixunstfdi.c: Likewise.
11644         * soft-fp/fixunstfsi.c: Likewise.
11645         * soft-fp/fixunstfti.c: Likewise.
11646         * soft-fp/floatdidf.c: Likewise.
11647         * soft-fp/floatdisf.c: Likewise.
11648         * soft-fp/floatditf.c: Likewise.
11649         * soft-fp/floatsidf.c: Likewise.
11650         * soft-fp/floatsisf.c: Likewise.
11651         * soft-fp/floatsitf.c: Likewise.
11652         * soft-fp/floattidf.c: Likewise.
11653         * soft-fp/floattisf.c: Likewise.
11654         * soft-fp/floattitf.c: Likewise.
11655         * soft-fp/floatundidf.c: Likewise.
11656         * soft-fp/floatundisf.c: Likewise.
11657         * soft-fp/floatunsidf.c: Likewise.
11658         * soft-fp/floatunsisf.c: Likewise.
11659         * soft-fp/floatuntidf.c: Likewise.
11660         * soft-fp/floatuntisf.c: Likewise.
11661         * soft-fp/floatuntitf.c: Likewise.
11662         * soft-fp/fmadf4.c: Likewise.
11663         * soft-fp/fmasf4.c: Likewise.
11664         * soft-fp/fmatf4.c: Likewise.
11665         * soft-fp/gedf2.c: Likewise.
11666         * soft-fp/gesf2.c: Likewise.
11667         * soft-fp/getf2.c: Likewise.
11668         * soft-fp/ledf2.c: Likewise.
11669         * soft-fp/lesf2.c: Likewise.
11670         * soft-fp/letf2.c: Likewise.
11671         * soft-fp/muldf3.c: Likewise.
11672         * soft-fp/mulsf3.c: Likewise.
11673         * soft-fp/multf3.c: Likewise.
11674         * soft-fp/negdf2.c: Likewise.
11675         * soft-fp/negsf2.c: Likewise.
11676         * soft-fp/negtf2.c: Likewise.
11677         * soft-fp/op-1.h: Likewise.
11678         * soft-fp/op-2.h: Likewise.
11679         * soft-fp/op-4.h: Likewise.
11680         * soft-fp/op-8.h: Likewise.
11681         * soft-fp/op-common.h: Likewise.
11682         * soft-fp/quad.h: Likewise.
11683         * soft-fp/single.h: Likewise.
11684         * soft-fp/soft-fp.h: Likewise.
11685         * soft-fp/sqrtdf2.c: Likewise.
11686         * soft-fp/sqrtsf2.c: Likewise.
11687         * soft-fp/sqrttf2.c: Likewise.
11688         * soft-fp/subdf3.c: Likewise.
11689         * soft-fp/subsf3.c: Likewise.
11690         * soft-fp/subtf3.c: Likewise.
11691         * soft-fp/truncdfsf2.c: Likewise.
11692         * soft-fp/trunctfdf2.c: Likewise.
11693         * soft-fp/trunctfsf2.c: Likewise.
11694         * soft-fp/trunctfxf2.c: Likewise.
11695         * soft-fp/unorddf2.c: Likewise.
11696         * soft-fp/unordsf2.c: Likewise.
11697         * soft-fp/unordtf2.c: Likewise.
11699 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11701         [BZ #15672]
11702         * misc/error.c (error_tail): Fix possible buffer overflow.
11704 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
11706         [BZ #13028]
11707         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11708         address.
11710 2013-10-14  P. J. McDermott  <pj@pehjota.net>
11712         [BZ #832]
11713         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
11714         testing pipefail option.
11716 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11718         * soft-fp/double.h: Indent preprocessor directives inside #if.
11719         * soft-fp/extended.h: Likewise.
11720         * soft-fp/op-2.h: Likewise.
11721         * soft-fp/op-4.h: Likewise.
11722         * soft-fp/op-common.h: Likewise.
11723         * soft-fp/quad.h: Likewise.
11724         * soft-fp/single.h: Likewise.
11725         * soft-fp/soft-fp.h: Likewise.
11727 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11729         * iconv/iconv_prog.c: Fix typos.
11730         * stdio-common/psiginfo-data.h: Likewise.
11732 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11734         [BZ #15764]
11735         * locale/setlocale.c: Fix typo.
11737 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11739         [BZ #16036]
11740         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11741         signaling NaN arguments.
11742         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11743         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11745         [BZ #14910]
11746         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11747         unordered operands.
11748         * soft-fp/gesf2.c (__gesf2): Likewise.
11749         * soft-fp/getf2.c (__getf2): Likewise.
11750         * soft-fp/ledf2.c (__ledf2): Likewise.
11751         * soft-fp/lesf2.c (__lesf2): Likewise.
11752         * soft-fp/letf2.c (__letf2): Likewise.
11754         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11755         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11756         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11757         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11758         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11759         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11760         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11761         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11762         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11763         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11764         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11765         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11766         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11767         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11768         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11769         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11770         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11771         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11772         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11773         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11774         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11775         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11776         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11777         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11778         * soft-fp/floattidf.c (__floattidf): Likewise.
11779         * soft-fp/floattisf.c (__floattisf): Likewise.
11780         * soft-fp/floattitf.c (__floattitf): Likewise.
11781         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11782         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11783         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11784         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11785         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11786         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11787         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11788         * soft-fp/gesf2.c (__gesf2): Likewise.
11789         * soft-fp/getf2.c (__getf2): Likewise.
11790         * soft-fp/ledf2.c (__ledf2): Likewise.
11791         * soft-fp/lesf2.c (__lesf2): Likewise.
11792         * soft-fp/letf2.c (__letf2): Likewise.
11794         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11795         Undefine and redefine.
11796         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11797         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11798         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11799         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11800         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11801         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11802         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11803         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11804         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11805         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11806         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11807         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11808         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11809         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11810         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11812         [BZ #16032]
11813         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11814         without decrementing exponent if mantissa >= that for the
11815         denominator, not >.
11816         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11817         denominator, not >.  Decrement exponent in < case instead of
11818         incrementing in >= case.
11819         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11820         without decrementing exponent if mantissa >= that for the
11821         denominator, not >.
11823         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11824         computing saturated result for unsigned overflow.
11826 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11827             Jeff Law  <law@redhat.com>
11829         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11830         (atan2Mp): Add systemtap probe marker.
11831         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11832         (__ieee754_log): Add systemtap probe marker.
11833         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11834         (atanMp): Add systemtap probe marker.
11835         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11836         (tanMp): Add systemtap probe marker.
11837         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11838         (__slowexp): Add systemtap probe marker.
11839         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11840         (__slowpow): Add systemtap probe marker.
11841         * manual/probes.texi: Document probes.
11843 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11845         [BZ #15362]
11846         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11847         written.
11848         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11849         written.
11850         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11851         written to buffer but not flushed.
11852         * libio/iofwrite_u.c:  Likewise.
11853         * libio/iopadn.c:  Return bytes returned even if EOF was
11854         encountered.
11855         * libio/iowpadn.c:  Likewise.
11856         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11857         if _IO_padn does not write the whole buffer.
11858         [!COMPILE_WPRINTF] (PAD): Likewise.
11860 2013-10-10  David S. Miller  <davem@davemloft.net>
11862         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11863         directory block.
11865 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11867         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11868         instead of FSF address.
11869         * soft-fp/fixdfti.c: Likewise.
11870         * soft-fp/fixsfti.c: Likewise.
11871         * soft-fp/fixtfti.c: Likewise.
11872         * soft-fp/fixunsdfti.c: Likewise.
11873         * soft-fp/fixunssfti.c: Likewise.
11874         * soft-fp/fixunstfti.c: Likewise.
11875         * soft-fp/floattidf.c: Likewise.
11876         * soft-fp/floattisf.c: Likewise.
11877         * soft-fp/floattitf.c: Likewise.
11878         * soft-fp/floatuntidf.c: Likewise.
11879         * soft-fp/floatuntisf.c: Likewise.
11880         * soft-fp/floatuntitf.c: Likewise.
11881         * soft-fp/trunctfxf2.c: Likewise.
11883         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11884         * soft-fp/fixdfti.c: Likewise.
11885         * soft-fp/fixsfti.c: Likewise.
11886         * soft-fp/fixtfti.c: Likewise.
11887         * soft-fp/fixunsdfti.c: Likewise.
11888         * soft-fp/fixunssfti.c: Likewise.
11889         * soft-fp/fixunstfti.c: Likewise.
11890         * soft-fp/floattidf.c: Likewise.
11891         * soft-fp/floattisf.c: Likewise.
11892         * soft-fp/floattitf.c: Likewise.
11893         * soft-fp/floatuntidf.c: Likewise.
11894         * soft-fp/floatuntisf.c: Likewise.
11895         * soft-fp/floatuntitf.c: Likewise.
11896         * soft-fp/trunctfxf2.c: Likewise.
11898 2013-10-10  David S. Miller  <davem@davemloft.net>
11900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11902 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11904         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11905         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11906         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11907         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11908         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11909         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11910         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11913         for NaNs before doing comparisons on argument.
11914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11915         Likewise.
11917 2013-10-10  Will Newton  <will.newton@linaro.org>
11919         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11920         passed to _int_memalign does not overflow.
11922 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11924         * scripts/bench.pl: Add include-sources directive.
11925         * benchtests/README: Update documentation.
11927 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11929         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11930         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11931         instead of FP_INIT_ROUNDMODE.
11932         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11933         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11935         [BZ #16034]
11936         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11937         copy class of input value.
11938         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11939         not handle exceptions.
11940         * soft-fp/negsf2.c (__negsf2): Likewise.
11941         * soft-fp/negtf2.c (__negtf2): Likewise.
11942         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11944 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11946         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11947         semicolon.  From Linux kernel.
11949 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11951         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11953 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11955         [BZ #156]
11956         * manual/socket.texi: Added statement about buffer
11957         for gethostbyname2_r.
11959 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11961         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11962         Use .p2align directive instead, throughout.
11963         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11964         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11965         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11966         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11967         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11968         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11969         * sysdeps/x86_64/strchr.S: Likewise.
11970         * sysdeps/x86_64/strrchr.S: Likewise.
11972 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11974         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11976         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11978         * sysdeps/generic/math_private.h (__mpsin1): Remove
11979         declaration.
11980         (__mpcos1): Likewise.
11981         (__mpsin): New argument __range_reduce.
11982         (__mpcos): Likewise.
11983         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11984         (slow): Use __mpsin and __mpcos.
11985         (slow1): Likewise.
11986         (slow2): Likewise.
11987         (sloww): Likewise.
11988         (sloww1): Likewise.
11989         (sloww2): Likewise.
11990         (bsloww): Likewise.
11991         (bsloww1): Likewise.
11992         (bsloww2): Likewise.
11993         (cslow2): Likewise.
11994         (csloww): Likewise.
11995         (csloww1): Likewise.
11996         (csloww2): Likewise.
11997         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11998         range_reduce.  Merge in __mpsin1.
11999         (__mpcos): Likewise.
12000         (__mpsin1): Remove.
12001         (__mpcos1): Likewise.
12003 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12005         * locale/loadlocale.c (_nl_intern_locale_data): Use
12006         LOCFILE_ALIGNED_P.
12007         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12008         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12009         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12010         obstack data is appropriately aligned.
12011         (obstack_int32_grow_fast): Likewise.
12012         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12013         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12014         (add_locale_uint32_array): Likewise.
12016 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12018         * benchtests/Makefile: Remove ARGLIST and RET variables.
12019         ($(objpfx)bench-%.c): Pass only function name to the script.
12020         * benchtests/README: Update documentation.
12021         * benchtests/acos-inputs: Add new directives.
12022         * benchtests/acosh-inputs: Likewise.
12023         * benchtests/asin-inputs: Likewise.
12024         * benchtests/asinh-inputs: Likewise.
12025         * benchtests/atan-inputs: Likewise.
12026         * benchtests/atanh-inputs: Likewise.
12027         * benchtests/cos-inputs: Likewise.
12028         * benchtests/cosh-inputs: Likewise.
12029         * benchtests/exp-inputs: Likewise.
12030         * benchtests/log-inputs: Likewise.
12031         * benchtests/pow-inputs: Likewise.
12032         * benchtests/rint-inputs: Likewise.
12033         * benchtests/sin-inputs: Likewise.
12034         * benchtests/sinh-inputs: Likewise.
12035         * benchtests/tan-inputs: Likewise.
12036         * benchtests/tanh-inputs: Likewise.
12037         * scripts/bench.pl: Add support for new directives.
12039 2013-10-07  Alan Modra  <amodra@gmail.com>
12041         * README: Fix careless merge.
12043 2013-10-05  Alan Modra  <amodra@gmail.com>
12045         * NEWS: Mention powerpc64le support and bugs fixed.
12046         * README: Both big-endian and little-endian powerpc64 supported.
12048 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12050         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12051         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12052         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12053         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12055 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12057         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12058         match prototype.
12060 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12062         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12063         Move -mhard-float appending from
12064         ports/sysdeps/powerpc/powerpc32/Makefile.
12065         [$(with-fp) = yes] (ASFLAGS): Likewise.
12066         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12067         * sysdeps/powerpc/nofpu: Move directory from
12068         ports/sysdeps/powerpc/nofpu.
12069         * sysdeps/powerpc/soft-fp: Move directory from
12070         ports/sysdeps/powerpc/soft-fp.
12071         * sysdeps/powerpc/powerpc32/405: Move directory from
12072         ports/sysdeps/powerpc/powerpc32/405.
12073         * sysdeps/powerpc/powerpc32/440: Move directory from
12074         ports/sysdeps/powerpc/powerpc32/440.
12075         * sysdeps/powerpc/powerpc32/464: Move directory from
12076         ports/sysdeps/powerpc/powerpc32/464.
12077         * sysdeps/powerpc/powerpc32/476: Move directory from
12078         ports/sysdeps/powerpc/powerpc32/476.
12079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12080         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12082         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12084         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12086         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12088         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12089         * README: Update for powerpc-*-linux-gnu software floating point
12090         support in libc.
12092         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12093         case to powerpc/powerpc32*.
12094         * sysdeps/unix/sysv/linux/configure: Regenerated.
12096         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12097         (_FPU_MASK_OM): Define as 0x04.
12098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12100         0x00c10080.
12101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12102         0x0000003c.
12103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12106         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12107         getcontext_e500.
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12109         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12110         setcontext_e500.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12112         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12113         and setcontext_e500.
12115 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12117         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12119 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12121         * manual/threads.texi (Default Thread Attributes): Fix typo.
12123 2013-10-04  Will Newton  <will.newton@linaro.org>
12125         * malloc/Makefile: Add tst-memalign.
12126         * malloc/tst-memalign.c: New file.
12128         * malloc/tst-posix_memalign.c: Add comments.
12129         (do_test): Add comments and call free on all potentially
12130         allocated pointers. Add space after cast.
12132         * malloc/tst-pvalloc.c: Add comments.
12133         (do_test): Add comments and call free on all potentially
12134         allocated pointers. Remove duplicate check for NULL pointer.
12135         Add space after cast.
12137         * malloc/tst-valloc.c: Add comments.
12138         (do_test): Add comments and call free on all potentially
12139         allocated pointers. Remove duplicate check for NULL pointer.
12140         Add space after cast.
12142 2013-10-04  Alan Modra  <amodra@gmail.com>
12144         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12145         Use stdint types in rather than __attribute__((mode())).
12146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12148 2013-10-04  Alan Modra  <amodra@gmail.com>
12150         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12151         Correct handling of unaligned relocs for little-endian.
12152         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12154 2013-10-04  Alan Modra  <amodra@gmail.com>
12156         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12157         * configure: Regenerate.
12158         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12159         * shlib-versions: Likewise.
12161 2013-10-04  Alan Modra  <amodra@gmail.com>
12163         * string/tester.c (test_memrchr): Increment reported test cycle.
12165 2013-10-04  Alan Modra  <amodra@gmail.com>
12167         * string/test-memcpy.c (do_one_test): When reporting errors, print
12168         string address and don't overrun end of string.
12170 2013-10-04  Alan Modra  <amodra@gmail.com>
12172         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12173         insrdi.  Make better use of reg selection to speed exit slightly.
12174         Schedule entry path a little better.  Remove useless "are we done"
12175         checks on entry to main loop.  Handle wrapping around zero address.
12176         Correct main loop count.  Handle single left-over word from main
12177         loop inline rather than by using loop_small.  Remove extra word
12178         case in loop_small caused by wrong loop count.  Add little-endian
12179         support.
12180         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12181         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12182         cache hint.
12183         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12184         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12185         support.  Avoid rlwimi.
12186         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12188 2013-10-04  Alan Modra  <amodra@gmail.com>
12190         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12191         insrdi.  Formatting.
12192         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12193         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12194         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12195         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12196         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12197         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12199 2013-10-04  Alan Modra  <amodra@gmail.com>
12201         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12202         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12203         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12204         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12205         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12206         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12207         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12208         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12209         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12210         use of regs.  Use power7 mtocrf.  Tidy function tails.
12212 2013-10-04  Alan Modra  <amodra@gmail.com>
12214         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12215         Formatting.  Consistently use rXXX register defines or rN defines.
12216         Use early exit labels that avoid restoring unused non-volatile regs.
12217         Make cr field use more consistent with rWORDn compares.  Rename
12218         regs used as shift registers for unaligned loop, using rN defines
12219         for short lifetime/multiple use regs.
12220         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12221         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12222         addi 1,1,64 to pop stack frame.  Simplify return value code.
12223         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12225 2013-10-04  Alan Modra  <amodra@gmail.com>
12227         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12228         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12229         rather than rlwimi.
12230         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12231         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12232         little-endian support.  Correct typos.
12233         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12234         rather than rlwimi.
12235         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12236         in loop and entry code to keep "and." results.
12237         (strchr): Add little-endian support.  Comment.  Move cntlzd
12238         earlier in tail.
12239         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12241 2013-10-04  Alan Modra  <amodra@gmail.com>
12243         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12244         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12245         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12246         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12248 2013-10-04  Alan Modra  <amodra@gmail.com>
12250         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12251         (rTMP): Define as r11.
12252         (strcmp): Add little-endian support.  Optimise tail.
12253         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12254         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12255         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12256         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12258         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12259         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12261 2013-10-04  Alan Modra  <amodra@gmail.com>
12263         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12264         little-endian support.  Remove unnecessary "are we done" tests.
12265         Handle "s" wrapping around zero and extremely large "size".
12266         Correct main loop count.  Handle single left-over word from main
12267         loop inline rather than by using small_loop.  Correct comments.
12268         Delete "zero" tail, use "end_max" instead.
12269         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12271 2013-10-04  Alan Modra  <amodra@gmail.com>
12273         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12274         support.  Don't branch over align.
12275         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12276         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12277         support.  Rearrange tmp reg use to suit.  Comment.
12278         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12280 2013-10-04  Alan Modra  <amodra@gmail.com>
12282         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12284 2013-10-04  Alan Modra  <amodra@gmail.com>
12286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12287         conditional form of branch and link when obtaining pc.
12288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12290 2013-10-04  Alan Modra  <amodra@gmail.com>
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12293         HIWORD/LOWORD.
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12297 2013-10-04  Alan Modra  <amodra@gmail.com>
12299         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12300         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12301         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12302         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12303         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12304         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12305         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12306         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12307         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12308         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12310 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12311             Alistair Popple <alistair@ozlabs.au.ibm.com>
12312             Alan Modra <amodra@gmail.com>
12314         [BZ #15723]
12315         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12316         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12317         _dl_hwcap access for little-endian.
12318         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12319         destroy vmx regs when saving unaligned.
12320         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12321         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12322         destroy vmx regs when saving unaligned.
12324 2013-10-04  Alan Modra  <amodra@gmail.com>
12326         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12327         Don't use a union to pack hi/low value.
12329 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12331         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12332         for little-endian.
12333         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12335         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12336         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12337         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12339 2013-10-04  Alan Modra  <amodra@gmail.com>
12341         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12342         constants to usual value for .cst8 section, and remove redundant
12343         high address load.
12344         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12345         constant for 0x1p52.  Load little-endian words of double from
12346         correct stack offsets.
12348 2013-10-04  Alan Modra  <amodra@gmail.com>
12350         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12351         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12352         words of double from correct stack offsets.
12353         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12354         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12355         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12356         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12357         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12358         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12359         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12360         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12361         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12362         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12363         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12364         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12365         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12366         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12367         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12368         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12369         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12371 2013-10-04  Alan Modra  <amodra@gmail.com>
12373         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12374         64-bit int/double union.
12375         (_FPU_SETCW): Likewise.
12376         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12377         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12379 2013-10-04  Alan Modra  <amodra@gmail.com>
12381         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12382         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12384 2013-10-04  Alan Modra  <amodra@gmail.com>
12386         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12387         use vector int constants.
12388         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12390 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12392         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12393         array with long long.
12394         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12395         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12396         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12397         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12398         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12399         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12400         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12401         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12402         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12403         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12404         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12405         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12406         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12408 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12410         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12411         (__signbit): Likewise.  Correct for little-endian.
12412         (__signbitl): Call __signbit.
12413         (lrint): Correct for little-endian.
12414         (lrintf): Call lrint.
12416 2013-10-04  Alan Modra  <amodra@gmail.com>
12418         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12419         union 32-bit int array member with 64-bit int array.
12420         (t515, tm256): Double rather than long double.
12421         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12423 2013-10-04  Alan Modra  <amodra@gmail.com>
12425         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12426         Delete.
12427         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12429         version of math_ldbl.h.
12431 2013-10-04  Alan Modra  <amodra@gmail.com>
12433         [BZ #15734], [BZ #15735]
12434         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12435         all uses of ieee875 long double macros and unions.  Simplify test
12436         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12437         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12438         normalize after ldbl_extract_mantissa, and don't add hidden bit
12439         already handled.  Don't treat low word of ieee854 mantissa like
12440         low word of IBM long double and mask off bit when testing for
12441         zero.
12442         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12443         all uses of ieee875 long double macros and unions.  Simplify tests
12444         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12445         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12446         two1022, instead use their values.  Recognise that tests for large
12447         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12449         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12450         test for 0.0L and nan.  Correct negation.
12451         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12452         ieee875 long double macros and unions.  Correct output for large
12453         magnitude x.  Correct absolute value calculation.
12454         (__erfcl): Likewise.
12455         * math/libm-test.inc: Add tests for errors discovered in IBM long
12456         double versions of fmodl, remainderl, erfl and erfcl.
12458 2013-10-04  Alan Modra  <amodra@gmail.com>
12460         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12461         all uses of ieee854 long double macros and unions.  Simplify tests
12462         for long doubles that are fully specified by the high double.
12463         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12464         Likewise.
12465         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12466         Remove dead code too.
12467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12468         (__ieee754_ynl): Likewise.
12469         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12470         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12472         Remove dead code too.
12473         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12474         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12475         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12476         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12477         Simplify.
12478         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12479         Simplify.
12480         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12481         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12482         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12483         Comment on variable precision.
12484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12485         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12486         Likewise.
12487         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12488         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12489         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12490         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12491         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12493 2013-10-04  Alan Modra  <amodra@gmail.com>
12495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12496         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12497         all uses of ieee854 long double macros and unions.
12498         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12500         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12501         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12502         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12503         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12504         Likewise.
12505         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12506         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12507         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12508         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12509         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12510         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12511         Simplify sign and nan test too.
12512         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12513         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12514         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12515         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12516         Likewise.
12517         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12518         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12519         Likewise.
12520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12521         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12522         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12523         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12524         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12527 2013-10-04  Alan Modra  <amodra@gmail.com>
12529         * stdio-common/printf_size.c (__printf_size): Don't use
12530         union ieee854_long_double in fpnum union.
12531         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12532         signbit macro to retrieve sign from long double.
12533         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12534         retrieve sign from long double.
12535         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12536         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12537         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12538         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12539         * math/test-misc.c (main): Don't use union ieee854_long_double.
12541 2013-10-04  Alan Modra  <amodra@gmail.com>
12543         [BZ #15680]
12544         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12545         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12546         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12547         calculation.  Remove unnecessary test for denormal exponent.
12548         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12549         Correct handling of denormals.  Avoid undefined shift behaviour.
12550         Correct normalisation of low mantissa when low double is denormal.
12551         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12552         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12553         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12554         Correct normalisation of low mantissa.  Test for overflow of high
12555         mantissa and normalise.
12556         (ldbl_nearbyint): Use more readable constant for two52.
12557         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12558         (__mpn_construct_long_double): Fix test for overflow of high
12559         mantissa and correct normalisation.  Avoid undefined shift.
12561 2013-10-04  Alan Modra  <amodra@gmail.com>
12563         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12564         (union ibm_extended_long_double): Define as an array of ieee754_double.
12565         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12566         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12567         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12568         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12570         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12572         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12574         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12575         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12577 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12579         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12580         page size instead of calling getpagesize.
12582         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12583         (LOCFILE_ALIGN_MASK): Likewise.
12584         (LOCFILE_ALIGN_UP): Likewise.
12585         (LOCFILE_ALIGNED_P): Likewise.
12586         * locale/programs/ld-collate.c (collate_output): Use the new
12587         macros instead of __alignof__ (int32_t).
12588         * locale/weight.h (findidx): Likewise.
12590 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12592         [BZ #431]
12593         * manual/string.texi: Fix strncat and wcsncat.
12595 2013-10-03  Brooks Moses  <bmoses@google.com>
12597         [BZ #15915]
12598         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12599         * Makerules: ...here, and adjust associated comments.
12601 2013-10-02  Will Newton  <will.newton@linaro.org>
12603         * malloc/Makefile: Add tst-pvalloc.
12604         * malloc/tst-pvalloc.c: New file.
12606 2013-10-02  Will Newton  <will.newton@linaro.org>
12608         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12609         improve test coverage.
12611 2013-10-02  Will Newton  <will.newton@linaro.org>
12613         * malloc/Makefile: Add tst-posix_memalign.
12614         * malloc/tst-posix_memalign.c: New file.
12616 2013-10-01  Eric Blake  <eblake@redhat.com>
12618         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12619         Use __THROWNL rather than __THROW on static functions.
12621 2013-09-30  Petr Machata  <pmachata@redhat.com>
12623         * elf/elf.h (R_AARCH64_ABS16): New macro.
12624         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12625         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12626         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12627         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12628         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12629         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12630         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12631         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12632         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12633         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12634         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12635         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12636         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12637         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12638         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12639         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12640         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12641         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12642         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12643         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12644         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12645         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12646         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12647         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12648         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12649         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12650         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12651         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12652         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12653         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12654         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12655         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12656         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12657         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12658         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12659         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12660         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12661         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12662         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12663         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12664         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12665         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12666         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12667         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12668         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12669         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12670         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12671         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12672         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12673         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12674         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12675         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12676         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12677         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12678         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12679         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12680         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12681         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12682         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12683         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12684         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12685         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12686         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12687         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12688         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12689         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12690         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12691         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12692         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12693         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12694         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12695         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12696         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12697         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12698         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12699         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12700         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12701         (R_AARCH64_TLSDESC_LDR): Likewise.
12702         (R_AARCH64_TLSDESC_ADD): Likewise.
12703         (R_AARCH64_TLSDESC_CALL): Likewise.
12705 2013-09-30  Andreas Schwab  <schwab@suse.de>
12707         [BZ #15048]
12708         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12709         the nss database lookup.
12710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12713 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
12715         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12717 2013-09-28  P. J. McDermott  <pj@pehjota.net>
12719         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12720         ${Bash-specific parameter/pattern/string} parameter expansion.
12721         * sysdeps/unix/make-syscalls.sh: Likewise.
12723 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12725         * sysdeps/sh/stackguard-macros.h: New file.
12727 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12731         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12732         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12733         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12734         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12736 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12738         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12739         Fix thread ID register.
12741 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12743         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12744         [POSIX || UNIX98]: Require rather than permitting all symbols from
12745         <time.h>.
12746         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12747         element of struct sched_param.
12748         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12749         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12750         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12751         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12752         constant.
12754 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12756         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12757         argument calculation.
12759 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12761         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12762         Expect macro.
12763         [POSIX] (pthread_attr_t): Do not require type.
12764         [POSIX] (pthread_cond_t): Likewise.
12765         [POSIX] (pthread_condattr_t): Likewise.
12766         [POSIX] (pthread_key_t): Likewise.
12767         [POSIX] (pthread_mutex_t): Likewise.
12768         [POSIX] (pthread_mutexattr_t): Likewise.
12769         [POSIX] (pthread_once_t): Likewise.
12770         [POSIX] (pthread_t): Likewise.
12771         [POSIX-based standards] (pthread_atfork): Expect function.
12773 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12774             Richard Sandiford  <richard@codesourcery.com>
12776         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12777         (swap_endianness_p): New extern variable.
12778         (set_big_endian): New inline function.
12779         (maybe_swap_uint32): Likewise.
12780         (maybe_swap_uint32_array): Likewise.
12781         (maybe_swap_uint32_obstack): Likewise.
12782         * locale/programs/locfile.c: Include <stdbool.h>.
12783         (swap_endianness_p): New variable.
12784         (add_locale_uint32): Call maybe_swap_uint32.
12785         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12786         (write_locale_data): Call maybe_swap_uint32_array.
12787         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12788         maybe_swap_uint32.
12789         (obstack_int32_grow_fast): Likewise.
12790         (output_weightwc): Call maybe_swap_uint32_obstack.
12791         (collate_output): Likewise.
12792         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12793         (OPT_LITTLE_ENDIAN): Likewise.
12794         (options): Add --little-endian and --big-endian options.
12795         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12796         * locale/programs/locarchive.c: Include "locfile.h".
12797         (GET): New macro.
12798         (SET): Likewise.
12799         (INC): Likewise.
12800         (create_archive): Use the new macros to access fields of
12801         structures directly mapped from or written to locale archives.
12802         (oldlocrecentcmp): Likewise.
12803         (enlarge_archive): Likewise.
12804         (insert_name): Likewise.
12805         (add_alias): Likewise.
12806         (add_locale): Likewise.
12807         (delete_locales_from_archive): Likewise.
12808         (show_archive_content): Likewise.
12809         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12810         locale data.
12812 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12814         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12815         http://www.gnu.org/doc/freemanuals.texi.
12816         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12818 2013-09-24  Will Newton  <will.newton@linaro.org>
12820         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12821         macro.
12823 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12825         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12826         unsigned char.
12828 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12830         * manual/threads.texi (POSIX Threads): Fix a typo.
12832 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12834         [BZ #14547]
12835         * string/tst-strcoll-overflow.c: New test case.
12836         * string/Makefile (xtests): Add tst-strcoll-overflow.
12837         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12838         cache if string sizes may cause integer overflow.
12840         [BZ #14547]
12841         * string/strcoll_l.c (coll_seq): New members rule, idx,
12842         save_idx and back_us.
12843         (get_next_seq_nocache): New function.
12844         (do_compare_nocache): New function.
12845         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12846         when malloc fails.
12848 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12850         [BZ #15754]
12851         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12852         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12853         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12855         [BZ #15754]
12856         * elf/Makefile (tests): Add tst-ptrguard1.
12857         (tests-static): Add tst-ptrguard1-static.
12858         (tst-ptrguard1-ARGS): Define.
12859         (tst-ptrguard1-static-ARGS): Define.
12860         * elf/tst-ptrguard1.c: New file.
12861         * elf/tst-ptrguard1-static.c: New file.
12862         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12863         * sysdeps/i386/stackguard-macros.h: Likewise.
12864         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12865         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12866         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12867         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12868         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12869         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12871 2013-09-23  Hector Marco  <hecmargi@upv.es>
12872             Ismael Ripoll  <iripoll@disca.upv.es>
12873             Carlos O'Donell  <carlos@redhat.com>
12875         [BZ #15754]
12876         * sysdeps/generic/stackguard-macros.h: Define
12877         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12878         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12879         Define __pointer_chk_guard_local.
12880         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12881         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12883 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12885         [BZ #15859]
12886         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12888 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12890         * include/string.h (__ffs): Declare as hidden.
12891         * string/ffs.c (__ffs): Define as hidden.
12892         * sysdeps/i386/ffs.c (__ffs): Likewise.
12893         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12894         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12895         * sysdeps/s390/ffs.c (__ffs): Likewise.
12896         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12898 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12900         * NEWS: Mention malloc probes.
12902         * malloc/arena.c (new_heap): New memory_heap_new probe.
12903         (grow_heap): New memory_heap_more probe.
12904         (shrink_heap): New memory_heap_less probe.
12905         (heap_trim): New memory_heap_free probe.
12906         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12907         (systrim): New memory_sbrk_less probe.
12908         * manual/probes.texi: Document them.
12910         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12911         * manual/probes.texi: Document it.
12913         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12914         (__libc_realloc): Add memory_realloc_retry probe.
12915         (__libc_memalign): Add memory_memalign_retry probe.
12916         (__libc_valloc): Add memory_valloc_retry probe.
12917         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12918         (__libc_calloc): Add memory_calloc_retry probe.
12919         * manual/probes.texi: Document them.
12921         * malloc/arena.c (get_free_list): Add probe
12922         memory_arena_reuse_free_list.
12923         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12924         and memory_arena_reuse.
12925         (arena_get2) [!PER_THREAD]: Likewise.
12926         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12927         memory_arena_reuse_realloc.
12928         * manual/probes.texi: Document them.
12930         * malloc/malloc.c (__libc_free): Add
12931         memory_mallopt_free_dyn_thresholds probe.
12932         (__libc_mallopt): Add multiple memory_mallopt probes.
12933         * manual/probes.texi: Document them.
12935         * malloc/malloc.c: Include stap-probe.h.
12936         (__libc_mallopt): Add memory_mallopt probe.
12937         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12938         * manual/probes.texi: New.
12939         * manual/Makefile (chapters): Add probes.
12940         * manual/threads.texi: Set next node.
12942 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12944         [BZ #15963, #13985]
12945         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12946         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12947         Add `Chinese' to `nan' entry name.
12949 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12951         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12952         (POLYNOMIAL): Likewise.
12953         (TAYLOR_SINCOS): Likewise.
12954         (TAYLOR_SLOW): Likewise.
12955         (__sin): Use TAYLOR_SINCOS.
12956         (__cos): Likewise.
12957         (slow): Use TAYLOR_SLOW.
12958         (sloww): Likewise.
12959         (bsloww): Likewise.
12960         (csloww): Likewise.
12962 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12964         * stdlib/strtod_l.c: Fix buffer overrun.
12966 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12968         * benchtests/Makefile (bench): Add sincos.
12969         * benchtests/bench-sincos.c: New file.
12971         * math/libm-test.inc (cos_test_data): New test inputs.
12972         (sin_test_data): Likewise.
12974         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12975         macro.
12976         (__sin): Use it.
12977         (__cos): Likewise.
12978         (slow1): Likewise.
12979         (slow2): Likewise.
12980         (sloww1): Likewise.
12981         (sloww2): Likewise.
12982         (bsloww1): Likewise.
12983         (bsloww2): Likewise.
12984         (cslow2): Likewise.
12985         (csloww1): Likewise.
12986         (csloww2): Likewise.
12988         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12989         function.
12990         (__sin): Use it.
12991         (__cos): Likewise.
12993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12994         gotos.
12995         (__cos): Likewise.
12997 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12999         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13000         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13001         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13002         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13003         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13004         * elf/cache.c (print_entry): Handle the new cache flags.
13006 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13007             Aldy Hernandez  <aldyh@redhat.com>
13009         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13010         Change condition to [_SOFT_FLOAT].
13011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13023         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13026         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13027         declaration.
13029 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13031         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13032         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13033         (__longjmp): Use LOAD_GP to load saved GPRs.
13034         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13035         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13036         (__sigsetjmp): Use SAVE_GP to save GPRs.
13038         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13039         Do not append -msoft-float.
13040         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13042 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13044         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13046 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13048         [BZ #15966]
13049         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13050         (_FPU_GETCW): Use initial "__" on variable and field names but not
13051         on macro parameter name.
13052         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13053         parentheses around reference to macro parameter.
13055 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13057         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13058         prototype.
13059         (ctype_startup): Use uint32_t in cast and sizeof for
13060         ctype->charnames.
13062 2013-09-11  Jia Liu  <proljc@gmail.com>
13064         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13065         __daddr_t_defined.
13066         [__FreeBSD__]: Likewise.
13068 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13071         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13072         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13073         (strchr): Remove __strchr_sse42 ifunc selection.
13074         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13075         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13077 2013-09-11  Will Newton  <will.newton@linaro.org>
13079         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13080         parameter to RES. Remove hardcoded 1000 value.
13081         * benchtests/bench-skeleton.c (main): Pass RES parameter
13082         to TIMING_INIT and multiply result by 1000.
13084 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13088 2013-09-11  Andreas Schwab  <schwab@suse.de>
13090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13091         if not defined.
13092         (O_TMPFILE) [__USE_GNU]: Define.
13093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13094         Define.
13096 2013-09-11  Will Newton  <will.newton@linaro.org>
13098         [BZ #15857]
13099         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13100         does not overflow.
13102 2013-09-11  Will Newton  <will.newton@linaro.org>
13104         [BZ #15856]
13105         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13106         does not overflow.
13108 2013-09-11  Will Newton  <will.newton@linaro.org>
13110         [BZ #15855]
13111         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13112         does not overflow.
13114 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13116         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13117         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13118         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13119         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13120         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13122 2013-09-10  Allan McRae  <allan@archlinux.org>
13124         [BZ #15748]
13125         * manual/arith.texi (Parsing of Floats): Clarify
13126         cross-reference.
13128         [BZ #15849]
13129         * manual/install.texi (Running make install): Mention
13130         --enable-pt-chown.
13131         * INSTALL: Regenerated.
13133 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13135         * csu/init-first.c (_init): Remove the !SHARED condition around
13136         FPU control word initialization.
13137         * elf/dl-support.c (_dl_fpu_control): New variable.
13138         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13139         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13140         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13141         * math/test-fpucw-static.c: New file.
13142         * math/test-fpucw-ieee.c: New file.
13143         * math/test-fpucw-ieee-static.c: New file.
13144         * math/Makefile (tests): Add `test-fpucw-ieee' and
13145         `$(tests-static)'.
13146         (tests-static): New variable.
13147         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13148         dependency to...
13149         [($(build-shared),yes)]
13150         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13151         ... this.
13152         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13153         New dependency.
13155 2013-09-09  Allan McRae  <allan@archlinux.org>
13157         [BZ #15939]
13158         * manual/string.texi (Collation Functions): Fix typo in
13159         strcoll example.
13160         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13162         [BZ #15893]
13163         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13165         [BZ #15892]
13166         * libio/memstream.c (open_memstream): Fix memory leak.
13167         * libio/wmemstream.c (open_wmemstream): Likewise.
13169         [BZ #15895]
13170         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13172 2013-09-09  Will Newton  <will.newton@linaro.org>
13174         * malloc/Makefile: Add tst-realloc to tests.
13175         * malloc/tst-realloc.c: New file.
13177 2013-09-09  Allan McRae  <allan@archlinux.org>
13179         [BZ #15844]
13180         * COPYING: Update from GNU website to fix FSF address.
13181         * COPYING.LIB: Likewise.
13183 2013-09-06  David S. Miller  <davem@davemloft.net>
13185         * po/zh_TW.po: Update Chinese (traditional) translation from
13186         translation project.
13188 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13189             Joseph Myers  <joseph@codesourcery.com>
13191         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13192         "localeinfo.h".
13193         (obstack_chunk_alloc): New macro.
13194         (obstack_chunk_free): Likewise.
13195         (record_offset): New function.
13196         (init_locale_data): Likewise.
13197         (align_locale_data): Likewise.
13198         (add_locale_empty): Likewise.
13199         (add_locale_raw_data): Likewise.
13200         (add_locale_raw_obstack): Likewise.
13201         (add_locale_string): Likewise.
13202         (add_locale_wstring): Likewise.
13203         (add_locale_uint32): Likewise.
13204         (add_locale_uint32_array): Likewise.
13205         (add_locale_char): Likewise.
13206         (start_locale_structure): Likewise.
13207         (end_locale_structure): Likewise.
13208         (start_locale_prelude): Likewise.
13209         (end_locale_prelude): Likewise.
13210         (write_locale_data): Take locale_file structure rather than an
13211         iovec.
13212         * locale/programs/locfile.h: Include "obstack.h".
13213         (struct locale_file): Change to store locale file contents instead
13214         of header.
13215         (init_locale_data): New prototype.
13216         (align_locale_data): Likewise.
13217         (add_locale_empty): Likewise.
13218         (add_locale_raw_data): Likewise.
13219         (add_locale_raw_obstack): Likewise.
13220         (add_locale_string): Likewise.
13221         (add_locale_wstring): Likewise.
13222         (add_locale_uint32): Likewise.
13223         (add_locale_uint32_array): Likewise.
13224         (add_locale_char): Likewise.
13225         (start_locale_structure): Likewise.
13226         (end_locale_structure): Likewise.
13227         (start_locale_prelude): Likewise.
13228         (end_locale_prelude): Likewise.
13229         (write_locale_data): Update prototype.
13230         * locale/programs/3level.h (struct TABLE): Remove result field.
13231         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13232         Use new locale_file interface.
13233         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13234         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13235         * locale/programs/ld-address.c (address_output): Use new
13236         locale_file interface.
13237         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13238         NO_ADD_LOCALE.
13239         (collate_finish): Don't call collseq_table_finalize.
13240         (collate_output): Use new locale_file interface.
13241         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13242         in file.
13243         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13244         (TABLE): Move defines earlier in file.
13245         (ELEMENT): Likewise.
13246         (DEFAULT): Likewise.
13247         (wctrans_table_add): Move macro and inline function earlier in
13248         file.
13249         (struct wctype_table): Move type earlier in file.
13250         (add_locale_wctype_table): New static prototype.
13251         (struct locale_ctype_t): Use logical types instead of struct iovec
13252         pointers for members.
13253         (ctype_output): Use new locale_file interface.
13254         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13255         new locale_file interface.
13256         (allocate_arrays): Update for use of new locale_file interface.
13257         * locale/programs/ld-identification.c (identification_output): Use
13258         new locale_file interface.
13259         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13260         * locale/programs/ld-messages.c (messages_output): Likewise.
13261         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13262         * locale/programs/ld-name.c (name_output): Likewise.
13263         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13264         * locale/programs/ld-paper.c (paper_output): Likewise.
13265         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13266         * locale/programs/ld-time.c (time_output): Likewise.
13268 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13270         * benchtests/Makefile: Add memrchr benchmark.
13271         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13272         benchmark as memrchr.
13273         * benchtests/bench-memrchr-ifunc.c: New file.
13274         * benchtests/bench-memrchr.c: New file.
13276 2013-09-06   Will Newton  <will.newton@linaro.org>
13278         * benchtests/Makefile (string-bench): Add memcpy.
13280 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13281             Cong Wang  <amwang@redhat.com>
13283         [BZ #15850]
13284         * sysdeps/unix/sysv/linux/bits/in.h
13285         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13286         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13287         before __USE_KERNEL_IPV6_DEFS uses.
13288         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13289         IPPROTO_BEETPH.
13290         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13291         sockaddr_in6, or ipv6_mreq.
13293 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13295         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13296         memory access for final bytes in some large inputs.
13297         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13299 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13301         * string/test-memrchr.c: New file.
13302         * string/test-memrchr-ifunc.c: New file.
13303         * string/Makefile: Add new memrchr testcase.
13305 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13307         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13308         fanotify_init returns EPERM.
13310 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13312         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13313         errors.
13314         (top level): Treat second token from macro or constant entries for
13315         allowed headers as allowed.
13316         * include/complex.h: Condition internal declarations on
13317         [!_ISOMAC].
13318         * include/fenv.h: Condition include of <stdbool.h> and internal
13319         declarations on [!_ISOMAC].
13321 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13323         [BZ #15923]
13324         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13326 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13328         * configure.in (--enable-versioning): Remove configure option.
13329         (libc_cv_asm_symver_directive): Remove configure test.
13330         (libc_cv_ld_version_script_option): Likewise.
13331         (VERSIONING): Remove variable and AC_SUBST.
13332         (DO_VERSIONING): Remove AC_DEFINE.
13333         * configure: Regenerated.
13334         * config.h.in (DO_VERSIONING): Remove macro.
13335         * Makerules [$(versioning) = yes]: Change conditionals to
13336         [$(build-shared) = yes].
13337         * config.make.in (versioning): Remove variable.
13338         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13339         [$(build-shared) = yes].
13340         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13341         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13342         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13343         [$(build-shared) = yes].
13344         * extra-lib.mk [$(versioning) = yes]: Likewise.
13345         * hurd/Makefile [$(versioning) = yes]: Likewise.
13346         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13347         [SHARED].
13348         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13349         [SHARED].
13350         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13351         [SHARED && !NO_HIDDEN].
13352         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13353         [SHARED].
13354         [SHARED && DO_VERSIONING]: Likewise..
13355         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13356         [$(build-shared) = yes].
13357         * manual/install.texi (--disable-versioning): Remove
13358         documentation.
13359         * INSTALL: Regenerated.
13360         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13361         to [SHARED].
13362         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13363         [$(build-shared) = yes].
13364         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13365         * sysdeps/i386/i686/multiarch/strstr-c.c
13366         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13367         [SHARED && !NO_HIDDEN].
13368         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13369         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13370         * sysdeps/powerpc/powerpc32/dl-machine.c
13371         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13372         * sysdeps/powerpc/powerpc32/sysdep.h
13373         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13374         to [SHARED && PIC && !NO_HIDDEN].
13375         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13376         conditional to [SHARED].
13378 2013-09-04   Will Newton  <will.newton@linaro.org>
13380         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13381         * benchtests/bench-string.h: Include bench-timing.h instead
13382         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13383         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13384         call to HP_TIMING_DIFF_INIT.
13385         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13386         instead of hp-timing.h macros.
13387         * benchtests/bench-memchr.c: Likewise.
13388         * benchtests/bench-memcmp.c: Likewise.
13389         * benchtests/bench-memcpy.c: Likewise.
13390         * benchtests/bench-memmem.c: Likewise.
13391         * benchtests/bench-memmove.c: Likewise.
13392         * benchtests/bench-memset.c: Likewise.
13393         * benchtests/bench-rawmemchr.c: Likewise.
13394         * benchtests/bench-strcasecmp.c: Likewise.
13395         * benchtests/bench-strcasestr.c: Likewise.
13396         * benchtests/bench-strcat.c: Likewise.
13397         * benchtests/bench-strchr.c: Likewise.
13398         * benchtests/bench-strcmp.c: Likewise.
13399         * benchtests/bench-strcpy.c: Likewise.
13400         * benchtests/bench-strcpy_chk.c: Likewise.
13401         * benchtests/bench-strlen.c: Likewise.
13402         * benchtests/bench-strncasecmp.c: Likewise.
13403         * benchtests/bench-strncat.c: Likewise.
13404         * benchtests/bench-strncmp.c: Likewise.
13405         * benchtests/bench-strncpy.c: Likewise.
13406         * benchtests/bench-strnlen.c: Likewise.
13407         * benchtests/bench-strpbrk.c: Likewise.
13408         * benchtests/bench-strrchr.c: Likewise.
13409         * benchtests/bench-strspn.c: Likewise.
13410         * benchtests/bench-strstr.c: Likewise.
13412 2013-09-04  Will Newton  <will.newton@linaro.org>
13414         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13416 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13418         [BZ #15427]
13419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13420         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13421         * math/libm-test.inc (lgamma_test_data): Add more tests.
13422         * sysdeps/i386/fpu/libm-test-ulps: Update.
13423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13425 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13427         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13429         Add ifunc.
13430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13431         Add strcmp-sse2-unaligned
13432         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13434 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13436         * Versions.def (libc): Add GLIBC_2.19.
13438 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13440         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13441         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13443 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13445         [BZ #14155]
13446         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13447         intermediate calculations in recurrence.
13448         (__ieee754_ynf): Likewise.
13449         * math/libm-test.inc (jn_test_data): Do not allow spurious
13450         underflow exception.  Add more tests.
13451         (yn_test_data): Add more tests.
13452         * sysdeps/i386/fpu/libm-test-ulps: Update.
13453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13455 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13457         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13459 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13461         * csu/init-first.c: Fix then/than typos.
13462         * locale/programs/ld-collate.c: Likewise.
13463         * locale/programs/linereader.h: Likewise.
13464         * manual/charset.texi: Likewise.
13465         * manual/filesys.texi: Likewise.
13466         * manual/stdio.texi: Likewise.
13467         * manual/string.texi: Likewise.
13468         * stdlib/fmtmsg.c: Likewise.
13469         * sysdeps/i386/stpncpy.S: Likewise.
13470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13471         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13472         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13473         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13475 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13477         * elf/dl-open.c: Fix typos.
13478         * iconvdata/gbbig5.c: Likewise.
13479         * iconvdata/iso-2022-jp.c: Likewise.
13480         * iconv/gconv_int.h: Likewise.
13481         * iconv/loop.c: Likewise.
13482         * nis/rpcsvc/nis.h: Likewise.
13483         * resolv/ns_name.c: Likewise.
13484         * stdio-common/vfscanf.c: Likewise.
13485         * streams/stropts.h: Likewise.
13486         * sunrpc/rpc_thread.c: Likewise.
13487         * sysdeps/i386/strpbrk.S: Likewise.
13488         * sysdeps/ieee754/k_standard.c: Likewise.
13489         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13491         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13492         * sysdeps/mach/hurd/profil.c: Likewise.
13493         * sysdeps/s390/dl-procinfo.h: Likewise.
13494         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13495         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13496         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13497         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13498         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13500 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13502         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13505 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13507         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13508         aix specific files.
13509         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13510         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13511         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13512         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13513         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13514         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13515         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13516         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13518 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13519             Roland McGrath  <roland@hack.frob.com>
13521         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13522         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13524 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13526         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13527         __executable_start symbol instead of _start.
13529 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13531         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13532         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13533         Move macros to...
13534         * sysdeps/gnu/ldsodefs.h: ... this new file.
13536         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13537         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13538         instead of ELFOSABI_LINUX.
13540         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13541         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13542         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13543         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13544         Likewise.
13545         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13546         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13547         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13548         Likewise.
13549         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13550         (ibm_extended_long_double): Add ieee_nan member.
13551         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13552         (do_test): New function.
13554         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13555         TEST_TRUNC.
13556         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13557         functions, renamed from truncdfsf_test, trunctfsf_test,
13558         trunctfdf_test.
13559         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13560         functions.
13561         (do_test): Run all these.
13563 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13565         * argp/argp-help.c: Fix typos.
13566         * argp/argp-parse.c: Likewise.
13567         * debug/backtracesyms.c: Likewise.
13568         * elf/elf.h: Likewise.
13569         * malloc/malloc.c: Likewise.
13570         * nis/nis_print.c: Likewise.
13571         * resolv/res_comp.c: Likewise.
13572         * stdlib/stdlib.h: Likewise.
13573         * sunrpc/clnt_tcp.c: Likewise.
13574         * sunrpc/clnt_udp.c: Likewise.
13575         * sunrpc/clnt_unix.c: Likewise.
13576         * sysdeps/unix/bsd/ptsname.c: Likewise.
13577         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13578         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13580         Likewise.
13581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13582         Likewise.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13587 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13589         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13592 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13594         [BZ #15897]
13595         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13596         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13597         ($(objpfx)bug-dl-leaf): New rule.
13598         ($(objpfx)bug-dl-leaf.so): Likewise.
13599         ($(objpfx)bug-dl-leaf.out): Likewise.
13600         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13601         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13602         * dlfcn/bug-dl-leaf.c: New test.
13603         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13604         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13605         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13606         (dlclose): Likewise.
13607         (dlmopen): Likewise.
13609 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13611         * include/netdb.h [!_ISOMAC]:
13612         Don't include <tls.h>.
13613         (h_errno, __libc_h_errno): Move declaration and macros out of
13614         [_LIBC_REENTRANT].
13616         * include/resolv.h [_RESOLV_H_]:
13617         Don't include <tls.h>.
13618         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13619         * resolv/res_libc.c: Don't include <tls.h>.
13620         (_res): Use __attribute__ ((nocommon)) in place of
13621         __attribute__ ((section (".bss"))).
13623         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13624         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13626         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13628         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13629         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13631         * resolv/res_mkquery.c: Include <sys/time.h>.
13633         * inet/ifreq.c: Moved to ...
13634         * sysdeps/unix/ifreq.c: ... here.
13635         * inet/ifreq.c: New file, true stub version.
13637         * socket/sa_len.c: New file.
13638         * socket/Makefile (aux): Add it.
13639         * sysdeps/unix/sysv/linux/Makefile
13640         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13641         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13642         and #include <socket/sa_len.c>.
13643         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13644         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13646         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13647         * bits/socket.h: ... here.
13649         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13650         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13651         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13653 2013-08-27  Andreas Schwab  <schwab@suse.de>
13655         [BZ #15736]
13656         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13657         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13658         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13659         * string/test-strcasecmp.c (test_main): Run tests in several
13660         locales.
13661         * string/test-strncasecmp.c (test_main): Likewise.
13663         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13664         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13665         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13666         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13667         (__strncasecmp_ssse3) [PIC]: Likewise.
13669 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13671         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13673         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13674         instead of explicitly declaring xdecrypt.
13675         * nis/nss_nis/nis-publickey.c: Likewise.
13677 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13679         [BZ #15890]
13680         * nscd/aicache.c: Include res_hconf.h.
13681         (addhstaiX): Initialize res_hconf.
13683 2013-08-26  Andreas Schwab  <schwab@suse.de>
13685         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13686         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13688 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13690         * nscd/aicache.c (addhstaiX): Fix indentation.
13692 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13694         * configure.ac: Quote $build_pt_chown test.
13695         * configure: Regenerated.
13697 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13699         [BZ #15532]
13700         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13701         * math/s_cexpf.c (__cexpf): Likewise.
13702         * math/s_cexpl.c (__cexpl): Likewise.
13703         * math/libm-test.inc (cexp_test_data): Correct expected return
13704         value for NaN + i0.  Add another test.
13706 2013-08-22  David S. Miller  <davem@davemloft.net>
13708         * po/ca.po: Update Catalan translation from translation project.
13709         * po/uk.po: Add Ukrainian translations from translation project.
13711 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #15797]
13714         * math/s_fdim.c (__fdim): Check for infinite arguments if result
13715         is infinite, not alongside NaN test.
13716         * math/s_fdimf.c (__fdimf): Likewise.
13717         * math/s_fdiml.c (__fdiml): Likewise.
13718         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
13719         errno is unchanged.
13721 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13723         * argp/argp-help.c: Fix typos.
13724         * crypt/speeds.c: Likewise.
13725         * csu/check_fds.c: Likewise.
13726         * elf/dl-load.c: Likewise.
13727         * elf/dl-open.c: Likewise.
13728         * elf/reldep3.c: Likewise.
13729         * elf/reldep.c: Likewise.
13730         * elf/sprof.c: Likewise.
13731         * iconv/iconv_charmap.c: Likewise.
13732         * iconv/skeleton.c: Likewise.
13733         * iconv/strtab.c: Likewise.
13734         * io/lockf64.c: Likewise.
13735         * libio/libioP.h: Likewise.
13736         * resolv/gai_notify.c: Likewise.
13737         * resolv/ns_name.c: Likewise.
13738         * resolv/ns_samedomain.c: Likewise.
13739         * resolv/res_send.c: Likewise.
13740         * stdlib/random.c: Likewise.
13741         * sunrpc/rpc/xdr.h: Likewise.
13742         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13743         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13744         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13745         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13746         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13747         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13748         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13749         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13750         * sysdeps/mach/hurd/check_fds.c: Likewise.
13751         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13752         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13753         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13754         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13755         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13756         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13757         * sysdeps/pthread/aio_notify.c: Likewise.
13758         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13759         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13760         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13761         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13762         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13764 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13766         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13767         version if bit_Slow_SSE4_2 is set.
13768         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13769         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13771 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13773         [BZ #15867]
13774         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13775         trampoline stack frame information.
13776         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13778         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13779         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13780         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13781         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13782         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13783         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13784         sa_flags value.
13785         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13786         interrupting a syscall and set with option SA_SIGINFO.
13788 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13790         [BZ #15531]
13791         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13792         argument is infinite.
13793         * math/s_cprojf.c (__cprojf): Likewise.
13794         * math/s_cprojl.c (__cprojl): Likewise.
13795         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13796         * math/libm-test.inc (cproj_test_data): Add more tests.
13798         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13800         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13801         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13802         size.  Use __ffs to determine corresponding shift.
13804 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13805             Roland McGrath  <roland@hack.frob.com>
13807         * Makefile (INSTALL): Remove trailing blank lines from output of
13808         makeinfo.
13810 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13812         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13813         Align 32 bit compat elf_greg to 8 bytes.
13815 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13817         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13819 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13821         * string/strcoll_l.c (coll_seq): New structure.
13822         (get_next_seq_cached): New function.
13823         (get_next_seq): New function.
13824         (do_compare): New function.
13825         (STRCOLL): Use GNU style definition.  Simplify implementation
13826         by using get_next_seq, get_next_seq_cached and do_compare.
13828 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13830         [BZ #14699]
13831         CVE-2013-4237
13832         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13833         member.
13834         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13835         member.
13836         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13837         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13838         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13839         conditional.
13840         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13841         GETDENTS_64BIT_ALIGNED.
13842         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13843         * manual/filesys.texi (Reading/Closing Directory): Document
13844         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13845         strongly.
13846         * manual/conf.texi (Limits for Files): Add portability note to
13847         NAME_MAX, PATH_MAX.
13848         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13850 2013-08-13  Andreas Schwab  <schwab@suse.de>
13852         [BZ #15749]
13853         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13854         of fabs.
13855         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13856         LDBL_MAX_EXP >= 16384]: Add tests for it.
13858 2013-08-12  David S. Miller  <davem@davemloft.net>
13860         * version.h (RELEASE): Set to "development".
13861         (VERSION): Set to "2.18.90".
13862         * NEWS: Add 2.19 section.
13864 2013-08-03  David S. Miller  <davem@davemloft.net>
13866         * po/ko.po: Update Korean translation from translation project.
13868 2013-08-01  David S. Miller  <davem@davemloft.net>
13870         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13871         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13872         Bilka.
13874 2013-07-30  David S. Miller  <davem@davemloft.net>
13876         * po/fr.po: Update French translation from translation project.
13878 2013-07-28  David S. Miller  <davem@davemloft.net>
13880         * po/cs.po: Update Czech translation from translation project.
13882         * po/sv.po: Update Swedish translation from translation project.
13884 2013-07-27  David S. Miller  <davem@davemloft.net>
13886         * po/eo.po: Update Esperanto translation from translation project.
13888         * po/vi.po: Update Vietnamese translation from translation project.
13890         * po/de.po: Update German translation from translation project.
13892 2013-07-26  David S. Miller  <davem@davemloft.net>
13894         * po/bg.po: Update Bulgarian translation from translation project.
13896         * po/nl.po: Update Dutch translation from translation project.
13897         * po/pl.po: Update Polish translation from translation project.
13898         * po/ru.po: Update Russian translation from translation project.
13900 2013-07-24  David S. Miller  <davem@davemloft.net>
13902         * po/libc.pot: Update.
13904 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13906         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13907         variable page size.
13908         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13909         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13910         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13912 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13914         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13916 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917             Andreas Schwab  <schwab@suse.de>
13918             Roland McGrath  <roland@hack.frob.com>
13919             Joseph Myers  <joseph@codesourcery.com>
13920             Carlos O'Donell  <carlos@redhat.com>
13922         [BZ #15755]
13923         * config.h.in: Define HAVE_PT_CHOWN.
13924         * config.make.in (build-pt-chown): New variable.
13925         * configure.in (--enable-pt_chown): New configure option.
13926         * configure: Regenerate.
13927         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13928         build-pt-chown is enabled.
13929         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13930         pt_chown to fix pty ownership.
13931         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13932         CLOSE_ALL_FDS.
13933         * manual/install.texi (Configuring and compiling): Mention
13934         --enable-pt_chown. Add @findex for grantpt.
13935         * INSTALL: Regenerate.
13937 2013-07-20  David S. Miller  <davem@davemloft.net>
13939         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13940         difference between 32-bit and 64-bit.
13942 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13944         [BZ #15711]
13945         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13946         Avoid system header dependency with -ffreestanding.
13947         ($(objpfx)bits/syscall%d): Likewise.
13949 2013-07-13  David S. Miller  <davem@davemloft.net>
13951         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13952         underflows from atanl/atan2l due to bug 15319.
13953         (casinh_test_data): Likewise.
13955 2013-07-07  David S. Miller  <davem@davemloft.net>
13957         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13959 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13961         * sysdeps/i386/fpu/libm-test-ulps: Update.
13962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13964 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13966         * configure.in (--enable-lock-elision): Fix message text.
13967         * INSTALL: Regenerate.
13968         * configure: Regenerate.
13970 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13974 2013-07-03  Andreas Jaeger  <aj@suse.de>
13976         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13977         define.
13978         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13979         (ptrace_peeksiginfo_args): Add.
13980         (__ptrace_peeksiginfo_flags): Add.
13981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13982         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13983         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13985 2013-07-03  Allan McRae  <allan@archlinux.org>
13987         * sysdeps/i386/fpu/libm-test-ulps: Update.
13989 2013-07-02  David S. Miller  <davem@davemloft.net>
13991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13993 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13997 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13999         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002 2013-07-02  Andi Kleen <ak@linux.intel.com>
14004         * config.h.in (ENABLE_LOCK_ELISION): Add.
14005         * configure.in (--enable-lock-elision): Add option.
14006         * manual/install.texi: Document --enable lock elision.
14007         * configure: Regenerate
14008         * INSTALL: Regenerate.
14010 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14012         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14013         SSE4.2 strcasecmp for libc.a.
14014         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14016 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14018         [BZ #13304]
14019         * soft-fp/op-common.h (_FP_FMA): New macro.
14020         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14021         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14022         (_FP_MUL_MEAT_1_imm): ... here.
14023         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14024         (_FP_MUL_MEAT_1_wide): ... here.
14025         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14026         (_FP_MUL_MEAT_1_hard): ... here.
14027         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14028         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14029         (_FP_MUL_MEAT_2_wide): ... here.
14030         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14031         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14032         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14033         (_FP_MUL_MEAT_2_gmp): ... here.
14034         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14035         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14036         (_FP_MUL_MEAT_4_wide): ... here.
14037         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14038         (_FP_MUL_MEAT_4_gmp): ... here.
14039         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14040         (_FP_WFRACBITS_DW_S): Likewise.
14041         (_FP_WFRACXBITS_DW_S): Likewise.
14042         (_FP_HIGHBIT_DW_S): Likewise.
14043         (FP_FMA_S): Likewise.
14044         (_FP_FRAC_HIGH_DW_S): Likewise.
14045         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14046         (_FP_WFRACBITS_DW_D): Likewise.
14047         (_FP_WFRACXBITS_DW_D): Likewise.
14048         (_FP_HIGHBIT_DW_D): Likewise.
14049         (FP_FMA_D): Likewise.
14050         (_FP_FRAC_HIGH_DW_D): Likewise.
14051         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14052         (_FP_WFRACBITS_DW_E): Likewise.
14053         (_FP_WFRACXBITS_DW_E): Likewise.
14054         (_FP_HIGHBIT_DW_E): Likewise.
14055         (FP_FMA_E): Likewise.
14056         (_FP_FRAC_HIGH_DW_E): Likewise.
14057         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14058         (_FP_WFRACBITS_DW_Q): Likewise.
14059         (_FP_WFRACXBITS_DW_Q): Likewise.
14060         (_FP_HIGHBIT_DW_Q): Likewise.
14061         (FP_FMA_Q): Likewise.
14062         (_FP_FRAC_HIGH_DW_Q): Likewise.
14063         * soft-fp/fmasf4.c: New file.
14064         * soft-fp/fmadf4.c: Likewise.
14065         * soft-fp/fmatf4.c: Likewise.
14067 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14070         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14071         Silvermont.
14072         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14073         macro.
14074         (index_Slow_SSE4_2): Likewise.
14075         (index_Prefer_PMINUB_for_stringop): Likewise.
14076         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14077         bit_Slow_SSE4_2 is set.
14078         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14079         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14081 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14083         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14084         rtld_global._dl_hwcap2.
14085         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14086         POWER8.
14087         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14088         POWER8 feature descriptions defined in _dl_hwcap2.
14089         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14090         string handling for POWER8 feature bits.
14091         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14092         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14093         _dl_powerpc_cap_flags.
14094         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14095         * sysdeps/powerpc/rtld-global-offsets.sym
14096         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14097         _dl_hwcap2 in the rtld_global_ro structure.
14099 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14101         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14102         hardware capabilities in support of AT_HWCAP2.
14103         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14104         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14105         GLRO(dl_hwcap2).
14106         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14107         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14108         explicitly the unknown a_type display mechanism is used.
14109         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14110         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14111         struct member.
14112         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14113         to macro prototype for AT_HWCAP2 support.
14114         * sysdeps/i386/dl-procinfo.h: Likewise.
14115         * sysdeps/s390/dl-procinfo.h: Likewise.
14116         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14117         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14118         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14119         return -1 for unknown a_type display fallback.
14120         * sysdeps/sparc/dl-procinfo.h: Likewise.
14121         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14122         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14124 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14126         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14127         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14129 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14131         [BZ #12492]
14132         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14133         mprotect making __stack_prot writable.
14135 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14136             Joseph Myers  <joseph@codesourcery.com>
14138         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14139         as being properly aligned.
14141 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14143         * dlfcn/modstatic5.c: New file.
14144         * dlfcn/tststatic5.c: New file.
14145         * dlfcn/Makefile (tests): Add tststatic5.
14146         (tests-static): Likewise.
14147         (modules-names): Add modstatic5.
14148         (tststatic5-ENV): New variable.
14149         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14151         [BZ #15022]
14152         * elf/dl-support.c (_dl_main_map): New variable.
14153         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14154         (_dl_nns, _dl_load_adds): Set to 1.
14155         (_dl_initial_searchlist): Refer to _dl_main_map.
14156         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14157         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14158         call to _dl_get_origin.
14159         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14160         around call_map.
14161         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14162         * dlfcn/modstatic3.c: New file.
14163         * dlfcn/tststatic3.c: New file.
14164         * dlfcn/tststatic4.c: New file.
14165         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14166         (tests-static): Likewise.
14167         (modules-names): Add modstatic3.
14168         (tststatic3-ENV, tststatic4-ENV): New variables.
14169         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14170         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14172 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14174         * configure.in (CC): Require GCC version 4.4 or later.
14175         * configure: Regenerated.
14176         * manual/install.texi (Tools for Compilation): Update GCC version
14177         requirement.
14178         * INSTALL: Regenerated.
14180 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14182         [BZ #15674]
14183         * string/test-memcmp.c (check2): New.
14184         (main): Call check2.
14186         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14188 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14190         [BZ #15022]
14191         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14192         over to...
14193         (dl_open_worker) [!SHARED]: ... here.
14195 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14197         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14199 2013-06-25  Richard Henderson  <rth@redhat.com>
14201         * locale/programs/locarchive.c: Include <libc-internal.h>
14203 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14205         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14206         trailing whitespace removed.
14208 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14210         [BZ #10283]
14211         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14212         * locale/programs/locarchive.c: Include libc-mmap.h.
14213         (prepare_address_space): Take two new outputs (the mmap base and len).
14214         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14215         values.
14216         (create_archive): Declare new mmap base and len values for
14217         prepare_address_space, and store the result in ah.
14218         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14219         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14220         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14221         Declare new mmap base and len values for
14222         prepare_address_space, and store the result in new_ah.
14223         (open_archive): Declare new mmap base and len values for
14224         prepare_address_space, and store the result in ah.
14225         (close_archive): If ah->mmap_base is not NULL, use that and
14226         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14227         * sysdeps/generic/libc-mmap.h: New file.
14229 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14231         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14232         (ALIGN_UP): Likewise.
14233         (PTR_ALIGN_DOWN): Likewise.
14234         (PTR_ALIGN_UP): Likewise.
14236 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14238         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14239         entry mapped to PPC_PLATFORM_POWER8.
14240         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14241         POWER8.
14242         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14243         (_dl_string_platform): Add case for exporting platform position for
14244         POWER8.
14245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14246         search path to sysdeps/powerpc/powerpc32/power8 directory.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14248         search path to sysdeps/powerpc/powerpc64/power8 directory.
14249         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14250         power7 directories.
14251         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14252         power7 directories.
14254 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14256         * INSTALL: Regenerate.
14258         * nscd/connections.c (nscd_init): Fix comment.
14260 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14262         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14264         [BZ #15667]
14265         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14266         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14268 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14270         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14271         DL_DST_REQ_STATIC.
14272         (DL_DST_REQ_STATIC): Remove macro.
14274 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14276         [BZ #7006]
14277         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14278         with a shift of 0 bits.
14280 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14282         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14283         $(tststatic-ENV).
14285 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14287         [BZ #15655]
14288         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14290 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14292         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14293         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14294         accepts -fno-tree-loop-distribute-patterns.
14295         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14296         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14297         recursive call.
14298         * string/memset.c (memset): Likewise.
14299         * string/test-memmove.c (simple_memmove): Disable loop transformation
14300         to library calls.
14301         * string/test-memset.c (simple_memset): Likewise.
14302         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14303         * benchtests/bench-memset.c (simple_memset): Likewise.
14304         * configure: Regenerated.
14306 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14308         * math/test-misc.c (main): Ignore fesetround failure when failures
14309         of subsequent rounding tests would be ignored.
14311         [BZ #15654]
14312         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14313         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14314         * math/fegetenv.c (__fegetenv): Return 0.
14315         * math/fegetexcept.c (fegetexcept): Return 0.
14316         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14317         FE_TONEAREST.
14318         * math/feholdexcpt.c (feholdexcept): Return 0.
14319         * math/fesetenv.c (__fesetenv): Return 0.
14320         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14321         argument FE_TONEAREST.
14322         * math/feupdateenv.c (__feupdateenv): Return 0.
14323         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14325 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14327         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14328         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14329         ($(objpfx)rtld-%.os rules): Use them.
14331 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14333         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14334         fields.
14336 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14338         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14339         length of target pattern, then descending length of dependency pattern.
14340         * configure.in (AWK): Require gawk 3.1.2 or newer.
14341         * manual/install.texi (Tools for Compilation): Say that we do.
14342         * configure: Regenerated.
14344         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14345         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14346         * scripts/sysd-rules.awk: ... this new script.
14347         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14348         than a glob-style pattern.
14350 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14352         * math/test-misc.c (main): Do not treat incorrectly rounded
14353         conversions as failure unless ROUNDING_TESTS passes.
14355 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14357         [BZ #15631]
14358         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14359         restore exception state around main square root computation, then
14360         check for inexactness explicitly.
14362         * math/libm-test.inc (fma_test_data): Add another test.
14364 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14366         * manual/threads.texi (Non-POSIX Extensions): New document
14367         node.  Document pthread_getattr_default_np and
14368         pthread_setattr_default_np.
14370         * Versions.def (libpthread): Add GLIBC_2.18.
14371         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14377         Likewise.
14378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14379         Likewise.
14380         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14381         Likewise.
14382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14383         Likewise.
14384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14389         Likewise.
14391 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14394         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14396 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14397             H.J. Lu  <hjl.tools@gmail.com>
14399         [BZ #15627]
14400         * sysdeps/x86_64/rtld-memset.c: Remove file.
14401         * sysdeps/x86_64/rtld-memset.S: New file.
14403 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14405         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14406         (test_in_one_mode): Take arguments for whether the rounding mode
14407         is supported for each floating-point type.
14408         (do_test): Pass new arguments to test_in_one_mode using
14409         ROUNDING_TESTS.
14411 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14413         * posix/tst-waitid.c (do_test): Distinguish different instances of
14414         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14415         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14416         before entering the kernel for waitpid.
14418 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14420         * NEWS: Fix note on clock function precision.  Text by Roland
14421         McGrath.
14423 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14425         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14426         it into place only when and if the sanity check passes.
14428 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14430         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14431         output for whether conversion result is exact.  Take argument
14432         indicating whether type is IBM long double.
14433         (round_for_all): Change need_exact field to ibm_ld.
14434         * stdlib/tst-strtod-round.c (struct exactness): New type.
14435         (struct test): Change bool ld_ok field to struct exactness exact.
14436         (TEST): Update all definitions for change to field.
14437         (tests): Regenerate array contents.
14438         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14439         field value.  Check for IBM long double here.
14440         (do_test): Update calls to test_in_one_mode.
14442 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14444         [BZ #12515]
14445         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14446         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14448 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14450         [BZ #15605]
14451         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14452         generated by the compiler on loop optimizations.
14453         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14454         general definitions.
14456 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14458         * math/bug-nextafter.c: Include <math-tests.h>.
14459         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14460         the relevant type.
14461         * math/bug-nexttoward.c: Include <math-tests.h>.
14462         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14463         the relevant type.
14464         * math/test-misc.c: Include <math-tests.h>.
14465         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14466         the relevant type.
14468 2013-06-12  Andreas Jaeger  <aj@suse.de>
14470         * po/ia.po: Update Interlingua translation from translation
14471         project.
14473 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14475         * include/fenv.h: Include stdbool.h.
14476         (struct rm_ctx): New structure.
14477         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14478         Define macro.
14479         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14480         (SET_RESTORE_ROUNDF): Likewise.
14481         (SET_RESTORE_ROUNDL): Likewise.
14482         (SET_RESTORE_ROUND_NOEX): Likewise.
14483         (SET_RESTORE_ROUND_NOEXF): Likewise.
14484         (SET_RESTORE_ROUND_NOEXL): Likewise.
14485         (SET_RESTORE_ROUND_53BIT): Likewise.
14486         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14487         (libc_feresetround_noexf_ctx): Likewise.
14488         (libc_feresetround_noexl_ctx): Likewise.
14489         (libc_feholdsetround_53bit_ctx): Likewise.
14490         (libc_feresetround_53bit_ctx): Likewise.
14491         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14492         (libc_feholdexcept_setround_sse_ctx): New function.
14493         (libc_fesetenv_sse_ctx): Likewise.
14494         (libc_feupdateenv_sse_ctx): Likewise.
14495         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14496         (libc_feholdexcept_setround_387_ctx): Likewise.
14497         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14498         (libc_feholdsetround_387_prec_ctx): Likewise.
14499         (libc_feholdsetround_387_ctx): Likewise.
14500         (libc_feholdsetround_387_53bit_ctx): Likewise.
14501         (libc_feholdsetround_sse_ctx): Likewise.
14502         (libc_feresetround_sse_ctx): Likewise.
14503         (libc_feresetround_387_ctx): Likewise.
14504         (libc_feupdateenv_387_ctx): Likewise.
14505         (libc_feholdexcept_setroundf_ctx): Define macro.
14506         (libc_fesetenvf_ctx): Likewise.
14507         (libc_feupdateenvf_ctx): Likewise.
14508         (libc_feholdsetroundf_ctx): Likewise.
14509         (libc_feresetroundf_ctx): Likewise.
14510         (libc_feholdexcept_setround_ctx): Likewise.
14511         (libc_fesetenv_ctx): Likewise.
14512         (libc_feupdateenv_ctx): Likewise.
14513         (libc_feholdsetround_ctx): Likewise.
14514         (libc_feresetround_ctx): Likewise.
14515         (libc_feholdexcept_setroundl_ctx): Likewise.
14516         (libc_feupdateenvl_ctx): Likewise.
14517         (libc_feholdsetroundl_ctx): Likewise.
14518         (libc_feresetroundl_ctx): Likewise.
14519         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14520         (libc_feresetround_53bit_ctx): Likewise.
14522 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14524         * locale/iso-639.def: Convert to UTF-8.
14526 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14528         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14529         (EXCEPTION_TESTS_double): Likewise.
14530         (EXCEPTION_TESTS_long_double): Likewise.
14531         (EXCEPTION_TESTS): Likewise.
14532         * math/libm-test.inc (test_exceptions): Only test exceptions if
14533         EXCEPTION_TESTS (FLOAT).
14535 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14537         * benchtests/Makefile (string-bench): Add strcpy_chk and
14538         stpcpy_chk.
14539         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14540         * benchtests/bench-stpcpy_chk.c: New file.
14541         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14542         * benchtests/bench-strcpy_chk.c: New file.
14543         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14544         code.
14545         (do_test): Likewise.
14547 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14550         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14551         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14552         with tabs where appropriate.
14553         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14554         dl-procinfo.h.
14555         [PPC_PLATFORM_PPC440]: Likewise.
14556         [PPC_PLATFORM_PPC464]: Likewise.
14557         [PPC_PLATFORM_PPC476]: Likewise.
14558         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14559         ppc464, and ppc476 platform strings merging from ports/
14560         dl-procinfo.h.
14562 2013-06-11  Andreas Schwab  <schwab@suse.de>
14564         [BZ #14991]
14565         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14566         (from_ucs4_idx): Regenerate.
14567         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14568         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14569         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14570         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14571         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14572         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14573         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14574         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14575         from FROM_LOOP and TO_LOOP specific macros.
14576         (BODY): Handle combining characters.
14577         * iconvdata/BIG5HKSCS.irreversible: Update.
14578         * iconvdata/BIG5HKSCS.precomposed: New file.
14579         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14580         characters.
14581         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14583 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14585         * include/sys/time.h: Fix indentation and add copyright header.
14587         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14588         (do_test): Likewise.
14589         * string/test-memchr.c (do_one_test): Likewise.
14590         (do_test): Likewise.
14591         * string/test-memcmp.c (do_one_test): Likewise.
14592         (do_test): Likewise.
14593         * string/test-memcpy.c (do_one_test): Likewise.
14594         (do_test): Likewise.
14595         * string/test-memmem.c (do_one_test): Likewise.
14596         (do_test): Likewise.
14597         (do_random_tests): Likewise.
14598         * string/test-memmove.c (do_one_test): Likewise.
14599         (do_test): Likewise.
14600         * string/test-memset.c (do_one_test): Likewise.
14601         (do_test): Likewise.
14602         * string/test-rawmemchr.c (do_one_test): Likewise.
14603         (do_test): Likewise.
14604         * string/test-strcasecmp.c (do_one_test): Likewise.
14605         (do_test): Likewise.
14606         * string/test-strcasestr.c (do_one_test): Likewise.
14607         (do_test): Likewise.
14608         * string/test-strcat.c (do_one_test): Likewise.
14609         (do_test): Likewise.
14610         * string/test-strchr.c (do_one_test): Likewise.
14611         (do_test): Likewise.
14612         * string/test-strcmp.c (do_one_test): Likewise.
14613         (do_test): Likewise.
14614         * string/test-strcpy.c (do_one_test): Likewise.
14615         (do_test): Likewise.
14616         * string/test-string.h: Likewise.
14617         (test_init): Likewise.
14618         * string/test-strlen.c (do_one_test): Likewise.
14619         (do_test): Likewise.
14620         * string/test-strncasecmp.c (do_one_test): Likewise.
14621         (do_test): Likewise.
14622         * string/test-strncat.c (do_one_test): Likewise.
14623         (do_test): Likewise.
14624         * string/test-strncmp.c (do_one_test): Likewise.
14625         (do_test_limit): Likewise.
14626         (do_test): Likewise.
14627         * string/test-strncpy.c (do_one_test): Likewise.
14628         (do_test): Likewise.
14629         * string/test-strnlen.c (do_one_test): Likewise.
14630         (do_test): Likewise.
14631         * string/test-strpbrk.c (do_one_test): Likewise.
14632         (do_test): Likewise.
14633         * string/test-strrchr.c (do_one_test): Likewise.
14634         (do_test): Likewise.
14635         * string/test-strspn.c (do_one_test): Likewise.
14636         (do_test): Likewise.
14637         * string/test-strstr.c (do_one_test): Likewise.
14638         (do_test): Likewise.
14640         * benchtests/Makefile (string-bench): Add string benchmarks.
14641         * benchtests/bench-bcopy-ifunc.c: New file.
14642         * benchtests/bench-bcopy.c: New file.
14643         * benchtests/bench-bzero-ifunc.c: New file.
14644         * benchtests/bench-bzero.c: New file.
14645         * benchtests/bench-memccpy-ifunc.c: New file.
14646         * benchtests/bench-memccpy.c: New file.
14647         * benchtests/bench-memchr-ifunc.c: New file.
14648         * benchtests/bench-memchr.c: New file.
14649         * benchtests/bench-memcmp-ifunc.c: New file.
14650         * benchtests/bench-memcmp.c: New file.
14651         * benchtests/bench-memmem-ifunc.c: New file.
14652         * benchtests/bench-memmem.c: New file.
14653         * benchtests/bench-memmove-ifunc.c: New file.
14654         * benchtests/bench-memmove.c: New file.
14655         * benchtests/bench-mempcpy-ifunc.c: New file.
14656         * benchtests/bench-mempcpy.c: New file.
14657         * benchtests/bench-memset-ifunc.c: New file.
14658         * benchtests/bench-memset.c: New file.
14659         * benchtests/bench-rawmemchr-ifunc.c: New file.
14660         * benchtests/bench-rawmemchr.c: New file.
14661         * benchtests/bench-stpcpy-ifunc.c: New file.
14662         * benchtests/bench-stpcpy.c: New file.
14663         * benchtests/bench-stpncpy-ifunc.c: New file.
14664         * benchtests/bench-stpncpy.c: New file.
14665         * benchtests/bench-strcasecmp-ifunc.c: New file.
14666         * benchtests/bench-strcasecmp.c: New file.
14667         * benchtests/bench-strcasestr-ifunc.c: New file.
14668         * benchtests/bench-strcasestr.c: New file.
14669         * benchtests/bench-strcat-ifunc.c: New file.
14670         * benchtests/bench-strcat.c: New file.
14671         * benchtests/bench-strchr-ifunc.c: New file.
14672         * benchtests/bench-strchr.c: New file.
14673         * benchtests/bench-strchrnul-ifunc.c: New file.
14674         * benchtests/bench-strchrnul.c: New file.
14675         * benchtests/bench-strcmp-ifunc.c: New file.
14676         * benchtests/bench-strcmp.c: New file.
14677         * benchtests/bench-strcpy-ifunc.c: New file.
14678         * benchtests/bench-strcpy.c: New file.
14679         * benchtests/bench-strcspn-ifunc.c: New file.
14680         * benchtests/bench-strcspn.c: New file.
14681         * benchtests/bench-strlen-ifunc.c: New file.
14682         * benchtests/bench-strlen.c: New file.
14683         * benchtests/bench-strncasecmp-ifunc.c: New file.
14684         * benchtests/bench-strncasecmp.c: New file.
14685         * benchtests/bench-strncat-ifunc.c: New file.
14686         * benchtests/bench-strncat.c: New file.
14687         * benchtests/bench-strncmp-ifunc.c: New file.
14688         * benchtests/bench-strncmp.c: New file.
14689         * benchtests/bench-strncpy-ifunc.c: New file.
14690         * benchtests/bench-strncpy.c: New file.
14691         * benchtests/bench-strnlen-ifunc.c: New file.
14692         * benchtests/bench-strnlen.c: New file.
14693         * benchtests/bench-strpbrk-ifunc.c: New file.
14694         * benchtests/bench-strpbrk.c: New file.
14695         * benchtests/bench-strrchr-ifunc.c: New file.
14696         * benchtests/bench-strrchr.c: New file.
14697         * benchtests/bench-strspn-ifunc.c: New file.
14698         * benchtests/bench-strspn.c: New file.
14699         * benchtests/bench-strstr-ifunc.c: New file.
14700         * benchtests/bench-strstr.c: New file.
14702         * benchtests/Makefile: Disable parallel execution of targets.
14703         (string-bench): Add memcpy.
14704         (benchset): New variable to store a list of benchmark sets.
14705         (bench-func): Renamed from bench.
14706         (bench-set): New target.
14707         (bench): Depend on bench-func and bench-set.
14708         * benchtests/README: Add section on benchmark sets.
14709         * benchtests/bench-memcpy-ifunc.c: New file.
14710         * benchtests/bench-memcpy.c: New file.
14711         * benchtests/bench-string.h: New file.
14713 2013-06-11  Andreas Schwab  <schwab@suse.de>
14715         [BZ #15577]
14716         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14717         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14718         values in the triple.
14719         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14720         terminator in the group key.
14722 2013-06-11  Andreas Jaeger  <aj@suse.de>
14724         * po/zh_TW.po: Update Chinese (traditional) translation from
14725         translation project.
14727 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14729         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14730         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14731         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14732         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14733         (clock_getcpuclockid): Likewise.
14734         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14735         Add weak_alias and libc_hidden_def.
14736         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14737         * rt/clock_gettime.c (clock_gettime): Rename to
14738         __clock_gettime.  Add weak_alias and libc_hidden_def.
14739         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14740         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14741         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14742         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14743         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14744         Likewise.
14745         * rt/clock_settime.c (clock_settime): Rename to
14746         __clock_settime.  Add weak_alias and libc_hidden_def.
14747         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14749 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14751         * mach/err_boot.sub: Remove trailing whitespace.
14752         * mach/err_ipc.sub: Likewise.
14753         * mach/err_mach.sub: Likewise.
14755         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14756         (ROUNDING_TESTS_double): Likewise.
14757         (ROUNDING_TESTS_long_double): Likewise.
14758         (ROUNDING_TESTS): Likewise.
14759         * math/libm-test.inc: Include <math-tests.h>.
14760         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14761         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14762         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14763         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14765 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14767         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14768         of assigning.
14770 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14772         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14773         otherwise empty TRANS lines.
14774         * sysdeps/gnu/errlist.c: Regenerated.
14776         * catgets/gencat.c (error_print): Use (void) in function
14777         definition.
14778         * crypt/crypt_util.c (__init_des): Likewise.
14779         * crypt/speeds.c (Stop): Likewise.
14780         (main): Likewise.
14781         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14782         * inet/ruserpass.c (token): Likewise.
14783         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14784         * intl/localealias.c (extend_alias_table): Likewise.
14785         * intl/plural-exp.c (init_germanic_plural): Likewise.
14786         * libio/fcloseall.c (__fcloseall): Likewise.
14787         * libio/genops.c (_IO_flush_all): Likewise.
14788         (_IO_flush_all_linebuffered): Likewise.
14789         (_IO_cleanup): Likewise.
14790         (_IO_iter_begin): Likewise.
14791         (_IO_iter_end): Likewise.
14792         (_IO_list_lock): Likewise.
14793         (_IO_list_unlock): Likewise.
14794         (_IO_list_resetlock): Likewise.
14795         * libio/getchar.c (getchar): Likewise.
14796         * libio/getchar_u.c (getchar_unlocked): Likewise.
14797         * libio/getwchar.c (getwchar): Likewise.
14798         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14799         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14800         * login/getpt.c (__getpt): Likewise.
14801         * login/tst-utmp.c (main): Likewise.
14802         * malloc/hooks.c (__malloc_check_init): Likewise.
14803         * malloc/malloc.c (__malloc_stats): Likewise.
14804         * malloc/mtrace.c (tr_break): Likewise.
14805         (mtrace): Likewise.
14806         (muntrace): Likewise.
14807         * misc/fstab.c (endfsent): Likewise.
14808         * misc/getclktck.c (__getclktck): Likewise.
14809         * misc/getdtsz.c (__getdtablesize): Likewise.
14810         * misc/gethostid.c (gethostid): Likewise.
14811         * misc/getpagesize.c (__getpagesize): Likewise.
14812         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14813         (__get_nprocs): Likewise.
14814         (__get_phys_pages): Likewise.
14815         (__get_avphys_pages): Likewise.
14816         * misc/getttyent.c (getttyent): Likewise.
14817         (setttyent): Likewise.
14818         (endttyent): Likewise.
14819         * misc/getusershell.c (getusershell): Likewise.
14820         (endusershell): Likewise.
14821         (setusershell): Likewise.
14822         (initshells): Likewise.
14823         * misc/hsearch.c (__hdestroy): Likewise.
14824         * misc/sync.c (sync): Likewise.
14825         * misc/syslog.c (closelog_internal): Likewise.
14826         (closelog): Likewise.
14827         * misc/ttyslot.c (ttyslot): Likewise.
14828         * misc/vhangup.c (vhangup): Likewise.
14829         * posix/fork.c (__fork): Likewise.
14830         * posix/getegid.c (__getegid): Likewise.
14831         * posix/geteuid.c (__geteuid): Likewise.
14832         * posix/getgid.c (__getgid): Likewise.
14833         * posix/getpid.c (__getpid): Likewise.
14834         * posix/getppid.c (__getppid): Likewise.
14835         * posix/getuid.c (__getuid): Likewise.
14836         * posix/pause.c (pause): Likewise.
14837         * posix/setpgrp.c (setpgrp): Likewise.
14838         * posix/setsid.c (__setsid): Likewise.
14839         * posix/test-vfork.c (noop): Likewise.
14840         * resolv/gethnamaddr.c (_endhtent): Likewise.
14841         (_gethtent): Likewise.
14842         (ht_endhostent): Likewise.
14843         (gethostent): Likewise.
14844         (dns_service): Likewise.
14845         * stdlib/drand48.c (drand48): Likewise.
14846         * stdlib/lrand48.c (lrand48): Likewise.
14847         * stdlib/mrand48.c (mrand48): Likewise.
14848         * stdlib/rand.c (rand): Likewise.
14849         * stdlib/random.c (__random): Likewise.
14850         * stdlib/setenv.c (clearenv): Likewise.
14851         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14852         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14853         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14854         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14855         (__get_nprocs): Likewise.
14856         (__get_phys_pages): Likewise.
14857         (__get_avphys_pages): Likewise.
14858         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14859         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14860         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14861         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14862         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14863         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14864         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14865         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14866         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14867         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14868         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14869         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14870         * sysdeps/posix/clock.c (clock): Likewise.
14871         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14872         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14873         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14874         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14875         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14876         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14877         (__get_nprocs_conf): Likewise.
14878         (__get_phys_pages): Likewise.
14879         (__get_avphys_pages): Likewise.
14880         * time/clock.c (clock): Likewise.
14881         * time/tzset.c (__tzname_max): Likewise.
14883 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14885         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14886         (__bswap_32): Do not use "register".
14887         * crypt/crypt.c (_ufc_doit_r): Likewise.
14888         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14889         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14890         * gmon/gmon.c (__monstartup): Likewise.
14891         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14892         * hurd/hurdmalloc.c (more_memory): Likewise.
14893         (malloc): Likewise.
14894         (free): Likewise.
14895         (realloc): Likewise.
14896         (malloc_fork_prepare): Likewise.
14897         (malloc_fork_parent): Likewise.
14898         (malloc_fork_child): Likewise.
14899         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14900         (_svcauth_des): Likewise.
14901         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14902         * inet/inet_net.c (inet_network): Likewise.
14903         * inet/inet_netof.c (inet_netof): Likewise.
14904         * inet/rcmd.c (__validuser2_sa): Likewise.
14905         * io/fts.c (fts_open): Likewise.
14906         (fts_load): Likewise.
14907         (fts_close): Likewise.
14908         (fts_read): Likewise.
14909         (fts_children): Likewise.
14910         (fts_build): Likewise.
14911         (fts_stat): Likewise.
14912         (fts_sort): Likewise.
14913         (fts_alloc): Likewise.
14914         (fts_lfree): Likewise.
14915         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14916         (_IO_file_xsgetn): Likewise.
14917         (_IO_file_xsgetn_mmap): Likewise.
14918         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14919         (_IO_cookie_write): Likewise.
14920         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14921         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14922         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14923         * malloc/obstack.c (_obstack_begin): Likewise.
14924         (_obstack_begin_1): Likewise.
14925         (_obstack_newchunk): Likewise.
14926         (_obstack_allocated_p): Likewise.
14927         (obstack_free): Likewise.
14928         (_obstack_memory_used): Likewise.
14929         * misc/getttyent.c (getttynam): Likewise.
14930         (getttyent): Likewise.
14931         (skip): Likewise.
14932         (value): Likewise.
14933         * misc/getusershell.c (initshells): Likewise.
14934         * misc/syslog.c (__vsyslog_chk): Likewise.
14935         * misc/ttyslot.c (ttyslot): Likewise.
14936         * nis/nis_hash.c (__nis_hash): Likewise.
14937         * posix/fnmatch_loop.c (FCT): Likewise.
14938         * posix/getconf.c (print_all): Likewise.
14939         (main): Likewise.
14940         * posix/getopt.c (exchange): Likewise.
14941         * posix/glob.c (globfree): Likewise.
14942         (prefix_array): Likewise.
14943         (__glob_pattern_type): Likewise.
14944         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14945         (NS_GET32): Likewise.
14946         (NS_PUT16): Likewise.
14947         (NS_PUT32): Likewise.
14948         * resolv/gethnamaddr.c (getanswer): Likewise.
14949         (gethostbyname2): Likewise.
14950         (gethostbyaddr): Likewise.
14951         (_gethtent): Likewise.
14952         (_gethtbyname2): Likewise.
14953         (_gethtbyaddr): Likewise.
14954         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14955         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14956         * resolv/res_init.c (__res_vinit): Likewise.
14957         (net_mask): Likewise.
14958         * resolv/res_mkquery.c (outchar): Likewise.
14959         (PRINT): Likewise.
14960         * stdio-common/printf_fp.c (outchar): Likewise.
14961         (PRINT): Likewise.
14962         * stdio-common/printf_fphex.c (outchar): Likewise.
14963         (PRINT): Likewise.
14964         * stdio-common/printf_size.c (outchar): Likewise.
14965         (PRINT): Likewise.
14966         * stdio-common/test_rdwr.c (main): Likewise.
14967         * stdio-common/tfformat.c (matches): Likewise.
14968         * stdio-common/vfprintf.c (outchar): Likewise.
14969         (printf_unknown): Likewise.
14970         (buffered_vfprintf): Likewise.
14971         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14972         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14973         (ReadFile): Likewise.
14974         * stdlib/qsort.c (SWAP): Likewise.
14975         (_quicksort): Likewise.
14976         * stdlib/setenv.c (__add_to_environ): Likewise.
14977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14978         * stdlib/strtol_l.c (__strtol_l): Likewise.
14979         * stdlib/tst-strtod.c (main): Likewise.
14980         * stdlib/tst-strtol.c (main): Likewise.
14981         * stdlib/tst-strtoll.c (main): Likewise.
14982         * string/bits/string2.h (__strcmp_cc): Likewise.
14983         (__strcmp_cg): Likewise.
14984         (__strcspn_c1): Likewise.
14985         (__strcspn_c2): Likewise.
14986         (__strcspn_c3): Likewise.
14987         (__strspn_c1): Likewise.
14988         (__strspn_c2): Likewise.
14989         (__strspn_c3): Likewise.
14990         (__strsep_1c): Likewise.
14991         (__strsep_2c): Likewise.
14992         (__strsep_3c): Likewise.
14993         * string/memccpy.c (__memccpy): Likewise.
14994         * string/stpcpy.c (__stpcpy): Likewise.
14995         * string/strcmp.c (strcmp): Likewise.
14996         * string/strrchr.c (strrchr): Likewise.
14997         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14998         Likewise.
14999         * sysdeps/mach/hurd/getcwd.c
15000         (_hurd_canonicalize_directory_name_internal): Likewise.
15001         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15002         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15003         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15004         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15005         Likewise, in both definitions.
15006         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15007         definitions.
15008         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15009         64] (__bswap_64): Likewise.
15010         * time/test_time.c (main): Likewise.
15011         * time/tzfile.c (__tzfile_read): Likewise.
15012         (__tzfile_compute): Likewise.
15013         * time/tzset.c (__tzset_parse_tz): Likewise.
15014         (tzset_internal): Likewise.
15015         (compute_change): Likewise.
15016         * wcsmbs/wcscat.c (__wcscat): Likewise.
15017         * wcsmbs/wcschr.c (wcschr): Likewise.
15018         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15019         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15020         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15021         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15022         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15023         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15024         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15025         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15026         * wcsmbs/wmemset.c (wmemset): Likewise.
15028 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15030         * scripts/config.guess: Update to version 2013-05-16.
15031         * scripts/config.sub: Update to version 2013-04-24.
15032         * scripts/install-sh: Update to version 2011-11-20.07.
15033         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15034         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15036 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15038         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15039         * elf/sln.c: Likewise.
15040         * hurd/hurd/ioctl.h: Likewise.
15041         * hurd/hurdmalloc.c: Likewise.
15042         * hurd/xattr.c: Likewise.
15043         * include/shlib-compat.h: Likewise.
15044         * inet/ruserpass.c: Likewise.
15045         * libio/iofgets_u.c: Likewise.
15046         * libio/iofgetws_u.c: Likewise.
15047         * locale/programs/ld-identification.c: Likewise.
15048         * locale/programs/ld-time.c: Likewise.
15049         * mach/msg-destroy.c: Likewise.
15050         * nss/nss_files/files-netgrp.c: Likewise.
15051         * resolv/res_data.c: Likewise.
15052         * soft-fp/op-1.h: Likewise.
15053         * soft-fp/op-2.h: Likewise.
15054         * soft-fp/op-4.h: Likewise.
15055         * soft-fp/op-common.h: Likewise.
15056         * stdio-common/printf_fphex.c: Likewise.
15057         * stdlib/strtod_l.c: Likewise.
15058         * sunrpc/rpc/clnt.h: Likewise.
15059         * sysdeps/generic/framestate.c: Likewise.
15060         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15061         * sysdeps/i386/bsd-setjmp.S: Likewise.
15062         * sysdeps/i386/__longjmp.S: Likewise.
15063         * sysdeps/i386/setjmp.S: Likewise.
15064         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15065         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15066         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15069         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15070         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15073         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15074         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15075         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15076         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15077         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15078         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15079         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15080         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15081         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15082         * sysdeps/ieee754/support.c: Likewise.
15083         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15084         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15085         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15086         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15087         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15088         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15089         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15090         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15091         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15092         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15093         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15094         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15095         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15096         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15097         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15098         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15099         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15102 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15104         * posix/transbug.c: Remove executable mode.
15106 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15108         * crypt/speeds.c: Remove trailing whitespace.
15109         * dlfcn/default.c: Likewise.
15110         * elf/ifuncdep2.c: Likewise.
15111         * elf/ifuncmain1.c: Likewise.
15112         * elf/ifuncmain1vis.c: Likewise.
15113         * elf/testobj.h: Likewise.
15114         * elf/tst-stackguard1.c: Likewise.
15115         * gmon/sys/gmon.h: Likewise.
15116         * hurd/hurdmsg.c: Likewise.
15117         * hurd/new-fd.c: Likewise.
15118         * hurd/ports-get.c: Likewise.
15119         * iconvdata/ibm1008_420.c: Likewise.
15120         * inet/tst-getni1.c: Likewise.
15121         * inet/tst-getni2.c: Likewise.
15122         * libio/ioungetc.c: Likewise.
15123         * libio/wfiledoalloc.c: Likewise.
15124         * manual/libm-err-tab.pl: Likewise.
15125         * math/w_dremf.c: Likewise.
15126         * misc/ftruncate.c: Likewise.
15127         * posix/bug-glob2.c: Likewise.
15128         * posix/tst-pcre.c: Likewise.
15129         * posix/wait4.c: Likewise.
15130         * resolv/README: Likewise.
15131         * resolv/res_debug.h: Likewise.
15132         * resolv/tst-inet_ntop.c: Likewise.
15133         * setjmp/bug269-setjmp.c: Likewise.
15134         * soft-fp/extended.h: Likewise.
15135         * soft-fp/op-1.h: Likewise.
15136         * soft-fp/op-2.h: Likewise.
15137         * soft-fp/op-4.h: Likewise.
15138         * soft-fp/op-8.h: Likewise.
15139         * soft-fp/testit.c: Likewise.
15140         * stdio-common/bug16.c: Likewise.
15141         * stdlib/random.c: Likewise.
15142         * sunrpc/rpcsvc/rquota.x: Likewise.
15143         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15144         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15145         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15146         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15147         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15148         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15149         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15150         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15152         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15153         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15154         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15156         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15158         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15159         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15160         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15161         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15164         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15165         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15166         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15167         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15168         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15170         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15171         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15172         * sysdeps/ieee754/s_lib_version.c: Likewise.
15173         * sysdeps/mach/hurd/check_fds.c: Likewise.
15174         * sysdeps/mach/hurd/getsockname.c: Likewise.
15175         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15176         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15177         * sysdeps/powerpc/bits/link.h: Likewise.
15178         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15179         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15180         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15181         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15182         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15183         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15184         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15185         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15186         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15187         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15188         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15189         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15190         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15191         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15192         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15193         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15194         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15195         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15196         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15197         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15198         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15199         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15200         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15201         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15202         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15203         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15204         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15205         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15206         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15207         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15208         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15209         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15210         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15211         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15212         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15213         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15214         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15215         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15216         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15217         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15218         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15219         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15220         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15221         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15222         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15223         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15224         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15225         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15226         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15227         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15228         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15229         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15230         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15231         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15232         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15233         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15234         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15235         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15236         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15237         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15238         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15239         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15240         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15241         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15242         * sysdeps/powerpc/sysdep.h: Likewise.
15243         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15244         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15245         * sysdeps/sh/dl-trampoline.S: Likewise.
15246         * sysdeps/sh/memset.S: Likewise.
15247         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15248         * sysdeps/sh/strlen.S: Likewise.
15249         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15250         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15251         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15252         * sysdeps/sparc/sparc32/rem.S: Likewise.
15253         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15254         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15255         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15256         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15257         * sysdeps/sparc/sparc32/urem.S: Likewise.
15258         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15259         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15260         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15261         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15262         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15263         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15264         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15265         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15266         * sysdeps/unix/bsd/times.c: Likewise.
15267         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15268         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15272         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15273         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15274         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15275         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15276         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15277         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15278         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15279         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15280         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15281         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15282         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15283         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15284         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15285         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15286         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15287         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15288         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15289         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15290         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15291         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15292         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15293         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15294         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15295         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15296         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15297         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15298         * sysdeps/x86_64/strcspn.S: Likewise.
15300 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15302         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15303         generated file.  Regenerate properly from gen-translit.pl.
15304         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15305         locale/C-translit.h.
15307 2013-06-05  Andreas Schwab  <schwab@suse.de>
15309         [BZ #15100]
15310         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15311         week as 6 instead of -1.
15312         * time/tst-strptime.c (day_tests): Add test case.
15314 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15316         * sysdeps/generic/math_private.h
15317         (libc_feholdexcept_setround_53bit): Replace with
15318         libc_feholdsetround_53bit.
15319         (libc_feupdateenv_53bit): Replace with
15320         libc_feresetround_53bit.
15321         (SET_RESTORE_ROUND_53BIT): Adjust.
15323 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15325         * string/test-strchrnul.c: Add copyright header.
15327         * posix/tst-getaddrinfo4.c: Increase test timeout.
15329 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15331         [BZ #15536]
15332         * math/libm-test.inc (MAX_EXP): Remove
15333         (MIN_EXP): Define.
15334         (ulp): Use MIN_EXP - MANT_DIG.
15335         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15337 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15339         * po/be.po: Revert last change.
15340         * po/zh_CN.po: Likewise.
15341         * po/header.pot: Likewise.
15343 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15345         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15346         link-libc-deps to empty as target-specific variable.
15347         * Makerules (link-libc-args): New variable.
15348         (libc-for-link): Likewise.
15349         (link-libc-deps): Likewise.
15350         (lib%.so): Depend on $(link-libc-deps).  Link with
15351         $(link-libc-args).
15352         (build-module): Link with $(link-libc-args).
15353         (build-module-asneeded): Likewise.
15354         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15355         list of objects.
15356         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15357         target-specific variable.
15358         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15359         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15360         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15361         libc.
15362         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15363         libc and ld.so.
15364         ($(objpfx)libpcprofile.so): Likewise.
15365         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15366         libc_nonshared.a.
15367         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15368         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15369         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15370         $(link-libc-deps).
15371         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15372         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15373         * login/Makefile ($(objpfx)libutil.so): Likewise.
15374         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15375         * math/Makefile ($(objpfx)libm.so): Likewise.
15376         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15377         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15378         variable instead of depending directly on libc.
15379         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15380         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15381         $(link-libc-deps).
15382         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15383         libc.
15384         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15385         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15386         ($(objpfx)libanl.so): Likewise.
15387         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15388         ld.so.
15389         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15390         $(link-libc-deps).
15391         * sysdeps/i386/fpu/Makefile: Remove file.
15392         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15393         ($(objpfx)libm.so): Remove dependency on ld.so.
15395 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15397         [BZ # 15553]
15398         * nis/yp_xdr.c (XDRMAXNAME): Define.
15399         (XDRMAXRECORD): Define.
15400         (xdr_domainname): Use XDRMAXNAME.
15401         (xdr_mapname): Likewise.
15402         (xdr_peername): Likewise.
15403         (xdr_keydat): Use XDRMAXRECORD.
15404         (xdr_valdat): Likewise.
15406 2013-05-30  Jeff Law  <law@redhat.com>
15408         [BZ #14256]
15409         * manual/errno.texi (ESTALE): Update to account for more than
15410         just NFS file systems.
15411         * sysdeps/gnu/errlist.c: Regenerated.
15413 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15415         [BZ #15465]
15416         * elf/Makefile (tests): Add tst-null-argv.
15417         (modules-names):  Add tst-null-argv-lib.
15418         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15419         (tst-null-argv-ENV): Set environment for tst-null-argv.
15420         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15421         (RTLD_PROGNAME): New macro.
15422         * elf/tst-null-argv.c: New test case.
15423         * elf/tst-null-argv-lib.c: Library for test case.
15424         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15425         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15426         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15427         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15428         * elf/dl-init.c (call_init): Likewise.
15429         (_dl_init): Likewise.
15430         * elf/dl-load.c (print_search_path): Likewise.
15431         (_dl_map_object): Likewise.
15432         * elf/dl-lookup.c (do_lookup_x): Likewise.
15433         (add_dependency): Likewise.
15434         (_dl_lookup_symbol_x): Likewise.
15435         (_dl_debug_bindings): Likewise.
15436         * elf/dl-open.c (_dl_show_scope): Likewise.
15437         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15438         * elf/dl-version.c (match_symbol): Likewise.
15439         (_dl_check_map_versions): Likewise.
15440         * elf/rtld.c (dl_main): Likewise.
15441         (print_unresolved): Use RTLD_PROGNAME.
15442         (print_missing_version): Likewise.
15443         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15444         (elf_machine_rela): Likewise.
15445         * sysdeps/powerpc/powerpc32/dl-machine.c
15446         (__process_machine_rela): Likewise.
15447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15448         Likewise.
15449         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15450         Likewise.
15451         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15452         Likewise.
15453         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15455         Likewise.
15456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15457         Likewise.
15458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15460 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15462         * po/be.po: Add descriptive title.
15463         * po/zh_CN.po: Likewise.
15464         * po/header.pot: Likewise.
15466 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15468         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15469         error message.
15470         (enlarge_archive): Likewise.
15472 2013-05-28  Ben North  <ben@redfrontdoor.org>
15474         * manual/arith.texi (frexp): It is the magnitude of the return
15475         value which lies in [0.5, 1), not the return value itself.
15477 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15481 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15483         * stdio-common/bug26.c (main): Correct fscanf template.
15485         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15486         declare _dl_skip_args.
15488         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15489         Don't declare.
15491         * manual/platform.texi: Add missing @end deftypefun.
15493 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15495         [BZ #15529]
15496         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15497         bit of mantissa of 2^16382.
15498         * math/libm-test.inc (hypot_test_data): Add more tests.
15500         * math/libm-test.inc: Add drem and pow10 to list of tested
15501         functions.
15502         (pow10_test): New function.
15503         (drem_test): Likewise.
15504         (drem_test_tonearest): Likewise.
15505         (drem_test_towardzero): Likewise.
15506         (drem_test_downward): Likewise.
15507         (drem_test_upward): Likewise.
15508         (main): Call the new functions.
15510         * math/libm-test.inc (finite_test_data): Remove.
15511         (finite_test): Run tests from isfinite_test_data.
15512         (gamma_test_data): Remove.
15513         (gamma_test): Run tests from lgamma_test_data.
15514         * sysdeps/i386/fpu/libm-test-ulps: Update.
15515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15517 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15519         * manual/platform.texi: Add PowerPC PPR function set documentation.
15520         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15521         implementation.
15523 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15525         * math/libm-test.inc (MAX_EXP): Define.
15526         (ULPDIFF): Define.
15527         (ulp): New function.
15528         (check_float_internal): Use ULPDIFF.
15529         (cpow_test): Disable failing test.
15530         (check_ulp): Test ulp() implemetnation.
15531         (main): Call check_ulp before starting tests.
15533 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15535         * math/gen-libm-test.pl (generate_testfile): Do not handle
15536         START_DATA and END_DATA.
15537         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15538         END_DATA.
15539         (acos_tonearest_test_data): Likewise.
15540         (acos_towardzero_test_data): Likewise.
15541         (acos_downward_test_data): Likewise.
15542         (acos_upward_test_data): Likewise.
15543         (acosh_test_data): Likewise.
15544         (asin_test_data): Likewise.
15545         (asin_tonearest_test_data): Likewise.
15546         (asin_towardzero_test_data): Likewise.
15547         (asin_downward_test_data): Likewise.
15548         (asin_upward_test_data): Likewise.
15549         (asinh_test_data): Likewise.
15550         (atan_test_data): Likewise.
15551         (atanh_test_data): Likewise.
15552         (atan2_test_data): Likewise.
15553         (cabs_test_data): Likewise.
15554         (cacos_test_data): Likewise.
15555         (cacosh_test_data): Likewise.
15556         (carg_test_data): Likewise.
15557         (casin_test_data): Likewise.
15558         (casinh_test_data): Likewise.
15559         (catan_test_data): Likewise.
15560         (catanh_test_data): Likewise.
15561         (cbrt_test_data): Likewise.
15562         (ccos_test_data): Likewise.
15563         (ccosh_test_data): Likewise.
15564         (ceil_test_data): Likewise.
15565         (cexp_test_data): Likewise.
15566         (cimag_test_data): Likewise.
15567         (clog_test_data): Likewise.
15568         (clog10_test_data): Likewise.
15569         (conj_test_data): Likewise.
15570         (copysign_test_data): Likewise.
15571         (cos_test_data): Likewise.
15572         (cos_tonearest_test_data): Likewise.
15573         (cos_towardzero_test_data): Likewise.
15574         (cos_downward_test_data): Likewise.
15575         (cos_upward_test_data): Likewise.
15576         (cosh_test_data): Likewise.
15577         (cosh_tonearest_test_data): Likewise.
15578         (cosh_towardzero_test_data): Likewise.
15579         (cosh_downward_test_data): Likewise.
15580         (cosh_upward_test_data): Likewise.
15581         (cpow_test_data): Likewise.
15582         (cproj_test_data): Likewise.
15583         (creal_test_data): Likewise.
15584         (csin_test_data): Likewise.
15585         (csinh_test_data): Likewise.
15586         (csqrt_test_data): Likewise.
15587         (ctan_test_data): Likewise.
15588         (ctan_tonearest_test_data): Likewise.
15589         (ctan_towardzero_test_data): Likewise.
15590         (ctan_downward_test_data): Likewise.
15591         (ctan_upward_test_data): Likewise.
15592         (ctanh_test_data): Likewise.
15593         (ctanh_tonearest_test_data): Likewise.
15594         (ctanh_towardzero_test_data): Likewise.
15595         (ctanh_downward_test_data): Likewise.
15596         (ctanh_upward_test_data): Likewise.
15597         (erf_test_data): Likewise.
15598         (erfc_test_data): Likewise.
15599         (exp_test_data): Likewise.
15600         (exp_tonearest_test_data): Likewise.
15601         (exp_towardzero_test_data): Likewise.
15602         (exp_downward_test_data): Likewise.
15603         (exp_upward_test_data): Likewise.
15604         (exp10_test_data): Likewise.
15605         (exp2_test_data): Likewise.
15606         (expm1_test_data): Likewise.
15607         (fabs_test_data): Likewise.
15608         (fdim_test_data): Likewise.
15609         (finite_test_data): Likewise.
15610         (floor_test_data): Likewise.
15611         (fma_test_data): Likewise.
15612         (fma_towardzero_test_data): Likewise.
15613         (fma_downward_test_data): Likewise.
15614         (fma_upward_test_data): Likewise.
15615         (fmax_test_data): Likewise.
15616         (fmin_test_data): Likewise.
15617         (fmod_test_data): Likewise.
15618         (fpclassify_test_data): Likewise.
15619         (frexp_test_data): Likewise.
15620         (gamma_test_data): Likewise.
15621         (hypot_test_data): Likewise.
15622         (ilogb_test_data): Likewise.
15623         (isfinite_test_data): Likewise.
15624         (isgreater_test_data): Likewise.
15625         (isgreaterequal_test_data): Likewise.
15626         (isinf_test_data): Likewise.
15627         (isless_test_data): Likewise.
15628         (islessequal_test_data): Likewise.
15629         (islessgreater_test_data): Likewise.
15630         (isnan_test_data): Likewise.
15631         (isnormal_test_data): Likewise.
15632         (issignaling_test_data): Likewise.
15633         (isunordered_test_data): Likewise.
15634         (j0_test_data): Likewise.
15635         (j1_test_data): Likewise.
15636         (jn_test_data): Likewise.
15637         (ldexp_test_data): Likewise.
15638         (lgamma_test_data): Likewise.
15639         (lrint_test_data): Likewise.
15640         (lrint_tonearest_test_data): Likewise.
15641         (lrint_towardzero_test_data): Likewise.
15642         (lrint_downward_test_data): Likewise.
15643         (lrint_upward_test_data): Likewise.
15644         (llrint_test_data): Likewise.
15645         (llrint_tonearest_test_data): Likewise.
15646         (llrint_towardzero_test_data): Likewise.
15647         (llrint_downward_test_data): Likewise.
15648         (llrint_upward_test_data): Likewise.
15649         (log_test_data): Likewise.
15650         (log10_test_data): Likewise.
15651         (log1p_test_data): Likewise.
15652         (log2_test_data): Likewise.
15653         (logb_test_data): Likewise.
15654         (logb_downward_test_data): Likewise.
15655         (lround_test_data): Likewise.
15656         (llround_test_data): Likewise.
15657         (modf_test_data): Likewise.
15658         (nearbyint_test_data): Likewise.
15659         (nextafter_test_data): Likewise.
15660         (nexttoward_test_data): Likewise.
15661         (pow_test_data): Likewise.
15662         (pow_tonearest_test_data): Likewise.
15663         (pow_towardzero_test_data): Likewise.
15664         (pow_downward_test_data): Likewise.
15665         (pow_upward_test_data): Likewise.
15666         (remainder_test_data): Likewise.
15667         (remainder_tonearest_test_data): Likewise.
15668         (remainder_towardzero_test_data): Likewise.
15669         (remainder_downward_test_data): Likewise.
15670         (remainder_upward_test_data): Likewise.
15671         (remquo_test_data): Likewise.
15672         (rint_test_data): Likewise.
15673         (rint_tonearest_test_data): Likewise.
15674         (rint_towardzero_test_data): Likewise.
15675         (rint_downward_test_data): Likewise.
15676         (rint_upward_test_data): Likewise.
15677         (round_test_data): Likewise.
15678         (scalb_test_data): Likewise.
15679         (scalbn_test_data): Likewise.
15680         (scalbln_test_data): Likewise.
15681         (signbit_test_data): Likewise.
15682         (sin_test_data): Likewise.
15683         (sin_tonearest_test_data): Likewise.
15684         (sin_towardzero_test_data): Likewise.
15685         (sin_downward_test_data): Likewise.
15686         (sin_upward_test_data): Likewise.
15687         (sincos_test_data): Likewise.
15688         (sinh_test_data): Likewise.
15689         (sinh_tonearest_test_data): Likewise.
15690         (sinh_towardzero_test_data): Likewise.
15691         (sinh_downward_test_data): Likewise.
15692         (sinh_upward_test_data): Likewise.
15693         (sqrt_test_data): Likewise.
15694         (tan_test_data): Likewise.
15695         (tan_tonearest_test_data): Likewise.
15696         (tan_towardzero_test_data): Likewise.
15697         (tan_downward_test_data): Likewise.
15698         (tan_upward_test_data): Likewise.
15699         (tanh_test_data): Likewise.
15700         (tgamma_test_data): Likewise.
15701         (trunc_test_data): Likewise.
15702         (y0_test_data): Likewise.
15703         (y1_test_data): Likewise.
15704         (yn_test_data): Likewise.
15705         (significand_test_data): Likewise.
15707         * math/gen-libm-test.pl (@functions): Remove variable.
15708         (generate_testfile): Don't handle START and END lines.
15709         * math/libm-test.inc (START): New macro.
15710         (END): Likewise.
15711         (END_COMPLEX): Likewise.
15712         (acos_test): Use END macro without arguments.
15713         (acos_test_tonearest): Likewise.
15714         (acos_test_towardzero): Likewise.
15715         (acos_test_downward): Likewise.
15716         (acos_test_upward): Likewise.
15717         (acosh_test): Likewise.
15718         (asin_test): Likewise.
15719         (asin_test_tonearest): Likewise.
15720         (asin_test_towardzero): Likewise.
15721         (asin_test_downward): Likewise.
15722         (asin_test_upward): Likewise.
15723         (asinh_test): Likewise.
15724         (atan_test): Likewise.
15725         (atanh_test): Likewise.
15726         (atan2_test): Likewise.
15727         (cabs_test): Likewise.
15728         (cacos_test): Use END_COMPLEX macro without arguments.
15729         (cacosh_test): Likewise.
15730         (carg_test): Use END macro without arguments.
15731         (casin_test): Use END_COMPLEX macro without arguments.
15732         (casinh_test): Likewise.
15733         (catan_test): Likewise.
15734         (catanh_test): Likewise.
15735         (cbrt_test): Use END macro without arguments.
15736         (ccos_test): Use END_COMPLEX macro without arguments.
15737         (ccosh_test): Likewise.
15738         (ceil_test): Use END macro without arguments.
15739         (cexp_test): Use END_COMPLEX macro without arguments.
15740         (cimag_test): Use END macro without arguments.
15741         (clog_test): Use END_COMPLEX macro without arguments.
15742         (clog10_test): Likewise.
15743         (conj_test): Likewise.
15744         (copysign_test): Use END macro without arguments.
15745         (cos_test): Likewise.
15746         (cos_test_tonearest): Likewise.
15747         (cos_test_towardzero): Likewise.
15748         (cos_test_downward): Likewise.
15749         (cos_test_upward): Likewise.
15750         (cosh_test): Likewise.
15751         (cosh_test_tonearest): Likewise.
15752         (cosh_test_towardzero): Likewise.
15753         (cosh_test_downward): Likewise.
15754         (cosh_test_upward): Likewise.
15755         (cpow_test): Use END_COMPLEX macro without arguments.
15756         (cproj_test): Likewise.
15757         (creal_test): Use END macro without arguments.
15758         (csin_test): Use END_COMPLEX macro without arguments.
15759         (csinh_test): Likewise.
15760         (csqrt_test): Likewise.
15761         (ctan_test): Likewise.
15762         (ctan_test_tonearest): Likewise.
15763         (ctan_test_towardzero): Likewise.
15764         (ctan_test_downward): Likewise.
15765         (ctan_test_upward): Likewise.
15766         (ctanh_test): Likewise.
15767         (ctanh_test_tonearest): Likewise.
15768         (ctanh_test_towardzero): Likewise.
15769         (ctanh_test_downward): Likewise.
15770         (ctanh_test_upward): Likewise.
15771         (erf_test): Use END macro without arguments.
15772         (erfc_test): Likewise.
15773         (exp_test): Likewise.
15774         (exp_test_tonearest): Likewise.
15775         (exp_test_towardzero): Likewise.
15776         (exp_test_downward): Likewise.
15777         (exp_test_upward): Likewise.
15778         (exp10_test): Likewise.
15779         (exp2_test): Likewise.
15780         (expm1_test): Likewise.
15781         (fabs_test): Likewise.
15782         (fdim_test): Likewise.
15783         (finite_test): Likewise.
15784         (floor_test): Likewise.
15785         (fma_test): Likewise.
15786         (fma_test_towardzero): Likewise.
15787         (fma_test_downward): Likewise.
15788         (fma_test_upward): Likewise.
15789         (fmax_test): Likewise.
15790         (fmin_test): Likewise.
15791         (fmod_test): Likewise.
15792         (fpclassify_test): Likewise.
15793         (frexp_test): Likewise.
15794         (gamma_test): Likewise.
15795         (hypot_test): Likewise.
15796         (ilogb_test): Likewise.
15797         (isfinite_test): Likewise.
15798         (isgreater_test): Likewise.
15799         (isgreaterequal_test): Likewise.
15800         (isinf_test): Likewise.
15801         (isless_test): Likewise.
15802         (islessequal_test): Likewise.
15803         (islessgreater_test): Likewise.
15804         (isnan_test): Likewise.
15805         (isnormal_test): Likewise.
15806         (issignaling_test): Likewise.
15807         (isunordered_test): Likewise.
15808         (j0_test): Likewise.
15809         (j1_test): Likewise.
15810         (jn_test): Likewise.
15811         (ldexp_test): Likewise.
15812         (lgamma_test): Likewise.
15813         (lrint_test): Likewise.
15814         (lrint_test_tonearest): Likewise.
15815         (lrint_test_towardzero): Likewise.
15816         (lrint_test_downward): Likewise.
15817         (lrint_test_upward): Likewise.
15818         (llrint_test): Likewise.
15819         (llrint_test_tonearest): Likewise.
15820         (llrint_test_towardzero): Likewise.
15821         (llrint_test_downward): Likewise.
15822         (llrint_test_upward): Likewise.
15823         (log_test): Likewise.
15824         (log10_test): Likewise.
15825         (log1p_test): Likewise.
15826         (log2_test): Likewise.
15827         (logb_test): Likewise.
15828         (logb_test_downward): Likewise.
15829         (lround_test): Likewise.
15830         (llround_test): Likewise.
15831         (modf_test): Likewise.
15832         (nearbyint_test): Likewise.
15833         (nextafter_test): Likewise.
15834         (nexttoward_test): Likewise.
15835         (pow_test): Likewise.
15836         (pow_test_tonearest): Likewise.
15837         (pow_test_towardzero): Likewise.
15838         (pow_test_downward): Likewise.
15839         (pow_test_upward): Likewise.
15840         (remainder_test): Likewise.
15841         (remainder_test_tonearest): Likewise.
15842         (remainder_test_towardzero): Likewise.
15843         (remainder_test_downward): Likewise.
15844         (remainder_test_upward): Likewise.
15845         (remquo_test): Likewise.
15846         (rint_test): Likewise.
15847         (rint_test_tonearest): Likewise.
15848         (rint_test_towardzero): Likewise.
15849         (rint_test_downward): Likewise.
15850         (rint_test_upward): Likewise.
15851         (round_test): Likewise.
15852         (scalb_test): Likewise.
15853         (scalbn_test): Likewise.
15854         (scalbln_test): Likewise.
15855         (signbit_test): Likewise.
15856         (sin_test): Likewise.
15857         (sin_test_tonearest): Likewise.
15858         (sin_test_towardzero): Likewise.
15859         (sin_test_downward): Likewise.
15860         (sin_test_upward): Likewise.
15861         (sincos_test): Likewise.
15862         (sinh_test): Likewise.
15863         (sinh_test_tonearest): Likewise.
15864         (sinh_test_towardzero): Likewise.
15865         (sinh_test_downward): Likewise.
15866         (sinh_test_upward): Likewise.
15867         (sqrt_test): Likewise.
15868         (tan_test): Likewise.
15869         (tan_test_tonearest): Likewise.
15870         (tan_test_towardzero): Likewise.
15871         (tan_test_downward): Likewise.
15872         (tan_test_upward): Likewise.
15873         (tanh_test): Likewise.
15874         (tgamma_test): Likewise.
15875         (trunc_test): Likewise.
15876         (y0_test): Likewise.
15877         (y1_test): Likewise.
15878         (yn_test): Likewise.
15879         (significand_test): Likewise.
15881 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15883         [BZ #15381]
15884         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15886 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15888         [BZ #14894]
15889         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15890         __ppc_mdoio and __ppc_mdoom.
15891         * manual/platform.texi: Document new functions __ppc_yield,
15892         __ppc_mdoio and __ppc_mdoom.
15894 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15896         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15897         (main): Mention "tls" pseudo-hwcap is legacy.
15898         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15900 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15902         * math/gen-libm-test.pl (parse_args): Output only string of
15903         arguments as text for test name, not full call or descriptions of
15904         tests for extra outputs.
15905         (generate_testfile): Do not pass function name to parse_args.
15906         Generate this_func variable from START.
15907         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15908         field to arg_str.
15909         (struct test_ff_f_data): Likewise.
15910         (test_ff_f_data_nexttoward): Likewise.
15911         (struct test_fi_f_data): Likewise.
15912         (struct test_fl_f_data): Likewise.
15913         (struct test_if_f_data): Likewise.
15914         (struct test_fff_f_data): Likewise.
15915         (struct test_c_f_data): Likewise.
15916         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15917         (struct test_fF_f1_data): Likewise.
15918         (struct test_ffI_f1_data): Likewise.
15919         (struct test_c_c_data): Rename test_name field to arg_str.
15920         (struct test_cc_c_data): Likewise.
15921         (struct test_f_i_data): Likewise.
15922         (struct test_ff_i_data): Likewise.
15923         (struct test_f_l_data): Likewise.
15924         (struct test_f_L_data): Likewise.
15925         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15926         and extra2_name.
15927         (COMMON_TEST_SETUP): New macro.
15928         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15929         (COMMON_TEST_CLEANUP): Likewise.
15930         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15931         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15932         macros.
15933         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15934         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15935         macros.
15936         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15937         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15938         cleanup macros.
15939         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15940         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15941         macros.
15942         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15943         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15944         macros.
15945         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15946         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15947         cleanup macros.
15948         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15949         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15950         cleanup macros.
15951         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15952         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15953         cleanup macros.
15954         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15955         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15956         macros.
15957         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15958         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15959         macros.
15960         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15961         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15962         macros.
15963         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15964         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15965         cleanup macros.
15966         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15967         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15968         cleanup macros.
15969         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15970         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15971         macros.
15972         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15973         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15974         cleanup macros.
15975         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15976         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15977         macros.
15978         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15979         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15980         macros.
15981         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15982         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15983         cleanup macros.
15984         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15986 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15988         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15989         to _sifields.sigfault.
15990         (si_addr_lsb): Define new macro.
15991         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15993         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15995 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15997         [BZ #15441]
15998         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15999         returns -1.
16000         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16001         null return -1.
16002         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16003         loading the domain.
16005 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16007         * math/gen-libm-test.pl (parse_args): Do not include expected
16008         result in test name.
16009         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16010         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16011         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16012         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16013         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16016 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16018         * benchtests/Makefile: Sort function entries.
16020         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16021         tanh, asinh, acosh, atanh.
16022         * benchtests/acos-inputs: New file.
16023         * benchtests/acosh-inputs: New file.
16024         * benchtests/asin-inputs: New file.
16025         * benchtests/asinh-inputs: New file.
16026         * benchtests/atanh-inputs: New file.
16027         * benchtests/cosh-inputs: New file.
16028         * benchtests/log-inputs: New file.
16029         * benchtests/sinh-inputs: New file.
16030         * benchtests/tanh-inputs: New file.
16032 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16034         [BZ #15339]
16035         * posix/tst-getaddrinfo4.c: New test.
16036         * posix/Makefile (tests): Add it.
16038 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16040         [BZ #15339]
16041         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16042         when no services were used.
16043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16044         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16046 2013-05-21  Andreas Schwab  <schwab@suse.de>
16048         [BZ #15014]
16049         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16050         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16051         successful.
16052         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16053         redundant variable declarations and reallocation of buffer when
16054         parsing as IPv6 address.  Always set NSS status when called from
16055         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16056         buffer too small.  Correct computation of needed size.
16057         * nss/Makefile (tests): Add test-digits-dots.
16058         * nss/test-digits-dots.c: New test.
16060 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16062         * benchtests/Makefile: Remove instructions for adding
16063         benchmark tests.
16064         * benchtests/README: New file to explain how to execute and
16065         enhance the benchmark tests.
16067 2013-05-21  Andreas Schwab  <schwab@suse.de>
16069         [BZ #15493]
16070         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16071         * setjmp/tst-sigsetjmp.c: New test.
16073 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16075         * sysdeps/x86_64/memset.S (memset): New implementation.
16076         (__bzero): Likewise.
16077         (__memset_tail): New function.
16079 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16081         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16082         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16083         __memcpy_sse2_unaligned ifunc selection.
16084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16085         Add memcpy-sse2-unaligned.S.
16086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16087         Add: __memcpy_sse2_unaligned.
16089 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16091         [BZ #15490]
16092         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16093         math_force_eval before restoring floating-point envrionment.
16094         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16095         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16096         Likewise.
16097         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16098         <math_private.h>.
16099         (__nearbyintl): Use math_force_eval before restoring
16100         floating-point environment.
16101         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16103         * math/gen-libm-test.pl (special_functions): Remove.
16104         (parse_args): Don't handle TEST_extra.  Handle functions with no
16105         return value.
16106         * math/libm-test.inc (struct test_sincos_data): Replace with
16107         struct test_fFF_11_data.
16108         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16109         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16110         (sincos_test_data): Change element type to struct
16111         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16112         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16113         RUN_TEST_LOOP_sincos.
16114         * math/README.libm-test: Don't mention special handling of
16115         individual functions.
16116         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16118         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16119         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16123         * math/gen-libm-test.pl (get_variable): Remove function.
16124         (parse_args): Don't show pointer parameters to call in test
16125         names.  Use "extra output N" in test names for extra outputs
16126         rather than naming variables.
16128 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16130         [BZ #15488]
16131         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16132         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16133         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16134         double tests.
16135         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16136         disable.
16137         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16138         check_long_double.
16140         * math/gen-libm-test.pl (@tests): Remove variable.
16141         ($count): Likewise.
16142         (new_test): Remove function.
16143         (show_exceptions): New function.
16144         (special_functions): Use show_exceptions instead of new_test.
16145         (parse_args): Likewise.
16146         (generate_testfile): Pass only function name in generated call to
16147         print_max_error or print_complex_max_error.
16148         (get_ulps): Do not handle complex tests specially.
16149         (output_test): Rename to ...
16150         (get_all_ulps_for_test): ... this.  Return a string rather than
16151         printing to a file.  Require ulps to be present.
16152         (output_ulps): Generate arrays rather than #defines.
16153         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16154         (struct ulp_data): New type.
16155         (BUILD_COMPLEX_ULP): Remove macro.
16156         (compare_ulp_data): New function.
16157         (find_ulps): Likewise.
16158         (find_test_ulps): Likewise.
16159         (find_function_ulps): Likewise.
16160         (find_complex_function_ulps): Likewise.
16161         (print_max_error): Determine allowed ulps using
16162         find_function_ulps.
16163         (print_complex_max_error): Determine allowed ulps using
16164         find_complex_function_ulps.
16165         (check_float_internal): Determine max ulps using find_test_ulps.
16166         (check_float): Do not take max_ulp parameter.  Update call to
16167         check_float_internal.
16168         (check_complex): Likewise.
16169         (check_int): Do not take max_ulp parameter.
16170         (check_long): Likewise.
16171         (check_bool): Likewise.
16172         (check_longlong): Likewise.
16173         (struct test_f_f_data): Remove max_ulp field.
16174         (struct test_ff_f_data): Likewise.
16175         (struct test_ff_f_data_nexttoward): Likewise.
16176         (struct test_fi_f_data): Likewise.
16177         (struct test_fl_f_data): Likewise.
16178         (struct test_if_f_data): Likewise.
16179         (struct test_fff_f_data): Likewise.
16180         (struct test_c_f_data): Likewise.
16181         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16182         (struct test_fF_f1_data): Likewise.
16183         (struct test_ffI_f1_data): Likewise.
16184         (struct test_c_c_data): Remove max_ulp field.
16185         (struct test_cc_c_data): Likewise.
16186         (struct test_f_i_data): Likewise.
16187         (struct test_ff_i_data): Likewise.
16188         (struct test_f_l_data): Likewise.
16189         (struct test_f_L_data): Likewise.
16190         (struct test_sincos_data): Likewise.
16191         (RUN_TEST_f_f): Do not handle ulps.
16192         (RUN_TEST_LOOP_f_f): Likewise.
16193         (RUN_TEST_2_f): Likewise.
16194         (RUN_TEST_LOOP_2_f): Likewise.
16195         (RUN_TEST_fff_f): Likewise.
16196         (RUN_TEST_LOOP_fff_f): Likewise.
16197         (RUN_TEST_c_f): Likewise.
16198         (RUN_TEST_LOOP_c_f): Likewise.
16199         (RUN_TEST_f_f1): Likewise.
16200         (RUN_TEST_LOOP_f_f1): Likewise.
16201         (RUN_TEST_fF_f1): Likewise.
16202         (RUN_TEST_LOOP_fF_f1): Likewise.
16203         (RUN_TEST_fI_f1): Likewise.
16204         (RUN_TEST_LOOP_fI_f1): Likewise.
16205         (RUN_TEST_ffI_f1): Likewise.
16206         (RUN_TEST_LOOP_ffI_f1): Likewise.
16207         (RUN_TEST_c_c): Likewise.
16208         (RUN_TEST_LOOP_c_c): Likewise.
16209         (RUN_TEST_cc_c): Likewise.
16210         (RUN_TEST_LOOP_cc_c): Likewise.
16211         (RUN_TEST_f_i): Likewise.
16212         (RUN_TEST_LOOP_f_i): Likewise.
16213         (RUN_TEST_f_i_tg): Likewise.
16214         (RUN_TEST_LOOP_f_i_tg): Likewise.
16215         (RUN_TEST_ff_i_tg): Likewise.
16216         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16217         (RUN_TEST_f_b): Likewise.
16218         (RUN_TEST_LOOP_f_b): Likewise.
16219         (RUN_TEST_f_b_tg): Likewise.
16220         (RUN_TEST_LOOP_f_b_tg): Likewise.
16221         (RUN_TEST_f_l): Likewise.
16222         (RUN_TEST_LOOP_f_l): Likewise.
16223         (RUN_TEST_f_L): Likewise.
16224         (RUN_TEST_LOOP_f_L): Likewise.
16225         (RUN_TEST_sincos): Likewise.
16226         (RUN_TEST_LOOP_sincos): Likewise.
16228 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16230         [BZ #15480]
16231         [BZ #15485]
16232         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16233         main case of finite arguments, set rounding mode to FE_TONEAREST
16234         and discard exceptions.
16235         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16236         exceptions.
16237         (remainder_tonearest_test_data): New variable.
16238         (remainder_test_tonearest): New function.
16239         (remainder_towardzero_test_data): New variable.
16240         (remainder_test_towardzero): New function.
16241         (remainder_downward_test_data): New variable.
16242         (remainder_test_downward): New function.
16243         (remainder_upward_test_data): New variable.
16244         (remainder_test_upward): New function.
16245         (main): Call the new test functions.
16247         * math/libm-test.inc (struct test_f_f1_data): Remove field
16248         extra_init.
16249         (struct test_fF_f1_data): Likewise.
16250         (struct test_ffI_f1_data): Likewise.
16251         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16252         based on value of EXTRA_EXPECTED.
16253         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16254         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16255         EXTRA_VAR based on value of EXTRA_EXPECTED.
16256         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16257         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16258         EXTRA_VAR based on value of EXTRA_EXPECTED.
16259         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16260         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16261         EXTRA_VAR based on value of EXTRA_EXPECTED.
16262         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16263         * math/gen-libm-test.pl (parse_args): Don't output initializers
16264         for extra output values.
16266         * math/libm-test.inc (check_int): Expect result to be exactly
16267         equal to expected value and do not handle ulps.
16268         (check_long): Likewise.
16269         (check_longlong): Likewise.
16271         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16272         exceptions.
16273         (cimag_test_data): Likewise.
16274         (conj_test_data): Likewise.
16275         (copysign_test_data): Likewise.
16276         (cproj_test_data): Likewise.
16277         (creal_test_data): Likewise.
16278         (fabs_test_data): Likewise.
16279         (fdim_test_data): Likewise.
16280         (finite_test_data): Likewise.
16281         (floor_test_data): Likewise.
16282         (fmax_test_data): Likewise.
16283         (fmin_test_data): Likewise.
16284         (fmod_test_data): Likewise.
16285         (fpclassify_test_data): Likewise.
16286         (frexp_test_data): Likewise.
16287         (ilogb_test_data): Likewise.
16288         (isfinite_test_data): Likewise.
16289         (isgreater_test_data): Likewise.
16290         (isgreaterequal_test_data): Likewise.
16291         (isinf_test_data): Likewise.
16292         (isless_test_data): Likewise.
16293         (islessequal_test_data): Likewise.
16294         (islessgreater_test_data): Likewise.
16295         (isnan_test_data): Likewise.
16296         (isnormal_test_data): Likewise.
16297         (issignaling_test_data): Likewise.
16298         (isunordered_test_data): Likewise.
16299         (ldexp_test_data): Likewise.
16300         (lrint_test_data): Likewise.
16301         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16302         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16303         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16304         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16305         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16306         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16307         test input.
16308         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16309         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16310         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16311         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16312         that test input.
16313         (lrint_downward_test_data): Test for "inexact" exceptions.
16314         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16315         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16316         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16317         test input.
16318         (lrint_upward_test_data): Test for "inexact" exceptions.
16319         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16320         test input.
16321         (llrint_test_data): Test for "inexact" exceptions.
16322         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16323         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16324         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16325         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16326         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16327         (llrint_downward_test_data): Test for "inexact" exceptions.
16328         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16329         (llrint_upward_test_data): Test for "inexact" exceptions.
16330         (logb_test_data): Likewise.
16331         (logb_downward_test_data): Likewise.
16332         (nextafter_test_data): Likewise.
16333         (nexttoward_test_data): Likewise.
16334         (remainder_test_data): Likewise.
16335         (remquo_test_data): Likewise.
16336         (scalbn_test_data): Likewise.
16337         (scalbln_test_data): Likewise.
16338         (signbit_test_data): Likewise.
16339         (sqrt_test_data): Likewise.
16340         (significand_test_data): Likewise.
16342 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16344         [BZ #15424]
16345         * benchtests/bench-modf.c (struct args): Mark arg0 as
16346         volatile.
16347         * scripts/bench.pl: Mark members of struct args as volatile.
16349 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16351         [BZ # 15497]
16352         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16353         negative infinity on POWER6 or lower.
16354         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16356 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16358         [BZ #15442]
16359         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16360         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16361         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16362         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16363         (_FP_SETQNAN): New macro.
16364         (_FP_SETQNAN_SEMIRAW): Likewise.
16365         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16366         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16367         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16368         (FP_EXTEND): Use _FP_FRAC_SNANP.
16369         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16370         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16371         into account.
16372         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16373         New macro.
16374         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16375         Likewise.
16377 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16379         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16380         with DIVIDE_BY_ZERO_EXCEPTION.
16381         (gamma_test_data): Likewise.
16382         (lgamma_test_data): Likewise.
16383         (log_test_data): Likewise.
16384         (log10_test_data): Likewise.
16385         (log2_test_data): Likewise.
16386         (tgamma_test_data): Likewise.
16388         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16389         (acos_test_tonearest): Likewise.
16390         (acos_test_towardzero): Likewise.
16391         (acos_test_downward): Likewise.
16392         (acos_test_upward): Likewise.
16393         (acosh_test): Likewise.
16394         (asin_test): Likewise.
16395         (asin_test_tonearest): Likewise.
16396         (asin_test_towardzero): Likewise.
16397         (asin_test_downward): Likewise.
16398         (asin_test_upward): Likewise.
16399         (asinh_test): Likewise.
16400         (atan_test): Likewise.
16401         (atanh_test): Likewise.
16402         (atan2_test): Likewise.
16403         (cabs_test): Likewise.
16404         (cacos_test): Likewise.
16405         (cacosh_test): Likewise.
16406         (casin_test): Likewise.
16407         (casinh_test): Likewise.
16408         (catan_test): Likewise.
16409         (catanh_test): Likewise.
16410         (cbrt_test): Likewise.
16411         (ccos_test): Likewise.
16412         (ccosh_test): Likewise.
16413         (cexp_test): Likewise.
16414         (clog_test): Likewise.
16415         (clog10_test): Likewise.
16416         (cos_test): Likewise.
16417         (cos_test_tonearest): Likewise.
16418         (cos_test_towardzero): Likewise.
16419         (cos_test_downward): Likewise.
16420         (cos_test_upward): Likewise.
16421         (cosh_test): Likewise.
16422         (cosh_test_tonearest): Likewise.
16423         (cosh_test_towardzero): Likewise.
16424         (cosh_test_downward): Likewise.
16425         (cosh_test_upward): Likewise.
16426         (cpow_test): Likewise.
16427         (csin_test): Likewise.
16428         (csinh_test): Likewise.
16429         (csqrt_test): Likewise.
16430         (ctan_test): Likewise.
16431         (ctan_test_tonearest): Likewise.
16432         (ctan_test_towardzero): Likewise.
16433         (ctan_test_downward): Likewise.
16434         (ctan_test_upward): Likewise.
16435         (ctanh_test): Likewise.
16436         (ctanh_test_tonearest): Likewise.
16437         (ctanh_test_towardzero): Likewise.
16438         (ctanh_test_downward): Likewise.
16439         (ctanh_test_upward): Likewise.
16440         (erf_test): Likewise.
16441         (erfc_test): Likewise.
16442         (exp_test): Likewise.
16443         (exp_test_tonearest): Likewise.
16444         (exp_test_towardzero): Likewise.
16445         (exp_test_downward): Likewise.
16446         (exp_test_upward): Likewise.
16447         (exp10_test): Likewise.
16448         (exp2_test): Likewise.
16449         (expm1_test): Likewise.
16450         (fmod_test): Likewise.
16451         (gamma_test): Likewise.
16452         (hypot_test): Likewise.
16453         (j0_test): Likewise.
16454         (j1_test): Likewise.
16455         (jn_test): Likewise.
16456         (lgamma_test): Likewise.
16457         (log_test): Likewise.
16458         (log10_test): Likewise.
16459         (log1p_test): Likewise.
16460         (log2_test): Likewise.
16461         (logb_test_downward): Likewise.
16462         (pow_test): Likewise.
16463         (pow_test_tonearest): Likewise.
16464         (pow_test_towardzero): Likewise.
16465         (pow_test_downward): Likewise.
16466         (pow_test_upward): Likewise.
16467         (remainder_test): Likewise.
16468         (remquo_test): Likewise.
16469         (sin_test): Likewise.
16470         (sin_test_tonearest): Likewise.
16471         (sin_test_towardzero): Likewise.
16472         (sin_test_downward): Likewise.
16473         (sin_test_upward): Likewise.
16474         (sincos_test): Likewise.
16475         (sinh_test): Likewise.
16476         (sinh_test_tonearest): Likewise.
16477         (sinh_test_towardzero): Likewise.
16478         (sinh_test_downward): Likewise.
16479         (sinh_test_upward): Likewise.
16480         (sqrt_test): Likewise.
16481         (tan_test): Likewise.
16482         (tan_test_tonearest): Likewise.
16483         (tan_test_towardzero): Likewise.
16484         (tan_test_downward): Likewise.
16485         (tan_test_upward): Likewise.
16486         (tanh_test): Likewise.
16487         (tgamma_test): Likewise.
16488         (y0_test): Likewise.
16489         (y1_test): Likewise.
16490         (yn_test): Likewise.
16492         * math/gen-libm-test.pl (adjust_arg): Remove function.
16493         (special_function): Remove argument $in_func.  Only handle
16494         generating output for tables of tests, not inside functions.
16495         (parse_args): Likewise.
16496         (generate_testfile): Remove variable $in_func.  Update call to
16497         parse_args.
16498         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16499         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16500         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16501         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16502         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16503         (MAX_VALUE_INIT): Rename macro to max_value.
16504         (MIN_VALUE_INIT): Rename macro to min_value.
16505         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16506         (plus_zero): Remove variable.
16507         (minus_zero): Likewise.
16508         (plus_infty): Likewise.
16509         (minus_infty): Likewise.
16510         (qnan_value): Likewise.
16511         (max_value): Likewise.
16512         (min_value): Likewise.
16513         (min_subnorm_value): Likewise.
16515 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16517         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16518         uint64_t or uint32_t usage.
16519         * crypt/sha256-block.c: Likewise.
16520         * crypt/sha256-crypt.c: Likewise.
16521         * crypt/sha256.c: Likewise.
16522         * crypt/sha512-block.c: Likewise.
16523         * crypt/sha512-crypt.c: Likewise.
16524         * crypt/sha512.c: Likewise.
16525         * debug/backtrace-tst.c: Likewise.
16526         * debug/pcprofiledump.c: Likewise.
16527         * elf/cache.c: Likewise.
16528         * elf/dl-cache.c: Likewise.
16529         * elf/dl-misc.c: Likewise.
16530         * elf/dl-profile.c: Likewise.
16531         * elf/dl-support.c: Likewise.
16532         * elf/ldconfig.c: Likewise.
16533         * elf/sprof.c: Likewise.
16534         * iconv/dummy-repertoire.c: Likewise.
16535         * iconv/iconv_charmap.c: Likewise.
16536         * iconv/skeleton.c: Likewise.
16537         * iconvdata/8bit-generic.c: Likewise.
16538         * iconvdata/cp737.h: Likewise.
16539         * iconvdata/cp775.h: Likewise.
16540         * iconvdata/ibm1008.h: Likewise.
16541         * iconvdata/ibm1025.h: Likewise.
16542         * iconvdata/ibm1046.h: Likewise.
16543         * iconvdata/ibm1097.h: Likewise.
16544         * iconvdata/ibm1112.h: Likewise.
16545         * iconvdata/ibm1122.h: Likewise.
16546         * iconvdata/ibm1123.h: Likewise.
16547         * iconvdata/ibm1124.h: Likewise.
16548         * iconvdata/ibm1129.h: Likewise.
16549         * iconvdata/ibm1130.h: Likewise.
16550         * iconvdata/ibm1132.h: Likewise.
16551         * iconvdata/ibm1133.h: Likewise.
16552         * iconvdata/ibm1137.h: Likewise.
16553         * iconvdata/ibm1140.h: Likewise.
16554         * iconvdata/ibm1141.h: Likewise.
16555         * iconvdata/ibm1142.h: Likewise.
16556         * iconvdata/ibm1143.h: Likewise.
16557         * iconvdata/ibm1144.h: Likewise.
16558         * iconvdata/ibm1145.h: Likewise.
16559         * iconvdata/ibm1146.h: Likewise.
16560         * iconvdata/ibm1147.h: Likewise.
16561         * iconvdata/ibm1148.h: Likewise.
16562         * iconvdata/ibm1149.h: Likewise.
16563         * iconvdata/ibm1153.h: Likewise.
16564         * iconvdata/ibm1154.h: Likewise.
16565         * iconvdata/ibm1155.h: Likewise.
16566         * iconvdata/ibm1156.h: Likewise.
16567         * iconvdata/ibm1157.h: Likewise.
16568         * iconvdata/ibm1158.h: Likewise.
16569         * iconvdata/ibm1160.h: Likewise.
16570         * iconvdata/ibm1161.h: Likewise.
16571         * iconvdata/ibm1162.h: Likewise.
16572         * iconvdata/ibm1163.h: Likewise.
16573         * iconvdata/ibm1164.h: Likewise.
16574         * iconvdata/ibm1166.h: Likewise.
16575         * iconvdata/ibm1167.h: Likewise.
16576         * iconvdata/ibm12712.h: Likewise.
16577         * iconvdata/ibm1390.h: Likewise.
16578         * iconvdata/ibm1399.h: Likewise.
16579         * iconvdata/ibm16804.h: Likewise.
16580         * iconvdata/ibm4517.h: Likewise.
16581         * iconvdata/ibm4899.h: Likewise.
16582         * iconvdata/ibm4909.h: Likewise.
16583         * iconvdata/ibm4971.h: Likewise.
16584         * iconvdata/ibm5347.h: Likewise.
16585         * iconvdata/ibm803.h: Likewise.
16586         * iconvdata/ibm856.h: Likewise.
16587         * iconvdata/ibm901.h: Likewise.
16588         * iconvdata/ibm902.h: Likewise.
16589         * iconvdata/ibm9030.h: Likewise.
16590         * iconvdata/ibm9066.h: Likewise.
16591         * iconvdata/ibm921.h: Likewise.
16592         * iconvdata/ibm922.h: Likewise.
16593         * iconvdata/ibm9448.h: Likewise.
16594         * iconvdata/isiri-3342.h: Likewise.
16595         * iconvdata/jis0201.h: Likewise.
16596         * include/link.h: Likewise.
16597         * include/netdb.h: Likewise.
16598         * inet/check_native.c: Likewise.
16599         * inet/check_pf.c: Likewise.
16600         * inet/getipv4sourcefilter.c: Likewise.
16601         * inet/getnameinfo.c: Likewise.
16602         * inet/getsourcefilter.c: Likewise.
16603         * inet/htonl.c: Likewise.
16604         * inet/setipv4sourcefilter.c: Likewise.
16605         * inet/setsourcefilter.c: Likewise.
16606         * inet/test-inet6_opt.c: Likewise.
16607         * inet/tst-network.c: Likewise.
16608         * locale/C-collate.c: Likewise.
16609         * locale/C-ctype.c: Likewise.
16610         * locale/C-time.c: Likewise.
16611         * locale/C-translit.h: Likewise.
16612         * locale/loadarchive.c: Likewise.
16613         * locale/programs/3level.h: Likewise.
16614         * locale/programs/charmap.c: Likewise.
16615         * locale/programs/charmap.h: Likewise.
16616         * locale/programs/ld-address.c: Likewise.
16617         * locale/programs/ld-collate.c: Likewise.
16618         * locale/programs/ld-ctype.c: Likewise.
16619         * locale/programs/ld-identification.c: Likewise.
16620         * locale/programs/ld-measurement.c: Likewise.
16621         * locale/programs/ld-messages.c: Likewise.
16622         * locale/programs/ld-monetary.c: Likewise.
16623         * locale/programs/ld-name.c: Likewise.
16624         * locale/programs/ld-numeric.c: Likewise.
16625         * locale/programs/ld-paper.c: Likewise.
16626         * locale/programs/ld-telephone.c: Likewise.
16627         * locale/programs/ld-time.c: Likewise.
16628         * locale/programs/linereader.c: Likewise.
16629         * locale/programs/locale.c: Likewise.
16630         * locale/programs/locarchive.c: Likewise.
16631         * locale/programs/locfile.h: Likewise.
16632         * locale/programs/repertoire.c: Likewise.
16633         * locale/programs/simple-hash.c: Likewise.
16634         * locale/programs/simple-hash.h: Likewise.
16635         * malloc/memusage.c: Likewise.
16636         * malloc/memusagestat.c: Likewise.
16637         * nis/nis_defaults.c: Likewise.
16638         * nis/nis_hash.c: Likewise.
16639         * nis/nis_print.c: Likewise.
16640         * nis/nis_xdr.c: Likewise.
16641         * nscd/connections.c: Likewise.
16642         * nscd/hstcache.c: Likewise.
16643         * nscd/nscd_gethst_r.c: Likewise.
16644         * nscd/nscd_getserv_r.c: Likewise.
16645         * nscd/nscd_helper.c: Likewise.
16646         * nscd/servicescache.c: Likewise.
16647         * nss/makedb.c: Likewise.
16648         * nss/nss_db/db-XXX.c: Likewise.
16649         * nss/nss_db/db-initgroups.c: Likewise.
16650         * nss/nss_db/db-netgrp.c: Likewise.
16651         * nss/nss_files/files-network.c: Likewise.
16652         * nss/nss_files/files-parse.c: Likewise.
16653         * posix/bug-regex5.c: Likewise.
16654         * posix/fnmatch_loop.c: Likewise.
16655         * posix/regcomp.c: Likewise.
16656         * posix/regexec.c: Likewise.
16657         * posix/tst-rfc3484-2.c: Likewise.
16658         * posix/tst-rfc3484-3.c: Likewise.
16659         * posix/tst-rfc3484.c: Likewise.
16660         * resolv/nss_dns/dns-canon.c: Likewise.
16661         * resolv/nss_dns/dns-network.c: Likewise.
16662         * resolv/res_init.c: Likewise.
16663         * resolv/res_mkquery.c: Likewise.
16664         * resolv/tst-aton.c: Likewise.
16665         * stdlib/cxa_atexit.c: Likewise.
16666         * stdlib/cxa_finalize.c: Likewise.
16667         * stdlib/gen-fpioconst.c: Likewise.
16668         * stdlib/strtol_l.c: Likewise.
16669         * string/tst-endian.c: Likewise.
16670         * sunrpc/auth_des.c: Likewise.
16671         * sunrpc/clnt_udp.c: Likewise.
16672         * sunrpc/rtime.c: Likewise.
16673         * sunrpc/svcauth_des.c: Likewise.
16674         * sunrpc/xdr.c: Likewise.
16675         * sunrpc/xdr_intXX_t.c: Likewise.
16676         * sunrpc/xdr_rec.c: Likewise.
16677         * sysdeps/generic/ldconfig.h: Likewise.
16678         * sysdeps/generic/ldsodefs.h: Likewise.
16679         * sysdeps/generic/memusage.h: Likewise.
16680         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16681         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16682         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16684         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16685         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16686         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16687         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16688         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16690         * sysdeps/posix/getaddrinfo.c: Likewise.
16691         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16692         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16693         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16694         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16695         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16696         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16697         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16698         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16699         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16700         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16701         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16702         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16703         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16704         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16705         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16706         * sysdeps/x86_64/dl-tls.h: Likewise.
16707         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16708         * time/alt_digit.c: Likewise.
16709         * time/era.c: Likewise.
16710         * wcsmbs/tst-c16c32-1.c: Likewise.
16712 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16714         * math/libm-test.inc (struct test_sincos_data): New type.
16715         (RUN_TEST_LOOP_sincos): New macro.
16716         (sincos_test_data): New variable.
16717         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16719 2013-05-16  Richard Henderson  <rth@redhat.com>
16721         * math/atest-exp2.c (LIMB64): New macro.
16722         (CONSTSZ): New macro.
16723         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16724         (hexdig): Move ...
16725         (print_mpn_fp): ... to function scope.
16726         (read_mpn_hex): Remove.
16727         (get_log2): Remove.
16728         (exp2_mpn): Use mp_log2.
16729         (main): Use mp_exp1.
16731 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16733         * math/libm-test.inc: Remove comment about not testing "inexact"
16734         exceptions.
16735         (INEXACT_EXCEPTION): New macro.
16736         (NO_INEXACT_EXCEPTION): Likewise.
16737         (INVALID_EXCEPTION_OK): Update value.
16738         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16739         (OVERFLOW_EXCEPTION_OK): Likewise.
16740         (UNDERFLOW_EXCEPTION_OK): Likewise.
16741         (IGNORE_ZERO_INF_SIGN): Likewise.
16742         (ERRNO_UNCHANGED): Likewise.
16743         (ERRNO_EDOM): Likewise.
16744         (ERRNO_ERANGE): Likewise.
16745         (test_exceptions): Handle testing "inexact" exceptions.
16746         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16747         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16748         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16749         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16750         INEXACT_EXCEPTION.
16751         (rint_towardzero_test_data): Likewise.
16752         (rint_downward_test_data): Likewise.
16753         (rint_upward_test_data): Likewise.
16755         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16756         with OVERFLOW_EXCEPTION.
16757         (exp10_test_data): Likewise.
16758         (exp2_test_data): Likewise.
16759         (expm1_test_data): Likewise.
16760         (lgamma_test_data): Likewise.
16761         (pow_test_data): Likewise.
16762         (tgamma_test_data): Likewise.
16763         (yn_test_data): Remove duplicate test of overflow.
16765         * math/libm-test.inc (struct test_cc_c_data): New type.
16766         (RUN_TEST_LOOP_cc_c): New macro.
16767         (cpow_test_data): New variable.
16768         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16770         * math/libm-test.inc (struct test_f_L_data): New type.
16771         (RUN_TEST_LOOP_f_L): New macro.
16772         (llrint_test_data): New variable.
16773         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16774         (llrint_tonearest_test_data): New variable.
16775         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16776         (llrint_towardzero_test_data): New variable.
16777         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16778         (llrint_downward_test_data): New variable.
16779         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16780         (llrint_upward_test_data): New variable.
16781         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16782         (llround_test_data): New variable.
16783         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16785 2013-05-13  Peter Collingbourne  <pcc@google.com>
16787         * math/atest-exp2.c (get_log2): Remove const attribute.
16789 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16791         * math/libm-test.inc (struct test_f_l_data): New type.
16792         (RUN_TEST_LOOP_f_l): New macro.
16793         (lrint_test_data): New variable.
16794         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16795         (lrint_tonearest_test_data): New variable.
16796         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16797         (lrint_towardzero_test_data): New variable.
16798         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16799         (lrint_downward_test_data): New variable.
16800         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16801         (lrint_upward_test_data): New variable.
16802         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16803         (lround_test_data): New variable.
16804         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16806 2013-05-15  Peter Collingbourne  <pcc@google.com>
16808         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16809         (EXTRACT_WORDS64) Use where appropriate.
16810         (INSERT_WORDS64) Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16813         constraints with x constraints.
16814         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16816         * malloc/obstack.c (_obstack_compat): Add initializer.
16818 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16820         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16821         si_trapno and add si_addr_lsb to _sifields.sigfault.
16822         (si_trapno): Remove macro.
16823         (si_addr_lsb): Define new macro.
16824         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16826 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16828         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16829         instead of TEST_f_l.
16830         (llrint_test_tonearest): Likewise.
16831         (llrint_test_towardzero): Likewise.
16832         (llrint_test_downward): Likewise.
16833         (llrint_test_upward): Likewise.
16834         (llround_test): Likewise.
16836         * math/libm-test.inc (struct test_f_i_data): Add comment.
16837         (RUN_TEST_LOOP_f_b): New macro.
16838         (RUN_TEST_LOOP_f_b_tg): Likewise.
16839         (finite_test_data): New variable.
16840         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16841         (isfinite_test_data): New variable.
16842         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16843         (isinf_test_data): New variable.
16844         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16845         (isnan_test_data): New variable.
16846         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16847         (isnormal_test_data): New variable.
16848         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16849         (issignaling_test_data): New variable.
16850         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16851         (signbit_test_data): New variable.
16852         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16854         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16855         with INVALID_EXCEPTION.
16856         (acosh_test_data): Likewise.
16857         (asin_test_data): Likewise.
16858         (atanh_test_data): Likewise.
16859         (fmod_test_data): Likewise.
16860         (log_test_data): Likewise.
16861         (log10_test_data): Likewise.
16862         (log2_test_data): Likewise.
16863         (pow_test_data): Likewise.
16864         (sqrt_test_data): Likewise.
16865         (y0_test_data): Likewise.
16866         (y1_test_data): Likewise.
16867         (yn_test_data): Likewise.
16869         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16870         function contents.
16872         * math/libm-test.inc (struct test_ff_i_data): New type.
16873         (RUN_TEST_LOOP_ff_i_tg): New macro.
16874         (isgreater_test_data): New variable.
16875         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16876         (isgreaterequal_test_data): New variable.
16877         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16878         (isless_test_data): New variable.
16879         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16880         (islessequal_test_data): New variable.
16881         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16882         (islessgreater_test_data): New variable.
16883         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16884         (isunordered_test_data): New variable.
16885         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16887 2013-05-14  David S. Miller  <davem@davemloft.net>
16889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16891 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16893         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16895         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16896         extra_test to int.
16897         (struct test_f_i_data): Change type of max_ulp to int.
16899         * math/libm-test.inc (test_ffI_f1_data): New type.
16900         (RUN_TEST_LOOP_ffI_f1): New macro.
16901         (remquo_test_data): New variable.
16902         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16904         * setjmp/tst-setjmp-fp.c: New file.
16905         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16906         (link-libm): New variable.
16907         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16909         * math/libm-test.inc (struct test_f_i_data): New type.
16910         (RUN_TEST_LOOP_f_i): New macro.
16911         (RUN_TEST_LOOP_f_i_tg): Likewise.
16912         (fpclassify_test_data): New variable.
16913         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16914         (ilogb_test_data): New variable.
16915         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16917         * math/libm-test.inc (scalbln_test): Correct function name in END
16918         call.
16920         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16921         (RUN_TEST_LOOP_fI_f1): New macro.
16922         (frexp_test_data): New variable.
16923         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16925         * math/libm-test.inc (struct test_fF_f1_data): New type.
16926         (RUN_TEST_LOOP_fF_f1): New macro.
16927         (modf_test_data): New variable.
16928         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16930         * math/libm-test.inc (struct test_f_f1_data): New type.
16931         (RUN_TEST_LOOP_f_f1): New macro.
16932         (gamma_test_data): New variable.
16933         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16934         (lgamma_test_data): New variable.
16935         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16937 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16939         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16940         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16941         (main): Comment "tls" pseudo-hwcap.
16943 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16945         * math/libm-test.inc (struct test_fl_f_data): New type.
16946         (RUN_TEST_LOOP_fl_f): New variable.
16947         (scalbln_test_data): New variable.
16948         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16950         * math/libm-test.inc (struct test_fi_f_data): New type.
16951         (RUN_TEST_LOOP_fi_f): New macro.
16952         (ldexp_test_data): New variable.
16953         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16954         (scalbn_test_data): New variable.
16955         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16957         * math/libm-test.inc (struct test_c_f_data): New type.
16958         (RUN_TEST_LOOP_c_f): New macro.
16959         (cabs_test_data): New variable.
16960         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16961         (carg_test_data): New variable.
16962         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16963         (cimag_test_data): New variable.
16964         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16965         (creal_test_data): New variable.
16966         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16968         * math/libm-test.inc (struct test_if_f_data): New type.
16969         (RUN_TEST_LOOP_if_f): New macro.
16970         (jn_test_data): New variable.
16971         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16972         (yn_test_data): New variable.
16973         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16975         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16977 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16979         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16980         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16982 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16984         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16985         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16986         (bench-deps): Add bench-timing.h.
16987         * benchtests-bench-skeleton.c: Include bench-timing.h.
16988         (main): Use TIMING_* macros instead of clock_gettime.
16989         * benchtests/bench-timing.h: New file.
16991         [BZ #14582]
16992         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16993         Renamed from _LIB_VERSION.
16994         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16996 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16998         * math/libm-test.inc (struct test_fff_f_data): New type.
16999         (RUN_TEST_LOOP_fff_f): New macro.
17000         (fma_test_data): New variable.
17001         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17002         (fma_towardzero_test_data): New variable.
17003         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17004         (fma_downward_test_data): New variable.
17005         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17006         (fma_upward_test_data): New variable.
17007         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17009         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17010         (struct test_c_c_data): New type.
17011         (RUN_TEST_LOOP_c_c): New macro.
17012         (cacos_test_data): New variable.
17013         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17014         (cacosh_test_data): New variable.
17015         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17016         (casin_test_data): New variable.
17017         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17018         (casinh_test_data): New variable.
17019         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17020         (catan_test_data): New variable.
17021         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17022         (catanh_test_data): New variable.
17023         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17024         (ccos_test_data): New variable.
17025         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17026         (ccosh_test_data): New variable.
17027         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17028         (cexp_test_data): New variable.
17029         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17030         (clog_test_data): New variable.
17031         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17032         (clog10_test_data): New variable.
17033         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17034         (conj_test_data): New variable.
17035         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17036         (cproj_test_data): New variable.
17037         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17038         (csin_test_data): New variable.
17039         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17040         (csinh_test_data): New variable.
17041         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17042         (csqrt_test_data): New variable.
17043         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17044         (ctan_test_data): New variable.
17045         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17046         (ctan_tonearest_test_data): New variable.
17047         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17048         (ctan_towardzero_test_data): New variable.
17049         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17050         (ctan_downward_test_data): New variable.
17051         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17052         (ctan_upward_test_data): New variable.
17053         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17054         (ctanh_test_data): New variable.
17055         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17056         (ctanh_tonearest_test_data): New variable.
17057         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17058         (ctanh_towardzero_test_data): New variable.
17059         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17060         (ctanh_downward_test_data): New variable.
17061         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17062         (ctanh_upward_test_data): New variable.
17063         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17064         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17065         of BUILD_COMPLEX.
17067         * math/libm-test.inc (struct test_ff_f_data): New type.
17068         (struct test_ff_f_data_nexttoward): Likewise.
17069         (RUN_TEST_LOOP_2_f): New macro.
17070         (RUN_TEST_LOOP_ff_f): Likewise.
17071         (atan2_test_data): New variable.
17072         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17073         (copysign_test_data): New variable.
17074         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17075         (fdim_test_data): New variable.
17076         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17077         (fmax_test_data): New variable.
17078         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17079         (fmin_test_data): New variable.
17080         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17081         (fmod_test_data): New variable.
17082         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17083         (hypot_test_data): New variable.
17084         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17085         (nextafter_test_data): New variable.
17086         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17087         (nexttoward_test_data): New variable.
17088         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17089         (pow_test_data): New variable.
17090         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17091         (pow_tonearest_test_data): New variable.
17092         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17093         (pow_towardzero_test_data): New variable.
17094         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17095         (pow_downward_test_data): New variable.
17096         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17097         (pow_upward_test_data): New variable.
17098         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17099         (remainder_test_data): New variable.
17100         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17101         (scalb_test_data): New variable.
17102         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17103         * sysdeps/i386/fpu/libm-test-ulps: Update.
17105 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17107         * math/libm-test.inc (fma_test): Use max_value instead of local
17108         variable fltmax.
17109         (nextafter_test): Likewise.
17111         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17112         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17113         (acos_downward_test_data): New variable.
17114         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17115         (acos_upward_test_data): New variable.
17116         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17117         (acosh_test_data): New variable.
17118         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17119         (asin_test_data): New variable.
17120         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17121         (asin_tonearest_test_data): New variable.
17122         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17123         (asin_towardzero_test_data): New variable.
17124         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17125         (asin_downward_test_data): New variable.
17126         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17127         (asin_upward_test_data): New variable.
17128         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17129         (asinh_test_data): New variable.
17130         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17131         (atan_test_data): New variable.
17132         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17133         (atanh_test_data): New variable.
17134         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17135         (cbrt_test_data): New variable.
17136         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17137         (ceil_test_data): New variable.
17138         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17139         (cos_test_data): New variable.
17140         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17141         (cos_tonearest_test_data): New variable.
17142         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17143         (cos_towardzero_test_data): New variable.
17144         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17145         (cos_downward_test_data): New variable.
17146         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17147         (cos_upward_test_data): New variable.
17148         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17149         (cosh_test_data): New variable.
17150         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17151         (cosh_tonearest_test_data): New variable.
17152         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17153         (cosh_towardzero_test_data): New variable.
17154         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17155         (cosh_downward_test_data): New variable.
17156         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17157         (cosh_upward_test_data): New variable.
17158         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17159         (erf_test_data): New variable.
17160         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17161         (erfc_test_data): New variable.
17162         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17163         (exp_test_data): New variable.
17164         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17165         (exp_tonearest_test_data): New variable.
17166         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17167         (exp_towardzero_test_data): New variable.
17168         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17169         (exp_downward_test_data): New variable.
17170         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17171         (exp_upward_test_data): New variable.
17172         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17173         (exp10_test_data): New variable.
17174         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17175         (exp2_test_data): New variable.
17176         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17177         (expm1_test_data): New variable.
17178         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17179         (fabs_test_data): New variable.
17180         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17181         (floor_test_data): New variable.
17182         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17183         (j0_test_data): New variable.
17184         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17185         (j1_test_data): New variable.
17186         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17187         (log_test_data): New variable.
17188         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17189         (log10_test_data): New variable.
17190         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17191         (log1p_test_data): New variable.
17192         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17193         (log2_test_data): New variable.
17194         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17195         (logb_test_data): New variable.
17196         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17197         (logb_downward_test_data): New variable.
17198         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17199         (nearbyint_test_data): New variable.
17200         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17201         (rint_test_data): New variable.
17202         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17203         (rint_tonearest_test_data): New variable.
17204         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17205         (rint_towardzero_test_data): New variable.
17206         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17207         (rint_downward_test_data): New variable.
17208         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17209         (rint_upward_test_data): New variable.
17210         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17211         (round_test_data): New variable.
17212         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17213         (sin_test_data): New variable.
17214         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17215         (sin_tonearest_test_data): New variable.
17216         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17217         (sin_towardzero_test_data): New variable.
17218         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17219         (sin_downward_test_data): New variable.
17220         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17221         (sin_upward_test_data): New variable.
17222         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17223         (sinh_test_data): New variable.
17224         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17225         (sinh_tonearest_test_data): New variable.
17226         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17227         (sinh_towardzero_test_data): New variable.
17228         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17229         (sinh_downward_test_data): New variable.
17230         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17231         (sinh_upward_test_data): New variable.
17232         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17233         (sqrt_test_data): New variable.
17234         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17235         (tan_test_data): New variable.
17236         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17237         (tan_tonearest_test_data): New variable.
17238         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17239         (tan_towardzero_test_data): New variable.
17240         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17241         (tan_downward_test_data): New variable.
17242         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17243         (tan_upward_test_data): New variable.
17244         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17245         (tanh_test_data): New variable.
17246         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17247         (tgamma_test_data): New variable.
17248         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17249         (trunc_test_data): New variable.
17250         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17251         (y0_test_data): New variable.
17252         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17253         (y1_test_data): New variable.
17254         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17255         (significand_test_data): New variable.
17256         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17258 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17260         [BZ #12387]
17261         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17263 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17265         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17267 2013-05-10  Andreas Jaeger  <aj@suse.de>
17269         [BZ #15448]
17270         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17271         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17273 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17275         * math/gen-libm-test.pl (adjust_arg): New function.
17276         (special_functions): Handle generating output in both functions
17277         and arrays.
17278         (parse_args): Likewise.
17279         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17280         $in_func argument to parse_args.
17281         * math/libm-test.inc (struct test_f_f_data): New type.
17282         (IF_ROUND_INIT_): New macro.
17283         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17284         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17285         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17286         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17287         (ROUND_RESTORE_): Likewise.
17288         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17289         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17290         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17291         (ROUND_RESTORE_FE_UPWARD): Likewise.
17292         (RUN_TEST_LOOP_f_f): New macro.
17293         (acos_test_data): New variable.
17294         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17295         (acos_tonearest_test_data): New variable.
17296         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17298 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17300         * benchtests/bench-skeleton.c (startup): Fix coding style.
17302 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17304         [BZ #6809]
17305         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17306         negative infinity argument.
17307         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17308         negative infinity argument.
17309         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17310         negative infinity argument.
17311         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17312         domain errors.
17314 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17316         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17317         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17318         * iconv/iconv_prog.c (main): Likewise.
17319         * locale/programs/charmap-dir.c (charmap_readdir)
17320         (fopen_uncompressed): Likewise.
17321         * locale/programs/locfile.c (siblings_uncached)
17322         (write_locale_data): Use lstat64 instead of lstat.
17323         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17324         stat.
17326 2013-05-10  Andreas Jaeger  <aj@suse.de>
17328         [BZ #15395]
17329         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17330         localization.
17331         Include <locale.h>.
17333 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17335         * elf/dl-close.c (_dl_close_worker): Add comments.
17337 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17339         [BZ #15359]
17340         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17341         high part of pi/2.
17342         (__ieee754_rem_pio2l): Update comments.
17344         [BZ #15429]
17345         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17346         high part of pi/2.
17347         (__ieee754_rem_pio2l): Update comments.
17349         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17350         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17352         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17353         M_PI_4l.
17355         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17356         (M_PI_34_LOG10El): Likewise.
17357         (M_PI2_LOG10El): Likewise.
17358         (M_PI4_LOG10El): Likewise.
17359         (M_PI_LOG10El): Likewise.
17361 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17365 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17367         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17368         (MINUS_ZERO_INIT): Likewise.
17369         (PLUS_INFTY_INIT): Likewise.
17370         (MINUS_INFTY_INIT): Likewise.
17371         (QNAN_VALUE_INIT): Likewise.
17372         (MAX_VALUE_INIT): Likewise.
17373         (MIN_VALUE_INIT): Likewise.
17374         (MIN_SUBNORM_VALUE_INIT): Likewise.
17375         (plus_zero): Initialize with PLUS_ZERO_INIT.
17376         (minus_zero): Initialize with MINUS_ZERO_INIT.
17377         (plus_infty): Initialize with PLUS_INFTY_INIT.
17378         (minus_infty): Initialize with MINUS_INFTY_INIT.
17379         (qnan_value): Initialize with QNAN_VALUE_INIT.
17380         (max_value): Initialize with MAX_VALUE_INIT.
17381         (min_value): Initialize with MIN_VALUE_INIT.
17382         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17384         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17385         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17386         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17387         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17389         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17390         (RUN_TEST_2_f): Likewise.
17391         (RUN_TEST_ff_f): Likewise.
17392         (RUN_TEST_fi_f): Likewise.
17393         (RUN_TEST_fl_f): Likewise.
17394         (RUN_TEST_fff_f): Likewise.
17395         (RUN_TEST_c_f): Likewise.
17396         (RUN_TEST_f_f1): Likewise.
17397         (RUN_TEST_fF_f1): Likewise.
17398         (RUN_TEST_fI_f1): Likewise.
17399         (RUN_TEST_ffI_f1): Likewise.
17400         (RUN_TEST_c_c): Likewise.
17401         (RUN_TEST_cc_c): Likewise.
17402         (RUN_TEST_f_i): Likewise.
17403         (RUN_TEST_f_i_tg): Likewise.
17404         (RUN_TEST_ff_i_tg): Likewise.
17405         (RUN_TEST_f_b): Likewise.
17406         (RUN_TEST_f_b_tg): Likewise.
17407         (RUN_TEST_f_l): Likewise.
17408         (RUN_TEST_f_L): Likewise.
17409         (RUN_TEST_sincos): Likewise.
17410         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17411         whether to show exceptions.  Do not include ");\n" in return
17412         value.
17413         (special_functions): Output call to RUN_TEST_sincos instead of
17414         check_float calls.  Update calls to new_test.
17415         (parse_args): Output call to single RUN_TEST_* macro instead of
17416         check_* calls and other assignments.  Update calls to new_test.
17418         [BZ #2546]
17419         [BZ #2560]
17420         [BZ #5159]
17421         [BZ #15426]
17422         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17423         input to result for tgamma overflow.
17424         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17425         (gamma_coeff): New variable.
17426         (NCOEFF): New macro.
17427         (gamma_positive): New function.
17428         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17429         underflow here.  Use gamma_positive instead of exp (lgamma) for
17430         other arguments.
17431         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17432         (gamma_coeff): New variable.
17433         (NCOEFF): New macro.
17434         (gammaf_positive): New function.
17435         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17436         underflow here.  Use gamma_positive instead of exp (lgamma) for
17437         other arguments.
17438         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17439         (gamma_coeff): New variable.
17440         (NCOEFF): New macro.
17441         (gammal_positive): New function.
17442         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17443         underflow here.  Use gamma_positive instead of exp (lgamma) for
17444         other arguments.
17445         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17446         (gamma_coeff): New variable.
17447         (NCOEFF): New macro.
17448         (gammal_positive): New function.
17449         (__ieee754_gammal_r): Handle positive infinity, overflow and
17450         underflow here.  Handle NaN the same as positive infinity.  Remove
17451         check x < 0xffffffff for negative integers.  Use gamma_positive
17452         instead of exp (lgamma) for other arguments.
17453         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17454         (gamma_coeff): New variable.
17455         (NCOEFF): New macro.
17456         (gammal_positive): New function.
17457         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17458         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17459         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17460         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17461         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17462         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17463         * sysdeps/generic/math_private.h (__gamma_productf): New
17464         prototype.
17465         (__gamma_product): Likewise.
17466         (__gamma_productl): Likewise.
17467         * math/Makefile (libm-calls): Add gamma_product.
17468         * math/libm-test.inc (tgamma_test): Add more tests.
17469         * sysdeps/i386/fpu/libm-test-ulps: Update.
17470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17474         * benchtests/bench-skeleton.c (main): Preheat CPU.
17476 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17478         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17480 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17482         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17483         and _dl_skip_args_internal.
17485 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17487         * manual/message.texi (Message Translation): Talk about users.
17488         Message to key mapping impacts design.
17490 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17492         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17494         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17496         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17497         * sysdeps/wordsize-64/glob64.c: ... here.
17499         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17500         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17501         New macros.
17503         * debug/getlogin_r_chk.c: Moved to ...
17504         * login/getlogin_r_chk.c: ... here.
17505         * debug/Makefile (routines): Move getlogin_r_chk to ...
17506         * login/Makefile (routines): ... here.
17507         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17508         * login/Versions (libc: GLIBC_2.4): ... here.
17510         * io/poll.c (__poll): Renamed from poll.
17511         Add libc_hidden_def.
17512         (poll): Define as weak alias.
17514         * debug/ptsname_r_chk.c: Moved to ...
17515         * login/ptsname_r_chk.c: ... here.
17516         * debug/Makefile (routines): Move ptsname_r_chk to ...
17517         * login/Makefile (routines): ... here.
17518         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17519         * login/Versions (libc: GLIBC_2.4): ... here.
17521         * posix/getlogin.c: Moved to ...
17522         * login/getlogin.c: ... here.
17523         * posix/getlogin_r.c: Moved to ...
17524         * login/getlogin_r.c: ... here.
17525         * posix/getlogin_r.c: Moved to ...
17526         * login/getlogin_r.c: ... here.
17527         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17528         * login/Makefile (routines): ... here.
17529         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17530         * login/Versions (libc: GLIBC_2.0): ... here.
17532         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17533         (setrlimit): Define as weak alias.
17535         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17536         Call __ names for open, ftruncate, and close.
17537         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17538         (truncate): Define as weak alias.
17540 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17542         * math/gen-libm-test.pl (parse_args): Initialize x before each
17543         test of frexp, modf and remquo.
17545         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17546         test signgam value.
17548 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17550         [BZ #15418]
17551         [BZ #15419]
17552         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17553         internal tests.
17554         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17556 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17558         * elf/dl-writev.h: New file.
17559         * elf/dl-misc.c: Include it.
17560         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17561         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17563 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17565         * math/libm-test.inc (noXFails): Remove variable.
17566         (noXPasses): Likewise.
17567         (BUILD_COMPLEX_INT): Remove macro.
17568         (print_screen): Remove xfail argument.
17569         (print_screen_max_error): Likewise.
17570         (update_stats): Likewise.
17571         (print_max_error): Likewise.  Update calls to other affected
17572         functions.
17573         (print_complex_max_error): Likewise.
17574         (test_single_exception): Update calls to print_screen.
17575         (test_single_errno): Likewise.
17576         (check_float_internal): Remove xfail argument.  Update calls to
17577         other affected functions.
17578         (check_float): Likewise.
17579         (check_complex): Likewise.
17580         (check_int): Likewise.
17581         (check_long): Likewise.
17582         (check_bool): Likewise.
17583         (check_longlong): Likewise.
17584         (main): Don't print noXFails and noXPasses.
17585         * math/gen-libm-test.pl (top level): Don't mention expected
17586         failure handling in comment.
17587         (new_test): Don't handle expected failures.
17588         (parse_args): Don't mention expected failure handling in comment.
17589         (generate_testfile): Don't handle expected failures.
17590         (parse_ulps): Likewise.
17591         (print_ulps_file): Likewise.
17592         (get_failure): Remove function.
17593         (output_test): Don't handle expected failures.
17594         * make/README.libm-test: Don't mention expected failure handling.
17596         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17597         (minus_zero): Likewise.
17598         (plus_infty): Likewise.
17599         (minus_infty): Likewise.
17600         (qnan_value): Likewise.
17601         (max_value): Likewise.
17602         (min_value): Likewise.
17603         (min_subnorm_value): Likewise.
17604         (initialize): Do not initialize those variables dynamically.
17606 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17608         * io/open.c (__open_2): Moved to ...
17609         * io/open_2.c: ... this new file.
17610         * io/open64.c (__open64_2): Moved to ...
17611         * io/open64_2.c: ... this new file.
17612         * io/openat.c (__openat_2): Moved to ...
17613         * io/openat_2.c: ... this new file.
17614         * io/openat64.c (__openat64_2): Moved to ...
17615         * io/openat64_2.c: ... this new file.
17616         * io/Makefile (routines): Add them.
17617         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17618         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17619         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17620         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17621         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17622         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17623         (__openat64): Add hidden_ver.
17624         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17625         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17627         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17628         Separately conditionalize setting of GLRO(dl_sysinfo) so
17629         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17630         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17632 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17634         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17636         definition.
17637         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17638         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17639         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17640         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17641         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17643 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17645         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17646         test signgam value.
17648         * math/libm-test.inc (hypot_test): Do not use
17649         IGNORE_ZERO_INF_SIGN.
17651 2013-05-03  Andreas Jaeger  <aj@suse.de>
17653         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17654         Linux 3.9.
17655         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17656         (PF_MAX): Adjust for VSOCK change.
17658 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17662 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17664         [BZ #15264]
17665         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17666         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17667         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17669 2013-05-02  David S. Miller  <davem@davemloft.net>
17671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17675         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17677 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17679         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17681 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17683         [BZ #14952]
17684         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17685         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17686         Use __attribute__ ((__gnu_inline__)).
17687         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17688         Don't use __attribute__ ((__gnu_inline__)).
17690 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17692         [BZ #15423]
17693         * math/s_catan.c (__catan): Handle small real or imaginary part of
17694         input specially to avoid spurious underflow.
17695         * math/s_catanf.c (__catanf): Likewise.
17696         * math/s_catanh.c (__catanh): Likewise.
17697         * math/s_catanhf.c (__catanhf): Likewise.
17698         * math/s_catanhl.c (__catanhl): Likewise.
17699         * math/s_catanl.c (__catanl): Likewise.
17700         * math/libm-test.inc (catan_test): Add more tests.
17701         (catanh_test): Likewise.
17702         * sysdeps/i386/fpu/libm-test-ulps: Update.
17703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17705 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17709 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
17711         [BZ #15416]
17712         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17713         accurately for denominator in atan2.
17714         * math/s_catanf.c (__catanf): Likewise.
17715         * math/s_catanh.c (__catanh): Likewise.
17716         * math/s_catanhf.c (__catanhf): Likewise.
17717         * math/s_catanhl.c (__catanhl): Likewise.
17718         * math/s_catanl.c (__catanl): Likewise.
17719         * math/libm-test.inc (catan_test): Add more tests.
17720         (catanh_test): Likewise.
17721         * sysdeps/i386/fpu/libm-test-ulps: Update.
17722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17726         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17728         * benchtests/Makefile (bench): Remove slow benchmarks.
17729         * benchtests/atan-inputs: Add slow benchmark inputs.
17730         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17731         (BENCH_FUNC): Accept variant offset.
17732         (VARIANT): Define.
17733         * benchtests/bench-skeleton.c (main): Run benchmark for each
17734         variant.
17735         * benchtests/cos-inputs: Add slow benchmark inputs.
17736         * benchtests/exp-inputs: Likewise.
17737         * benchtests/pow-inputs: Likewise.
17738         * benchtests/sin-inputs: Likewise.
17739         * benchtests/slowatan-inputs: Remove.
17740         * benchtests/slowatan.c: Remove.
17741         * benchtests/slowcos-inputs: Remove.
17742         * benchtests/slowcos.c: Remove.
17743         * benchtests/slowexp-inputs: Remove.
17744         * benchtests/slowexp.c: Remove.
17745         * benchtests/slowpow-inputs: Remove.
17746         * benchtests/slowpow.c: Remove.
17747         * benchtests/slowsin-inputs: Remove.
17748         * benchtests/slowsin.c: Remove.
17749         * benchtests/slowtan-inputs: Remove.
17750         * benchtests/slowtan.c: Remove.
17751         * benchtests/tan-inputs: Add slow benchmark inputs.
17752         * scripts/bench.pl: Parse comments and directives.
17754         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17755         in CPPFLAGS.
17756         ($(objpfx)bench-%.c): Remove *-ITER.
17757         * benchtests/bench-modf.c: Remove definition of ITER.
17758         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17759         (main): Loop for DURATION seconds instead of fixed number of
17760         iterations.
17761         * scripts/bench.pl: Don't expect iterations in parameters.
17763 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17765         * io/fchdir.c (__fchdir): Renamed from fchdir.
17766         (fchdir): Define as weak alias.
17768 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17770         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17771         (ERRNO_EDOM): Likewise.
17772         (ERRNO_ERANGE): Likewise.
17773         (noErrnoTests): New variable.
17774         (init_max_error): Set errno to 0.
17775         (test_single_errno): New function.
17776         (test_errno): Likewise.
17777         (check_float_internal): Call test_errno.  Set errno to 0.
17778         (check_complex): Refer to errno tests in comment.
17779         (check_int): Call test_errno.  Set errno to 0.
17780         (check_long): Likewise.
17781         (check_bool): Likewise.
17782         (check_longlong): Likewise.
17783         (cos_test): Use ERRNO_* flags for errno tests instead of
17784         check_int.
17785         (expm1_test): Likewise.
17786         (fmod_test): Likewise.
17787         (ilogb_test): Likewise.
17788         (lgamma_test): Likewise.
17789         (pow_test): Likewise.
17790         (remainder_test): Likewise.
17791         (sin_test): Likewise.
17792         (tan_test): Likewise.
17793         (yn_test): Likewise.
17794         (initialize): Set errno to 0.
17795         (main): Print number of errno tests.
17796         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17798 2013-04-29  Andreas Jaeger  <aj@suse.de>
17800         [BZ #15084]
17801         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17802         and RES_USEVC.
17804         [BZ #15085]
17805         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17806         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17807         unimplemented.
17809         [BZ #15380]
17810         * stdlib/random.c (__initstate): Return NULL if
17811         __initstate fails.
17813         [BZ #15086]
17814         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17815         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17816         RES_SNGLKUPREOP.
17818 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17822 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17824         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17825         of individual tests.
17826         (casin_test): Likewise.
17827         (casinh_test): Likewise.
17829 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17831         [BZ #15409]
17832         * math/s_catan.c (__catan): Handle arguments with large real or
17833         imaginary part separately without squaring.
17834         * math/s_catanf.c (__catanf): Likewise.
17835         * math/s_catanh.c (__catanh): Likewise.
17836         * math/s_catanhf.c (__catanhf): Likewise.
17837         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17838         and redefine.
17839         (__catanhl): Handle arguments with large real or imaginary part
17840         separately without squaring.
17841         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17842         and redefine.
17843         (__catanl): Handle arguments with large real or imaginary part
17844         separately without squaring.
17845         * math/libm-test.inc (catan_test): Add more tests.
17846         (catanh_test): Likewise.
17847         * sysdeps/i386/fpu/libm-test-ulps: Update.
17848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17850 2013-04-27  Andreas Jaeger  <aj@suse.de>
17852         [BZ #15007]
17853         * stdlib/stdlib.h: Update guards for qecvt.
17854         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17855         <stdlib.h>.
17857 2013-04-27  Allan McRae  <allan@archlinux.org>
17859         * sysdeps/i386/fpu/libm-test-ulps: Update.
17861 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17863         [BZ #15406]
17864         * math/s_catan.c: Include <float.h>.
17865         (__catan): Ensure underflow exception occurs for underflowed
17866         result.
17867         * math/s_catanf.c: Include <float.h>.
17868         (__catanf): Ensure underflow exception occurs for underflowed
17869         result.
17870         * math/s_catanh.c: Include <float.h>.
17871         (__catanh): Ensure underflow exception occurs for underflowed
17872         result.
17873         * math/s_catanhf.c: Include <float.h>.
17874         (__catanhf): Ensure underflow exception occurs for underflowed
17875         result.
17876         * math/s_catanhl.c: Include <float.h>.
17877         (__catanhl): Ensure underflow exception occurs for underflowed
17878         result.
17879         * math/s_catanl.c: Include <float.h>.
17880         (__catanl): Ensure underflow exception occurs for underflowed
17881         result.
17882         * math/libm-test.inc (catan_test): Add more tests.
17883         (catanh_test): Likewise.
17885         [BZ #15405]
17886         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17887         underflowed result.
17888         * math/s_ccoshf.c (__ccoshf): Likewise.
17889         * math/s_ccoshl.c (__ccoshl): Likewise.
17890         * math/s_csin.c (__csin): Likewise.
17891         * math/s_csinf.c (__csinf): Likewise.
17892         * math/s_csinh.c (__csinh): Likewise.
17893         * math/s_csinhf.c (__csinhf): Likewise.
17894         * math/s_csinhl.c (__csinhl): Likewise.
17895         * math/s_csinl.c (__csinl): Likewise.
17896         * math/libm-test.inc (ccos_test): Add more tests.
17897         (ccosh_test): Likewise.
17898         (csin_test): Likewise.
17899         (csinh_test): Likewise.
17901 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17903         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17904         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17905         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17906         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17907         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17908         powerpc/power5+/fpu folders.
17909         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17912 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17916 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17918         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17919         additions to variable.
17920         [$(config-machine) = x86_64] (modules-names): Likewise.
17921         ($(objpfx)tst-audit3): Remove dependency.
17922         ($(objpfx)tst-audit3.out): Likewise.
17923         ($(objpfx)tst-audit4): Likewise.
17924         ($(objpfx)tst-audit4.out): Likewise.
17925         ($(objpfx)tst-audit5): Likewise.
17926         ($(objpfx)tst-audit5.out): Likewise.
17927         ($(objpfx)tst-audit6): Likewise.
17928         ($(objpfx)tst-audit6.out): Likewise.
17929         ($(objpfx)tst-audit7): Likewise.
17930         ($(objpfx)tst-audit7.out): Likewise.
17931         (tst-audit3-ENV): Remove variable.
17932         (tst-audit4-ENV): Likewise.
17933         (tst-audit5-ENV): Likewise.
17934         (tst-audit6-ENV): Likewise.
17935         (tst-audit7-ENV): Likewise.
17936         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17937         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17938         addition to variable.
17939         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17940         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17941         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17942         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17943         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17944         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17945         tst-audit3, tst-audit4 and tst-audit5.
17946         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17947         tst-audit6 and tst-audit7.
17948         [$(subdir) = elf] (modules-names): Add audit modules for those
17949         tests.
17950         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17951         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17952         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17953         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17954         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17955         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17956         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17957         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17958         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17959         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17960         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17961         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17962         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17963         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17964         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17965         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17966         Likewise.
17967         [$(subdir) = elf && $(config-cflags-avx) = yes]
17968         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17969         [$(subdir) = elf && $(config-cflags-avx) = yes]
17970         (CFLAGS-tst-auditmod4a.c): Likewise.
17971         [$(subdir) = elf && $(config-cflags-avx) = yes]
17972         (CFLAGS-tst-auditmod4b.c): Likewise.
17973         [$(subdir) = elf && $(config-cflags-avx) = yes]
17974         (CFLAGS-tst-auditmod6b.c): Likewise.
17975         [$(subdir) = elf && $(config-cflags-avx) = yes]
17976         (CFLAGS-tst-auditmod6c.c): Likewise.
17977         [$(subdir) = elf && $(config-cflags-avx) = yes]
17978         (CFLAGS-tst-auditmod7b.c): Likewise.
17979         * elf/tst-audit3.c: Move to ...
17980         * sysdeps/x86_64/tst-audit3.c: ... here.
17981         * elf/tst-audit4.c: Move to ...
17982         * sysdeps/x86_64/tst-audit4.c: ... here.
17983         * elf/tst-audit5.c: Move to ...
17984         * sysdeps/x86_64/tst-audit5.c: ... here.
17985         * elf/tst-audit6.c: Move to ...
17986         * sysdeps/x86_64/tst-audit6.c: ... here.
17987         * elf/tst-audit7.c: Move to ...
17988         * sysdeps/x86_64/tst-audit7.c: ... here.
17989         * elf/tst-auditmod3a.c: Move to ...
17990         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17991         * elf/tst-auditmod3b.c: Move to ...
17992         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17993         * elf/tst-auditmod4a.c: Move to ...
17994         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17995         * elf/tst-auditmod4b.c: Move to ...
17996         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17997         * elf/tst-auditmod5a.c: Move to ...
17998         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17999         * elf/tst-auditmod5b.c: Move to ...
18000         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18001         * elf/tst-auditmod6a.c: Move to ...
18002         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18003         * elf/tst-auditmod6b.c: Move to ...
18004         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18005         * elf/tst-auditmod6c.c: Move to ...
18006         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18007         * elf/tst-auditmod7a.c: Move to ...
18008         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18009         * elf/tst-auditmod7b.c: Move to ...
18010         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18012 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18014         [BZ #15366]
18015         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18016         define unconditionally.
18017         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18018         define unconditionally.
18019         (INT8_C, INT16_C, etc.): Likewise.
18021 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18023         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18024         __ehdr_start with hidden visibility.
18026         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18028 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18030         * math/libm-test.inc (cos_test): Use accurate hex constants.
18031         (sincost_test): Likewise.
18033 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18035         * math/libm-test.inc (catan_test): Add more tests.
18036         (catanh_test): Likewise.
18038         * math/s_catanf.c (__catanf): Use suffixed floating-point
18039         constants.
18040         * math/s_catanhf.c (__catanhf): Likewise.
18041         * math/s_catanhl.c (__catanhl): Likewise.
18042         * math/s_catanl.c (__catanl): Likewise.
18044         [BZ #15394]
18045         * math/s_catan.c (__catan): Calculate imaginary part of result
18046         with log1p not log unless computing log of number close to 0.
18047         * math/s_catanf.c (__catanf): Likewise.
18048         * math/s_catanl.c (__catanl): Likewise.
18049         * math/s_catanh.c (__catanh): Calculate real part of result with
18050         log1p not log unless computing log of number close to 0.
18051         * math/s_catanhf.c (__catanhf): Likewise.
18052         * math/s_catanhl.c (__catanhl): Likewise.
18053         * math/libm-test.inc (catan_test): Add more tests.
18054         (catanh_test): Likewise.
18055         * sysdeps/i386/fpu/libm-test-ulps: Update.
18056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18060         * benchtests/Makefile: Mention files in which fast and slow
18061         paths of math functions are implemented.
18063 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18065         * sysdeps/posix/timespec_get.c: New file.
18067 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18069         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18070         POWER.
18071         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18072         for POWER.
18073         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18074         powerpc/power5/fpu folders.
18075         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18076         * benchtests/Makefile: Add modf testcase.
18077         * benchtests/bench-modf.c: New file: Benchmark test for mo
18079 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         [BZ #14888]
18082         * time/Makefile (tests): Add tst-strptime-whitespace.
18083         * time/strptime_l.c (get_number): Use ISSPACE.
18084         (__strptime_internal): Likewise.
18085         * time/tst-strptime-whitespace.c: New test case.
18087 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18089         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18090         member.
18091         (_nss_files_init): Set it here.
18093 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18095         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18096         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18097         unsigned.
18099 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18101         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18103 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18105         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18106         size just once.
18108 2013-04-21  David S. Miller  <davem@davemloft.net>
18110         * po/ru.po: Update Russion translation from translation project.
18112 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18114         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18115         and setfsgid.
18117 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18119         * configure.in: Remove i386 configure warning. Remove i386 case.
18120         * configure: Regenerate.
18121         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18122         Add example to error message.
18123         * sysdeps/i386/configure: Regenerate.
18125 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18127         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18128         slowtan.
18129         * benchtests/cos-inputs: New file.
18130         * benchtests/slowcos-inputs: New file.
18131         * benchtests/slowcos.c: New file.
18132         * benchtests/slowtan-inputs: New file.
18133         * benchtests/slowtan.c: New file.
18134         * benchtests/tan-inputs: New file.
18136 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18138         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18139         considered kosher.
18141 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18143         * benchtests/Makefile: Include cppflags-iterator.mk to add
18144         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18146         * Makefile.in (bench-clean): New target.
18147         * benchtests/Makefile (bench-clean): Likewise.
18149 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18151         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18153 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18155         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18157 2013-04-15  Andreas Schwab  <schwab@suse.de>
18159         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18161         * nscd/pwdcache.c (cache_addpw): Likewise.
18162         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18163         more than recsize.
18165 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18167         * benchtests/Makefile (bench): Write all output to
18168         bench-out.tmp together.
18170 2013-04-15  Andreas Schwab  <schwab@suse.de>
18172         * nscd/nscd.c (main): Don't fork again after closing files.
18174 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18178         * benchtests/Rules (bench-deps): Collect dependencies into a
18179         single variable.  Add Makefile to dependencies.
18180         ($(objpfx)bench-%.c): Depend on bench-deps.
18182 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18183             Xavier Roche  <roche+kml2@exalead.com>
18185         [BZ #15361]
18186         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18187         just that it's a file descriptor.
18188         * manual/llio.texi (Synchronizing AIO Operations): Update description
18189         for EBADF error from aio_fsync.
18191 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18193         * Rules (bench): Move target definition...
18194         * benchtests/Makefile: ... here.
18196 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18198         * math/libm-test.inc (cos_test): Fix PI/2 test.
18199         (sincos_test): Likewise.
18200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18201         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18203 2013-04-11  Andreas Schwab  <schwab@suse.de>
18205         [BZ #13988]
18206         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18207         accept exponent character only when digits were seen.
18208         * stdio-common/Makefile (tests): Add bug26.
18209         * stdio-common/bug26.c: New file.
18211         [BZ #14293]
18212         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18213         non-freeable.
18215 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18217         * Makeconfig (rtld-prefix): Define built linker prefix.
18218         * Rules (run-bench): Use it.
18219         * math/Makefile (run-regen-ulps): Likewise.
18221         * Rules (bench): Remove eval.
18223 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18224             Roland McGrath  <roland@hack.frob.com>
18225             Ondrej Bilka  <neleai@seznam.cz>
18227         [BZ #15346]
18228         * time/getdate.c: Include ctype.h and alloca.h.
18229         (__getdate_r): Trim leading and trailing spaces of input.
18230         * time/tst-getdate.c (tests): Add tests with leading and
18231         trailing spaces.
18233 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18235         [BZ #14280]
18236         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18237         when computing value.
18239 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18241         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18242         Use testrun.sh to run libm tests.
18244         [BZ #15309]
18245         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18247 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18249         [BZ #15264]
18250         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18252 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18254         * Makefile.in (regen-ulps): New target.
18255         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18256         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18257         [ifneq (no,$(PERL)] (regen-ulps): New target.
18258         [ifeq (no,$(PERL)] (regen-ulps): New target.
18259         * math/libm-test.inc (ulps_file_name): Define.
18260         (output_dir): New variable.
18261         (options): Add "output-dir" option.
18262         (parse_opt): Handle 'o' case.
18263         (main): If output_dir is non-NULL use it as a prefix
18264         otherwise use "".
18265         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18267 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18269         [BZ #10060, #10062]
18270         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18271         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18272         fail configure if __sync_val_compare_and_swap is not inlined.
18273         * sysdeps/i386/configure: Regenerate.
18274         * configure.in: Build for i686 when configured for i386.
18275         * configure: Regenerate.
18276         * README: Remove i386 reference.
18278 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18280         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18281         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18283 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18285         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18286         (lmsnanval): New variables.
18287         (F): Add conversion tests.
18288         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18289         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18291         * stdio-common/tstdiomisc.c (F): Properly collect individual
18292         tests' results.
18294         [BZ #14686, #15336]
18295         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18296         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18297         Instead, use input NaN values or generate a qNaN by arithmetic
18298         operation.  Also fix bugs to comply with the standard.
18299         * math/libm-test.inc (remainder_test): Add more tests.
18301         [BZ #15335, #15342]
18302         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18304         input NaN values or generate a qNaN by arithmetic operation.
18306         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18307         unreachable code.
18309         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18310         definitions.
18312 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #14478]
18315         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18316         underflowed result.
18317         * math/s_cexpf.c (__cexpf): Likewise.
18318         * math/s_cexpl.c (__cexpl): Likewise.
18319         * math/libm-test.inc (cexp_test): Add more tests.
18321 2013-04-03  Andreas Schwab  <schwab@suse.de>
18323         [BZ #15330]
18324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18325         order arrays from heap if bigger than alloca cutoff.
18327 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18329         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18330         (SNAN_TESTS_double): Refer to GCC PR56831.
18331         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18332         GCC PR56828.
18334 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18336         * Rules (bench): Move bench.out after the run is complete.
18338         * Rules (bench): Echo currently running benchmark.
18340         * benchtests/Makefile (bench): Add atan and slowatan.
18341         * benchtests/atan-inputs: New file.
18342         * benchtests/slowatan-inputs: New file.
18343         * benchtests/slowatan.c: New file.
18345         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18346         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18347         its value.
18349         [BZ #15305]
18350         * sysdeps/unix/sysv/linux/kernel-features.h
18351         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18352         __ASSUME_XFS_RESTRICTED_CHOWN.
18353         * sysdeps/unix/sysv/linux/pathconf.c
18354         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18355         Save and restore errno.
18357 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18359         [BZ #15327]
18360         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18361         arguments using __kernel_casinh.
18362         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18363         arguments using __kernel_casinhf.
18364         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18365         arguments using __kernel_casinhl.
18366         * math/libm-test.inc (cacosh_test): Add more tests.
18367         * sysdeps/i386/fpu/libm-test-ulps: Update.
18368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18370 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18372         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18375         * bench/Makefile (bench): Add sin and slowsin.
18376         * benchtests/sin-inputs: New file.
18377         * benchtests/slowsin-inputs: New file.
18378         * benchtests/slowsin.c: New file.
18380         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18381         (bench): Add slowexp and slowpow.
18382         (exp-ITER): Increase iterations.
18383         (pow-ITER): Likewise.
18384         * benchtests/exp-inputs: Change input.
18385         * benchtests/pow-inputs: Likewise.
18386         * benchtests/slowexp-inputs: New file.
18387         * benchtests/slowexp.c: New file.
18388         * benchtests/slowpow-inputs: New file.
18389         * benchtests/slowpow.c: New file.
18391 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18393         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18394         instructions.
18395         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18396         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18397         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18398         * benchtests/Makefile: Add rint benchtest.
18399         * benchtests/rint-inputs: Input for rint benchtest.
18401 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18403         * Versions.def (libm): Add GLIBC_2.18.
18404         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18405         hidden libm prototypes.
18406         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18407         * math/Makefile (libm-calls): Add s_issignaling.
18408         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18409         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18410         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18411         declaration.
18412         * math/math.h [__USE_GNU] (issignaling): New macro.
18413         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18414         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18415         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18416         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18419         * manual/arith.texi (issignaling): New section.
18420         * manual/libm-err-tab.pl (@all_functions): Update comment.
18421         * math/gen-libm-test.pl (parse_args): Apply special handling for
18422         issignaling.
18423         * math/libm-test.inc (print_float, issignaling_test): New
18424         functions.
18425         (check_float_internal): Add issignaling checks.
18426         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18427         default definition.
18428         * sysdeps/powerpc/math-tests.h: New file.
18429         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18430         tests.
18431         * math/test-snan.c (TEST_FUNC): Likewise.
18433 2013-03-30  David S. Miller  <davem@davemloft.net>
18435         * po/de.po: Update from translation team.
18437 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18439         [BZ #10357]
18440         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18441         imaginary part less than 1.0 and real part less than 0.5
18442         specially.
18443         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18444         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18445         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18446         (cacos_test): Add more tests.
18447         (casin_test): Likewise.
18448         (casinh_test): Likewise.
18449         * sysdeps/i386/fpu/libm-test-ulps: Update.
18450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18452 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18454         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18455         ONE with its value.
18457         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18458         (__pow_mp): Replace ONE and MONE with their values.
18459         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18460         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18462         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18464         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18466         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18468         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18469         (__pow_mp): Replace ZERO and MZERO with their values.
18470         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18471         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18472         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18474         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18475         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18476         (__sqr): Likewise.
18478         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18480         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18482 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18484         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18485         Declare with __attribute__ ((weak)).
18486         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18487         Call __call_tls_dtors only if it's not NULL.
18489 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18491         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18492         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18493         magic __ehdr_start linker symbol if it's defined.
18494         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18495         them up here if it was already done.
18497         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18498         (_dl_aux_init): Use const in cast when setting it.
18499         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18500         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18501         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18503         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18504         Declare them here.
18505         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18506         * csu/libc-tls.c: Nor here.
18507         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18509         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18510         (__libc_message): Never call vsyslog.
18512 2013-03-28  Alan Modra  <amodra@gmail.com>
18514         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18515         Define as empty.
18516         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18517         Likewise.
18519 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18521         [BZ #15214]
18522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18523         underflow.
18524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18526 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528         [BZ #15304]
18529         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18530         Don't add gid passed as argument.
18532         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18534 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18536         [BZ #15307]
18537         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18538         imaginary part between 1.0 and 1.5 and real part less than 0.5
18539         specially.
18540         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18541         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18542         * math/libm-test.inc (cacos_test): Add more tests.
18543         (casin_test): Likewise.
18544         (casinh_test): Likewise.
18545         * sysdeps/i386/fpu/libm-test-ulps: Update.
18546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18550         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18551         constants.
18552         (norm): Likewise.
18553         (denorm): Likewise.
18554         (__dbl_mp): Likewise.
18555         (add_magnitudes): Likewise.
18556         (sub_magnitudes): Likewise.
18557         (__add): Likewise.
18558         (__sub): Likewise.
18559         (__mul): Likewise.
18560         (__sqr): Likewise.
18561         (__inv): Likewise.
18562         (__dvd): Likewise.
18564         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18565         commented code.
18566         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18567         (__dubcos): Likewise.
18568         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18569         (__ieee754_acos): Likewise.
18570         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18571         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18572         (__exp1): Likewise.
18573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18575         (log1): Likewise.
18576         (my_log2): Likewise.
18577         (checkint): Likewise.
18578         * sysdeps/ieee754/dbl-64/e_remainder.c
18579         (__ieee754_remainder): Likewise.
18580         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18582         (bsloww): Likewise.
18583         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18585         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18586         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18587         MANTISSA_STORE_T to store computations on mantissa.  Use
18588         macros for rounding and division.
18589         (denorm): Likewise.
18590         (__dbl_mp): Likewise.
18591         (add_magnitudes): Likewise.
18592         (sub_magnitudes): Likewise.
18593         (__mul): Likewise.
18594         (__sqr): Likewise.
18595         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18596         powers of two in terms of TWOPOW macro.
18597         (mp_no): Make type of mantissa as MANTISSA_T.
18598         [!RADIXI]: Define RADIXI.
18599         [!TWO52]: Define TWO52.
18600         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18602 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18604         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18605         llroundl symbol when building for PPC32.
18607 2013-03-24  Mark H Weaver  <mhw@netris.org>
18609         * manual/arith.texi (Normalization Functions): Fix prototypes for
18610         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18612 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18614         [BZ #13889]
18615         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18616         high value to check if expl overflow.
18617         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18618         to check for underflow and overflow.
18619         * math/libm-test.inc: Add exp test.
18621 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18623         [BZ #11120]
18624         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18625         with NOT_IN_libc.
18627 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18629         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18630         symbol.
18632 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18634         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18635         wrap blocks consisting of several statements.
18637         * sysdeps/generic/math-tests.h: New file.
18638         * sysdeps/i386/fpu/math-tests.h: Likewise.
18639         * math/test-snan.c: Include it.
18640         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18642 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18644         [BZ #15285]
18645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18646         (__ieee754_j0l): Do not improve calculations using cos of twice
18647         input for inputs above LDBL_MAX / 2.0L.
18648         (__ieee754_y0l): Likewise.
18649         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18650         (__ieee754_j1l): Do not improve calculations using cos of twice
18651         input for inputs above LDBL_MAX / 2.0L.
18652         (__ieee754_y1l): Likewise.
18653         * math/libm-test.inc (j0_test): Add another test.
18654         (j1_test): Likewise.
18655         (y0_test): Likewise.
18656         (y1_test): Likewise.
18657         * sysdeps/i386/fpu/libm-test-ulps: Update.
18659 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18661         * Rules ($(objpfx)bench-%.c): Include code from a C source
18662         file.
18664 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18666         [BZ #15287]
18667         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18668         imaginary part 1.0 and real part less than 0.5 specially.
18669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18671         * math/libm-test.inc (cacos_test): Add more tests.
18672         (casin_test): Likewise.
18673         (casinh_test): Likewise.
18674         * sysdeps/i386/fpu/libm-test-ulps: Update.
18675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18679         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18680         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18682 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18684         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18685         * config.make.in (config-cflags-sse4): Remove variable.
18686         (config-cflags-avx): Likewise.
18687         (config-cflags-sse2avx): Likewise.
18688         (config-cflags-novzeroupper): Likewise.
18689         (config-asflags-i686): Likewise.
18690         (have-mfma4): Likewise.
18691         (have-as-vis3): Likewise.
18692         (MIG): Likewise.
18693         * configure.in (MIG): Do not AC_SUBST.
18694         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18695         (libc_cv_cc_sse4): Do not AC_SUBST.
18696         (libc_cv_cc_avx): Likewise.
18697         (libc_cv_cc_sse2avx): Likewise.
18698         (libc_cv_cc_novzeroupper): Likewise.
18699         (libc_cv_cc_fma4): Likewise.
18700         (libc_cv_as_i686): Likewise.
18701         (libc_cv_sparc_as_vis3): Likewise.
18702         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18703         LIBC_CONFIG_VAR.
18704         (config-asflags-i686): Likewise.
18705         (config-cflags-avx): Likewise.
18706         (config-cflags-sse2avx): Likewise.
18707         (have-mfma4): Likewise.
18708         (config-cflags-novzeroupper): Likewise.
18709         * sysdeps/mach/configure.in (MIG): Likewise.
18710         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18711         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18712         LIBC_CONFIG_VAR.
18713         (config-cflags-avx): Likewise.
18714         (config-cflags-sse2avx): Likewise.
18715         (have-mfma4): Likewise.
18716         (config-cflags-novzeroupper): Likewise.
18717         * configure: Regenerated.
18718         * sysdeps/i386/configure: Likewise.
18719         * sysdeps/mach/configure: Likewise.
18720         * sysdeps/sparc/configure: Likewise.
18721         * sysdeps/x86_64/configure: Likewise.
18723 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18725         [BZ #14812]
18726         * locale/programs/localedef.c (options): Put N_ translation marker
18727         on argument names, not just descriptions.
18729 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18731         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18733 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18735         [BZ #14176]
18736         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18738 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18740         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18741         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18742         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18743         [!BEFORE_ABORT] (before_abort): New function.
18744         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18745         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18746         (writev_for_fatal): New function.
18747         (WRITEV_FOR_FATAL): New macro; call that.
18748         (backtrace_and_maps): New function.
18749         (BEFORE_ABORT): New macro; call that.
18750         (struct str_list): Type removed.
18751         (__libc_message, __libc_fatal): Functions removed.
18752         Include <sysdeps/posix/libc_fatal.c> instead.
18754 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18756         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18757         constants.
18758         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18759         double constants.
18761 2013-03-19  Andreas Schwab  <schwab@suse.de>
18763         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18764         * sysdeps/gnu/configure: Regenerate.
18766         * configure.in: Substitute libc_cv_rtlddir.
18767         * configure: Regenerate.
18768         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18769         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18770         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18771         * elf/Makefile (install-others, CFLAGS-interp.c)
18772         (ldso_install, common-ldd-rewrite): Likewise.
18773         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18774         $(inst_slibdir)/$(rtld-installed-name).
18775         * scripts/rellns-sh: Add -p option.
18776         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18777         for source.
18779 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18781         * manual/nptl.texi: Renamed to ...
18782         * manual/threads.texi: ... this.
18783         * manual/Makefile (chapters): Update.
18785 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18787         [BZ #14812]
18788         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18789         on argument names, not just descriptions.
18790         * malloc/memusagestat.c (options): Likewise.
18791         * nss/getent.c (options): Likewise.
18793 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18795         [BZ #14812]
18796         * iconv/iconv_prog.c (options): Put N_ translation marker
18797         on argument names, not just descriptions.
18798         * iconv/iconvconfig.c (options): Likewise.
18800 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18802         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18803         implementation which is faster on all x86_64 architectures.
18804         Tested on AMD, Intel Nehalem, SNB, IVB.
18805         * sysdeps/x86_64/strnlen.S: Likewise.
18807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18808         Remove all multiarch strlen and strnlen versions.
18809         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18810         Remove strlen and strnlen related parts.
18812         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18813         Inline strlen part.
18814         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18816         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18817         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18818         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18819         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18820         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18821         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18823 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18825         * manual/memory.texi (Malloc Tunable Parameters):
18826         Sort parameters alphabetically. Add comments for missing entries.
18828 2013-03-17  David S. Miller  <davem@davemloft.net>
18830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18832 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #15283]
18835         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18836         for arguments at most half maximum finite value.
18837         * math/libm-test.inc (j0_test): Add more tests.
18838         (j1_test): Likewise.
18839         (y0_test): Likewise.
18840         (y1_test): Likewise.
18841         * sysdeps/i386/fpu/libm-test-ulps: Update.
18842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18844         [BZ #14155]
18845         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18846         1 / x and functions P and Q for arguments above 0x1p256L.
18847         (__ieee754_y0l): Likewise.
18848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18849         (__ieee754_y1l): Likewise.
18850         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18851         (j1_test): Likewise.
18852         (y0_test): Likewise.
18853         (y1_test): Likewise.
18855 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18857         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18858         variable.
18860 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18862         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18863         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18864         zero since it's initialized to EXEC_PAGESIZE.
18866         * sysdeps/unix/sysv/linux/ldsodefs.h
18867         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18868         * sysdeps/generic/ldsodefs.h: ... here.
18870 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18872         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18874         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18875         math/test-snan.c.
18876         * math/test-snan.c: Renamed from
18877         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18878         * math/Makefile (tests): Add test-snan.
18879         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18880         test-powerpc-snan.
18882         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18883         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18884         functions.
18885         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18886         __builtin_nan family of functions.
18887         * math/libm-test.inc (initialize): Initialize qnan_value with
18888         __builtin_nan family of functions.
18889         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18890         Remove variables.
18891         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18892         Remove functions.
18893         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18894         storage class.  Initialize qNaN_var and sNaN_var with
18895         __builtin_nan and __builtin_nans families of functions,
18896         respectively.
18898         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18899         (sqrt_test): Remove duplicate test with qNaN input.
18900         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18901         (round_test, signbit_test, significand_test): Note missing +/-Inf
18902         as well as qNaN tests.
18904         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18905         qNaN_var.  Fix a few strings, too.
18906         * math/libm-test.inc (nan_value): Rename to qnan_value.
18907         * math/gen-libm-test.pl (%beautify): Adjust to that.
18908         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18909         * math/test-misc.c (main): Likewise.
18910         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18911         to __qnan_bytes, and __qnan_union, respectively.
18912         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18913         Likewise.
18914         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18915         and lqnanval, respectively.
18916         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18917         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18918         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18919         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18921         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18922         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18923         doubles.
18925         * math/test-misc.c (main): Fix copy'n'pastos.
18926         * misc/tst-efgcvt.c (special): Likewise.
18928         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18929         Remove declarations.
18931 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18933         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18934         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18935         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18936         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18938 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18940         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18941         macro to return vdso values correctly in IFUNC implementations.
18942         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18943         Optimization by using IFUNC.
18945 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18946             Richard Henderson  <rth@redhat.com>
18947             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18949         * Makefile.in (bench): New target.
18950         * NEWS: Mention the benchmark framework.
18951         * Rules (bench): Likewise.
18952         (binaries-bench): Generate binaries for functions to
18953         benchmark.
18954         * benchtests/Makefile: New makefile for benchmark tests.
18955         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18956         programs.
18957         * benchtests/exp-inputs: New input file for EXP function.
18958         * benchtests/pow-inputs: New input file for POW function.
18959         * scripts/bench.pl: New script to generate source files for
18960         benchmark programs.
18962 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18964         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18965         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18966         computations on mantissa.  Use macros for rounding and
18967         division.
18968         (denorm): Likewise.
18969         (__dbl_mp): Likewise.
18970         (add_magnitudes): Likewise.
18971         (sub_magnitudes): Likewise.
18972         (__mul): Likewise.
18973         (__sqr): Likewise.
18974         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18975         powers of two in terms of TWOPOW macro.
18976         (mp_no): Make type of mantissa as MANTISSA_T.
18977         [!RADIXI]: Define RADIXI.
18978         [!TWO52]: Define TWO52.
18979         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18981         * manual/nptl.texi (cindex): Modify threads to pthreads.
18983 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18985         * sysdeps/x86_64/preconfigure: Regenerated.
18987 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18989         [BZ #14155]
18990         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18991         0x1p28 and above.
18992         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18993         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18994         0x1p28 and above.
18995         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18996         * math/libm-test.inc (j0_test): Do not allow one spurious
18997         underflow exception.
18998         (y1_test): Likewise.
19000 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002         * manual/Makefile (chapters): Add nptl.
19003         * manual/debug.texi (Debugging Support): Add link to Threads
19004         chapter.
19005         * manual/nptl.texi: New file.
19007         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19009 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19011         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19012         for non-NULL pointer before the memory validity test. Pointed
19013         out by Holger Brunck <holger.brunck@keymile.com>.
19015 2013-03-13  Andreas Schwab  <schwab@suse.de>
19017         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19018         instead of .os.
19020 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19022         * timezone/zic.c: Update from tzcode 2013b.
19024 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19026         * manual/install.texi (Configuring and compiling):
19027         Mention i686 and i586.
19028         * INSTALL: Regenerate.
19030 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19032         * sysdeps/init_array/elf-init.c: New file.
19033         * csu/elf-init.c
19034         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19035         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19037         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19038         __gmon_start__ as global, but as static with a .preinit_array pointer.
19039         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19040         * sysdeps/init_array/crti.S: New file, empty except for comments.
19041         * sysdeps/init_array/crtn.S: Likewise.
19043 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19045         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19046         definining bcopy.
19047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19048         Remove Prefer_SSE_for_memop.
19049         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19050         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19051         HAS_PREFER_SSE_FOR_MEMOP.
19052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19053         memset-x86-64.
19054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19055         Remove bzero, memset ifunc support.
19056         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19057         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19061 2013-03-11  Andreas Schwab  <schwab@suse.de>
19063         [BZ #15234]
19064         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19065         by SHLIB_COMPAT.
19066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19067         (GLIBC_2.16): Remove pthread_atfork.
19069 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19071         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19072         (ptestcases.h): Likewise.
19074 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19076         * Makeconfig ($(common-objpfx)config.status): Depend on
19077         sysdeps/*/preconfigure{,.in} too.
19079 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19081         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19082         (__free_hook): Use void * instead of __malloc_ptr_t.
19083         (__malloc_hook): Likewise.
19084         (__realloc_hook): Likewise.
19085         (__memalign_hook): Likewise.
19086         (__after_morecore_hook): Likewise.
19087         * malloc/arena.c (save_malloc_hook): Likewise.
19088         (save_free_hook): Likewise.
19089         * malloc/hooks.c (malloc_hook_ini): Likewise.
19090         (realloc_hook_ini): Likewise.
19091         (memalign_hook_ini): Likewise.
19092         * malloc/malloc.c (malloc_hook_ini): Likewise.
19093         (realloc_hook_ini): Likewise.
19094         (memalign_hook_ini): Likewise.
19095         (__free_hook): Likewise.
19096         (__malloc_hook): Likewise.
19097         (__realloc_hook): Likewise.
19098         (__memalign_hook): Likewise.
19099         (__libc_malloc): Likewise.
19100         (__libc_free): Likewise.
19101         (__libc_realloc): Likewise.
19102         (__libc_memalign): Likewise.
19103         (__libc_valloc): Likewise.
19104         (__libc_pvalloc): Likewise.
19105         (__libc_calloc): Likewise.
19106         (__posix_memalign): Likewise.
19107         * malloc/morecore.c (__sbrk): Likewise.
19108         (__default_morecore): Likewise.
19110         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19112         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19113         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19114         __malloc_ptrdiff_t.
19116         * malloc/malloc.h (__malloc_size_t): Remove macro.
19117         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19118         __malloc_size_t.
19119         (old_memalign_hook): Likewise.
19120         (old_realloc_hook): Likewise.
19121         (struct hdr): Likewise.
19122         (flood): Likewise.
19123         (mallochook): Likewise.
19124         (memalignhook): Likewise.
19125         (reallochook): Likewise.
19126         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19127         (tr_old_realloc_hook): Likewise.
19128         (tr_old_memalign_hook): Likewise.
19129         (tr_mallochook): Likewise.
19130         (tr_reallochook): Likewise.
19131         (tr_memalignhook): Likewise.
19133 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19136         default_ldbl_pack and using as default implementation.
19137         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19138         implementation.
19139         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19140         redundant definition.
19141         (ldbl_insert_mantissa): Likewise.
19142         (ldbl_canonicalize): Likewise.
19143         (ldbl_nearbyint): Likewise.
19144         (ldbl_pack): Rename to ldbl_pack_ppc.
19145         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19146         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19147         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19149 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19151         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19152         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19153         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19154         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19156         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19157         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19158         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19160 2013-03-07  Andreas Jaeger  <aj@suse.de>
19162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19163         bits/mman-linux.h.
19165 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19167         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19168         Include mpa.h and declare __MPEXP.
19169         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19170         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19171         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19172         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19173         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19174         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19175         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19177         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19178         (__slowpow): Use long double EXPL and LOGL functions to
19179         compute POW.
19180         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19181         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19182         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19183         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19184         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19185         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19188         intermediate variable to calculate exponent.
19189         (__sqr): Likewise.
19190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19191         Likewise.
19192         (__sqr): Likewise.
19194         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19195         [!NO__SQR]: Define __sqr.
19196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19197         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19198         sysdeps/ieee754/dbl-64/mpa.c.
19199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19201         [BZ #12723]
19202         * posix/Makefile (tests): Add tst-pathconf.
19203         * posix/tst-pathconf.c: New test case.
19204         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19205         _PC_PIPE_BUF.
19206         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19208 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19210         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19212 2013-03-06  Andreas Jaeger  <aj@suse.de>
19214         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19215         definition via __MAP_ANONYMOUS.
19217         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19218         it's not part of Linux headers.
19220         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19221         (MAP_HUGE_MASK): Define.
19223         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19224         Define.
19225         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19226         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19227         Define.
19228         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19229         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19230         Define.
19231         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19232         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19233         Define.
19234         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19236         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19237         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19238         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19239         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19240         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19241         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19243         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19244         Handle f2fs.
19246         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19247         Handle f2fs and efivarfs.
19249         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19250         f2fs.
19252         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19253         (EFIVARFS_MAGIC): Add.
19254         (F2FS_LINK_MAX): Add.
19256 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19258         * stdio-common/vfprintf.c: Replace __builtin_expect with
19259         __glibc_unlikely.
19261 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19263         [BZ #13550]
19264         * sysdeps/generic/bp-sym.h: Remove file.
19265         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19266         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19267         <bp-sym.h> and <bp-asm.h>.
19268         (__longjmp): Don't use BP_SYM.
19269         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19270         and <bp-asm.h>.
19271         (memcpy): Don't use BP_SYM.
19272         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19273         <bp-sym.h> and <bp-asm.h>.
19274         (memcpy): Don't use BP_SYM.
19275         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19276         <bp-asm.h>.
19277         (memcpy): Don't use BP_SYM.
19278         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19279         <bp-asm.h>.
19280         (memset): Don't use BP_SYM.
19281         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19282         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19283         (__bzero): Don't use BP_SYM.
19284         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19285         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19286         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19287         <bp-sym.h> and <bp-asm.h>.
19288         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19289         pointers.
19290         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19291         <bp-sym.h> and <bp-asm.h>.
19292         (memcpy): Don't use BP_SYM.
19293         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19294         <bp-sym.h> and <bp-asm.h>.
19295         (memset): Don't use BP_SYM.
19296         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19297         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19298         (__bzero): Don't use BP_SYM.
19299         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19300         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19301         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19302         <bp-sym.h> and <bp-asm.h>.
19303         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19304         pointers.
19305         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19306         <bp-sym.h> and <bp-asm.h>.
19307         (memcpy): Don't use BP_SYM.
19308         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19309         <bp-sym.h> and <bp-asm.h>.
19310         (memset): Don't use BP_SYM.
19311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19313         (__bzero): Don't use BP_SYM.
19314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19316         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19317         <bp-sym.h> and <bp-asm.h>.
19318         (__memchr): Don't use BP_SYM.
19319         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19320         <bp-sym.h> and <bp-asm.h>.
19321         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19322         pointers.
19323         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19324         <bp-sym.h> and <bp-asm.h>.
19325         (memcpy): Don't use BP_SYM.
19326         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19327         <bp-sym.h> and <bp-asm.h>.
19328         (__mempcpy): Don't use BP_SYM.
19329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19330         <bp-sym.h> and <bp-asm.h>.
19331         (__memrchr): Don't use BP_SYM.
19332         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19333         <bp-sym.h> and <bp-asm.h>.
19334         (memset): Don't use BP_SYM.
19335         (__bzero): Likewise.
19336         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19337         <bp-sym.h> and <bp-asm.h>.
19338         (__rawmemchr): Don't use BP_SYM.
19339         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19340         <bp-sym.h> and <bp-asm.h>.
19341         (__STRCMP): Don't use BP_SYM.
19342         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19343         <bp-sym.h> and <bp-asm.h>.
19344         (strchr): Don't use BP_SYM.
19345         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19346         <bp-sym.h> and <bp-asm.h>.
19347         (__strchrnul): Don't use BP_SYM.
19348         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19349         <bp-sym.h> and <bp-asm.h>.
19350         (strlen): Don't use BP_SYM.
19351         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19352         <bp-sym.h> and <bp-asm.h>.
19353         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19354         pointers.
19355         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19356         <bp-sym.h> and <bp-asm.h>.
19357         (__strnlen): Don't use BP_SYM.
19358         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19359         <bp-sym.h> and <bp-asm.h>.
19360         (__GI__setjmp): Don't use BP_SYM.
19361         (_setjmp): Likewise.
19362         (__sigsetjmp): Likewise.
19363         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19364         (L(start_addresses)): Don't use BP_SYM.
19365         (_start): Likewise.
19366         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19367         <bp-asm.h>.
19368         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19369         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19370         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19371         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19372         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19373         <bp-asm.h>.
19374         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19375         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19376         about bounded pointers.
19377         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19378         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19379         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19380         <bp-asm.h>.
19381         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19382         about bounded pointers.  Remove GKM FIXME comments.
19383         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19384         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19385         <bp-asm.h>.
19386         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19387         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19388         Remove GKM FIXME comments.
19389         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19390         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19391         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19392         <bp-asm.h>.
19393         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19394         about bounded pointers.  Remove GKM FIXME comment.
19395         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19396         and <bp-asm.h>.
19397         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19398         pointers.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19400         <bp-sym.h> and <bp-asm.h>.
19401         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19403         <bp-sym.h> and <bp-asm.h>.
19404         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19405         comment.
19407 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19409         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19410         call free(NULL).
19412 2013-03-05  David S. Miller  <davem@davemloft.net>
19414         * po/es.po: Update from translation team.
19416 2013-03-05  Andreas Jaeger  <aj@suse.de>
19418         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19419         <bits/mman-linux.h>.
19420         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19421         is fine.
19422         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19423         <bits/mman-linux.h> to end of file.
19424         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19425         is fine.
19426         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19427         <bits/mman-linux.h> to end of file.
19428         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19429         is fine.
19430         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19431         <bits/mman-linux.h> to end of file.
19433         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19434         (MCL_CURRENT, MCL_FUTURE): Define here.
19436 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19438         [BZ #15232]
19439         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19440         attribute_hidden.
19441         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19443 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19445         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19446         fourth parameter needed for rt_sigprocmask syscall.
19447         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19448         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19449         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19450         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19451         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19452         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19454 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #13550]
19457         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19458         comment about bounded pointers.
19459         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19460         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19462 2013-03-04  Andreas Jaeger  <aj@suse.de>
19464         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19465         common definitions.
19467         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19468         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19469         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19471         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19474 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19476         [BZ #15055]
19477         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19478         __ieee754_sqrl instead of __sqrl.
19480 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19482         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19483         * sysdeps/powerpc/fpu_control.h: ... here.
19484         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19485         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19486         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19487         * sysdeps/powerpc/bits/mathinline.h: ... here.
19489 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19491         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19492         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19493         to just [NEED_DL_SYSINFO_DSO].
19494         * elf/dl-support.c: Likewise.
19495         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19496         * elf/rtld.c (dl_main): Likewise.
19497         * elf/setup-vdso.h (setup_vdso): Likewise.
19498         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19499         * sysdeps/unix/sysv/linux/dl-sysdep.c
19500         (_dl_discover_osversion): Likewise.
19502 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19504         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19505         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19507 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19509         * NEWS: Mention libm performance improvements and non-x86 PI
19510         futex support.
19512         * csu/libc-start.c (__pthread_initialize_minimal): Change
19513         function arguments.
19514         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19516 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19518         [BZ #13550]
19519         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19520         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19521         <bp-sym.h> and <bp-asm.h>.
19522         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19523         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19524         and <bp-asm.h>.
19525         (memcpy): Don't use BP_SYM.
19526         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19527         <bp-asm.h>.
19528         (__mpn_add_n): Don't use BP_SYM.
19529         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19530         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19531         and <bp-asm.h>.
19532         (__mpn_addmul_1): Don't use BP_SYM.
19533         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19534         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19535         <bp-sym.h>.
19536         (_setjmp): Don't use BP_SYM.
19537         (__novmx_setjmp): Likewise.
19538         (__GI__setjmp): Likewise.
19539         (__vmx_setjmp): Likewise.
19540         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19541         <bp-sym.h>.
19542         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19543         (__bzero): Don't use BP_SYM.
19544         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19545         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19546         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19547         <bp-sym.h> and <bp-asm.h>.
19548         (memcpy): Don't use BP_SYM.
19549         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19550         <bp-sym.h> and <bp-asm.h>.
19551         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19552         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19553         <bp-sym.h> and <bp-asm.h>.
19554         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19555         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19556         <bp-asm.h>.
19557         (__mpn_lshift): Don't use BP_SYM.
19558         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19559         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19560         <bp-asm.h>.
19561         (memset): Don't use BP_SYM.
19562         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19563         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19564         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19565         <bp-asm.h>.
19566         (__mpn_mul_1): Don't use BP_SYM.
19567         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19568         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19569         <bp-sym.h> and <bp-asm.h>.
19570         (memcmp): Don't use BP_SYM.
19571         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19572         <bp-sym.h> and <bp-asm.h>.
19573         (memcpy): Don't use BP_SYM.
19574         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19575         <bp-sym.h> and <bp-asm.h>.
19576         (memset): Don't use BP_SYM.
19577         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19578         <bp-sym.h> and <bp-asm.h>.
19579         (strncmp): Don't use BP_SYM.
19580         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19581         <bp-sym.h> and <bp-asm.h>.
19582         (memcpy): Don't use BP_SYM.
19583         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19584         <bp-sym.h> and <bp-asm.h>.
19585         (memset): Don't use BP_SYM.
19586         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19587         <bp-sym.h> and <bp-asm.h>.
19588         (__memchr): Don't use BP_SYM.
19589         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19590         <bp-sym.h> and <bp-asm.h>.
19591         (memcmp): Don't use BP_SYM.
19592         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19593         <bp-sym.h> and <bp-asm.h>.
19594         (memcpy): Don't use BP_SYM.
19595         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19596         <bp-sym.h> and <bp-asm.h>.
19597         (__mempcpy): Don't use BP_SYM.
19598         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19599         <bp-sym.h> and <bp-asm.h>.
19600         (__memrchr): Don't use BP_SYM.
19601         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19602         <bp-sym.h> and <bp-asm.h>.
19603         (memset): Don't use BP_SYM.
19604         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19605         <bp-sym.h> and <bp-asm.h>.
19606         (__rawmemchr): Don't use BP_SYM.
19607         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19608         <bp-sym.h> and <bp-asm.h>.
19609         (__STRCMP): Don't use BP_SYM.
19610         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19611         <bp-sym.h> and <bp-asm.h>.
19612         (strchr): Don't use BP_SYM.
19613         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19614         <bp-sym.h> and <bp-asm.h>.
19615         (__strchrnul): Don't use BP_SYM.
19616         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19617         <bp-sym.h> and <bp-asm.h>.
19618         (strlen): Don't use BP_SYM.
19619         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19620         <bp-sym.h> and <bp-asm.h>.
19621         (strncmp): Don't use BP_SYM.
19622         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19623         <bp-sym.h> and <bp-asm.h>.
19624         (__strnlen): Don't use BP_SYM.
19625         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19626         <bp-asm.h>.
19627         (__mpn_rshift): Don't use BP_SYM.
19628         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19629         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19630         <bp-sym.h> and <bp-asm.h>.
19631         (__sigsetjmp): Don't use BP_SYM.
19632         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19633         (L(start_addresses)): Don't use BP_SYM.
19634         (_start): Likewise.
19635         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19636         <bp-asm.h>.
19637         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19638         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19639         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19640         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19641         <bp-asm.h>.
19642         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19643         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19644         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19645         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19646         <bp-asm.h>.
19647         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19648         comments.
19649         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19650         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19651         <bp-asm.h>.
19652         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19653         FIXME comments.
19654         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19655         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19656         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19657         <bp-asm.h>.
19658         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19659         comment.
19660         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19661         and <bp-asm.h>.
19662         (strncmp): Don't use BP_SYM,
19663         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19664         <bp-asm.h>.
19665         (__mpn_sub_n): Don't use BP_SYM.
19666         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19667         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19668         and <bp-asm.h>.
19669         (__mpn_submul_1): Don't use BP_SYM.
19670         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19672         <bp-sym.h> and <bp-asm.h>.
19673         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19675         <bp-sym.h> and <bp-asm.h>.
19676         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19677         comment.
19679 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19682         Use ZK to minimize writes to Z.
19683         (sub_magnitudes): Simplify code a bit.
19684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19685         Use ZK to minimize writes to Z.
19686         (sub_magnitudes): Simplify code a bit.
19688 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19690         * csu/gmon-start.c: Add special exception to license text.
19692 2013-02-27  Richard Henderson  <rth@redhat.com>
19694         * scripts/config.guess: Update from config.git.
19695         * scripts/config.sub: Likewise.
19697 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19699         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19701         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19703         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19705         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19707         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19709 2013-02-26  Roland McGrath  <roland@hack.frob.com>
19711         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19712         [$(build-shared = yes].
19714 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19716         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19717         (__mul): Reduce iterations for calculating mantissa.
19719         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19720         MPTWO.
19721         (__mpranred): Likewise.
19723         [BZ #15160]
19724         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19725         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19727 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19729         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19730         Define __attribute__.
19732 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19734         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19735         unused.
19736         * posix/regex_internal.h (__attribute): Remove.
19737         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19738         (re_string_context_at): Likewise.
19739         (bitset_not): Use __attribute__ and mark function as possibly
19740         unused.
19741         (bitset_merge): Likewise.
19742         (bitset_mask): Likewise.
19743         (re_string_char_size_at): Likewise.
19744         (re_string_wchar_at): Likewise.
19745         (re_string_elem_size_at): Likewise.
19747 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19749         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19750         code.
19751         (cc32): Likewise.
19753         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19754         (__acr): Likewise.
19755         (__cpy): Likewise.
19756         (norm): Likewise.
19757         (denorm): Likewise.
19758         (__dbl_mp): Likewise.
19759         (add_magnitudes): Likewise.
19760         (sub_magnitudes): Likewise.
19761         (__mul): Likewise.
19762         (__inv): Likewise.
19764         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19765         style.
19767         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19768         style.
19770         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19771         code.
19773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19774         up changes with default code.
19775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19776         Likewise.
19778 2013-02-24  Allan McRae  <allan@archlinux.org>
19780         * manual/socket.texi (The Internet Namespace): Order menu items
19781         to match that in the file.
19783         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19784         node listing of the info page menu.
19786 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19788         [BZ #13550]
19789         * sysdeps/i386/bp-asm.h: Remove file.
19790         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19791         (PARMS): Do not use macros from bp-asm.h.
19792         (S1): Likewise.
19793         (S2): Likewise.
19794         (SIZE): Likewise.
19795         (__mpn_add_n): Do not use BP_SYM
19796         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19797         "bp-asm.h".
19798         (PARMS): Do not use macros from bp-asm.h.
19799         (S1): Likewise.
19800         (SIZE): Likewise.
19801         (__mpn_addmul_1): Do not use BP_SYM
19802         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19803         "bp-asm.h".
19804         (PARMS): Do not use macros from bp-asm.h.
19805         (SIGMSK): Likewise.
19806         (_setjmp): Likewise.  Do not use BP_SYM.
19807         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19808         "bp-asm.h".
19809         (PARMS): Do not use macros from bp-asm.h.
19810         (SIGMSK): Likewise.
19811         (setjmp): Likewise.  Do not use BP_SYM.
19812         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19813         "bp-asm.h".
19814         (PARMS): Do not use macros from bp-asm.h.
19815         (__frexp): Do not use BP_SYM.
19816         (frexp): Likewise.
19817         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19818         "bp-asm.h".
19819         (PARMS): Do not use macros from bp-asm.h.
19820         (__frexpf): Do not use BP_SYM.
19821         (frexpf): Likewise.
19822         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19823         "bp-asm.h".
19824         (PARMS): Do not use macros from bp-asm.h.
19825         (__frexpl): Do not use BP_SYM.
19826         (frexpl): Likewise.
19827         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19828         "bp-asm.h".
19829         (PARMS): Do not use macros from bp-asm.h.
19830         (__remquo): Do not use BP_SYM.
19831         (remquo): Likewise.
19832         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19833         "bp-asm.h".
19834         (PARMS): Do not use macros from bp-asm.h.
19835         (__remquof): Do not use BP_SYM.
19836         (remquof): Likewise.
19837         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19838         "bp-asm.h".
19839         (PARMS): Do not use macros from bp-asm.h.
19840         (__remquol): Do not use BP_SYM.
19841         (remquol): Likewise.
19842         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19843         "bp-asm.h".
19844         (PARMS): Do not use macros from bp-asm.h.
19845         (DEST): Likewise.
19846         (SRC): Likewise.
19847         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19848         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19849         "bp-asm.h".
19850         (PARMS): Do not use macros from bp-asm.h.
19851         (strlen): Do not use BP_SYM.
19852         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19853         "bp-asm.h".
19854         (PARMS): Do not use macros from bp-asm.h.
19855         (S1): Likewise.
19856         (S2): Likewise.
19857         (SIZE): Likewise.
19858         (__mpn_add_n): Do not use BP_SYM.
19859         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19860         "bp-asm.h".
19861         (PARMS): Do not use macros from bp-asm.h.
19862         (S1): Likewise.
19863         (SIZE): Likewise.
19864         (__mpn_addmul_1): Do not use BP_SYM.
19865         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19866         weak_alias.
19867         (bzero): Likewise.
19868         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19869         "bp-asm.h".
19870         (PARMS): Do not use macros from bp-asm.h.
19871         (S): Likewise.
19872         (SIZE): Likewise.
19873         (__mpn_lshift): Do not use BP_SYM.
19874         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19875         "bp-asm.h".
19876         (PARMS): Do not use macros from bp-asm.h.
19877         (DEST): Likewise.
19878         (SRC): Likewise.
19879         (LEN): Likewise.
19880         (memcpy): Likewise.  Do not use BP_SYM.
19881         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19882         libc_hidden_def and weak_alias.
19883         (mempcpy): Do not use BP_SYM in weak_alias.
19884         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19885         "bp-asm.h".
19886         (PARMS): Do not use macros from bp-asm.h.
19887         (DEST): Likewise.
19888         (LEN): Likewise.
19889         [!BZERO_P] (CHR): Likewise.
19890         (memset): Likewise.  Do not use BP_SYM.
19891         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19892         "bp-asm.h".
19893         (PARMS): Do not use macros from bp-asm.h.
19894         (S1): Likewise.
19895         (SIZE): Likewise.
19896         (__mpn_mul_1): Do not use BP_SYM.
19897         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19898         "bp-asm.h".
19899         (PARMS): Do not use macros from bp-asm.h.
19900         (S): Likewise.
19901         (SIZE): Likewise.
19902         (__mpn_rshift): Do not use BP_SYM.
19903         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19904         "bp-asm.h".
19905         (PARMS): Do not use macros from bp-asm.h.
19906         (STR): Likewise.
19907         (CHR): Likewise.
19908         (strchr): Likewise.  Do not use BP_SYM.
19909         (index): Do not use BP_SYM in weak_alias.
19910         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19911         "bp-asm.h".
19912         (PARMS): Do not use macros from bp-asm.h.
19913         (DEST): Likewise.
19914         (SRC): Likewise.
19915         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19916         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19917         "bp-asm.h".
19918         (PARMS): Do not use macros from bp-asm.h.
19919         (strlen): Do not use BP_SYM.
19920         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19921         "bp-asm.h".
19922         (PARMS): Do not use macros from bp-asm.h.
19923         (S1): Likewise.
19924         (S2): Likewise.
19925         (SIZE): Likewise.
19926         (__mpn_sub_n): Do not use BP_SYM.
19927         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19928         "bp-asm.h".
19929         (PARMS): Do not use macros from bp-asm.h.
19930         (S1): Likewise.
19931         (SIZE): Likewise.
19932         (__mpn_submul_1): Do not use BP_SYM.
19933         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19934         "bp-asm.h".
19935         (PARMS): Do not use macros from bp-asm.h.
19936         (S1): Likewise.
19937         (S2): Likewise.
19938         (SIZE): Likewise.
19939         (__mpn_add_n): Do not use BP_SYM.
19940         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19941         weak_alias.
19942         (bzero): Likewise.
19943         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19944         "bp-asm.h".
19945         (PARMS): Do not use macros from bp-asm.h.
19946         (BLK2): Likewise.
19947         (LEN): Likewise.
19948         (memcmp): Do not use BP_SYM.
19949         (bcmp): Do not use BP_SYM in weak_alias.
19950         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19951         "bp-asm.h".
19952         (PARMS): Do not use macros from bp-asm.h.
19953         (DEST): Likewise.
19954         (SRC): Likewise.
19955         (LEN): Likewise.
19956         (memcpy): Likewise.  Do not use BP_SYM.
19957         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19958         "bp-asm.h".
19959         (PARMS): Do not use macros from bp-asm.h.
19960         (DEST): Likewise.
19961         (SRC): Likewise.
19962         (LEN): Likewise.
19963         (memmove): Likewise.  Do not use BP_SYM.
19964         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19965         "bp-asm.h".
19966         (PARMS): Do not use macros from bp-asm.h.
19967         (DEST): Likewise.
19968         (SRC): Likewise.
19969         (LEN): Likewise.
19970         (__mempcpy): Likewise.  Do not use BP_SYM.
19971         (mempcpy): Do not use BP_SYM in weak_alias.
19972         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19973         "bp-asm.h".
19974         (PARMS): Do not use macros from bp-asm.h.
19975         (DEST): Likewise.
19976         (LEN): Likewise.
19977         [!BZERO_P] (CHR): Likewise.
19978         (memset): Likewise.  Do not use BP_SYM.
19979         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19980         "bp-asm.h".
19981         (PARMS): Do not use macros from bp-asm.h.
19982         (STR2): Likewise.
19983         (strcmp): Do not use BP_SYM.
19984         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19985         "bp-asm.h".
19986         (PARMS): Do not use macros from bp-asm.h.
19987         (STR): Likewise.
19988         (DELIM): Likewise.
19989         [USE_AS_STRTOK_R] (SAVE): Likewise.
19990         (FUNCTION): Likewise.  Do not use BP_SYM.
19991         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19992         aliases.
19993         (strtok_r): Likewise.
19994         (__GI___strtok_r): Likewise.
19995         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19996         (PARMS): Do not use macros from bp-asm.h.
19997         (S): Likewise.
19998         (SIZE): Likewise.
19999         (__mpn_lshift): Do not use BP_SYM.
20000         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20001         (PARMS): Do not use macros from bp-asm.h.
20002         (STR): Likewise.
20003         (CHR): Likewise.
20004         (__memchr): Do not use BP_SYM.
20005         (memchr): Do not use BP_SYM in weak_alias.
20006         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20007         (PARMS): Do not use macros from bp-asm.h.
20008         (BLK2): Likewise.
20009         (LEN): Likewise.
20010         (memcmp): Do not use BP_SYM.
20011         (bcmp): Do not use BP_SYM in weak_alias.
20012         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20013         (PARMS): Do not use macros from bp-asm.h.
20014         (S1): Likewise.
20015         (SIZE): Likewise.
20016         (__mpn_mul_1): Do not use BP_SYM.
20017         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20018         "bp-asm.h".
20019         (PARMS): Do not use macros from bp-asm.h.
20020         (STR): Likewise.
20021         (CHR): Likewise.
20022         (__rawmemchr): Do not use BP_SYM.
20023         (rawmemchr): Do not use BP_SYM in weak_alias.
20024         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20025         (PARMS): Do not use macros from bp-asm.h.
20026         (S): Likewise.
20027         (SIZE): Likewise.
20028         (__mpn_rshift): Do not use BP_SYM.
20029         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20030         (PARMS): Do not use macros from bp-asm.h.
20031         (SIGMSK): Likewise.
20032         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20033         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20034         (_start): Do not use BP_SYM.
20035         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20036         (PARMS): Do not use macros from bp-asm.h.
20037         (DEST): Likewise.
20038         (SRC): Likewise.
20039         (__stpcpy): Likewise.  Do not use BP_SYM.
20040         (stpcpy): Do not use BP_SYM in weak_alias.
20041         * sysdeps/i386/stpncpy.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         (__stpncpy): Likewise.  Do not use BP_SYM.
20048         (stpncpy): Do not use BP_SYM in weak_alias.
20049         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20050         (PARMS): Do not use macros from bp-asm.h.
20051         (STR): Likewise.
20052         (CHR): Likewise.
20053         (strchr): Likewise.  Do not use BP_SYM.
20054         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20055         "bp-asm.h".
20056         (PARMS): Do not use macros from bp-asm.h.
20057         (STR): Likewise.
20058         (CHR): Likewise.
20059         (__strchrnul): Likewise.  Do not use BP_SYM.
20060         (strchrnul): Do not use BP_SYM in weak_alias.
20061         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20062         "bp-asm.h".
20063         (PARMS): Do not use macros from bp-asm.h.
20064         (STOP): Likewise.
20065         (strcspn): Do not use BP_SYM.
20066         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20067         "bp-asm.h".
20068         (PARMS): Do not use macros from bp-asm.h.
20069         (STR): Likewise.
20070         (STOP): Likewise.
20071         (strpbrk): Likewise.  Do not use BP_SYM.
20072         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20073         "bp-asm.h".
20074         (PARMS): Do not use macros from bp-asm.h.
20075         (STR): Likewise.
20076         (CHR): Likewise.
20077         (strrchr): Likewise.  Do not use BP_SYM.
20078         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20079         (PARMS): Do not use macros from bp-asm.h.
20080         (SKIP): Likewise.
20081         (strspn): Do not use BP_SYM.
20082         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20083         (PARMS): Do not use macros from bp-asm.h.
20084         (STR): Likewise.
20085         (DELIM): Likewise.
20086         (SAVE): Likewise.
20087         (FUNCTION): Likewise.  Do not use BP_SYM.
20088         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20089         aliases.
20090         (strtok_r): Likewise.
20091         (__GI___strtok_r): Likewise.
20092         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20093         (PARMS): Do not use macros from bp-asm.h.
20094         (S1): Likewise.
20095         (S2): Likewise.
20096         (SIZE): Likewise.
20097         (__mpn_sub_n): Do not use BP_SYM.
20098         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20099         "bp-asm.h".
20100         (PARMS): Do not use macros from bp-asm.h.
20101         (S1): Likewise.
20102         (SIZE): Likewise.
20103         (__mpn_submul_1): Do not use BP_SYM.
20104         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20105         <bp-sym.h>.
20106         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20107         and <bp-asm.h>.
20108         (PARMS): Do not use macros from bp-asm.h.
20109         (FLAGS): Likewise.
20110         (PTID): Likewise.
20111         (TLS): Likewise.
20112         (CTID): Likewise.
20113         (__clone): Do not use BP_SYM.
20114         (clone): Do not use BP_SYM in weak_alias.
20115         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20116         and <bp-asm.h>.
20117         (PARMS): Do not use macros from bp-asm.h.
20118         (LEN): Likewise.
20119         (__mmap64): Do not use BP_SYM.
20120         (mmap64): Do not use BP_SYM in weak_alias.
20121         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20122         <bp-sym.h> and <bp-asm.h>.
20123         (PARMS): Do not use macros from bp-asm.h.
20124         (__posix_fadvise64_l64): Do not use BP_SYM.
20125         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20126         (PARMS): Do not use macros from bp-asm.h.
20127         (NSOPS): Likewise.
20128         (semtimedop): Do not use BP_SYM.
20129         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20130         and <bp-asm.h>.
20132 2013-02-21  Allan McRae  <allan@archlinux.org>
20134         * manual/message.texi (Charset conversion in gettext):
20135         Move @end statement to beginning of line.
20137 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20140         static.
20141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20142         Likewise.
20144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20145         (denorm): Likewise.
20146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20149 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20151         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20152         tail-call to the resolved function if pltexit isn't needed.
20154 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20157         or Y being zero as being unlikely.
20158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20159         Likewise.
20161 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20163         * manual/nss.texi (System Databases and Name Service Switch):
20164         Remove frobnicate @pxref.
20166 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20168         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20169         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20171 2013-02-20  Petr Machata  <pmachata@redhat.com>
20173         * elf/elf.h (R_ARM_TARGET1): New macro.
20174         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20175         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20176         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20177         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20178         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20179         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20180         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20181         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20182         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20183         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20184         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20185         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20186         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20187         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20188         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20189         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20190         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20191         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20192         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20193         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20194         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20195         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20196         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20197         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20198         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20199         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20200         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20201         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20202         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20203         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20204         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20205         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20206         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20207         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20208         (R_ARM_THM_GOT_BREL12): Likewise.
20209         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20210         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20211         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20212         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20213         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20214         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20215         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20216         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20217         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20219 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20221         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20222         __attribute_used__ to __attribute__ ((unused)).
20224 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20226         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20227         powerpc mpa.c.
20228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20229         comment formatting.
20230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20232 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20234         [BZ #13550]
20235         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20236         Remove macro.
20237         (ENTER): Remove both macro definitions.
20238         (LEAVE): Likewise.
20239         (CHECK_BOUNDS_LOW): Likewise.
20240         (CHECK_BOUNDS_HIGH): Likewise.
20241         (CHECK_BOUNDS_BOTH): Likewise.
20242         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20243         (RETURN_BOUNDED_POINTER): Likewise.
20244         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20245         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20246         (POP_ERRNO_LOCATION_RETURN): Likewise.
20247         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20248         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20249         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20250         macros.
20251         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20252         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20253         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20254         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20255         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20256         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20257         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20258         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20259         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20260         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20261         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20262         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20263         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20264         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20265         removed macros.
20266         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20267         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20268         macros.
20269         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20270         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20271         * sysdeps/i386/i586/memset.S (memset): Likewise.
20272         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20273         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20274         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20275         macros.
20276         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20277         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20278         Change uses of L(2) to L(out).
20279         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20280         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20281         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20282         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20283         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20284         removed macros.
20285         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20286         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20287         macros.
20288         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20289         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20290         (RETURN): Do not use macro LEAVE.
20291         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20292         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20293         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20294         * sysdeps/i386/i686/memset.S (memset): Likewise.
20295         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20296         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20297         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20298         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20299         Likewise.
20300         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20301         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20302         L(1_2) and L(1_3) into L(1).
20303         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20304         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20305         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20306         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20307         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20308         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20309         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20310         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20311         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20312         macros.
20313         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20314         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20315         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20316         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20317         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20318         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20319         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20320         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20321         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20322         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20323         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20324         * sysdeps/i386/strspn.S (strspn): Likewise.
20325         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20326         conditional code.
20327         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20328         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20329         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20330         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20331         L(1_3) into L(1_1).
20332         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20333         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20334         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20335         macros.
20336         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20338 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20340         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20341         macro.
20343 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20345         * math/atest-exp.c (exp_mpn): Remove ROUND.
20346         * math/atest-exp2.c (exp_mpn): Likewise.
20347         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20349         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20350         * stdlib/tst-tls-atexit-lib.c: Likewise.
20351         * stdlib/tst-tls-atexit.c: Likewise.
20353 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20355         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20356         and __attribute_alloc_size__.
20358 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20360         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20361         __attribute_alloc_size__.
20362         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20363         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20365 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20367         * include/programs/xmalloc.h: New file.
20368         * catgets/gencat.c: Include it.
20369         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20370         * elf/pldd.c: Likewise.
20371         * iconv/iconv_charmap.c: Likewise.
20372         * iconv/iconvconfig.c: Likewise.
20373         * iconv/strtab.c: Likewise.
20374         * locale/programs/locale.c: Likewise.
20375         * locale/programs/localedef.h: Likewise.
20376         * locale/programs/simple-hash.c: Likewise.
20377         * nscd/nscd.h: Likewise.
20378         * nss/makedb.c: Likewise.
20379         * sysdeps/generic/ldconfig.h: Likewise.
20381 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20383         * Versions.def: Add GLIBC_2.18.
20384         * include/link.h (struct link_map): New member l_tls_dtor_count.
20385         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20386         (__call_tls_dtors): Likewise.
20387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20388         __cxa_thread_atexit_impl.
20389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20390         Likewise.
20391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20392         Likewise.
20393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20394         Likewise.
20395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20396         Likewise.
20397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20399         Likewise.
20400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20401         Likewise.
20402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20404         Likewise.
20405         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20406         (tests): Add test case tst-tls-atexit.
20407         (modules-names): Add shared library for tst-tls-atexit.
20408         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20409         (GLIBC_PRIVATE): Add __call_tls_dtors.
20410         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20411         for libstdc++.
20412         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20413         * stdlib/tst-tls-atexit.c: New test case.
20414         * stdlib/tst-tls-atexit-lib.c: New test case.
20416         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20418         * elf/Versions (ld): Add _dl_find_dso_for_object.
20419         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20420         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20421         (dl_open_worker): Use _dl_find_dso_for_object.
20422         * elf/dl-sym.c (do_sym): Likewise.
20423         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20425 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20427         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20428         Syntactic changes only.
20429         (_dl_runtime_profile): Do a tail-call to the resolved function.
20431 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20433         [BZ #13550]
20434         * sysdeps/x86_64/bp-asm.h: Remove file.
20435         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20436         <bp-sym.h> and <bp-asm.h>.
20437         (__clone): Do not use BP_SYM.
20438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20439         <bp-sym.h> and <bp-asm.h>.
20440         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20441         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20442         "bp-asm.h".
20443         (_setjmp): Do not use BP_SYM.
20444         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20445         "bp-asm.h".
20446         (setjmp): Do not use BP_SYM.
20447         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20448         libc_hidden_def.
20449         (mempcpy): Do not use BP_SYM in weak_alias.
20450         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20451         "bp-asm.h".
20452         (strchr): Do not use BP_SYM.
20453         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20454         "bp-asm.h".
20455         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20456         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20457         (_start): Do not use BP_SYM.
20458         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20459         "bp-asm.h".
20460         (strcat): Do not use BP_SYM.
20461         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20462         "bp-asm.h".
20463         (STRCMP): Do not use BP_SYM.
20464         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20465         "bp-asm.h".
20466         (STRCPY): Do not use BP_SYM.
20467         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20468         "bp-asm.h".
20469         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20470         "bp-asm.h".
20471         (FUNCTION): Do not use BP_SYM.
20472         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20473         weak_alias.
20474         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20476 2013-02-17  Andreas Jaeger  <aj@suse.de>
20478         * time/Versions: Sort entries.
20479         * string/Versions: Likewise.
20480         * resolv/Versions: Likewise.
20481         * posix/Versions: Likewise.
20482         * iconv/Versions: Likewise.
20483         * elf/Versions: Likewise.
20484         * wcsmbs/Versions: Likewise.
20486 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20488         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20489         loop termination condition.
20491         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20492         variable to calculate EZ.
20493         (__sqr): Likewise.
20495         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20496         the lower precision input.
20498 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20500         [BZ #13550]
20501         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20502         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20503         (run-via-rtld-prefix): Do not handle %-bp tests.
20504         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20505         (all-object-suffixes): Remove .ob.
20506         (bppfx): Remove variable.
20507         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20508         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20509         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20510         [$(build-bounded) = yes] (libtype.ob): Likewise.
20511         * Makerules (elide-routines.ob): Remove variable.
20512         (do-tests-clean): Do not handle *-bp.out.
20513         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20514         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20515         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20516         (tests): Do not include $(tests-bp.out).
20517         (xtests): Do not include $(xtests-bp.out).
20518         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20519         [$(build-bounded) = yes] ($(addprefix
20520         $(objpfx),$(binaries-bounded))): Remove rule.
20521         ($(objpfx)%-bp.out): Remove rule.
20522         * config.make.in (build-bounded): Remove variable.
20523         * crypt/Makefile [$(build-bounded) = yes]
20524         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20525         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20526         append to variable.
20527         [$(build-bounded) = yes] (install-lib): Likewise.
20528         [$(build-bounded) = yes] (generated): Likewise.
20529         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20530         Remove rule.
20531         * intl/Makefile [$(build-bounded) = yes]
20532         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20533         * math/Makefile [$(build-bounded) = yes]
20534         ($(tests:%=$(objpfx)%-bp): Likewise.
20535         * misc/Makefile [$(build-bounded) = yes]
20536         ($(objpfx)tst-tsearch-bp): Likewise.
20537         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20538         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20539         Remove dependency.
20540         * string/Makefile (o-objects.ob): Remove variable.
20541         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20542         (CFLAGS-.ob): Remove variable.
20543         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20544         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20545         both definitions of variable.
20546         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20547         (ASFLAGS-.ob): Remove variable.
20549 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20551         [BZ #13550]
20552         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20553         Remove __BOUNDED_POINTERS__ from condition.
20554         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20555         * string/bits/string2.h [!__NO_STRING_INLINES &&
20556         !__BOUNDED_POINTERS__]: Likewise.
20557         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20558         Likewise.
20559         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20560         Remove conditional code.
20561         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20562         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20563         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20564         condition.
20566         [BZ #13550]
20567         * csu/libc-start.c: Do not include <bp-sym.h>.
20568         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20569         * elf/dl-open.c: Do not include <bp-sym.h>.
20570         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20571         * math/fegetenv.c: Do not include <bp-sym.h>.
20572         (fegetenv): Do not use BP_SYM in versioned symbols.
20573         * nptl/sysdeps/pthread/bits/libc-lockP.h
20574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20575         <bp-sym.h>.
20576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20577         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20579         (__pthread_mutex_destroy): Likewise.
20580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20581         (__pthread_mutex_lock): Likewise.
20582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20583         (__pthread_mutex_trylock): Likewise.
20584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20585         (__pthread_mutex_unlock): Likewise.
20586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20587         (__pthread_mutexattr_init): Likewise.
20588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20589         (__pthread_mutexattr_destroy): Likewise.
20590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20591         (__pthread_mutexattr_settype): Likewise.
20592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20593         (__pthread_rwlock_init): Likewise.
20594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20595         (__pthread_rwlock_destroy): Likewise.
20596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20597         (__pthread_rwlock_rdlock): Likewise.
20598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20599         (__pthread_rwlock_tryrdlock): Likewise.
20600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20601         (__pthread_rwlock_wrlock): Likewise.
20602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20603         (__pthread_rwlock_trywrlock): Likewise.
20604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20605         (__pthread_rwlock_unlock): Likewise.
20606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20607         (__pthread_key_create): Likewise.
20608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20609         (__pthread_setspecific): Likewise.
20610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20611         (__pthread_getspecific): Likewise.
20612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20613         Likewise.
20614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20615         (_pthread_cleanup_push_defer): Likewise.
20616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20617         (_pthread_cleanup_pop_restore): Likewise.
20618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20619         (pthread_setcancelstate): Likewise.
20620         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20621         <bp-sym.h>.
20622         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20623         (memchr): Do not use BP_SYM in weak_alias.
20624         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20625         (fegetenv): Do not use BP_SYM in versioned symbols.
20626         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20627         (fesetenv): Do not use BP_SYM in versioned symbols.
20628         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20629         (feupdateenv): Do not use BP_SYM in versioned symbols.
20630         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20631         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20632         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20633         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20634         (open64): Do not use BP_SYM in weak_alias.
20635         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20636         (fegetenv): Do not use BP_SYM in versioned symbols.
20637         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20638         (fesetenv): Do not use BP_SYM in versioned symbols.
20639         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20640         (feupdateenv): Do not use BP_SYM in versioned symbols.
20641         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20642         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20643         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20644         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20645         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20646         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20647         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20648         <bp-sym.h>.
20649         (__libc_start_main): Do not use BP_SYM.
20651 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20654         redundant return line.
20655         (norm): Likewise.
20656         (denorm): Likewise.
20657         (dbl_mp): Likewise.
20658         (sub_magnitudes): Likewise.
20659         (__add): Likewise.
20660         (__sub): Likewise.
20661         (__mul): Likewise.
20662         (__inv): Likewise.
20663         (__dvd): Likewise.
20664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20665         (norm): Likewise.
20666         (denorm): Likewise.
20667         (dbl_mp): Likewise.
20668         (sub_magnitudes): Likewise.
20669         (__add): Likewise.
20670         (__sub): Likewise.
20671         (__mul): Likewise.
20672         (__inv): Likewise.
20673         (__dvd): Likewise.
20675         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20676         instead of __mul.
20677         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20678         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20679         (cc32): Likewise.
20681         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20682         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20684         of __mul for squares.
20685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20686         function
20687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20688         Likewise.
20689         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20690         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20692 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20694         [BZ #13550]
20695         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20696         code.
20697         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20698         prototype or function definition.  Rename ubp_* variables and
20699         parameters.  Remove argv definitions conditional on
20700         [__BOUNDED_POINTERS__].
20701         * debug/backtrace.c (__backtrace): Do not use __unbounded.
20702         * elf/dl-runtime.c (_dl_fixup): Likewise.
20703         * include/set-hooks.h (RUN_HOOK): Likewise.
20704         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20705         definition.
20706         * string/strcpy.c (strcpy): Do not use __unbounded.
20707         * sysdeps/generic/frame.h (struct layout): Likewise.
20708         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20709         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20710         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20711         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20712         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20713         (__backtrace): Likewise.
20714         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20715         use __ptrvalue.
20716         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20717         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20718         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20719         Likewise.
20720         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20721         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20722         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20723         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20724         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20725         Do not use __unbounded.
20726         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20727         Rename __unboundedrlimits parameter to rlimits in prototype.
20728         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20729         Do not use __unbounded.
20730         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20731         not use __ptrvalue.
20732         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20733         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20734         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20735         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20736         __ptrvalue or __unbounded.
20737         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20738         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20739         use __unbounded.
20740         (__new_msgctl): Do not use __ptrvalue.
20741         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20742         __unbounded.
20743         (__libc_msgrcv): Do not use __ptrvalue.
20744         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20745         startup_info): Do not use __unbounded.
20746         (__libc_start_main): Likewise.  Rename ubp_* variables and
20747         parameters.  Remove argv definitions conditional on
20748         [__BOUNDED_POINTERS__].
20749         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20750         __ptrvalue.
20751         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20752         use __unbounded.
20753         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20754         or __ptrvalue.
20755         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20756         use __unbounded.
20757         (__new_shmctl): Do not use __ptrvalue.
20758         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20759         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20760         Likewise.
20761         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20763         (__libc_sigaction): Likewise.
20764         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20765         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20766         Likewise.
20767         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20769 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20771         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20773         * string/mempcpy.c: Implement by calling memcpy.
20775 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20780         evaluation.
20782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20783         values in the mantissa.
20785         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20786         minimize writes to Z.
20787         (sub_magnitudes): Simplify code a bit.
20789 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20791         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20792         from the message.  The linker prefixes all warnings with that already.
20794 2013-02-12  Andreas Schwab  <schwab@suse.de>
20796         [BZ #15078]
20797         * posix/regexec.c (extend_buffers): Add parameter min_len.
20798         (check_matching): Pass minimum needed length.
20799         (clean_state_log_if_needed): Likewise.
20800         (get_subexp): Likewise.
20801         * posix/Makefile (tests): Add bug-regex34.
20802         (bug-regex34-ENV): Define.
20803         * posix/bug-regex34.c: New file.
20805         [BZ #11561]
20806         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20807         elements compare against the byte sequence of it, not its name.
20808         * posix/Makefile (tests): Add bug-regex35.
20809         (bug-regex35-ENV): Define.
20810         * posix/bug-regex35.c: New file.
20812 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20814         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20815         comment.
20816         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20817         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20818         (CHECK_EOL): Add undef.
20820 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20822         * bits/stdlib-bsearch.h: New file.
20823         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20824         * stdlib/stdlib.h: Likewise.
20826 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20828         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20829         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20830         declaration.
20831         * manual/search.texi (Array Search Function): Add missing const in
20832         lfind prototype.
20833         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20834         declaration to use rlim_t.
20835         (Basic Scheduling Functions): Remove erroneous const from
20836         sched_getparam prototype.  Remove erroneous * from
20837         sched_get_priority_max and sched_get_priority_min prototypes.
20838         (Resource Usage): Fix summary @comment on vtimes to refer to
20839         sys/vtimes.h rather than vtimes.h.
20840         Add missing *s in vtimes prototype.
20841         (Limits on Resources): Fix ulimit prototype to return long int.
20842         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20843         prototypes to use long int rather than double.
20844         (BSD Random): Fix initstate and setstate to use char *, not void *.
20845         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20846         prototype to make second argument 'struct aiocb64 *const[]'.
20847         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20848         (Status of AIO Operations): Remove erroneous const in aio_return and
20849         aio_return64 prototypes.
20850         (Synchronizing I/O): Fix sync prototype to return void.
20851         * manual/startup.texi (Suboptions): Remove an erroneous const in
20852         getsubopt prototype.
20853         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20854         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20855         use size_t rather than int.
20856         (Scanning All Users): Likewise for getpwent_r.
20857         (Setting Groups): Add missing const to setgroups prototype.
20858         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20859         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20860         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20861         'const void *' rather than 'const char *'.
20862         (Host Address Functions): Likewise for inet_ntop.
20863         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20864         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20865         ssize_t for return value.
20866         (Sending Data): Likewise for send, sendto, sendmsg.
20867         (Socket Option Functions): Add a missing const in setsockopt prototype.
20868         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20869         use wchar_t for the argument.
20870         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20871         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20872         take no arguments.
20873         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20874         double/float/long double for second argument.
20875         Fix return types of significand, significandf, significandl.
20876         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20877         argument in fchmod prototype.
20878         (File Owner): Use uid_t and gid_t in fchown prototype.
20879         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20880         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20881         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20882         use 'const struct dirent **' as argument types to CMP function pointer
20883         argument.
20884         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20885         (File Times): Fix summary magic @comment for struct utimbuf and utime
20886         to refer to utime.h, not time.h.
20887         * manual/string.texi (Argz Functions): Add missing const in
20888         argz_extract and argz_next prototypes.
20889         (Finding Tokens in a String): Likewise for basename.
20890         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20891         (Copying and Concatenation): Fix typo in wmemmove prototype.
20892         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20893         (Signal Stack): Remove erroneous const in sigstack prototype.
20894         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20895         prototype.
20896         (Simple Calendar Time): Likewise for stime.
20897         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20898         prototype.
20899         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20900         say sys/sysctl.h instead.
20901         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20902         and vsyslog prototypes.
20904 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20906         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20907         Remove.
20909 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20911         * misc/sys/mman.h: Fix typo in mremap comment.
20913 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20915         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20916         the '\0' terminator.
20918 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20920         [BZ #13550]
20921         * debug/segfault.c: Don't include <bp-checks.h>.
20922         * sysdeps/generic/bp-checks.h: Remove file.
20923         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20924         (__GETDENTS): Don't use CHECK_N.
20925         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20926         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20927         (__getgroups): Don't use CHECK_N.
20928         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20929         (setgroups): Don't use CHECK_N.
20930         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20931         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20932         (__libc_msgrcv): Don't use CHECK_N.
20933         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20934         (__libc_msgsnd): Don't use CHECK_N.
20935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20936         <bp-checks.h>.
20937         (__libc_pread): Don't use CHECK_N.
20938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20939         include <bp-checks.h>.
20940         (__libc_pread64): Don't use CHECK_N.
20941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20942         include <bp-checks.h>.
20943         (__libc_pwrite): Don't use CHECK_N.
20944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20945         include <bp-checks.h>.
20946         (__libc_pwrite64): Don't use CHECK_N.
20947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20948         <bp-checks.h>.
20949         (__libc_pread): Don't use CHECK_N.
20950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20951         include <bp-checks.h>.
20952         (__libc_pread64): Don't use CHECK_N.
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20954         include <bp-checks.h>.
20955         (__libc_pwrite): Don't use CHECK_N.
20956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20957         include <bp-checks.h>.
20958         (__libc_pwrite64): Don't use CHECK_N.
20959         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20960         (do_pread): Don't use CHECK_N.
20961         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20962         (do_pread64): Don't use CHECK_N.
20963         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20964         (do_pwrite): Don't use CHECK_N.
20965         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20966         (do_pwrite64): Don't use CHECK_N.
20967         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20968         (__libc_readv): Don't use CHECK_N.
20969         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20970         (semop): Don't use CHECK_N.
20971         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20972         <bp-checks.h>.
20973         (semtimedop): Don't use CHECK_N.
20974         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20975         (__libc_pread): Don't use CHECK_N.
20976         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20977         <bp-checks.h>.
20978         (__libc_pread64): Don't use CHECK_N.
20979         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20980         <bp-checks.h>.
20981         (__libc_pwrite): Don't use CHECK_N.
20982         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20983         <bp-checks.h>.
20984         (__libc_pwrite64): Don't use CHECK_N.
20985         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20986         <bp-checks.h>.
20987         (__libc_msgrcv): Don't use CHECK_N.
20988         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20989         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20990         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20991         (__libc_writev): Don't use CHECK_N.
20993 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20995         * string/strcpy.c: Removed unused variable.
20997         * Makeconfig (+sysdep-includes): Define with := rather than =.
20998         Use an existing include/ subdir of each sysdeps dir before it.
21000 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21002         * nscd/connection.c (register_traced_file): Comment function.
21003         [HAVE_INOTIFY] (union __inev): Define.
21004         [HAVE_INOTIFY] (inotify_check_files): New function.
21005         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21006         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21007         clear_db_cache.
21008         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21010 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21012         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21013         loaded if not already and that a failure is permanent.
21015 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21017         [BZ #15006]
21018         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21019         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21021 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21023         [BZ #13550]
21024         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21025         (CHECK_1_NULL_OK): Likewise.
21026         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21027         (__fxstat): Do not use CHECK_1.
21028         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21029         <bp-checks.h>.
21030         (___fxstat64): Do not use CHECK_1.
21031         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21032         <bp-checks.h>.
21033         (__fxstatat): Do not use CHECK_1.
21034         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21035         <bp-checks.h>.
21036         (__fxstatat64): Do not use CHECK_1.
21037         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21038         <bp-checks.h>.
21039         (__fxstat): Do not use CHECK_1.
21040         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21041         <bp-checks.h>.
21042         (__fxstatat): Do not use CHECK_1.
21043         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21044         <bp-checks.h>.
21045         (__getresgid): Do not use CHECK_1.
21046         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21047         <bp-checks.h>.
21048         (__getresuid): Do not use CHECK_1.
21049         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21050         <bp-checks.h>.
21051         (__lxstat): Do not use CHECK_1.
21052         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21053         <bp-checks.h>.
21054         (__old_msgctl): Do not use CHECK_1.
21055         (__new_msgctl): Likewise.
21056         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21057         <bp-checks.h>.
21058         (__new_setrlimit): Do not use CHECK_1.
21059         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21060         <bp-checks.h>.
21061         (__old_shmctl): Do not use CHECK_1.
21062         (__new_shmctl): Likewise.
21063         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21064         <bp-checks.h>.
21065         (__xstat): Do not use CHECK_1.
21066         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21067         (__lxstat): Do not use CHECK_1.
21068         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21069         <bp-checks.h>.
21070         (___lxstat64): Do not use CHECK_1.
21071         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21072         (__old_msgctl): Do not use CHECK_1.
21073         (__new_msgctl): Likewise.
21074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21075         <bp-checks.h>.
21076         (__gettimeofday): Do not use CHECK_1.
21077         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21078         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21079         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21080         <bp-checks.h>.
21081         (__gettimeofday): Do not use CHECK_1.
21082         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21083         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21084         (__new_shmctl): Do not use CHECK_1.
21085         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21086         <bp-checks.h>.
21087         (do_sigtimedwait): Do not use CHECK_1.
21088         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21089         <bp-checks.h>.
21090         (do_sigwaitinfo): Do not use CHECK_1.
21091         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21092         <bp-checks.h>.
21093         (msgctl): Do not use CHECK_1.
21094         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21095         <bp-checks.h>.
21096         (shmctl): Do not use CHECK_1.
21097         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21098         (ustat): Do not use CHECK_1.
21099         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21100         <bp-checks.h>.
21101         (__fxstat): Do not use CHECK_1.
21102         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21103         <bp-checks.h>.
21104         (__fxstatat): Do not use CHECK_1.
21105         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21106         <bp-checks.h>.
21107         (__lxstat): Do not use CHECK_1.
21108         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21109         <bp-checks.h>.
21110         (__xstat): Do not use CHECK_1.
21111         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21112         (__xstat): Do not use CHECK_1.
21113         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21114         (___xstat64): Do not use CHECK_1.
21116         [BZ #13550]
21117         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21118         definitions.
21119         (CHECK_BOUNDS_HIGH): Likewise.
21120         * string/strcpy.c: Do not include <bp-checks.h>.
21121         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21123 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21125         * nscd/nscd-client.h (__nscd_drop_map_ref):
21126         Add __attribute__ ((unused)).
21127         * nis/nss-nisplus.h (niserr2nss): Likewise.
21129         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21130         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21132         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21133         Remove inline keyword.
21134         * include/rounding-mode.h (round_away): Likewise.
21135         * libio/wfileops.c (adjust_wide_data): Likewise.
21136         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21137         (__m128i_strloadu_tolower): Likewise.
21138         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21139         (__m128i_strloadu_tolower): Likewise.
21140         * time/mktime.c (ydhms_diff): Likewise.
21141         * locale/elem-hash.h (elem_hash): Likewise.
21142         * locale/setlocale.c (setdata): Likewise.
21143         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21144         (re_string_wchar_at): Likewise.
21145         (bitset_not, bitset_merge, bitset_mask): Likewise.
21146         [!(__GNUC__ > 3)] (inline): Remove macro.
21147         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21148         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21149         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21150         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21151         * string/memcmp.c (memcmp_bytes): Likewise.
21152         * locale/programs/locarchive.c (compute_hashval): Likewise.
21153         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21154         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21155         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21156         * nss/getent.c (print_rpc, print_protocols): Likewise.
21157         (print_passwd, print_group, print_aliases): Likewise.
21158         * nis/nss-nisplus.h (niserr2nss): Likewise.
21159         * nscd/connections.c (restart_p): Likewise.
21160         Change return type to bool.
21162 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21164         * Makeconfig (all-Depend-files): Add existing
21165         $(sorted-subdirs:=/Depend) files.
21166         (all-subdirs): Remove nss.
21167         * sysdeps/unix/inet/Subdirs: Add it here instead.
21168         * hesiod/Depend: New file.
21170         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21171         instead of calling alloca.
21173         * io/lseek.c (__lseek): Rename to __libc_lseek.
21174         Define __lseek as an alias.
21176         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21178 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21180         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21181         else clause and remove check for non-standard endianness.
21183 2013-02-04  David S. Miller  <davem@davemloft.net>
21185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21187 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21189         [BZ #13550]
21190         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21191         (__ubp_memchr): Remove prototype.
21192         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21193         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21194         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21195         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21196         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21197         Remove alias.
21198         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21199         (__ubp_memchr): Likewise.
21200         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21201         (__ubp_memchr): Likewise.
21202         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21203         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21204         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21205         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21206         CHECK_STRING.
21207         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21208         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21209         (__getcwd): Do not use CHECK_STRING.
21210         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21211         <bp-checks.h>.
21212         (__real_chown): Do not use CHECK_STRING.
21213         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21214         <bp-checks.h>.
21215         (fchownat): Do not use CHECK_STRING.
21216         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21217         CHECK_STRING.
21218         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21219         <bp-checks.h>.
21220         (__lchown): Do not use CHECK_STRING.
21221         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21222         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21223         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21224         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21226         include <bp-checks.h>.
21227         (truncate64): Do not use CHECK_STRING.
21228         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21229         <bp-checks.h>.
21230         (__real_chown): Do not use CHECK_STRING.
21231         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21232         <bp-checks.h>.
21233         (__lchown): Do not use CHECK_STRING.
21234         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21235         <bp-checks.h>.
21236         (__chown): Do not use CHECK_STRING.
21237         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21238         <bp-checks.h>.
21239         (truncate64): Do not use CHECK_STRING.
21240         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21241         Likewise.
21242         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21243         (__xmknod): Do not use CHECK_STRING.
21244         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21245         <bp-checks.h>.
21246         (__xmknodat): Do not use CHECK_STRING.
21247         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21248         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21250 2013-02-04  Andreas Schwab  <schwab@suse.de>
21252         [BZ #14142]
21253         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21254         * include/netdb.h: Likewise for h_errno.
21255         * elf/tst-stackguard1.c: Include <tls.h>.
21257 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21259         * elf/link.h (struct link_map): Extend the l_addr comment.
21260         * include/link.h (struct link_map): Likewise.
21262 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21264         [BZ #13550]
21265         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21266         (BOUNDED_1): Remove macro.
21267         * debug/backtrace.c: Don't include <bp-checks.h>.
21268         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21269         (__backtrace): Likewise.
21270         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21271         <bp-checks.h>.
21272         (__backtrace): Don't use BOUNDED_1.
21273         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21274         <bp-checks.h>.
21275         (__backtrace): Don't use BOUNDED_1.
21276         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21277         (__backtrace): Don't use BOUNDED_1.
21278         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21279         (shmat): Don't use BOUNDED_N.
21281 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21283         [BZ #13550]
21284         * sysdeps/generic/bp-start.h: Remove file.
21285         * csu/libc-start.c: Don't include <bp-start.h>.
21286         (LIBC_START_MAIN): Set up __environ directly instead of using
21287         INIT_ARGV_and_ENVIRON.
21288         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21289         <bp-start.h>.
21291         [BZ #13550]
21292         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21293         definitions.
21294         (CHECK_FCNTL): Likewise.
21295         (CHECK_N_PAGES): Likewise.
21297         [BZ #13550]
21298         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21299         definitions.
21300         (CHECK_SIGSET_NULL_OK): Likewise.
21301         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21302         <bp-checks.h>.
21303         (sigpending): Don't use CHECK_SIGSET.
21304         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21305         <bp-checks.h>.
21306         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21307         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21308         <bp-checks.h>.
21309         (do_sigsuspend): Don't use CHECK_SIGSET.
21310         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21311         use CHECK_SIGSET.
21312         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21313         (do_sigwait): Don't use CHECK_SIGSET.
21314         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21315         use CHECK_SIGSET.
21316         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21317         include <bp-checks.h>.
21318         (sigpending): Don't use CHECK_SIGSET.
21319         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21320         include <bp-checks.h>.
21321         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21322         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21323         <bp-checks.h>.
21324         (sigpending): Don't use CHECK_SIGSET.
21325         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21326         <bp-checks.h>.
21327         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21329         [BZ #13550]
21330         * sysdeps/generic/bp-semctl.h: Remove file.
21331         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21332         <bp-checks.h> and <bp-semctl.h>.
21333         (__old_semctl): Don't use CHECK_SEMCTL.
21334         (__new_semctl): Likewise.
21335         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21336         and <bp-semctl.h>.
21337         (__old_semctl): Don't use CHECK_SEMCTL.
21338         (__new_semctl): Likewise.
21339         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21340         <bp-checks.h> and <bp-semctl.h>.
21341         (__old_semctl): Don't use CHECK_SEMCTL.
21342         (__new_semctl): Likewise.
21343         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21344         <bp-checks.h> and <bp-semctl.h>.
21345         (semctl): Don't use CHECK_SEMCTL.
21347         [BZ #13550]
21348         * Makerules (elide-bp-thunks): Remove variable.
21349         (elide-routines.oS): Don't use $(elide-bp-thunks).
21350         (elide-routines.os): Likewise.
21351         (elide-routines.o): Likewise.
21352         (elide-routines.op): Likewise.
21353         (elide-routines.og): Likewise.
21354         (objects): Don't use $(bp-thunks).
21355         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21356         include.
21357         (common-generated): Do not add s-proto-bp.d.
21358         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21359         (int): Likewise.
21360         (typ): Likewise.
21361         Do not generate makefile rules for bounded-pointer thunks.
21362         * sysdeps/generic/bp-thunks.h: Remove file.
21363         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21364         * sysdeps/unix/s-proto-bp.S: Likewise.
21366         [BZ #15062]
21367         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21368         parts of result separately when argument is not close to line from
21369         -i to i and one part of argument is small.
21370         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21371         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21372         * math/libm-test.inc (cacos_test): Add more tests.
21373         (casin_test): Likewise.
21374         (casinh_test): Likewise.
21375         * sysdeps/i386/fpu/libm-test-ulps: Update.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378 2013-01-31  David S. Miller  <davem@davemloft.net>
21380         * po/de.po: Update from translation team.
21382 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21384         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21386 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21388         * configure.in (_AC_PROG_CC_C89): New definition.
21389         * configure: Regenerate.
21391         * configure.in (AC_PROG_CPP): New definition.
21392         * configure: Regenerate.
21394 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21396         * debug/tst-backtrace.h: New file.
21397         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21398         (ret): Remove variable.
21399         (x): Likewise.
21400         (FAIL): Remove macro.
21401         (NO_INLINE): Likewise.
21402         (fn1): Use match function instead of strstr.
21403         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21404         (ret): Remove variable.
21405         (x): Likewise.
21406         (FAIL): Remove macro.
21407         (NO_INLINE): Likewise.
21408         (fn): Use match function instead of strstr.
21409         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21410         (ret): Remove variable.
21411         (x): Likewise.
21412         (FAIL): Remove macro.
21413         (NO_INLINE): Likewise.
21414         (handle_signal): Use match function instead of strstr.
21415         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21416         (ret): Remove variable.
21417         (x): Likewise.
21418         (FAIL): Remove macro.
21419         (NO_INLINE): Likewise.
21420         (handle_signal): Use match function instead of strstr.
21422 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21424         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21426 2013-01-23  David S. Miller  <davem@davemloft.net>
21428         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21429         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21430         argument of CAS if possible.
21431         * sysdeps/sparc/sparc64/bits/atomic.h
21432         (__arch_compare_and_exchange_val_32_acq): Likewise.
21433         (__arch_compare_and_exchange_val_64_acq): Likewise.
21435 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21437         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21438         * sysdeps/posix/ulimit.c: ... this.
21439         Include <limits.h>.
21440         * sysdeps/unix/bsd/ulimit.c: Remove file.
21442 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21444         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21445         (LDFLAGS-tst-array5): Likewise.
21447 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21449         [BZ #15036]
21450         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21451         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21452         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21453         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21455 2013-01-21  David S. Miller  <davem@davemloft.net>
21457         * sysdeps/sparc/backtrace.c: New file.
21458         * sysdeps/sparc/sparc32/backtrace.h: New file.
21459         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21460         * sysdeps/sparc/sparc64/backtrace.h: New file.
21461         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21462         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21463         -funwind-tables.
21465 2013-01-21  Andreas Schwab  <schwab@suse.de>
21467         [BZ #15020]
21468         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21469         closed its stdout.
21471 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21474         "mpa2.h".
21475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21477 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21478             Mark Mitchell  <mark@codesourcery.com>
21479             Tom de Vries  <tom@codesourcery.com>
21480             Paul Pluzhnikov  <ppluzhnikov@google.com>
21482         * debug/tst-backtrace2.c: New file.
21483         * debug/tst-backtrace3.c: Likewise.
21484         * debug/tst-backtrace4.c: Likewise.
21485         * debug/tst-backtrace5.c: Likewise.
21486         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21487         (CFLAGS-tst-backtrace3.c): Likewise.
21488         (CFLAGS-tst-backtrace4.c): Likewise.
21489         (CFLAGS-tst-backtrace5.c): Likewise.
21490         (LDFLAGS-tst-backtrace2): Likewise.
21491         (LDFLAGS-tst-backtrace3): Likewise.
21492         (LDFLAGS-tst-backtrace4): Likewise.
21493         (LDFLAGS-tst-backtrace5): Likewise.
21494         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21495         tst-backtrace4 and tst-backtrace5.
21497 2013-01-18  Anton Blanchard  <anton@samba.org>
21498             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21500         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21501         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21502         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21503         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21505         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21506         "+r" and remove output regs list as redundant.  Add explicit inline
21507         asm to specify register of return val to work around compiler codegen
21508         bug.  Remove (int) cast on return value.  Add return type parameter to
21509         use in macro so that this macro does not truncate return value for
21510         64-bit values.
21511         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21512         pass to INTERNAL_VSYSCALL_NCS.
21513         (INLINE_VSYSCALL): Add 'long int' as return type to
21514         INTERNAL_VSYSCALL_NCS macro invocation.
21515         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21516         INTERNAL_VSYSCALL_NCS macro invocation.
21517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21519 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21521         [BZ #14496]
21522         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21523         Fix application of SIMD FP exception mask.
21525         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21526         mp_no from a power of two.
21527         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21528         __mpexp_twomm1.  Use __pow_mp.
21530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21531         multiplication.
21533 2013-01-17  David S. Miller  <davem@davemloft.net>
21535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21537 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21539         [BZ #15023]
21540         * include/complex.h: Condition contents on [!_COMPLEX_H].
21541         (__kernel_casinhf): New prototype.
21542         (__kernel_casinh): Likewise.
21543         (__kernel_casinhl): Likewise.
21544         * math/Makefile (libm_calls): Add k_casinh.
21545         * math/k_casinh.c: New file.
21546         * math/k_casinhf.c: Likewise.
21547         * math/k_casinhl.c: Likewise.
21548         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21549         finite nonzero arguments.
21550         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21551         finite nonzero arguments.
21552         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21553         finite nonzero arguments.
21554         * math/s_casinh.c: Do not include <float.h>.
21555         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21556         * math/s_casinhf.c: Do not include <float.h>.
21557         (__casinhf): Move code for finite nonzero arguments to
21558         k_casinhf.c.
21559         * math/s_casinhl.c: Do not include <float.h>.
21560         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21561         redefine.
21562         (__casinhl): Move code for finite nonzero arguments to
21563         k_casinhl.c.
21564         * math/libm-test.inc (cacos_test): Add more tests.
21565         * sysdeps/i386/fpu/libm-test-ulps: Update.
21566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21568 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21570         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21571         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21572         [!HAVE_MREMAP]: Remove [defined linux] case.
21573         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21575 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21577         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21579 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21581         * elf/elf.h (R_386_SIZE32): New relocation.
21582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21583         R_386_SIZE32.
21584         (elf_machine_rela): Likewise.
21585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21586         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21588 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21590         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21591         (FP_FAST_FMA): Do not define.
21592         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21593         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21594         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21595         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21596         !_SOFT_FLOAT]: Likewise.
21597         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21598         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21599         value.
21600         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21601         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21602         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21603         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21604         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21605         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21606         file.
21608 2013-01-16  Andreas Schwab  <schwab@suse.de>
21610         [BZ #14327]
21611         * include/stdlib.h (__mktemp): Add declaration.
21612         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21613         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21615 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21617         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21618         definitions.
21619         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21620         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21621         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21622         definitions here.
21623         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21624         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21625         definitions.
21626         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21627         and ONE.
21628         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21629         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21630         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21631         definitions.
21632         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21633         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21634         definitions.
21635         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21637         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21639 2013-01-15  David S. Miller  <davem@davemloft.net>
21641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21642         trunc{,f} to libm-sysdep_routes.
21643         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21645         file.
21646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21648         file.
21649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21650         file.
21651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21653         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21654         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21655         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21656         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21657         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21658         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21661         nearbyint{,f} to libm-sysdep_routes.
21662         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21664         New file.
21665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21666         file.
21667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21668         New file.
21669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21670         file.
21671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21673         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21674         file.
21675         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21676         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21677         file.
21678         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21679         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21680         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21682         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21683         libc_feholdexcept and libc_fesetenv.
21685 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21687         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21689 2013-01-14  David S. Miller  <davem@davemloft.net>
21691         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21692         (SPARC_ASM_VIS2_IFUNC): Likewise.
21693         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21695         use of 'siam' instruction.
21696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21697         Likewise.
21698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21699         Likewise.
21700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21701         Likewise.
21702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21707         file.
21708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21709         file.
21710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21711         file.
21712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21713         file.
21714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21715         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21717         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21719         new VIS2 routines.
21720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21723         Likewise.
21724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21729         routines to libm-sysdep_routines.
21730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21733         fdim/fdimf to libm-sysdep_routines.
21734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21735         file.
21736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21738         file.
21739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21742         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21743         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21744         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21745         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21747 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21750         to optimize copies.
21752         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21754         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21757         local variable MPTWO.
21758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21759         Likewise.
21761 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21763         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21764         GLOB_NOESCAPE.
21766 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21768         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21770 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21772         * manual/pattern.texi (glob_t): Document gl_flags.
21773         (glob64_t): Likewise.
21775 2013-01-11  David S. Miller  <davem@davemloft.net>
21777         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21778         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21779         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21780         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21781         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21782         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21783         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21784         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21785         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21786         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21787         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21788         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21789         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21791         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21792         sparc V9 rather than using V8 code.
21793         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21794         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21796         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21797         Move to...
21798         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21799         Here.
21801 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21803         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21804         not in the main loop.
21805         * configure: Regenerated.
21807 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21809         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21810         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21811         to just #else.
21812         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21813         [!__GLIBC_HAVE_LONG_LONG] case.
21814         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21815         condition to just #else.
21816         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21817         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21818         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21819         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21820         unconditional.
21821         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21822         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21823         #elif condition to just #else.
21824         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21825         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21826         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21827         #elif condition to just #else.
21829 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21831         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21832         (EF_MIPS_ARCH_64): Fix value.
21833         (EF_MIPS_ARCH_32R2): New.
21834         (EF_MIPS_ARCH_64R2): New.
21836 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21838         * Makeconfig (+link-pie-before-libc): New.
21839         (+link-pie-after-libc): Likewise.
21840         (+link-pie-tests): Likewise.
21841         (+link-pie): Rewritten.
21842         (link-before-libc): Remove $(config-LDFLAGS).
21843         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21844         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21845         (config-LDFLAGS): Renamed to ...
21846         (rtld-LDFLAGS): This.
21847         (rtld-tests-LDFLAGS): New macro.
21848         (link-libc-rpath-link): Likewise.
21849         (link-libc-tests-rpath-link): Likewise.
21850         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21851         (link-libc): Prepand $(link-libc-rpath-link).
21852         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21853         (test-program-prefix): New macro.
21854         (test-via-rtld-prefix): Likewise.
21855         (test-program-cmd): Likewise.
21856         (host-test-program-cmd): Likewise.
21857         * Makefile ($(common-objpfx)testrun.sh): Replace
21858         $(run-program-prefix) with $(test-program-prefix).
21859         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21860         $(rtld-LDFLAGS).
21861         ($(common-objpfx)shlib.lds): Likewise.
21862         (build-module-helper): Likewise.
21863         ($(common-objpfx)format.lds): Likewise.
21864         * Rules (binaries-pie-tests): New.
21865         (binaries-pie-notests): Likewise.
21866         (binaries-pie): Rewritten.
21867         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21868         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21869         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21870         (make-test-out): Replace $(host-built-program-cmd) with
21871         $(host-test-program-cmd).
21872         * config.make.in (build-hardcoded-path-in-tests): New variable.
21873         * configure.in (--enable-hardcoded-path-in-tests): New configure
21874         option.
21875         (hardcoded_path_in_tests): New AC_SUBST.
21876         * configure: Regenerated.
21877         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21878         $(built-program-cmd) with $(test-program-cmd).
21879         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21880         (test_program_cmd): This.
21881         * elf/Makefile ($(objpfx)order.out): Run test with
21882         $(test-program-prefix).
21883         ($(objpfx)order2.out): Likewise.
21884         ($(objpfx)tst-initorder.out): Likewise.
21885         ($(objpfx)tst-initorder2.out): Likewise.
21886         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21887         $(test-program-cmd).
21888         ($(objpfx)tst-array1-static.out): Likewise.
21889         ($(objpfx)tst-array2.out): Likewise.
21890         ($(objpfx)tst-array3.out): Likewise.
21891         ($(objpfx)tst-array4.out): Likewise.
21892         ($(objpfx)tst-array5.out): Likewise.
21893         ($(objpfx)tst-array5-static.out): Likewise.
21894         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21895         $(test-program-cmd).
21896         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21897         $(run-program-prefix) with $(test-program-prefix).
21898         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21899         (test_program_prefix): This.
21900         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21901         $(run-program-prefix) with $(test-program-prefix).
21902         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21903         (test_program_prefix): This.
21904         * iconvdata/tst-tables.sh: Likewise.
21905         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21906         $(run-program-prefix) with $(test-program-prefix).
21907         ($(objpfx)tst-translit.out): Likewise.
21908         ($(objpfx)tst-gettext2.out): Likewise.
21909         ($(objpfx)tst-gettext4.out): Likewise.
21910         ($(objpfx)tst-gettext6.out): Likewise.
21911         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21912         (test_program_prefix): This.
21913         * intl/tst-gettext2.sh: Likewise.
21914         * intl/tst-gettext4.sh  Likewise.
21915         * intl/tst-gettext6.sh: Likewise.
21916         * intl/tst-translit.sh: Likewise.
21917         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21918         with $(test-program-cmd).
21919         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21920         $(run-program-prefix) with $(test-program-prefix).
21921         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21922         (test_program_prefix): This.
21923         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21924         $(run-program-prefix) with $(test-program-prefix).
21925         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21926         (test_program_prefix): This.
21927         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21928         * posix/Makefile ($(objpfx)globtest.out): Replace
21929         $(run-via-rtld-prefix) and $(test-wrapper) with
21930         $(test-program-prefix) and $(test-via-rtld-prefix).
21931         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21932         $(test-program-prefix).
21933         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21934         $(host-test-program-cmd).
21935         (tst-spawn-ARGS): Likewise.
21936         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21937         $(test-program-prefix).
21938         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21939         (test_via_rtld_prefix): This.
21940         (test_wrapper): Renamed to ...
21941         (test_program_prefix): This.
21942         (run_program_prefix): Replaced by test_program_prefix.
21943         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21944         (test_program_prefix): This.
21945         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21946         with $(host-test-program-cmd).
21947         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21948         $(run-program-prefix) with $(test-program-prefix).
21949         ($(objpfx)tst-printf.out): Likewise.
21950         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21951         $(test-program-cmd).
21952         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21953         (test_program_prefix): This.
21954         * stdio-common/tst-unbputc.sh: Likewise.
21955         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21956         $(run-program-prefix) with $(test-program-prefix).
21957         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21958         (test_program_prefix): This.
21959         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21960         $(built-program-cmd) with $(test-program-cmd).
21962 2013-01-11  Andreas Jaeger  <aj@suse.de>
21964         [BZ #15003]
21965         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21966         value. Sync with Linux 3.7.
21968 2013-01-10  David S. Miller  <davem@davemloft.net>
21970         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21971         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21972         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21974 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21976         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21977         never set.
21978         * configure: Regenerated.
21980 2013-01-10  David S. Miller  <davem@davemloft.net>
21982         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21983         sparc V9 rather than using V8 code.
21984         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21985         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21987 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21989         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21990         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21991         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21992         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21993         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21994         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21995         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21996         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21997         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21998         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21999         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22000         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22001         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22002         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22003         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22004         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22005         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22006         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22007         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22008         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22009         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22010         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22011         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22012         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22013         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22014         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22015         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22017 2013-01-10  David S. Miller  <davem@davemloft.net>
22019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22021 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22023         * posix/Makefile (tests-static): New variable.
22024         (tests): Add $(tests-static).
22025         (tst-exec-static-ARGS): New variable.
22026         (tst-spawn-static-ARGS): Likewise.
22027         * posix/tst-exec-static.c: New file.
22028         * posix/tst-spawn-static.c: Likewise.
22029         * posix/tst-exec.c: Support run directly.
22030         * posix/tst-spawn.c: Likewise.
22032 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22034         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22035         long.
22036         * math/bits/mathcalls.h (llrint): Likewise.
22037         (llround): Likewise.
22038         * stdlib/stdlib.h (struct drand48_data): Likewise.
22039         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22040         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22041         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22042         Likewise.
22043         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22044         Likewise.
22045         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22046         (elf_greg_t): Likewise.
22047         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22048         (__jmp_buf): Likewise.
22049         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22050         definitions.
22051         (llrint): Likewise, for all definitions.
22052         (llrintl): Likewise.
22054         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22055         Remove [__GNUC__] condition.
22056         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22057         condition to just [__USE_ISOC99].
22058         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22060 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22062         [BZ #14200]
22063         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22064         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22065         defined.
22066         (_POSIX_V6_ILP32_OFF32): Likewise.
22067         (_XBS5_ILP32_OFF32): Likewise.
22068         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22069         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22071 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22073         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22076         doubles __mpexp_twomm1.  Adjust usage.
22077         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22078         Remove.
22080 2013-01-10  Andreas Schwab  <schwab@suse.de>
22082         [BZ #14964]
22083         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22084         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22086 2013-01-09  David S. Miller  <davem@davemloft.net>
22088         [BZ #15003]
22089         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22090         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22091         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22092         (TCP_FASTOPEN): Define.
22093         (tcp_repair_opt): New structure.
22094         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22095         enum values.
22096         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22097         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22098         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22099         (tcp_cookie_transactions): New structure.
22101 2013-01-09  Anton Blanchard  <anton@samba.org>
22103         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22104         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22105         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22106         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22108 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22110         * include/features.h (__USE_ANSI): Remove.
22112 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22114         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22116         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22118 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22120         * sysdeps/s390/fpu/libm-test-ulps: Update.
22122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22124         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22125         (__acr): Likewise.
22126         (__cpy): Likewise.
22127         (norm): Likewise.
22128         (denorm): Likewise.
22129         (__mp_dbl): Likewise.
22130         (__dbl_mp): Likewise.
22131         (add_magnitudes): Likewise.
22132         (sub_magnitudes): Likewise.
22133         (__add): Likewise.
22134         (__sub): Likewise.
22135         (__mul): Likewise.
22136         (__inv): Likewise.
22137         (__dvd): Likewise.
22138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22139         (__acr): Likewise.
22140         (__cpy): Likewise.
22141         (norm): Likewise.
22142         (denorm): Likewise.
22143         (__mp_dbl): Likewise.
22144         (__dbl_mp): Likewise.
22145         (add_magnitudes): Likewise.
22146         (sub_magnitudes): Likewise.
22147         (__add): Likewise.
22148         (__sub): Likewise.
22149         (__mul): Likewise.
22150         (__inv): Likewise.
22151         (__dvd): Likewise.
22152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22153         (__acr): Likewise.
22154         (__cpy): Likewise.
22155         (norm): Likewise.
22156         (denorm): Likewise.
22157         (__mp_dbl): Likewise.
22158         (__dbl_mp): Likewise.
22159         (add_magnitudes): Likewise.
22160         (sub_magnitudes): Likewise.
22161         (__add): Likewise.
22162         (__sub): Likewise.
22163         (__mul): Likewise.
22164         (__inv): Likewise.
22165         (__dvd): Likewise.
22167 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22169         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22170         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22171         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22172         2 && __USE_EXTERN_INLINES]: Likewise.
22174 2013-01-08  Andreas Jaeger  <aj@suse.de>
22176         [BZ# 14985]
22177         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22178         Remove.
22179         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22180         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22182 2013-01-07  Anton Blanchard  <anton@samba.org>
22184         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22185         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22186         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22187         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22188         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22189         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22190         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22191         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22193         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22194         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22195         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22196         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22197         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22198         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22199         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22200         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22201         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22202         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22203         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22205         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22206         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22207         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22208         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22209         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22210         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22211         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22213         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22214         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22216         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22217         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22218         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22219         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22220         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22221         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22223         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22224         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22226         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22228 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22230         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22231         (__MALLOC_PMT): Likewise.
22232         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22233         [__GNUC__], only on [_LIBC].
22234         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22235         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22236         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22237         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22238         forward declaration.
22239         (realloc_hook_ini): Likewise.
22240         (memalign_hook_ini): Likewise.
22241         (__libc_memalign): Do not use __MALLOC_PMT in variable
22242         declaration.
22243         (__libc_valloc): Likewise.
22244         (__libc_pvalloc): Likewise.
22245         (__libc_calloc): Likewise.
22246         (__posix_memalign): Likewise.
22248         [BZ #14996]
22249         * math/s_casinh.c: Include <float.h>.
22250         (__casinh): Do not do computation with squaring and square root
22251         for large arguments.
22252         * math/s_casinhf.c: Include <float.h>.
22253         (__casinhf): Do not do computation with squaring and square root
22254         for large arguments.
22255         * math/s_casinhl.c: Include <float.h>.
22256         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22257         (__casinhl): Do not do computation with squaring and square root
22258         for large arguments.
22259         * math/libm-test.inc (casin_test): Add more tests.
22260         (casinh_test): Likewise.
22261         * sysdeps/i386/fpu/libm-test-ulps: Update.
22262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22264 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22266         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22267         (__x86_64_raw_data_cache_size): Likewise.
22268         (__x86_64_data_cache_size_half): Likewise.
22269         (__x86_64_raw_data_cache_size_half): Likewise.
22270         (__x86_64_shared_cache_size): Likewise.
22271         (__x86_64_raw_shared_cache_size): Likewise.
22272         (__x86_64_shared_cache_size_half): Likewise.
22273         (__x86_64_raw_shared_cache_size_half): Likewise.
22274         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22275         to ...
22276         (__x86_data_cache_size): This.
22277         (__x86_64_raw_data_cache_size): Renamed to ...
22278         (__x86_raw_data_cache_size): This.
22279         (__x86_64_data_cache_size_half): Renamed to ...
22280         (__x86_data_cache_size_half): This.
22281         (__x86_64_raw_data_cache_size_half): Renamed to ...
22282         (__x86_raw_data_cache_size_half): This.
22283         (__x86_64_shared_cache_size): Renamed to ...
22284         (__x86_shared_cache_size): This.
22285         (__x86_64_raw_shared_cache_size): Renamed to ...
22286         (__x86_raw_shared_cache_size): This.
22287         (__x86_64_shared_cache_size_half): Renamed to ...
22288         (__x86_shared_cache_size_half): This.
22289         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22290         (__x86_raw_shared_cache_size_half): This.
22291         * sysdeps/x86_64/memcpy.S: Updated.
22292         * sysdeps/x86_64/memset.S: Likewise.
22293         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22294         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22295         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22297 2013-01-04  David S. Miller  <davem@davemloft.net>
22299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22301 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22303         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22304         1 to avoid redefinition warning.
22305         (__USE_GNU): Don't define.
22306         (init_signaling_nan): Protoize.
22308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22310 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22312         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22314         (__cpymn): Likewise.
22315         (norm): Remove commented code.
22316         (denorm): Likewise.
22317         (__mp_dbl): Likewise.
22318         (__inv): Likewise.
22319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22320         (__cpymn): Likewise.
22321         (norm): Remove commented code.
22322         (denorm): Likewise.
22323         (__mp_dbl): Likewise.
22324         (__inv): Likewise.
22326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22327         mp_no value for 1.0 and 2.0.
22328         (norm): Use RADIXI instead of radixi.d.
22329         (denorm): Likewise.
22330         (__mul): Use 0.0 instead of zero.d.
22331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22332         mp_no value for 1.0 and 2.0.
22333         (norm): Use RADIXI instead of radixi.d.
22334         (denorm): Likewise.
22335         (__mul): Use 0.0 instead of zero.d.
22337 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22339         [BZ #14994]
22340         * math/s_casinh.c (__casinh): Reduce finite argument to first
22341         quadrant then set signs of results at the end.
22342         * math/s_casinhf.c (__casinhf): Likewise.
22343         * math/s_casinhl.c (__casinhl): Likewise.
22344         * math/libm-test.inc (casin_test): Add more tests.
22345         (casinh_test): Likewise.
22346         * sysdeps/i386/fpu/libm-test-ulps: Update.
22347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22349 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22351         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22353         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22355         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22356         declarations.
22357         (denorm): Likewise.
22358         (__mp_dbl): Likewise.
22359         (__inv): Likewise.
22361         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22362         and adjust the header comment.
22364         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22365         variable name from declaration.
22367 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22370         Initialize COMMON_CPUID_INDEX_7 element.
22371         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22372         (CPUID_RTM): Likewise.
22373         (HAS_RTM): Likewise.
22374         (COMMON_CPUID_INDEX_7): New enum.
22376 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22378         [BZ #14981]
22379         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22380         size is zero, record memory as freed.
22382 2013-01-03  Andreas Jaeger  <aj@suse.de>
22384         * po/ia.po: Add new Interlingua translation.
22386 2012-01-03  Allan McRae  <allan@archlinux.org>
22388         * locale/programs/localedef.c: Fix description of '--posix' flag.
22390 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22392         * NEWS: Update dates in second copyright notice.
22393         * README: Update copyright dates in example.
22394         * manual/libc.texinfo: Update copyright dates.
22395         * scripts/test-installation.pl: Update copyright date in --version
22396         output.
22398         * hurd/ctty-input.c: Fix copyright notice formatting.
22399         * hurd/ctty-output.c: Likewise.
22400         * hurd/dtable.c: Likewise.
22401         * hurd/hurd-raise.c: Likewise.
22402         * hurd/hurdprio.c: Likewise.
22403         * hurd/msgportdemux.c: Likewise.
22404         * misc/sys/file.h: Likewise.
22405         * misc/sys/ioctl.h: Likewise.
22406         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22407         * sysdeps/mach/hurd/chdir.c: Likewise.
22408         * sysdeps/mach/hurd/fchdir.c: Likewise.
22409         * sysdeps/mach/hurd/rename.c: Likewise.
22410         * sysdeps/mach/hurd/rmdir.c: Likewise.
22411         * sysdeps/mach/hurd/seekdir.c: Likewise.
22412         * sysdeps/mach/hurd/setsid.c: Likewise.
22413         * sysdeps/posix/wait3.c: Likewise.
22415         * All files with FSF copyright notices: Update copyright dates
22416         using scripts/update-copyrights.
22417         * intl/plural.c: Regenerated.
22418         * locale/programs/charmap-kw.h: Likewise.
22419         * locale/programs/locfile-kw.h: Likewise.
22421 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22424         four values.
22426         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22427         calculation loop and add branch prediction.
22429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22430         check access beyond bounds of m1np.
22432         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22433         MPTWO.
22434         (__inv): Remove local variable MPTWO to use the global
22435         constant.
22436         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22438         variable MPTWO.
22439         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22440         MP3HALFS static const.
22442 2013-01-01  David S. Miller  <davem@davemloft.net>
22444         * po/ca.po: Update from translation team.
22446 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22448         * scripts/update-copyrights: New file.
22449         * Makeconfig: Reformat copyright notice.
22450         * ctype/ctype.h: Likewise.
22451         * debug/swprintf_chk.c: Likewise.
22452         * elf/dl-cache.c: Likewise.
22453         * elf/dl-debug.c: Likewise.
22454         * elf/dl-object.c: Likewise.
22455         * grp/initgroups.c: Likewise.
22456         * hurd/Makefile: Likewise.
22457         * hurd/hurd/signal.h: Likewise.
22458         * hurd/hurdfault.c: Likewise.
22459         * hurd/hurdioctl.c: Likewise.
22460         * hurd/hurdlookup.c: Likewise.
22461         * hurd/intr-msg.c: Likewise.
22462         * iconv/gconv_open.c: Likewise.
22463         * libio/swprintf.c: Likewise.
22464         * locale/lc-ctype.c: Likewise.
22465         * locale/nl_langinfo.c: Likewise.
22466         * mach/Machrules: Likewise.
22467         * mach/Makefile: Likewise.
22468         * malloc/obstack.h: Likewise.
22469         * manual/Makefile: Likewise.
22470         * manual/tsort.awk: Likewise.
22471         * misc/bits/stab.def: Likewise.
22472         * nis/nis_print_group_entry.c: Likewise.
22473         * nis/nis_table.c: Likewise.
22474         * nis/nss_compat/compat-pwd.c: Likewise.
22475         * nis/nss_compat/compat-spwd.c: Likewise.
22476         * po/Makefile: Likewise.
22477         * posix/fnmatch.c: Likewise.
22478         * posix/regex.h: Likewise.
22479         * resolv/Makefile: Likewise.
22480         * resolv/nss_dns/dns-network.c: Likewise.
22481         * resolv/res_hconf.c: Likewise.
22482         * scripts/gen-sorted.awk: Likewise.
22483         * soft-fp/soft-fp.h: Likewise.
22484         * stdio-common/printf.h: Likewise.
22485         * stdlib/monetary.h: Likewise.
22486         * stdlib/random.c: Likewise.
22487         * stdlib/random_r.c: Likewise.
22488         * sysdeps/generic/Makefile: Likewise.
22489         * sysdeps/gnu/Makefile: Likewise.
22490         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22499         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22510         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22511         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22512         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22513         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22514         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22515         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22516         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22517         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22518         * sysdeps/mach/hurd/errnos.awk: Likewise.
22519         * sysdeps/mach/hurd/fork.c: Likewise.
22520         * sysdeps/mach/hurd/getcwd.c: Likewise.
22521         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22522         * sysdeps/mach/hurd/mmap.c: Likewise.
22523         * sysdeps/mach/hurd/utimes.c: Likewise.
22524         * sysdeps/mach/hurd/xmknod.c: Likewise.
22525         * sysdeps/posix/profil.c: Likewise.
22526         * sysdeps/posix/readdir_r.c: Likewise.
22527         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22528         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22529         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22530         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22532         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22533         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22534         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22536         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22537         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22538         * sysdeps/pthread/lio_listio.c: Likewise.
22539         * sysdeps/sparc/dl-procinfo.h: Likewise.
22540         * sysdeps/unix/i386/sysdep.S: Likewise.
22541         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22542         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22543         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22544         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22546         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22547         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22548         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22549         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22550         * sysdeps/wordsize-32/divdi3.c: Likewise.
22551         * time/sys/time.h: Likewise.
22552         * wcsmbs/Makefile: Likewise.
22554 2013-01-01  David S. Miller  <davem@davemloft.net>
22556         * po/fr.po: Update from translation team.
22558         * catgets/gencat.c: Update copyright year.
22559         * csu/version.c: Likewise.
22560         * debug/catchsegv.sh: Likewise.
22561         * debug/pcprofiledump.c: Likewise.
22562         * debug/xtrace.sh: Likewise.
22563         * elf/ldconfig.c: Likewise.
22564         * elf/ldd.bash.in: Likewise.
22565         * elf/pldd.c: Likewise.
22566         * elf/sotruss.ksh: Likewise.
22567         * elf/sprof.c: Likewise.
22568         * iconv/iconv_prog.c: Likewise.
22569         * iconv/iconvconfig.c: Likewise.
22570         * locale/programs/locale.c: Likewise.
22571         * locale/programs/localedef.c: Likewise.
22572         * login/programs/pt_chown.c: Likewise.
22573         * malloc/memusage.sh: Likewise.
22574         * malloc/memusagestat.c: Likewise.
22575         * malloc/mtrace.pl: Likewise.
22576         * nscd/nscd.c: Likewise.
22577         * nss/getent.c: Likewise.
22578         * nss/makedb.c: Likewise.
22579         * posix/getconf.c: Likewise.
22581 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22583         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22584         numbers.
22586 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22588         * math/bits/mathcalls.h (modf): Use __nonnull.
22590 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22592         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22593         (split): Use macro CN instead of the bare value.
22594         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22595         could be used.
22596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22597         instead of the bare value.
22598         (power1): Likewise.
22600 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22602         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22603         __ATAN_TWOM.
22604         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22606         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22607         their values.
22608         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22609         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22610         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22611         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22613 2012-12-28  Andreas Jaeger  <aj@suse.de>
22615         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22616         values are from Linux 3.7.
22618         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22619         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22621 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22623         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22624         TRUE case.
22626         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22627         (norm): Likewise.
22628         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22629         variables with preprocessor constants.
22630         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22631         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22632         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22634 2012-12-27  Bruno Haible  <bruno@clisp.org>
22636         [BZ #14317]
22637         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22638         only if needed.
22640 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22643         and use variable directly.
22644         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22646         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22647         MPONE.
22648         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22649         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22650         variable MPONE.
22651         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22653         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22654         include directive.  Remove local variable MPONE.
22655         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22656         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22657         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22659 2012-12-25  David S. Miller  <davem@davemloft.net>
22661         * version.h (RELEASE): Set to "development".
22662         (VERSION): Set to "2.17.90".
22663         * NEWS: Add 2.18 section.
22665 2012-12-21  David S. Miller  <davem@davemloft.net>
22667         * po/hr.po: Update from translation team.
22669 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22671         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22673 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22675         * NEWS:  Mention new memcpy for MIPS.
22677 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22679         * manual/contrib.texi (Contributors): Spelling correction.
22681 2012-12-15  David S. Miller  <davem@davemloft.net>
22683         * po/ru.po: Update from translation team.
22685 2012-12-13  David S. Miller  <davem@davemloft.net>
22687         * NEWS: Mention IFUNC testsuite enhancements.
22689         * po/pl.po: Update from translation team.
22690         * po/bg.po: Likewise.
22692         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22693         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22695 2012-12-11  David S. Miller  <davem@davemloft.net>
22697         * po/sv.po: Update from translation team.
22699         * po/vi.po: Update from translation team.
22701         * po/cs.po: Update from translation team.
22703         * po/de.po: Update from translation team.
22704         * po/eo.po: Likewise.
22705         * po/nl.po: Likewise.
22707 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22709         [BZ #14246]
22710         * manual/argp.texi (Argp Helper Functions): Move node to follow
22711         Argp Parsing State.
22713         [BZ #14872]
22714         * manual/conf.texi (Limits on File System Capacity): Mention if
22715         terminating null is included in the max size.
22717 2012-12-10  Andreas Jaeger  <aj@suse.de>
22719         * po/cs.po: Update from translation team.
22721 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22723         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22724         void pointer and cast to uintptr_t.
22725         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22726         path.
22727         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22728         * sysdeps/s390/s390-64/memset.S: Likewise.
22730 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22732         [BZ #14833]
22733         * menual/message.texi (Message Translation): Fix typos.
22734         (Helper programs for gettext): Likewise.
22736 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22738         [BZ #14898]
22739         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22740         Change to -1.
22742 2012-12-07  David S. Miller  <davem@davemloft.net>
22744         * po/libc.pot: Update.
22746 2012-12-07  Richard Henderson  <rth@redhat.com>
22748         [BZ #10114]
22749         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22750         normal/normal case to before the switch.
22751         (_FP_DIV): Likewise.
22753 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22754             Mike Frysinger  <vapier@gentoo.org>
22756         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22757         check for __NR_fadvise64_64.
22759 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22761         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22762         0, not just to plain "0" as a statement.
22763         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22764         with cw.
22766 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22768         * NEWS: Use sourceware.org in Bugzilla URL.
22770 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22773         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22775         * stdio-common/tst-put-error.c (do_test): Add newline to the
22776         padded test to ensure flush.
22778 2012-12-05  Jeff Law  <law@redhat.com>
22780         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22782 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22784         * README: Don't refer to ports add-on as distributed separately.
22785         Mention AArch64 in list of systems supported in the ports add-on.
22787         * LICENSES: Add more non-FSF copyright and license notices.
22789         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22790         ((unused)).
22792         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22794         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22795         10000 as width of padded output.
22797 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22799         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22801         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22802         variable LX with __attribute__ ((unused)).
22803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22804         Likewise.
22805         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22807         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22808         with __attribute__ ((unused)).
22810 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22812         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22814 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22816         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22817         (CFLAGS-nldbl-acos.c): New variable.
22818         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22819         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22820         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22821         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22822         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22823         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22824         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22825         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22826         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22827         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22828         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22829         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22830         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22831         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22832         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22833         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22834         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22835         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22836         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22837         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22838         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22839         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22840         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22841         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22842         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22843         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22844         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22845         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22846         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22847         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22848         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22849         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22850         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22851         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22852         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22853         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22854         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22855         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22856         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22857         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22858         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22859         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22860         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22861         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22862         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22863         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22864         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22865         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22866         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22867         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22868         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22869         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22870         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22871         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22872         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22873         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22874         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22875         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22876         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22877         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22878         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22879         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22880         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22881         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22882         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22883         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22884         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22885         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22886         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22887         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22888         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22889         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22890         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22891         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22892         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22893         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22894         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22895         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22896         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22897         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22898         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22899         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22900         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22901         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22902         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22903         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22904         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22905         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22906         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22907         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22908         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22909         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22910         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22911         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22912         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22913         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22914         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22917         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22919         [BZ #14914]
22920         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22921         whole low double instead of just low 47 bits when splitting values
22922         into two parts.
22924 2012-12-03  Allan McRae  <allan@archlinux.org>
22926         * manual/stdio.texi (Predefined Printf Handlers): Remove
22927         @hsep and @vsep usage.
22929 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22931         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22932         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22934 2012-12-03  Jeff Law  <law@redhat.com>
22936         * time/sys/time.h (settimeofday): Do not mark TV argument
22937         as __nonnull.
22939 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22941         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22942         when currently writing and seek to current position when not.
22943         * libio/Makefile (tests): Remove bug-fclose1.
22944         * libio/bug-fclose1.c: Delete.
22946 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22948         * manual/arith.texi (feenableexcept): Fix typo.
22949         (fedisableexcept): Likewise.
22951 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22953         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22954         second, differently-typed declaration, rather than a cast.
22956 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22958         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22959         * include/rpc/svc.h: ... here.
22961 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22963         [BZ #13013]
22964         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22965         depending n and resplen2 to catch cases where answer
22966         equals answerp2.
22968 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22970         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22971         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22973 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22975         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22977 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22979         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22981 2012-11-28  Jeff Law  <law@redhat.com>
22983         [BZ #13761]
22984         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22985         dataset_temporary.  Track alloca usage into alloca_used.
22986         If dataset is large allocate and release it via malloc/free.
22988 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22990         [BZ #14197]
22991         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22993 2012-11-28  David S. Miller  <davem@davemloft.net>
22995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22997 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22999         [BZ #14803]
23000         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23001         of pi/2 rounded to nearest to 64 bits.
23002         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23003         nearest to 64 bits.
23004         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23005         bits.
23007 2012-11-28  Jeff Law <law@redhat.com>
23008             Martin Osvald <mosvald@redhat.com>
23010         [BZ #14889]
23011         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23012         * sunrpc/svc.c: Include time.h.
23013         (__svc_accept_failed): New function.
23014         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23015         any reason other than EINTR, call __svc_accept_failed.
23016         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23017         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23019 2012-11-28  Andreas Schwab  <schwab@suse.de>
23021         * scripts/abilist.awk: Also handle indirect functions in .opd
23022         section.
23024 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23026         [BZ #13881]
23027         * sysdeps/x86/fpu/powl_helper.c: New file.
23028         * sysdeps/x86/fpu/Makefile: Likewise.
23029         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23030         (p3): New object.
23031         (__ieee754_powl): Use __powl_helper for finite arguments except
23032         integer exponents below 8.
23033         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23034         (p3): New object.
23035         (__ieee754_powl): Use __powl_helper for finite arguments except
23036         integer exponents below 8.
23037         * math/libm-test.inc (pow_test): Add more tests and enable some
23038         previously disabled tests.
23039         * sysdeps/i386/fpu/libm-test-ulps: Update.
23040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23042 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23043             Carlos O'Donell  <carlos_odonell@mentor.com>
23045         * nss/makedb.c (is_prime): Assert that input is odd and greater
23046         than 4.  Note that fact in a comment too.
23047         (next_prime): Add 4 to input.
23049 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23051         [BZ #11741]
23052         * libio/Makefile (tests): Add test case tst-fwrite-error.
23053         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23054         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23055         * libio/tst-fwrite-error.c: New test case.
23057 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23059         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23060         before casting to void *.
23061         * include/libc-internal.h (__pointer_type): New macro.
23062         (__integer_if_pointer_type_sub): Likewise.
23063         (__integer_if_pointer_type): Likewise.
23064         (cast_to_integer): Likewise.
23065         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23066         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23067         before casting to atomic64_t.
23068         (atomic_exchange_acq): Likewise.
23069         (__arch_exchange_and_add_body): Likewise.
23070         (__arch_add_body): Likewise.
23071         (atomic_add_negative): Likewise.
23072         (atomic_add_zero): Likewise.
23074 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23076         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23077         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23078         (add_fdes): Likewise.
23079         (linear_search_fdes): Likewise.
23080         (binary_search_unencoded_fdes): Likewise.
23082 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23084         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23086 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23088         * configure.in: Autodetect C++ header directories.
23089         * configure: Regenerated.
23091 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23093         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23095 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23099 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23101         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23102         LDBL_MANT_DIG == 106]: Disable some tests.
23103         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23104         Likewise.
23105         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23106         Likewise.
23108         [BZ #14871]
23109         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23110         input for small inputs.  Return +/- pi/2 for large inputs.
23111         * math/libm-test.inc (atan_test): Add more tests.
23113         * sysdeps/generic/unwind-dw2-fde-glibc.c
23114         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23115         __attribute__ ((unused)).
23117         [BZ #14645]
23118         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23119         x * y if x and y are nonzero and z is zero.
23121         [BZ #14811]
23122         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23123         nonzero exponents with absolute value below 0x1p-117 to +/-
23124         0x1p-117.
23126         [BZ #14869]
23127         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23128         up arguments below 2**-450, not just those below 2**-500.
23129         * math/libm-test.inc (hypot_test): Add another test.
23131         [BZ #14868]
23132         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23133         Return a+b for ratio over 2**120, not 2**60.
23134         * math/libm-test.inc (hypot_test): Add another test.
23136         * math/libm-test.inc (clog_test): Use
23137         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23138         (clog10_test): Likewise.
23140         [BZ #6778]
23141         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23143 2012-11-22  Andreas Schwab  <schwab@suse.de>
23145         * sysdeps/i386/fpu/libm-test-ulps: Update.
23147 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23149         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23150         printf output with newline.
23152 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23154         [BZ #14865]
23155         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23156         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23157         -z nodlopen, -z initfirst and -z execstack support.
23158         * configure: Regenerated.
23160         * elf/elf.h (DF_1_NODIRECT): New macro.
23161         (DF_1_IGNMULDEF): Likewise.
23162         (DF_1_NOKSYMS): Likewise.
23163         (DF_1_NOHDR): Likewise.
23164         (DF_1_EDITED): Likewise.
23165         (DF_1_NORELOC): Likewise.
23166         (DF_1_SYMINTPOSE): Likewise.
23167         (DF_1_GLOBAUDIT): Likewise.
23168         (DF_1_SINGLETON): Likewise.
23169         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23170         DT_1_SUPPORTED_MASK bits.
23171         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23173 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23175         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23177 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23179         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23180         macro.
23182         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23183         (sendmmsg): Move declarations...
23184         * socket/sys/socket.h: ... here.
23185         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23186         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23187         include it from...
23188         * socket/recvmmsg.c: ... this new file.
23189         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23190         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23191         definition of __sendmmsg hidden.
23192         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23193         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23194         Move ENOSYS stub into and include it from...
23195         * socket/sendmmsg.c: ... this new file.
23196         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23197         (sysdep_routines): Move recvmmsg and sendmmsg...
23198         * socket/Makefile (routines): ... here.
23199         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23200         (GLIBC_PRIVATE): Add __sendmmsg.
23201         * include/sys/socket.h (__sendmmsg): Add declarations.
23202         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23203         sendmmsg.
23205 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23207         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23208         variable I1 with __attribute__ ((unused)).
23209         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23211 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23213         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23214         DUMMY variables with __attribute__ ((unused)).
23216         * bits/byteswap.h: Include <bits/types.h>.
23217         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23219 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23221         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23222         string_t.  Do not manually set errno.
23223         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23224         length with __strnlen.  Make sure to both set errno and return it on
23225         failure.
23227 2012-11-19  David S. Miller  <davem@davemloft.net>
23229         With help from Joseph Myers.
23230         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23231         very large arguments properly.
23232         * math/libm-test.inc (atan_test): New tests.
23233         (atan2_test): New tests.
23234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23237 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23239         [BZ #14856]
23240         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23241         Define to 3.
23243         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23244         [POSIX] (EADDRNOTAVAIL): Likewise.
23245         [POSIX] (EAFNOSUPPORT): Likewise.
23246         [POSIX] (EALREADY): Likewise.
23247         [POSIX] (ECONNABORTED): Likewise.
23248         [POSIX] (ECONNREFUSED): Likewise.
23249         [POSIX] (ECONNRESET): Likewise.
23250         [POSIX] (EDESTADDRREQ): Likewise.
23251         [POSIX] (EDQUOT): Likewise.
23252         [POSIX] (EHOSTUNREACH): Likewise.
23253         [POSIX] (EIDRM): Likewise.
23254         [POSIX] (EISCONN): Likewise.
23255         [POSIX] (ELOOP): Likewise.
23256         [POSIX] (EMULTIHOP): Likewise.
23257         [POSIX] (ENETDOWN): Likewise.
23258         [POSIX] (ENETUNREACH): Likewise.
23259         [POSIX] (ENOBUFS): Likewise.
23260         [POSIX] (ENODATA): Likewise.
23261         [POSIX] (ENOLINK): Likewise.
23262         [POSIX] (ENOMSG): Likewise.
23263         [POSIX] (ENOPROTOOPT): Likewise.
23264         [POSIX] (ENOSR): Likewise.
23265         [POSIX] (ENOSTR): Likewise.
23266         [POSIX] (ENOTCONN): Likewise.
23267         [POSIX] (ENOTSOCK): Likewise.
23268         [POSIX] (EOPNOTSUPP): Likewise.
23269         [POSIX] (EOVERFLOW): Likewise.
23270         [POSIX] (EPROTO): Likewise.
23271         [POSIX] (EPROTONOSUPPORT): Likewise.
23272         [POSIX] (EPROTOTYPE): Likewise.
23273         [POSIX] (ESTALE): Likewise.
23274         [POSIX] (ETIME): Likewise.
23275         [POSIX] (ETXTBSY): Likewise.
23276         [POSIX] (EWOULDBLOCK): Likewise.
23277         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23278         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23279         [POSIX] (SEEK_CUR): Likewise.
23280         [POSIX] (SEEK_END): Likewise.
23281         [POSIX || UNIX98] (mode_t): Do not require.
23282         [POSIX] (off_t): Likewise.
23283         [POSIX] (pid_t): Likewise.
23284         [POSIX] (sys/stat.h): Do not allow header.
23285         [POSIX] (unistd.h): Likewise.
23286         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23287         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23288         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23289         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23290         require.
23291         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23292         sigevent): Specify elements.
23293         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23294         entry.
23295         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23296         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23298         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23299         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23300         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23301         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23302         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23303         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23304         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23305         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23306         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23307         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23308         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23309         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23310         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23311         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23312         Likewise.
23313         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23314         Likewise.
23315         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23316         Likewise.
23317         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23318         Likewise.
23319         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23320         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23321         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23322         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23323         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23324         Specify lower bound on value.
23325         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23326         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23327         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23328         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23329         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23330         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23331         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23332         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23333         value.
23334         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23335         as optional.
23336         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23337         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23338         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23339         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23340         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23341         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23342         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23343         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23344         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23345         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23346         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23347         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23348         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23349         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23350         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23351         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23352         entry.
23353         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23354         optional.
23355         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23356         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23357         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23358         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23359         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23360         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23361         Likewise.
23362         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23363         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23364         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23365         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23366         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23367         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23368         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23369         as optional.
23370         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23371         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23372         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23373         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23374         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23375         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23376         specify as optional.
23377         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23378         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23379         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23380         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23381         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23382         [XPG3] (NL_LANGMAX): Likewise.
23383         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23384         [POSIX || XPG3] (NL_NMAX): Likewise.
23385         [POSIX || XPG3] (NL_SETMAX): Likewise.
23386         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23387         [XPG3] (NZERO): Likewise.
23388         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23389         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23390         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23391         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23392         (REG_ERANGE): Expect.
23393         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23394         optional-constant.
23395         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23396         Use (void) in prototype.
23397         [POSIX] (*_t): Allow.
23398         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23399         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23400         (WRDE_BADVAL): Expect.
23402         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23403         expect.
23404         [XPG3 || XPG4] (O_RSYNC): Likewise.
23405         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23406         Likewise.
23407         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23408         [XPG3 || XPG4] (sigqueue): Likewise.
23409         [XPG3 || XPG4] (sigtimedwait): Likewise.
23410         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23411         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23412         [XPG3 || XPG4] (vsnprintf): Likewise.
23413         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23414         Likewise.
23415         [XPG3 || XPG4] (blksize_t): Likewise.
23416         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23417         Likewise.
23418         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23419         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23420         [XPG3 || XPG4] (struct itimerspec): Likewise.
23421         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23422         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23423         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23424         [XPG3 || XPG4] (clockid_t): Likewise.
23425         [XPG3 || XPG4] (timer_t): Likewise.
23426         [XPG3 || XPG4] (clock_getres): Likewise.
23427         [XPG3 || XPG4] (clock_gettime): Likewise.
23428         [XPG3 || XPG4] (clock_settime): Likewise.
23429         [XPG3 || XPG4] (nanosleep): Likewise.
23430         [XPG3 || XPG4] (timer_create): Likewise.
23431         [XPG3 || XPG4] (timer_delete): Likewise.
23432         [XPG3 || XPG4] (timer_gettime): Likewise.
23433         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23434         [XPG3 || XPG4] (timer_settime): Likewise.
23435         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23436         [XPG3 || XPG4] (getlogin_r): Likewise.
23437         [XPG3 || XPG4] (pread): Likewise.
23438         [XPG3 || XPG4] (pthread_atfork): Likewise.
23439         [XPG3 || XPG4] (pwrite): Likewise.
23441         [BZ #14835]
23442         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23443         <bits/siginfo.h>.
23445 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23447         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23448         finalizing MALLSTREAM.
23450         * sysdeps/mach/hurd/syncfs.c: New file.
23452 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23454         [BZ #14719]
23455         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23456         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23457         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23458         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23459         (_nss_dns_gethostbyname4_r): Likewise.
23460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23461         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23463 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23465         [BZ #13763]
23466         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23468 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23470         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23471         * elf/cache.c (print_entry): Print ",AArch64" for
23472         FLAG_AARCH64_LIB64
23474         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23475         * elf/cache.c (print_entry): Print ",hard-float" for
23476         FLAG_ARM_LIBHF.
23478 2012-11-18  David S. Miller  <davem@davemloft.net>
23480         With help from Joseph Myers.
23481         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23482         cutoff to 2**-13.
23483         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23484         cutoff to 2**-25.
23485         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23486         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23487         small.
23488         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23489         * math/libm-test.inc (y0_test): New tests.
23490         (y1_test): New tests.
23491         * sysdeps/i386/fpu/libm-test-ulps: Update.
23492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23495 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23497         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23498         64-bit targets.
23499         * configure: Regenerated.
23501 2012-11-17  David S. Miller  <davem@davemloft.net>
23503         [BZ #14811]
23504         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23505         nonzero exponents with absolute value below 0x1p-128 to +/-
23506         0x1p-128.
23508 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23510         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23512         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23514         * posix/getconf-speclist.c: New file.
23515         * posix/posix-envs.def: Likewise.
23516         * posix/confstr.c (START_ENV_GROUP): New macro.
23517         (END_ENV_GROUP): Likewise.
23518         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23519         (KNOWN_PRESENT_ENV_STRING): Likewise.
23520         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23521         (UNKNOWN_ENVIRONMENT): Likewise.
23522         (confstr): Include posix-envs.def instead of handling
23523         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23524         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23525         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23526         (END_ENV_GROUP): Likewise.
23527         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23528         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23529         (UNKNOWN_ENVIRONMENT): Likewise.
23530         (__sysconf): Include posix-envs.def instead of handling associated
23531         cases directly here.
23532         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23533         preprocessing getconf-speclist.c rather than running getconf or
23534         generating empty file.
23536 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23538         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23540 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23542         [BZ #14672]
23543         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23545 2012-11-16  David S. Miller  <davem@davemloft.net>
23547         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23548         smaller than LDBL_EPSILON/2.0L, just return xm1.
23550 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23552         * elf/tst-array1.c (init): Set constructor priority to 1000.
23553         (fini): Set destructor priority to 1000.
23554         * elf/tst-array2dep.c: Likewise.
23556 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23558         [BZ #11741]
23559         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23560         (_IO_new_file_xsputn): Also return EOF if none of the input
23561         data was written when overflow failed.
23562         * libio/iopadn.c (_IO_padn): Likewise.
23563         * libio/iowpadn.c (_IO_wpadn): Likewise.
23564         * stdio-common/tst-put-error.c: Add copyright notice.
23565         (do_test): Add case for printing padded string.
23566         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23567         _IO_padn returned error.
23568         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23569         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23570         return EOF.
23572 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23574         * libio/libioP.h: Add comment note that the references to C++
23575         bits are now obsolete.
23577 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23579         * math/libm-test.inc (check_complex): Use asprintf.
23581 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23583         * debug/pcprofiledump.c (print_version): Update copyright year.
23584         * malloc/memusagestat.c (print_version): Likewise.
23586 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23588         [BZ #14831]
23589         * elf/Makefile (tests): Add tst-audit8.
23590         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23591         ($(objpfx)tst-audit8.out): New target.
23592         (tst-audit8-ENV): New variable.
23593         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23594         audit if l_reloc_result is NULL.
23595         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23596         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23597         * elf/tst-audit8.c: New file.
23599 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23601         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23602         * misc/Makefile (CFLAGS-select.c): Define.
23603         * posix/Makefile (CFLAGS-pause.c): Define.
23605 2012-11-13  David S. Miller  <davem@davemloft.net>
23607         * crypt/Makefile: Move test targets after toplevel Rules
23608         inclusion.  Grab any necessary sysdep routines when linking.
23609         * crypt/md5.c (md5_process_block): Remove define, we will always
23610         name it __md5_process_block.
23611         (md5_finish_ctx): Update md5_process_block call.
23612         (md5_stream): Likewise.
23613         (md5_process_bytes): Likewise.
23614         (md5_process_block): Rename to __md5_process_block and move to ...
23615         * crypt/md5-block.c: ... here.
23616         * crypt/sha256.c (sha256_process_block): Move to ...
23617         * crypt/sha256-block.c: ... here.
23618         * crypt/sha512.c (sha512_process_block): Move to ...
23619         * crypt/sha512-block.c: ... here.
23620         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23621         path.
23622         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23623         * sysdeps/sparc/sparc64/multiarch/Makefile
23624         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23625         crypt subdir.
23626         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23627         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23628         multiarch changes.
23629         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23630         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23631         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23632         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23633         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23634         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23635         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23636         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23637         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23638         file.
23639         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23640         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23641         file.
23642         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23644 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23646         * timezone/tzselect.ksh: Update from tzcode git revision
23647         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23648         * timezone/zdump.c: Likewise.
23649         * timezone/zic.c: Likewise.
23650         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23651         in TZVERSION setting, not $(PKGVERSION).
23652         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23653         REPORT_BUGS_TO settings.
23655         [BZ #14838]
23656         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23657         macro.
23659 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23661         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23662         detection to immediately after _FP_ROUND().
23663         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23664         bits are 0.
23666 2012-11-11  David S. Miller  <davem@davemloft.net>
23668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23669         inttypes.h
23670         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23671         __close rather than their public counterparts.
23673 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23675         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23676         file.
23677         [UNIX98] (sem_timedwait): Do not expect.
23678         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23679         [XPG4 || UNIX98] (sockatmark): Do not expect.
23680         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23681         (clock_getcpuclockid): Do not expect.
23682         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23683         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23684         Do not expect.
23685         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23686         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23687         [UNIX98] (vwscanf): Likewise.
23688         [UNIX98] (vswscanf): Likewise.
23690 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23692         * timezone/version.h: Remove file.
23693         * timezone/README: Do not refer to version.h.
23694         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23695         $(objpfx)version.h.
23696         ($(objpfx)zdump.o): Likewise.
23697         ($(objpfx)version.h): New target.
23699         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23700         2012i.
23701         * timezone/README: Don't mention modification to tzselect.ksh.
23702         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23703         work on unmodified tzselect.ksh.  Substitute version numbers in
23704         tzselect.ksh.
23706         * Makefile (format-me): Remove.
23707         (INSTALL): Adjust indentation.  Use commands directly instead of
23708         using $(format-me).
23710         * aclocal.m4 (ACX_PKGVERSION): New macro.
23711         (ACX_BUGURL): Likewise.
23712         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23713         (PKGVERSION): New AC_DEFINE_UNQUOTED.
23714         (REPORT_BUGS_TO): Likewise.
23715         * configure: Regenerated.
23716         * config.h.in (PKGVERSION): New macro.
23717         (REPORT_BUGS_TO): Likewise.
23718         * config.make.in (PKGVERSION): New variable.
23719         (PKGVERSION_TEXI): Likewise.
23720         (REPORT_BUGS_TO): Likewise.
23721         (REPORT_BUGS_TEXI): Likewise.
23722         * Makefile (format-me): Use -I$(common-objpfx)manual.
23723         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23724         ($(common-objpfx)manual/%): New target.
23725         (manual/%): Remove target.
23726         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23727         (print_version): Use PKGVERSION.
23728         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23729         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23730         and REPORT_BUGS_TO.
23731         ($(objpfx)xtrace): Likewise.
23732         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23733         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23734         (print_version): Use PKGVERSION.
23735         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23736         (do_version): Use PKGVERSION.
23737         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23738         REPORT_BUGS_TO.
23739         (common-ldd-rewrite): Likewise.
23740         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23741         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23742         (print_version): Use PKGVERSION.
23743         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23744         * elf/pldd.c (argp_program_bug_address): Remove variable.
23745         (more_help): New function.
23746         (argp): Use more_help.
23747         (print_version): Use PKGVERSION.
23748         * elf/sln.c (main): Use PKGVERSION.
23749         (usage): Use REPORT_BUGS_TO.
23750         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23751         (top level): Use PKGVERSION.
23752         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23753         (print_version): Use PKGVERSION.
23754         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23755         (print_version): Use PKGVERSION.
23756         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23757         (print_version): Use PKGVERSION.
23758         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23759         (print_version): Use PKGVERSION.
23760         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23761         (print_version): Use PKGVERSION.
23762         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23763         (print_version): Use PKGVERSION.
23764         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23765         and BUGURL.
23766         ($(objpfx)memusage): Likewise.
23767         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23768         (do_version): Use PKGVERSION.
23769         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23770         (print_version): Use PKGVERSION.
23771         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23772         ($PKGVERSION): New variable.
23773         ($REPORT_BUGS_TO): Likewise.
23774         (usage): Use $REPORT_BUGS_TO.
23775         (top level): Use $PKGVERSION.
23776         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23777         ($(objpfx)pkgvers.texi): New rule.
23778         ($(objpfx)stamp-pkgvers): Likewise.
23779         * manual/install.texi: Include pkgvers.texi.
23780         (--with-pkgversion): Document new configure option.
23781         (--with-bugurl): Likewise.
23782         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23783         than necessarily for this particular distribution.  Use
23784         REPORT_BUGS_TO for where to report bugs.
23785         * INSTALL: Regenerated.
23786         * manual/libc.texinfo: Include pkgvers.texi.
23787         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23788         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23789         (print_version): Use PKGVERSION.
23790         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23791         (print_version): Use PKGVERSION.
23792         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23793         (print_version): Use PKGVERSION.
23794         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23795         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23796         macro.
23797         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23798         (print_version): Use PKGVERSION.
23799         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23800         (print_version): Use PKGVERSION.
23801         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23802         and PKGVERSION.
23804         * timezone/checktab.awk: Update from tzcode 2012i.
23805         * timezone/ialloc.c: Likewise.
23806         * timezone/private.h: Likewise.
23807         * timezone/scheck.c: Likewise.
23808         * timezone/tzfile.h: Likewise.
23809         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23810         (TZVERSION): Hardcode tzcode version number.
23811         * timezone/zdump.c: Update from tzcode 2012i.
23812         * timezone/zic.c: Likewise.
23813         * timezone/version.h: New file.
23814         * timezone/README: Describe version.h.  Update upstream location.
23816         [BZ #14824]
23817         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23818         (mktemp): Enable declaration.
23819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23820         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23822         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23823         Likewise.
23824         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23825         Likewise.
23826         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23827         Likewise.
23828         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23829         Likewise.
23830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23831         Likewise.
23832         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23833         Likewise.
23835         [BZ #14821]
23836         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23837         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23838         for copies of such integer values.
23839         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23840         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23842 2012-11-09  Andreas Jaeger  <aj@suse.de>
23844         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23845         definitions and declarations that are provided by
23846         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23848 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23850         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23851         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23852         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23853         definition.
23855 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23857         * elf/elf.h: Update comment before AArch64 relocations.
23859 2012-11-07  David S. Miller  <davem@davemloft.net>
23861         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23862         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23863         (__start_context): Declare.
23864         (__makecontext_ret): Delete.
23865         (__makecontext): Hook up __start_context instead of
23866         __makecontext_ret.
23867         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23868         (sysdep_routines): Add __start_context when in stdlib.
23870 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23872         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23873         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23874         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23875         hardcoded "nm".
23876         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23877         (READELF): New variable.  Use it instead of hardcoded "readelf".
23879 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23881         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23882         * sysdeps/x86/Makefile: Here.
23883         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23884         * sysdeps/x86/tst-xmmymm.sh: This.
23886 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23888         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23889         expectations.
23890         [UNIX98] (pthread_barrier_t): Do not expect.
23891         [UNIX98] (pthread_barrierattr_t): Likewise.
23892         [UNIX98] (pthread_spinlock_t): Likewise.
23893         [UNIX98] (pthread_barrier_destroy): Likewise.
23894         [UNIX98] (pthread_barrier_init): Likewise.
23895         [UNIX98] (pthread_barrier_wait): Likewise.
23896         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23897         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23898         [UNIX98] (pthread_barrierattr_init): Likewise.
23899         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23900         [UNIX98] (pthread_getcpuclockid): Likewise.
23901         [UNIX98] (pthread_mutex_timedlock): Likewise.
23902         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23903         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23904         [UNIX98] (pthread_sigmask): Likewise.
23905         [UNIX98] (pthread_spin_destroy): Likewise.
23906         [UNIX98] (pthread_spin_init): Likewise.
23907         [UNIX98] (pthread_spin_lock): Likewise.
23908         [UNIX98] (pthread_spin_trylock): Likewise.
23909         [UNIX98] (pthread_spin_unlock): Likewise.
23910         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23911         Do not expect.
23912         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23913         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23914         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23915         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23916         [XPG3 || XPG4] (pthread_key_t): Likewise.
23917         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23918         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23919         [XPG3 || XPG4] (pthread_once_t): Likewise.
23920         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23921         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23922         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23923         [XPG3 || XPG4] (pthread_t): Likewise.
23925         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23926         not expect.
23927         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23929         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23930         Change function return type to int.
23932         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23933         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23934         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23935         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23936         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23937         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23938         [!POSIX] (posix_madvise): Likewise.
23939         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23940         && !UNIX98].
23941         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23942         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23943         (mode_t): Likewise.
23944         (posix_mem_offset): Likewise.
23945         (posix_typed_mem_get_info): Likewise.
23946         (posix_typed_mem_open): Likewise.
23948         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23949         Change condition to [XOPEN2K8].
23951         * conform/conformtest.pl: Preprocess allow-header data with -x c
23952         instead of from stdin.
23953         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23954         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23955         [C99-based standards] (cerfc): Likewise.
23956         [C99-based standards] (cexp2): Likewise.
23957         [C99-based standards] (cexpm1): Likewise.
23958         [C99-based standards] (clog10): Likewise.
23959         [C99-based standards] (clog1p): Likewise.
23960         [C99-based standards] (clog2): Likewise.
23961         [C99-based standards] (clgamma): Likewise.
23962         [C99-based standards] (ctgamma): Likewise.
23963         [C99-based standards] (cerff): Likewise.
23964         [C99-based standards] (cerfcf): Likewise.
23965         [C99-based standards] (cexp2f): Likewise.
23966         [C99-based standards] (cexpm1f): Likewise.
23967         [C99-based standards] (clog10f): Likewise.
23968         [C99-based standards] (clog1pf): Likewise.
23969         [C99-based standards] (clog2f): Likewise.
23970         [C99-based standards] (clgammaf): Likewise.
23971         [C99-based standards] (ctgammaf): Likewise.
23972         [C99-based standards] (cerfl): Likewise.
23973         [C99-based standards] (cerfcl): Likewise.
23974         [C99-based standards] (cexp2l): Likewise.
23975         [C99-based standards] (cexpm1l): Likewise.
23976         [C99-based standards] (clog10l): Likewise.
23977         [C99-based standards] (clog1pl): Likewise.
23978         [C99-based standards] (clog2l): Likewise.
23979         [C99-based standards] (clgammal): Likewise.
23980         [C99-based standards] (ctgammal): Likewise.
23981         * conform/data/inttypes.h-data [C99-based standards]: Include
23982         stdint.h-data.  Remove all expectations for stdint.h contents.
23983         [C99-based standards] (PRI*): Do not allow.
23984         [C99-based standards] (SCN*): Likewise.
23985         [C99-based standards] (*_t): Likewise.
23986         [C99-based-standards] (PRId8): Expect macro.
23987         [C99-based-standards] (PRIi8): Likewise.
23988         [C99-based-standards] (PRIo8): Likewise.
23989         [C99-based-standards] (PRIu8): Likewise.
23990         [C99-based-standards] (PRIx8): Likewise.
23991         [C99-based-standards] (PRIX8): Likewise.
23992         [C99-based-standards] (SCNd8): Likewise.
23993         [C99-based-standards] (SCNi8): Likewise.
23994         [C99-based-standards] (SCNo8): Likewise.
23995         [C99-based-standards] (SCNu8): Likewise.
23996         [C99-based-standards] (SCNx8): Likewise.
23997         [C99-based-standards] (PRIdLEAST8): Likewise.
23998         [C99-based-standards] (PRIiLEAST8): Likewise.
23999         [C99-based-standards] (PRIoLEAST8): Likewise.
24000         [C99-based-standards] (PRIuLEAST8): Likewise.
24001         [C99-based-standards] (PRIxLEAST8): Likewise.
24002         [C99-based-standards] (PRIXLEAST8): Likewise.
24003         [C99-based-standards] (SCNdLEAST8): Likewise.
24004         [C99-based-standards] (SCNiLEAST8): Likewise.
24005         [C99-based-standards] (SCNoLEAST8): Likewise.
24006         [C99-based-standards] (SCNuLEAST8): Likewise.
24007         [C99-based-standards] (SCNxLEAST8): Likewise.
24008         [C99-based-standards] (PRIdFAST8): Likewise.
24009         [C99-based-standards] (PRIiFAST8): Likewise.
24010         [C99-based-standards] (PRIoFAST8): Likewise.
24011         [C99-based-standards] (PRIuFAST8): Likewise.
24012         [C99-based-standards] (PRIxFAST8): Likewise.
24013         [C99-based-standards] (PRIXFAST8): Likewise.
24014         [C99-based-standards] (SCNdFAST8): Likewise.
24015         [C99-based-standards] (SCNiFAST8): Likewise.
24016         [C99-based-standards] (SCNoFAST8): Likewise.
24017         [C99-based-standards] (SCNuFAST8): Likewise.
24018         [C99-based-standards] (SCNxFAST8): Likewise.
24019         [C99-based-standards] (PRId16): Likewise.
24020         [C99-based-standards] (PRIi16): Likewise.
24021         [C99-based-standards] (PRIo16): Likewise.
24022         [C99-based-standards] (PRIu16): Likewise.
24023         [C99-based-standards] (PRIx16): Likewise.
24024         [C99-based-standards] (PRIX16): Likewise.
24025         [C99-based-standards] (SCNd16): Likewise.
24026         [C99-based-standards] (SCNi16): Likewise.
24027         [C99-based-standards] (SCNo16): Likewise.
24028         [C99-based-standards] (SCNu16): Likewise.
24029         [C99-based-standards] (SCNx16): Likewise.
24030         [C99-based-standards] (PRIdLEAST16): Likewise.
24031         [C99-based-standards] (PRIiLEAST16): Likewise.
24032         [C99-based-standards] (PRIoLEAST16): Likewise.
24033         [C99-based-standards] (PRIuLEAST16): Likewise.
24034         [C99-based-standards] (PRIxLEAST16): Likewise.
24035         [C99-based-standards] (PRIXLEAST16): Likewise.
24036         [C99-based-standards] (SCNdLEAST16): Likewise.
24037         [C99-based-standards] (SCNiLEAST16): Likewise.
24038         [C99-based-standards] (SCNoLEAST16): Likewise.
24039         [C99-based-standards] (SCNuLEAST16): Likewise.
24040         [C99-based-standards] (SCNxLEAST16): Likewise.
24041         [C99-based-standards] (PRIdFAST16): Likewise.
24042         [C99-based-standards] (PRIiFAST16): Likewise.
24043         [C99-based-standards] (PRIoFAST16): Likewise.
24044         [C99-based-standards] (PRIuFAST16): Likewise.
24045         [C99-based-standards] (PRIxFAST16): Likewise.
24046         [C99-based-standards] (PRIXFAST16): Likewise.
24047         [C99-based-standards] (SCNdFAST16): Likewise.
24048         [C99-based-standards] (SCNiFAST16): Likewise.
24049         [C99-based-standards] (SCNoFAST16): Likewise.
24050         [C99-based-standards] (SCNuFAST16): Likewise.
24051         [C99-based-standards] (SCNxFAST16): Likewise.
24052         [C99-based-standards] (PRId32): Likewise.
24053         [C99-based-standards] (PRIi32): Likewise.
24054         [C99-based-standards] (PRIo32): Likewise.
24055         [C99-based-standards] (PRIu32): Likewise.
24056         [C99-based-standards] (PRIx32): Likewise.
24057         [C99-based-standards] (PRIX32): Likewise.
24058         [C99-based-standards] (SCNd32): Likewise.
24059         [C99-based-standards] (SCNi32): Likewise.
24060         [C99-based-standards] (SCNo32): Likewise.
24061         [C99-based-standards] (SCNu32): Likewise.
24062         [C99-based-standards] (SCNx32): Likewise.
24063         [C99-based-standards] (PRIdLEAST32): Likewise.
24064         [C99-based-standards] (PRIiLEAST32): Likewise.
24065         [C99-based-standards] (PRIoLEAST32): Likewise.
24066         [C99-based-standards] (PRIuLEAST32): Likewise.
24067         [C99-based-standards] (PRIxLEAST32): Likewise.
24068         [C99-based-standards] (PRIXLEAST32): Likewise.
24069         [C99-based-standards] (SCNdLEAST32): Likewise.
24070         [C99-based-standards] (SCNiLEAST32): Likewise.
24071         [C99-based-standards] (SCNoLEAST32): Likewise.
24072         [C99-based-standards] (SCNuLEAST32): Likewise.
24073         [C99-based-standards] (SCNxLEAST32): Likewise.
24074         [C99-based-standards] (PRIdFAST32): Likewise.
24075         [C99-based-standards] (PRIiFAST32): Likewise.
24076         [C99-based-standards] (PRIoFAST32): Likewise.
24077         [C99-based-standards] (PRIuFAST32): Likewise.
24078         [C99-based-standards] (PRIxFAST32): Likewise.
24079         [C99-based-standards] (PRIXFAST32): Likewise.
24080         [C99-based-standards] (SCNdFAST32): Likewise.
24081         [C99-based-standards] (SCNiFAST32): Likewise.
24082         [C99-based-standards] (SCNoFAST32): Likewise.
24083         [C99-based-standards] (SCNuFAST32): Likewise.
24084         [C99-based-standards] (SCNxFAST32): Likewise.
24085         [C99-based-standards] (PRId64): Likewise.
24086         [C99-based-standards] (PRIi64): Likewise.
24087         [C99-based-standards] (PRIo64): Likewise.
24088         [C99-based-standards] (PRIu64): Likewise.
24089         [C99-based-standards] (PRIx64): Likewise.
24090         [C99-based-standards] (PRIX64): Likewise.
24091         [C99-based-standards] (SCNd64): Likewise.
24092         [C99-based-standards] (SCNi64): Likewise.
24093         [C99-based-standards] (SCNo64): Likewise.
24094         [C99-based-standards] (SCNu64): Likewise.
24095         [C99-based-standards] (SCNx64): Likewise.
24096         [C99-based-standards] (PRIdLEAST64): Likewise.
24097         [C99-based-standards] (PRIiLEAST64): Likewise.
24098         [C99-based-standards] (PRIoLEAST64): Likewise.
24099         [C99-based-standards] (PRIuLEAST64): Likewise.
24100         [C99-based-standards] (PRIxLEAST64): Likewise.
24101         [C99-based-standards] (PRIXLEAST64): Likewise.
24102         [C99-based-standards] (SCNdLEAST64): Likewise.
24103         [C99-based-standards] (SCNiLEAST64): Likewise.
24104         [C99-based-standards] (SCNoLEAST64): Likewise.
24105         [C99-based-standards] (SCNuLEAST64): Likewise.
24106         [C99-based-standards] (SCNxLEAST64): Likewise.
24107         [C99-based-standards] (PRIdFAST64): Likewise.
24108         [C99-based-standards] (PRIiFAST64): Likewise.
24109         [C99-based-standards] (PRIoFAST64): Likewise.
24110         [C99-based-standards] (PRIuFAST64): Likewise.
24111         [C99-based-standards] (PRIxFAST64): Likewise.
24112         [C99-based-standards] (PRIXFAST64): Likewise.
24113         [C99-based-standards] (SCNdFAST64): Likewise.
24114         [C99-based-standards] (SCNiFAST64): Likewise.
24115         [C99-based-standards] (SCNoFAST64): Likewise.
24116         [C99-based-standards] (SCNuFAST64): Likewise.
24117         [C99-based-standards] (SCNxFAST64): Likewise.
24118         [C99-based-standards] (PRIdMAX): Likewise.
24119         [C99-based-standards] (PRIiMAX): Likewise.
24120         [C99-based-standards] (PRIoMAX): Likewise.
24121         [C99-based-standards] (PRIuMAX): Likewise.
24122         [C99-based-standards] (PRIxMAX): Likewise.
24123         [C99-based-standards] (PRIXMAX): Likewise.
24124         [C99-based-standards] (SCNdMAX): Likewise.
24125         [C99-based-standards] (SCNiMAX): Likewise.
24126         [C99-based-standards] (SCNoMAX): Likewise.
24127         [C99-based-standards] (SCNuMAX): Likewise.
24128         [C99-based-standards] (SCNxMAX): Likewise.
24129         [C99-based-standards] (PRIdPTR): Likewise.
24130         [C99-based-standards] (PRIiPTR): Likewise.
24131         [C99-based-standards] (PRIoPTR): Likewise.
24132         [C99-based-standards] (PRIuPTR): Likewise.
24133         [C99-based-standards] (PRIxPTR): Likewise.
24134         [C99-based-standards] (PRIXPTR): Likewise.
24135         [C99-based-standards] (SCNdPTR): Likewise.
24136         [C99-based-standards] (SCNiPTR): Likewise.
24137         [C99-based-standards] (SCNoPTR): Likewise.
24138         [C99-based-standards] (SCNuPTR): Likewise.
24139         [C99-based-standards] (SCNxPTR): Likewise.
24140         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24141         allow.
24142         * conform/data/stdint.h-data: Update comments to clarify
24143         requirements.
24144         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24145         type.
24146         [C99-based standards] (INT8_MAX): Likewise.
24147         [C99-based standards] (INT16_MIN): Likewise.
24148         [C99-based standards] (INT16_MAX): Likewise.
24149         [C99-based standards] (INT32_MIN): Likewise.
24150         [C99-based standards] (INT32_MAX): Likewise.
24151         [C99-based standards] (INT64_MIN): Likewise.
24152         [C99-based standards] (INT64_MAX): Likewise.
24153         [C99-based standards] (UINT8_MAX): Likewise.
24154         [C99-based standards] (UINT16_MAX): Likewise.
24155         [C99-based standards] (UINT32_MAX): Likewise.
24156         [C99-based standards] (UINT64_MAX): Likewise.
24157         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24158         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24159         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24160         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24161         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24162         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24163         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24164         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24165         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24166         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24167         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24168         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24169         [C99-based standards] (INT_FAST8_MIN): Likewise.
24170         [C99-based standards] (INT_FAST8_MAX): Likewise.
24171         [C99-based standards] (INT_FAST16_MIN): Likewise.
24172         [C99-based standards] (INT_FAST16_MAX): Likewise.
24173         [C99-based standards] (INT_FAST32_MIN): Likewise.
24174         [C99-based standards] (INT_FAST32_MAX): Likewise.
24175         [C99-based standards] (INT_FAST64_MIN): Likewise.
24176         [C99-based standards] (INT_FAST64_MAX): Likewise.
24177         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24178         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24179         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24180         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24181         [C99-based standards] (INTPTR_MIN): Likewise.
24182         [C99-based standards] (INTPTR_MAX): Likewise.
24183         [C99-based standards] (UINTPTR_MAX): Likewise.
24184         [C99-based standards] (INTMAX_MIN): Likewise.
24185         [C99-based standards] (INTMAX_MAX): Likewise.
24186         [C99-based standards] (UINTMAX_MAX): Likewise.
24187         [C99-based standards] (PTRDIFF_MIN): Likewise.
24188         [C99-based standards] (PTRDIFF_MAX): Likewise.
24189         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24190         [C99-based standards] (SIZE_MAX): Likewise.
24191         [C99-based standards] (WCHAR_MAX): Likewise.
24192         [C99-based standards] (WINT_MAX): Likewise.
24193         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24194         constraint on value.
24195         [C99-based standards] (WCHAR_MIN): Likewise.
24196         [C99-based standards] (WINT_MIN): Likewise.
24197         [C99-based standards] (*_t): Allow.
24198         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24199         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24200         Include math.h-data and complex.h-data.  Remove all expectations
24201         of math.h and complex.h contents.
24202         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24203         at end of line.
24204         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24205         (struct tm): Expect tag.
24206         [C99-based-standards] (wcstof): Expect function.
24207         [C99-based-standards] (wcstold): Likewise.
24208         [C99-based-standards] (wcstoll): Likewise.
24209         [C99-based-standards] (wcstoull): Likewise.
24210         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24211         macro-int-constant.  Specify type.
24212         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24213         constraint on value.
24214         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24215         Specify type.
24216         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24217         Specify value.
24218         [ISO C standards]: Do not allow headers.
24219         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24220         wcs[abcdefghijklmnopqrstuvwxyz]*.
24221         [ISO C standards] (*_t): Do not allow.
24222         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24223         Expect function.
24224         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24225         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24226         Specify type.
24227         [ISO C standards]: Do not allow headers.
24228         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24229         is[abcdefghijklmnopqrstuvwxyz]*.
24230         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24231         to[abcdefghijklmnopqrstuvwxyz]*.
24232         [ISO C standards] (*_t): Do not allow.
24233         * conform/data/stdalign.h-data: New file.
24234         * conform/data/stdbool.h-data: Likewise.
24235         * conform/data/stdnoreturn.h-data: Likewise.
24237 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24239         [BZ #14815]
24240         * manual/filesys.texi (Directory Entries): Typo fix.
24241         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24243 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24245         * elf/elf.h (EM_AARCH64): New macro.
24246         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24247         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24248         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24249         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24250         (R_AARCH64_TLSDESC): Likewise.
24251         (NT_ARM_TLS): Likewise.
24252         (NT_ARM_HW_BREAK): Likewise.
24253         (NT_ARM_HW_WATCH): Likewise.
24255 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24257         [BZ #14811]
24258         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24259         (__ieee754_powl): Saturate nonzero exponents with absolute value
24260         below 0x1p-79 to +/- 0x1p-79.
24261         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24262         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24263         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24264         nonzero exponents with absolute value below 0x1p-32 to +/-
24265         0x1p-32.
24266         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24267         (__ieee754_powl): Saturate nonzero exponents with absolute value
24268         below 0x1p-79 to +/- 0x1p-79.
24269         * math/libm-test.inc (pow_test): Add more tests.
24271 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24273         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24274         _dl_s390_cap_flags with kernel. Increase string length.
24275         (_dl_s390_platforms): Add z196 and zEC12.
24277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24279         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24280         Change XOPEN21K to XOPEN2K.
24282 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24284         * string/memmove.c: Use memcpy when possible.
24286 2012-11-06  Andreas Jaeger  <aj@suse.de>
24288         * po/eo.po: Update from translation team.
24290 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24292         [BZ #14793]
24293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24294         exponent and small x and y exponents, scale x or y up.  Increase
24295         by 2 the exponent used in scaling up.
24296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24298         * math/libm-test.inc (fma_test): Add more tests.
24299         (fma_test_towardzero): Likewise.
24300         (fma_test_downward): Likewise.
24301         (fma_test_upward): Likewise.
24303 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24305         [BZ #14805]
24306         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24307         fenv_t *.
24309         [BZ #14801]
24310         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24311         namespace for names of struct fields.
24312         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24313         fenv_t fields.
24314         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24315         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24317 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24319         [BZ #3665]
24320         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24322 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24324         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24325         PTR_DEMANGLE.
24327         [BZ #5246]
24328         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24329         PTR_DEMANGLE.
24331 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24333         [BZ #14797]
24334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24335         definitely overflow as x * y not x * y + z.
24336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24338         * math/libm-test.inc (fma_test): Add more tests.
24339         (fma_test_towardzero): Likewise.
24340         (fma_test_downward): Likewise.
24341         (fma_test_upward): Likewise.
24343 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24345         [BZ #157]
24347         * include/stub-tag.h: Remove file.
24348         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24349         '#include' of it.
24350         * manual/maint.texi (Porting): Don't reference it.
24351         * Makerules ($(objpfx)stubs): Likewise.
24352         * dirent/closedir.c: Don't include <stub-tag.h>.
24353         * dirent/dirfd.c: Likewise.
24354         * dirent/fdopendir.c: Likewise.
24355         * dirent/getdents.c: Likewise.
24356         * dirent/getdents64.c: Likewise.
24357         * dirent/opendir.c: Likewise.
24358         * dirent/readdir.c: Likewise.
24359         * dirent/readdir64.c: Likewise.
24360         * dirent/readdir64_r.c: Likewise.
24361         * dirent/readdir_r.c: Likewise.
24362         * dirent/rewinddir.c: Likewise.
24363         * dirent/seekdir.c: Likewise.
24364         * dirent/telldir.c: Likewise.
24365         * gmon/profil.c: Likewise.
24366         * grp/setgroups.c: Likewise.
24367         * inet/if_index.c: Likewise.
24368         * io/access.c: Likewise.
24369         * io/chdir.c: Likewise.
24370         * io/chmod.c: Likewise.
24371         * io/chown.c: Likewise.
24372         * io/close.c: Likewise.
24373         * io/dup.c: Likewise.
24374         * io/dup2.c: Likewise.
24375         * io/dup3.c: Likewise.
24376         * io/euidaccess.c: Likewise.
24377         * io/faccessat.c: Likewise.
24378         * io/fchdir.c: Likewise.
24379         * io/fchmod.c: Likewise.
24380         * io/fchmodat.c: Likewise.
24381         * io/fchown.c: Likewise.
24382         * io/fchownat.c: Likewise.
24383         * io/fcntl.c: Likewise.
24384         * io/flock.c: Likewise.
24385         * io/fstatfs.c: Likewise.
24386         * io/fstatfs64.c: Likewise.
24387         * io/fstatvfs.c: Likewise.
24388         * io/fstatvfs64.c: Likewise.
24389         * io/futimens.c: Likewise.
24390         * io/fxstat.c: Likewise.
24391         * io/fxstat64.c: Likewise.
24392         * io/fxstatat.c: Likewise.
24393         * io/fxstatat64.c: Likewise.
24394         * io/getcwd.c: Likewise.
24395         * io/isatty.c: Likewise.
24396         * io/lchmod.c: Likewise.
24397         * io/lchown.c: Likewise.
24398         * io/link.c: Likewise.
24399         * io/linkat.c: Likewise.
24400         * io/lseek.c: Likewise.
24401         * io/lseek64.c: Likewise.
24402         * io/lxstat64.c: Likewise.
24403         * io/mkdir.c: Likewise.
24404         * io/mkdirat.c: Likewise.
24405         * io/mkfifo.c: Likewise.
24406         * io/mkfifoat.c: Likewise.
24407         * io/open.c: Likewise.
24408         * io/open64.c: Likewise.
24409         * io/openat.c: Likewise.
24410         * io/openat64.c: Likewise.
24411         * io/pipe.c: Likewise.
24412         * io/pipe2.c: Likewise.
24413         * io/poll.c: Likewise.
24414         * io/posix_fadvise.c: Likewise.
24415         * io/posix_fadvise64.c: Likewise.
24416         * io/posix_fallocate.c: Likewise.
24417         * io/posix_fallocate64.c: Likewise.
24418         * io/read.c: Likewise.
24419         * io/readlink.c: Likewise.
24420         * io/readlinkat.c: Likewise.
24421         * io/rmdir.c: Likewise.
24422         * io/sendfile.c: Likewise.
24423         * io/sendfile64.c: Likewise.
24424         * io/statfs.c: Likewise.
24425         * io/statfs64.c: Likewise.
24426         * io/statvfs.c: Likewise.
24427         * io/statvfs64.c: Likewise.
24428         * io/symlink.c: Likewise.
24429         * io/symlinkat.c: Likewise.
24430         * io/ttyname.c: Likewise.
24431         * io/ttyname_r.c: Likewise.
24432         * io/umask.c: Likewise.
24433         * io/unlink.c: Likewise.
24434         * io/unlinkat.c: Likewise.
24435         * io/utime.c: Likewise.
24436         * io/utimensat.c: Likewise.
24437         * io/write.c: Likewise.
24438         * io/xmknod.c: Likewise.
24439         * io/xmknodat.c: Likewise.
24440         * io/xstat.c: Likewise.
24441         * io/xstat64.c: Likewise.
24442         * login/getpt.c: Likewise.
24443         * login/grantpt.c: Likewise.
24444         * login/unlockpt.c: Likewise.
24445         * math/e_acoshl.c: Likewise.
24446         * math/e_acosl.c: Likewise.
24447         * math/e_asinl.c: Likewise.
24448         * math/e_atan2l.c: Likewise.
24449         * math/e_atanhl.c: Likewise.
24450         * math/e_coshl.c: Likewise.
24451         * math/e_expl.c: Likewise.
24452         * math/e_fmodl.c: Likewise.
24453         * math/e_gammal_r.c: Likewise.
24454         * math/e_hypotl.c: Likewise.
24455         * math/e_j0l.c: Likewise.
24456         * math/e_j1l.c: Likewise.
24457         * math/e_jnl.c: Likewise.
24458         * math/e_lgammal_r.c: Likewise.
24459         * math/e_log10l.c: Likewise.
24460         * math/e_log2l.c: Likewise.
24461         * math/e_logl.c: Likewise.
24462         * math/e_powl.c: Likewise.
24463         * math/e_rem_pio2l.c: Likewise.
24464         * math/e_sinhl.c: Likewise.
24465         * math/e_sqrtl.c: Likewise.
24466         * math/fclrexcpt.c: Likewise.
24467         * math/fedisblxcpt.c: Likewise.
24468         * math/feenablxcpt.c: Likewise.
24469         * math/fegetenv.c: Likewise.
24470         * math/fegetexcept.c: Likewise.
24471         * math/fegetround.c: Likewise.
24472         * math/feholdexcpt.c: Likewise.
24473         * math/fesetenv.c: Likewise.
24474         * math/fesetround.c: Likewise.
24475         * math/feupdateenv.c: Likewise.
24476         * math/fgetexcptflg.c: Likewise.
24477         * math/fraiseexcpt.c: Likewise.
24478         * math/fsetexcptflg.c: Likewise.
24479         * math/ftestexcept.c: Likewise.
24480         * math/k_cosl.c: Likewise.
24481         * math/k_rem_pio2l.c: Likewise.
24482         * math/k_sinl.c: Likewise.
24483         * math/k_tanl.c: Likewise.
24484         * math/s_asinhl.c: Likewise.
24485         * math/s_atanl.c: Likewise.
24486         * math/s_cbrtl.c: Likewise.
24487         * math/s_erfl.c: Likewise.
24488         * math/s_expm1l.c: Likewise.
24489         * math/s_log1pl.c: Likewise.
24490         * math/s_tanhl.c: Likewise.
24491         * misc/acct.c: Likewise.
24492         * misc/brk.c: Likewise.
24493         * misc/chflags.c: Likewise.
24494         * misc/chroot.c: Likewise.
24495         * misc/fchflags.c: Likewise.
24496         * misc/fgetxattr.c: Likewise.
24497         * misc/flistxattr.c: Likewise.
24498         * misc/fremovexattr.c: Likewise.
24499         * misc/fsetxattr.c: Likewise.
24500         * misc/fsync.c: Likewise.
24501         * misc/ftruncate.c: Likewise.
24502         * misc/futimes.c: Likewise.
24503         * misc/futimesat.c: Likewise.
24504         * misc/getdomain.c: Likewise.
24505         * misc/getdtsz.c: Likewise.
24506         * misc/gethostid.c: Likewise.
24507         * misc/gethostname.c: Likewise.
24508         * misc/getloadavg.c: Likewise.
24509         * misc/getpagesize.c: Likewise.
24510         * misc/getsysstats.c: Likewise.
24511         * misc/getxattr.c: Likewise.
24512         * misc/gtty.c: Likewise.
24513         * misc/ioctl.c: Likewise.
24514         * misc/lgetxattr.c: Likewise.
24515         * misc/listxattr.c: Likewise.
24516         * misc/llistxattr.c: Likewise.
24517         * misc/lremovexattr.c: Likewise.
24518         * misc/lsetxattr.c: Likewise.
24519         * misc/lutimes.c: Likewise.
24520         * misc/madvise.c: Likewise.
24521         * misc/mincore.c: Likewise.
24522         * misc/mlock.c: Likewise.
24523         * misc/mlockall.c: Likewise.
24524         * misc/mmap.c: Likewise.
24525         * misc/mprotect.c: Likewise.
24526         * misc/msync.c: Likewise.
24527         * misc/munlock.c: Likewise.
24528         * misc/munlockall.c: Likewise.
24529         * misc/munmap.c: Likewise.
24530         * misc/preadv.c: Likewise.
24531         * misc/preadv64.c: Likewise.
24532         * misc/ptrace.c: Likewise.
24533         * misc/pwritev.c: Likewise.
24534         * misc/pwritev64.c: Likewise.
24535         * misc/readv.c: Likewise.
24536         * misc/reboot.c: Likewise.
24537         * misc/remap_file_pages.c: Likewise.
24538         * misc/removexattr.c: Likewise.
24539         * misc/revoke.c: Likewise.
24540         * misc/select.c: Likewise.
24541         * misc/setdomain.c: Likewise.
24542         * misc/setegid.c: Likewise.
24543         * misc/seteuid.c: Likewise.
24544         * misc/sethostid.c: Likewise.
24545         * misc/sethostname.c: Likewise.
24546         * misc/setregid.c: Likewise.
24547         * misc/setreuid.c: Likewise.
24548         * misc/setxattr.c: Likewise.
24549         * misc/sstk.c: Likewise.
24550         * misc/stty.c: Likewise.
24551         * misc/swapoff.c: Likewise.
24552         * misc/swapon.c: Likewise.
24553         * misc/sync.c: Likewise.
24554         * misc/syncfs.c: Likewise.
24555         * misc/syscall.c: Likewise.
24556         * misc/truncate.c: Likewise.
24557         * misc/ualarm.c: Likewise.
24558         * misc/usleep.c: Likewise.
24559         * misc/ustat.c: Likewise.
24560         * misc/utimes.c: Likewise.
24561         * misc/vhangup.c: Likewise.
24562         * misc/writev.c: Likewise.
24563         * posix/_exit.c: Likewise.
24564         * posix/alarm.c: Likewise.
24565         * posix/execve.c: Likewise.
24566         * posix/fexecve.c: Likewise.
24567         * posix/fork.c: Likewise.
24568         * posix/fpathconf.c: Likewise.
24569         * posix/getaddrinfo.c: Likewise.
24570         * posix/getegid.c: Likewise.
24571         * posix/geteuid.c: Likewise.
24572         * posix/getgid.c: Likewise.
24573         * posix/getgroups.c: Likewise.
24574         * posix/getlogin.c: Likewise.
24575         * posix/getlogin_r.c: Likewise.
24576         * posix/getpgid.c: Likewise.
24577         * posix/getpid.c: Likewise.
24578         * posix/getppid.c: Likewise.
24579         * posix/getresgid.c: Likewise.
24580         * posix/getresuid.c: Likewise.
24581         * posix/getsid.c: Likewise.
24582         * posix/getuid.c: Likewise.
24583         * posix/glob64.c: Likewise.
24584         * posix/nanosleep.c: Likewise.
24585         * posix/pathconf.c: Likewise.
24586         * posix/pause.c: Likewise.
24587         * posix/posix_madvise.c: Likewise.
24588         * posix/pread.c: Likewise.
24589         * posix/pread64.c: Likewise.
24590         * posix/pwrite.c: Likewise.
24591         * posix/pwrite64.c: Likewise.
24592         * posix/sched_getaffinity.c: Likewise.
24593         * posix/sched_getp.c: Likewise.
24594         * posix/sched_gets.c: Likewise.
24595         * posix/sched_primax.c: Likewise.
24596         * posix/sched_primin.c: Likewise.
24597         * posix/sched_rr_gi.c: Likewise.
24598         * posix/sched_setaffinity.c: Likewise.
24599         * posix/sched_setp.c: Likewise.
24600         * posix/sched_sets.c: Likewise.
24601         * posix/sched_yield.c: Likewise.
24602         * posix/setgid.c: Likewise.
24603         * posix/setlogin.c: Likewise.
24604         * posix/setpgid.c: Likewise.
24605         * posix/setresgid.c: Likewise.
24606         * posix/setresuid.c: Likewise.
24607         * posix/setsid.c: Likewise.
24608         * posix/setuid.c: Likewise.
24609         * posix/sleep.c: Likewise.
24610         * posix/spawni.c: Likewise.
24611         * posix/sysconf.c: Likewise.
24612         * posix/times.c: Likewise.
24613         * posix/wait.c: Likewise.
24614         * posix/wait3.c: Likewise.
24615         * posix/wait4.c: Likewise.
24616         * posix/waitpid.c: Likewise.
24617         * resolv/gai_sigqueue.c: Likewise.
24618         * resource/getpriority.c: Likewise.
24619         * resource/getrlimit.c: Likewise.
24620         * resource/getrusage.c: Likewise.
24621         * resource/nice.c: Likewise.
24622         * resource/setpriority.c: Likewise.
24623         * resource/setrlimit.c: Likewise.
24624         * resource/ulimit.c: Likewise.
24625         * rt/aio_cancel.c: Likewise.
24626         * rt/aio_fsync.c: Likewise.
24627         * rt/aio_read.c: Likewise.
24628         * rt/aio_sigqueue.c: Likewise.
24629         * rt/aio_suspend.c: Likewise.
24630         * rt/aio_write.c: Likewise.
24631         * rt/clock_getres.c: Likewise.
24632         * rt/clock_gettime.c: Likewise.
24633         * rt/clock_nanosleep.c: Likewise.
24634         * rt/clock_settime.c: Likewise.
24635         * rt/lio_listio.c: Likewise.
24636         * rt/mq_close.c: Likewise.
24637         * rt/mq_getattr.c: Likewise.
24638         * rt/mq_notify.c: Likewise.
24639         * rt/mq_open.c: Likewise.
24640         * rt/mq_receive.c: Likewise.
24641         * rt/mq_send.c: Likewise.
24642         * rt/mq_setattr.c: Likewise.
24643         * rt/mq_timedreceive.c: Likewise.
24644         * rt/mq_timedsend.c: Likewise.
24645         * rt/mq_unlink.c: Likewise.
24646         * rt/shm_open.c: Likewise.
24647         * rt/shm_unlink.c: Likewise.
24648         * rt/timer_create.c: Likewise.
24649         * rt/timer_delete.c: Likewise.
24650         * rt/timer_getoverr.c: Likewise.
24651         * rt/timer_gettime.c: Likewise.
24652         * rt/timer_settime.c: Likewise.
24653         * setjmp/__longjmp.c: Likewise.
24654         * setjmp/setjmp.c: Likewise.
24655         * signal/kill.c: Likewise.
24656         * signal/killpg.c: Likewise.
24657         * signal/raise.c: Likewise.
24658         * signal/sigaction.c: Likewise.
24659         * signal/sigaltstack.c: Likewise.
24660         * signal/sigblock.c: Likewise.
24661         * signal/sigignore.c: Likewise.
24662         * signal/sigintr.c: Likewise.
24663         * signal/signal.c: Likewise.
24664         * signal/sigpause.c: Likewise.
24665         * signal/sigpending.c: Likewise.
24666         * signal/sigqueue.c: Likewise.
24667         * signal/sigreturn.c: Likewise.
24668         * signal/sigset.c: Likewise.
24669         * signal/sigsetmask.c: Likewise.
24670         * signal/sigstack.c: Likewise.
24671         * signal/sigsuspend.c: Likewise.
24672         * signal/sigtimedwait.c: Likewise.
24673         * signal/sigvec.c: Likewise.
24674         * signal/sigwait.c: Likewise.
24675         * signal/sigwaitinfo.c: Likewise.
24676         * signal/sysv_signal.c: Likewise.
24677         * socket/accept.c: Likewise.
24678         * socket/accept4.c: Likewise.
24679         * socket/bind.c: Likewise.
24680         * socket/connect.c: Likewise.
24681         * socket/getpeername.c: Likewise.
24682         * socket/getsockname.c: Likewise.
24683         * socket/getsockopt.c: Likewise.
24684         * socket/isfdtype.c: Likewise.
24685         * socket/listen.c: Likewise.
24686         * socket/recv.c: Likewise.
24687         * socket/recvfrom.c: Likewise.
24688         * socket/recvmsg.c: Likewise.
24689         * socket/send.c: Likewise.
24690         * socket/sendmsg.c: Likewise.
24691         * socket/sendto.c: Likewise.
24692         * socket/setsockopt.c: Likewise.
24693         * socket/shutdown.c: Likewise.
24694         * socket/sockatmark.c: Likewise.
24695         * socket/socket.c: Likewise.
24696         * socket/socketpair.c: Likewise.
24697         * stdio-common/ctermid.c: Likewise.
24698         * stdio-common/cuserid.c: Likewise.
24699         * stdio-common/remove.c: Likewise.
24700         * stdio-common/rename.c: Likewise.
24701         * stdio-common/renameat.c: Likewise.
24702         * stdio-common/tempname.c: Likewise.
24703         * stdlib/getcontext.c: Likewise.
24704         * stdlib/makecontext.c: Likewise.
24705         * stdlib/setcontext.c: Likewise.
24706         * stdlib/swapcontext.c: Likewise.
24707         * stdlib/system.c: Likewise.
24708         * streams/fattach.c: Likewise.
24709         * streams/fdetach.c: Likewise.
24710         * streams/getmsg.c: Likewise.
24711         * streams/getpmsg.c: Likewise.
24712         * streams/putmsg.c: Likewise.
24713         * streams/putpmsg.c: Likewise.
24714         * sysdeps/unix/bsd/getpt.c: Likewise.
24715         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24716         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24717         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24719         Likewise.
24720         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24721         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24722         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24723         * sysvipc/msgctl.c: Likewise.
24724         * sysvipc/msgget.c: Likewise.
24725         * sysvipc/msgrcv.c: Likewise.
24726         * sysvipc/msgsnd.c: Likewise.
24727         * sysvipc/semctl.c: Likewise.
24728         * sysvipc/semget.c: Likewise.
24729         * sysvipc/semop.c: Likewise.
24730         * sysvipc/semtimedop.c: Likewise.
24731         * sysvipc/shmat.c: Likewise.
24732         * sysvipc/shmctl.c: Likewise.
24733         * sysvipc/shmdt.c: Likewise.
24734         * sysvipc/shmget.c: Likewise.
24735         * termios/tcdrain.c: Likewise.
24736         * termios/tcflow.c: Likewise.
24737         * termios/tcflush.c: Likewise.
24738         * termios/tcgetattr.c: Likewise.
24739         * termios/tcgetpgrp.c: Likewise.
24740         * termios/tcsendbrk.c: Likewise.
24741         * termios/tcsetattr.c: Likewise.
24742         * termios/tcsetpgrp.c: Likewise.
24743         * time/adjtime.c: Likewise.
24744         * time/clock.c: Likewise.
24745         * time/getitimer.c: Likewise.
24746         * time/gettimeofday.c: Likewise.
24747         * time/setitimer.c: Likewise.
24748         * time/settimeofday.c: Likewise.
24749         * time/stime.c: Likewise.
24750         * time/time.c: Likewise.
24752 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24754         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24755         /usr/old/bin.
24757         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24758         instead of spaces.
24759         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24761 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24763         [BZ #14796]
24764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24765         FE_TONEAREST before applying Dekker multiplication and Knuth
24766         addition.  Clear inexact exceptions and check for exact zero
24767         results afterwards.
24768         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24769         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24771         * math/libm-test.inc (fma_test): Add more tests.
24772         (fma_test_towardzero): Likewise.
24773         (fma_test_downward): Likewise.
24774         (fma_test_upward): Likewise.
24775         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24776         function.
24777         (libc_fesetround): New macro.
24778         (libc_fesetroundf): Likewise.
24779         (libc_fesetroundl): Likewise.
24780         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24781         function.
24782         (libc_fesetround_387): Likewise.
24783         (libc_fesetroundf): New macro.
24784         (libc_fesetround): Likewise.
24785         (libc_fesetroundl): Likewise.
24786         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24787         function.
24788         (libc_fesetroundf): New macro.
24789         (libc_fesetround): Likewise.
24790         (libc_fesetroundl): Likewise.
24791         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24792         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24793         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24794         libm_hidden_ver.
24795         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24796         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24797         libm_hidden_def.
24798         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24799         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24800         libm_hidden_ver.
24801         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24802         libm_hidden_def.
24804         [BZ #3439]
24805         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24806         integer constant usable in #if and use that to give value to enum
24807         constant.
24808         (FE_DIVBYZERO): Likewise.
24809         (FE_UNDERFLOW): Likewise.
24810         (FE_OVERFLOW): Likewise.
24811         (FE_INVALID): Likewise.
24812         (FE_INVALID_SNAN): Likewise.
24813         (FE_INVALID_ISI): Likewise.
24814         (FE_INVALID_IDI): Likewise.
24815         (FE_INVALID_ZDZ): Likewise.
24816         (FE_INVALID_IMZ): Likewise.
24817         (FE_INVALID_COMPARE): Likewise.
24818         (FE_INVALID_SOFTWARE): Likewise.
24819         (FE_INVALID_SQRT): Likewise.
24820         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24821         (FE_TONEAREST): Likewise.
24822         (FE_TOWARDZERO): Likewise.
24823         (FE_UPWARD): Likewise.
24824         (FE_DOWNWARD): Likewise.
24825         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24826         (FE_DIVBYZERO): Likewise.
24827         (FE_OVERFLOW): Likewise.
24828         (FE_UNDERFLOW): Likewise.
24829         (FE_INEXACT): Likewise.
24830         (FE_TONEAREST): Likewise.
24831         (FE_DOWNWARD): Likewise.
24832         (FE_UPWARD): Likewise.
24833         (FE_TOWARDZERO): Likewise.
24834         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24835         (FE_UNDERFLOW): Likewise.
24836         (FE_OVERFLOW): Likewise.
24837         (FE_DIVBYZERO): Likewise.
24838         (FE_INVALID): Likewise.
24839         (FE_TONEAREST): Likewise.
24840         (FE_TOWARDZERO): Likewise.
24841         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24842         (FE_OVERFLOW): Likewise.
24843         (FE_UNDERFLOW): Likewise.
24844         (FE_DIVBYZERO): Likewise.
24845         (FE_INEXACT): Likewise.
24846         (FE_TONEAREST): Likewise.
24847         (FE_TOWARDZERO): Likewise.
24848         (FE_UPWARD): Likewise.
24849         (FE_DOWNWARD): Likewise.
24850         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24851         (FE_DIVBYZERO): Likewise.
24852         (FE_OVERFLOW): Likewise.
24853         (FE_UNDERFLOW): Likewise.
24854         (FE_INEXACT): Likewise.
24855         (FE_TONEAREST): Likewise.
24856         (FE_DOWNWARD): Likewise.
24857         (FE_UPWARD): Likewise.
24858         (FE_TOWARDZERO): Likewise.
24860 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24862         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24864 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24866         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24867         commands.  Quote $PWD.
24868         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24869         -x" by "export".
24870         (remove_newlines): Remove.
24872 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24874         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24875         * stdlib/stdlib.h (atof): Moved to ...
24876         * include/bits/stdlib-float.h: Here.  New file.
24877         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24878         * stdlib/bits/stdlib-float.h: New file.
24879         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24880         -mno-sse -mno-mmx.
24881         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24882         <xmmintrin.h>.
24884 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24886         * conform/conformtest.pl (@headers): Add fenv.h.
24887         * conform/data/fenv.h-data: New file.
24888         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24889         include of <math/fenv.h>.
24891         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24892         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24893         && !UNIX98].  Enables tests for XOPEN2K8.
24894         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24895         POSIX2008]: Likewise.
24897         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24898         (struct rusage): Do not expect type or its members.
24900         [BZ #3439]
24901         * math/math.h (FP_NAN): Define macro to integer constant usable in
24902         #if and use that to give value to enum constant.
24903         (FP_INFINITE): Likewise.
24904         (FP_ZERO): Likewise.
24905         (FP_SUBNORMAL): Likewise.
24906         (FP_NORMAL): Likewise.
24908 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24910         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24911         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24912         arguments.
24914 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24916         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24917         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24918         autoconf-time if not.
24919         * configure.in: Remove AC_PREREQ.
24921 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24923         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24924         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24925         of the internal implementation.
24927 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24929         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24930         except include of <misc/sys/syslog.h>.
24932 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24935         function returns with a NULL context exit with zero.
24937 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24939         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24941 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24943         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24944         (run_program_cmd): This.
24945         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24946         (tst_langinfo): New variable.  Use it.
24948 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24950         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24951         floating point opcodes.
24953 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24955         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24956         variable.
24958         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24960         * sysdeps/mach/hurd/powerpc: Remove directory.
24961         * sysdeps/mach/powerpc: Likewise.
24963 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24965         * scripts/check-local-headers.sh: Ignore c++ headers.
24967 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24969         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24970         __libc_cleanup_region_start argument.
24972 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24974         [BZ #14784]
24975         [BZ #14785]
24976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24977         x * y using scaling, not as x * y + z.
24978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24980         * math/libm-test.inc (fma_test): Add more tests.
24981         (fma_test_towardzero): Likewise.
24982         (fma_test_downward): Likewise.
24983         (fma_test_upward): Likewise.
24985 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24987         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24989 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24991         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24992         New variable.
24994 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24996         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24998 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25001         Fix sort order.
25002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25003         Likewise.
25005 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25008         Fix the order of the list for glibc 2.17.
25009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25010         Likewise.
25012 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25016 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25018         [BZ #14610]
25019         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25020         for low part of x being zero before using __atanl (y).
25021         * math/libm-test.inc (atan2_test): Add another test.
25023         * manual/install.texi (Configuring and compiling): Document
25024         general use of test-wrapper and test-wrapper-env.
25025         * INSTALL: Regenerated.
25027         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25028         (__fma): Do not extract and scale down low bits on after-rounding
25029         systems when result rounded to normal precision would have normal
25030         exponent.
25031         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25032         (__fmal): Do not extract and scale down low bits on after-rounding
25033         systems when result rounded to normal precision would have normal
25034         exponent.
25035         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25036         (__fmal): Do not extract and scale down low bits on after-rounding
25037         systems when result rounded to normal precision would have normal
25038         exponent.
25039         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25040         macro.
25041         (fma_test): Add more tests.
25042         (fma_test_towardzero): Likewise.
25043         (fma_test_downward): Likewise.
25044         (fma_test_upward): Likewise.
25046 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25048         * sysdeps/i386/tininess.h: Renamed to ...
25049         * sysdeps/x86/tininess.h: This.
25050         * sysdeps/x86_64/tininess.h: Removed.
25052 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25054         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25055         input.  Use $(build-program-cmd).
25056         ($(objpfx)tst-array1-static.out): Likewise.
25057         ($(objpfx)tst-array2.out): Likewise.
25058         ($(objpfx)tst-array3.out): Likewise.
25059         ($(objpfx)tst-array4.out): Likewise.
25060         ($(objpfx)tst-array5.out): Likewise.
25061         ($(objpfx)tst-array5-static.out): Likewise.
25063 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25065         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25066         if defined.
25068         * nss/nsswitch.h (nss_interface_function): Provide new
25069         macro for use with NSS functions.
25070         * grp/initgroups.c: Use new macro.
25071         * nss/getXXbyYY.c: Likewise.
25072         * nss/getXXbyYY_r.c: Likewise.
25073         * nss/getXXent.c: Likewise.
25074         * nss/getXXent_r.c: Likewise.
25075         * sysdeps/posix/getaddrinfo.c: Likewise.
25077 2012-10-30  Andreas Jaeger  <aj@suse.de>
25079         * po/ru.po: Update Russion translation from translation project.
25081 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25083         [BZ #14152]
25084         [BZ #14783]
25085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25086         result and shift together with sticky bit instead of replicating
25087         round-to-nearest rounding.
25088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25090         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25091         missing underflow exceptions.
25092         (fma_test_towardzero): Add more tests.
25093         (fma_test_downward): Likewise.
25094         (fma_test_upward): Likewise.
25096         [BZ #14047]
25097         * sysdeps/generic/tininess.h: New file.
25098         * sysdeps/i386/tininess.h: Likewise.
25099         * sysdeps/sh/tininess.h: Likewise.
25100         * sysdeps/x86_64/tininess.h: Likewise.
25101         * stdlib/tst-strtod-underflow.c: Likewise.
25102         * stdlib/tst-tininess.c: Likewise.
25103         * stdlib/strtod_l.c: Include <tininess.h>.
25104         (round_and_return): Do not set errno for exact underflow cases.
25105         Force an underflow exception when setting errno for underflow.
25106         Determine underflow based on rounding to normal precision if
25107         TININESS_AFTER_ROUNDING.
25108         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25109         ERANGE for exact underflow cases.
25110         * stdlib/Makefile (tests): Add tst-tininess and
25111         tst-strtod-underflow.
25112         ($(objpfx)tst-tininess): Use $(link-libm).
25113         ($(objpfx)tst-strtod-underflow): Likewise.
25115 2012-10-30  Andreas Jaeger  <aj@suse.de>
25117         [BZ#14767]
25118         * elf/Makefile (tests): Remove conditional for have-initfini-array
25119         since this is now always required and the variable does not exist
25120         anymore.
25121         (tests-static): Likewise.
25122         (modules-names): Likewise.
25124         * po/eo.po: Add Esperanto translation from translation project.
25126         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25127         merged with constructor/destructor.
25128         (init_array): Likewise.
25129         * elf/tst-array2dep.c (fini_array): Likewise.
25130         (init_array): Likewise.
25132 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25134         * manual/message.texi: Delete @cartouche tags.
25136 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25138         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25139         EOPNOTSUPP.
25140         * sysdeps/mach/hurd/fsync.c: Likewise.
25142         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25143         [_POSIX_REALTIME_SIGNALS]: Change condition to
25144         [_POSIX_REALTIME_SIGNALS > 0].
25146 2012-10-27  Andreas Jaeger  <aj@suse.de>
25148         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25149         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25151         [__WORDSIZE != 64]: Likewise.
25153 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25155         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25156         *  iconvdata/tst-tables.sh: Likewise.
25158 2012-10-25  David S. Miller  <davem@davemloft.net>
25160         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25161         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25162         of strtoull.
25164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25165         ifunc-impl-list.c
25166         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25167         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25168         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25169         file.
25171 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25174         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25175         __getdirentries.
25177 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25178             Jim Blandy  <jimb@codesourcery.com>
25180         * scripts/cross-test-ssh.sh: New file.
25181         * manual/install.texi (Configuring and compiling): Document use of
25182         cross-test-ssh.sh.
25183         * INSTALL: Regenerated.
25185 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25187         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25188         EOPNOTSUPP.
25190 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25192         * Makeconfig (run-program-prefix): Fix comment.
25194 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25195             Jim Blandy  <jimb@codesourcery.com>
25197         * Makeconfig (test-wrapper): New variable,
25198         (test-wrapper-env): Likewise.
25199         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25200         (run-built-tests): Define to yes.
25201         (run-program-prefix): Use $(test-wrapper).
25202         (built-program-cmd): Likewise.
25203         * Rules (make-test-out): Use $(test-wrapper-env) and
25204         $(host-built-program-cmd).
25205         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25206         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25207         tst-pathopt.sh.
25208         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25209         $(test-wrapper-env) to tst-rtld-load-self.sh.
25210         ($(objpfx)order2.out): Use $(test-wrapper).
25211         ($(objpfx)tst-initorder.out): Likewise.
25212         ($(objpfx)tst-initorder2.out): Likewise.
25213         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25214         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25215         (test_wrapper_env): New variable.  Use it to run ld.so.
25216         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25217         Use it to run ld.so.
25218         (test_wrapper_env): Likewise.
25219         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25220         $(test-wrapper) to run-iconv-test.sh.
25221         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25222         (ICONV): Use $test_wrapper.
25223         * posix/Makefile ($(objpfx)globtest.out): Pass
25224         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25225         globtest.sh, not $(run-program-prefix).
25226         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25227         (test_wrapper): Likewise.
25228         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25229         set together with run_via_rtld_prefix.
25230         (run_program_prefix): Define in terms of test_wrapper and
25231         run_via_rtld_prefix.
25233 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25235         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25236         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25237         Targets removed.
25239         [BZ #14743]
25240         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25241         Declare __clock_getres, __clock_gettime, __clock_settime,
25242         __clock_nanosleep, and __clock_getcpuclockid.
25243         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25244         Remove librt_hidden_def (clock_gettime).
25245         * sysdeps/unix/clock_gettime.c: Likewise.
25246         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25247         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25248         * rt/clock_getres.c: Define __clock_getres as an alias.
25249         * sysdeps/posix/clock_getres.c: Likewise.
25250         * rt/clock_settime.c: Define __clock_settime as an alias.
25251         * sysdeps/unix/clock_settime.c: Likewise.
25252         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25253         * sysdeps/unix/clock_nanosleep.c: Likewise.
25254         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25255         * rt/clock-compat.c: New file.
25256         * rt/Makefile (librt-routines): Add clock-compat and move
25257         $(clock-routines) to ...
25258         (routines): ... here, new variable.
25259         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25260         Don't add get_clockfreq here.
25261         * rt/Versions (libc: GLIBC_2.17): New version set.
25262         Add clock_* symbols here.
25263         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25265         (GLIBC_2.17): Add clock_* symbols.
25266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25270         Likewise.
25271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25272         Likewise.
25273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25277         * NEWS: Mention the move.
25279         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25280         Use __open, __read, __close rather than their public counterparts.
25281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25282         (__get_clockfreq_via_cpuinfo): Likewise.
25283         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25284         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25286         * config.h.in (HAVE_IFUNC): New #undef.
25287         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25288         was successful.
25289         * configure: Regenerated.
25291 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25293         * configure.in: Move READELF check to start of file.
25294         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25295         libc_cv_asm_gnu_indirect_function in the process.
25296         * configure: Regenerated.
25298 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25300         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25301         send the output to /dev/null.
25302         (libc_cv_cc_with_libunwind): Likewise.
25303         (libc_cv_as_noexecstack): Likewise.
25304         * configure: Regenerate.
25306 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25308         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25310         * posix/globtest.sh (TMPDIR): Do not set.
25311         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25312         (testout): Likewise.
25314 2012-10-24  Andreas Jaeger  <aj@suse.de>
25316         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25317         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25318         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25319         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25320         posix_fadvise64, posix_fallocate64.
25322         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25323         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25324         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25325         Likewise.
25326         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25327         Likewise.
25328         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25331         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25332         <bits/fcntl-linux.h>.
25333         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25336         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25337         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25338         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25339         [__WORDSIZE != 64]: Likewise.
25341 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25343         * Makeconfig (run-built-tests): New variable.
25344         * Rules [$(cross-compiling) = yes]: Change condition to
25345         [$(run-built-tests) = no].
25346         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25347         to [$(run-built-tests) = yes].
25348         * elf/Makefile [$(cross-compiling) = no]: Likewise
25349         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25350         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25351         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25352         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25353         * io/Makefile [$(cross-compiling) = no]: Likewise.
25354         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25355         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25356         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25357         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25358         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25359         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25360         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25361         * string/Makefile [$(cross-compiling) = no]: Likewise.
25363         * posix/Makefile ($(objpfx)globtest.out): Pass
25364         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25365         $(rtld-installed-name).
25366         * posix/globtest.sh (elf_objpfx): Remove variable.
25367         (rtld_installed_name): Likewise.
25368         (library_path): Likewise.
25369         (run_program_prefix): New variable.  Use for running globtest
25370         binary.
25372 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25373             Joseph Myers  <joseph@codesourcery.com>
25375         * Makeconfig (host-built-program-cmd): New variable.
25376         * elf/Makefile (tst-stackguard1-ARGS): Use
25377         $(host-built-program-cmd).
25378         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25379         (tst-spawn-ARGS): Likewise.
25380         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25382 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25383             Jim Blandy  <jimb@codesourcery.com>
25385         * Makeconfig (run-via-rtld-prefix): New variable.
25386         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25387         (built-program-cmd): Likewise.
25389 2012-10-22  Andreas Jaeger  <aj@suse.de>
25391         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25392         __O_RSYNC if it exists, otherwise to O_SYNC.
25394 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25395             Joseph Myers  <joseph@codesourcery.com>
25397         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25398         /dev/null.
25399         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25400         from /dev/null
25401         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25402         /dev/null.
25404 2012-10-22  Andreas Jaeger  <aj@suse.de>
25406         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25407         Define always.
25408         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25411         bits/fcntl-linux.h.
25413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25414         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25417         to __O_LARGEFILE.
25418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25419         to __O_LARGEFILE.
25421 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25422             Joseph Myers  <joseph@codesourcery.com>
25424         * config.make.in (NM): New variable.
25426 2012-10-21  Andreas Jaeger  <aj@suse.de>
25428         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25429         definitions and declarations that are provided by
25430         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25432 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25434         [BZ #14683]
25435         * elf/Makefile (tests-static): Add tst-leaks1-static.
25436         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25437         ($(objpfx)tst-leaks1-static): New rule.
25438         ($(objpfx)tst-leaks1-static-mem): Likewise.
25439         (tst-leaks1-static-ENV): New macro.
25440         * elf/dl-open.c (dl_open_worker): Check the main application
25441         only if SHARED is defined.
25442         * elf/tst-leaks1-static.c: New file.
25444 2012-10-20  Andreas Jaeger  <aj@suse.de>
25446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25447         generic values for Linux.
25448         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25449         and declarations that are provided by <bits/fcntl-linux.h> and
25450         include <bits/fcntl-linux.h>.
25451         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25454 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25456         * io/fcntl.h: Move include of <bits/types.h> to the top and
25457         include it unconditionally.
25459 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25461         * wcsmbs/Makefile (tests-ifunc): New variable.
25462         (tests): Add $(tests-ifunc).
25463         * wcsmbs/test-wcschr-ifunc.c: New file.
25464         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25465         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25466         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25467         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25468         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25470         * string/Makefile (tests-ifunc): New variable.
25471         (tests): Add $(tests-ifunc).
25472         * string/test-memccpy.c (TEST_NAME): New macro.
25473         * string/test-memchr.c (TEST_NAME): Likewise.
25474         * string/test-memcmp.c (TEST_NAME): Likewise.
25475         * string/test-memcpy.c (TEST_NAME): Likewise.
25476         * string/test-memmem.c (TEST_NAME): Likewise.
25477         * string/test-memmove.c (TEST_NAME): Likewise.
25478         * string/test-memset.c (TEST_NAME): Likewise.
25479         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25480         * string/test-stpcpy.c (TEST_NAME): Likewise.
25481         * string/test-stpncpy.c (TEST_NAME): Likewise.
25482         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25483         * string/test-strcasestr.c (TEST_NAME): Likewise.
25484         * string/test-strcat.c (TEST_NAME): Likewise.
25485         * string/test-strchr.c (TEST_NAME): Likewise.
25486         * string/test-strcmp.c(TEST_NAME): Likewise.
25487         * string/test-strcpy.c (TEST_NAME): Likewise.
25488         * string/test-strcspn.c (TEST_NAME): Likewise.
25489         * string/test-strlen.c (TEST_NAME): Likewise.
25490         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25491         * string/test-strncmp.c (TEST_NAME): Likewise.
25492         * string/test-strncpy.c (TEST_NAME): Likewise.
25493         * string/test-strnlen.c (TEST_NAME): Likewise.
25494         * string/test-strpbrk.c (TEST_NAME): Likewise.
25495         * string/test-strrchr.c (TEST_NAME): Likewise.
25496         * string/test-strspn.c (TEST_NAME): Likewise.
25497         * string/test-strstr.c (TEST_NAME): Likewise.
25498         * string/test-bcopy-ifunc.c: New file.
25499         * string/test-bzero-ifunc.c: Likewise.
25500         * string/test-memccpy-ifunc.c: Likewise.
25501         * string/test-memchr-ifunc.c: Likewise.
25502         * string/test-memcmp-ifunc.c: Likewise.
25503         * string/test-memcpy-ifunc.c: Likewise.
25504         * string/test-memmem-ifunc.c: Likewise.
25505         * string/test-memmove-ifunc.c: Likewise.
25506         * string/test-mempcpy-ifunc.c: Likewise.
25507         * string/test-memset-ifunc.c: Likewise.
25508         * string/test-rawmemchr-ifunc.c: Likewise.
25509         * string/test-stpcpy-ifunc.c: Likewise.
25510         * string/test-stpncpy-ifunc.c: Likewise.
25511         * string/test-strcasecmp-ifunc.c: Likewise.
25512         * string/test-strcasestr-ifunc.c: Likewise.
25513         * string/test-strcat-ifunc.c: Likewise.
25514         * string/test-strchr-ifunc.c: Likewise.
25515         * string/test-strchrnul-ifunc.c: Likewise.
25516         * string/test-strcmp-ifunc.c: Likewise.
25517         * string/test-strcpy-ifunc.c: Likewise.
25518         * string/test-strcspn-ifunc.c: Likewise.
25519         * string/test-strlen-ifunc.c: Likewise.
25520         * string/test-strncasecmp-ifunc.c: Likewise.
25521         * string/test-strncat-ifunc.c: Likewise.
25522         * string/test-strncmp-ifunc.c: Likewise.
25523         * string/test-strncpy-ifunc.c: Likewise.
25524         * string/test-strnlen-ifunc.c: Likewise.
25525         * string/test-strpbrk-ifunc.c: Likewise.
25526         * string/test-strrchr-ifunc.c: Likewise.
25527         * string/test-strspn-ifunc.c: Likewise.
25528         * string/test-strstr-ifunc.c: Likewise.
25530         * debug/Makefile (tests-ifunc): New variable.
25531         (tests): Add $(tests-ifunc).
25532         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25533         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25534         * debug/test-stpcpy_chk-ifunc.c: New file.
25535         * debug/test-strcpy_chk-ifunc.c: Likewise.
25537 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25539         [BZ #13601]
25540         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25541         header is not read in.
25543 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25545         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25546         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25547         directly.  Pass built executable to script as
25548         $(built-program-cmd).
25549         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25550         $testprogram without using LD_LIBRARY_PATH and $ldso.
25552         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25553         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25554         $(rtld-installed-name).
25555         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25556         (rtld_installed_name): Likewise.
25557         (library_path): Likewise.
25558         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25559         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25560         $(run-program-prefix) to tst-tables.sh.
25561         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25562         it to run tst-table-from and tst-table-to.
25563         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25564         Pass it to tst-table.sh.
25565         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25566         $(run-program-prefix) to tst-gettext.sh.
25567         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25568         tst-translit.sh.
25569         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25570         tst-gettext2.sh.
25571         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25572         to run tst-gettext.
25573         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25574         to run tst-gettext2.
25575         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25576         to run tst-translit.
25577         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25578         $(run-program-prefix) to tst-mtrace.sh.
25579         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25580         to run tst-mtrace.
25581         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25582         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25583         $(rtld-installed-name).
25584         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25585         (rtld_installed_name): Likewise.
25586         (run_program_prefix): New variable.  Use it to run wordexp-test.
25588         * Makeconfig (ARCH): Remove all definitions.
25589         (machine): Likewise.
25590         [ARCH]: Remove conditional code.
25591         [!objdir]: Give error.
25592         [!objdir] (objpfx): Remove.
25593         [!objdir] (common-objpfx): Likewise.
25594         [!objdir] (common-objdir): Likewise.
25595         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25596         AC_CONFIG_FILES call.
25597         * configure: Regenerated.
25599         [BZ #13888]
25600         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25601         or TMPDIR.
25602         (testout): Likewise.
25604         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25605         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25606         $(rtld-installed-name).
25607         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25608         (rtld_installed_name): Likwise.
25609         (runit): Remove function.
25610         (run_getconf): New variable,  Use it for running getconf binary.
25612 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25614         [BZ #14716]
25615         * string/test-memmem.c (check_result): New function.
25616         (do_one_test): Use it.
25617         (check1): New function.
25618         (test_main): Use it.
25620 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25622         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25624 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25626         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25627         (_G_LSEEK64): Likewise.
25628         (_G_MMAP64): Likewise.
25629         (_G_FSTAT64): Likewise.
25630         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25631         (_G_LSEEK64): Likewise.
25632         (_G_MMAP64): Likewise.
25633         (_G_FSTAT64): Likewise.
25634         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25635         unconditional.  Call __mmap64 directly.
25636         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25637         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25638         __lseek64 directly.
25639         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25640         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25641         __mmap64 directly.
25642         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25643         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25644         __lseek64 directly.
25645         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25646         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25647         __lseek64 directly.
25648         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25649         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25650         __lseek64 directly.
25651         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25652         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25653         __fxstat64 directly.
25654         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25655         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25656         unconditional.
25657         (freopen64) [!_G_OPEN64]: Remove conditional code.
25658         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25659         unconditional.
25660         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25661         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25662         unconditional.
25663         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25664         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25665         unconditional.
25666         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25667         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25668         unconditional.
25669         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25670         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25671         unconditional.
25672         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25673         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25674         unconditional.
25675         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25676         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25677         unconditional.
25678         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25680 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25682         [BZ #12140]
25683         * manual/memory.texi (Malloc Tunable Parameters): Add note
25684         about free list pointers overwriting some perturb bytes.
25685         Wording suggested by Roland McGrath.
25687 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25689         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25690         (lgamma_test): Likewise.
25691         (tgamma_test): Likewise.
25693 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25695         [BZ #14700]
25696         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25697         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25699 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25701         * NEWS: Mention BZ #14716.
25702         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25703         when removing AVAILABLE1_USES_J macro.
25705 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
25707         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25708         (__bswap_64): __uint64_t for unsigned 64-bit int.
25710 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
25712         * include/string.h (memmem): Declare libc hidden alias.
25713         * string/memmem.c (memmem): Define libc hidden alias.
25714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25715         __read, __close instead of open, read, close.
25717 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
25719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25720         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25721         global and hidden.
25722         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25723         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25724         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25725         Likewise.
25726         (__rawmemchr_sse2): Likewise.
25727         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25728         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25729         (__strchr_sse2): Likewise.
25730         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25731         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25732         (__strcasecmp_sse2): Likewise.
25733         (__strncasecmp_sse2): Likewise.
25734         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25735         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25736         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25737         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25738         (__strrchr_sse2): Likewise.
25739         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25740         ifunc-impl-list.c.
25741         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25742         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25743         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25744         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25745         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25746         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25747         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25748         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25749         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25750         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25751         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25752         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25753         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25754         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25755         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25756         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25757         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25758         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25759         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25760         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25761         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25762         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25763         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25764         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25765         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25766         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25767         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25768         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25769         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25770         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25772         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25773         global and hidden.
25774         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25775         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25776         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25777         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25778         Likewise.
25779         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25780         Likewise.
25781         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25782         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25783         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25784         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25785         ifunc-impl-list.c.
25786         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25787         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25788         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25789         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25790         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25791         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25792         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25793         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25794         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25795         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25796         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25797         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25798         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25799         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25800         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25801         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25802         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25803         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25804         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25805         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25806         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25807         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25808         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25809         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25810         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25811         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25812         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25813         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25814         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25815         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25816         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25817         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25818         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25819         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25820         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25821         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25822         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25823         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25824         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25825         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25826         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25828         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25829         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25830         * include/ifunc-impl-list.h: New file.
25831         * misc/ifunc-impl-list.c: Likewise.
25832         * misc/Makefile (routines): Add ifunc-impl-list.
25833         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25834         * string/test-string.h: Include <ifunc-impl-list.h>.
25835         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25836         TEST_NAME]: New variables.
25837         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25838         are defined.
25839         (test_init): Call __libc_ifunc_impl_list to initialize
25840         func_list if TEST_IFUNC and TEST_NAME are defined.
25842         * string/Makefile (strop-tests): Add bcopy and bzero.
25843         * string/test-bcopy.c: New file.
25844         * string/test-bzero.c: Likewise.
25845         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25846         defined.
25847         * string/test-memset.c: Support bzero test if TEST_BZERO is
25848         defined.
25849         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25850         __libc_memmove.
25851         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25852         __libc_memset.
25853         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25854         of memset.
25856 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25858         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25859         * configure: Regenerated.
25861         * Makeconfig (+link-static-before-libc): Don't include
25862         $(link-static-libc).
25864         * libio/libio.h (_IO_pos_t): Remove.
25866 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25868         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25869         McGrath.
25871 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25873         * crypt/crypt-entry.c: Include fips-private.h.
25874         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25875         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25876         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25877         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25879 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25881         * crypt/crypt-private.h: Include stdbool.h.
25882         (_ufc_setup_salt_r): Return bool.
25883         * crypt/crypt-entry.c: Include errno.h.
25884         (__crypt_r): Return NULL with EINVAL for bad salt.
25885         * crypt/crypt_util.c (bad_for_salt): New.
25886         (_ufc_setup_salt_r): Check that salt is long enough and within
25887         the specified alphabet.
25888         * crypt/badsalttest.c: New file.
25889         * crypt/Makefile (tests): Add it.
25890         ($(objpfx)badsalttest): New.
25892 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25894         * NEWS: Add entry for BZ #14602.
25896 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25898         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25899         type-generic.
25900         * math/libm-test.inc: Update comment listing what functions and
25901         macros are tested.
25902         (isgreater_test): New function.
25903         (isgreaterequal_test): Likewise.
25904         (isless_test): Likewise.
25905         (islessequal_test): Likewise.
25906         (islessgreater_test): Likewise.
25907         (isunordered_test): Likewise.
25908         (main): Call the new functions.
25910 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25912         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25913         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25914         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25915         * sysdeps/i386/configure: Regenerated.
25916         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25917         * sysdeps/mach/configure: Regenerated.
25918         * sysdeps/mach/hurd/configure: Regenerated.
25919         * sysdeps/powerpc/configure: Regenerated.
25920         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25921         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25922         * sysdeps/s390/s390-32/configure: Regenerated.
25923         * sysdeps/s390/s390-64/configure: Regenerated.
25924         * sysdeps/sh/configure: Regenerated.
25925         * sysdeps/sparc/configure: Regenerated.
25926         * sysdeps/unix/sysv/linux/configure: Regenerated.
25927         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25928         * sysdeps/x86_64/configure: Regenerated.
25930         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25931         defined.  Don't check if MAP is NULL.
25933 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25935         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25936         (_G_stat64): Likewise.
25937         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25938         (_G_stat64): Likewise.
25939         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25940         instead of struct _G_stat64.
25941         * libio/fileops.c (mmap_remap_check): Likewise.
25942         (decide_maybe_mmap): Likewise.
25943         (_IO_new_file_seekoff): Likewise.
25944         (_IO_file_stat): Likewise.
25945         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25946         _G_off64_t.
25947         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25948         instead of struct _G_stat64.
25949         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25951 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25953         [BZ #14602]
25954         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25955         Replace with ...
25956         (CHECK_EOL): New macro.
25957         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25958         CHECK_EOL.
25959         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25960         Replace with CHECK_EOL.
25961         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25962         Replace with CHECK_EOL.
25964 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25966         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25967         type-generic.
25968         * math/libm-test.inc: Update comment listing what functions and
25969         macros are tested.
25970         (finite_test): New function.
25971         (isinf_test): Likewise.
25972         (isnan_test): Likewise.
25973         (fpclassify_test): Test subnormal input.
25974         (isfinite_test): Likewise.
25975         (isnormal_test): Likewise.
25976         (main): Call the new functions.
25978 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25980         [BZ #14660]
25981         * Makerules (%.dynsym): Force C locale when running
25982         $(OBJDUMP) --dynamic-syms.
25984 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25986         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25987         <stdint.h>.
25989 2012-10-06  David S. Miller  <davem@davemloft.net>
25991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25992         upper 32-bits of the length value in %o2 since we use branch-on-register
25993         tests which consider the entire 64-bit register.
25995 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25997         * string/test-strstr.c (check2): Add a test for page boundary.
25999 2012-10-05  David S. Miller  <davem@davemloft.net>
26001         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26002         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26003         file.
26004         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26005         sysdep_routines.
26006         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26007         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26008         and bzero when HWCAP_SPARC_CRYPTO is present.
26010 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26012         [BZ #14602]
26013         * string/test-strstr.c (check2): New function.
26014         (test_main): Call check2.
26016         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26017         and bug-strchr1.
26018         * string/bug-strcasestr1.c (do_test): Moved to ...
26019         * string/test-strcasestr.c (check1): Here.  New function.
26020         (do_one_test): Break out result checking code into ...
26021         (check_result): This.  New function.
26022         (do_one_test): Call check_result.
26023         (test_main): Call check1.
26024         * string/bug-strchr1.c (do_test): Moved to ...
26025         * string/test-strchr.c (check1): Here.  New function.
26026         (do_one_test): Break out result checking code into ...
26027         (check_result): This.  New function.
26028         (do_one_test): Call check_result.
26029         (test_main): Call check1.
26030         * string/bug-strstr1.c (main): Moved to ...
26031         * string/test-strstr.c (check1): Here.  New function.
26032         (do_one_test): Break out result checking code into ...
26033         (check_result): This.  New function.
26034         (do_one_test): Call check_result.
26035         (test_main): Call check1.
26036         * string/bug-strcasestr1.c: Removed.
26037         * string/bug-strchr1.c: Likewise.
26038         * string/bug-strstr1.c: Likewise.
26040         * elf/Makefile (dl-routines): Add hwcaps.
26041         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26042         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26043         (_dl_important_hwcaps): Moved to ...
26044         * elf/dl-hwcaps.c: Here.  New file.
26045         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26047         [BZ #14557]
26048         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26049         if IS_IN_rtld isn't defined.
26051         * elf/dl-support.c (_dl_sysinfo_map): New.
26052         Include "get-dynamic-info.h" and "setup-vdso.h".
26053         (_dl_non_dynamic_init): Call setup_vdso.
26054         * elf/dynamic-link.h: Don't include <assert.h>.
26055         (elf_get_dynamic_info): Moved to ...
26056         * elf/get-dynamic-info.h: Here.  New file.
26057         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26058         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26059         * elf/setup-vdso.h: Here.  New file.
26060         * elf/rtld.c: Include "setup-vdso.h".
26061         (dl_main): Call setup_vdso.
26063 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26065         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26066         creal in comment listing functions tested.  List finite, isinf,
26067         isnan, isless, islessequal, isgreater, isgreaterequal,
26068         islessgreater, isunordered, lgamma_r and pow10 as functions and
26069         macros not tested.  Mention which functions not tested are aliases
26070         for other functions.  Fix typo.  Note that signs of NaNs are not
26071         tested.
26073         * scripts/config.guess: Update from config.git.
26074         * scripts/config.sub: Likewise.
26076 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26078         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26079         * misc/madvise.c (madvise): Renamed to __madvise.
26080         Make madvise a weak alias.
26081         * include/sys/mman.h: Declare __madvise.
26082         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26083         * sysdeps/unix/syscalls.list
26084         (madvise): Make __madvise the strong name, and madvise a weak alias.
26085         * sysdeps/unix/sysv/linux/syscalls.list
26086         (madvise, mmap): Remove redundant entries.
26087         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26088         * malloc/malloc.c (mtrim): Likewise.
26089         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26091 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26093         * sysdeps/mach/hurd/dl-cache.c: File removed.
26094         * config.h.in (USE_LDCONFIG): New #undef.
26095         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26096         * configure: Regenerated.
26097         * elf/Makefile (dl-routines): Add dl-cache only under
26098         [$(use-ldconfig) = yes].
26099         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26100         cache on [USE_LDCONFIG].
26101         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26102         [USE_LDCONFIG].
26103         * elf/rtld.c (dl_main): Likewise.
26105 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26107         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26108         _SC_LEVEL4_CACHE_LINESIZE.
26110 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26112         * sysdeps/unix/bsd/confstr.h: File removed.
26114 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26116         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26117         sys/sdt-config.h.
26119 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26121         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26122         Make 'mapoff' field ElfW(Off) rather than off_t.
26124 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26126         * nscd/Makefile: Remove nscd-cflags and all its users.
26127         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26128         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26130         [BZ #10631]
26131         * malloc.c (malloc_printerr): Clarify error message.
26133 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26135         [BZ #14648]
26136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26137         Set bit_FMA_Usable if FMA is supported.
26138         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26139         macro.
26140         (bit_FMA4_Usable): Updated.
26141         (index_FMA_Usable): New macro.
26142         (CPUID_FMA): Likewise
26143         (HAS_FMA): Defined with bit_FMA_Usable.
26145 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26147         * bits/types.h (__swblk_t): Type removed.
26148         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26149         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26151         (__SWBLK_T_TYPE): Likewise.
26152         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26153         (__SWBLK_T_TYPE): Likewise.
26154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26155         (__SWBLK_T_TYPE): Likewise.
26156         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26157         (__SWBLK_T_TYPE): Likewise.
26159 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26160             Honza Horak <hhorak@redhat.com>
26162         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26163         (xdr_mapname): Use YPMAXMAP as maxsize.
26164         (xdr_peername): Use YPMAXPEER as maxsize.
26165         (xdr_keydat): Use YPAXRECORD as maxsize.
26166         (xdr_valdat): Use YPMAXRECORD as maxsize.
26168 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26170         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26172         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26173         * csu/init-first.c: ... here.
26174         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26175         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26176         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26177         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26178         * sysdeps/i386/init-first.c: File removed.
26179         * sysdeps/sh/init-first.c: File removed.
26181 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #14645]
26184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26185         if x * y might underflow to zero and z is zero.
26186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26188         * math/libm-test.inc (min_subnorm_value): New variable.
26189         (fma_test): Add more tests.
26190         (fma_test_towardzero): Likewise.
26191         (fma_test_downward): Likewise
26192         (fma_test_upward): Likewise.
26193         (initialize): Set min_subnorm_value.
26195 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26197         [BZ #14638]
26198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26199         0 + 0.
26200         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26201         mode for addition resulting in exact zero.
26202         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26204         exact 0 + 0.
26205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26207         * math/libm-test.inc (fma_test): Add more tests.
26208         (fma_test_towardzero): New function.
26209         (fma_test_downward): Likewise.
26210         (fma_test_upward): Likewise.
26211         (main): Call the new functions.
26213 2012-09-28  David S. Miller  <davem@davemloft.net>
26215         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26217 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26219         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26220         instead of SIGALRM.
26222         * sysdeps/gnu/_G_config.h: Moved to ...
26223         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26224         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26225         * sysdeps/generic/_G_config.h: ... here.
26227         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26229         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26231         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26232         Conditionalize target on [libnss_test1.so-version].
26234         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26236         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26237         (elfobjdir): Move out of conditionals.
26239         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26240         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26241         (__nss_lookup_function): Conditionalize label remove_from_tree on
26242         [!DO_STATIC_NSS || SHARED], matching its only use.
26244 2012-09-28  David S. Miller  <davem@davemloft.net>
26246         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26247         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26248         file.
26249         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26250         sysdep_routines.
26251         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26253         when HWCAP_SPARC_CRYPTO is present.
26255 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26257         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26259 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26261         [BZ #6530]
26262         * stdio-common/vfprintf.c (process_string_arg): Revert
26263         2000-07-22 change.
26265 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26267         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26268         for testcase.
26269         * stdio-common/tst-sprintf.c: Include <locale.h>
26270         (main): Test sprintf's handling of incomplete multibyte
26271         characters.
26273 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26275         * elf/dl-runtime.c (VERSYMIDX): Removed.
26276         * elf/dl-version.c (VERSYMIDX): Likewise.
26277         * elf/do-rel.h (VERSYMIDX): Likewise.
26278         (VALIDX): Likewise.
26279         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26280         * elf/rtld.c (VALIDX): Likewise.
26281         (ADDRIDX): Likewise.
26282         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26283         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26284         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26285         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26286         (VALIDX): Likewise.
26287         (ADDRIDX): Likewise.
26289 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26291         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26293 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26295         [BZ #11438]
26296         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26297         to global scope.
26298         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26299         addresses are in the same scope as 192.0.2/24.
26300         * posix/gai.conf: Document new scope table defaults.
26302 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26304         [BZ #5298]
26305         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26306         for ftell.  Compute offsets from write pointers instead.
26307         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26309 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26311         [BZ #14543]
26312         * libio/Makefile (tests): New test case tst-fseek.
26313         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26314         combination works in wide mode.
26315         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26316         state when the external buffer state changes.
26318 2012-09-27  David S. Miller  <davem@davemloft.net>
26320         [BZ #14376]
26321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26322         pass reloc->r_addend in as the 'high' argument to
26323         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26327 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26329         * rt/tst-aio2.c: Include <pthread.h>.
26330         * rt/tst-aio3.c: Likewise.
26332 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26334         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26336 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26338         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26339         contents on [SHARED].
26341 2012-09-26  Marek Polacek  <polacek@redhat.com>
26343         [BZ #14530]
26344         [BZ #13741]
26345         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26346         for C++ and GCC <4.3 as well as for non GCC compilers.
26348 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26352 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26354         * Makefile.in (all, install): Declare with .PHONY.
26355         Reported by Michael Hope <michael.hope@linaro.org>.
26357 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26359         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26360         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26361         system header.
26362         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26363         Likewise.
26364         (sydep_routines): Add the new and the internal functions.
26365         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26366         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26368         (GLIBC_2.17): Add the new function.
26369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26370         (GLIBC_2.17): Likewise.
26371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26372         (GLIBC_2.17): Likewise.
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26374         (GLIBC_2.17): Likewise.
26375         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26377 2012-09-25  Alan Modra  <amodra@gmail.com>
26379         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26380         Add release barrier before setting once_control to say
26381         initialisation is done.  Add hints on lwarx.  Use macro in
26382         place of isync.
26383         (clear_once_control): Add release barrier.
26385 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26387         [BZ #13629]
26388         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26389         specially.
26390         * math/s_clog10.c (__clog10): Likewise.
26391         * math/s_clog10f.c (__clog10f): Likewise.
26392         * math/s_clog10l.c (__clog10l): Likewise.
26393         * math/s_clogf.c (__clogf): Likewise.
26394         * math/s_clogl.c (__clogl): Likewise.
26395         * math/Makefile (libm-calls): Add x2y2m1.
26396         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26397         (__x2y2m1): Likewise.
26398         (__x2y2m1l): Likewise.
26399         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26400         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26401         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26402         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26403         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26404         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26405         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26406         * sysdeps/i386/fpu/libm-test-ulps: Update.
26407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409         [BZ #14621]
26410         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26411         int as type of variable DEPTH.
26412         (glob): Use size_t instead of int as type of variables NEWCOUNT
26413         and OLD_PATHC.
26415 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26417         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26418         Add s_sincosf-sse2.
26419         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26420         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26421         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26422         macros for using routine as __sincosf_ia32.
26423         Use macro for function declaration and weak_alias.
26424         * sysdeps/i386/fpu/libm-test-ulps: Update.
26426         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26429         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26430         subnormal argument.
26431         * math/s_cexpf.c (__cexpf): Likewise.
26432         * math/s_csinf.c (__csinf): Likewise.
26433         * math/s_csinhf.c (__csinhf): Likewise.
26434         * math/s_ctanf.c (__ctanf): Likewise.
26435         * math/s_ctanhf.c (__ctanhf): Likewise.
26436         * math/s_ccosh.c (__ccoshf): Likewise.
26437         * math/s_cexp.c (__cexpl): Likewise.
26438         * math/s_csin.c (__csin): Likewise.
26439         * math/s_csinh.c (__csinh): Likewise.
26440         * math/s_ctan.c (__ctan): Likewise.
26441         * math/s_ctanh.c (ctanh): Likewise.
26442         * math/s_ccoshl.c (__ccoshl): Likewise.
26443         * math/s_cexpl.c (__cexpl): Likewise.
26444         * math/s_csinl.c (__csinl): Likewise.
26445         * math/s_csinhl.c (__csinhl): Likewise.
26446         * math/s_ctanl.c (__ctanl): Likewise.
26447         * math/s_ctanhl.c (__ctanhl): Likewise.
26449 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26451         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26452         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26453         (_IO_off_t): Define to __off_t, not _G_off_t.
26454         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26455         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26456         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26457         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26458         type of __dummy and __dummy2 fields.
26459         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26460         (_G_ssize_t): Likewise.
26461         (_G_off_t): Likewise.
26462         (_G_pid_t): Likewise.
26463         (_G_uid_t): Likewise.
26464         (_G_wchar_t): Likewise.
26465         (_G_wint_t): Likewise.
26466         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26467         (_G_ssize_t): Likewise.
26468         (_G_off_t): Likewise.
26469         (_G_pid_t): Likewise.
26470         (_G_uid_t): Likewise.
26471         (_G_wchar_t): Likewise.
26472         (_G_wint_t): Likewise.
26473         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26474         (_G_ssize_t): Likewise.
26475         (_G_off_t): Likewise.
26476         (_G_pid_t): Likewise.
26477         (_G_uid_t): Likewise.
26478         (_G_wchar_t): Likewise.
26479         (_G_wint_t): Likewise.
26481 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26483         * malloc/arena.c: Include malloc-sysdep.h.
26484         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26485         is sufficient to shrink the heap or an unmap is needed.
26486         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26487         new function check_may_shrink_heap.
26488         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26489         new function check_may_shrink_heap.
26491 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26493         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26494         comments.
26496 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26498         * catgets/test-gencat.sh: Add "set -e".
26499         * elf/tst-pathopt.sh: Likewise.
26500         * grp/tst_fgetgrent.sh: Likewise.
26501         * iconvdata/run-iconv-test.sh: Likewise.
26502         * intl/tst-gettext.sh: Likewise.
26503         * intl/tst-gettext2.sh: Likewise.
26504         * intl/tst-gettext4.sh: Likewise.
26505         * intl/tst-gettext6.sh: Likewise.
26506         * intl/tst-translit.sh: Likewise.
26507         * io/ftwtest-sh: Likewise.
26508         * libio/test-freopen.sh: Likewise.
26509         * malloc/tst-mtrace.sh: Likewise.
26510         * posix/globtest.sh: Likewise.
26511         * posix/tst-getconf.sh: Likewise.
26512         * posix/wordexp-tst.sh: Likewise.
26513         * stdio-common/tst-printf.sh: Likewise.
26514         * stdio-common/tst-unbputc.sh: Likewise.
26515         * stdlib/tst-fmtmsg.sh: Likewise.
26516         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26517         * catgets/Makefile: Do not specify -e option when running
26518         testsuite shell scripts.
26519         * elf/Makefile: Likewise.
26520         * grp/Makefile: Likewise.
26521         * iconvdata/Makefile: Likewise.
26522         * intl/Makefile: Likewise.
26523         * io/Makefile: Likewise.
26524         * libio/Makefile: Likewise.
26525         * malloc/Makefile: Likewise.
26526         * posix/Makefile: Likewise.
26527         * stdio-common/Makefile: Likewise.
26528         * stdlib/Makefile: Likewise.
26529         * sysdeps/x86_64/Makefile: Likewise.
26531         * io/ftwtest-sh: Add copyright header.
26532         * posix/globtest.sh: Likewise.
26533         * posix/tst-getconf.sh: Likewise.
26534         * posix/wordexp-tst.sh: Likewise.
26535         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26537 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26539         [BZ #13679]
26540         * Makeconfig (+link): Defined as $(+link-static) if
26541         $(build-shared) isn't yes.
26542         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26543         isn't yes.
26544         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26546         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26548         [BZ #14562]
26549         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26550         new chunk size with MALLOC_ALIGN_MASK.
26552 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26554         [BZ #5044]
26555         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26556         <rounding-mode.h>.
26557         (__printf_fphex): Determine rounding using get_rounding_mode and
26558         round_away.
26559         * stdio-common/tst-printf-round.c (struct hex_test): New
26560         structure.
26561         (hex_tests): New variable.
26562         (test_hex_in_one_mode): New function.
26563         (do_test): Also run tests for hex float output.
26565 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26567         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26568         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26569         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26570         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26571         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26572         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26573         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26574         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26576 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26578         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26579         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26580         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26581         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26583 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26585         [BZ #14579]
26586         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26587         mode only.
26588         * elf/tst-rtld-load-self.sh: New test.
26589         * elf/Makefile: Run it.
26591 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26593         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26594         (tst-writev-ENV): Remove.
26595         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26597 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26599         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26601 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26603         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26604         unconditional.
26605         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26606         Likewise.
26607         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26608         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26609         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26610         Likewise.
26612 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26614         [BZ #14587]
26615         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26616         * config.make.in (have-cpp-asm-debuginfo): Removed.
26617         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26618         * configure: Regenerated.
26620 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26622         [BZ #5044]
26623         * stdio-common/printf_fp.c: Include <stdbool.h> and
26624         <rounding-mode.h>.
26625         (___printf_fp): Determine rounding using get_rounding_mode and
26626         round_away.
26627         * stdio-common/tst-printf-round.c: New file.
26628         * stdio-common/Makefile (tests): Add tst-printf-round.
26629         (link-libm): New variable.
26630         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26632 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26634         [BZ #14576]
26635         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26636         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26637         Likewise.
26638         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26639         Likewise.
26641 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26643         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26644         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26645         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26646         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26648 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26650         [BZ #14518]
26651         * include/rounding-mode.h: New file.
26652         * sysdeps/generic/get-rounding-mode.h: Likewise.
26653         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26654         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26655         (MAX_VALUE): New macro.
26656         (MIN_VALUE): Likewise.
26657         (overflow_value): New function.
26658         (underflow_value): Likewise.
26659         (round_and_return): Use overflow_value and underflow_value to
26660         determine return values in overflow and underflow cases.  Use
26661         round_away to determine rounding depending on rounding mode.
26662         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26663         determine return values in overflow and underflow cases.
26664         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26665         (struct test_results): New structure.
26666         (struct test): Use struct test_results to store expected results
26667         for all rounding modes.
26668         (TEST): Include expected results for all rounding modes.
26669         (test_in_one_mode): New function.
26670         (do_test): Use test_in_one_mode to compute and check results.
26671         Check results for all rounding modes.
26672         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26673         $(link-libm).
26675 2012-12-09  Allan McRae  <allan@archlinux.org>
26677         * sysdeps/i386/fpu/libm-test-ulps: Update
26679 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26681         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26682         (_G_int32_t): Likewise.
26683         (_G_uint16_t): Likewise.
26684         (_G_uint32_t): Likewise.
26685         (_G_HAVE_BOOL): Likewise.
26686         (_G_HAVE_ATEXIT): Likewise.
26687         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26688         (_G_HAVE_IO_FILE_OPEN): Likewise.
26689         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26690         (_G_int32_t): Likewise.
26691         (_G_uint16_t): Likewise.
26692         (_G_uint32_t): Likewise.
26693         (_G_HAVE_BOOL): Likewise.
26694         (_G_HAVE_ATEXIT): Likewise.
26695         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26696         (_G_HAVE_IO_FILE_OPEN): Likewise.
26697         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26698         (_G_int32_t): Likewise.
26699         (_G_uint16_t): Likewise.
26700         (_G_uint32_t): Likewise.
26701         (_G_HAVE_BOOL): Likewise.
26702         (_G_HAVE_ATEXIT): Likewise.
26703         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26704         (_G_HAVE_IO_FILE_OPEN): Likewise.
26706 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
26708         * csu/libc-tls.c: Update copyright years.
26710 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
26712         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26713         [!_G_USING_THUNKS]: Remove conditional code.
26714         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26715         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26717         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26718         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26719         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26720         (_G_VTABLE_LABEL_PREFIX): Likewise.
26721         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26722         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26723         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26724         (_G_VTABLE_LABEL_PREFIX): Likewise.
26725         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26726         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26727         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26728         (_G_VTABLE_LABEL_PREFIX): Likewise.
26729         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26731 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26733         * libio/Makefile: Include ../Makeconfig before tests.
26734         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26735         only if $(build-shared) is yes.
26737         * iconv/gconv_db.c: Update copyright years.
26739 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26741         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26742         unwind info if defined PIC. Fix special cases description.
26743         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26745         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26746         DP_HI_MASK entry.
26747         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26749 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26751         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26753         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26754         is NULL.
26756         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26757         (LDLIBS-tst-chk4): This.
26758         (LDFLAGS-tst-chk5): Renamed to ...
26759         (LDLIBS-tst-chk5): This.
26760         (LDFLAGS-tst-chk6): Renamed to ...
26761         (LDLIBS-tst-chk6): This.
26762         (LDFLAGS-tst-lfschk4): Renamed to ...
26763         (LDLIBS-tst-lfschk4): This.
26764         (LDFLAGS-tst-lfschk5): Renamed to ...
26765         (LDLIBS-tst-lfschk5): This.
26766         (LDFLAGS-tst-lfschk6): Renamed to ...
26767         (LDLIBS-tst-lfschk6): This.
26769         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26770         on $(common-objpfx)soversions.mk.
26772 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26774         [BZ #10014]
26775         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26776         example host name.
26778 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26780         * malloc/arena.c (arena_get_retry): New function that gets
26781         another arena for the caller to try its request on.
26782         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26783         current arena cannot fulfill the request.
26784         (__libc_memalign): Likewise.
26785         (__libc_memalign): Likewise.
26786         (__libc_pvalloc): Likewise.
26787         (__libc_calloc): Likewise.
26789 2012-09-05  John Tobey  <john.tobey@gmail.com>
26791         [BZ #13542]
26792         * manual/arith.texi (Operations on Complex): Fix description
26793         of carg branch cut.
26795 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26797         [BZ #10014]
26798         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26799         host name.
26801         [BZ #10038]
26802         * manual/memory.texi (Memory): Make order of menu items match
26803         order of sections.
26805 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26807         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26808         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26809         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26811 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26813         * csu/libc-tls.c (static_dtv): Renamed to ...
26814         (_dl_static_dtv): This.  Make it global.
26815         (_dl_initial_dtv): Removed.
26816         (__libc_setup_tls): Updated.
26817         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26818         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26819         DL_INITIAL_DTV.
26821 2012-09-06  Petr Machata  <pmachata@redhat.com>
26823         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26824         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26825         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26826         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26828 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26830         [BZ #14545]
26831         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26832         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26833         freeing dtv[-1].
26835 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26837         [BZ #14544]
26838         * Makeconfig (link-static-before-libc): Replace $(+prector)
26839         with $(+prectorT).
26840         (link-static-after-libc): Replace $(+postctor) with
26841         $(+postctorT).
26842         (link-bounded): Replace $(+prector)/$(+postctor) with
26843         $(+prectorT)/$(+postctorT).
26844         (+prectorT): New macro.
26845         (+postctorT): Likewise.
26847 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26849         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26850         (round_str): Handle values above the maximum for IBM long double
26851         as inexact.
26852         * stdlib/tst-strtod-round.c (tests): Regenerated.
26854 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26856         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26857         assembler flag.
26858         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26859         zarch_nohighgprs around the zarch optimized routines.
26860         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26861         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26862         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26863         for zarch.
26865 2012-09-05  David S. Miller  <davem@davemloft.net>
26867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26869         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26870         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26871         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26872         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26873         entries.
26875 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26877         * malloc/arena.c: Fold copyright years.
26878         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26880 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26882         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26884 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26886         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26888 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26890         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26891         change internal state upon failure.
26893 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26895         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26896         * malloc/memusage.c (mmap): Likewise.
26897         (mmap64, mremap): Likewise.  Adjust name in comment.
26899 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26901         * libio/fileops.c: Fix typos in comments.
26902         * libio/oldfileops.c: Likewise.
26903         * libio/wfileops.c: Likewise.
26905 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26907         [BZ #1349]
26908         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26909         (tst-malloc-usable-ENV): Set environment for test case.
26910         * malloc/hooks.c (malloc_check_get_size): New function to get
26911         requested size.
26912         * malloc/malloc.c (musable): Use malloc_check_get_size.
26913         * malloc/tst-malloc-usable.c: New test case.
26915 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26917         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26919 2012-09-05  Allan McRae  <allan@archlinux.org>
26921         [BZ #13966]
26922         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26923         determine header location.
26924         * configure: Regenerated.
26926 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26928         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26929         float format.
26930         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26931         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26932         format.
26933         (test): Regenerate.
26935 2012-09-04  David S. Miller  <davem@davemloft.net>
26937         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26938         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26939         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26941 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26943         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26944         failures.
26946         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26948 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26950         [BZ #9914]
26951         * libio/iogetdelim.c: Include <limits.h>.
26952         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26953         + len + 1 would overflow.
26955 2012-09-03  Andreas Jaeger  <aj@suse.de>
26957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26958         * sysdeps/i386/fpu/libm-test-ulps: Update.
26960 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26962         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26963         Add s_sinf-sse2, s_conf-sse2.
26965         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26966         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26967         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26968         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26970         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26971         for using routine as __sinf_ia32.
26972         Use macro for function declaration and weak_alias.
26973         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26974         for using routine as __cosf_ia32.
26975         Use macro for function declaration and weak_alias.
26977         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26978         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26980         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26981         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26984         * math/libm-test.inc (cos_test): Add more test cases.
26985         (sin_test): Likewise.
26986         (sincos_test): Likewise.
26988 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26990         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26991         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26992         hidden.
26993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26995 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26997         [BZ #14538]
26998         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26999         first element of the GOT.
27000         (elf_machine_load_address): Return the difference between
27001         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27003 2012-09-01  Allan McRae  <allan@archlinux.org>
27005         [BZ #13412]
27006         * configure.in (AWK): Require gawk version 3.0 or later.
27007         * configure: Regenerated.
27009 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27011         * sysdeps/unix/sysv/linux/kernel-features.h
27012         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27013         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27014         [__NR_clock_getres]: Make code unconditional.
27015         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27016         (clock_getcpuclockid): Remove code left unreachable by removal of
27017         conditionals.
27018         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27019         code unconditional.
27020         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27021         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27022         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27023         Make code unconditional.
27024         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27025         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27026         * sysdeps/unix/sysv/linux/clock_settime.c
27027         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27028         conditional code.
27029         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27030         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27032 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27034         [BZ #14476]
27035         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27036         scripts/test-installation.pl.
27038         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27039         and $ld_so_version if it is set.
27041 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27043         [BZ #14516]
27044         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27045         failure if reading from procfs failed.
27046         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27048 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27050         * sysdeps/unix/sysv/linux/kernel-features.h
27051         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27052         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27053         Remove conditional code.
27054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27055         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27056         Remove conditional code.
27057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27058         * sysdeps/unix/sysv/linux/i386/fxstat.c
27059         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27060         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27061         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27062         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27064         * sysdeps/unix/sysv/linux/i386/lxstat.c
27065         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27067         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27068         Remove conditional code.
27069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27070         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27071         Remove conditional code.
27072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27073         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27074         <kernel-features.h>.
27075         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27076         Remove.
27077         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27078         Remove conditional code.
27079         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27080         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27081         Remove conditional.
27083 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27085         [BZ #5400]
27086         * NEWS: Add fixed bug number.
27088 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #14519]
27091         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27092         underflowing exponent in case of negative sign.
27093         * stdlib/tst-strtod-round-data: Add more tests.
27094         * stdlib/tst-strtod-round.c (tests): Regenerated.
27096         [BZ #3479]
27097         * stdlib/strtod_l.c (NDIG): Remove.
27098         (HEXNDIG): Likewise.
27099         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27100         smallest representable value.
27101         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27102         lie within an exact representation of 1/2 ulp of the result.
27103         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27104         unconditionally.
27105         (TENS_P9_IDX): Define unconditionally.
27106         (TENS_P9_SIZE): Likewise.
27107         (TENS_P10_IDX): Likewise.
27108         (TENS_P10_SIZE): Likewise.
27109         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27110         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27111         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27112         entries for 10^2^13 and 10^2^14.
27113         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27114         (TENS_P13_IDX): Define.
27115         (TENS_P13_SIZE): Likewise.
27116         (TENS_P14_IDX): Likewise.
27117         (TENS_P14_SIZE): Likewise.
27118         (_fpioconst_pow10): Change array size to
27119         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27120         unconditional.
27121         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27122         1024]: Add entries for 10^2^13 and 10^2^14.
27123         [LAST_POW10 > _LAST_POW10]: Remove #error.
27124         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27125         (_fpioconst_pow10): Change array size to
27126         FPIOCONST_POW10_ARRAY_SIZE.
27127         * stdlib/gen-fpioconst.c: New file.
27128         * stdlib/gen-tst-strtod-round.c: Likewise.
27129         * stdlib/tst-strtod-round-data: Likewise.
27130         * stdlib/tst-strtod-round.c: Likewise.
27131         * stdlib/Makefile (tests): Add tst-strtod-round.
27133         [BZ #14459]
27134         * stdlib/strtod_l.c: Include <stdint.h>.
27135         (NDEBUG): Do not define.
27136         (round_and_return): Change EXPONENT parameter to type intmax_t.
27137         Rearrange calculations to avoid internal overflow possibilities.
27138         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27139         Rearrange calculations to avoid internal overflow possibilities.
27140         Assert that number fits inside MPNSIZE limbs.
27141         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27142         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27143         calculations and add assertions to avoid internal overflow
27144         possibilities.  Add casts to avoid signed/unsigned operations.
27145         * stdlib/tst-strtod-overflow.c: New file.
27146         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27148 2012-08-25  Marek Polacek  <polacek@redhat.com>
27150         * time/time.h: Fix some typos in comments.
27152 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27154         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27155         * posix/tst-rfc3484-2.c: Likewise.
27156         * posix/tst-rfc3484-3.c: Likewise.
27158 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27160         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27161         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27163 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27165         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27166         #include of fxstatat64.c.
27168 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27170         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27171         * shadow/getspent_r.c: Likewise.
27172         * shadow/getspnam.c: Likewise.
27173         * shadow/getspnam_r.c: Likewise.
27174         * gshadow/getsgent.c: Likewise.
27175         * gshadow/getsgent_r.c: Likewise.
27176         * gshadow/getsgnam.c: Likewise.
27177         * gshadow/getsgnam_r.c: Likewise.
27178         * inet/getnetbyad.c: Likewise.
27179         * inet/getnetbyad_r.c: Likewise.
27180         * inet/getnetbynm.c: Likewise.
27181         * inet/getnetbynm_r.c: Likewise.
27182         * inet/getnetent.c: Likewise.
27183         * inet/getnetent_r.c: Likewise.
27184         * inet/getproto.c: Likewise.
27185         * inet/getproto_r.c: Likewise.
27186         * inet/getprtent.c: Likewise.
27187         * inet/getprtent_r.c: Likewise.
27188         * inet/getprtname.c: Likewise.
27189         * inet/getprtname_r.c: Likewise.
27190         * inet/getrpcbyname.c: Likewise.
27191         * inet/getrpcbyname_r.c: Likewise.
27192         * inet/getrpcbynumber.c: Likewise.
27193         * inet/getrpcbynumber_r.c: Likewise.
27194         * inet/getrpcent.c: Likewise.
27195         * inet/getrpcent_r.c: Likewise.
27196         * inet/getaliasent.c: Likewise.
27197         * inet/getaliasent_r.c: Likewise.
27198         * inet/getaliasname.c: Likewise.
27199         * inet/getaliasname_r.c: Likewise.
27200         * nscd/getgrgid_r.c: Likewise.
27201         * nscd/getgrnam_r.c: Likewise.
27202         * nscd/gethstbyad_r.c: Likewise.
27203         * nscd/gethstbynm3_r.c: Likewise.
27204         * nscd/getpwnam_r.c: Likewise.
27205         * nscd/getpwuid_r.c: Likewise.
27206         * nscd/getsrvbynm_r.c: Likewise.
27207         * nscd/getsrvbypt_r.c: Likewise.
27208         * nscd/gai.c: Likewise.
27210         * configure.in (build_nscd): New substituted variable, set
27211         by --disable-build-nscd and defaults to $use_nscd.
27212         * configure: Regenerated.
27213         * config.make.in (build-nscd): New substituted variable.
27214         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27215         Change conditional to require [$(build-nscd) = yes] as well.
27216         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27218         [BZ# 13696]
27219         * configure.in (use_nscd): New substituted variable, set by
27220         --disable-nscd.  If enabled, define USE_NSCD.
27221         * configure: Regenerated.
27222         * config.h.in: Add USE_NSCD.
27223         * config.make.in (use-nscd): New substituted variable.
27224         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27225         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27226         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27227         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27228         (CFLAGS-getgrnam_r.c): Likewise.
27229         (CFLAGS-initgroups.c): Likewise.
27230         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27231         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27232         Variables removed.
27233         * inet/getnetgrent_r.c
27234         (nscd_setnetgrent): New function, broken out of ...
27235         (setnetgrent): ... here.  Call it.
27236         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27237         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27238         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27239         * nscd/Makefile (routines, aux): Move definitions after include of
27240         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27241         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27242         Conditionalize on [USE_NSCD].
27243         (is_nscd, nscd_init_cb): Likewise.
27244         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27245         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27246         * nss/nss_db/db-init.c: Likewise.
27247         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27248         [USE_NSCD].
27249         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27250         (make_request): Use it.
27251         (cache_valid_p): New function.
27252         (__check_pf): Use it.
27253         * NEWS: Add item for --disable-nscd.
27255 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27257         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27258         to support sed >= 4.2.1-20-ga9bf076.
27259         * configure: Regenerated.
27261 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27263         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27264         Conditionalize whole body on [IREL].
27266 2012-08-22  Jeff Law <law@redhat.com>
27268         [BZ #14505]
27269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27270         if the family is PF_UNSPEC.
27272 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27274         * Makerules (lib-version): Rename from V.
27275         (install-lib-nosubdir): Change V to lib-version.
27277 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27279         [BZ #14252]
27280         * powerpc32/power6/wcschr.c: New file.
27281         * powerpc32/power6/wcscpy.c: New file.
27282         * powerpc32/power6/wcsrchr.c: New file.
27283         * powerpc64/power6/wcschr.c: New file.
27284         * powerpc64/power6/wcscpy.c: New file.
27285         * powerpc64/power6/wcsrchr.c: New file.
27287 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27289         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27290         (two_way_short_needle): Use it.
27291         * string/strstr.c (AVAILABLE1_USES_J): Define.
27292         * string/strcasestr.c: Likewise.
27294         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27295         array references.
27296         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27298         [BZ #11607]
27299         * NEWS: Add an entry.
27300         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27301         define their defaults.
27302         (two_way_short_needle): Detect end-of-string on-the-fly.
27303         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27304         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27305         * string/bug-strcasestr1.c: New test.
27306         * string/Makefile: Run it.
27308 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27310         [BZ #11607]
27311         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27312         the first character.
27314 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27316         * csu/elf-init.c (__libc_csu_irel): Function removed.
27317         * csu/libc-start.c (apply_irel): New function.
27318         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27320 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27322         * sysdeps/unix/sysv/linux/kernel-features.h
27323         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27324         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27325         <kernel-features.h>.
27326         [__NR_fadvise64_64]: Make code unconditional.
27327         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27328         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27329         !__NR_fadvise64_64)]: Likewise.
27330         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27331         !__NR_fadvise64_64))]: Likewise.
27332         [__NR_fadvise64]: Make code unconditional.
27333         [!__NR_fadvise64]: Remove conditional code.
27334         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27335         <kernel-features.h>.
27336         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27337         unconditional.
27338         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27339         conditional code.
27340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27341         not include <kernel-features.h>.
27342         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27343         unconditional.
27344         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27345         conditional code.
27346         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27347         include <kernel-features.h>.
27348         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27349         unconditional.
27350         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27351         conditional code.
27353 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27355         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27356         slight instruction rearrangements per scrollpipe analysis.
27357         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27359 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27361         * manual/syslog.texi (syslog; vsyslog, closelog):
27362         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27363         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27365         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27366         DSOCAPS to match condition on defining it.
27368 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27370         * sysdeps/unix/sysv/linux/kernel-features.h
27371         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27373         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27374         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27376         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27377         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27379         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27380         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27382         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27383         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27385         * sysdeps/unix/sysv/linux/kernel-features.h
27386         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27387         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27388         unconditional.
27389         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27390         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27391         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27392         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27393         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27394         Make code unconditional.
27395         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27396         (__mmap64) [!__NR_mmap2]: Likewise.
27397         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27398         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27399         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27400         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27401         [__NR_mmap2]: Make code unconditional.
27402         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27403         (__mmap64) [!__NR_mmap2]: Likewise.
27405 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27407         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27409 2012-08-18  Andreas Jaeger  <aj@suse.de>
27411         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27413 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27415         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27416         * include/unistd.h (__have_sock_cloexec): Likewise.
27417         (__have_pipe2): Likewise.
27418         (__have_dup3): Likewise.
27420 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27422         [BZ #9685]
27423         * include/unistd.h (__have_pipe2): Change define into an extern int.
27424         (__have_dup3): Likewise.
27425         * socket/have_sock_cloexec.c: Include fcntl.h.
27426         (__have_pipe2): New variable.
27427         (__have_dup3): Likewise.
27429 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27431         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27433 2012-08-17  Marek Polacek  <polacek@redhat.com>
27435         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27436         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27438 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27440         * configure.in: Add AC_SUBST for sysheaders.
27441         * configure: Regenerated.
27442         * config.make.in (sysheaders): New substituted variable.
27444         * sysdeps/unix/mkfifo.c: Moved ...
27445         * sysdeps/posix/mkfifo.c: ... here.
27446         * sysdeps/unix/mkfifoat.c: Moved ...
27447         * sysdeps/posix/mkfifoat.c: ... here.
27449         * sysdeps/unix/utime.c: Moved ...
27450         * sysdeps/posix/utime.c: ... here.
27452         * sysdeps/unix/time.c: Moved ...
27453         * sysdeps/posix/time.c: ... here.
27454         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27455         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27457         * sysdeps/unix/nice.c: Moved ...
27458         * sysdeps/posix/nice.c: ... here.
27460         * sysdeps/unix/alarm.c: Moved ...
27461         * sysdeps/posix/alarm.c: ... here.
27463         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27465 2012-08-17  Jeff Law <law@redhat.com>
27467         * intl/Makefile (codeset_mo): New variable.
27468         ($(codeset_mo)): New target.
27469         (tst-codeset.out): Depend on that.  Remove explicit rule.
27470         (tst-gettext3.out, tst-gettext5.out): Likewise.
27471         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27472         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27473         * intl/tst-codeset.sh: Remove.
27474         * intl/tst-gettext3.sh: Likewise.
27475         * intl/tst-gettext5.sh: Likewise.
27477 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27479         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27480         * sysdeps/unix/syscalls.list: ... here.
27482         * sysdeps/posix/getaddrinfo.c
27483         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27484         (gaiconf_init, gaiconf_reload): Use them.
27485         [!_STATBUF_ST_NSEC]
27486         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27487         Define using time_t rather than struct timespec.
27489         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27490         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27491         Macros removed.
27492         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27493         [!NO_THREADS].
27494         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27495         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27496         Likewise.
27498         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27499         __libc_cleanup_push argument.
27501         * bits/param.h: New file.
27502         * misc/sys/param.h: New file.
27503         * include/sys/param.h: New file.
27504         * misc/Makefile (headers): Add bits/param.h.
27505         * sysdeps/generic/sys/param.h: File removed.
27506         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27507         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27508         * sysdeps/mach/hurd/bits/param.h: New file.
27509         * sysdeps/mach/hurd/sys/param.h: File removed.
27511         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27512         last change.
27514         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27515         [_IO_MTSAFE_IO].
27516         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27517         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27518         New macros.
27520         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27521         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27522         rather than -D_IO_MTSAFE_IO conditionally.
27523         * stdio-common/Makefile (CPPFLAGS): Likewise.
27524         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27525         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27526         Use $(libio-mtsafe).
27527         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27528         of -D_IO_MTSAFE_IO.
27529         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27530         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27531         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27532         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27533         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27534         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27535         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27536         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27537         (CFLAGS-fread_u_chk.c): Likewise.
27538         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27539         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27540         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27541         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27542         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27543         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27544         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27545         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27546         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27548         * libio/Makefile: Test [$(libc-reentrant) = yes]
27549         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27551         * Makeconfig
27552         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27553         * sysdeps/pthread/configure: File removed.
27554         * sysdeps/pthread/Makeconfig: New file.
27555         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27556         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27558 2012-08-16  Gary Benson  <gbenson@redhat.com>
27560         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27561         unmapping the first object in a namespace.
27563 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27565         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27566         (__internal_setnetgrent): ... this.  Add internal_function to
27567         definition.  Add libc_hidden_def.
27568         (setnetgrent): Update caller.
27569         (internal_endnetgrent): Renamed to ...
27570         (__internal_endnetgrent): ... this.  Add internal_function to
27571         definition.  Add libc_hidden_def.
27572         (endnetgrent): Update caller.
27573         (internal_getnetgrent_r): Renamed to ...
27574         (__internal_getnetgrent_r): ... this.  Add internal_function to
27575         definition.  Add libc_hidden_def.
27576         (__getnetgrent_r): Update caller.
27577         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27579 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27581         * stdlib/longlong.h: Update from GCC.
27583 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27585         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27586         on _QL, which is set by umul_ppmm but never used.
27587         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27588         variables, which are set by GMP macros but never used.
27589         * stdio-common/_itowa.c (_itowa): Likewise.
27590         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27591         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27593 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27595         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27596         struct La_sh_regs is not constant.
27597         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27598         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27599         and struct La_sparc64_regs are not constant.
27601 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27603         * sysdeps/unix/sysv/linux/kernel-features.h
27604         (__ASSUME_POSIX_TIMERS): Remove.
27605         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27606         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27607         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27608         Make code unconditional.
27609         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27610         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27611         Make code unconditional.
27612         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27613         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27614         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27615         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27616         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27617         Make code unconditional.
27618         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27619         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27620         (__libc_missing_posix_timers): Remove.
27622 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27624         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27625         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27627         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27629         * elf/dl-sym.c: Include <stdlib.h>.
27631         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27632         constants, which avoids warnings in 32-bit builds.
27634         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27635         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27637         * misc/lseek.c: File moved to ...
27638         * io/lseek.c: ... here.
27640         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27642         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27643         shifting LEN more than 31 bits at once.
27645 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27647         [BZ #14195]
27648         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27649         segmentation fault for a case of two empty input strings.
27650         * string/test-strncasecmp.c (check1): Renamed to...
27651         (bz12205): ...this.
27652         (bz14195): Add new testcase for two empty input strings and N > 0.
27653         (test_main): Call new testcase, adapt for renamed function.
27655 2012-08-15  Andreas Jaeger  <aj@suse.de>
27657         [BZ #14090]
27658         * crypt/md5test2.c: New test, based on test supplied by Serge
27659         Belyshev <belyshev@depni.sinp.msu.ru>.
27660         * crypt/Makefile (xtests): Add md5test-giant..
27661         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27663 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27665         [BZ #14090]
27666         * crypt/md5.c (md5_process_block): Don't assume the buffer
27667         length is less than 2**32.
27668         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27669         length is less than 2**64.
27671 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27673         * string/str-two-way.h: Include <sys/param.h>.
27674         (MAX): Macro removed.
27676         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27677         Move #define and #undef of memmove to just before and after
27678         including <string.h>.
27680         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27681         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27682         and after including <string.h>.  Move declarations of
27683         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27684         to before #include "string/memmove.c".
27686         * include/dirent.h: Declare __getdirentries.
27688         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27689         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27691 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27693         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27694         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27695         * sysdeps/i386/configure: Regenerated.
27696         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27697         STABS_CURRENT_FILE, and STABS_FUN.
27698         (END): Remove call to STABS_FUN_END.
27699         (STABS_CURRENT_FILE1): Delete.
27700         (STABS_CURRENT_FILE): Likewise.
27701         (STABS_FUN): Likewise.
27702         (STABS_FUN_END): Likewise.
27703         (STABS_FUN2): Likewise.
27704         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27705         * sysdeps/x86_64/configure: Regenerated.
27707 2012-08-14  Roland McGrath  <roland@hack.frob.com>
27709         * elf/dl-open.c: Include <atomic.h>.
27710         * elf/dl-lookup.c: Likewise.
27712 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
27714         * sysdeps/unix/sysv/linux/kernel-features.h
27715         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27716         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27717         unconditionally.
27718         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27719         unconditionally.
27720         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27721         condition on __ASSUME_CLONE_THREAD_FLAGS.
27723 2012-08-14  Andreas Jaeger  <aj@suse.de>
27725         * sysdeps/i386/fpu/libm-test-ulps: Update.
27727 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27729         * include/atomic.h (atomic_exchange_and_add): Split into ...
27730         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27731         New atomic macros.
27733 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27737 2012-08-13  Jeff Law <law@redhat.com>
27739         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27740         null byte in the output string.
27742 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27744         * sysdeps/unix/sysv/linux/kernel-features.h
27745         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27746         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27747         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27748         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27749         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27750         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27751         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27753 2012-08-09  Jeff Law <law@redhat.com>
27755         [BZ #13939]
27756         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27757         When avoid_arena is set, don't retry in the that arena.  Pick the
27758         next one, whatever it might be.
27759         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27760         (arena_lock): Pass in new parameter to arena_get2.
27761         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27762         arena_get2.
27763         (__libc_malloc): Unify retrying after main arena failure with
27764         __libc_memalign version.
27765         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27767 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27769         [BZ #14166]
27770         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27771         to __redirect_strstr.
27772         (__strstr_sse42): Use typeof __redirect_strstr.
27773         (__strstr_ia32): Likewise.
27774         (__libc_strstr): New prototype.
27775         (strstr): Renamed to ...
27776         (__libc_strstr): This.
27777         (strstr): New strong alias of __libc_strstr.
27778         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27779         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27780         __redirect_time.
27781         Include <time.h>.
27782         (__libc_time): New prototype.
27783         (time_ifunc): Replace time with __libc_time.
27784         (time): New strong alias and hidden definition of __libc_time.
27785         (__GI_time): Remove strong alias.
27786         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27787         Include <stddef.h>.
27788         (memmove): Redefined to __redirect_memmove.
27789         (__memmove_sse2): Use typeof __redirect_memmove.
27790         (__memmove_ssse3): Likewise.
27791         (__memmove_ssse3_back): Likewise.
27792         (__libc_memmove): New prototype.
27793         (memmove): Renamed to ...
27794         (__libc_memmove): This.
27795         (memmove): New strong alias of __libc_memmove.
27797 2012-08-08  Mark Salter  <msalter@redhat.com>
27799         * elf/elf.h
27800         (R_MN10300_TLS_GD): Define.
27801         (R_MN10300_TLS_LD): Likewise.
27802         (R_MN10300_TLS_LDO): Likewise.
27803         (R_MN10300_TLS_GOTIE): Likewise.
27804         (R_MN10300_TLS_IE): Likewise.
27805         (R_MN10300_TLS_LE): Likewise.
27806         (R_MN10300_TLS_DTPMOD): Likewise.
27807         (R_MN10300_TLS_DTPOFF): Likewise.
27808         (R_MN10300_TLS_TPOFF): Likewise.
27809         (R_MN10300_SYM_DIFF): Likewise.
27810         (R_MN10300_ALIGN): Likewise.
27811         (R_MN10300_NUM): Update.
27813 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27816         Remove.
27818 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27820         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27822         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27823         sysdeps/unix -> sysdeps/posix move.
27824         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27826 2012-08-07      Allan McRae     <allan@archlinux.org>
27828         [BZ #14303]
27829         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27830         (SUNOS_CPP): Likewise.
27831         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27832         not found.
27833         (open_input): Call CPP using execvp.
27835 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27837         * sysdeps/unix/sysv/linux/kernel-features.h
27838         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27839         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27840         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27841         (__ASSUME_WAITID_SYSCALL): Likewise.
27842         * sysdeps/unix/sysv/linux/dl-execstack.c
27843         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27844         code unconditional.
27845         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27846         conditional code.
27847         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27848         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27849         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27850         code.
27851         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27852         unconditional.
27853         [__ASSUME_WAITID_SYSCALL]: Likewise.
27854         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27856 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27858         * sysdeps/unix/closedir.c: Renamed to ...
27859         * sysdeps/posix/closedir.c: ... here.
27860         * sysdeps/unix/dirfd.c: Renamed to ...
27861         * sysdeps/posix/dirfd.c: ... here.
27862         * sysdeps/unix/dirstream.h: Renamed to ...
27863         * sysdeps/posix/dirstream.h: ... here.
27864         * sysdeps/unix/fdopendir.c: Renamed to ...
27865         * sysdeps/posix/fdopendir.c: ... here.
27866         * sysdeps/unix/opendir.c: Renamed to ...
27867         * sysdeps/posix/opendir.c: ... here.
27868         * sysdeps/unix/readdir.c: Renamed to ...
27869         * sysdeps/posix/readdir.c: ... here.
27870         * sysdeps/unix/readdir_r.c: Renamed to ...
27871         * sysdeps/posix/readdir_r.c: ... here.
27872         * sysdeps/unix/rewinddir.c: Renamed to ...
27873         * sysdeps/posix/rewinddir.c: ... here.
27874         * sysdeps/unix/seekdir.c: Renamed to ...
27875         * sysdeps/posix/seekdir.c: ... here.
27876         * sysdeps/unix/telldir.c: Renamed to ...
27877         * sysdeps/posix/telldir.c: ... here.
27878         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27879         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27880         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27881         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27883         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27884         * bits/fcntl.h: ... here.
27886         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27887         not 0.
27888         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27889         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27890         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27891         (struct flock): Move l_start, l_len to the beginning.
27892         Use __pid_t for l_pid.
27893         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27894         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27895         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27896         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27897         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27898         [__USE_LARGEFILE64] (struct flock64): New type.
27899         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27901         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27902         * bits/dirent.h: ... here.
27904         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27905         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27907 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27909         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27910         Change from 2.6.0 to 2.6.16.
27911         * sysdeps/unix/sysv/linux/configure: Regenerated.
27912         * sysdeps/unix/sysv/linux/kernel-features.h
27913         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27914         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27915         version.
27916         (__ASSUME_UTIMES): Likewise.
27917         (__ASSUME_CLONE_STOPPED): Remove.
27918         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27919         architectures, not kernel version.
27920         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27921         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27922         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27923         (__ASSUME_WAITID_SYSCALL): Likewise.
27924         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27925         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27926         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27927         refer to older versions.
27929 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27931         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27932         Define alphasort64 as an alias.
27933         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27934         Define versionsort64 as an alias.
27935         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27936         Define scandir64 as an alias.
27937         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27938         Define scandirat64 as an alias.
27939         * dirent/alphasort64.c (alphasort64):
27940         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27941         * dirent/versionsort64.c: Likewise.
27942         * dirent/scandir64.c: Likewise.
27943         * dirent/scandirat64.c: Likewise.
27944         * sysdeps/wordsize-64/alphasort.c: File removed.
27945         * sysdeps/wordsize-64/alphasort64.c: File removed.
27946         * sysdeps/wordsize-64/scandir.c: File removed.
27947         * sysdeps/wordsize-64/scandir64.c: File removed.
27948         * sysdeps/wordsize-64/scandirat.c: File removed.
27949         * sysdeps/wordsize-64/scandirat64.c: File removed.
27950         * sysdeps/wordsize-64/versionsort.c: File removed.
27951         * sysdeps/wordsize-64/versionsort64.c: File removed.
27952         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27953         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27954         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27955         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27956         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27957         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27958         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27959         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27961         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27962         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27963         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27964         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27965         [defined __arch64__ || defined __sparcv9]
27966         (__INO_T_MATCHES_INO64_T): New macro.
27967         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27968         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27969         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27970         * sysdeps/unix/sysv/linux/bits/dirent.h
27971         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27972         (_DIRENT_MATCHES_DIRENT64): New macro.
27974         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27975         Define lockf64 as an alias.
27976         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27977         Define fseeko64 as an alias.
27978         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27979         Define ftello64 as an alias.
27980         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27981         Define _IO_fgetpos64 and fgetpos64 as aliases.
27982         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27983         Define _IO_fsetpos64 and fsetpos64 as aliases.
27984         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27985         Conditionalize body on this.
27986         * libio/fseeko64.c: Likewise.
27987         * libio/ftello64.c: Likewise.
27988         * libio/iofgetpos64.c: Likewise.
27989         * libio/iofsetpos64.c: Likewise.
27990         * sysdeps/wordsize-64/lockf.c: File removed.
27991         * sysdeps/wordsize-64/lockf64.c: File removed.
27992         * sysdeps/wordsize-64/fseeko.c: File removed.
27993         * sysdeps/wordsize-64/fseeko64.c: File removed.
27994         * sysdeps/wordsize-64/ftello.c: File removed.
27995         * sysdeps/wordsize-64/ftello64.c: File removed.
27996         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27997         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27998         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27999         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28000         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28001         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28002         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28003         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28004         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28005         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28006         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28007         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28008         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28009         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28011         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28013         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28015         [defined __arch64__ || defined __sparcv9]
28016         (__OFF_T_MATCHES_OFF64_T): New macro.
28017         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28018         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28020         (__OFF_T_MATCHES_OFF64_T): New macro.
28022 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28024         * stdlib/secure-getenv.c (__secure_getenv): Replace
28025         GLIBC_2_16 with GLIBC_2_17.
28027 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28029         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28030         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28032 2012-08-03  David S. Miller  <davem@davemloft.net>
28034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28036 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28039         Remove.
28040         (__ASSUME_CORRECT_SI_PID): Likewise.
28041         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28042         (__ASSUME_TMPFS_NAME): Likewise.
28043         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28044         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28045         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28046         (HAVE_AUX_SECURE): Make definition unconditional.
28047         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28048         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28050 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28052         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28053         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28054         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28055         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28056         __eloop_threshold instead of SYMLOOP_MAX.
28058         * sysdeps/generic/eloop-threshold.h: New file.
28059         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28060         of MAXSYMLINKS.
28061         * elf/chroot_canon.c (chroot_canon): Likewise.
28063 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28065         [BZ #13717]
28066         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28067         Change to 2.6.0 everywhere.
28068         * sysdeps/unix/sysv/linux/configure: Regenerated.
28069         * sysdeps/unix/sysv/linux/kernel-features.h
28070         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28071         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28072         kernel versions.
28073         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28074         (__ASSUME_FUTEX_REQUEUE): Remove.
28075         (__ASSUME_STATFS64): Define unconditionally.
28076         (__ASSUME_AT_SECURE): Likewise.
28077         (__ASSUME_CORRECT_SI_PID): Likewise.
28078         (__ASSUME_TGKILL): Define without depending on kernel version for
28079         i386.
28080         (__ASSUME_UTIMES): Likewise.
28081         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28082         kernel version.
28083         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28084         (__ASSUME_TMPFS_NAME): Likewise.
28085         * README: Update reference to Linux kernel versions.
28087 2012-08-02  Marek Polacek  <polacek@redhat.com>
28089         [BZ# 14150]
28090         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28091         libc_cv_asm_type_prefix with %.
28092         * configure: Regenerated.
28093         * include/libc-symbols.h: Remove comment about
28094         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28095         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28096         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28097         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28098         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28099         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28100         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28101         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28102         * elf/tst-unique2mod1.c: Likewise.
28103         * elf/tst-unique1mod2.c: Likewise.
28104         * elf/tst-unique1mod1.c: Likewise.
28105         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28106         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28107         Replace ASM_TYPE_DIRECTIVE with .type.
28108         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28109         * sysdeps/i386/sysdep.h: Likewise.
28110         * sysdeps/x86_64/sysdep.h: Likewise.
28111         * sysdeps/sh/sysdep.h: Likewise.
28112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28113         Do not define ASM_TYPE_DIRECTIVE.
28114         * sysdeps/powerpc/sysdep.h: Likewise.
28115         * sysdeps/powerpc/powerpc32/sysdep.h:
28116         Replace ASM_TYPE_DIRECTIVE with .type.
28117         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28118         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28119         * sysdeps/i386/fpu/e_powf.S: Likewise.
28120         * sysdeps/i386/fpu/e_expl.S: Likewise.
28121         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28122         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28123         * sysdeps/i386/fpu/e_pow.S: Likewise.
28124         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28125         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28126         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28127         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28128         * sysdeps/i386/fpu/e_log2.S: Likewise.
28129         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28130         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28131         * sysdeps/i386/fpu/e_powl.S: Likewise.
28132         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28133         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28134         * sysdeps/i386/fpu/e_logl.S: Likewise.
28135         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28136         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28137         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28138         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28139         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28140         * sysdeps/i386/fpu/e_log.S: Likewise.
28141         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28142         * sysdeps/i386/fpu/e_logf.S: Likewise.
28143         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28144         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28145         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28146         * sysdeps/i386/fpu/e_log10.S: Likewise.
28147         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28148         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28149         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28150         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28151         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28152         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28153         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28154         * sysdeps/i386/i686/strtok.S: Likewise.
28155         * sysdeps/i386/i386-mcount.S: Likewise.
28156         * sysdeps/i386/strtok.S: Likewise.
28157         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28158         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28159         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28160         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28161         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28162         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28163         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28164         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28165         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28166         * sysdeps/x86_64/_mcount.S: Likewise.
28167         * sysdeps/x86_64/strtok.S: Likewise.
28168         * sysdeps/sh/_mcount.S: Likewise.
28170 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28172         * libio/iofopen.c: Include <fcntl.h>.
28173         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28174         (_IO_fopen64, fopen64): Define as aliases.
28175         * libio/iofopen64.c: Include <fcntl.h>.
28176         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28177         Conditionalize body on this.
28178         * sysdeps/wordsize-64/iofopen.c: File removed.
28179         * sysdeps/wordsize-64/iofopen64.c: File removed.
28181 2012-08-01  Marek Polacek  <polacek@redhat.com>
28183         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28184         Use dlfcn directly instead of a variable.
28185         (binfmt-subdir): Do not define.
28186         (dlfcn): Likewise.
28188 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28190         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28191         Remove all definitions.
28192         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28193         <kernel-features.h>.
28194         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28195         (miss_F_GETOWN_EX): Remove all definitions.
28196         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28197         macro definition.
28198         [!__ASSUME_FCNTL64]: Remove conditional code.
28199         [__ASSUME_FCNTL64]: Make code unconditional.
28200         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28201         <kernel-features.h>.
28202         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28203         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28204         (lockf64) [__NR_fcntl64]: Make code unconditional.
28205         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28207         * sysdeps/unix/sysv/linux/kernel-features.h
28208         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28209         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28210         Make code unconditional.
28211         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28212         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28214         [__NR_vfork]: Make code unconditional.
28215         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28216         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28218         [__NR_vfork]: Make code unconditional.
28219         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28220         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28222 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28224         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28225         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28227         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28228         Define mkstemp64 as an alias.
28229         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28230         Define mkstemps64 as an alias.
28231         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28232         Define mkostemp64 as an alias.
28233         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28234         Define mkostemps64 as an alias.
28235         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28236         Conditionalize body on this.
28237         * misc/mkostemp64.c: Likewise.
28238         * misc/mkostemps64.c: Likewise.
28239         * misc/mkstemps64.c: Likewise.
28240         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28241         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28242         * sysdeps/wordsize-64/mkostemp.c: File removed.
28243         * sysdeps/wordsize-64/mkstemp.c: File removed.
28244         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28245         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28246         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28247         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28249         [BZ #14138]
28250         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28251         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28252         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28253         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28255         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28256         compat_symbol macros from <shlib-compat.h> rather than the underlying
28257         default_symbol_version and symbol_version macros, so that DEFAULT
28258         lines in shlib-versions are respected.
28259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28261 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28263         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28264         Declare with warn_unused_result.
28265         (setgid, setregid, setegid, setresgid): Likewise.
28266         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28267         Likewise.
28268         * WUR-REPORT: Remove set*id functions.
28270 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28272         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28274 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28276         [BZ #10191]
28277         * include/sys/socket.h (__libc_accept, __libc_accept4):
28278         Add attribute_hidden.
28279         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28281         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28282         use of PTR_MANGLE.
28283         * inet/getnetgrent_r.c (setup): Likewise.
28285         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28287 2012-07-31  David S. Miller  <davem@davemloft.net>
28289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28291 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28293         [BZ #13629]
28294         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28295         value between 1.0 and 2.0 and smaller part has absolute value less
28296         than 1.0.
28297         * math/s_clog10.c (__clog10): Likewise.
28298         * math/s_clog10f.c (__clog10f): Likewise.
28299         * math/s_clog10l.c (__clog10l): Likewise.
28300         * math/s_clogf.c (__clogf): Likewise.
28301         * math/s_clogl.c (__clogl): Likewise.
28302         * math/libm-test.inc (clog_test): Add more tests.
28303         (clog10_test): Likewise.
28304         * sysdeps/i386/fpu/libm-test-ulps: Update.
28305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28307 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28309         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28310         Exit with zero in case no suitable GID is found, and write a
28311         message to standard error.
28313 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28315         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28316         rather than to 1.
28317         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28318         (MAXPATHLEN): Removed.
28319         (NOGROUP, NODEV): New macros.
28320         (setbit, clrbit, isset, isclr): New macros.
28321         (howmany, roundup, powerof2): New macros.
28322         (DEV_BSIZE): New macro.
28324         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28325         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28327         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28328         definition on [!__NO_LONG_DOUBLE_MATH].
28330         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28331         PTR_MANGLE and PTR_DEMANGLE.
28333         * socket/accept4.c (accept4): Rename to __libc_accept4.
28334         Define accept4 as a weak alias.
28336         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28337         on [_DIRENT_HAVE_D_TYPE].
28338         * io/ftw.c (ftw_dir): Likewise.
28340         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28342         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28344         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28345         Use the BSD numbers rather than the arbitrary ones we had.
28346         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28347         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28348         (SIGXCPU, SIGXFSZ): New macros.
28349         (_NSIG): Now 32.
28351         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28352         initializer on [_LIBC_REENTRANT].
28354         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28355         definitions inside [_POSIX_MAPPED_FILES].
28357         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28359         * dirent/opendir.c: Include <fcntl.h>.
28361         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28362         (__libc_getspecific): Likewise.
28363         (__libc_key_create): Likewise.
28365         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28366         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28367         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28368         (tmpfile64): Define as alias.
28369         * sysdeps/wordsize-64/tmpfile.c: File removed.
28370         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28371         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28372         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28374         * stdio-common/vfscanf.c: Include <stdbool.h>.
28375         * nss/makedb.c: Likewise.
28376         * stdio-common/_i18n_number.h: Likewise.
28377         * argp/argp-help.c: Likewise.
28378         * posix/wordexp.c: Likewise.
28379         * sysdeps/posix/spawni.c: Likewise.
28380         * nss/nss_files/files-initgroups.c: Likewise.
28381         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28382         * nss/nss_files/files-initgroups.c: Likewise.
28383         * nss/nss_db/db-netgrp.c: Likewise.
28384         * nss/nss_db/db-initgroups.c: Likewise.
28385         * io/fchmodat.c: Include <sys/stat.h>.
28387         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28388         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28390         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28391         [HAVE_MMAP].
28393         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28394         Add multiple inclusion protection.
28396 2012-07-27  David S. Miller  <davem@davemloft.net>
28398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28400 2012-07-27  Gary Benson  <gbenson@redhat.com>
28402         [BZ #14298]
28403         * elf/rtld.c: Include <stap-probe.h>.
28404         (dl_main): Added static probes "init_start" and "init_complete".
28405         * elf/dl-load.c: Include <stap-probe.h>.
28406         (lose): Take new parameter "nsid".
28407         Added static probe "map_failed".
28408         (_dl_map_object_from_fd): Pass namespace id to lose.
28409         Added static probe "map_start".
28410         (open_verify): Pass namespace id to lose.
28411         * elf/dl-open.c: Include <stap-probe.h>.
28412         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28413         and "reloc_complete".
28414         * elf/dl-close.c: Include <stap-probe.h>.
28415         (_dl_close_worker): Added static probes "unmap_start" and
28416         "unmap_complete".
28417         * elf/rtld-debugger-interface.txt: New file documenting the above.
28419 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28421         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28422         rather than a string variable.
28423         * sunrpc/rpc_main.c (h_output): Likewise.
28424         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28426 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28428         * inet/check_native.c: New file.
28430 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28432         [BZ #13629]
28433         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28434         if larger part has absolute value 1.0.
28435         * math/s_clog10.c (__clog10): Likewise.
28436         * math/s_clog10f.c (__clog10f): Likewise.
28437         * math/s_clog10l.c (__clog10l): Likewise.
28438         * math/s_clogf.c (__clogf): Likewise.
28439         * math/s_clogl.c (__clogl): Likewise.
28440         * math/libm-test.inc (clog_test): Add more tests.
28441         (clog10_test): Likewise.
28442         * sysdeps/i386/fpu/libm-test-ulps: Update.
28443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28445         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28446         (pltexit): Likewise.
28447         (La_regs): Likewise.
28448         (La_retval): Likewise.
28449         (int_retval): Likewise.
28450         Update #error for removed macros to refer only to definitions in
28451         tst-audit.h.
28452         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28453         macro.
28454         (pltexit): Likewise.
28455         (La_regs): Likewise.
28456         (La_retval): Likewise.
28457         (int_retval): Likewise.
28458         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28459         macro.
28460         (pltexit): Likewise.
28461         (La_regs): Likewise.
28462         (La_retval): Likewise.
28463         (int_retval): Likewise.
28464         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28465         macro.
28466         (pltexit): Likewise.
28467         (La_regs): Likewise.
28468         (La_retval): Likewise.
28469         (int_retval): Likewise.
28470         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28471         macro.
28472         (pltexit): Likewise.
28473         (La_regs): Likewise.
28474         (La_retval): Likewise.
28475         (int_retval): Likewise.
28476         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28477         macro.
28478         (pltexit): Likewise.
28479         (La_regs): Likewise.
28480         (La_retval): Likewise.
28481         (int_retval): Likewise.
28482         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28483         macro.
28484         (pltexit): Likewise.
28485         (La_regs): Likewise.
28486         (La_retval): Likewise.
28487         (int_retval): Likewise.
28488         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28489         macro definitions in tst-audit.h.
28490         * sysdeps/i386/tst-audit.h: New file.
28491         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28492         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28493         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28494         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28495         * sysdeps/sh/tst-audit.h: Likewise.
28496         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28497         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28498         * sysdeps/x86_64/tst-audit.h: Likewise.
28500 2012-07-26  Andreas Jaeger  <aj@suse.de>
28502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28503         ptrace.
28505         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28506         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28507         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28508         PTRACE_O_MASK.
28509         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28510         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28511         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28513         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28514         value.
28516         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28517         _sigsys.
28518         (si_call_addr, si_syscall, si_arch): Define new macro.
28519         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28520         _sigsys.
28521         (si_call_addr, si_syscall, si_arch): Define new marcro.
28522         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28523         _sigsys.
28524         (si_call_addr, si_syscall, si_arch): Define new macro.
28525         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28526         _sigsys.
28527         (si_call_addr, si_syscall, si_arch): Define new macro.
28529 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28531         [BZ #13717]
28532         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28533         Change to 2.4.21 where previously 2.4.1.
28534         * sysdeps/unix/sysv/linux/configure: Regenerated.
28535         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28536         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28537         Linux kernel version.
28538         (__ASSUME_STD_AUXV): Remove.
28539         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28540         kernel version.
28541         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28542         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28543         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28544         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28545         (__ASSUME_NETLINK_SUPPORT): Likewise.
28546         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28547         (__no_netlink_support): Remove conditional definition.
28548         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28549         Remove.
28550         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28551         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28552         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28553         (if_nameindex_ioctl): Remove.
28554         (if_nameindex_netlink): Do not handle __no_netlink_support.
28555         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28556         code.
28557         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28558         Remove conditional code.
28559         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28560         code.
28561         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28562         unconditional.
28563         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28564         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28565         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28566         Remove.
28567         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28568         [!__ASSUME_STD_AUXV]: Remove conditional code.
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28570         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28571         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28573         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28574         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28575         code.
28576         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28578         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28579         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28580         conditional code.
28581         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28583         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28584         code.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28586         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28587         conditional code.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28589         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28590         code unconditional.
28591         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28592         conditional code.
28593         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28594         unconditional.
28595         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28596         conditional code.
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28598         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28599         unconditional.
28600         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28601         conditional code.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28603         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28604         code unconditional.
28605         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28606         conditional code.
28607         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28608         unconditional.
28609         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28610         conditional code.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28612         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28613         code unconditional.
28614         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28615         conditional code.
28616         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28617         unconditional.
28618         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28619         conditional code.
28621 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28623         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28624         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28625         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28626         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28627         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28628         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28629         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28630         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28631         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28632         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28633         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28634         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28635         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28636         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28637         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28638         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28639         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28640         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28641         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28643         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28644         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28645         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28647 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28649         * Versions.def: Add GLIBC_2.17.
28650         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28651         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28652         Introduce __libc_secure_getenv.
28653         * stdlib/Versions (2.17): Add secure_getenv
28654         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28655         * stdlib/secure-getenv.c: Rename __secure_getenv to
28656         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28657         symbol __secure_getenv for GLIBC_2.0.
28658         * stdlib/tst-secure-getenv.c: New.
28659         * stdlib/Makefile (tests): Add testcase.
28660         * manual/startup.texi (Environment Access): Document
28661         secure_getenv.
28662         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28663         __libc_secure_getenv.
28664         * inet/ruserpass.c (ruserpass): Likewise.
28665         * malloc/mtrace.c (mtrace): Likewise.
28666         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28667         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28668         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28669         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28670         HAVE_SECURE_GETENV.
28671         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28672         __secure_getenv to __libc_secure_getenv.
28673         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28675         Likewise.
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28677         Likewise.
28678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28680         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28686 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28688         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28689         (struct La_i86_retval): Likewise.
28690         (struct La_x86_64_regs): Likewise.
28691         (struct La_x86_64_retval): Likewise.
28692         (struct La_x32_regs): Likewise.
28693         (struct La_x32_retval): Likewise.
28694         (struct La_ppc32_regs): Likewise.
28695         (struct La_ppc32_retval): Likewise.
28696         (struct La_ppc64_regs): Likewise.
28697         (struct La_ppc64_retval): Likewise.
28698         (struct La_sh_regs): Likewise.
28699         (struct La_sh_retval): Likewise.
28700         (struct La_s390_32_regs): Likewise.
28701         (struct La_s390_32_retval): Likewise.
28702         (struct La_s390_64_regs): Likewise.
28703         (struct La_s390_64_retval): Likewise.
28704         (struct La_sparc32_regs): Likewise.
28705         (struct La_sparc32_retval): Likewise.
28706         (struct La_sparc64_regs): Likewise.
28707         (struct La_sparc64_retval): Likewise.
28708         (struct audit_ifaces): Remove architecture-specific pltenter and
28709         pltexit members.
28710         * sysdeps/i386/ldsodefs.h: New file.
28711         * sysdeps/powerpc/ldsodefs.h: Likewise.
28712         * sysdeps/s390/ldsodefs.h: Likewise.
28713         * sysdeps/sh/ldsodefs.h: Likewise.
28714         * sysdeps/sparc/ldsodefs.h: Likewise.
28715         * sysdeps/x86_64/ldsodefs.h: Likewise.
28717 2012-07-25  Marek Polacek  <polacek@redhat.com>
28719         [BZ #6808]
28720         * math/libm-test.inc (yn_test): Add another test.
28721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28722         to ERANGE when the result is +-Inf.
28723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28724         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28725         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28726         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28728 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28730         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28731         equal to 0.
28732         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28733         clock_t.
28734         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28736 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28738         * configure.in <sysdeps resolving>: Correct printing
28739         Implies_before.
28740         * configure: Regenerate.
28742 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28744         * math/w_ilogb.c: Include <limits.h>.
28745         * math/w_ilogbl.c: Likewise.
28747 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28749         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28750         va_copy.  Document allowing for unavailable va_copy only as
28751         pre-C99 compatibility.
28752         * manual/string.texi (Copying and Concatenation): Use va_copy
28753         instead of __va_copy in concat example.
28755 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28757         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28758         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28759         it if not null.
28761         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28762         with O_NOLINK passed to __file_name_lookup.
28764         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28765         with O_NOLINK passed to __file_name_lookup.
28767         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28768         negative N or less than NGIDS.
28770         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28771         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28772         enough.  Use memcpy instead of strncpy.
28774 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28776         * elf/Makefile (check-data): Remove.
28777         (localplt.data): New vpath directive.
28778         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28779         instead of $(check-data).
28780         * scripts/data/localplt-generic.data: Move to ...
28781         * sysdeps/generic/localplt.data: ... here.
28782         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28783         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28784         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28786         ... here.
28787         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28789         ... here.
28790         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28792         ... here.
28793         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28795         ... here.
28796         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28798         ... here.
28799         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28801         ... here.
28803 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28805         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28806         PPC32 and PPC64 files.
28807         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28808         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28810 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28812         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28813         __makecontext_ret to ...
28814         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28815         ... here and call exit if uc_link is NULL.  New file.
28816         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28817         __makecontext_ret.S.
28818         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28819         __makecontext_ret to ...
28820         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28821         ... here and call exit if uc_link is NULL.  New file.
28822         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28823         __makecontext_ret.S.
28825 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28827         * elf/elf.h (R_390_IRELATIVE): New definition.
28828         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28829         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28830         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28832         (elf_machine_lazy_rel): Likewise.
28833         * sysdeps/s390/dl-irel.h: New file.
28834         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28835         * sysdeps/s390/s390-64/memset.S: New asm code.
28836         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28837         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28838         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28839         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28840         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28841         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28842         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28843         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28844         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28845         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28846         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28847         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28848         * sysdeps/s390/s390-32/memset.S: New asm code.
28849         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28851 2012-07-17  Marek Polacek  <polacek@redhat.com>
28853         [BZ #14349]
28854         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28855         * sysdeps/s390/s390-64/configure.in: Likewise.
28856         * sysdeps/sparc/configure.in: Likewise.
28857         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28858         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28859         * sysdeps/i386/configure.in: Likewise.
28860         * sysdeps/x86_64/configure.in: Likewise.
28861         * sysdeps/sh/configure.in: Likewise.
28862         * sysdeps/s390/s390-32/configure: Regenerated.
28863         * sysdeps/s390/s390-64/configure: Likewise.
28864         * sysdeps/x86_64/configure: Likewise.
28865         * sysdeps/sh/configure: Likewise.
28866         * sysdeps/powerpc/powerpc64/configure: Likewise.
28867         * sysdeps/powerpc/powerpc32/configure: Likewise.
28868         * sysdeps/sparc/configure: Likwise.
28869         * sysdeps/i386/configure: Likewise.
28871         * elf/dl-open.c: Comment fixes.
28873 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28875         * Makefile [CXX] (check-data): Remove.
28876         [CXX] (c++-types.data): New vpath directive.
28877         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28878         vpath.  Do not allow for C++ type data being missing.
28879         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28880         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28881         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28882         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28883         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28884         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28885         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28887         ... here.
28888         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28890         ... here.
28891         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28893         ... here.
28894         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28896         ... here.
28897         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28899         ... here.
28900         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28902         ... here.
28903         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28905         ... here.
28906         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28909         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28910         definitions to architecture-specific files.
28911         (TLS_IE): Likewise.
28912         (TLS_LD): Likewise.
28913         (TLS_GD): Likewise.
28914         * sysdeps/i386/tls-macros.h: New file.
28915         * sysdeps/powerpc/tls-macros.h: Likewise.
28916         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28917         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28918         * sysdeps/sh/tls-macros.h: Likewise.
28919         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28920         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28921         * sysdeps/x86_64/tls-macros.h: Likewise.
28923 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28925         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28926         zero value for regular exit case.
28928         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28929         (__start_context): Preserve zero value for regular exit case.
28931 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28932             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28934         * manual/setjmp.texi (setcontext): Clarify normal process
28935         termination when uc_link is the null pointer.
28936         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28937         exit call.
28939 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28941         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28942         preprocessor.  Test for each exception mask separately.
28944 2012-07-16  Andreas Jaeger  <aj@suse.de>
28946         * po/ru.po: Update from translation team.
28948 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28950         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28951         equal to 0.
28952         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28953         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28954         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28955         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28958 2012-07-13  Andreas Jaeger  <aj@suse.de>
28960         * po/fr.po: Update from translation team.
28962 2012-07-12  Marek Polacek  <polacek@redhat.com>
28964         [BZ #14173]
28965         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28966         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28967         loop condition.
28969 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28971         [BZ #13717]
28972         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28973         Change to 2.4.1 where previously 2.4.0.
28974         * sysdeps/unix/sysv/linux/configure: Regenerated.
28975         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28976         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28977         version.
28978         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28979         (__ASSUME_AT_CLKTCK): Remove.
28980         (__ASSUME_AT_PAGESIZE): Likewise.
28981         (__ASSUME_AT_XID): Likewise.
28982         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28983         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28984         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28985         unconditionally.
28986         (HAVE_AUX_PAGESIZE): Likewise.
28987         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28988         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28989         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28991 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28993         [BZ #14307]
28994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28995         the temporary buffer used to invoke __gethostbyname2_r,
28996         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28997         host_data / struct gaih_addrtuple.
28998         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28999         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29000         header file nss/nsswitch.h.
29001         * nss/nsswitch.h (global scope): Add definition of implementation
29002         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29003         resolv/nss_dns/dns-host.c).
29005 2012-07-11  Andreas Jaeger  <aj@suse.de>
29007         * po/fr.po: Update from translation team.
29009         * po/sv.po: Update from translation team
29010         * po/fr.po: Another update from translation team.
29012 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29014         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29015         for subnormals or multiply small sinh result by itself.
29016         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29019 2012-07-11  David S. Miller  <davem@davemloft.net>
29021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29023 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29025         [BZ #14347]
29026         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29027         (INTERNAL_MARK): Shift it here.
29029 2012-07-10  Marek Polacek  <polacek@redhat.com>
29031         [BZ #14151]
29032         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29033         libc_cv_asm_global_directive with .globl.
29034         * configure: Regenerated.
29035         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29036         with .globl.
29037         * sysdeps/i386/configure: Regenerated.
29038         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29039         with .globl.
29040         * sysdeps/x86_64/configure: Regenerated.
29041         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29042         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29043         * elf/tst-unique2mod2.c: Likewise.
29044         * elf/tst-unique2mod1.c: Likewise.
29045         * elf/tst-unique1mod2.c: Likewise.
29046         * elf/tst-unique1mod1.c: Likewise.
29047         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29048         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29049         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29050         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29051         * sysdeps/mach/sysdep.h: Likewise.
29052         * sysdeps/i386/sysdep.h: Likewise.
29053         * sysdeps/i386/i386-mcount.S: Likewise.
29054         * sysdeps/x86_64/_mcount.S: Likewise.
29055         * sysdeps/x86_64/sysdep.h: Likewise.
29056         * sysdeps/sh/_mcount.S: Likewise.
29057         * sysdeps/sh/sysdep.h: Likewise.
29058         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29059         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29060         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29061         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29062         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29063         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29064         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29065         * locale/localeinfo.h: Likewise.
29066         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29067         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29069 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29071         [BZ #14336]
29072         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29073         system".
29074         * manual/message.texi (The Uniforum approach): Likewise.
29075         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29076         (glibc iconv Implementation): Likewise.
29078 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29080         [BZ #14337]
29081         * math/s_clog.c (__clog): Avoid scaling a value down where that
29082         could result in underflow.
29083         * math/s_clog10.c (__clog10): Likewise.
29084         * math/s_clog10f.c (__clog10f): Likewise.
29085         * math/s_clog10l.c (__clog10l): Likewise.
29086         * math/s_clogf.c (__clogf): Likewise.
29087         * math/s_clogl.c (__clogl): Likewise.
29088         * math/libm-test.inc (clog_test): Add more tests.
29089         (clog10_test): Likewise.
29090         * sysdeps/i386/fpu/libm-test-ulps: Update.
29091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29093 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29095         [BZ #14283]
29096         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29097         by 7 not 8 to examine high bit of fractional part.
29099         [BZ #14042]
29100         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29101         for call to __mcount_internal.
29102         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29103         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29104         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29106 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29108         [BZ #14154]
29109         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29110         approximation for values within 0x1p-13f of an odd multiple of
29111         pi/4.
29112         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29113         exception.  Add more tests.
29114         * sysdeps/i386/fpu/libm-test-ulps: Update.
29116         [BZ #6778]
29117         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29118         inputs and return -1 for them.  Do not check for +Inf in case not
29119         reachable for +Inf.
29120         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29121         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29122         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29123         and return -1 for them.  Do not check for +Inf in case not
29124         reachable for +Inf.
29125         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29126         define.
29127         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29128         and return -1 for them.  Do not check for +Inf in case not
29129         reachable for +Inf.
29130         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29131         spurious underflow.
29132         * sysdeps/i386/fpu/libm-test-ulps: Update.
29133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29135 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29137         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29139 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29141         [BZ #14157]
29142         [BZ #14331]
29143         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29144         could result in spurious underflow.  Scale down values above
29145         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29146         * math/s_csqrtf.c (__csqrtf): Likewise.
29147         * math/s_csqrtl.c (__csqrtl): Likewise.
29148         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29149         spurious underflow.
29150         * sysdeps/i386/fpu/libm-test-ulps: Update.
29151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29153 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29155         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29156         xopen-msg.sed.
29157         * catgets/xopen-msg.awk: New file.
29158         * catgets/xopen-msg.sed: Removed.
29160         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29161         po2text.sed.
29162         * intl/po2test.awk: New file.
29163         * intl/po2test.sed: Removed.
29165 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29167         [BZ #14328]
29168         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29169         or multiply small sinh result by itself.
29170         * math/s_ctanf.c (__ctanf): Likewise.
29171         * math/s_ctanh.c (__ctanh): Likewise.
29172         * math/s_ctanhf.c (__ctanhf): Likewise.
29173         * math/s_ctanhl.c (__ctanhl): Likewise.
29174         * math/s_ctanl.c (__ctanl): Likewise.
29175         * math/libm-test.inc (ctan_test_tonearest): New function.
29176         (ctan_test_towardzero): Likewise.
29177         (ctan_test_downward): Likewise.
29178         (ctan_test_upward): Likewise.
29179         (ctanh_test_tonearest): Likewise.
29180         (ctanh_test_towardzero): Likewise.
29181         (ctanh_test_downward): Likewise.
29182         (ctanh_test_upward): Likewise.
29183         (main): Call these new functions.
29184         * sysdeps/i386/fpu/libm-test-ulps: Update.
29185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29187 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29189         * .gitignore: Delete /ports entry.
29191 2012-07-03  Andreas Jaeger  <aj@suse.de>
29193         * po/bg.po: Update from translation team.
29194         * po/cs.po: Likewise.
29195         * po/de.po: Likewise.
29196         * po/hr.po: Likewise.
29197         * po/nl.pl: Likewise.
29198         * po/pl.po: Likewise.
29199         * po/vi.po: Likewise.
29201 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29203         * Makeconfig [!+link] (+link-before-libc): New variable.
29204         [!+link] (+link-after-libc): Likewise.
29205         [!+link] (+link-tests): Likewise.
29206         [!+link] (+link): Define in terms of $(+link-before-libc) and
29207         $(+link-after-libc).
29208         [!+link-static] (+link-static-before-libc): New variable.
29209         [!+link-static] (+link-static-after-libc): Likewise.
29210         [!+link-static] (+link-static-tests): Likewise.
29211         [!+link-static] (+link-static): Define in terms of
29212         $(+link-static-before-libc) and $(+link-static-after-libc).
29213         [build-shared] (link-libc-before-gnulib): New variable.
29214         [build-shared] (link-libc-tests): Likewise.
29215         [build-shared] (link-libc): Define in terms of
29216         $(link-libc-before-gnulib).
29217         [!build-shared] (link-libc-tests): New variable.
29218         (link-libc-static-tests): New variable.
29219         [!gnulib] (gnulib-arch): New variable.
29220         [!gnulib] (gnulib-tests): Likewise.
29221         [!gnulib] (static-gnulib-arch): Likewise.
29222         [!gnulib] (static-gnulib-tests): Likewise.
29223         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29224         Define with "=" instead of ":=".
29225         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29226         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29227         * Rules (binaries-all-notests): New variable.
29228         (binaries-all-tests): Likewise.
29229         (binaries-static-notests): Likewise.
29230         (binaries-static-tests): Likewise.
29231         (binaries-all): Define using $(binaries-all-notests) and
29232         $(binaries-all-tests).
29233         (binaries-static): Define using $(binaries-static-notests) and
29234         $(binaries-static-tests).
29235         (binaries-shared-tests): New variable.
29236         (binaries-shared-notests): Likewise.
29237         (binaries-shared): Remove variable.
29238         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29239         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29240         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29241         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29242         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29243         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29244         * elf/Makefile (sln-modules): New variable.
29245         (extra-objs): Add $(sln-modules:=.o).
29246         (ldconfig-modules): Add static-stubs.
29247         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29248         * elf/static-stubs.c: New file.
29250         [BZ #14283]
29251         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29252         by 7 not 8 to examine high bit of fractional part.  Use volatile
29253         variables when splitting into final array of floats if
29254         __FLT_EVAL_METHOD__ != 0.
29255         * math/libm-test.inc (cos_test): Add another test.
29256         (sin_test): Likewise.
29257         * sysdeps/i386/fpu/libm-test-ulps: Update.
29259         [BZ #14273]
29260         * math/libm-test.inc (cosh_test): Add more tests.
29262         * version.h (RELEASE): Set to "development".
29263         (VERSION): Set to "2.16.90".
29265 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29267         * NEWS: Update copyright. Remove last-updated date.
29268         Mention math library bug fixes and timezone data changes.
29269         * README: Mention GNU/Hurd, x32, and HPPA support status.
29271 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29273         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29275 2012-06-27  Andreas Jaeger  <aj@suse.de>
29277         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29279 2012-06-25  Andreas Jaeger  <aj@suse.de>
29281         * sysdeps/s390/fpu/libm-test-ulps: Update.
29283 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29284             Thomas Schwinge  <thomas@codesourcery.com>
29286         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29287         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29289         fanotify_mark.
29291 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29293         * sysdeps/mach/start.c: Remove file.
29294         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29295         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29296         * sysdeps/sh/init-first.c: Likewise.
29298         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29299         registers for frame unwinding purposes, add CFI directives.
29300         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29301         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29302         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29303         Likewise.
29305         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29306         __fortify_fail returning.
29307         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29309         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29310         sysdeps/sh/____longjmp_chk.S.
29311         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29312         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29313         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29314         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29316         * sysdeps/sh/abort-instr.h: New file.
29317         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29318         process in case exit returns.
29320         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29321         initialize the GOT register before use.
29323         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29324         calculation of ARGC > 4.
29326         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29327         meaningful names to some local labels.
29329 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29330             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29332         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29333         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29334         (__arch_compare_and_exchange_val_16_acq): Likewise.
29335         (__arch_compare_and_exchange_val_32_acq): Likewise.
29336         (atomic_exchange_and_add): Fix gUSA sequence.
29337         (atomic_add): Likewise.
29338         (atomic_add_negative): Likewise.
29339         (atomic_add_zero): Likewise.
29340         (atomic_bit_test_set): Likewise.
29342 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29344         [BZ #13579]
29345         * include/link.h (struct link_map): Add l_free_initfini.
29346         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29347         l_initfini.
29348         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29349         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29350         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29351         set.
29353 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29355         * configure.in: Use AC_LANG_SOURCE.
29356         * configure: Regenerate.
29358 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29360         * configure.in (libc_cv_localstatedir): New substituted variable.
29361         * configure: Regenerated.
29362         * config.make.in (localstatedir): New variable, substituted from
29363         libc_cv_localstatedir.
29364         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29365         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29366         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29367         * sysdeps/gnu/configure: Regenerated.
29369 2012-06-21  Jeff Law  <law@redhat.com>
29371         [BZ #14277]
29372         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29373         free.  Simplify list management for _LIBC case.
29375 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29377         [BZ #14273]
29378         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29379         Clear sign bit of 64-bit integer value before comparing against
29380         overflow value.
29382         * sysdeps/mach/configure: Regenerated.
29384 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29386         [BZ #14278]
29387         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29389 2012-06-21  Jeff Law  <law@redhat.com>
29391         [BZ #13882]
29392         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29393         uint16_t for elements in the "seen" array to avoid char overflows.
29394         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29395         * elf/dl-open.c (dl_open_worker): Likewise.
29397 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29399         * scripts/list-sources.sh: Scan PORTS for translations.
29400         * po/libc.pot: Regenerated.
29402 2012-06-21  Andreas Jaeger  <aj@suse.de>
29404         [BZ #12194]
29405         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29406         warning.
29407         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29408         * bits/byteswap-16.h (__bswap_16): Likewise.
29409         * bits/byteswap.h (__bswap_constant_16): Likewise.
29411 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29413         [BZ #14117]
29414         * sysdeps/i386/fpu_control.h: Removed.
29415         * sysdeps/x86_64/fpu_control.h: Moved to ...
29416         * sysdeps/x86/fpu_control.h: Here.
29418         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29419         (_FPU_SETCW): Likewise.
29421 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29423         [BZ #14117]
29424         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29425         * sysdeps/x86/fpu/bits/mathinline.h: This.
29426         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29428         [BZ #14050]
29429         [BZ #14117]
29430         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29431         functions if __x86_64__ is defined.
29433 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29435         * string/endian.h: Add !__ASSEMBLER__ condition for including
29436         conversion interfaces.
29438 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29440         [BZ #14241]
29441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29442         of ABS(x) in calculating zero to negative powers other than odd
29443         integers.
29444         * math/libm-test.inc (pow_test): Add more tests.
29446 2012-06-15  Andreas Jaeger  <aj@suse.de>
29448         * manual/contrib.texi (Contributors): Update entry of Liubov
29449         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29450         Machado Filho.
29452 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29454         * string/string.h: Add __wur to GNU version of strerror_r.
29456 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29458         [BZ #14229]
29459         * string/Makefile (tests): Add tst-strtok_r.
29460         * string/tst-strtok_r.c: New file.
29461         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29462         RAX_LP/RDX_LP on SAVE_PTR.
29464 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29466         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29468 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29470         * libm_test.inc (csqrt_test): Allow more spurious underflow
29471         exceptions.
29472         (j0_test): Likewise.
29473         (j1_test): Likewise.
29474         (y0_test): Likewise.
29475         (y1_test): Likewise.
29477 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29479         * po/Makefile (libc.pot): Use UTF-8 charset.
29481 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29483         [BZ #14210]
29484         Suppress sign-conversion warning from FD_SET.
29485         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29486         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29487         not unsigned long int.
29488         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29490 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29492         [BZ #14050]
29493         [BZ #14117]
29494         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29495         __extern_always_inline instead of __extern_inline.
29496         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29497         (__signbit): Likewise.
29498         (__signbitl): Support C++ namespace.
29499         (lrintf): New inline function.
29500         (lrint): Likewise.
29501         (llrintf): Likewise.
29502         (llrint): Likewise.
29503         (fmaxf): Likewise.
29504         (fmax): Likewise.
29505         (fminf): Likewise.
29506         (fmin): Likewise.
29507         (rint): Likewise.
29508         (rintf): Likewise.
29509         (ceil): Likewise.
29510         (ceilf): Likewise.
29511         (floor): Likewise.
29512         (floorf): Likewise.
29513         (nearbyint): Likewise.
29514         (nearbyintf): Likewise.
29516 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29518         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29519         non-default versions.
29521 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29523         [BZ #14218]
29524         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29526 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29528         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29529         (FE_UPWARD, FE_DOWNWARD): Don't define.
29530         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29531         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29533         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29534         reading it.
29535         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29536         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29538 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29540         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29542         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29543         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29545 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29547         [BZ #14117]
29548         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29549         * sysdeps/i386/fpu/Implies: New file.
29550         * sysdeps/x86_64/fpu/Implies: Likewise.
29551         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29552         * sysdeps/x86/fpu/bits/fenv.h: This.
29554         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29555         __SSE_MATH__.
29557 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29559         [BZ #14134]
29560         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29561         character 0xffff that matches the last element of the
29562         conversion table.
29564 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29567         fmodl commit.
29569 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29572         values higher than 25.6283.
29574 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29576         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29577         subnormal exponent extraction and add some __builtin_expect.
29578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29579         Fix for subnormal mantissa calculation.
29581 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29583         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29584         cpu2 is -1 and errno is not ENOSYS.
29586 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29588         [BZ #14117]
29589         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29590         * sysdeps/x86/bits/string.h: This.
29591         * sysdeps/x86_64/bits/string.h: Removed.
29593         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29594         if not compiling for x86-64, but compiling for >= i486.
29596         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29597         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29599         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29600         New macro from Linux kernel 3.4.0.
29601         (FP_XSTATE_MAGIC2): Likewise.
29602         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29603         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29604         (struct _fpx_sw_bytes): New struct.
29605         (struct _xsave_hdr): Likewise.
29606         (struct _ymmh_state): Likewise.
29607         (struct _xstate): Likewise.
29609         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29610         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29611         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29612         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29613         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29614         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29616         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29617         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29618         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29619         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29620         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29621         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29623 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29625         [BZ #13743]
29626         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29627         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29628         (sysdep_headers): Include sys/platform/ppc.h.
29629         * sysdeps/powerpc/test-gettimebase.c: Test for
29630         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29631         * manual/Makefile (appendices): Include platform.texi.
29632         * manual/contrib.texi (Contributors): Update @node pointers.
29633         * manual/maint.texi (Maintenance): Likewise.
29634         (Platform): New node.
29635         * manual/platform.texi: New file.  Document the new features.
29637 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29638             Jakub Jelinek  <jakub@redhat.com>
29640         [BZ #14188]
29641         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29642         where __builtin_expect is unavailable.
29644 2012-06-03  David S. Miller  <davem@davemloft.net>
29646         * stdlib/longlong.h: Updated from GCC.
29648 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29650         [BZ #14042]
29651         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29652         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29653         __mcount_internal.
29654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29655         (GLIBC_2.16): Likewise.
29657 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29659         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29661 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29664         (default-abi): New variable.
29665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29666         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29667         variable.
29668         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29669         Likewise.
29670         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29671         Likewise.
29672         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29673         Likewise.
29675         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29676         definition.  Document in comment.
29678 2012-06-01  David S. Miller  <davem@davemloft.net>
29680         * stdlib/longlong.h: Updated from GCC.
29682 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29684         [BZ #14117]
29685         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29686         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29687         sys/debugreg.h sys/io.h here.
29688         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29689         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29690         sys/io.h.
29691         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29692         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29693         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29694         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29695         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29696         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29698         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29699         Define only if __x86_64__ is defined.
29701 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29703         [BZ #14048]
29704         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29705         Use int64_t for variable i.
29706         * math/libm-test.inc (fmod_test): Add more tests.
29708         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29709         z computation is not scheduled after fetestexcept.
29710         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29711         Use math_force_eval instead of asm to ensure calculation scheduled
29712         before exception test.
29713         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29714         Ensure a1 + u.d computation is not scheduled after fetestexcept.
29716 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
29718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29719         computation is not scheduled after fetestexcept.
29721 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29723         [BZ #14117]
29724         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29725         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29727 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29729         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29730         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29732 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29734         [BZ #14117]
29735         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29736         <bits/wordsize.h>.
29737         (__WCHAR_MIN): Support __WORDSIZE == 64.
29738         (__WCHAR_MAX): Likewise.
29740         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29741         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29743         [BZ #14183]
29744         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29745         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29747         [BZ #14117]
29748         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29749         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29751         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29752         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29754         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29755         Defined to 1 if __x86_64__ isn't defined.
29756         (_STAT_VER_LINUX_OLD): New.
29757         (st_atime): Remove duplicate.
29758         (st_mtime): Likewise.
29759         (st_ctime): Likewise.
29761 2012-05-31  David S. Miller  <davem@davemloft.net>
29763         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29764         entries.
29766 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29768         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29769         gen-libm-test.pl.
29771         [BZ #14132]
29772         * elf/dl-reloc.c: Include <_itoa.h>.
29773         (_dl_reloc_bad_type): Remove use of INTUSE.
29774         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29775         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29776         * stdio-common/psiginfo.c (psiginfo): Likewise.
29777         * stdio-common/psignal.c (psignal): Likewise.
29778         * string/strsignal.c (strsignal): Likewise.
29779         * include/signal.h (_sys_siglist): Declare hidden proto.
29780         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29781         INTVARDEF with libc_hidden_data_def.
29782         * stdio-common/itoa-udigits.c: Likewise.
29783         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29784         (_itoa_lower_digits_internal): Remove declaration.
29785         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29786         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29787         (_sys_sigabbrev_internal): Remove aliases.
29788         (_sys_siglist): Define hidden alias.
29790 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29793         bits/sysctl.h.
29795 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29797         [BZ #14117]
29798         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29799         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29801         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29802         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29803         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29804         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29805         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29806         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29808         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29809         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29810         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29812         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29813         with __addr.
29814         (insw): Likewise.
29815         (insl): Likewise.
29816         (outsb): Likewise.
29817         (outsw): Likewise.
29818         (outsl): Likewise.
29820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29821         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29824         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29825         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29826         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29827         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29828         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29829         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29831         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29832         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29834         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29835         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29837         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29838         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29839         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29841         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29842         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29843         to ...
29844         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29846         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29847         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29848         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29850         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29851         for x86-64.
29852         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29854 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29856         * math/math.h (M_El): Use two more decimal places.
29857         (M_LOG2El): Likewise.
29858         (M_LOG10El): Likewise.
29859         (M_LN2l): Likewise.
29860         (M_LN10l): Likewise.
29861         (M_PIl): Likewise.
29862         (M_PI_2l): Likewise.
29863         (M_PI_4l): Likewise.
29864         (M_1_PIl): Likewise.
29865         (M_2_PIl): Likewise.
29866         (M_2_SQRTPIl): Likewise.
29867         (M_SQRT2l): Likewise.
29868         (M_SQRT1_2l): Likewise.
29870 2012-05-31  David S. Miller  <davem@davemloft.net>
29872         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29873         values between float registers.
29874         * sysdeps/sparc/sparc64/memset.S: Likewise.
29875         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29877 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29879         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29880         -D_FORTIFY_SOURCE=1.
29881         (CPPFLAGS-tst-longjmp_chk.c): Define.
29882         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29883         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29884         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29885         CFLAGS-tst-wchar-h.c.
29887 2012-05-31  Marek Polacek  <polacek@redhat.com>
29889         [BZ #14132]
29890         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29891         __endmntent_internal): Remove declaration.
29892         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29893         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29894         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29896 2012-05-30  David S. Miller  <davem@davemloft.net>
29898         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29899         (___Q_simulate_exceptions): Use real FP ops rather than writing
29900         into the %fsr.
29901         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29902         Likewise.
29904 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29906         [BZ #14117]
29907         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29908         * sysdeps/x86/bits/xtitypes.h: This.
29910         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29911         * sysdeps/x86/bits/wordsize.h: This.
29913         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29914         * sysdeps/x86/bits/huge_vall.h: This.
29916         * sysdeps/i386/bits/select.h: Removed.
29917         * sysdeps/x86_64/bits/select.h: Renamed to ...
29918         * sysdeps/x86/bits/select.h: This.
29920         * sysdeps/i386/bits/setjmp.h: Removed.
29921         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29922         * sysdeps/x86/bits/setjmp.h: This.
29924         * sysdeps/i386/bits/mathdef.h: Removed.
29925         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29926         * sysdeps/x86/bits/mathdef.h: This.
29928 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29930         [BZ #14132]
29931         * include/sys/socket.h (__connect_internal)
29932         (__libc_sa_len_internal): Remove declaration.
29933         (__connect, __libc_sa_len): Declare hidden_proto.
29934         (SA_LEN): Remove use of INTUSE.
29935         * socket/connect.c: Add libc_hidden_def.
29936         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29937         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29938         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29939         alias.
29940         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29941         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29942         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29943         of adding _internal alias.
29945 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29947         [BZ #14117]
29948         * sysdeps/i386/bits/link.h: Removed.
29949         * sysdeps/i386/bits/linkmap.h: Likewise.
29950         * sysdeps/x86_64/bits/link.h: Renamed to ...
29951         * sysdeps/x86/bits/link.h: This.
29952         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29953         * sysdeps/x86/bits/linkmap.h: This.
29955         * sysdeps/i386/bits/endian.h: Removed.
29956         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29957         * sysdeps/x86/bits/endian.h: This.
29959         * sysdeps/i386/bits/byteswap.h: Removed.
29960         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29961         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29962         * sysdeps/x86/bits/byteswap.h: This.
29963         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29964         * sysdeps/x86/bits/byteswap-16.h: This.
29965         * sysdeps/i386/Implies: Add x86.
29966         * sysdeps/x86_64/Implies: Likewise.
29968 2012-05-30  David S. Miller  <davem@davemloft.net>
29970         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29971         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29972         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29973         (FP_TRAPPING_EXCEPTIONS): Define.
29974         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29975         (FP_TRAPPING_EXCEPTIONS): Define.
29976         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29977         subnormals only when inexact has been signalled or underflow
29978         exceptions are enabled.
29979         (_FP_PACK_CANONICAL): Likewise.
29981 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29983         [BZ #14183]
29984         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29985         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29987 2012-05-30  Richard Henderson  <rth@twiddle.net>
29989         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29990         with #ifndef NOT_IN_libc.
29992         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29993         marked to avoid plt entry.
29995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29997         [BZ #14112]
29998         * Makeconfig (default-abi): New macro.
29999         (abi-includes): Likewise.
30000         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30001         $(abi-$(default-abi)-lib-soname) for soname if defined.
30002         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30003         abi-variants.
30004         * Makefile (installed-stubs): Likewise.
30005         * include/stubs-biarch.h: Removed.
30006         * scripts/lib-names.awk: Only handle one library at a time.
30007         * scripts/soversions.awk: Remove WORDSIZE support.
30008         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30009         entries.
30010         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30011         Removed.
30012         (syscall-list-default-condition): Likewise.
30013         (syscall-list-default-condition): Likewise.
30014         (syscall-list-includes): Likewise.
30015         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30016         syscall-list-* with abi-*.  Handle undefined abi-variants.
30017         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30018         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30019         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30020         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30021         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30022         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30023         Removed.
30024         (syscall-list-32-options): Likewise.
30025         (syscall-list-32-condition): Likewise.
30026         (syscall-list-64-options): Likewise.
30027         (syscall-list-64-condition): Likewise.
30028         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30029         macro.
30030         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30031         Renamed to ...
30032         (abi-*): This.
30033         (abi-64-ld-soname): New macro.
30034         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30035         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30036         Renamed to ...
30037         (abi-*): This.
30038         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30039         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30041 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30043         * sysdeps/unix/sysv/linux/kernel-features.h
30044         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30045         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30046         include <kernel-features.h>.
30047         [!__NR_ftruncate64]: Remove conditional code.
30048         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30049         [__NR_ftruncate64]: Make code unconditional.
30050         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30051         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30052         include <kernel-features.h>.
30053         [!__NR_ftruncate64]: Remove conditional code.
30054         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30055         [__NR_ftruncate64]: Make code unconditional.
30056         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30058         include <kernel-features.h>.
30059         [!__NR_ftruncate64]: Remove conditional code.
30060         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30061         [__NR_ftruncate64]: Make code unconditional.
30062         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30064         include <kernel-features.h>.
30065         [!__NR_ftruncate64]: Remove conditional code.
30066         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30067         [__NR_ftruncate64]: Make code unconditional.
30068         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30070         * configure.in (libc_cv_fpie): Weaken to a compile test using
30071         LIBC_TRY_CC_OPTION.
30072         * configure: Regenerated.
30074 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30080         Refreshed.
30081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30087         Refreshed.
30089 2012-05-27  David S. Miller  <davem@davemloft.net>
30091         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30092         (___Q_zero): New.
30093         (__Q_simulate_exceptions): Return void.  Change to simulate
30094         exceptions by writing into the %fsr.
30095         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30096         (__Qp_handle_exceptions): Likewise.
30097         (numbers): Delete.
30098         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30099         __Qp_handle_exceptions.
30100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30101         __Qp_handle_exceptions.
30102         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30103         as unused and give dummy FP_RND_NEAREST initializer.
30104         (FP_INHIBIT_RESULTS): Define.
30105         (___Q_simulate_exceptions): Update declaration.
30106         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30107         formatting.
30108         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30109         as unused and give dummy FP_RND_NEAREST initializer.
30110         (__Qp_handle_exceptions): Update declaration.
30111         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30112         formatting.
30114 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30116         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30117         the temporary FPU control word.
30118         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30119         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30120         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30121         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30122         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30123         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30124         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30125         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30126         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30127         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30128         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30130 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30132         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30133         fields.
30135 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30137         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30138         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30139         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30140         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30141         Likewise.
30142         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30143         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30144         Likewise.
30146 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30148         * po/h.po: Update from translation team.
30150 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30152         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30154         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30155         handling of denormals.
30156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30157         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30158         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30159         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30161         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30162         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30163         Likewise.
30165 2012-05-26  Marek Polacek  <polacek@redhat.com>
30167         [BZ #14152]
30168         * math/libm-test.inc (fma_test): Don't always expect underflow
30169         exception.
30171 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30173         [BZ #12416]
30174         * elf/tst-execstack.c: Include stackinfo.h.
30175         (do_test): Adjust test case to ensure that pthread_getattr_np
30176         behaviour remains the same after marking stack executable.
30178 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30180         * sysdeps/unix/sysv/linux/kernel-features.h
30181         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30182         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30183         kernel-features.h.
30184         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30185         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30186         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30187         kernel-features.h.
30188         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30189         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30191 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30193         * configure.in: Define the default includes to being none.
30194         * configure: Regenerated.
30196 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30198         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30199         * sysdeps/x86_64/setjmp.S: Likewise.
30200         * sysdeps/i386/bsd-setjmp.S: Likewise.
30201         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30202         * sysdeps/i386/setjmp.S: Likewise.
30203         * sysdeps/i386/__longjmp.S: Likewise.
30204         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30205         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30207         * include/stap-probe.h: New file.
30208         * configure.in: Handle --enable-systemtap.
30209         * configure: Regenerated.
30210         * config.h.in (USE_STAP_PROBE): New #undef.
30211         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30212         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30213         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30215 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30217         [BZ #13717]
30218         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30219         to 2.4.0 where earlier.
30220         * sysdeps/unix/sysv/linux/configure: Regenerated.
30221         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30222         <kernel-features.h>.
30223         [__ASSUME_32BITUIDS]: Make code unconditional.
30224         [!__ASSUME_32BITUIDS]: Remove conditional code.
30225         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30226         <kernel-features.h>.
30227         [__ASSUME_32BITUIDS]: Make code unconditional.
30228         [!__ASSUME_32BITUIDS]: Remove conditional code.
30229         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30230         [__ASSUME_32BITUIDS]: Make code unconditional.
30231         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30232         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30233         <kernel-features.h>.
30234         [__ASSUME_32BITUIDS]: Make code unconditional.
30235         [!__ASSUME_32BITUIDS]: Remove conditional code.
30236         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30237         <kernel-features.h>.
30238         [__ASSUME_32BITUIDS]: Make code unconditional.
30239         [!__ASSUME_32BITUIDS]: Remove conditional code.
30240         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30241         <kernel-features.h>.
30242         [__ASSUME_32BITUIDS]: Make code unconditional.
30243         [!__ASSUME_32BITUIDS]: Remove conditional code.
30244         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30245         <kernel-features.h>.
30246         [__ASSUME_32BITUIDS]: Make code unconditional.
30247         [!__ASSUME_32BITUIDS]: Remove conditional code.
30248         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30249         <kernel-features.h>.
30250         [__ASSUME_32BITUIDS]: Make code unconditional.
30251         [!__ASSUME_32BITUIDS]: Remove conditional code.
30252         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30253         <kernel-features.h>.
30254         [__ASSUME_32BITUIDS]: Make code unconditional.
30255         [!__ASSUME_32BITUIDS]: Remove conditional code.
30256         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30257         <kernel-features.h>.
30258         [__ASSUME_32BITUIDS]: Make code unconditional.
30259         [!__ASSUME_32BITUIDS]: Remove conditional code.
30260         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30261         <kernel-features.h>.
30262         [__ASSUME_32BITUIDS]: Make code unconditional.
30263         [!__ASSUME_32BITUIDS]: Remove conditional code.
30264         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30265         <kernel-features.h>.
30266         [__ASSUME_32BITUIDS]: Make code unconditional.
30267         [!__ASSUME_32BITUIDS]: Remove conditional code.
30268         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30269         <kernel-features.h>.
30270         [__ASSUME_32BITUIDS]: Make code unconditional.
30271         [!__ASSUME_32BITUIDS]: Remove conditional code.
30272         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30273         <kernel-features.h>.
30274         [__NR_setresgid] (__setresgid): Do not declare.
30275         [__ASSUME_32BITUIDS]: Make code unconditional.
30276         [!__ASSUME_32BITUIDS]: Remove conditional code.
30277         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30278         <kernel-features.h>.
30279         [__NR_setresuid] (__setresuid): Do not declare.
30280         [__ASSUME_32BITUIDS]: Make code unconditional.
30281         [!__ASSUME_32BITUIDS]: Remove conditional code.
30282         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30283         <kernel-features.h>.
30284         [__ASSUME_32BITUIDS]: Make code unconditional.
30285         [!__ASSUME_32BITUIDS]: Remove conditional code.
30286         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30287         <kernel-features.h>.
30288         [__ASSUME_32BITUIDS]: Make code unconditional.
30289         [!__ASSUME_32BITUIDS]: Remove conditional code.
30290         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30291         <kernel-features.h>.
30292         [__ASSUME_32BITUIDS]: Make code unconditional.
30293         [!__ASSUME_32BITUIDS]: Remove conditional code.
30294         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30295         <kernel-features.h>.
30296         [__ASSUME_32BITUIDS]: Make code unconditional.
30297         [!__ASSUME_32BITUIDS]: Remove conditional code.
30298         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30299         <kernel-features.h>.
30300         [__ASSUME_32BITUIDS]: Make code unconditional.
30301         [!__ASSUME_32BITUIDS]: Remove conditional code.
30302         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30303         <kernel-features.h>.
30304         [__ASSUME_32BITUIDS]: Make code unconditional.
30305         [!__ASSUME_32BITUIDS]: Remove conditional code.
30306         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30307         <kernel-features.h>.
30308         [__ASSUME_32BITUIDS]: Make code unconditional.
30309         [!__ASSUME_32BITUIDS]: Remove conditional code.
30310         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30311         <kernel-features.h>.
30312         [__ASSUME_32BITUIDS]: Make code unconditional.
30313         [!__ASSUME_32BITUIDS]: Remove conditional code.
30314         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30315         <kernel-features.h>.
30316         [__ASSUME_32BITUIDS]: Make code unconditional.
30317         [!__ASSUME_32BITUIDS]: Remove conditional code.
30318         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30319         <kernel-features.h>.
30320         [__ASSUME_32BITUIDS]: Make code unconditional.
30321         [!__ASSUME_32BITUIDS]: Remove conditional code.
30322         * sysdeps/unix/sysv/linux/kernel-features.h
30323         (__ASSUME_SETRESUID_SYSCALL): Remove.
30324         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30325         (__ASSUME_32BITUIDS): Likewise.
30326         (__ASSUME_LDT_WORKS): Likewise.
30327         (__ASSUME_O_DIRECTORY): Likewise.
30328         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30329         architecture but not kernel version.
30330         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30331         (__ASSUME_MMAP2_SYSCALL): Likewise.
30332         (__ASSUME_STAT64_SYSCALL): Likewise.
30333         (__ASSUME_IPC64): Likewise.
30334         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30335         <kernel-features.h>.
30336         [__ASSUME_32BITUIDS]: Make code unconditional.
30337         [!__ASSUME_32BITUIDS]: Remove conditional code.
30338         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30339         <kernel-features.h>.
30340         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30341         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30342         132096]: Remove conditional code.
30343         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30344         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30345         <kernel-features.h>.
30346         [__ASSUME_32BITUIDS]: Make code unconditional.
30347         [!__ASSUME_32BITUIDS]: Remove conditional code.
30348         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30349         <kernel-features.h>.
30350         [__ASSUME_32BITUIDS]: Make code unconditional.
30351         [!__ASSUME_32BITUIDS]: Remove conditional code.
30352         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30353         <kernel-features.h>.
30354         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30355         unconditional.
30356         (__setresgid): Do not declare.
30357         [__ASSUME_32BITUIDS]: Make code unconditional.
30358         [!__ASSUME_32BITUIDS]: Remove conditional code.
30359         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30360         <kernel-features.h>.
30361         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30362         unconditional.
30363         (__setresuid): Do not declare.
30364         [__ASSUME_32BITUIDS]: Make code unconditional.
30365         [!__ASSUME_32BITUIDS]: Remove conditional code.
30366         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30367         <kernel-features.h>.
30368         [__ASSUME_32BITUIDS]: Make code unconditional.
30369         [!__ASSUME_32BITUIDS]: Remove conditional code.
30370         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30371         <kernel-features.h>.
30372         [__ASSUME_32BITUIDS]: Make code unconditional.
30373         [!__ASSUME_32BITUIDS]: Remove conditional code.
30375 2012-05-25  Richard Henderson  <rth@twiddle.net>
30377         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30378         dl_hwcap to ifunc resolver.
30379         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30380         elf_ifunc_invoke.
30381         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30382         dl_hwcap to ifunc resolver.
30383         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30385 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30387         [BZ #14153]
30388         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30389         for |x| <= 2**-26, not 2**-57.
30390         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30391         exception.
30393 2012-05-24  Jeff Law  <law@redhat.com>
30395         * stdio-common/Makefile (tests): Add bug25.
30396         * stdio-common/bug25.c: New test.
30398 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30400         [BZ #13576]
30401         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30402         multiple of MALLOC_ALIGNMENT in size.
30403         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30405 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30407         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30408         Require >= 256.
30409         (FILENAME_MAX): Use macro-int-constant.
30410         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30411         (_IOFBF): Use macro-int-constant.
30412         (_IOLBF): Likewise.
30413         (_IONBF): Likewise.
30414         (SEEK_CUR): Likewise.
30415         (SEEK_END): Likewise.
30416         (SEEK_SET): Likewise.
30417         (TMP_MAX): Likewise.
30418         (EOF): Use macro-int-constant.  Require < 0.
30419         (NULL): Use macro-constant.  Require == 0.
30420         (stdin): Require type to be FILE *.
30421         (stdout): Likewise.
30422         (stderr): Likewise.
30423         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30424         macro-int-constant.
30425         (EXIT_SUCCESS): Likewise.
30426         (NULL): Use macro-constant.  Require == 0.
30427         (RAND_MAX): Use macro-int-constant.
30428         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30429         [C99-based standards] (strtof): Require function.
30430         [C99-based standards] (strtold): Likewise.
30431         [C99-based standards] (strtoll): Likewise.
30432         [C99-based standards] (strtoull): Likewise.
30433         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30434         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30435         [ISO || ISO99 || ISO11] (math.h): Likewise.
30436         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30437         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30440 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30442         [BZ #14132]
30443         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30444         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30445         * intl/dgettext.c (DCGETTEXT): Likewise.
30446         * intl/gettext.c (DCGETTEXT): Likewise.
30447         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30448         * posix/regex_internal.h (gettext): Likewise.
30449         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30450         Remove declaration.
30451         * include/argz.h (__argz_count_internal)
30452         (__argz_stringify_internal): Remove declaration.
30453         (__argz_count, __argz_stringify): Declare hidden proto.
30454         * intl/dcgettext.c: Remove use of INTDEF.
30455         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30456         * string/argz-stringify.c: Likewise.
30457         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30458         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30459         Declare hidden proto.
30460         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30461         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30462         Declare hidden proto.
30463         * include/stdio.h (__asprintf_internal): Don't declare.
30464         (__asprintf): Don't define as macro.  Declare hidden proto.
30465         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30466         (__fsetlocking): Declare hidden proto.
30467         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30468         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30469         hidden proto.
30470         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30471         (_IO_setlinebuf): Remove use of INTUSE.
30472         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30473         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30474         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30475         Remove declaration.
30476         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30477         (_IO_do_flush): Remove use of INTUSE.
30478         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30479         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30480         (_IO_adjust_column, _IO_least_wmarker)
30481         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30482         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30483         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30484         (_IO_default_doallocate, _IO_wdefault_doallocate)
30485         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30486         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30487         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30488         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30489         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30490         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30491         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30492         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30493         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30494         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30495         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30496         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30497         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30498         proto.
30499         (_IO_flush_all_internal, _IO_adjust_column_internal)
30500         (_IO_default_uflow_internal, _IO_default_finish_internal)
30501         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30502         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30503         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30504         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30505         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30506         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30507         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30508         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30509         (_IO_file_close_internal, _IO_file_close_it_internal)
30510         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30511         (_IO_file_init_internal, _IO_file_attach_internal)
30512         (_IO_file_fopen_internal, _IO_file_read_internal)
30513         (_IO_file_sync_internal, _IO_file_seek_internal)
30514         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30515         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30516         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30517         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30518         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30519         (_IO_list_all_internal, _IO_link_in_internal)
30520         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30521         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30522         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30523         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30524         (_IO_do_write_internal, _IO_padn_internal)
30525         (_IO_getline_info_internal, _IO_getline_internal)
30526         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30527         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30528         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30529         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30530         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30531         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30532         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30533         with libc_hidden_ver, remove use of INTUSE.
30534         * libio/genops.c: Likewise.
30535         * libio/freopen.c: Likewise.
30536         * libio/freopen64.c: Likewise.
30537         * libio/iofclose.c: Likewise.
30538         * libio/iofdopen.c: Likewise.
30539         * libio/iofflush.c: Likewise.
30540         * libio/iofflush_u.c: Likewise.
30541         * libio/iofgets.c: Likewise.
30542         * libio/iofgets_u.c: Likewise.
30543         * libio/iofopen.c: Likewise.
30544         * libio/iofopncook.c: Likewise.
30545         * libio/iofread.c: Likewise.
30546         * libio/iofread_u.c: Likewise.
30547         * libio/ioftell.c: Likewise.
30548         * libio/iofwrite.c: Likewise.
30549         * libio/iogetline.c: Likewise.
30550         * libio/iogets.c: Likewise.
30551         * libio/iogetwline.c: Likewise.
30552         * libio/iopadn.c: Likewise.
30553         * libio/iopopen.c: Likewise.
30554         * libio/ioseekoff.c: Likewise.
30555         * libio/ioseekpos.c: Likewise.
30556         * libio/iosetbuffer.c: Likewise.
30557         * libio/iosetvbuf.c: Likewise.
30558         * libio/ioungetc.c: Likewise.
30559         * libio/ioungetwc.c: Likewise.
30560         * libio/iovdprintf.c: Likewise.
30561         * libio/iovsprintf.c: Likewise.
30562         * libio/iovsscanf.c: Likewise.
30563         * libio/memstream.c: Likewise.
30564         * libio/obprintf.c: Likewise.
30565         * libio/oldfileops.c: Likewise.
30566         * libio/oldiofclose.c: Likewise.
30567         * libio/oldiofdopen.c: Likewise.
30568         * libio/oldiofopen.c: Likewise.
30569         * libio/oldiopopen.c: Likewise.
30570         * libio/oldstdfiles.c: Likewise.
30571         * libio/putc.c: Likewise.
30572         * libio/setbuf.c: Likewise.
30573         * libio/setlinebuf.c: Likewise.
30574         * libio/stdfiles.c: Likewise.
30575         * libio/strops.c: Likewise.
30576         * libio/vasprintf.c: Likewise.
30577         * libio/vscanf.c: Likewise.
30578         * libio/vsnprintf.c: Likewise.
30579         * libio/vswprintf.c: Likewise.
30580         * libio/wfiledoalloc.c: Likewise.
30581         * libio/wfileops.c: Likewise.
30582         * libio/wgenops.c: Likewise.
30583         * libio/wmemstream.c: Likewise.
30584         * libio/wstrops.c: Likewise.
30585         * libio/__fpurge.c: Likewise.
30586         * libio/__fsetlocking.c: Likewise.
30587         * assert/assert.c: Likewise.
30588         * debug/fgets_chk.c: Likewise.
30589         * debug/fgets_u_chk.c: Likewise.
30590         * debug/fread_chk.c: Likewise.
30591         * debug/fread_u_chk.c: Likewise.
30592         * debug/gets_chk.c: Likewise.
30593         * debug/obprintf_chk.c: Likewise.
30594         * debug/vasprintf_chk.c: Likewise.
30595         * debug/vdprintf_chk.c: Likewise.
30596         * debug/vsnprintf_chk.c: Likewise.
30597         * debug/vsprintf_chk.c: Likewise.
30598         * malloc/mtrace.c: Likewise.
30599         * misc/error.c: Likewise.
30600         * misc/syslog.c: Likewise.
30601         * stdio-common/asprintf.c: Likewise.
30602         * stdio-common/fxprintf.c: Likewise.
30603         * stdio-common/getw.c: Likewise.
30604         * stdio-common/isoc99_fscanf.c: Likewise.
30605         * stdio-common/isoc99_scanf.c: Likewise.
30606         * stdio-common/isoc99_vfscanf.c: Likewise.
30607         * stdio-common/isoc99_vscanf.c: Likewise.
30608         * stdio-common/isoc99_vsscanf.c: Likewise.
30609         * stdio-common/printf-prs.c: Likewise.
30610         * stdio-common/printf_fp.c: Likewise.
30611         * stdio-common/printf_fphex.c: Likewise.
30612         * stdio-common/printf_size.c: Likewise.
30613         * stdio-common/putw.c: Likewise.
30614         * stdio-common/scanf.c: Likewise.
30615         * stdio-common/sprintf.c: Likewise.
30616         * stdio-common/tmpfile.c: Likewise.
30617         * stdio-common/vfprintf.c: Likewise.
30618         * stdio-common/vfscanf.c: Likewise.
30619         * stdlib/strfmon_l.c: Likewise.
30620         * sunrpc/openchild.c: Likewise.
30621         * sunrpc/xdr_stdio.c: Likewise.
30622         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30623         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30625 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30627         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30629         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30630         in the third column, to generate for the shared library an IFUNC
30631         that uses _dl_vdso_vsym.
30632         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30633         * Makeconfig (object-suffixes-noshared): New variable.
30635         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30636         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30637         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30638         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30640         [BZ #14132]
30641         * include/sys/time.h (__gettimeofday): Remove macro.
30642         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30643         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30644         Remove INTDEF.
30645         (__gettimeofday): Add libc_hidden_def.
30646         (gettimeofday): Add libc_hidden_weak.
30647         * sysdeps/mach/gettimeofday.c: Likewise.
30648         * sysdeps/posix/gettimeofday.c: Likewise.
30649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30650         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30652         (__gettimeofday_internal): Remove strong_alias.
30653         (__gettimeofday): Add libc_hidden_def.
30654         (gettimeofday): Add libc_hidden_weak.
30655         * sysdeps/unix/syscalls.list (gettimeofday):
30656         Remove __gettimeofday_internal alias.
30658 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30659             H.J. Lu  <hongjiu.lu@intel.com>
30661         [BZ #12495]
30662         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30663         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30664         (largebin_index_32_big): New.
30665         (largebin_index): Use it for 16-byte alignment.
30666         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30667         correction with front_misalign.
30669 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30673         Likewise.
30674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30675         Likewise.
30676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30677         Likewise.
30678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30679         Likewise.
30680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30681         Likewise.
30682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30683         Likewise.
30684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30685         Likewise.
30686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30687         Likewise.
30688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30689         Likewise.
30690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30691         Likewise.
30692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30693         Likewise.
30694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30695         Likewise.
30697         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30698         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30700 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30702         [BZ #10846]
30703         [BZ #14036]
30704         * math/libm-test.inc (exp_test): Add test from bug 14036.
30705         (pow_test): Add test from bug 10846.
30707         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30708         and other flags.
30709         (special_function): Do not include flags in test name.
30710         (parse_args): Likewise.
30711         * sysdeps/i386/fpu/libm-test-ulps: Update.
30712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30713         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30714         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30717         * math/gen-libm-test.pl (%beautify): Add entries for underflow
30718         exceptions.
30719         * math/libm-test.inc ("Philosophy"): Update comment about
30720         exception testing.
30721         (UNDERFLOW_EXCEPTION): New macro.
30722         (UNDERFLOW_EXCEPTION_OK): Likewise.
30723         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30724         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30725         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30726         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30727         (INVALID_EXCEPTION_OK): Update value.
30728         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30729         (OVERFLOW_EXCEPTION_OK): Likewise.
30730         (IGNORE_ZERO_INF_SIGN): Likewise.
30731         (test_exceptions): Handle underflow exceptions.
30732         (acos_test): Update for underflow exception expectations.
30733         (cexp_test): Likewise.
30734         (clog_test): Likewise.
30735         (clog10_test): Likewise.
30736         (csqrt_test): Likewise.
30737         (ctan_test): Likewise.
30738         (ctanh_test): Likewise.
30739         (exp_test): Likewise.
30740         (exp10_test): Likewise.
30741         (exp2_test): Likewise.
30742         (expm1_test): Likewise.
30743         (fma_test): Likewise.
30744         (j0_test): Likewise.
30745         (jn_test): Likewise.
30746         (nexttoward_test): Likewise.
30747         (pow_test): Likewise.
30748         (scalbn_test): Likewise.
30749         (scalbln_test): Likewise.
30750         (tan_test): Likewise.
30751         (y1_test): Likewise.
30752         * sysdeps/i386/fpu/libm-test-ulps: Update.
30753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30755 2012-05-23  David S. Miller  <davem@davemloft.net>
30757         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30758         (__libc_sigaction): Remove unused local variables.
30760 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30762         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30764 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30766         mktime: avoid signed integer overflow
30767         * time/mktime.c (__mktime_internal): Do not mishandle the case
30768         where diff == INT_MIN.
30770         mktime: simplify computation of average
30771         * time/mktime.c (ranged_convert): Use new time_t_avg function
30772         instead of rolling our own (probably-slower) code.
30774         mktime: do not assume signed right shift propagates sign bit
30775         * time/mktime.c (isdst_differ): New static function.
30776         (__mktime_internal): No need to normalize tm_isdst now.
30777         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30778         tm_isdst values.
30780         mktime: merge another wrapv change from gnulib
30781         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30782         from some compilers.
30784         mktime: remove incorrect attempt at unusual arithmetics
30785         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30786         The code didn't really work on such machines anyway.
30787         (TYPE_MINIMUM): Assume two's complement.
30788         (twos_complement_arithmetic): Verify that long_int and time_t
30789         are two's complement (or unsigned, in the latter case).
30791         mktime: check signed shifts on long_int and time_t, too
30792         * time/mktime.c (SHR): Check that shifts work as desired
30793         on the types long_int and time_t too, as SHR is used on
30794         such types.
30796         mktime: do not assume 'long' is wide enough
30797         * time/mktime.c (verify): Move decl up.
30798         (long_int): New type.
30799         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30800         to remove assumption in the code that 'long' is wide enough to
30801         store year values.  This assumption is not true on x32 and on
30802         some non-glibc platforms.
30804         mktime: merge wrapv change from gnulib
30805         * time/mktime.c (WRAPV): New macro.
30806         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30807         (guess_time_tm, __mktime_internal): Do not assume that signed
30808         integer overflow wraps around; modern compilers generate code
30809         where this assumption is no longer valid.
30811 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30813         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30814         Replace "jmp L(pseudo_end)" with "ret".
30815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30816         Likewise.
30818 2012-05-23  Andreas Jaeger  <aj@suse.de>
30820         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30821         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30823 2012-05-23  Andreas Jaeger  <aj@suse.de>
30824             Maximilian Attems  <max@stro.at>
30826         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30827         New macros.
30829 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30831         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30832         code so that pseudo_end is just ret and the stack pointer is
30833         correct also for static library in error case.
30835 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30837         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30838         move to syscalls.list.
30839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30844         * manual/install.texi (Running make install): Do not mention Linux
30845         kernel version for which pt_chown is not needed.
30846         (Linux): Do not mention problems with nscd with 2.0 kernels.
30847         * INSTALL: Regenerated.
30849 2012-05-23  Andreas Jaeger  <aj@suse.de>
30851         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30852         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30853         macro.
30854         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30855         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30856         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30857         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30858         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30859         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30860         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30861         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30862         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30863         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30864         * sysdeps/unix/sysv/linux/bits/in.h
30865         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30867 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30869         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30870         (PREPARE_VERSION): Just use assert instead, it will be elided
30871         under [NDEBUG] anyway.
30873 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30875         * sysdeps/unix/sysv/linux/Makefile: Include
30876         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30877         (sysdep_routines): Remove sysctl.
30878         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30879         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30880         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30881         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30882         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30884 2012-05-22  Andreas Jaeger  <aj@suse.de>
30886         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30887         that pseudo_end is just ret and the stack pointer is correct also
30888         for static library in error case.
30890 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30892         [BZ #14122]
30893         * nss/nsswitch.c (defconfig_entries): New variable.
30894         (__nss_database_lookup): Don't leak defconfig entries.
30895         (nss_parse_service_list): Don't leak on error paths.
30896         (free_database_entries): New function.
30897         (free_defconfig): New function.
30898         (free_mem): Move common code to free_database_entries.
30900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30902         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30903         Add arch_prctl.
30904         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30906         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30907         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30908         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30909         New macro.
30910         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30911         (INTERNAL_SYSCALL_TYPES): Likewise.
30912         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30913         (LOAD_REGS_TYPES_[1-6]): Likewise.
30914         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30915         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30917 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30919         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30920         copysignl for GLIBC_2_0.
30921         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30922         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30924         logbl for GLIBC_2_0.
30925         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30926         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30928 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30931         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30933         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30934         Use "neg %eax".
30936         * time/mktime.c: Update copyright years.
30938 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30940         mktime: merge comment-quoting-style change from gnulib
30941         * time/mktime.c: Quote 'like this' in comments.
30942         The GNU coding standards suggest that we no longer quote `like this',
30943         as "`" and "'" are typically rendered asymmetrically nowadays.
30944         The typical gnulib style is to quote 'like this' when quoting
30945         code, and "like this" when quoting English.
30947         * time/mktime.c (compile-command): Add "-I.".
30949         mktime: merge mktime-internal.h change from gnulib
30950         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30952         mktime: merge time_r change from gnulib
30953         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30955         mktime: merge DEBUG change from gnulib
30956         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30957         case system <time.h> has a #define.
30959         mktime: merge <sys/types.h> change from gnulib
30960         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30961         since <time.t> is now guaranteed to define time_t.
30963         mktime: merge HAVE_CONFIG_H change from gnulib
30964         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30966 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30969         Use "neg %eax".
30971         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30972         __rlim_t cast.
30973         (struct rusage): Use anonymous union to pad each field to
30974         __syscall_slong_t.
30976 2012-05-21  David S. Miller  <davem@davemloft.net>
30978         * Makefules (o-iterator): Remove .s cases.
30979         (compile-command.s): Delete.
30980         (COMPILE.s): Delete.
30981         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30983 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30985         * configure.in (libc_cv_predef_stack_protector): Only consider
30986         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30987         * configure: Regenerated.
30989 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30992         New macro.  Use R*LP on int and pointer.
30993         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30994         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30995         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30996         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30998         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30999         [__WORDSIZE_TIME64_COMPAT32] instead of
31000         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31001         (struct utmp): Likewise.
31002         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31003         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31004         Renamed to ...
31005         (__WORDSIZE_TIME64_COMPAT32): This.
31006         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31007         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31008         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31009         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31010         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31011         (__WORDSIZE_TIME64_COMPAT32): New macro.
31013 2012-05-21  Andreas Jaeger  <aj@suse.de>
31015         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31016         only if [SHARED]. Add prototype for __wcschr_ia32.
31018 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31020         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31021         of %rbp unmolested in the jmp_buf while mangling the low bits.
31022         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31023         unmolested high bits of %rbp while demangling the low bits.
31024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31026 2012-05-21  Andreas Jaeger  <aj@suse.de>
31028         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31029         * sunrpc/svc_simple.c: Use it for registerrpc.
31030         * sunrpc/xcrypt.c: Use it for passwd2des.
31032         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31034 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31036         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31037         Don't define if [__SYSCALL_WORDSIZE != 32].
31038         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31039         New macro.
31041 2012-05-21  Bruno Haible  <bruno@clisp.org>
31042             Andreas Jaeger  <aj@suse.de>
31044         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31045         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31046         inptr and inend for must_buffer_ch.
31047         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31048         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31049         * stdio-common/Makefile (tests): Remove bug15.
31050         (bug15-ENV): Remove macro.
31051         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31052         anymore.
31054 2012-05-19  Andreas Jaeger  <aj@suse.de>
31055             Roland McGrath  <roland@hack.frob.com>
31057         * manual/contrib.texi: Completely rewritten. It contains now an
31058         alphabetical list of contributors and their contributions.
31060 2012-05-21  Richard Henderson  <rth@twiddle.net>
31062         * misc/getauxval.c (__getauxval): Use unsigned long int.
31063         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31064         (getauxval): Use unsigned long int.
31066 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31068         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31070 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31072         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31073         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31074         __alignof__ (long double).
31076 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31080 2012-05-20  Richard Henderson  <rth@twiddle.net>
31082         * misc/getauxval.c: New file.
31083         * misc/sys/auxv.h: New file.
31084         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31085         (routines): Add getauxval.
31086         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31087         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31088         * elf/dl-sysdep.c (_dl_auxv): Remove.
31089         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31090         * elf/dl-support.c (_dl_auxv): New variable.
31091         (_dl_aux_init): Initialize it.
31092         * manual/startup.texi (Auxiliary Vector): New node.
31093         * sysdeps/generic/bits/hwcap.h: New file.
31094         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31095         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31096         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31097         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31098         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31099         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31101         Update.
31102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31111 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31115 2012-05-19  David S. Miller  <davem@davemloft.net>
31117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31119 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31121         [BZ #14123]
31122         * math/s_ccosh.c: Include <float.h>
31123         (__ccosh): Avoid internal overflow calculating sinh and cosh
31124         values before multiplying by sin and cos values.
31125         * math/s_ccoshf.c: Likewise.
31126         * math/s_ccoshl.c: Likewise.
31127         * math/s_csin.c: Likewise.
31128         * math/s_csinf.c: Likewise.
31129         * math/s_csinl.c: Likewise.
31130         * math/s_csinh.c: Likewise.
31131         * math/s_csinhf.c: Likewise.
31132         * math/s_csinhl.c: Likewise.
31133         * math/libm-test.inc (ccos_test): Add more tests.
31134         (ccosh_test): Likewise.
31135         (csin_test): Likewise.
31136         (csinh_test): Likewise.
31137         * sysdeps/i386/fpu/libm-test-ulps: Update.
31138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31140 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31142         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31143         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31145         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31147 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31149         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31150         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31151         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31152         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31153         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31154         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31155         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31156         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31157         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31158         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31159         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31160         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31161         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31162         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31163         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31164         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31165         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31166         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31167         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31168         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31169         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31170         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31171         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31172         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31173         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31174         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31175         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31176         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31177         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31178         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31179         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31181 2012-05-18  Andreas Jaeger  <aj@suse.de>
31183         * csu/.gitignore: Delete.
31185 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31187         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31188         (timex): Use __syscall_slong_t.
31190 2012-05-18  Andreas Jaeger  <aj@suse.de>
31191             Carlos O'Donell  <carlos_odonell@mentor.com>
31193         * manual/install.texi (Configuring and compiling): Update
31194         description about files modified in the source directory.
31195         * INSTALL: Regenerated.
31197 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31199         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31200         value.  Use "or" to set return value to -1.
31201         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31202         negate return value.
31204 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31206         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31207         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31208         failure if the compiler has Graphite support disabled.
31209         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31210         Likewise.
31211         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31212         (CFLAGS-memmove.c): Likewise.
31213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31214         Likewise.
31216 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31218         * sysdeps/x86_64/x32/_itoa.h: New file.
31220         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31221         getdents system call only if kernel and user dirents have the
31222         same d_ino and d_off.
31224         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31225         LLONG_MAX != LONG_MAX.
31226         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31227         (_fitoa_word): Likewise.
31229         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31230         years.
31231         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31232         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31233         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31235         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31236         include <bits/wordsize.h>.  Check __x86_64__ instead of
31237         __WORDSIZE.
31238         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31239         if __x86_64__ is defined.  Use anonymous union on fpstate.
31241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31242         anonymous union.
31244 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31246         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31247         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31248         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31249         Refer to _rtld_local_ro instead of _rtld_global_ro.
31250         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31251         Likewise.
31252         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31253         Likewise.
31254         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31255         Likewise.
31256         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31257         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31258         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31260         * sysdeps/powerpc/powerpc32/dl-machine.c
31261         (__elf_machine_runtime_setup) [PROF]: Don't reference
31262         _dl_prof_resolve.
31264 2012-05-18  Andreas Jaeger  <aj@suse.de>
31266         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31267         function only available for GCCs before 3.4 since GCC 3.4
31268         introduced a builtin.
31269         (lrint): Likewise.
31270         (llrintf): Likewise.
31271         (llrint): Likewise.
31272         (fmaxf): Likewise.
31273         (fmax): Likewise.
31274         (fminf): Likewise.
31275         (fmin): Likewise.
31276         (rint): Likewise.
31277         (rintf): Likewise.
31278         (nearbyint): Likewise.
31279         (nearbyintf): Likewise.
31280         (ceil): Likewise.
31281         (ceilf): Likewise.
31282         (floor): Likewise.
31283         (floorf): Likewise.
31285 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31287         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31288         on both fields and cast pointer to __syscall_ulong_t.
31290         * bits/types.h (__fsword_t): New type.
31291         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31292         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31294         (__FSWORD_T_TYPE): Likewise.
31295         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31296         (__FSWORD_T_TYPE): Likewise.
31297         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31298         (__FSWORD_T_TYPE): Likewise.
31299         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31300         (__FSWORD_T_TYPE): Likewise.
31301         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31302         __SWORD_TYPE with __fsword_t.
31303         (statfs64): Likewise.
31305 2012-05-17  David S. Miller  <davem@davemloft.net>
31307         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31309 2012-05-17  Andreas Jaeger  <aj@suse.de>
31311         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31312         warning.
31314 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31316         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31318 2012-05-17  Andreas Jaeger  <aj@suse.de>
31320         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31321         when it is used.
31323 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31325         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31327 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31329         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31330         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31332 2012-05-17  Andreas Jaeger  <aj@suse.de>
31333             Carlos O'Donell  <carlos_odonell@mentor.com>
31335         [BZ #14059]
31336         * sysdeps/x86_64/multiarch/init-arch.h
31337         (bit_YMM_Usable): Rename to...
31338         (bit_AVX_Usable): ... this.
31339         (bit_FMA4_Usable): New macro.
31340         (bit_XMM_state): New macro.
31341         (bit_YMM_state): New macro.
31342         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31343         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31344         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31345         (CPUID_OSXSAVE): New macro.
31346         (CPUID_AVX): New macro.
31347         (CPUID_FMA4): New macro.
31348         (index_YMM_Usable): Rename to...
31349         (index_AVX_Usable): ... this.
31350         (HAS_AVX): Use HAS_ARCH_FEATURE.
31351         (HAS_FMA4): Likewise.
31352         (HAS_YMM_USABLE): Remove.
31353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31354         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31355         are present.
31356         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31357         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31358         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31359         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31360         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31362 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31364         * math/libm-test.c: Support platforms without multiple rounding modes.
31365         * math/bug-nextafter.c: Support platforms without FP exceptions.
31366         * math/bug-nexttoward.c: Likewise.
31367         * math/test-fenv.c: Likewise.
31368         * math/test-misc.c: Likewise.
31369         * stdlib/bug-getcontext.c: Likewise.
31371 2012-05-17  Andreas Jaeger  <aj@suse.de>
31373         * manual/examples/search.c (critter_cmp): Change signature to
31374         avoid warnings.
31375         * manual/string.texi (Collation Functions): Likewise.
31377 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31379         * bits/types.h: Fold copyright years.
31380         * bits/typesizes.h: Likewise.
31381         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31382         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31385         * time/time.h: Likewise.
31387 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31389         [BZ #208]
31390         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31391         in instead of returning them.  Return void.
31392         (__libc_mallinfo): Accumulate over all arenas.
31393         (__malloc_stats): Adjust for change in int_mallinfo interface.
31395 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31397         [BZ #10375]
31398         * configure.in (NM): Add AC_CHECK_TOOL for it.
31399         (libc_extra_cflags): New substituted variable.
31400         Check for -fstack-protector being used implicitly.
31401         * configure: Regenerated.
31402         * config.make.in (config-extra-cflags): New variable,
31403         gets @libc_extra_cflags@.
31404         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31406         [BZ #10375]
31407         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31408         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31409         * configure: Regenerated.
31410         * config.make.in (CPPUNDEFS): New substituted variable.
31411         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31412         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31413         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31415 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31417         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31418         (mq_attr): Use __syscall_slong_t.
31420 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31422         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31423         Check __x86_64__ instead of __WORDSIZE.
31424         (_STAT_VER_LINUX): Likewise.
31425         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31426         __syscall_ulong_t and __syscall_slong_t.
31427         (stat64): Likewise.
31429 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31433 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31435         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31437 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31439         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31440         __syscall_ulong_t.
31442         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31443         include <bits/wordsize.h>.  Check __x86_64__ instead of
31444         __WORDSIZE.
31445         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31446         defined.
31447         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31449         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31450         include <bits/wordsize.h>.  Check __x86_64__ instead of
31451         __WORDSIZE.
31452         (user_regs_struct): Use "__extension__ unsigned long long"
31453         instead of "unsigned long" if __x86_64__ is defined.
31454         (user): Likewise.  Pad after pointer field if __ILP32__ is
31455         defined.
31457 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31459         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31460         versions 5 to 9.
31461         * configure: Regenerated.
31462         * manual/install.texi (texinfo): Increase version requirement to
31463         4.5 or later.
31464         * INSTALL: Regenerated.
31466         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31468 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31470         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31472         * sysdeps/x86_64/x32/ffs.c: New file.
31474         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31475         __syscall_ulong_t.
31476         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31477         defined.  Use __syscall_ulong_t.
31478         (shminfo): Use __syscall_ulong_t.
31479         (shm_info): Likewise.
31481         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31482         __syscall_ulong_t.
31484         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31485         <bits/wordsize.h>.
31486         (msgqnum_t): Use __syscall_ulong_t.
31487         (msglen_t): Likewise.
31488         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31489         __syscall_ulong_t.
31491         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31492         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31494         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31496         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31497         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31499         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31500         __syscall_slong_t.
31502         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31503         include <bits/wordsize.h>.  Check __x86_64__ instead of
31504         __WORDSIZE.
31506         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31507         "unsigned long long int" if __x86_64__ is defined.
31508         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31510         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31511         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31512         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31514         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31515         <stdint.h>.
31516         (GET_PC): Cast to uintptr_t first.
31517         (GET_FRAME): Likewise.
31518         (GET_STACK): Likewise.
31520         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31521         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31522         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31523         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31524         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31525         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31526         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31527         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31528         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31529         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31530         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31531         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31532         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31533         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31534         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31535         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31536         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31537         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31538         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31539         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31540         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31541         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31542         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31543         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31544         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31545         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31546         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31547         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31548         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31550 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31552         * Makerules (+depfiles): Also collect depfiles from .oS in
31553         $(extra-objs).
31554         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31555         .oS, $(libnldbl-routines)).
31557         * Makerules (native-compile-mkdep-flags): Define.
31558         * sunrpc/Makefile (extra-objs): Add $(addprefix
31559         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31560         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31561         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31562         calling $(make-target-directory).
31564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31566         * bits/types.h (__snseconds_t): Removed.
31567         * time/time.h (struct timespec): Replace __snseconds_t with
31568         __syscall_slong_t.
31569         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31570         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31571         Likewise.
31572         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31573         (__SNSECONDS_T_TYPE): Likewise.
31574         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31575         (__SNSECONDS_T_TYPE): Likewise.
31576         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31577         (__SNSECONDS_T_TYPE): Likewise.
31579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31581         * sysdeps/mach/hurd/bits/typesizes.h
31582         (__SYSCALL_SLONG_TYPE): New macro.
31583         (__SYSCALL_ULONG_TYPE): Likewise.
31585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31587         * bits/types.h (__syscall_slong_t): New type.
31588         (__syscall_ulong_t): Likewise.
31590         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31591         (__SYSCALL_ULONG_TYPE): Likewise.
31592         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31593         (__SYSCALL_SLONG_TYPE): Likewise.
31594         (__SYSCALL_ULONG_TYPE): Likewise.
31595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31596         (__SYSCALL_SLONG_TYPE): Likewise.
31597         (__SYSCALL_ULONG_TYPE): Likewise.
31598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31599         (__SYSCALL_SLONG_TYPE): Likewise.
31600         (__SYSCALL_ULONG_TYPE): Likewise.
31602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31604         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31605         Add sigaltstack-offsets.sym.
31606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31607         <sigaltstack-offsets.h>.
31608         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31609         longjmp_msg pointer.
31610         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31611         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31612         signal stack.
31613         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31615 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31617         * elf/stackguard-macros.h: Remove file.
31618         * sysdeps/generic/stackguard-macros.h: New file.
31619         * sysdeps/i386/stackguard-macros.h: Likewise.
31620         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31621         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31622         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31623         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31624         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31625         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31626         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31627         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31628         <elf/stackguard-macros.h>.
31630         [BZ #14109]
31631         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31632         __aligned__ in attribute.
31633         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31634         (gregset_t): Likewise.
31636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31638         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31639         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31640         * sysdeps/x86_64/x32/Implies-after: New file.
31642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31644         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31645         and access return value for _dl_profile_fixup.  Use R10_LP to
31646         load frame size.
31648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31650         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31654         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31655         * sysdeps/x86_64/x32/sysdep.h: New file.
31657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31659         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31660         * sysdeps/x86_64/setjmp.S: Likewise.
31662 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31664         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31665         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31666         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31667         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31668         remove unused global constant.
31670 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31672         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31673         include of <not-cancel.h>.
31675 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31677         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31679 2012-05-15  Jeff Law  <law@redhat.com>
31680             Andreas Jaeger  <aj@suse.de>
31682         [BZ #13594]
31683         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31684         out from...
31685         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31686         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31687         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31688         code changing __hst_map_handle.map.
31690 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31692         * configure.in (sysnames): Look for Implies-before and Implies-after
31693         files.
31694         * configure: Regenerated.
31696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31698         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31699         8-byte data alignment with LP_SIZE alignment.
31701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31703         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31704         into R10_LP.
31706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31708         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31712         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31713         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31714         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31715         Likewise.
31716         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31720         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31721         (stackinfo_sub_sp): Likewise.
31723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31725         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31726         RAX_LP.
31728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31730         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31731         into R*_LP.
31733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31735         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31736         sizes into R*_LP.
31738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31740         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31744         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31745         into R11_LP and load __x86_64_shared_cache_size_half into
31746         R8_LP.
31748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31750         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31751         R8_LP.
31753 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31756         logb for POWER7.
31757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31758         logbf for POWER7.
31759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31760         logbl for POWER7.
31761         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31762         powerpc32/power7/fpu/s_logb.c via #include.
31763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31764         powerpc32/power7/fpu/s_logbf.c via #include.
31765         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31766         powerpc32/power7/fpu/s_logbl.c via #include.
31768 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31770         * README.libm: Remove file.
31772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31774         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31775         count for x32.  Use R*_LP and omit operand-size suffix.
31777 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31779         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31780         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31781         * sysdeps/x86_64/x32/shlib-versions: New file.
31783 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31785         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31786         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31787         Use _dl_fatal_printf instead.
31789 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31791         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31792         set if not set by the user.  Do not allow for being unset.
31793         * sysdeps/unix/sysv/linux/configure: Regenerated.
31795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31797         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31798         the `q' suffix from lea and replace .quad with ASM_ADDR.
31800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31803         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31804         instead of $17.
31805         (PTR_DEMANGLE): Likewise.
31807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31809         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31810         (LP_OP): Likewise.
31811         (ASM_ADDR): Likewise.
31812         (RAX_LP): Likewise.
31813         (RBP_LP): Likewise.
31814         (RBX_LP): Likewise.
31815         (RCX_LP): Likewise.
31816         (RDI_LP): Likewise.
31817         (RSI_LP): Likewise.
31818         (RSP_LP): Likewise.
31819         (R8_LP): Likewise.
31820         (R9_LP): Likewise.
31821         (R10_LP): Likewise.
31822         (R10_LP): Likewise.
31823         (R11_LP): Likewise.
31824         (R12_LP): Likewise.
31825         (R13_LP): Likewise.
31826         (R14_LP): Likewise.
31827         (R15_LP): Likewise.
31829 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31831         * sysdeps/x86_64/x32/dl-machine.h: New file.
31833 2012-05-14  Andreas Jaeger  <aj@suse.de>
31835         * manual/Makefile (subdir): Remove export of subdir.
31836         (all): Remove target.
31837         (.PHONY): Remove all from list.
31838         (mkinstalldirs): Remove.
31839         (.PHONY): Remove installdirs from list.
31840         ($(inst_infodir)/libc.info): Use make-target-directory.
31841         (installdirs): Remove.
31842         (subdir_%): Remove.
31843         (glibc-targets): Remove.
31844         (lib): Remove.
31845         (stubs): Remove.
31846         ($(objpfx)stubs ../po/manual.pot): Remove.
31847         ($(objpfx)stamp%): Remove.
31848         (make-target-directory): Remove.
31849         (subdir_install): Remove.
31850         (routines): Remove.
31851         (aux): Remove.
31852         (sources): Remove.
31853         (objects): Remove.
31854         (headers): Remove.
31856         [BZ #13750]
31857         * manual/.gitignore: Remove, it's not needed anymore.
31858         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31859         all files in it.
31860         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31861         directory.
31862         (texis): Renamed to $(objpfx)texis.
31863         (texis-path): New, contains path to generated files.
31864         (chapters.%): Use texis-path for complete path, add extra argument
31865         libc-texinfo.sh.
31866         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31867         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31868         (summary,texi, stamp-summary): Use complete path of
31869         files. Generate files in build dir.
31870         (dir-add.texi): Build in build dir.
31871         (libm-err.texi,stamp-libm-err): Likewise.
31872         (version.texi, stamp-version): Likewise.
31873         (.%c.texi): Likewise.
31874         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31875         (mostlyclean): Remove target.
31876         (realclean): Remove target.
31877         (generated): Add new variable with contents from mostlyclean and
31878         realclean, remove entries duplicated in common-mostlyclean, add
31879         stamp-libm-err and stamp-version.
31880         (generated-dirs): Add libc directory.
31881         ($(inst_infodir)/libc.info): Install files from build dir.
31883         * manual/install.texi (Configuring and compiling): Adjust since
31884         the info files are not part of the tar ball anymore.
31886 2012-05-14  Andreas Jaeger  <aj@suse.de>
31888         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31889         variable.
31891 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31893         [BZ #13717]
31894         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31895         to 2.2.0 where earlier.
31896         * sysdeps/unix/sysv/linux/configure: Regenerated.
31897         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31898         Remove conditional code.
31899         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31900         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31901         Remove conditional code.
31902         [!__NR_lchown]: Likewise.
31903         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31904         [__NR_lchown]: Likewise.
31905         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31906         comment referencing __ASSUME_LCHOWN_SYSCALL.
31907         * sysdeps/unix/sysv/linux/i386/sigaction.c
31908         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31909         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31910         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31911         Remove conditional code.
31912         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31913         (__protocol_available): Remove #if 0 code.
31914         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31915         conditional code.
31916         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31917         * sysdeps/unix/sysv/linux/kernel-features.h
31918         (__ASSUME_GETCWD_SYSCALL): Don't define.
31919         (__ASSUME_REALTIME_SIGNALS): Likewise.
31920         (__ASSUME_PREAD_SYSCALL): Likewise.
31921         (__ASSUME_PWRITE_SYSCALL): Likewise.
31922         (__ASSUME_POLL_SYSCALL): Likewise.
31923         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31924         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31925         non-SPARC.
31926         (__ASSUME_SIOCGIFNAME): Don't define.
31927         (__ASSUME_MSG_NOSIGNAL): Likewise.
31928         (__ASSUME_SENDFILE): Define unconditionally.
31929         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31930         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31931         conditional code.
31932         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31933         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31934         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31935         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31936         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31937         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31938         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31940         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31943         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31946         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31947         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31949         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31950         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31952         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31953         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31955         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31956         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31958         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31959         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31961         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31963         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31964         Remove conditional code.
31965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31966         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31967         Remove conditional code.
31968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31969         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31970         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31971         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31972         Remove conditional code.
31973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31974         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31975         Remove conditional code.
31976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31977         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31978         Remove conditional code.
31979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31980         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31981         Remove conditional code.
31982         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31983         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31984         Remove conditional code.
31985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31986         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31987         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31988         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31989         * sysdeps/unix/sysv/linux/sigaction.c
31990         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31991         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31992         * sysdeps/unix/sysv/linux/sigpending.c
31993         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31994         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31995         * sysdeps/unix/sysv/linux/sigprocmask.c
31996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31998         * sysdeps/unix/sysv/linux/sigsuspend.c
31999         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32000         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32001         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32002         (__libc_missing_rt_sigs): Remove.
32003         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32004         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32005         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32006         Remove conditional code.
32007         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32008         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32009         return 1.
32010         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32011         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32012         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32013         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32015 2012-05-14  Andreas Jaeger  <aj@suse.de>
32017         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32018         it's not used in glibc.
32019         (__coshm1): Likewise.
32020         (__acosh1p): Likewise.
32021         (__sgn): Likewise.
32023         * manual/string.texi (Copying and Concatenation): Add missing
32024         variable in concat example.
32025         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32029         [BZ #14103]
32030         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32031         __builtin_clzl with __builtin_clzll.
32033 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32035         [BZ #14104]
32036         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32037         libc_freeres_ptr.
32039 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32041         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32042         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32043         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32044         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32046 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32048         * NEWS: Update ia64 info.
32050 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32052         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32053         used as bcopy.
32055 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32057         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32058         * sysdeps/unix/syscalls.list (dup3): Likewise.
32059         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32060         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32062 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32064         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32065         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32067 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32069         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32070         thread pointer.
32071         (TLS_IE): Use mov/add instead of movq/addq to load thread
32072         pointer.
32073         (TLS_GD_PREFIX): New.
32074         (TLS_GD): Use it.
32076 2012-05-11  David S. Miller  <davem@davemloft.net>
32078         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32079         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32080         (_FPU_SETCW): Likewise.
32082 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32084         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32085         is 32-byte aligned.
32087 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32089         [BZ #11837]
32090         * iconvdata/gb18030.c: Update tables.
32091         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32092         characters specially.
32093         (BODY for TO_LOOP): Add encoding of missing ranges.
32095 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32097         [BZ #13673]
32098         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32099         * sysdeps/mach/hurd/dup3.c: Likewise.
32100         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32101         * sysdeps/powerpc/memmove.c:: Likewise.
32103 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32106         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32108 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32110         * elf/elf.h (R_X86_64_RELATIVE64): New.
32111         (R_X86_64_NUM): Updated.
32112         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32113         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32114         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32115         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32116         tst-quad1pie tst-quad2pie
32117         (modules-names): Add tst-quadmod1 tst-quadmod2.
32118         ($(objpfx)tst-quad1): New dependency.
32119         ($(objpfx)tst-quad2): Likewise.
32120         ($(objpfx)tst-quad1pie): Likewise.
32121         ($(objpfx)tst-quad2pie): Likewise.
32122         * sysdeps/x86_64/tst-quad1.c: New file.
32123         * sysdeps/x86_64/tst-quad1pie.c: New file.
32124         * sysdeps/x86_64/tst-quad2.c: Likewise.
32125         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32126         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32127         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32128         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32129         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32133         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32134         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32135         * streams/stropts.h (t_scalar_t): Define type.
32137         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32138         (_PATH_PRESERVE): Set to "/var/lib".
32139         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32141         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32142         instead of int.
32144         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32145         if __dir_mkfile succeeded.
32147         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32148         checking for _hurd_dtablesize.  Unlock it right after having
32149         finished _hurd_dtable allocation.
32151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32153         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32154         * sysdeps/mach/hurd/configure: Regenerated.
32155         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32156         special-casing to...
32157         * sysdeps/gnu/configure.in: ... this new file.
32158         * sysdeps/unix/sysv/linux/configure: Regenerated.
32159         * sysdeps/gnu/configure: New generated file.
32161         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32162         for Linux: use nsec instead of usec, as well as:
32163         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32164         members of type struct timespec.
32165         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32166         New macros.
32167         (struct stat64): Likewise.
32168         (_STATBUF_ST_NSEC): New macro.
32169         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32171         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32172         __strtoul_internal rather than strtoul.
32174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32176         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32177         and reject them.
32179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32181         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32182         which preserves existing values.
32183         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32185 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32187         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32188         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32189         greater than FD_SETSIZE.
32191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32193         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32194         allocated, call __vm_protect to finish enabling the existing space, and
32195         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32196         allocate the remainder.
32198 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32200         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32201         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32205         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32206         sysdeps/mach/hurd/readlink.c.
32208         * posix/tst-sysconf.c (posix_options): Only use
32209         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32210         _POSIX_SYNCHRONIZED_IO when they are defined
32211         * sysdeps/mach/hurd/bits/posix_opt.h:
32212         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32213         (_XOPEN_REALTIME): Undefine macro.
32214         (_XOPEN_REALTIME_THREADS): Undefine macro.
32215         (_XOPEN_SHM): Undefine macro.
32216         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32217         macro to -1.
32218         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32219         macro to -1.
32220         (_POSIX_ASYNC_IO): Undefine macro.
32221         (_POSIX_PRIORITIZED_IO): Undefine macro.
32222         (_POSIX_SPIN_LOCKS): Define macro to -1.
32224         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32225         SA_NODEFER, SA_RESETHAND.
32226         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32227         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32228         F_DUPFD_CLOEXEC.
32230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32232         * elf/Makefile (pldd-modules): Define unconditionally.
32234 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32236         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32240         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32241         Return ENOENT when name is empty.
32242         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32246         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32248         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32252         Fix mlock in all cases except non-readable pages.
32253         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32254         instead of VM_PROT_ALL as parameter to __vm_wire function.
32256         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32257         (__mkdir): When path is `/', just fail with EEXIST.
32258         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32262         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32263         <sys/uio.h> (for writev).
32264         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32265         and <sys/param.h> (for MIN).
32267 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32269         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32270         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32271         if interrupted.
32273 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32275         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32276         Depend on against $(link-rpcuserlibs).
32278 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32280         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32281         (__libc_stack_end): Do not use attribute_relro.
32282         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32283         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32284         to libthread-provided value.
32285         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32286         attribute_relro.
32288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32290         [BZ #3748]
32291         * bits/libc-lock.h (__libc_once_get): New macro.
32292         * sysdeps/mach/bits/libc-lock.h: Likewise.
32293         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32294         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32295         instead of using implementation details.
32297         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32298         * libio/freopen.c: Likewise.
32299         * libio/freopen64.c: Likewise.
32300         * misc/syslog.c: Likewise.
32301         * nscd/connections.c: Likewise.
32302         * nscd/netgroupcache.c: Likewise.
32303         * sysdeps/posix/getcwd.c: Likewise.
32305 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32307         * math/w_ilogbf.c: Add #include <limits.h>.
32309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32311         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32312         path instead of returning without unlocking.
32314         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32315         immediate-write ioctls.
32316         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32320         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32321         __builtin_frame_address instead of making assumptions about the
32322         location of the return address relative to DATA.  Force early load of
32323         the return address.
32324         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32325         __builtin_frame_address.
32327         dup3 for GNU Hurd.
32328         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32329         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32330         implement dup3 and do some further code clean-ups.
32331         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32332         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32336         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32338         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32339         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32340         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32341         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32342         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32343         d->port.lock.
32345         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32346         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32347         when handler == SIG_ERR, not when handler != SIG_ERR.
32349 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32351         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32352         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32353         definitions.
32355         accept4 for GNU Hurd.
32356         * include/sys/socket.h (__libc_accept4): New prototype.
32357         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32358         to implement __libc_accept4.
32359         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32360         __libc_accept4.
32361         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32363         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32364         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32365         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32366         signal-defines.sym.
32368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32370         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32374         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32375         assertion on O_CLOEXEC flag.
32376         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32377         * hurd/intern-fd.c: Likewise.
32378         * hurd/port2fd.c: Likewise.
32380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32382         [BZ #3906]
32383         * bits/in.h (IPV6_PKTINFO): Define new macro.
32384         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32386 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32388         [BZ #13954]
32389         [BZ #13955]
32390         [BZ #13956]
32391         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32393         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32394         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32396         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32397         * math/libm-test.inc (logb_test) : Additional logb tests.
32399 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32400             Andreas Jaeger  <aj@suse.de>
32402         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32403         * configure: Regenerated.
32404         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32405         * config.make.in (link-obsolete-rpc): New substituted variable.
32406         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32407         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32408         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32409         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32410         so that libc.a contains the symbols.
32411         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32412         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32413         * sunrpc/auth_none.c: Likewise.
32414         * sunrpc/auth_unix.c: Likewise.
32415         * sunrpc/authdes_prot.c: Likewise.
32416         * sunrpc/authuxprot.c: Likewise.
32417         * sunrpc/clnt_gen.c: Likewise.
32418         * sunrpc/clnt_perr.c: Likewise.
32419         * sunrpc/clnt_raw.c: Likewise.
32420         * sunrpc/clnt_simp.c: Likewise.
32421         * sunrpc/clnt_tcp.c: Likewise.
32422         * sunrpc/clnt_udp.c: Likewise.
32423         * sunrpc/clnt_unix.c: Likewise.
32424         * sunrpc/des_crypt.c: Likewise.
32425         * sunrpc/des_soft.c: Likewise.
32426         * sunrpc/get_myaddr.c: Likewise.
32427         * sunrpc/key_call.c: Likewise.
32428         * sunrpc/key_prot.c: Likewise.
32429         * sunrpc/netname.c: Likewise.
32430         * sunrpc/pm_getmaps.c: Likewise.
32431         * sunrpc/pm_getport.c: Likewise.
32432         * sunrpc/pmap_clnt.c: Likewise.
32433         * sunrpc/pmap_prot.c: Likewise.
32434         * sunrpc/pmap_prot2.c: Likewise.
32435         * sunrpc/pmap_rmt.c: Likewise.
32436         * sunrpc/publickey.c: Likewise.
32437         * sunrpc/rpc_cmsg.c: Likewise.
32438         * sunrpc/rpc_common.c: Likewise.
32439         * sunrpc/rpc_dtable.c: Likewise.
32440         * sunrpc/rpc_prot.c: Likewise.
32441         * sunrpc/rpc_thread.c: Likewise.
32442         * sunrpc/rtime.c: Likewise.
32443         * sunrpc/svc.c: Likewise.
32444         * sunrpc/svc_auth.c: Likewise.
32445         * sunrpc/svc_raw.c: Likewise.
32446         * sunrpc/svc_run.c: Likewise.
32447         * sunrpc/svc_tcp.c: Likewise.
32448         * sunrpc/svc_udp.c: Likewise.
32449         * sunrpc/svc_unix.c: Likewise.
32450         * sunrpc/svcauth_des.c: Likewise.
32451         * sunrpc/xcrypt.c: Likewise.
32452         * sunrpc/xdr.c: Likewise.
32453         * sunrpc/xdr_array.c: Likewise.
32454         * sunrpc/xdr_float.c: Likewise.
32455         * sunrpc/xdr_intXX_t.c: Likewise.
32456         * sunrpc/xdr_mem.c: Likewise.
32457         * sunrpc/xdr_rec.c: Likewise.
32458         * sunrpc/xdr_ref.c: Likewise.
32459         * sunrpc/xdr_sizeof.c: Likewise.
32460         * sunrpc/xdr_stdio.c: Likewise.
32462 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32465         change.  Update copyright years.
32467 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32469         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32471 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32472             Joseph Myers  <joseph@codesourcery.com>
32473             Paul Pluzhnikov  <ppluzhnikov@google.com>
32475         [BZ #14012]
32476         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32477         requiring rpcgen.
32478         [cross-compiling] (extra-libs): Likewise.
32479         [cross-compiling] (extra-libs-others): Likewise.
32480         [cross-compiling] (librpcsvc-routines): Likewise.
32481         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32482         [cross-compiling] (omit-deps): Likewise.
32483         (sunrpc-CPPFLAGS): New variable.
32484         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32485         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32486         (cross-rpcgen-objs): New variable.
32487         (extra-objs): Append $(cross-rpcgen-objs).
32488         ($(cross-rpcgen-objs)): New rule.
32489         ($(objpfx)cross-rpcgen): Likewise.
32490         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32491         comment.
32492         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32493         ($(objpfx)x%.stmp): Likewise.
32494         * sunrpc/proto.h [IS_IN_build] (_): Define.
32495         [IS_IN_build] (_libc_intl_domainname): Likewise.
32497 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32499         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32500         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32501         and R_X86_64_TPOFF64.
32503 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32505         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32506         sysdeps/unix/sysv/syscalls.list.
32507         (stime): Likewise.
32508         (utime): Likewise.
32509         * sysdeps/unix/sysv/syscalls.list: Remove file.
32511 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32513         [BZ #3440]
32514         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32515         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32516         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32517         (__LC_IDENTIFICATION): Make these macros useful in #if
32518         expressions, as required by C99.
32520 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32522         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32523         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32524         after this.
32526 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32528         * stdlib/longlong.h: Updated from GCC.
32530 2012-05-09  Andreas Jaeger  <aj@suse.de>
32532         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32533         default is first entry.
32534         (run_mode): Set type.
32535         (main): Remove informal message about syslog.
32536         (options): Fix typo.
32538         [BZ #14053]
32539         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32540         to asm.
32541         (lrint): Likewise.
32542         (llrintf): Likewise.
32543         (llrint): Likewise.
32544         (rint): Likewise.
32545         (rintf): Likewise.
32546         (nearbyint): Likewise.
32547         (nearbyintf): Likewise.
32549 2012-05-09  Andreas Jaeger  <aj@suse.de>
32550             Pedro Alves  <palves@redhat.com>
32552         * nscd/nscd.c (run_mode): Use enum.
32553         (main): Cleanup coding style issue.
32555 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32556             Andreas Jaeger  <aj@suse.de>
32558         * nscd/nscd.c (go_background): Replaced with...
32559         (run_mode): ... this.
32560         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32561         (options): Add -F --foreground.
32562         (main): Implement it.
32563         (parse_opt): Parse it.
32565 2012-05-09  Andreas Jaeger  <aj@suse.de>
32567         [BZ #14083]
32568         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32569         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32570         -Wconversion warning.
32571         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32572         Likewise.
32574 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32576         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32577         == 0.
32578         (LC_ALL): Use macro-int-constant.
32579         (LC_COLLATE): Likewise.
32580         (LC_CTYPE): Likewise.
32581         (LC_MESSAGES): Likewise.
32582         (LC_MONETARY): Likewise.
32583         (LC_NUMERIC): Likewise.
32584         (LC_TIME): Likewise.
32585         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32586         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32587         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32588         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32589         Specify type.
32590         [C99-based standards] (float_t): Expect type.
32591         [C99-based standards] (double_t): Expect type.
32592         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32593         type.
32594         [C99-based standards] (HUGE_VALL): Likewise.
32595         [C99-based standards] (INFINITY): Likewise.
32596         [C99-based standards] (NAN): Likewise.
32597         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32598         [C99-based standards] (FP_NAN): Likewise.
32599         [C99-based standards] (FP_NORMAL): Likewise.
32600         [C99-based standards] (FP_SUBNORMAL): Likewise.
32601         [C99-based standards] (FP_ZERO): Likewise.
32602         [C99-based standards] (FP_FAST_FMA): Use
32603         optional-macro-int-constant.  Specify type.  Require == 1.
32604         [C99-based standards] (FP_FAST_FMAF): Likewise.
32605         [C99-based standards] (FP_FAST_FMAL): Likewise.
32606         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32607         [C99-based standards] (FP_ILOGBNAN): Likewise.
32608         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32609         Specify type.
32610         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32611         [C99-based standards] (math_errhandling): Specify type.
32612         [ISO99 || ISO11] (signgam): Do not allow.
32613         [non-C99-based standards] (copysignf): Do not allow.
32614         [non-C99-based standards] (exp2f): Likewise.
32615         [non-C99-based standards] (log2f): Likewise.
32616         [non-C99-based standards] (modff): Allow.
32617         [non-C99-based standards] (erff): Do not allow.
32618         [non-C99-based standards] (erfcf): Likewise.
32619         [non-C99-based standards] (gammaf): Likewise.
32620         [non-C99-based standards] (hypotf): Likewise.
32621         [non-C99-based standards] (j0f): Likewise.
32622         [non-C99-based standards] (j1f): Likewise.
32623         [non-C99-based standards] (jnf): Likewise.
32624         [non-C99-based standards] (lgammaf): Likewise.
32625         [non-C99-based standards] (tgammaf): Likewise.
32626         [non-C99-based standards] (y0f): Likewise.
32627         [non-C99-based standards] (y1f): Likewise.
32628         [non-C99-based standards] (ynf): Likewise.
32629         [non-C99-based standards] (isnanf): Likewise.
32630         [non-C99-based standards] (acoshf): Likewise.
32631         [non-C99-based standards] (asinhf): Likewise.
32632         [non-C99-based standards] (atanhf): Likewise.
32633         [non-C99-based standards] (cbrtf): Likewise.
32634         [non-C99-based standards] (expm1f): Likewise.
32635         [non-C99-based standards] (ilogbf): Likewise.
32636         [non-C99-based standards] (log1pf): Likewise.
32637         [non-C99-based standards] (logbf): Likewise.
32638         [non-C99-based standards] (nextafterf): Likewise.
32639         [non-C99-based standards] (remainderf): Likewise.
32640         [non-C99-based standards] (rintf): Likewise.
32641         [non-C99-based standards] (scalbf): Likewise.
32642         [non-C99-based standards] (copysignl): Likewise.
32643         [non-C99-based standards] (exp2l): Likewise.
32644         [non-C99-based standards] (log2l): Likewise.
32645         [non-C99-based standards] (modfl): Allow.
32646         [non-C99-based standards] (erfl): Do not allow.
32647         [non-C99-based standards] (erfcl): Likewise.
32648         [non-C99-based standards] (gammal): Likewise.
32649         [non-C99-based standards] (hypotl): Likewise.
32650         [non-C99-based standards] (j0l): Likewise.
32651         [non-C99-based standards] (j1l): Likewise.
32652         [non-C99-based standards] (jnl): Likewise.
32653         [non-C99-based standards] (lgammal): Likewise.
32654         [non-C99-based standards] (tgammal): Likewise.
32655         [non-C99-based standards] (y0l): Likewise.
32656         [non-C99-based standards] (y1l): Likewise.
32657         [non-C99-based standards] (ynl): Likewise.
32658         [non-C99-based standards] (isnanl): Likewise.
32659         [non-C99-based standards] (acoshl): Likewise.
32660         [non-C99-based standards] (asinhl): Likewise.
32661         [non-C99-based standards] (atanhl): Likewise.
32662         [non-C99-based standards] (cbrtl): Likewise.
32663         [non-C99-based standards] (expm1l): Likewise.
32664         [non-C99-based standards] (ilogbl): Likewise.
32665         [non-C99-based standards] (log1pl): Likewise.
32666         [non-C99-based standards] (logbl): Likewise.
32667         [non-C99-based standards] (nextafterl): Likewise.
32668         [non-C99-based standards] (remainderl): Likewise.
32669         [non-C99-based standards] (rintl): Likewise.
32670         [non-C99-based standards] (scalbl): Likewise.
32671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32672         [non-C99-based standards] (FP_*): Do not allow.
32673         [C99-based standards] (FP_*): Change to
32674         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32675         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32676         allow.
32677         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32678         (SIG_ERR): Likewise.
32679         [X/Open-based standards] (SIG_HOLD): Likewise.
32680         (SIG_IGN): Likewise.
32681         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32682         positive value.
32683         (SIGFPE): Likewise.
32684         (SIGILL): Likewise.
32685         (SIGINT): Likewise.
32686         (SIGSEGV): Likewise.
32687         (SIGTER): Likewise.
32688         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32689         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32690         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32691         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32692         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32693         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32694         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32695         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32696         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32697         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32698         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32699         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32700         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32701         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32702         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32703         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32704         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32705         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32706         [X/Open-based standards] (SIGTRAP): Likewise.
32707         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32708         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32709         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32710         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32711         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32712         allow.
32714 2012-05-08  Ian Wienand  <ianw@vmware.com>
32716         [BZ #14080]
32717         * time/tzset.c (__tzset_parse_tz): Update default rules for
32718         daylight time changes in the Energy Policy Act of 2005.
32720 2012-05-09  Andreas Jaeger  <aj@suse.de>
32722         [BZ #13983]
32723         * elf/ldconfig.c (parse_conf): Change string to make clear that
32724         ldconfig only issued a warning if ld.so.conf does not exist.
32726 2012-05-08  David S. Miller  <davem@davemloft.net>
32728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32729         movxtod instead of popping the value on the stack.
32731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32733 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32735         * config.h.in: Add HAVE_ARM_PCS_VFP.
32737 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32739         [BZ #13979]
32740         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32741         checking but the checks are disabled for any reason.
32743 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32745         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32746         and ELF64_R_TYPE with ELFW(R_TYPE).
32748 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32750         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32751         (ulimit): Likewise.
32753         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32754         (settimeofday): Likewise.
32756 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32758         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32759         a struct th_u2 inside the union, and move tu_block/tu_code into
32760         a new th_u3 union of tu_block/tu_code inside of that.  Move
32761         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32762         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32763         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32764         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32765         (th_stuff): Change to th_u1.tu_stuff.
32766         (th_data): Define.
32767         (th_msg): Change to th_u1.th_u2.tu_data.
32769 2012-05-07  David S. Miller  <davem@davemloft.net>
32771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32773         [BZ #14074]
32774         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32775         (SETUP_PIC_REG): Use it.
32776         (SETUP_PIC_REG_LEAF): Use it.
32778 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32780         [BZ #13885]
32781         [BZ #13923]
32782         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32783         USE_AS_EXPM1L.
32784         (EXPL_FINITE): Likewise.
32785         (FLDLOG): Likewise.
32786         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32787         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32788         e_expl.S.
32789         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32790         USE_AS_EXPM1L.
32791         (EXPL_FINITE): Likewise.
32792         (FLDLOG): Likewise.
32793         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32794         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32795         e_expl.S.
32796         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32797         test of -max_value argument for long double.
32798         * sysdeps/i386/fpu/libm-test-ulps: Update.
32799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32801 2012-05-06  David S. Miller  <davem@davemloft.net>
32803         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32804         quad soft-float symbols whose references which are compiler
32805         generated.
32806         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32808 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32810         [BZ #13884]
32811         [BZ #13914]
32812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32813         USE_AS_EXP10L.
32814         (EXPL_FINITE): Likewise.
32815         (FLDLOG): Likewise.
32816         (c0): Likewise.
32817         (c1): Likewise.
32818         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32819         Adjust comments for base varying.
32820         (__expl_finite): Change alias to EXPL_FINITE.
32821         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32822         e_expl.S.
32823         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32824         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32825         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32826         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32827         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32828         USE_AS_EXP10L.
32829         (EXPL_FINITE): Likewise.
32830         (FLDLOG): Likewise.
32831         (c0): Likewise.
32832         (c1): Likewise.
32833         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32834         Adjust comments for base varying.
32835         (__expl_finite): Change alias to EXPL_FINITE.
32836         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32837         tests for bugs.
32838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32840         [BZ #14064]
32841         * math/libm-test.inc (check_float_internal): Correct ulp
32842         calculation for subnormal expected results.
32844 2012-05-06  Andreas Jaeger  <aj@suse.de>
32846         * Makeconfig (+math-flags): New, set to -frounding-math.
32847         (+cflags): Add +math-flags so that all of glibc gets compiled with
32848         it.
32850         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32852 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32854         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32855         Disable one test.
32857         [BZ #13787]
32858         [BZ #13922]
32859         [BZ #14036]
32860         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32861         (__ieee754_expl): Allow for and saturate large arguments.
32862         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32863         (u_threshold): Likewise.
32864         (__exp): Call __ieee754_exp before checking for overflow and
32865         underflow.
32866         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32867         (u_threshold): Likewise.
32868         (__expf): Call __ieee754_expf before checking for overflow and
32869         underflow.
32870         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32871         (u_threshold): Likewise.
32872         (__expl): Call __ieee754_expl before checking for overflow and
32873         underflow.
32874         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32875         (__ieee754_expl): Allow for and saturate large arguments.
32876         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32877         missing overflow exception on overflow.
32878         (expm1_test): Do not allow missing overflow exception on overflow.
32880         * sysdeps/i386/fpu/e_expl.c: Move to ...
32881         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32882         rather than using inline asm.
32883         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32884         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32885         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32887         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32888         (nice): Likewise.
32889         (poll): Likewise.
32890         (signal): Likewise.
32891         (time): Likewise.
32892         (times): Likewise.
32894 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32896         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32897         sysdeps/unix/common/syscalls.list.
32898         (fchmod): Likewise.
32899         (fchown): Likewise.
32900         (ftruncate): Likewise.
32901         (getrusage): Likewise.
32902         (gettimeofday): Likewise.
32903         (setpgid): Likewise.
32904         (setregid): Likewise.
32905         (setreuid): Likewise.
32906         (sigaction): Likewise.
32907         (truncate): Likewise.
32908         (vhangup): Likewise.
32909         * sysdeps/unix/common/syscalls.list: Remove file.
32910         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32911         * sysdeps/unix/sysv/linux/Implies: Likewise.
32913 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32915         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32917         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32918         Moved to ...
32919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32920         Here.
32921         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32922         to ...
32923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32924         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32925         to ...
32926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32927         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32928         to ...
32929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32930         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32931         to ...
32932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32933         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32934         to ...
32935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32936         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32937         to ...
32938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32939         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32940         to ...
32941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32942         Here.
32943         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32944         to ...
32945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32946         Here.
32947         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32948         to ...
32949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32950         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32951         Moved to ...
32952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32953         Here.
32954         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32955         to ...
32956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32958 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32960         * sysdeps/unix/common/bits/dirent.h: Remove file.
32961         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32963         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32964         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32965         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32966         * sysdeps/unix/bsd/isatty.c: Likewise.
32967         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32968         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32969         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32971 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32973         [BZ #13563]
32974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32975         long double comparison inaccuracies.
32976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32979 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32981         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32982         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32984 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32986         [BZ #14049]
32987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32988         nonzero digits before rounding a hex value.
32989         * stdlib/tst-strtod.c (tests): Add another test.
32991 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32993         * sysdeps/s390/fpu/libm-test-ulps: Update.
32995 2012-05-03  Andreas Jaeger  <aj@suse.de>
32997         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32998         does not get optimized out.
32999         (malloc_opt_barrier): New.
33001 2012-05-03  Andreas Jaeger  <aj@suse.de>
33002             Roland McGrath  <roland@hack.frob.com>
33004         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33005         intermediate file deletion.
33006         (generated): Add .symlist files.
33008 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33010         [BZ #13775]
33011         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33012         Redirect under this condition.
33013         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33014         [__USE_GNU] (__dprintf_chk): Not under this condition.
33015         [__USE_GNU] (__vdprintf_chk): Likewise.
33016         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33017         under this condition.
33018         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33019         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33020         [__USE_XOPEN2K8] (vdprintf): Likewise.
33021         [__USE_GNU] (__dprintf_chk): Not under this condition.
33022         [__USE_GNU] (__vdprintf_chk): Likewise.
33023         [__USE_GNU] (dprintf): Likewise.
33024         [__USE_GNU] (vdprintf): Likewise.
33026 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33028         * elf/Makefile (common-generated): Set this instead of generated for
33029         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33030         $(all-built-dso)-derived lists.
33032 2012-05-03  Andreas Jaeger  <aj@suse.de>
33034         * sysdeps/i386/fpu/libm-test-ulps: Update.
33036         * FAQ: Removed.
33037         * FAQ.in: Likewise.
33038         * scripts/gen-FAQ.pl: Likewise.
33039         * manual/install.texi (Installation): Point to online location of
33040         FAQ.
33041         * Makefile (files-for-dist): Remove FAQ.
33042         (FAQ): Remove.
33044 2012-05-02  Allan McRae  <allan@archlinux.org>
33046         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33047         (LDFLAGS-reldepmod5.so): Likewise.
33048         (LDFLAGS-reldep6mod1.so): Likewise.
33049         (LDFLAGS-reldep6mod4.so): Likewise.
33050         (LDFLAGS-reldep8mod3.so): Likewise.
33051         (LDFLAGS-unload4mod1.so): Likewise.
33052         (LDFLAGS-unload4mod2.so): Likewise.
33053         (LDFLAGS-tst-initorder): Likewise.
33054         (LDFLAGS-tst-initordera2.so): Likewise.
33055         (LDFLAGS-tst-initordera3.so): Likewise.
33056         (LDFLAGS-tst-initordera4.so): Likewise.
33057         (LDFLAGS-tst-initorderb2.so): Likewise.
33058         (LDFLAGS-noload): Likewise.
33059         (LDFLAGS-next): Likewise.
33060         (LDFLAGS-order2mod1.so): Likewise.
33061         (LDFLAGS-order2mod2.so): Likewise.
33062         (LDFLAGS-tst-initorder2): Likewise.
33063         (LDFLAGS-tst-initorder2a.so): Likewise.
33064         (LDFLAGS-tst-initorder2b.so): Likewise.
33065         (LDFLAGS-tst-initorder2c.so): Likewise.
33066         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33068 2012-05-02  David S. Miller  <davem@davemloft.net>
33070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33072 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33074         [BZ #14055]
33075         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33077 2012-05-02  Andreas Jaeger  <aj@suse.de>
33079         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33080         since we manipulate rounding mode.
33081         (CPPFLAGS-test-idouble.c): Likewise.
33082         (CPPFLAGS-test-ifloat.c): Likewise.
33083         (CFLAGS-test-ldouble.c): Likewise.
33084         (CFLAGS-test-double.c): Likewise.
33085         (CFLAGS-test-float.c): Likewise.
33086         (CFLAGS-test-misc.c): Likewise.
33087         (CFLAGS-test-test-fenv.c): Likewise.
33089 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33091         [BZ #2550]
33092         [BZ #2570]
33093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33094         comparisons to determine direction to adjust input.
33096 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33098         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33099         output to the target.
33101         * scripts/localplt.awk: New file.
33102         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33103         (check-localplt-CFLAGS): Variable removed.
33104         ($(all-built-dso:=.jmprel)): New static pattern rule.
33105         (generated): Add those targets.
33106         (localplt-built-dso): New variable.
33107         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33109         * elf/check-localplt.c: File removed.
33111         * scripts/check-execstack.awk: New file.
33112         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33113         (check-execstack-CFLAGS): Variable removed.
33114         ($(objpfx)check-execstack.h): Target removed.
33115         ($(objpfx)execstack-default): New target.
33116         (generated): Add that instead of check-execstack.h.
33117         ($(all-built-dso:=.phdr)): New static pattern rule.
33118         (generated): Add those targets.
33119         * elf/check-execstack.c: File removed.
33121         * scripts/check-textrel.awk: New file.
33122         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33123         (check-textrel-CFLAGS): Variable removed.
33124         (all-built-dso): Use := to define.o
33125         ($(all-built-dso:=.dyn)): New static pattern rule.
33126         (generated): Add those targets.
33127         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33128         * config.make.in (READELF): New substituted variable.
33129         * elf/check-textrel.c: File removed.
33131 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33133         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33134         allow.
33135         * conform/data/ctype.h-data [C99-based standards] (isblank):
33136         Expect function.
33137         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33138         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33139         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33140         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33141         Specify type.  Require positive value.
33142         (EILSEQ): Likewise.
33143         (ERANGE): Likewise.
33144         [ISO || POSIX] (EILSEQ): Do not expect.
33145         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33146         Specify type.  Require positive value.
33147         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33148         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33149         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33150         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33151         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33152         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33153         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33154         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33155         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33156         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33157         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33158         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33159         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33160         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33161         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33162         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33163         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33164         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33165         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33166         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33167         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33168         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33169         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33170         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33171         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33172         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33173         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33174         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33175         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33176         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33177         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33178         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33179         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33180         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33181         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33182         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33183         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33184         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33185         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33186         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33187         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33188         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33189         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33190         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33191         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33192         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33193         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33194         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33195         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33196         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33197         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33198         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33199         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33200         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33201         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33202         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33203         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33204         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33205         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33206         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33207         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33208         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33209         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33210         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33211         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33212         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33213         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33214         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33215         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33216         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33217         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33218         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33219         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33220         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33221         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33222         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33223         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33224         Require >= 2.
33225         (FLT_ROUNDS): Expect as macro, not constant.
33226         (FLT_MANT_DIG): Use macro-int-constant.
33227         (DBL_MANT_DIG): Likewise.
33228         (LDBL_MANT_DIG): Likewise.
33229         (FLT_DIG): Likewise.
33230         (DBL_DIG): Likewise.
33231         (LDBL_DIG): Likewise.
33232         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33233         (DBL_MIN_EXP): Likewise.
33234         (LDBL_MIN_EXP): Likewise.
33235         (FLT_MAX_EXP): Use macro-int-constant.
33236         (DBL_MAX_EXP): Likewise.
33237         (LDBL_MAX_EXP): Likewise.
33238         (FLT_MAX_10_EXP): Likewise.
33239         (DBL_MAX_10_EXP): Likewise.
33240         (LDBL_MAX_10_EXP): Likewise.
33241         (FLT_MAX): Use macro-constant.
33242         (DBL_MAX): Likewise.
33243         (LDBL_MAX): Likewise.
33244         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33245         (DBL_EPSILON): Likewise.
33246         (LDBL_EPSILON): Likewise.
33247         (FLT_MIN): Likewise.
33248         (DBL_MIN): Likewise.
33249         (LDBL_MIN): Likewise.
33250         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33251         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33252         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33253         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33254         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33255         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33256         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33257         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33258         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33259         [ISO11] (FLT_TRUE_MIN): Likewise.
33260         [ISO11] (LDBL_TRUE_MIN): Likewise.
33261         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33262         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33263         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33264         (SCHAR_MAX): Likewise.
33265         (UCHAR_MAX): Likewise.
33266         (CHAR_MIN): Likewise.
33267         (CHAR_MAX): Likewise.
33268         (MB_LEN_MAX): Use macro-int-constant.
33269         (SHRT_MIN): Use macro-int-constant.  Specify type.
33270         (SHRT_MAX): Likewise.
33271         (USHRT_MAX): Likewise.
33272         (INT_MAX): Likewise.
33273         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33274         bound negative.
33275         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33276         bound with "U".
33277         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33278         bound with "L".
33279         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33280         bound negative.  Suffix upper bound with "L".
33281         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33282         bound with "UL".
33283         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33284         Specify type.
33285         [C99-based standards] (LLONG_MAX): Likewise.
33286         [C99-based standards] (ULLONG_MAX): Likewise.
33287         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33288         == 0.
33289         [ISO11] (max_align_t): Require type.
33290         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33292         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33293         from $CFLAGS, without defining away __attribute__ calls.
33294         (checknamespace): Use $CFLAGS_namespace.
33296         * conform/conformtest.pl (@keywords): Only include C99 keywords
33297         for standards based on C99 or C11.
33299         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33300         Disable tests.
33301         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33302         UNIX98]: Likewise.
33304         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33305         usability of symbols in #if.
33307         * conform/conformtest.pl: If macro or constant types start
33308         "promoted:", expect the symbol to be of the following type
33309         promoted by the integer promotions.
33311         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33312         in one place.  Also handle "macro-constant".
33314         * conform/conformtest.pl: Only accept expected macro values with
33315         "==".  Parse all "macro" lines in one place.
33316         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33318         * conform/conformtest.pl: Handle braced types on "constant" lines
33319         instead of handling "typed-constant".
33320         * conform/data/signal.h-data: Use "constant" instead of
33321         "typed-constant".
33323         * conform/conformtest.pl: Handle "optional-" at start of lines in
33324         one place rather than duplicating several cases.  Handle each
33325         format of "macro" line with initial "optional-".
33327         * conform/conformtest.pl: Only accept expected constant or
33328         optional-constant values with "==".  Parse all "constant" lines in
33329         one place.  Parse all "optional-constant" lines in one place.
33330         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33331         * conform/data/fmtmsg.h-data: Likewise.
33332         * conform/data/netinet/in.h-data: Likewise.
33333         * conform/data/tar.h-data: Likewise.
33334         * conform/data/limits.h-data: Use "==" form on "constant" and
33335         "optional-constant" lines.
33337         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33338         Use -std=c99 for XOPEN2K.
33339         (@knownproblems): Remove.
33340         (newtoken): Don't check %isknown.
33342         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33343         Do not expect macro.
33344         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33345         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33346         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33347         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33348         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33349         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33350         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33351         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33352         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33353         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33354         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33355         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33356         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33357         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33358         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33359         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33360         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33361         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33362         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33363         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33364         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33365         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33366         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33367         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33368         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33369         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33370         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33371         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33372         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33373         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33374         [XPG3] (acosh): Likewise.
33375         [XPG3] (asinh): Likewise.
33376         [XPG3] (atanh): Likewise.
33377         [XPG3] (cbrt): Likewise.
33378         [XPG3] (expm1): Likewise.
33379         [XPG3] (ilogb): Likewise.
33380         [XPG3] (log1p): Likewise.
33381         [XPG3] (logb): Likewise.
33382         [XPG3] (nextafter): Likewise.
33383         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33384         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33385         [XPG3] (remainder): Likewise.
33386         [XPG3] (rint): Likewise.
33387         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33388         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33389         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33390         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33391         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33392         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33393         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33394         [UNIX98 || XOPEN2K] (scalb): Expect.
33395         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33396         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33397         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33398         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33399         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33400         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33401         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33402         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33403         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33404         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33405         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33406         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33407         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33408         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33409         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33410         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33411         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33412         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33413         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33414         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33415         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33416         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33417         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33418         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33419         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33420         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33421         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33422         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33423         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33424         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33425         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33426         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33427         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33428         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33429         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33430         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33431         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33432         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33433         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33434         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33435         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33436         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33437         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33438         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33439         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33440         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33441         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33442         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33443         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33444         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33445         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33446         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33447         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33448         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33449         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33450         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33451         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33452         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33453         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33454         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33455         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33456         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33457         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33458         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33459         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33460         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33461         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33462         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33463         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33464         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33465         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33466         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33467         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33468         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33469         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33470         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33471         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33472         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33473         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33474         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33475         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33476         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33477         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33478         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33479         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33480         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33481         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33482         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33483         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33484         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33485         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33486         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33487         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33488         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33489         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33490         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33491         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33492         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33493         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33494         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33495         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33496         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33497         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33498         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33499         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33500         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33501         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33502         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33503         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33504         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33505         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33506         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33507         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33508         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33509         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33510         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33511         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33512         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33513         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33514         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33515         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33516         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33517         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33518         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33519         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33520         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33521         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33522         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33523         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33524         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33525         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33526         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33527         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33528         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33529         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33530         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33531         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33533         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33534         _XOPEN_SOURCE_EXTENDED for XPG4.
33536         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33538         * Makeconfig (localtime): Remove variable.
33539         (inst_localtime-file): Likewise.
33541 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33544         Update.
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33546         Update.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33548         Update.
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33550         Update.
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33552         Update.
33553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33554         Update.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33556         Update.
33557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33558         Update.
33559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33560         Update.
33562 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33564         [BZ #2550]
33565         [BZ #2570]
33566         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33567         comparisons to determine direction to adjust input.
33568         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33569         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33570         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33571         Likewise.
33572         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33573         Likewise.
33574         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33575         Likewise.
33576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33578         Likewise.
33579         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33580         Likewise.
33581         * math/libm-test.inc (nexttoward_test): Add more tests.
33583 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33585         [BZ #14040]
33586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33587         in version GLIBC_2.1, not GLIBC_2.0.
33588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33589         Likewise.
33591 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33593         [BZ #13942]
33594         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33595         (1 - x) * (1 + x).
33596         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33597         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33598         * math/libm-test.inc (acos_test): Add more tests.
33599         (asin_test): Likewise.
33600         * sysdeps/i386/fpu/libm-test-ulps: Update.
33601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33603         [BZ #14034]
33604         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33605         of square root.
33606         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33607         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33608         * math/libm-test.inc (acos_test_tonearest): New function.
33609         (acos_test_towardzero): Likewise.
33610         (acos_test_downward): Likewise.
33611         (acos_test_upward): Likewise.
33612         (asin_test_tonearest): Likewise.
33613         (asin_test_towardzero): Likewise.
33614         (asin_test_downward): Likewise.
33615         (asin_test_upward): Likewise.
33616         (main): Call the new functions.
33617         * sysdeps/i386/fpu/libm-test-ulps: Update.
33618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33620         [BZ #13884]
33621         [BZ #13924]
33622         * math/e_exp10.c: Include <float.h>.
33623         (__ieee754_exp10): Handle underflow here rather than multiplying
33624         large negative argument by M_LN10.
33625         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33626         of __ieee754_expf.
33627         * math/e_exp10l.c: Include <float.h>.
33628         (__ieee754_exp10l): Handle underflow here rather than multiplying
33629         large negative argument by M_LN10l.
33630         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33631         spurious overflow exception on underflow.
33633 2012-04-29  Marek Polacek  <polacek@redhat.com>
33635         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33636         (__fortify_function): New macro.
33637         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33638         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33639         __extern_always_inline.
33640         * libio/bits/stdio2.h: Likewise.
33641         * libio/bits/stdio.h: Likewise.
33642         * string/string.h: Likewise.
33643         * string/bits/string3.h: Likewise.
33644         * include/stdio.h: Likewise.
33645         * stdlib/bits/stdlib.h: Likewise.
33646         * stdlib/stdlib.h: Likewise.
33647         * rt/bits/mqueue2.h: Likewise.
33648         * rt/mqueue.h: Likewise.
33649         * posix/bits/unistd.h: Likewise.
33650         * posix/unistd.h: Likewise.
33651         * io/bits/poll2.h: Likewise.
33652         * io/bits/fcntl2.h: Likewise.
33653         * io/fcntl.h: Likewise.
33654         * io/sys/poll.h: Likewise.
33655         * misc/bits/syslog.h: Likewise.
33656         * misc/bits/syslog-ldbl.h: Likewise.
33657         * misc/sys/syslog.h: Likewise.
33658         * socket/bits/socket2.h: Likewise.
33659         * socket/sys/socket.h: Likewise.
33660         * debug/tst-chk1.c: Likewise.
33661         * wcsmbs/bits/wchar2.h: Likewise.
33662         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33663         * wcsmbs/wchar.h: Likewise.
33665 2012-04-29  Andreas Jaeger  <aj@suse.de>
33667         * Makerules (tests): Remove enable-check-abi protection.
33668         (check-abi-warn): Remove.
33669         (check-abi-%): Remove check-abi-warn usage.
33671         * configure.in: Remove check-abi configure option.
33672         * configure: Regenerated.
33673         * config.make.in (enable-check-abi): Remove.
33675 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33677         [BZ #14033]
33678         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33679         double functions to double *_finite functions.
33681         [BZ #13941]
33682         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33683         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33684         LDBL_MIN_EXP.
33685         * stdio-common/Makefile (tests): Add tst-sprintf3.
33686         * stdio-common/tst-sprintf3.c: New file.
33688         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33689         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33691 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33693         * conform/conformtest.pl: Remove duplicate typed-constant
33694         handling.
33696 2012-04-28  David S. Miller  <davem@davemloft.net>
33698         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33699         (check-abi-%): Remove AWK script prerequisite and explicit
33700         abilist directory.
33701         (check-abi): Rewrite to just diff the symlist with the abilist.
33702         (config-tls, config-abi-config): Delete, no longer used.
33703         (update-abi-%): Remove AWK script and explicit abilist directory.
33704         (update-abi): Rewrite to simply compare and conditionally copy the
33705         symlist and the sysdep abilist file.  Remove update-abi-config
33706         checks.
33707         * abilist/ld.abilist: Remove.
33708         * abilist/libBrokenLocale.abilist: Remove.
33709         * abilist/libanl.abilist: Remove.
33710         * abilist/libcrypt.abilist: Remove.
33711         * abilist/libdl.abilist: Remove.
33712         * abilist/librt.abilist: Remove.
33713         * abilist/libthread_db.abilist: Remove.
33714         * abilist/libutil.abilist: Remove.
33715         * scripts/extract-abilist.awk: Remove.
33716         * scripts/merge-abilist.awk: Remove.
33717         * sysdeps/generic/libcidn.abilist: New file.
33718         * sysdeps/generic/libnss_compat.abilist: New file.
33719         * sysdeps/generic/libnss_db.abilist: New file.
33720         * sysdeps/generic/libnss_dns.abilist: New file.
33721         * sysdeps/generic/libnss_files.abilist: New file.
33722         * sysdeps/generic/libnss_hesiod.abilist: New file.
33723         * sysdeps/generic/libnss_nis.abilist: New file.
33724         * sysdeps/generic/libnss_nisplus.abilist: New file.
33725         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33726         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33727         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33728         file.
33729         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33730         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33731         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33732         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33733         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33734         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33735         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33736         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33737         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33738         file.
33739         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33740         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33741         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33742         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33743         file.
33744         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33745         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33746         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33747         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33748         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33749         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33750         file.
33751         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33752         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33753         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33754         file.
33755         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33757         New file.
33758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33759         New file.
33760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33761         New file.
33762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33763         New file.
33764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33765         New file.
33766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33767         New file.
33768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33769         New file.
33770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33771         New file.
33772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33773         New file.
33774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33775         New file.
33776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33777         New file.
33778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33779         New file.
33780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33781         New file.
33782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33783         file.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33785         New file.
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33787         New file.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33789         file.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33791         New file.
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33793         New file.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33795         file.
33796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33797         New file.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33799         New file.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33801         New file.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33803         New file.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33805         New file.
33806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33807         New file.
33808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33810         file.
33811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33812         New file.
33813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33814         file.
33815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33816         file.
33817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33818         file.
33819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33820         file.
33821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33822         file.
33823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33824         New file.
33825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33826         file.
33827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33828         file.
33829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33830         New file.
33831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33832         file.
33833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33835         file.
33836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33837         New file.
33838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33839         file.
33840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33841         file.
33842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33843         file.
33844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33845         file.
33846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33847         file.
33848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33849         New file.
33850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33851         file.
33852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33853         file.
33854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33855         New file.
33856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33857         file.
33858         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33859         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33860         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33861         file.
33862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33863         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33864         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33865         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33866         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33867         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33868         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33869         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33870         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33871         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33874         file.
33875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33876         New file.
33877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33878         file.
33879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33880         file.
33881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33882         file.
33883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33884         file.
33885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33886         file.
33887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33888         New file.
33889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33890         New file.
33891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33892         file.
33893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33894         New file.
33895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33896         file.
33897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33899         file.
33900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33901         New file.
33902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33903         file.
33904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33905         file.
33906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33907         file.
33908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33909         file.
33910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33911         file.
33912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33913         New file.
33914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33915         New file.
33916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33917         file.
33918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33919         New file.
33920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33921         file.
33923 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33925         * conform/conformtest.pl: Fix typo in handling typed-constant from
33926         allow-header.
33928 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33930         * README: Cut down references to pre-2.6 Linux kernels and
33931         Linuxthreads.  Update lists of configurations in libc and ports
33932         and sort alphabetically.  Say "or newer" with Linux kernel version
33933         requirements.
33935         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33937 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33939         [BZ #887]
33940         * math/libm-test.inc (logb_test_downward): New test to expose
33941         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33942         rounding mode.
33944 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33946         [BZ #14027]
33947         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33948         to be done.
33949         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33950         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33952 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33954         * sysdeps/unix/i386/brk.S: Remove file.
33955         * sysdeps/unix/i386/dl-brk.S: Likewise.
33956         * sysdeps/unix/i386/pipe.S: Likewise.
33957         * sysdeps/unix/i386/sigreturn.S: Likewise.
33958         * sysdeps/unix/i386/syscall.S: Likewise.
33959         * sysdeps/unix/i386/vfork.S: Likewise.
33960         * sysdeps/unix/i386/wait.S: Likewise.
33962         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33963         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33965         * configure.in (arm*-none*): Do not allow without
33966         --enable-hacker-mode.
33967         (netbsd*): Remove case setting base_os.
33968         (386bsd*): Likewise.
33969         (freebsd*): Likewise.
33970         (bsdi*): Likewise.
33971         (osf*): Likewise.
33972         (sunos*): Likewise.
33973         (ultrix*): Likewise.
33974         (newsos*): Likewise.
33975         (dynix*): Likewise.
33976         (*bsd*): Likewise.
33977         (sysv*): Likewise.
33978         (isc*): Likewise.
33979         (esix*): Likewise.
33980         (sco*): Likewise.
33981         (minix*): Likewise.
33982         (irix4*): Likewise.
33983         (irix6*): Likewise.
33984         (solaris[2-9]*): Likewise.
33985         (none): Likewise.
33986         * configure: Regenerated.
33988 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33990         [BZ #11521]
33991         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33992         overflow or cancellation in calculating denominator.
33993         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33994         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33995         down expression to avoid unexpected rounding in newer GCCs.
33996         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33998 2012-04-26  David S. Miller  <davem@davemloft.net>
34000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34001         long-double compat symbols.
34002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34016 2012-04-25  David S. Miller  <davem@davemloft.net>
34018         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34019         HWCAP_* values only after the memory barriers have been defined.
34020         (atomic_full_barrier): Define.
34021         (atomic_read_barrier): Define.
34022         (atomic_write_barrier): Define.
34024 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34026         * shlib-versions: Add libgcc_s version information.
34027         * sysdeps/generic/libgcc_s.h: Remove.
34028         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34029         libgcc_s.h.
34030         * sysdeps/gnu/unwind-resume.c: Likewise.
34031         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34033 2012-04-25  David S. Miller  <davem@davemloft.net>
34035         * sysdeps/unix/sparc/brk.S: Delete.
34036         * sysdeps/unix/sparc/dl-brk.S: Delete.
34037         * sysdeps/unix/sparc/pipe.S: Delete.
34038         * sysdeps/unix/sparc/sysdep.S: Delete.
34039         * sysdeps/unix/sparc/sysdep.h: Delete.
34040         * sysdeps/unix/sparc/vfork.S: Delete.
34041         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34042         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34043         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34044         (ret_ERRVAL, r0, r1, MOVE): Define.
34045         (JUMPTARGET): Remove.
34046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34047         sysdeps/unix/sparc/sysdep.h
34048         (ENTRY, END): Remove.
34049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34051 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34053         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34054         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34055         -DIS_IN_build.
34057         * timezone/README: Update upstream location and email address for
34058         tzcode and tzdata.
34059         * timezone/zdump.c: Update from tzcode 2012b.
34060         * timezone/zic.c: Likewise.
34062         * configure.in (libc_cv_as_needed): Remove test.
34063         * configure: Regenerated.
34064         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34065         conditional definition.
34066         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34067         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34068         * config.make.in (have-as-needed): Remove variable.
34070 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34071             Paul Pluzhnikov  <ppluzhnikov@google.com>
34073         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34074         strings correctly.
34076 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34078         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34079         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34080         * sysdeps/sh/strlen.S: Likewise.
34082 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34084         * sysdeps/unix/fork.S: Remove file.
34085         * sysdeps/unix/i386/fork.S: Likewise.
34086         * sysdeps/unix/sparc/fork.S: Likewise.
34088         * sysdeps/unix/system.c: Remove file.
34089         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34091         * sysdeps/unix/getegid.S: Remove file.
34092         * sysdeps/unix/geteuid.S: Likewise.
34094 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34096         * scripts/check-localplt.awk: New file.
34097         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34098         of diff.
34099         * scripts/data/localplt-generic.data: Add a comment.
34101         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34102         NODE when __dir_mkfile failed.
34103         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34104         Reported by Ludovic Courtès <ludo@gnu.org>.
34106 2012-04-24  Andreas Jaeger  <aj@suse.de>
34108         * Makerules (common-clean): Also remove gen-as-const-headers
34109         files.
34111 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34113         * Makerules (native-compile): Do not change working directory for
34114         build.  Use $(OUTPUT_OPTION) in command.
34115         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34117 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34119         [BZ #13886]
34120         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34121         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34122         * math/libm-test.inc (floor_test): Add more tests.
34123         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34125 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34127         * sysdeps/unix/getdents.c: Remove file.
34128         * sysdeps/unix/sysv/getdents.c: Likewise.
34129         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34131         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34132         sysdeps/unix/mman/syscalls.list.
34133         (mmap): Likewise.
34134         (mprotect): Likewise.
34135         (msync): Likewise.
34136         (munmap): Likewise.
34137         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34138         * sysdeps/unix/mman/syscalls.list: Remove.
34139         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34141         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34142         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34143         * configure: Regenerated.
34144         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34145         $(libgcc_s_suffix).
34146         * config.make.in (libgcc_s_suffix): Remove variable.
34148 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34150         * sysdeps/unix/sysv/gethostname.c: Move to ...
34151         * sysdeps/posix/gethostname.c: ... here.
34153         * sysdeps/unix/execve.S: Remove file.
34155         * sysdeps/unix/_exit.S: Remove file.
34157 2012-04-23  Andreas Jaeger  <aj@suse.de>
34159         [BZ #13739]
34160         * manual/Makefile: Remove make dist support, there's no
34161         need for a stand-alone documentation tar ball.
34162         (TEXI2DVI): Define always, it's not in Makeconfig.
34163         (dist): Removed.
34164         (tar-it): Removed.
34165         (edition): Removed.
34166         (glibc-doc-$(edition).tar): Removed
34167         (%.Z): Removed.
34168         (%.gz): Removed.
34169         (%.uu): Removed.
34170         (ETAGS): Remove, it's in Makeconfig.
34171         (move-if-change): Remove, it's in Makeconfig.
34173 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34175         [BZ #13970]
34176         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34177         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34178         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34179         (strtod_l, strtof_l, strtold_l): Remove __wur.
34180         It is not necessarily an error to ignore strtol's return value.
34181         One can reliably look at the stored endptr to decide whether
34182         the number had valid syntax.
34184 2012-04-21  Andreas Jaeger  <aj@suse.de>
34186         [BZ #13739]
34187         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34189 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34191         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34192         * sysdeps/unix/sysv/Versions: Remove file.
34194 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34196         [BZ #13927]
34197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34199 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34201         [BZ #7064]
34202         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34203         version from __vm86.
34205 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34207         * sysdeps/unix/common/lxstat.c: Remove file.
34208         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34210         * sysdeps/unix/sysv/Makefile: Remove file.
34212         * sysdeps/unix/sysv/direct.h: Remove file.
34214         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34215         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34216         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34217         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34218         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34219         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34220         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34222         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34224         * sysdeps/unix/xmknod.c: Remove file.
34225         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34227         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34229         * sysdeps/unix/sysv/i386/time.S: Remove file.
34231         * sysdeps/unix/fxstat.c: Remove file.
34232         * sysdeps/unix/xstat.c: Likewise.
34233         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34235         * sysdeps/unix/sysv/sigaction.c: Remove file.
34237         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34238         (sysdep_headers): Remove variable.
34239         [termio.h not in sysdep_headers] (generated): Likewise.
34240         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34241         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34242         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34243         * sysdeps/unix/sysv/tcflow.c: Likewise.
34244         * sysdeps/unix/sysv/tcflush.c: Likewise.
34245         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34246         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34247         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34248         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34249         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34251         * sysdeps/unix/siglist.c: Remove file.
34253         * sysdeps/unix/getppid.S: Remove file.
34255         * sysdeps/unix/mkdir.c: Remove file.
34256         * sysdeps/unix/rmdir.c: Likewise.
34258 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34260         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34261         ERR_MAX value.
34262         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34263         errlist-compat value.
34265 2012-04-18  David S. Miller  <davem@davemloft.net>
34267         * sysdeps/generic/memcopy.h (reg_char): Delete.
34268         * debug/strcat_chk.c: Use char, not reg_char.
34269         * debug/strcpy_chk.c: Likewise.
34270         * debug/strncat_chk.c: Likewise.
34271         * debug/strncpy_chk.c: Likewise.
34272         * string/memchr.c: Likewise.
34273         * string/memrchr.c: Likewise.
34274         * string/rawmemchr.c: Likewise.
34275         * string/strcat.c: Likewise.
34276         * string/strchr.c: Likewise.
34277         * string/strchrnul.c: Likewise.
34278         * string/strcmp.c: Likewise.
34279         * string/strcpy.c: Likewise.
34280         * string/strncat.c: Likewise.
34281         * string/strncmp.c: Likewise.
34282         * string/strncpy.c: Likewise.
34284 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34286         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34287         __builtin_memcopy is called when src and dest ranges are known to not
34288         overlap.
34290 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34292         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34293         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34294         fwd_align_merge macro call.
34295         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34296         bwd_align_merge macro call.
34297         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34299 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34301         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34302         bwd_align_merge macros.
34303         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34304         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34305         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34307 2012-04-18  David S. Miller  <davem@davemloft.net>
34309         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34311 2012-04-18  Andreas Jaeger  <aj@suse.de>
34313         [BZ# 6794]
34314         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34315         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34316         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34318         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34319         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34320         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34322         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34323         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34324         Adjust for changed ldbl-128 files.
34326         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34327         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34328         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34330 2012-04-17  David S. Miller  <davem@davemloft.net>
34332         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34334 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34336         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34337         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34338         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34339         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34340         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34341         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34343 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34345         [BZ #6794]
34346         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34347         * math/libm-test.inc: Add ilogb errno and exception tests.
34348         * math/w_ilogb.c: New file: ilogb wrapper.
34349         * math/w_ilogbf.c: New file: ilogbf wrapper.
34350         * math/w_ilogbl.c: New file: ilogbl wrapper.
34351         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34352         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34353         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34354         exception being thrown with 0.0 as argument.
34355         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34356         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34357         exception being thrown with 0.0 as argument.
34358         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34359         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34360         exception being thrown with 0.0 as argument.
34361         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34362         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34363         exception being thrown with 0.0 as argument.
34364         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34365         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34366         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34367         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34368         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34369         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34370         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34371         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34372         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34374 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34376         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34377         with altivec.
34379 2012-04-16  Marek Polacek  <polacek@redhat.com>
34381         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34383 2012-04-16  Marek Polacek  <polacek@redhat.com>
34385         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34386         operands of fdivp instruction.
34388 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34390         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34391         * elf/tst-auditmod3b.c: Likewise.
34392         * elf/tst-auditmod4b.c: Likewise.
34393         * elf/tst-auditmod5b.c: Likewise.
34394         * elf/tst-auditmod6b.c: Likewise.
34395         * elf/tst-auditmod6c.c: Likewise.
34396         * elf/tst-auditmod7b.c: Likewise.
34397         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34398         * sysdeps/x86_64/preconfigure.in: Likewise.
34399         * sysdeps/x86_64/preconfigure: Regenerated.
34401 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34403         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34404         __ILP32__.
34406 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34408         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34409         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34411 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34413         [BZ #13973]
34414         * locale/iso-639.def: Fix gl language name. Spotted by
34415         Yaron Shahrabani.
34417 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34419         [BZ #2074]
34420         * libio/libio.h (__io_write_fn): Update comment.
34422 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34424         [BZ #2074]
34425         * stdio.texi (Hook Functions): The user provided writer function
34426         is not allowed to return -1.
34428 2012-04-11  David S. Miller  <davem@davemloft.net>
34430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34432 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34434         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34435         Add a leading slash to rtkaio.
34437 2012-04-11  Jim Meyering  <meyering@redhat.com>
34439         [BZ #11959]
34440         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34441         It is not necessarily an error to ignore fwrite's return
34442         value.  One can reliably use ferror to test for errors after
34443         the fact.
34445 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34447         * bits/types.h (__snseconds_t): New type.
34448         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34450         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34451         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34452         (__SNSECONDS_T_TYPE): Likewise.
34453         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34454         (__SNSECONDS_T_TYPE): Likewise.
34455         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34456         (__SNSECONDS_T_TYPE): Likewise.
34458 2012-04-10  Andreas Jaeger  <aj@suse.de>
34460         [BZ #2636]
34461         * manual/time.texi (Processor Time): Return type of times is
34462         elapsed real time since an arbitrary point in the past.
34463         (CPU Time): Move CLK_TCK from here...
34464         (Processor Time): ...to here.  Correct description.
34465         * manual/conf.texi (Constants for Sysconf): Correct description of
34466         _SC_CLK_TCK.
34468 2012-04-10  David S. Miller  <davem@davemloft.net>
34470         [BZ #13967]
34471         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34472         where the is a gap between DT_REL(A) and DT_JMPREL.
34474 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34476         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34477         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34478         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34480 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34482         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34483         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34484         (dl_main): Handle --inhibit-cache.
34485         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34486         _dl_inhibit_cache.
34487         * elf/dl-load.c (_dl_map_object): Use it.
34488         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34490 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34492         [BZ #13872]
34493         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34494         (__ieee754_powl): Saturate large exponents rather than testing for
34495         overflow of y*log2(x).
34496         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34497         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34498         exceptions.
34500         [BZ #11521]
34501         * math/s_ctan.c: Include <float.h>.
34502         (__ctan): Avoid internal overflow or cancellation in calculating
34503         denominator.
34504         * math/s_ctanf.c: Likewise.
34505         * math/s_ctanl.c: Likewise.
34506         * math/s_ctanh.c: Likewise.
34507         * math/s_ctanhf.c: Likewise.
34508         * math/s_ctanhl.c: Likewise.
34509         * math/libm-test.inc (ctan_test): Add more tests.
34510         (ctanh_test): Likewise.
34511         * sysdeps/i386/fpu/libm-test-ulps: Update.
34512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34514 2012-04-09  Andreas Jaeger  <aj@suse.de>
34516         [BZ #6894]
34517         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34518         is an optional BSD extension.
34520         [BZ #10254]
34521         * manual/stdio.texi (Opening Streams): Document additional fopen
34522         parameters.
34524 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34526         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34527         %eax without telling the compiler.
34529 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34531         [BZ # 13963]
34532         * manual/install.texi: Use sourceware.org.
34534 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34536         [BZ #13873]
34537         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34538         (__ieee754_pow): Generate overflow and underflow using huge*huge
34539         and tiny*tiny rather than just returning constant infinity or zero
34540         for large exponents.
34541         * math/libm-test.inc (pow_test): Require overflow exceptions for
34542         applicable cases of large exponents.
34544         [BZ #706]
34545         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34546         (__ieee754_pow): Use iterative multiplication algorithm only for
34547         integer exponents with absolute value below 1024.  Check for odd
34548         integer exponents when using algorithm for real exponents.
34549         * math/libm-test.inc (pow_test): Add more tests.
34550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34552 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34554         [BZ #13705]
34555         * math/libm-test.inc (exp_test): Do not allow overflow exception
34556         on underflow test.
34558 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34560         [BZ #13705]
34561         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34562         instead of __kernel_standard_f.
34564 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34566         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34567         * sysdeps/x86_64/memset_chk.S: Likewise.
34569 2012-04-08  Andreas Jaeger  <aj@suse.de>
34571         [BZ #10153]
34572         * manual/startup.texi (Environment Access): Describe return value
34573         for putenv and setenv.
34575         [BZ #6895]
34576         * manual/filesys.texi (Directory Entries): Add description for
34577         DT_LNK.
34579         [BZ #6890]
34580         * manual/filesys.texi (Directory Entries): Clarify that it's file
34581         system not operating system in the description of DT_UNKNOWN.
34583         [BZ #6578]
34584         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34586 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34588         [BZ #6649]
34589         * manual/llio.texi (Opening and Closing Files): Add cross
34590         reference to explain mode argument.
34592 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34594         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34595         * sysdeps/x86_64/memset_chk.S: Likewise.
34597 2012-04-07  David S. Miller  <davem@davemloft.net>
34599         * elf/elf.h (R_SPARC_WDISP10): Define.
34600         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34601         R_SPARC_SIZE32.
34602         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34603         R_SPARC_SIZE64 and R_SPARC_H34.
34605 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34607         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34608         conditions and remove no longer applicable assertion.
34610 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34612         * bits/byteswap.h: Include <features.h>.
34613         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34614         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34616 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34618         * bits/byteswap.h (__bswap_16): Removed.
34619         Include <bits/byteswap-16.h> to get __bswap_16.
34620         * sysdeps/i386/bits/byteswap.h: Likewise.
34621         * sysdeps/s390/bits/byteswap.h: Likewise.
34622         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34623         * bits/byteswap-16.h: New file.
34624         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34625         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34626         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34627         * string/Makefile (headers): Add bits/byteswap-16.h.
34629 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34631         [BZ #13895]
34632         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34633         extra indirection.
34634         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34635         * nss/tst-nss-static.c: New.
34637 2012-04-06  Robert Millan  <rmh@gnu.org>
34639         [BZ #6486]
34640         * manual/llio.texi (File Position Primitive): lseek
34641         refers to WHENCE when it really means OFFSET.
34643 2012-04-06  Andreas Jaeger  <aj@suse.de>
34645         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34646         strncmp declarations.
34648         * abilist/libc.abilist: Add __poll and __ppoll.
34650 2012-04-05  David S. Miller  <davem@davemloft.net>
34652         * scripts/check-local-headers.sh: Accept a host triplet in the
34653         path matched by the exclude regexp.
34655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34656         definition.
34657         * sysdeps/powerpc/powerpc32/dl-machine.h
34658         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34659         * sysdeps/s390/s390-32/dl-machine.h
34660         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34661         * sysdeps/sparc/sparc32/dl-machine.h
34662         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34663         * sysdeps/sparc/sparc64/dl-machine.h
34664         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34666         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34667         lazy binding.
34668         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34669         undefined symbol errors.
34671         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34672         DT_NEEDED entries.
34674 2012-04-05  Michael Matz  <matz@suse.de>
34676         [BZ #13592]
34677         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34679 2012-04-05  Andreas Jaeger  <aj@suse.de>
34681         [BZ #13908]
34682         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34683         comment.
34685 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34687         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34688         which ROUND is no valid rounding mode.
34690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34692         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34693         read again.
34694         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34696 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34698         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34699         an exception using FPU order intentionally.
34701 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34703         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34704         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34705         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34706         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34708 2012-04-05  Simon Josefsson  <simon@josefsson.org>
34710         [BZ #12340]
34711         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34712         EINVAL when BUFLEN is too smal.
34714 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34716         [BZ #13553]
34717         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34718         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34720 2012-04-03  Andreas Jaeger  <aj@suse.de>
34722         [BZ #13938]
34723         * manual/setjmp.texi (System V contexts): Fix sentence.
34725         [BZ #13926]
34726         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34727         New macro for this case.
34728         [!__GNUC__] (__bswap_64): New inline function for this case.
34729         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34730         * bits/byteswap.h: Likewise.
34731         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34732         ull, guard with __GLIBC_HAVE_LONG_LONG.
34734         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34735         __GLIBC_HAVE_LONG_LONG.
34737         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34738         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34740 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34742         [BZ #13691]
34743         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34744         inptr and inend, rather than using last_ch.
34746 2012-04-02  David S. Miller  <davem@davemloft.net>
34748         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34749         * stdio-common/printf-parse.h (read_int): Change return type to
34750         'int', return -1 on INT_MAX overflow.
34751         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34752         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34753         overflows INT_MAX.  Check for overflow of in-format-string precision
34754         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34755         SIZE_MAX not INT_MAX for integer overflow test.
34756         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34757         skip the construct in the format string but do not record anything.
34758         * stdio-common/bug22.c: Adjust to test both width/prevision
34759         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34760         explicitly for proper errno values.
34762 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34764         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34765         CHAR_MAX.
34766         * string/test-strcmp.c [! WIDE]: Likewise.
34767         * time/tst-mktime2.c: Likewise for INT_MAX.
34768         * string/test-string.h: #include <sys/param.h> for MIN.
34770         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34771         * sysdeps/i386/init-first.c (init): Likewise.
34772         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34773         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34774         * sysdeps/sh/init-first.c (init): Likewise.
34776 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34778         * po/ru.po: Update from translation team.
34779         * po/vi.po: Likewise.
34781 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34783         * resolv/nss_dns/dns-host.c: Merge copyright years.
34785 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34787         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34788         Optimize memcpy with prefetch if
34789         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34790         src, dst pointers have unequal 16 byte alignments.
34792 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34794         [BZ #13928]
34795         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34796         from a CNAME entry and return the minimum ttl for the query.
34797         (gaih_getanswer_slice): Likewise.
34799 2012-03-30  Jeff Law  <law@redhat.com>
34801         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34802         due to long keys.
34803         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34804         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34806         * resolv/nss_dns/dns-host.c: Update copyright year.
34808 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34810         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34811         requests to save a system call.  Fix check that all bytes are sent.
34813         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34814         comments for sendmmsg.
34816 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34818         [BZ #13691]
34819         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34820         with only 1 character between 0x0041 and 0x01b0.
34821         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34822         * wcsmbs/tst-mbsnrtowcs.c: New file.
34824 2012-03-29  David S. Miller  <davem@davemloft.net>
34826         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34827         small copies by hand.
34829 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34831         [BZ #13761]
34832         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34833         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34834         group memberships.
34836 2012-03-28  David S. Miller  <davem@davemloft.net>
34838         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34839         that branches into memcpy.
34840         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34843         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34845         bits.
34846         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34847         implementation too.
34848         * sysdeps/sparc/mempcpy.S: New file.
34850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34851         the IFUNC routine in the libc case.
34852         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34854         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34855         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34856         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34857         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34858         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34859         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34860         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34861         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34863         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34864         loop to 256 bytes instead of 64 bytes and fix test signedness.
34866         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34867         * sysdeps/sparc/sparc32/Makefile: rather than here...
34868         * sysdeps/sparc/sparc64/Makefile: and here.
34870 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34872         * malloc/mallocbug.c: Avoid warnings about unused variables.
34874 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34876         [BZ #13760]
34877         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34878         in the right place. Discard and retry query if response is
34879         larger than input buffer size.
34881 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34883         [BZ #369]
34884         [BZ #2678]
34885         [BZ #3866]
34886         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34887         x for large integer exponent.
34888         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34889         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34890         sign of result as needed afterwards.
34891         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34892         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34893         result for underflowing pow the same as for overflow.
34894         (__kernel_standard_l): Handle powl overflow and underflow here
34895         rather than calling __kernel_standard.
34896         * math/libm-test.inc (pow_test): Add more tests.
34898         [BZ #3868]
34899         [BZ #13879]
34900         [BZ #13910]
34901         [BZ #13911]
34902         [BZ #13912]
34903         [BZ #13913]
34904         [BZ #13915]
34905         [BZ #13916]
34906         [BZ #13917]
34907         [BZ #13918]
34908         [BZ #13919]
34909         [BZ #13920]
34910         [BZ #13921]
34911         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34912         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34913         (__kernel_standard_l): New function.
34914         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34915         __kernel_standard.
34916         * math/w_acosl.c (__acosl): Likewise.
34917         * math/w_asinl.c (__asinl): Likewise.
34918         * math/w_atan2l.c (__atan2l): Likewise.
34919         * math/w_atanhl.c (__atanhl): Likewise.
34920         * math/w_coshl.c (__coshl): Likewise.
34921         * math/w_exp10l.c (__exp10l): Likewise.
34922         * math/w_exp2l.c (__exp2l): Likewise.
34923         * math/w_fmodl.c (__fmodl): Likewise.
34924         * math/w_hypotl.c (__hypotl): Likewise.
34925         * math/w_j0l.c (__j0l, __y0l): Likewise.
34926         * math/w_j1l.c (__j1l, __y1l): Likewise.
34927         * math/w_jnl.c (__jnl, __ynl): Likewise.
34928         * math/w_lgammal.c (__lgammal): Likewise.
34929         * math/w_log10l.c (__log10l): Likewise.
34930         * math/w_log2l.c (__log2l): Likewise.
34931         * math/w_logl.c (__logl): Likewise.
34932         * math/w_powl.c (__powl): Likewise.
34933         * math/w_remainderl.c (__remainderl): Likewise.
34934         * math/w_scalbl.c (sysv_scalbl): Likewise.
34935         * math/w_sinhl.c (__sinhl): Likewise.
34936         * math/w_sqrtl.c (__sqrtl): Likewise.
34937         * math/w_tgammal.c (__tgammal): Likewise.
34938         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34939         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34940         * math/libm-test.inc (acos_test): Add more tests.
34941         (acosh_test): Likewise.
34942         (asin_test): Likewise.
34943         (atanh_test): Likewise.
34944         (exp_test): Likewise.
34945         (exp10_test): Likewise.
34946         (exp2_test): Likewise.
34947         (expm1_test): Likewise.
34948         (lgamma_test): Likewise.
34949         (log_test): Likewise.
34950         (log10_test): Likewise.
34951         (log1p_test): Likewise.
34952         (log2_test): Likewise.
34953         (pow_test): Do not allow some spurious overflow exceptions.
34954         (sqrt_test): Add more tests.
34955         (tgamma_test): Likewise.
34956         (y0_test): Likewise.
34957         (y1_test): Likewise.
34958         (yn_test): Likewise.
34960 2012-03-27  Anton Blanchard  <anton@samba.org>
34962         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34963         MAP_HUGETLB.
34964         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34965         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34968 2012-03-27  David S. Miller  <davem@davemloft.net>
34970         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34972         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34973         have-as-vis3 check.
34975 2012-03-27  Andreas Jaeger  <aj@suse.de>
34977         * sysdeps/x86_64/elf/configure.in: Moved to ...
34978         * sysdeps/x86_64/configure.in: ... here.
34979         * sysdeps/x86_64/elf/start.S: Moved to ...
34980         * sysdeps/x86_64/start.S: ... here.
34981         * sysdeps/x86_64/elf/configure: Delete.
34983         * sysdeps/x86_64/configure.in: Merge contents from
34984         sysdeps/i386/configure.in (without i686 check).
34986         * sysdeps/i386/elf/Versions: Merge into ...
34987         * sysdeps/i386/Versions: ... this.
34988         * sysdeps/i386/elf/Versions: Delete file.
34989         * sysdeps/i386/elf/start.S: Moved to ...
34990         * sysdeps/i386/start.S: ...here.
34991         * sysdeps/i386/elf/configure.in: Merge into...
34992         * sysdeps/i386/configure.in: ...here.
34993         * sysdeps/i386/elf/configure.in: Delete file.
34994         * sysdeps/i386/elf/configure: Delete file.
34996         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34997         * debug/backtracesyms.c: ... here.
34998         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34999         * debug/backtracesymsfd.c: ... here.
35000         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35001         * sysdeps/generic/ifunc-sel.h: ... here.
35003         * sysdeps/unix/i386/start.c: Delete file.
35004         * sysdeps/unix/sparc/start.c: Delete file.
35005         * sysdeps/unix/start.c: Delete file.
35007         * sysdeps/sh/elf/configure.in: Moved to ...
35008         * sysdeps/sh/configure.in: ... here.
35009         * sysdeps/sh/elf/start.S: Moved to ...
35010         * sysdeps/sh/start.S: ... here.
35011         * sysdeps/sh/elf/configure: Delete file.
35013         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35014         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35015         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35016         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35017         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35018         * sysdeps/powerpc/powerpc64/start.S: here.
35019         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35020         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35021         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35022         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35023         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35025         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35026         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35027         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35028         * sysdeps/powerpc/powerpc32/start.S: ... here.
35029         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35030         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35031         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35033         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35034         * sysdeps/powerpc/ifunc-sel.h: ... here.
35035         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35036         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35038         * sysdeps/sparc/elf/configure.in: Moved to ...
35039         * sysdeps/sparc/configure.in: ... here.
35040         * sysdeps/sparc/elf/configure: Delete file.
35041         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35042         * sysdeps/sparc/sparc32/start.S: ... here.
35043         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35044         * sysdeps/sparc/sparc64/start.S: ... here.
35045         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35046         * sysdeps/sparc/sparc32/Makefile: ... this.
35047         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35048         * sysdeps/sparc/sparc64/Makefile: ... this.
35050         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35051         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35052         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35053         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35054         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35055         * sysdeps/s390/s390-32/setjmp.S: ... here.
35056         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35057         * sysdeps/s390/s390-32/configure.in: ... here.
35058         * sysdeps/s390/s390-32/elf/configure: Delete file.
35059         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35060         * sysdeps/s390/s390-32/start.S: ... here.
35062         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35063         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35064         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35065         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35066         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35067         * sysdeps/s390/s390-64/setjmp.S: ... here.
35068         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35069         * sysdeps/s390/s390-64/configure.in: ... here
35070         * sysdeps/s390/s390-64/elf/configure: Delete file.
35071         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35072         * sysdeps/s390/s390-64/start.S: ... here.
35073         * sysdeps/s390/s390-64/elf/configure: Delete.
35075         * configure.in: Remove support for elf directories in sysdeps.
35077         * configure: Regenerated.
35078         * sysdeps/i386/configure: Regenerated.
35079         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35080         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35081         * sysdeps/s390/s390-32/configure: Regenerated.
35082         * sysdeps/s390/s390-64/configure: Regenerated.
35083         * sysdeps/sh/configure: Regenerated.
35084         * sysdeps/sparc/configure: Regenerated.
35085         * sysdeps/x86_64/configure: Regenerated.
35087 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35092         denormal result into account.
35094 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35096         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35097         Reported by Allan McRae <allan@archlinux.org>.
35099 2012-03-23  Jeff Law  <law@redhat.com>
35101         * nss/getnssent.c (__nss_getent): Fix typo.
35103 2012-03-23  David S. Miller  <davem@davemloft.net>
35105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35107 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35109         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35110         to pad to uint64_t for each field.
35111         (dl_tls_index): Replace unsigned long with uint64_t.
35113 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35114         Paul Pluzhnikov  <ppluzhnikov@google.com>
35116         [BZ #6528]
35117         * grp/Makefile (otherlibs): Don't set it.
35118         * inet/Makefile (otherlibs): Likewise.
35119         * login/Makefile (otherlibs): Likewise.
35120         * nscd/Makefile (otherlibs): Likewise.
35121         * posix/Makefile (otherlibs): Likewise.
35122         * pwd/Makefile (otherlibs): Likewise.
35123         * rt/Makefile (otherlibs): Likewise.
35124         * sunrpc/Makefile (otherlibs): Likewise.
35125         * nss/Makefile (otherlibs): Likewise.
35126         Add libnss_files to routines and static-only-routines.
35127         ($(objpfx)getent): Remove rule.
35128         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35129         static-only-routines.
35131 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35133         [BZ #13892]
35134         * math/s_cexp.c: Include <float.h>.
35135         (__cexp): Handle exp result overflowing not necessarily
35136         overflowing both real and imaginary parts of result.
35137         * math/s_cexpf.c: Likewise.
35138         * math/s_cexpl.c: Likewise.
35139         * math/libm-test.inc (cexp_test): Add more tests.
35140         * sysdeps/i386/fpu/libm-test-ulps: Update.
35141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35145         * include/link.h (ELFW): New macro.
35146         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35147         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35151         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35152         with uint64_t.
35154 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35156         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35157         declaration.
35158         (struct La_x32_retval): Likewise.
35160 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35162         * sysdeps/x86_64/preconfigure.in: New file.
35163         * sysdeps/x86_64/preconfigure: New generated file.
35165 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35167         [BZ #13824]
35168         * math/e_exp2l.c: Include <float.h>.
35169         (__ieee754_exp2l): Handle overflow and underflow cases
35170         separately.  Only pass fractional part of argument to
35171         __ieee754_expl.
35172         * math/libm-test.inc (exp2_test): Add more tests.
35174         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35175         negating x to take absolute value.
35176         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35177         Likewise.
35178         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35180         Likewise.
35181         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35182         computing low part if x was negated.
35183         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35185 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35187         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35188         la_x32_gnu_pltexit.
35189         (pltexit): Cast int_retval to ptrdiff_t.
35190         * elf/tst-auditmod3b.c: Likewise.
35191         * elf/tst-auditmod4b.c: Likewise.
35192         * elf/tst-auditmod5b.c: Likewise.
35193         * elf/tst-auditmod6b.c: Likewise.
35194         * elf/tst-auditmod6c.c: Likewise.
35195         * elf/tst-auditmod7b.c: Likewise.
35197         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35198         and x32_gnu_pltexit.
35200         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35201         __ELF_NATIVE_CLASS.
35202         (La_x32_regs): New macro.
35203         (La_x32_retval): Likewise.
35204         (la_x32_gnu_pltenter): New function prototype.
35205         (la_x32_gnu_pltexit): Likewise.
35207 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35210         exponent.
35212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35214         * configure.in (libc_cv_cc_nofma): Check for option to disable
35215         generation of FMA instructions.
35216         * configure: Regenerate.
35217         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35218         * sysdeps/ieee754/dbl-64/Makefile: New file.
35219         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35220         Remove brandred-fma4.
35221         (CFLAGS-brandred-fma4.c): Remove.
35222         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35223         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35224         define.
35225         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35226         define.
35228 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35230         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35231         LLONG_MAX != LONG_MAX.
35232         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35233         (_fitoa_word): Likewise.
35234         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35235         LLONG_MAX != LONG_MAX.
35236         * stdio-common/_itowa.h: Include <_itoa.h>.
35237         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35238         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35239         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35240         only if not defined.
35241         (_ITOA_WORD_TYPE): Likewise.
35242         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35243         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35245 2012-03-21  David S. Miller  <davem@davemloft.net>
35247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35249 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35251         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35252         of x86_64 when setting libc_cv_slibdir, libdir and
35253         libc_cv_localedir.
35254         * sysdeps/unix/sysv/linux/configure: Regenerated.
35256 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35258         * manual/lang.texi (Old Varargs): Remove section.
35259         (How Variadic): Update menu.
35260         (va_start): Do not mention varargs.h.
35262 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35263             Joseph Myers  <joseph@codesourcery.com>
35265         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35266         link test.
35267         * configure: Regenerated.
35269 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35271         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35272         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35273         conformtest.pl
35275 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35277         * NOTES: Remove.
35278         * Makefile (files-for-dist): Remove NOTES.
35279         (NOTES): Remove rule.
35280         * README: Don't refer to NOTES.
35281         * manual/creature.texi: Don't include macros.texi.
35282         * manual/intro.texi (creature.texi): Remove comment referring to
35283         NOTES.
35285         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35286         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35287         * configure: Regenerated.
35288         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35289         LIBC_TRY_CC_OPTION.
35290         (libc_cv_as_i686): Likewise.
35291         (libc_cv_cc_avx): Likewise.
35292         (libc_cv_cc_sse2avx): Likewise.
35293         (libc_cv_cc_fma4): Likewise.
35294         (libc_cv_cc_novzeroupper): Likewise.
35295         * sysdeps/i386/configure: Regenerated.
35297         [BZ #13883]
35298         * sysdeps/i386/fpu/s_cexp.S: Remove.
35299         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35300         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35301         * math/libm-test.inc (cexp_test): Add more tests.
35302         * sysdeps/i386/fpu/libm-test-ulps: Update.
35303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35305 2012-03-21  Allan McRae  <allan@archlinux.org>
35307         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35309 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35311         [BZ #13871]
35312         * math/w_exp2.c: Do not include <float.h>.
35313         (o_threshold, u_threshold): Remove.
35314         (__exp2): Calculate result before checking finiteness and calling
35315         __kernel_standard.
35316         * math/w_exp2f.c: Likewise.
35317         * math/w_exp2l.c: Likewise.
35318         * math/libm-test.inc (exp2_test): Require overflow exception for
35319         1e6 input.
35321         [BZ #3866]
35322         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35323         range of signed 64-bit integers before using fistpll.  Remove
35324         checks for whether integers fit in mantissa bits.
35325         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35326         the range of signed 32-bit integers before using fistpl.  Remove
35327         checks for whether integers fit in mantissa bits.
35328         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35329         (__ieee754_powl): Test for y outside the range of signed 64-bit
35330         integers before using fistpll.  Reduce 64-bit values to 63-bit
35331         ones as needed.
35332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35333         divide-by-zero is raised for zero to large negative powers.
35334         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35335         (__ieee754_powl): Test for y outside the range of signed 64-bit
35336         integers before using fistpll.  Reduce 64-bit values to 63-bit
35337         ones as needed.
35338         * math/libm-test.inc (pow_test): Add more tests.
35340 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35342         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35343         <stdio-common/_itoa.h>.
35344         * debug/segfault.c: Likewise.
35345         * elf/dl-cache.c: Likewise.
35346         * elf/dl-minimal.c: Likewise.
35347         * elf/dl-misc.c: Likewise.
35348         * elf/dl-sysdep.c: Likewise.
35349         * elf/dl-version.c: Likewise.
35350         * elf/rtld.c: Likewise.
35351         * hurd/hurdsock.c: Likewise.
35352         * hurd/lookup-retry.c: Likewise.
35353         * malloc/malloc.c: Likewise.
35354         * malloc/mtrace.c: Likewise.
35355         * nscd/nscd_getgr_r.c: Likewise.
35356         * nscd/nscd_getpw_r.c: Likewise.
35357         * nscd/nscd_getserv_r.c: Likewise.
35358         * posix/getopt_init.c: Likewise.
35359         * posix/wordexp.c: Likewise.
35360         * stdio-common/_itoa.c: Likewise.
35361         * stdio-common/printf_fphex.c: Likewise.
35362         * stdio-common/vfprintf.c: Likewise.
35363         * string/_strerror.c: Likewise.
35364         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35365         * sysdeps/i386/i686/hp-timing.h: Likewise.
35366         * sysdeps/mach/_strerror.c: Likewise.
35367         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35368         * sysdeps/mach/hurd/sethostid.c: Likewise.
35369         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35370         * sysdeps/mach/xpg-strerror.c: Likewise.
35371         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35373         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35374         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35375         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35376         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35377         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35378         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35379         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35380         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35381         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35382         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35383         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35384         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35385         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35386         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35387         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35388         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35389         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35390         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35391         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35393         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35395         * stdio-common/_itoa.h: Moved to ...
35396         * sysdeps/generic/_itoa.h: Here.
35398         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35400         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35401         instead of "_itoa.h" and "_itowa.h".
35402         * stdio-common/vfprintf.: Likewise.
35404 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35406         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35407         <bits/wordsize.h>.
35408         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35409         (__signbit): Likwise.
35410         (llrintf): Likwise.
35411         (llrint): Likwise.
35413 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35415         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35416         __WORDSIZE != 64.
35418 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35420         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35421         OVERFLOW_EXCEPTION_OK.
35422         * math/libm-test.inc ("Philosophy"): Update comment about
35423         exception testing.
35424         (OVERFLOW_EXCEPTION): Define.
35425         (OVERFLOW_EXCEPTION_OK): Likewise.
35426         (INVALID_EXCEPTION_OK): Renumber.
35427         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35428         (IGNORE_ZERO_INF_SIGN): Likewise.
35429         (test_exceptions): Handle FE_OVERFLOW.
35430         (exp10_test): Expect overflow exceptions.
35431         (exp2_test): Likewise.
35432         (expm1_test): Likewise.
35433         (nextafter_test): Likewise.
35434         (pow_test): Likewise.
35435         (scalbn_test): Likewise.
35436         (scalbln_test): Likewise.
35438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35440         * sysdeps/x86_64/bits/atomic.h
35441         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35442         64bit integer.
35443         (atomic_exchange_acq): Likewise.
35444         (__arch_exchange_and_add_body): Likewise.
35445         (__arch_add_body): Likewise.
35446         (atomic_add_negative): Likewise.
35447         (atomic_add_zero): Likewise.
35449 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35451         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35452         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35456         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35457         Check __x86_64__ instead of __WORDSIZE.
35459 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35461         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35463 2012-03-19  David S. Miller  <davem@davemloft.net>
35465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35467         * sysdeps/sparc/fpu/fenv_private.h: New file.
35468         * sysdeps/sparc/fpu/math_private.h: Use it.
35469         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35470         Remove.
35471         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35472         (libc_feholdexcept_setroundl): Remove.
35473         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35474         Remove.
35475         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35476         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35478 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35480         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35481         int64_t instead of long int.
35482         (INSERT_WORDS64): Likwise.
35484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35486         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35487         _Unwind_GetCFA return to _Unwind_Ptr first.
35489 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35491         [BZ #13629]
35492         * math/s_clog.c: Include <float.h>.
35493         (__clog): Scale large or subnormal inputs.
35494         * math/s_clogf.c: Likewise.
35495         * math/s_clogl.c: Likewise.
35496         * math/s_clog10.c: Include <float.h>.
35497         (M_LOG10_2): Define.
35498         (__clog10): Scale large or subnormal inputs.
35499         * math/s_clog10f.c: Likewise.
35500         * math/s_clog10l.c: Likewise.
35501         * math/libm-test.inc (clog_test): Add more tests.
35502         (clog10_test): Likewise.
35503         * sysdeps/i386/fpu/libm-test-ulps: Update.
35504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35506         [BZ #11451]
35507         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35508         x and y.
35509         * math/libm-test.inc (atan2_test): Add another test.
35511         * Makerules (common-objdir-compile): Remove.
35512         * sysdeps/unix/Makefile (config-generated): Do not add
35513         $(unix-generated) to variable.
35514         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35515         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35516         Remove rule.
35517         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35518         Likewise.
35519         [generic bits/local_lim.h] (before-compile): Do not append to
35520         variable.
35521         [generic bits/local_lim.h] (common-generated): Likewise.
35522         [generic sys/param.h] (before-compile): Do not append to variable.
35523         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35524         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35525         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35526         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35527         include.
35528         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35529         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35530         [generic sys/param.h] ($(addprefix
35531         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35532         [generic sys/param.h] (common-generated): Do not append to
35533         variable.
35534         [generic sys/param.h] (sysdep_headers): Likewise.
35535         [generic bits/errno.h] (before-compile): Do not append to
35536         variable.
35537         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35538         rule.
35539         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35540         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35541         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35542         [generic bits/errno.h] (common-generated): Do not append to
35543         variable.
35544         [generic bits/ioctls.h] (before-compile): Do not append to
35545         variable.
35546         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35547         rule.
35548         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35549         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35550         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35551         rule.
35552         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35553         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35554         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35555         [generic bits/ioctls.h] (common-generated): Do not append to
35556         variable.
35557         [generic sys/syscall.h] (syscall.h): Remove variable.
35558         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35559         rule.
35560         [generic sys/syscall.h] (before-compile): Do not append to
35561         variable.
35562         [generic sys/syscall.h] (common-generated): Likewise.
35563         * sysdeps/unix/errnos-tmpl.c: Remove file.
35564         * sysdeps/unix/errnos.awk: Likewise.
35565         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35566         * sysdeps/unix/ioctls.awk: Likewise.
35567         * sysdeps/unix/mk-local_lim.c: Likewise.
35568         * sysdeps/unix/snarf-ioctls: Likewise.
35570 2012-03-19  Richard Henderson  <rth@twiddle.net>
35572         * sysdeps/i386/fpu/fenv_private.h: New file.
35573         * sysdeps/i386/fpu/math_private.h: Use it.
35574         (math_opt_barrier, math_force_eval): Remove.
35575         (libc_feholdexcept_setround_53bit): Remove.
35576         (libc_feupdateenv_53bit): Remove.
35577         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35578         (math_opt_barrier, math_force_eval): Remove.
35579         (libc_feholdexcept): Remove.
35580         (libc_feholdexcept_setround): Remove.
35581         (libc_fetestexcept, libc_fesetenv): Remove.
35582         (libc_feupdateenv_test): Remove.
35583         (libc_feupdateenv, libc_feholdsetround): Remove.
35584         (libc_feresetround): Remove.
35586         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35587         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35589         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35590         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35591         (libc_feupdateenv_testl): New.
35592         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35593         (libc_feupdateenv_testf): New.
35594         (libc_feupdateenv): Use libc_feupdateenv_test.
35595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35596         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35598         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35599         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35600         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35601         (libc_feresetround_noex): New.
35602         (libc_feresetround_noexf): New.
35603         (libc_feresetround_noexl): New.
35604         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35605         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35606         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35607         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35608         SET_RESTORE_ROUND.
35609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35611         (__cos): Likewise.
35612         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35613         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35614         SET_RESTORE_ROUND_NOEX.
35615         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35616         SET_RESTORE_ROUND_NOEXF.
35617         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35618         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35619         (libc_feholdsetroundf): New.
35620         (libc_feresetround, libc_feresetroundf): New.
35622         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35623         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35624         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35626         * sysdeps/generic/math_private.h: Include <fenv.h>.
35627         (default_libc_feholdexcept): New.
35628         (default_libc_feholdexcept_setround): New.
35629         (default_libc_fesetenv, default_libc_feupdateenv): New.
35630         (libc_feholdexcept): Only define if undefined.
35631         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35632         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35633         (libc_feholdexcept_setroundl): Likewise.
35634         (libc_feholdexcept_setround_53bit): Likewise.
35635         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35636         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35637         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35638         (libc_feupdateenv_53bit): Likewise.
35639         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35640         (libc_feholdexcept): Convert from macro to inline function.
35641         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35642         (libc_fesetenv, libc_feupdateenv): Likewise.
35644         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35645         not previously defined.
35646         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35647         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35648         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35649         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35650         * sysdeps/ieee754/flt-32/math_private.h: New file.
35651         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35652         math_private.h below SET_FLOAT_WORD.
35653         (__isnan, __isinf_ns, __finite): Remove.
35654         (__isnanf, __isinf_nsf, __finitef): Remove.
35656 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35660 2012-03-17  David S. Miller  <davem@davemloft.net>
35662         [BZ #6471]
35663         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35664         for 2.16.
35666 2012-03-16  David S. Miller  <davem@davemloft.net>
35668         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35669         warnings.
35671         [BZ #6471]
35672         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35673         properly.
35674         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35675         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35676         sysdep_routines when subdir is sysvipc.
35677         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35678         __getshmlba helper.
35680         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35684         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35685         [__LP64__].
35687 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35689         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35690         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35691         (__lround): Renamed to ...
35692         (__llround): This.  Replace long int with long long int.
35693         Define lround functions as aliases of llround functions.
35694         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35696 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35698         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35699         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35700         adresses to uintptr_t.  Replace "long int" and "unsigned long
35701         int" with "greg_t" on va_arg.
35703 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35705         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35706         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35708         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35709         Move e_machine check before EI_CLASS check.  Handle x32
35710         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35711         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35712         SKIP_EM_IA_64 and include
35713         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35715         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35716         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35717         (add_system_dir): New macro.
35719         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35720         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35722 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35724         [BZ #2551]
35725         [BZ #2552]
35726         [BZ #2553]
35727         [BZ #2554]
35728         [BZ #2562]
35729         [BZ #2563]
35730         [BZ #2565]
35731         [BZ #2566]
35732         [BZ #2576]
35733         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35734         (y0): Likewise.
35735         * math/w_j0f.c (j0f): Likewise.
35736         (y0f): Likewise.
35737         * math/w_j0l.c (__j0l): Likewise.
35738         (__y0l): Likewise.
35739         * math/w_j1.c (j1): Likewise.
35740         (y1): Likewise.
35741         * math/w_j1f.c (j1f): Likewise.
35742         (y1f): Likewise.
35743         * math/w_j1l.c (__j1l): Likewise.
35744         (__y1l): Likewise.
35745         * math/w_jn.c (jn): Likewise.
35746         (yn): Likewise.
35747         * math/w_jnf.c (jnf): Likewise.
35748         (ynf): Likewise.
35749         * math/w_jnl.c (__jnl): Likewise.
35750         (__ynl): Likewise.
35751         * math/libm-test.inc (j0_test): Add more tests.
35752         (j1_test): Likewise.
35753         (jn_test): Likewise.  Add trailing semicolon to existing test.
35754         (y0_test): Likewise.
35755         (y1_test): Likewise.
35756         * sysdeps/i386/fpu/libm-test-ulps: Update.
35757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35759         [BZ #13851]
35760         [BZ #13854]
35761         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35762         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35763         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35764         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35765         (__tanl): Set errno for infinite argument.
35766         * sysdeps/i386/fpu/mptan.c: Remove.
35767         * sysdeps/i386/fpu/s_tan.S: Likewise.
35768         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35769         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35770         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35771         * math/libm-test.inc (tan_test): Add more tests and enable more
35772         tests for double and long double.
35773         * sysdeps/i386/fpu/libm-test-ulps: Update.
35774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35776 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35778         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35779         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35781 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35783         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35784         * configure.in: Use it for both main tree and add-ons.
35785         * configure: Regenerated.
35787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35789         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35791 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35793         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35794         in comment.
35796         [BZ #13851]
35797         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35798         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35799         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35801         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35802         infinite argument.
35803         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35804         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35805         != 0 for prec == 2.
35806         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35807         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35808         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35809         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35810         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35811         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35812         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35813         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35814         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35815         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35816         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35817         * math/libm-test.inc (cos_test): Add more tests and enable more
35818         tests for long double.
35819         (sin_test): Likewise.
35820         (sincos_test): Likewise.
35821         * sysdeps/i386/fpu/libm-test-ulps: Update.
35822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35824 2012-03-16  David S. Miller  <davem@davemloft.net>
35826         * sysdeps/sparc/fpu/math_private.h: New file.
35828 2012-03-15  David S. Miller  <davem@davemloft.net>
35830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35831         file.
35832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35834         file.
35835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35841         sysdep routines.
35842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35844         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35845         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35847         * sysdeps/sparc/sparc-ifunc.h: New file.
35848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35849         sparc-ifunc.h
35850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35852         Likewise.
35853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35854         Likewise.
35855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35859         Likewise.
35860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35865         Likewise.
35866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35867         Likewise.
35868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35874         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35875         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35887         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35888         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35890         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35891         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35893 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35895         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35896         scaling.
35897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35899 2012-03-15  Andreas Jaeger  <aj@suse.de>
35901         [BZ #13852]
35902         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35903         ieee754/flt-32 implementation for sin, cos and sincos.
35904         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35905         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35906         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35907         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35908         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35909         ieee754/flt-32 implementation for tan.
35911         * math/libm-test.inc (cos_test): Enable some large input tests for
35912         float as well
35913         (sin_test): Likewise.
35914         (sincos_test): Likewise.
35915         (tan_test): Add tests for large input.
35917         * sysdeps/i386/fpu/libm-test-ulps: Update.
35919 2012-03-15  Andreas Jaeger  <aj@suse.de>
35921         [BZ #13658]
35922         * math/libm-test.inc (cos_test): Add more test cases.
35923         (sin_test): Likewise.
35924         (sincos_test): Likewise.
35926 2012-03-15  Andreas Jaeger  <aj@suse.de>
35928         [BZ #13837]
35929         * math/libm-test.inc (cos_test): Add a test case for large input
35930         value.
35931         (sin_test): Likewise.
35932         (sincos_test): Likewise.
35934 2012-03-15  Andreas Jaeger  <aj@suse.de>
35935             Joseph Myers  <joseph@codesourcery.com>
35937         [BZ #13658]
35938         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35939         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35940         * sysdeps/i386/fpu/branred.c: Likewise.
35941         * sysdeps/i386/fpu/dosincos.c: Likewise.
35942         * sysdeps/i386/fpu/mpa.c: Likewise.
35943         * sysdeps/i386/fpu/s_cos.S: Likewise.
35944         * sysdeps/i386/fpu/s_sin.S: Likewise.
35945         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35946         * sysdeps/i386/fpu/sincos32.c: Likewise.
35948         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35949         Define.
35950         (libc_feupdateenv_53bit): Define.
35951         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35952         Define.
35953         (libc_feupdateenv_53bit): Define.
35955         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35956         53 bit (without extend i386 double precision).
35958         * math/libm-test.inc (sincos_test): Add tests for large input.
35959         (sin): Likewise.
35960         (cos): Likewise.
35962         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35964 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35968 2012-03-15  David S. Miller  <davem@davemloft.net>
35970         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35971         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35972         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35973         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35983         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35986         file.
35987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35989         file.
35990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35992         file.
35993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35995         file.
35996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35998         fmin/fmax sysdep routines.
35999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36001 2012-03-14  David S. Miller  <davem@davemloft.net>
36003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36009         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36024         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36025         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36026         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36027         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36028         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36029         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36030         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36031         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36032         routines.
36033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36034         file.
36035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36037         file.
36038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36040         file.
36041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36043         file.
36044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36046         file.
36047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36049         file.
36050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36051         file.
36052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36053         file.
36054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36055         file.
36056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36057         New file.
36058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36059         file.
36060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36061         file.
36062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36064         file.
36065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36067         file.
36068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36070         file.
36071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36073         VIS3 routines.
36075         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36076         New file.
36078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36080         * sysdeps/sparc/configure.in: New file.
36081         * sysdeps/sparc/configure: Generate.
36082         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36083         * configure: Regenerate.
36084         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36085         * config.make.in (have-as-vis3): New.
36086         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36087         available use -Av9d instead of -Av9a.
36088         * sysdeps/sparc/sparc64/Makefile: Likewise.
36089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36091         New file.
36092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36093         file.
36094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36095         New file.
36096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36097         file.
36098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36100         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36101         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36102         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36104         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36105         fzeros/fnegs to load 0x80000000 into a float register instead of
36106         using the stack.
36107         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36109 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36111         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36112         bits/syscall.h.
36113         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36114         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36115         ($(inst_includedir)/bits/syscall.h): Remove rule.
36116         ($(objpfx)bits/syscall.d): Include instead of
36117         $(objpfx)syscall-list.d.
36118         (generated): Change syscall-list.h and syscall-list.d to
36119         bits/syscall.h and bits/syscall.d.
36121 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36123         [BZ #13846]
36124         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36126 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36128         [BZ #13841]
36129         * math/s_csqrt.c: Include <float.h>.
36130         (__csqrt): Scale large or subnormal inputs.
36131         * math/s_csqrtf.c: Likewise.
36132         * math/s_csqrtl.c: Likewise.
36133         * math/libm-test.inc (csqrt_test): Add more tests.
36134         * sysdeps/i386/fpu/libm-test-ulps: Update.
36135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36137         [BZ #13840]
36138         * math/libm-test.inc (hypot_test): Add more tests.
36140 2012-03-13  David S. Miller  <davem@davemloft.net>
36142         [BZ #13840]
36143         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36144         double-precision for the calculation instead of scaling.
36146 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36148         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36149         manipulate bits before adding and subtracting TWO52[sx].
36150         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36151         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36152         Likewise.
36153         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36155 2012-03-13  David S. Miller  <davem@davemloft.net>
36157         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36158         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36160         rtld-global-offsets.h
36161         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36163         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36164         large parameters.
36166         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36169         'err' in the ifdef scope in which it is actually used.
36171         * nss/nss_db/db-init.c: Include string.h
36173 2012-03-12  David S. Miller  <davem@davemloft.net>
36175         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36176         masking out of the most significant byte of random value used.
36177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36178         Fix coding style in previous change.
36180         * sysdeps/unix/sysv/linux/kernel-features.h
36181         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36182         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36183         expression.
36184         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36185         later.
36187 2012-03-11  David S. Miller  <davem@davemloft.net>
36189         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36190         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36191         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36192         for 'resultvar' otherwise things get truncated on 64-bit.
36194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36195         Fix masking out of the most significant byte of random value used.
36197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36199 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36203 2012-03-09  David S. Miller  <davem@davemloft.net>
36205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36206         variables with appropriate CPP guards.
36207         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36208         from the frame pointer, not the stack pointer.  Correct layout
36209         comments.  Fix test on resulting framesize and the management of
36210         the outregs buffer for pltexit.  Preserve floating point return
36211         values across _dl_call_pltexit call.
36212         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36213         framesize and the management of the outregs buffer for pltexit.
36214         Preserve floating point return values across _dl_call_pltexit
36215         call.
36216         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36217         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36218         (la_sparc64_gnu_pltexit): New functions.
36219         (print_exit): Fix format string for return register value.
36221 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36223         * sunrpc/Makefile (others): Add rpcgen.
36224         ($(objpfx)rpcgen): Remove special build rule and dependency on
36225         libc.
36226         * sunrpc/rpcgen.c: New file.
36228 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36230         [BZ #13673]
36231         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36232         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36233         * sysdeps/i386/crti.S: Likewise.
36234         * sysdeps/i386/crtn.S: Likewise.
36235         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36236         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36237         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36238         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36239         * sysdeps/sh/crti.S: Likewise.
36240         * sysdeps/sh/crtn.S: Likewise.
36241         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36243         [BZ #13673]
36244         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36245         with URL.
36246         * locale/programs/locfile-kw.gperf: Likewise.
36247         * locale/programs/charmap-kw.h: Regenerated.
36248         * locale/programs/locfile-kw.h: Likewise.
36250         [BZ #13673]
36251         * intl/plural.y: Replace FSF snail mail address with URL.
36252         * intl/plural.c: Regenerated.
36254 2012-03-09  Richard Henderson  <rth@twiddle.net>
36256         * include/math_private.h: Remove file.
36257         * math/math_private.h: Move file ...
36258         * sysdeps/generic/math_private.h: ... here.
36260         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36261         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36262         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36264         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36265         and <math_private.h>.
36266         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36267         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36268         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36269         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36270         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36271         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36272         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36273         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36274         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36275         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36277         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36278         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36280         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36281         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36282         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36283         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36284         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36285         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36286         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36287         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36288         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36289         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36290         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36291         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36292         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36293         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36295         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36296         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36298         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36299         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36300         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36301         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36302         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36303         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36304         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36305         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36306         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36307         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36308         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36309         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36310         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36311         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36312         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36313         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36314         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36315         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36316         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36317         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36318         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36319         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36320         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36321         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36322         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36323         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36324         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36325         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36326         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36327         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36329         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36330         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36331         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36332         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36333         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36334         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36335         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36336         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36337         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36338         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36339         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36340         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36344         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36345         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36346         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36347         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36348         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36349         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36350         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36351         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36352         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36353         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36354         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36355         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36356         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36357         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36358         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36359         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36360         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36361         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36362         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36363         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36364         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36366         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36367         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36368         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36369         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36370         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36371         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36372         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36373         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36374         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36376         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36377         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36378         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36379         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36380         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36381         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36382         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36383         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36384         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36385         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36386         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36387         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36388         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36389         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36390         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36391         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36392         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36393         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36394         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36395         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36396         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36397         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36398         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36399         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36400         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36401         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36402         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36403         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36404         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36405         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36406         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36407         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36408         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36409         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36410         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36411         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36412         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36413         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36414         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36415         * sysdeps/ieee754/k_standard.c: Likewise.
36416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36417         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36418         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36419         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36420         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36421         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36422         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36423         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36424         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36425         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36426         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36427         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36428         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36429         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36430         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36431         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36432         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36433         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36434         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36435         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36436         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36437         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36438         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36439         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36440         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36441         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36442         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36443         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36444         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36446         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36447         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36448         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36449         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36450         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36451         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36452         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36453         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36454         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36455         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36456         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36457         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36458         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36459         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36460         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36461         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36462         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36463         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36464         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36465         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36466         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36467         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36468         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36469         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36470         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36471         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36472         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36473         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36474         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36475         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36476         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36477         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36478         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36479         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36480         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36481         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36482         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36483         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36486         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36488         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36489         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36490         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36491         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36493         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36495         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36498         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36499         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36500         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36501         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36502         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36503         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36504         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36506         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36507         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36508         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36509         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36510         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36511         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36512         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36513         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36514         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36515         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36517         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36520         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36521         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36522         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36523         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36524         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36525         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36526         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36527         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36528         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36529         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36530         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36531         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36532         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36533         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36534         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36535         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36536         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36537         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36538         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36539         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36540         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36541         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36542         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36543         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36544         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36545         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36546         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36547         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36548         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36549         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36550         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36551         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36552         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36553         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36554         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36555         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36556         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36558         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36559         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36560         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36561         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36562         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36563         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36564         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36565         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36566         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36567         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36569         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36570         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36572         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36573         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36574         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36575         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36576         * sysdeps/ieee754/s_lib_version.c: Likewise.
36577         * sysdeps/ieee754/s_matherr.c: Likewise.
36578         * sysdeps/ieee754/s_signgam.c: Likewise.
36579         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36580         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36581         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36582         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36583         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36584         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36585         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36586         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36587         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36588         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36589         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36590         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36591         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36592         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36593         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36594         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36595         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36596         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36597         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36598         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36599         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36601 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36603         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36604         * sunrpc/rpc_main.c: Likewise.
36605         * sunrpc/rpc_svcout.c: Likewise.
36607 2012-03-09  David S. Miller  <davem@davemloft.net>
36609         * include/math_private.h: New file.
36611 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36613         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36614         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36615         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36616         from <bits/socket_type.h>.
36617         (enum __socket_type): Don't define here.
36618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36620         bits/socket_type.h.
36622         [BZ #13566]
36623         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36624         checking __USE_GNU.
36626         * Makerules ($(inst_includedir)/%.h): New rule.
36627         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36628         (install-others): Remove variable setting.
36629         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36631 2012-03-08  Richard Henderson  <rth@twiddle.net>
36633         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36634         from macro to inline function; merge with the
36635         !__LIBC_INTERNAL_MATH_INLINES version.
36636         (__ieee754_sqrtf): Likewise.
36638         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36639         to inline function.
36640         (__rintf, __floor, __floorf): Likewise.
36642         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36643         macro to inline function.
36644         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36646         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36647         not <math/math_private.h>.
36649 2012-03-08  David S. Miller  <davem@davemloft.net>
36651         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36652         copyright year.
36653         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36655 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36657         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36658         normalization.
36659         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36660         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36662 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36664         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36665         be defined individually, they must be defined as a block.  Define
36666         S for printing a string instead of hidint the different by using a
36667         macro for adding the 'l'.
36668         * stdio-common/tst-fphex-wide.c: Adjust.
36670 2012-03-07  Marek Polacek  <polacek@redhat.com>
36672         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36674 2012-03-08  Marek Polacek  <polacek@redhat.com>
36676         [BZ #13806]
36677         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36678         * stdio-common/tst-fphex.c: Define a few macros to make the
36679         test reusable.  Use them.
36680         * stdio-common/tst-fphex-wide.c: New file.
36682 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36684         [BZ #6911]
36685         * manual/macros.texi (gnusystems): New macro.
36686         (nongnusystems): Likewise.
36687         (gnulinuxhurdsystems): Likewise.
36688         (gnuhurdsystems): Likewise..
36689         (gnulinuxsystems): Likewise.
36690         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36691         variants of the GNU system, not "GNU system".
36692         * manual/conf.texi: Likewise.
36693         * manual/errno.texi: Likewise.  Update example of errno macro
36694         expansion.
36695         * manual/filesys.texi: Likewise.
36696         (getumask): Document as specific to GNU/Hurd.
36697         * manual/install.texi: Likewise.  Reword some references to
36698         GNU/Linux.
36699         * manual/intro.texi: Likewise.
36700         * manual/io.texi: Likewise.
36701         (File Name Portability): Detail which constraints are inapplicable
36702         to all GNU systems and which are only inapplicable to GNU/Hurd.
36703         * manual/job.texi: Likewise.
36704         * manual/llio.texi: Likewise.
36705         (O_NOCTTY): Document as present on GNU/Linux.
36706         * manual/maint.texi: Likewise.
36707         * manual/memory.texi: Likewise.
36708         * manual/pattern.texi: Likewise.
36709         * manual/pipe.texi: Likewise.
36710         * manual/process.texi: Likewise.
36711         * manual/resource.texi: Likewise.
36712         (RUSAGE_CHILDREN): Remove statement about specifying a particular
36713         child on GNU/Hurd.
36714         * manual/setjmp.texi: Likewise.
36715         * manual/signal.texi: Likewise.
36716         * manual/startup.texi: Likewise.
36717         * manual/stdio.texi: Likewise.
36718         * manual/terminal.texi: Likewise.
36719         (ONLCR): Document as POSIX.
36720         (OXTABS): Document availability on GNU/Linux as XTABS.
36721         (ONOEOT): Document availability separately from other bits.
36722         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36723         * manual/time.texi: Likewise.
36724         * manual/users.texi: Likewise.
36725         * INSTALL: Regenerated.
36726         * sysdeps/gnu/errlist.c: Regenerated.
36728         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36729         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36730         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36731         puts.
36732         * configure: Regenerated.
36734 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36736         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36737         default includes instead of AC_HEADER_CHECK.
36738         * sysdeps/i386/configure: Regenerated.
36740         [BZ #10716]
36741         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36742         * math/s_cacoshf.c (__cacoshf): Likewise.
36743         * math/s_cacoshl.c (__cacoshl): Likewise.
36744         * math/s_casinh.c (__casinh): Set signs of result from argument.
36745         * math/s_casinhf.c (__casinhf): Likewise.
36746         * math/s_casinhl.c (__casinhl): Likewise.
36747         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36748         (casinh_test): Add more tests.
36749         * sysdeps/i386/fpu/libm-test-ulps: Update.
36750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36752 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36754         * po/zh_TW.po: Update from translation team.
36756         * login/Makefile (distribute): Remove variable.
36757         * catgets/Makefile: Likewise.
36758         * mach/Makefile: Likewise.
36759         * malloc/Makefile: Likewise.
36760         * misc/Makefile: Likewise.
36761         * iconv/Makefile: Likewise.
36762         * nscd/Makefile: Likewise.
36763         * hurd/Makefile: Likewise.
36764         * manual/Makefile: Likewise.
36765         * locale/Makefile: Likewise.
36766         * intl/Makefile: Likewise.
36767         * conform/Makefile: Likewise.
36768         * nss/Makefile: Likewise.
36769         * time/Makefile: Likewise.
36770         * soft-fp/Makefile: Likewise.
36771         * dirent/Makefile: Likewise.
36772         * gmon/Makefile: Likewise.
36773         * po/Makefile: Likewise.
36774         * rt/Makefile: Likewise.
36775         * socket/Makefile: Likewise.
36776         * math/Makefile: Likewise.
36777         * signal/Makefile: Likewise.
36778         * debug/Makefile: Likewise.
36779         * elf/Makefile: Likewise.
36780         * timezone/Makefile: Likewise.
36781         * stdlib/Makefile: Likewise.
36782         * iconvdata/Makefile: Likewise.
36783         * sunrpc/Makefile: Likewise.
36784         * io/Makefile: Likewise.
36785         * argp/Makefile: Likewise.
36786         * inet/Makefile: Likewise.
36787         * hesiod/Makefile: Likewise.
36788         * grp/Makefile: Likewise.
36789         * csu/Makefile: Likewise.
36790         * wctype/Makefile: Likewise.
36791         * crypt/Makefile: Likewise.
36792         * libio/Makefile: Likewise.
36793         * string/Makefile: Likewise.
36794         * nis/Makefile: Likewise.
36795         * resolv/Makefile: Likewise.
36796         * stdio-common/Makefile: Likewise.
36797         * wcsmbs/Makefile: Likewise.
36798         * dlfcn/Makefile: Likewise.
36799         * posix/Makefile: Likewise.
36801         [BZ #6959]
36802         * timezone/Makefile: Don't install timezone files, just the programs
36803         and scripts.
36805 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36807         * nss/databases.def: Add missing gshadow entry.
36809         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36811 2012-03-06  Marek Polacek  <polacek@redhat.com>
36813         [BZ #13726]
36814         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36815         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36816         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36817         * stdio-common/tst-long-dbl-fphex.c: New file.
36819 2012-03-06  David S. Miller  <davem@davemloft.net>
36821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36822         (set_obp_int): New function.
36823         (get_obp_int): New function.
36824         (__get_clockfreq_via_dev_openprom): Likewise.
36825         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36826         Avoid unused variable warnings on 'val' and use builtin_expect.
36827         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36828         __builtin_expect.
36829         (INLINE_CLONE_SYSCALL): Likewise.
36831 2012-03-05  David S. Miller  <davem@davemloft.net>
36833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36835 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36839         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36840         only for |x| >= 40.
36841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36843 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36845         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36846         Replace gettimeofday with __vdso_gettimeofday.
36848         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36849         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36850         __vdso_clock_gettime and __vdso_getcpu.
36852         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36853         time with __vdso_time.
36855 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36857         * manual/lang.texi (size_t): Note types to which size_t may be
36858         equivalent with the GNU C Library, but do not describe when
36859         differences between them are significant.
36861 2012-03-05  Andreas Jaeger  <aj@suse.de>
36863         * sysdeps/i386/fpu/libm-test-ulps: Update.
36865 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36867         [BZ #3976]
36868         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36869         (__ieee754_pow): Save and restore rounding mode and use
36870         round-to-nearest for main computations.
36871         * math/libm-test.inc (pow_test_tonearest): New function.
36872         (pow_test_towardzero): Likewise.
36873         (pow_test_downward): Likewise.
36874         (pow_test_upward): Likewise.
36875         (main): Call the new functions.
36876         * sysdeps/i386/fpu/libm-test-ulps: Update.
36877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36879         [BZ #3976]
36880         * math/libm-test.inc (cosh_test_tonearest): New function.
36881         (cosh_test_towardzero): Likewise.
36882         (cosh_test_downward): Likewise.
36883         (cosh_test_upward): Likewise.
36884         (sinh_test_tonearest): Likewise.
36885         (sinh_test_towardzero): Likewise.
36886         (sinh_test_downward): Likewise.
36887         (sinh_test_upward): Likewise.
36888         (main): Call the new functions.
36889         * sysdeps/i386/fpu/libm-test-ulps: Update.
36890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36892 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36894         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36895         default stack guard is set in last bytes.
36896         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36898 2012-03-05  Kees Cook  <keescook@chromium.org>
36900         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36902         [BZ #13656]
36903         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36904         possibly allocate from heap instead of stack.
36905         * stdio-common/bug-vfprintf-nargs.c: New file.
36906         * stdio-common/Makefile (tests): Add nargs overflow test.
36908 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36912 2012-03-03  Marek Polacek  <polacek@redhat.com>
36914         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36915         * math/math_private.h: Likewise.
36916         * stdlib/tst-strtod.c: Likewise.
36917         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36918         * sysdeps/x86_64/bits/atomic.h: Likewise.
36920 2012-03-02  David S. Miller  <davem@davemloft.net>
36922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36926         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36927         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36928         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36929         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36931 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36933         [BZ #13792]
36934         * manual/examples/README: New file, says the example source files
36935         can be used under GPL>=2.
36936         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36937         line containing just "*/".
36938         * manual/examples/add.c: Add copyright header (GPL>=2).
36939         * manual/examples/argp-ex1.c: Likewise.
36940         * manual/examples/argp-ex2.c: Likewise.
36941         * manual/examples/argp-ex3.c: Likewise.
36942         * manual/examples/argp-ex4.c: Likewise.
36943         * manual/examples/atexit.c: Likewise.
36944         * manual/examples/db.c: Likewise.
36945         * manual/examples/dir.c: Likewise.
36946         * manual/examples/dir2.c: Likewise.
36947         * manual/examples/execinfo.c: Likewise.
36948         * manual/examples/filecli.c: Likewise.
36949         * manual/examples/filesrv.c: Likewise.
36950         * manual/examples/fmtmsgexpl.c: Likewise.
36951         * manual/examples/genpass.c: Likewise.
36952         * manual/examples/inetcli.c: Likewise.
36953         * manual/examples/inetsrv.c: Likewise.
36954         * manual/examples/isockad.c: Likewise.
36955         * manual/examples/longopt.c: Likewise.
36956         * manual/examples/memopen.c: Likewise.
36957         * manual/examples/memstrm.c: Likewise.
36958         * manual/examples/mkfsock.c: Likewise.
36959         * manual/examples/mkisock.c: Likewise.
36960         * manual/examples/mygetpass.c: Likewise.
36961         * manual/examples/pipe.c: Likewise.
36962         * manual/examples/popen.c: Likewise.
36963         * manual/examples/rprintf.c: Likewise.
36964         * manual/examples/search.c: Likewise.
36965         * manual/examples/select.c: Likewise.
36966         * manual/examples/setjmp.c: Likewise.
36967         * manual/examples/sigh1.c: Likewise.
36968         * manual/examples/sigusr.c: Likewise.
36969         * manual/examples/stpcpy.c: Likewise.
36970         * manual/examples/strdupa.c: Likewise.
36971         * manual/examples/strftim.c: Likewise.
36972         * manual/examples/strncat.c: Likewise.
36973         * manual/examples/subopt.c: Likewise.
36974         * manual/examples/swapcontext.c: Likewise.
36975         * manual/examples/termios.c: Likewise.
36976         * manual/examples/testopt.c: Likewise.
36977         * manual/examples/testpass.c: Likewise.
36978         * manual/examples/timeval_subtract.c: Likewise.
36980         [BZ #13792]
36981         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36982         function to ...
36983         * manual/timeval_subtract.c.texi: ... here, new file.
36985 2012-03-02  David S. Miller  <davem@davemloft.net>
36987         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36989 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36991         [BZ #3976]
36992         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36993         (__sin): Save and restore rounding mode and use round-to-nearest
36994         for all computations.
36995         (__cos): Save and restore rounding mode and use round-to-nearest
36996         for all computations.
36997         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36998         <fenv.h>.
36999         (tan): Save and restore rounding mode and use round-to-nearest for
37000         all computations.
37001         * math/libm-test.inc (cos_test_tonearest): New function.
37002         (cos_test_towardzero): Likewise.
37003         (cos_test_downward): Likewise.
37004         (cos_test_upward): Likewise.
37005         (sin_test_tonearest): Likewise.
37006         (sin_test_towardzero): Likewise.
37007         (sin_test_downward): Likewise.
37008         (sin_test_upward): Likewise.
37009         (tan_test_tonearest): Likewise.
37010         (tan_test_towardzero): Likewise.
37011         (tan_test_downward): Likewise.
37012         (tan_test_upward): Likewise.
37013         (main): Call the new functions.
37014         * sysdeps/i386/fpu/libm-test-ulps: Update.
37015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37017         [BZ #10135]
37018         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37019         small n, then large n, before computing and testing k+n.
37020         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37022         Likewise.
37023         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37024         Likewise.
37025         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37026         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37027         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37029         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37031         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37032         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37033         * math/libm-test.inc (scalbn_test): Add more tests.
37034         (scalbln_test): Likewise.
37036         * manual/filesys.texi (mode_t): Describe constraints on size and
37037         signedness, not exact equivalence to a particular type.
37038         (ino_t): Likewise.
37039         (ino64_t): Likewise.
37040         (dev_t): Likewise.
37041         (nlink_t): Likewise.
37042         (blkcnt_t): Likewise.
37043         (blkcnt64_t): Likewise.
37044         * manual/llio.texi (off_t): Likewise.
37046         [BZ #3976]
37047         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37048         (__ieee754_exp): Save and restore rounding mode and use
37049         round-to-nearest for all computations.
37050         * math/libm-test.inc (exp_test_tonearest): New function.
37051         (exp_test_towardzero): Likewise.
37052         (exp_test_downward): Likewise.
37053         (exp_test_upward): Likewise.
37054         (main): Call the new functions.
37055         * sysdeps/i386/fpu/libm-test-ulps: Update.
37056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37058 2012-03-01  Chris Demetriou  <cgd@google.com>
37060         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37061         have predictable order.
37063 2012-03-01  David S. Miller  <davem@davemloft.net>
37065         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37067         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37068         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37069         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37070         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37072         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37073         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37074         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37076         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37077         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37078         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37079         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37080         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37084         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37085         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37086         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37088         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37089         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37090         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37091         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37092         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37093         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37094         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37095         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37096         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37097         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37098         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37099         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37101         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37102         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37104         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37105         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37106         * sysdeps/sparc/elf/configure: Regenerated.
37108 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37110         * configure.in (AS, LD): Require binutils 2.20 or later.
37111         * configure: Regenerated.
37112         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37113         as required minimum version.
37114         * INSTALL: Regenerated.
37116         [BZ #2541]
37117         [BZ #4108]
37118         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37119         before squaring exponent.
37120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37121         bottom long double and 27 bits of top long double before squaring
37122         exponent.
37123         * math/libm-test.inc (erfc_test): Add more tests.
37124         * sysdeps/i386/fpu/libm-test-ulps: Update.
37125         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37128 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37130         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37131         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37132         containing bit-fields.
37133         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37134         * soft-fp/single.h (_FP_UNION_S): Likewise.
37135         * soft-fp/double.h (_FP_UNION_D): Likewise.
37137 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37139         [BZ #13786]
37140         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37141         not include ../strcmp.S.
37142         [USE_AS_STRNCASECMP_L]: Likewise.
37143         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37144         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37145         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37146         (__strncasecmp_l_ia32): Define as alias to
37147         __strncasecmp_l_nonascii.
37149         [BZ #5794]
37150         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37151         * sysdeps/i386/fpu/libm-test-ulps: Update.
37152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37154         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 2012-02-29  Jeff Law  <law@redhat.com>
37159         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37160         out of bounds read.
37162 2012-02-29  Marek Polacek  <polacek@redhat.com>
37164         [BZ #13706]
37165         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37166         * elf/Makefile: Add rules to run tst-unused-dep.out.
37168 2012-02-28  David S. Miller  <davem@davemloft.net>
37170         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37171         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37172         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37174         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37175         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37177 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37179         * math/libm-test.inc (llround_test): Move one test from
37180         lround_test.  Use TEST_f_L in moved test.
37181         (lround_test): Move misplaced test to llround_test.  Add testcase
37182         from bug 2561.
37184 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37186         * sysdeps/x86_64/fpu/e_expf.S: New file.
37187         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37189 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37191         [BZ #13637]
37192         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37193         of remain_len that may cause incomplete multi-byte character and
37194         false match.
37195         * posix/bug-regex33.c: New file.
37196         * posix/Makefile (tests): Add bug-regex33.
37198 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37200         * manual/macros.texi: New file.
37201         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37202         * manual/libc.texinfo: Include macros.texi.
37203         * manual/creatute.texi: Likewise.
37204         * manual/install.texi: Likewise.
37205         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37206         @glibcadj{} in references to the GNU C Library.
37207         * manual/charset.texi: Likewise.
37208         * manual/conf.texi: Likewise.
37209         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37210         when not using those macros.
37211         * manual/creature.texi: Likewise.
37212         * manual/crypt.texi: Likewise.
37213         * manual/errno.texi: Likewise.
37214         * manual/filesys.texi: Likewise.
37215         * manual/header.texi: Likewise.
37216         * manual/install.texi: Likewise.
37217         * manual/intro.texi: Likewise.
37218         * manual/io.texi: Likewise.
37219         * manual/job.texi: Likewise.
37220         * manual/lang.texi: Likewise.
37221         * manual/libc.texiinfo: Likewise.
37222         * manual/llio.texi: Likewise.
37223         * manual/locale.texi: Likewise.
37224         * manual/maint.texi: Likewise.
37225         * manual/math.texi: Likewise.
37226         * manual/memory.texi: Likewise.
37227         * manual/message.texi: Likewise.
37228         * manual/nss.texi: Likewise.
37229         * manual/pattern.texi: Likewise.
37230         * manual/process.texi: Likewise.
37231         * manual/resource.texi: Likewise.
37232         * manual/search.texi: Likewise.
37233         * manual/setjmp.texi: Likewise.
37234         * manual/signal.texi: Likewise.
37235         * manual/socket.texi: Likewise.
37236         * manual/startup.texi: Likewise.
37237         * manual/stdio.texi: Likewise.
37238         * manual/string.texi: Likewise.
37239         * manual/sysinfo.texi: Likewise.
37240         * manual/syslog.texi: Likewise.
37241         * manual/terminal.texi: Likewise.
37242         * manual/time.texi: Likewise.
37243         * manual/users.texi: Likewise.
37244         * INSTALL: Regenerated.
37245         * NOTES: Regenerated.
37246         * sysdeps/gnu/errlist.c: Regenerated.
37248 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37250         * include/dirent.h: Include <dirstream.h> before
37251         <dirent/dirent.h>.
37253 2012-02-28  David S. Miller  <davem@davemloft.net>
37255         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37256         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37257         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37258         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37260 2012-02-27  David S. Miller  <davem@davemloft.net>
37262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37264         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37265         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37268         frame pointer instead of stack pointer relative arg slot.
37269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37270         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37271         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37273 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37275         [BZ #3992]
37276         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37278 2012-02-27  David S. Miller  <davem@davemloft.net>
37280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37284         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37285         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37286         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37287         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37289 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37291         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37292         later.  Allow versions 5-9.
37293         * configure: Regenerated.
37294         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37295         required minimum version and 4.6 as recommended version.  Do not
37296         mention bugs in GCC 2.7 and 2.8.
37297         * INSTALL: Regenerated.
37299 2012-02-27  David S. Miller  <davem@davemloft.net>
37301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37305         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37306         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37307         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37308         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37310         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37311         manipulate bits before adding and subtracting TWO112[sx].
37312         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37314 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37316         [BZ #13775]
37317         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37318         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37319         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37320         being in POSIX, because they are in 1003.1-2008.
37322         * rt/tst-aio.c: Include <fcntl.h>.
37323         * rt/tst-aio7.c: Likewise.
37324         * rt/tst-aio64.c: Likewise.
37326         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37328 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37330         * manual/install.texi (--with-headers): Describe headers as
37331         interface headers, not private headers.
37332         (Specific advice for GNU/Linux systems): Describe use of headers
37333         from "make headers_install", not private headers from older
37334         kernels.
37335         * INSTALL: Regenerated.
37336         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37337         Change to 2.6.19.
37338         * sysdeps/unix/sysv/linux/configure: Regenerated.
37340         * manual/llio.texi (fclean): Remove documentation.
37342         * manual/Makefile (libc-texi-generated): New variable.  Include
37343         version.texi.
37344         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37345         $(libc-texi-generated), not duplicated list of files.
37346         (version.texi, stamp-version): New rules.
37347         (realclean): Remove $(libc-texi-generated), not individual files
37348         from that list.  Do not remove dir-add.texinfo.
37349         * manual/libc.texinfo: Comment out uses of edition numbers and
37350         references to printed manual.  Remove last-updated dates.
37351         (EDITION): Comment out.
37352         (ISBN): Likewise.
37353         (VERSION, UPDATED): Remove.
37354         (version.texi): Include.
37356 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37358         * sysdeps/posix/spawni.c: Include <signal.h>.
37359         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37360         * sysdeps/pthread/aio_fsync.c: Likewise.
37362 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37364         * conform/Makefile (tests): Run only when not cross-compiling and
37365         when fast-check is not defined.
37367         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37368         * conform/data/limits.h-data: Fixes for POSIX2008.
37369         * conform/run-conformtest.sh: Run all tests.
37370         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37371         headers.
37372         * include/bits/dlfcn.h: Likewise.
37373         * include/langinfo.h: Likewise.
37374         * include/monetary.h: Likewise.
37375         * include/sys/poll.h: Likewise.
37377         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37378         for __USE_GNU.
37379         * posix/spawn.h: Define __need_sigset_t.
37380         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37381         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37382         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37383         to get sigevent_t only.
37384         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37385         only for __USE_GNU.
37386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37387         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37388         process_vm_writev only for __USE_GNU.
37389         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37391         * conform/Makefile: For now ignore errors from run-conformtest.
37392         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37393         POSIX to avoid namespace pollution.  Don't prepend headers.
37394         * conform/data/aio.h-data: Fixes for POSIX testing.
37395         * conform/data/fcntl.h-data: Likewise.
37396         * conform/data/glob.h-data: Likewise.
37397         * conform/data/grp.h-data: Likewise.
37398         * conform/data/pthread.h-data: Likewise.
37399         * conform/data/pwd.h-data: Likewise.
37400         * conform/data/signal.h-data: Likewise.
37401         * conform/data/spawn.h-data: Likewise.
37402         * conform/data/stdio.h-data: Likewise.
37403         * conform/data/stdlib.h-data: Likewise.
37404         * conform/data/stropts.h-data: Likewise.
37405         * conform/data/sys/mman.h-data: Likewise.
37406         * conform/data/sys/stat.h-data: Likewise.
37407         * conform/data/sys/types.h-data: Likewise.
37408         * conform/data/sys/wait.h-data: Likewise.
37409         * conform/data/time.h-data: Likewise.
37410         * conform/data/unistd.h-data: Likewise.
37411         * conform/data/utime.h-data: Likewise.
37413         * io/sys/stat.h: fchmod was always in POSIX.
37414         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37415         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37416         * rt/aio.h: Define __need_timespec before including <time.h>.
37417         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37418         struct.  Add forward declaration of pthread_attr_t and use it in
37419         sigevent.
37420         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37421         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37422         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37423         always remove CLK_TCK definition.
37425 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37427         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37429 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37431         * conform/run-conformtest.sh: New file.
37432         * conform/Makefile: Run run-conformtest for tests.
37433         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37434         support.
37436         * conform/data/uchar.h-data: New file.
37437         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37438         * conform/data/arpa/inet.h-data: Likewise.
37439         * conform/data/assert.h-data: Likewise.
37440         * conform/data/complex.h-data: Likewise.
37441         * conform/data/cpio.h-data: Likewise.
37442         * conform/data/ctype.h-data: Likewise.
37443         * conform/data/dirent.h-data: Likewise.
37444         * conform/data/dlfcn.h-data: Likewise.
37445         * conform/data/errno.h-data: Likewise.
37446         * conform/data/fcntl.h-data: Likewise.
37447         * conform/data/float.h-data: Likewise.
37448         * conform/data/fmtmsg.h-data: Likewise.
37449         * conform/data/fnmatch.h-data: Likewise.
37450         * conform/data/ftw.h-data: Likewise.
37451         * conform/data/glob.h-data: Likewise.
37452         * conform/data/grp.h-data: Likewise.
37453         * conform/data/iconv.h-data: Likewise.
37454         * conform/data/inttypes.h-data: Likewise.
37455         * conform/data/langinfo.h-data: Likewise.
37456         * conform/data/libgen.h-data: Likewise.
37457         * conform/data/limits.h-data: Likewise.
37458         * conform/data/locale.h-data: Likewise.
37459         * conform/data/math.h-data: Likewise.
37460         * conform/data/monetary.h-data: Likewise.
37461         * conform/data/mqueue.h-data: Likewise.
37462         * conform/data/ndbm.h-data: Likewise.
37463         * conform/data/net/if.h-data: Likewise.
37464         * conform/data/netdb.h-data: Likewise.
37465         * conform/data/netinet/in.h-data: Likewise.
37466         * conform/data/nl_types.h-data: Likewise.
37467         * conform/data/poll.h-data: Likewise.
37468         * conform/data/pthread.h-data: Likewise.
37469         * conform/data/pwd.h-data: Likewise.
37470         * conform/data/regex.h-data: Likewise.
37471         * conform/data/sched.h-data: Likewise.
37472         * conform/data/search.h-data: Likewise.
37473         * conform/data/semaphore.h-data: Likewise.
37474         * conform/data/setjmp.h-data: Likewise.
37475         * conform/data/signal.h-data: Likewise.
37476         * conform/data/spawn.h-data: Likewise.
37477         * conform/data/stdarg.h-data: Likewise.
37478         * conform/data/stdio.h-data: Likewise.
37479         * conform/data/stdlib.h-data: Likewise.
37480         * conform/data/string.h-data: Likewise.
37481         * conform/data/strings.h-data: Likewise.
37482         * conform/data/stropts.h-data: Likewise.
37483         * conform/data/sys/ipc.h-data: Likewise.
37484         * conform/data/sys/mman.h-data: Likewise.
37485         * conform/data/sys/msg.h-data: Likewise.
37486         * conform/data/sys/resource.h-data: Likewise.
37487         * conform/data/sys/select.h-data: Likewise.
37488         * conform/data/sys/sem.h-data: Likewise.
37489         * conform/data/sys/shm.h-data: Likewise.
37490         * conform/data/sys/socket.h-data: Likewise.
37491         * conform/data/sys/stat.h-data: Likewise.
37492         * conform/data/sys/statvfs.h-data: Likewise.
37493         * conform/data/sys/time.h-data: Likewise.
37494         * conform/data/sys/timeb.h-data: Likewise.
37495         * conform/data/sys/times.h-data: Likewise.
37496         * conform/data/sys/types.h-data: Likewise.
37497         * conform/data/sys/uio.h-data: Likewise.
37498         * conform/data/sys/un.h-data: Likewise.
37499         * conform/data/sys/utsname.h-data: Likewise.
37500         * conform/data/sys/wait.h-data: Likewise.
37501         * conform/data/syslog.h-data: Likewise.
37502         * conform/data/tar.h-data: Likewise.
37503         * conform/data/termios.h-data: Likewise.
37504         * conform/data/utime.h-data: Likewise.
37505         * conform/data/utmpx.h-data: Likewise.
37506         * conform/data/varargs.h-data: Likewise.
37507         * conform/data/wchar.h-data: Likewise.
37508         * conform/data/wctype.h-data: Likewise.
37509         * conform/data/wordexp.h-data: Likewise.
37511         * include/stropts.h: New file.
37512         * include/uchar.h: New file.
37513         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37514         * include/assert.h: Likewise.
37515         * include/ctype.h: Likewise.
37516         * include/dirent.h: Likewise.
37517         * include/dlfcn.h: Likewise.
37518         * include/fcntl.h: Likewise.
37519         * include/fnmatch.h: Likewise.
37520         * include/glob.h: Likewise.
37521         * include/grp.h: Likewise.
37522         * include/libio.h: Likewise.
37523         * include/locale.h: Likewise.
37524         * include/math.h: Likewise.
37525         * include/net/if.h: Likewise.
37526         * include/netdb.h: Likewise.
37527         * include/netinet/in.h: Likewise.
37528         * include/pthread.h: Likewise.
37529         * include/pwd.h: Likewise.
37530         * include/regex.h: Likewise.
37531         * include/sched.h: Likewise.
37532         * include/search.h: Likewise.
37533         * include/setjmp.h: Likewise.
37534         * include/signal.h: Likewise.
37535         * include/stdio.h: Likewise.
37536         * include/stdlib.h: Likewise.
37537         * include/string.h: Likewise.
37538         * include/sys/cdefs.h: Likewise.
37539         * include/sys/mman.h: Likewise.
37540         * include/sys/msg.h: Likewise.
37541         * include/sys/resource.h: Likewise.
37542         * include/sys/select.h: Likewise.
37543         * include/sys/socket.h: Likewise.
37544         * include/sys/stat.h: Likewise.
37545         * include/sys/statvfs.h: Likewise.
37546         * include/sys/time.h: Likewise.
37547         * include/sys/times.h: Likewise.
37548         * include/sys/uio.h: Likewise.
37549         * include/sys/utsname.h: Likewise.
37550         * include/sys/wait.h: Likewise.
37551         * include/termios.h: Likewise.
37552         * include/time.h: Likewise.
37553         * include/ulimit.h: Likewise.
37554         * include/unistd.h: Likewise.
37555         * include/utime.h: Likewise.
37556         * include/wchar.h: Likewise.
37557         * include/wctype.h: Likewise.
37558         * include/wordexp.h: Likewise.
37560         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37562         * time/time.h: TIME_UTC must be a macro.
37563         Make timespec_get available for ISO C11 only as well.
37565 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37567         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37568         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37570 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37572         * configure.in: Use -o not -a in test for unsupported multi-arch.
37574 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37576         * manual/texinfo.tex: Update to version 2012-01-19.16.
37578 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37580         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37582 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37584         [BZ #13738]
37585         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37586         * manual/fdl-1.3.texi: New file.
37587         * manual/fdl-1.1.texi: File removed.
37589         [BZ #13738]
37590         * manual/libc.texinfo (FDL_VERSION): New @set.
37591         Use it for mention of FDL in cover text.
37592         (Documentation License): Use it in @include file name.
37594 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37595             Roland McGrath  <roland@hack.frob.com>
37597         [BZ #5461]
37598         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37599         (not LONG_LONG_MAX and LONG_LONG_MIN.
37600         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37601         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37602         name.
37603         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37605 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37607         [BZ #2547]
37608         [BZ #11365]
37609         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37610         manipulate bits before adding and subtracting TWO23[sx].
37611         * math/libm-test.inc (nearbyint_test): Add more tests.
37613 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37615         [BZ #2548]
37616         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37617         bits before adding and subtracting TWO23[sx].
37618         * math/libm-test.inc (rint_test): Add more tests.
37619         (rint_test_tonearest): Likewise.
37620         (rint_test_towardzero): Likewise.
37621         (rint_test_downward): Likewise.
37622         (rint_test_upward: Likewise.
37624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37626         [BZ #10110]
37627         * include/stdc-predef.h: New file.  Extracted from features.h.
37628         * include/features.h: Include stdc-predef.h.
37629         * Makefile (headers): Add stdc-predef.h.
37630         * CONFORMANCE (Compiler limitations): Update.
37632 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37634         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37636 2012-02-21  David S. Miller  <davem@davemloft.net>
37638         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37639         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37641 2012-02-20  David S. Miller  <davem@davemloft.net>
37643         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37644         using a normal save/restore sequence, rather than allocating a
37645         dummy stack frame just to store a frame pointer and restore.
37646         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37648 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37650         * manual/install.texi: Fix stray word in line-wrapped comment.
37652 2012-02-20  David S. Miller  <davem@davemloft.net>
37654         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37655         both binutils and gcc support GOTDATA.
37657         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37658         "rd %pc" in the PIC register setup sequences.
37660         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37661         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37662         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37663         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37664         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37669         (SYSCALL_ERROR_HANDLER): Likewise.
37670         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37671         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37673         (SYSCALL_ERROR_HANDLER): Likewise.
37675         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37676         (HAVE_GCC_GOTDATA): New.
37677         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37678         relocation support in both binutils and gcc.
37679         * sysdeps/sparc/elf/configure: Regenerate.
37681         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37682         * sysdeps/sparc/sparc32/elf/configure: Delete.
37683         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37684         * sysdeps/sparc/sparc64/elf/configure: Delete.
37685         * sysdeps/sparc/elf/configure.in: New file.
37686         * sysdeps/sparc/elf/configure: Generate.
37688         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37689         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37690         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37691         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37692         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37694 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37696         * manual/install.texi: Do not mention specific glibc version
37697         numbers.
37698         * manual/libc.texinfo (VERSION, UPDATED): Update.
37699         (@copying): Use @copyright{} and range of years.
37701 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37703         [BZ #13695]
37704         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37705         [crti.S not in sysdirs] (generated): Do not append.
37706         [crti.S not in sysdirs] (omit-deps): Likewise.
37707         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37708         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37709         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37710         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37711         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37712         Likewise.
37713         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37714         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37715         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37716         * csu/defs.awk: Remove file.
37717         * sysdeps/generic/initfini.c: Likewise.
37718         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37719         variable.
37720         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37721         Likewise.
37723 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37725         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37726         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37727         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37728         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37729         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37730         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37731         <bits/epoll.h>.
37732         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37733         (__EPOLL_PACKED): Define to empty if not defined by
37734         <bits/epoll.h>.
37735         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37736         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37737         bits/epoll.h.
37739 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37741         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37742         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37743         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37744         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37745         <bits/timerfd.h>.
37746         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37748         bits/timerfd.h.
37750 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37752         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37753         in C locale.
37754         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37755         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37756         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37761         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37762         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37764 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37766         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37767         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37768         defined.
37769         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37770         Likewise.
37771         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37772         entry for 2.16.
37774 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37776         * math/w_acos.c: Use non-signaling floating-point comparisons.
37777         * math/w_acosf.c: Likewise.
37778         * math/w_acosh.c: Likewise.
37779         * math/w_acoshf.c: Likewise.
37780         * math/w_acoshl.c: Likewise.
37781         * math/w_acosl.c: Likewise.
37782         * math/w_asin.c: Likewise.
37783         * math/w_asinf.c: Likewise.
37784         * math/w_asinl.c: Likewise.
37785         * math/w_atanh.c: Likewise.
37786         * math/w_atanhf.c: Likewise.
37787         * math/w_atanhl.c: Likewise.
37788         * math/w_exp2.c: Likewise.
37789         * math/w_exp2f.c: Likewise.
37790         * math/w_exp2l.c: Likewise.
37791         * math/w_j0.c: Likewise.
37792         * math/w_j0f.c: Likewise.
37793         * math/w_j0l.c: Likewise.
37794         * math/w_j1.c: Likewise.
37795         * math/w_j1f.c: Likewise.
37796         * math/w_j1l.c: Likewise.
37797         * math/w_jn.c: Likewise.
37798         * math/w_jnf.c: Likewise.
37799         * math/w_log.c: Likewise.
37800         * math/w_log10.c: Likewise.
37801         * math/w_log10f.c: Likewise.
37802         * math/w_log10l.c: Likewise.
37803         * math/w_log2.c: Likewise.
37804         * math/w_log2f.c: Likewise.
37805         * math/w_log2l.c: Likewise.
37806         * math/w_logf.c: Likewise.
37807         * math/w_logl.c: Likewise.
37808         * math/w_sqrt.c: Likewise.
37809         * math/w_sqrtf.c: Likewise.
37810         * math/w_sqrtl.c: Likewise.
37811         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37812         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37813         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37814         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37815         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37817 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37819         [BZ #9739]
37820         * manual/string.texi (strnlen): Use correct parameter name in
37821         equivalent expression.
37823 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37825         [BZ #11174]
37826         * manual/users.texi (seteuid): Consistently use neweuid for
37827         argument name.
37829 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37831         [BZ #13704]
37832         * manual/nss.texi (Services in the NSS configuration): Correct
37833         list of services in example configuration file.
37835 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37837         [BZ #11322]
37838         * manual/arith.texi: Remove statements about negative zero
37839         behaving identically to zero.
37841 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37843         [BZ #5993]
37844         * manual/install.texi: Do not document upgrading from libc5.
37846 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37848         [BZ #4596]
37849         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37851 2012-02-18  David S. Miller  <davem@davemloft.net>
37853         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37854         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37855         %o7 across the call.
37856         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37857         instead.
37858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37859         SETUP_PIC_REG_LEAF.
37860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37861         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37862         * sysdeps/sparc/crtn.S: Likewise.
37864 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37866         * aout/Makefile: Remove.
37868 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37870         [BZ #13058]
37871         * manual/examples/argp-ex1.c (main): Format definition in GNU
37872         style.
37873         * manual/examples/argp-ex2.c (main): Likewise.
37874         * manual/examples/argp-ex3.c (main): Likewise.
37875         * manual/examples/argp-ex4.c (main): Likewise.
37876         * manual/examples/longopt.c (main): Use new-style prototype
37877         definition.
37878         * manual/examples/strncat.c (main): Specify return type and use
37879         (void) for arguments.
37880         * manual/examples/subopt.c (main): Use char **argv argument.
37882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37884         [BZ #5077]
37885         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37886         rounding modes.
37888 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37890         [BZ #6907]
37891         * manual/string.texi (strchr): Change when strchrnul is
37892         recommended.
37894 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37896         [BZ #174]
37897         * manual/locale.texi (setlocale): Document LOCPATH.
37899 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37901         [BZ #10210]
37902         * manual/process.texi (execle): Move @dots{} before last argument.
37904 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37906         [BZ #12047]
37907         * manual/charset.texi (Generic Charset Conversion): Fix typo
37908         (LC_TYPE -> LC_CTYPE).
37910 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37912         [BZ #5805]
37913         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37914         (scalbnf): Likewise.
37915         (scalbnl): Likewise.
37916         (scalbln): Likewise.
37917         (scalblnf): Likewise.
37918         (scalblnl): Likewise.
37919         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37920         (vwarnx): Likewise.
37921         (verr): Likewise.
37922         (verrx): Likewise.
37923         * manual/filesys.texi (telldir): Use braces around return type.
37924         * manual/llio.texi (mmap): Add space after comma.
37925         (mmap64): Likewise.
37926         * manual/math.texi (jn): Use @var{} on parameter names.
37927         (jnf): Likewise.
37928         (jnl): Likewise.
37929         (yn): Likewise.
37930         (ynf): Likewise.
37931         (ynl): Likewise.
37932         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37933         line.
37934         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37935         "...".
37936         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37937         (sched_get_priority_max): Likewise.
37938         * manual/signal.texi (sigvec): Add space after comma.
37939         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37940         names.
37941         (if_indextoname): Likewise.
37942         (if_freenameindex): Likewise.
37943         (sendto): Use ',' instead of '.' in prototype.
37944         * manual/startup.texi (syscall): Use @dots{} instead of literal
37945         "...".
37946         * manual/stdio.texi (__fpending): Separate initial words of
37947         paragraph from @deftypefun line.
37948         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37949         "...".
37950         (vsyslog): Use @var{} on parameter names.
37951         * manual/terminal.texi (stty): Use @var{} on parameter names.
37952         * manual/users.texi (getutmp): Use @var{} on parameter names.
37953         (getutmpx): Likewise.
37955 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37957         [BZ #6884]
37958         * manual/stdio.texi (fopen): Fix typos in description of
37959         ",ccs=STRING".
37961 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37963         [BZ #4026]
37964         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37965         get clock_id definition.
37967 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37969         [BZ #4822]
37970         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37971         (madvise): Cast every argument to void on its own.
37973 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37975         [BZ #9902]
37976         * manual/startup.texi (Exit Status): Fix typo.
37978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37980         [BZ #10140]
37981         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37982         * manual/examples/argp-ex2.c: Likewise.
37983         * manual/examples/argp-ex3.c: Likewise.
37985 2012-02-16  Richard Henderson  <rth@redhat.com>
37987         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37988         * sysdeps/s390/s390-32/initfini.c: Remove.
37989         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37990         * sysdeps/s390/s390-64/initfini.c: Remove.
37992 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37994         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37995         compiler output for sysdeps/generic/initfini.c.
37996         * sysdeps/sh/elf/initfini.c: Remove file.
37998 2012-02-16  David S. Miller  <davem@davemloft.net>
38000         [BZ #11494]
38001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38003         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38004         * sysdeps/sparc/crti.S: New file.
38005         * sysdeps/sparc/crtn.S: New file.
38006         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38007         * sysdeps/sparc/sparc64/Makefile: Likewise.
38009 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38011         [BZ #3335]
38012         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38014 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38016         [BZ #4822]
38017         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38019         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38020         (write, read, close): Likewise.
38021         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38023 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38025         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38026         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38027         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38028         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38029         <bits/signalfd.h>.
38030         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38032         bits/signalfd.h.
38034 2012-02-14  Marek Polacek  <polacek@redhat.com>
38036         * sysdeps/x86_64/crti.S: New file.
38037         * sysdeps/x86_64/crtn.S: New file.
38038         * sysdeps/x86_64/elf/initfini.c: Remove file.
38040 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38042         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38043         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38044         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38045         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38046         <bits/inotify.h>.
38047         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38049         bits/inotify.h.
38051 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38053         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38054         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38055         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38056         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38057         <bits/eventfd.h>.
38058         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38060         bits/eventfd.h.
38062 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38064         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38065         __feraiseexcept instead of feraiseexcept.
38067         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38068         nanosleep invocations.
38069         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38070         strings, and add error checking for a nanosleep invocations.
38072 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38074         Replace FSF snail mail address with URLs, as per GNU coding standards.
38075         Most of the snail mail addresses were wrong anyway, and omitting
38076         them makes the source code easier to maintain.  Almost all of the
38077         changes are to license notices and to locale LC_IDENTIFICATION
38078         addresses, except for this one:
38079         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38080         not its snail mail address.
38082 2012-02-09  Richard Henderson  <rth@twiddle.net>
38084         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38085         of kernel-features.h.
38087         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38089 2012-02-08  Marek Polacek  <polacek@redhat.com>
38091         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38092         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38093         * sysdeps/gnu/_G_config.h: Likewise.
38094         * sysdeps/generic/_G_config.h: Likewise.
38096 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38098         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38099         tests.
38100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38102         * sysdeps/powerpc/powerpc32/crti.S: New file.
38103         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38104         * sysdeps/powerpc/powerpc64/crti.S: New file.
38105         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38107         * Makeconfig (have-initfini): Don't set.
38108         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38109         * configure.in (nopic_initfini): Don't substitute.
38110         * config.h.in (HAVE_INITFINI): Don't #undef.
38111         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38112         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38114 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38116         Support crti.S and crtn.S provided directly by architectures.
38117         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38118         [crti.S in sysdirs] (omit-deps): Likewise.
38119         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38120         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38121         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38122         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38123         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38124         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38125         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38126         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38127         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38128         compiler output for sysdeps/generic/initfini.c.
38129         * sysdeps/i386/elf/Makefile: Remove file.
38130         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38132 2012-02-07  Marek Polacek  <polacek@redhat.com>
38134         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38135         * sysdeps/gnu/_G_config.h: Likewise.
38136         * sysdeps/mach/hurd/_G_config.h: Likewise.
38138 2012-02-07  Marek Polacek  <polacek@redhat.com>
38140         * math/Makefile (tests): Add tst-CMPLX2.
38141         * math/tst-CMPLX2.c: New file.
38143 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38145         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38147         * math/libm-test.inc (jn_test): Add missing L suffix.
38149 2012-02-06  Marek Polacek  <polacek@redhat.com>
38151         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38152         * sysdeps/i386/fpu/e_powf.S: Likewise.
38153         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38154         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38155         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38156         * sysdeps/i386/fpu/e_pow.S: Likewise.
38157         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38158         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38159         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38160         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38161         * sysdeps/i386/fpu/e_log2.S: Likewise.
38162         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38163         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38164         * sysdeps/i386/fpu/e_powl.S: Likewise.
38165         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38166         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38167         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38168         * sysdeps/i386/fpu/e_logl.S: Likewise.
38169         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38170         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38171         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38172         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38173         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38174         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38175         * sysdeps/i386/fpu/e_log.S: Likewise.
38176         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38177         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38178         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38179         * sysdeps/i386/fpu/e_logf.S: Likewise.
38180         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38181         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38182         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38183         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38184         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38185         * sysdeps/i386/fpu/e_log10.S: Likewise.
38186         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38187         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38188         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38189         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38190         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38191         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38192         * sysdeps/i386/asm-syntax.h: Likewise.
38193         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38194         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38195         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38196         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38197         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38198         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38199         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38200         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38201         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38202         * sysdeps/powerpc/sysdep.h: Likewise.
38203         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38204         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38206 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #411]
38209         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38211 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38213         * sysdeps/i386/sysdep.h: Include <features.h>.
38214         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38215         version.
38217 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38219         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38220         Define.
38221         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38222         LOAD_PIC_REG_STR.
38224 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38226         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38227         (SETUP_PIC_REG): Use GET_PC_THUNK.
38228         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38229         macro.
38231 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38233         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38234         for non-PIC compilation.
38235         (SETUP_PIC_REG): Add .p2align directive.
38236         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38237         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38238         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38239         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38240         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38241         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38242         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38243         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38244         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38245         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38246         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38247         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38248         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38249         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38250         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38251         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38252         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38253         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38254         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38255         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38256         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38257         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38258         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38259         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38260         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38262         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38263         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38264         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38265         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38266         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38267         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38268         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38269         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38270         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38271         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38272         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38273         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38274         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38278 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38280         * math/tst-CMPLX.c: Include <stdio.h>.
38282 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38284         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38285         float.
38286         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38287         * sysdeps/sparc/bits/mathdef.h: Likewise.
38289 2012-01-31  Marek Polacek  <polacek@redhat.com>
38291         * libio/libio.h: Don't define _PARAMS.
38292         * locale/programs/config.h: Don't define PARAMS.
38293         * stdlib/strtol_l.c: Likewise.
38294         (__strtol_l): Remove PARAMS from the prototype.
38296 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38298         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38299         names.  Just use the correct names.  Remove unnecessary wrapper
38300         functions.
38301         * malloc/arena.c: Likewise.
38302         * malloc/hooks.c: Likewise.
38304         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38305         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38306         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38308 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38310         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38311         into tail calls.
38312         (update_get_addr): New function.
38313         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38314         GET_ADDR_MODULE parameter.
38316 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38318         * crypt/cert.c: Remove __STDC__ conditionals.
38319         * crypt/crypt-entry.c: Likewise.
38320         * crypt/crypt_util.c: Likewise.
38321         * libio/filedoalloc.c: Likewise.
38322         * libio/fileops.c: Likewise.
38323         * libio/genops.c: Likewise.
38324         * libio/iofclose.c: Likewise.
38325         * libio/iofdopen.c: Likewise.
38326         * libio/iofopen.c: Likewise.
38327         * libio/iofopen64.c: Likewise.
38328         * libio/iogetdelim.c: Likewise.
38329         * libio/iopopen.c: Likewise.
38330         * libio/obprintf.c: Likewise.
38331         * libio/oldfileops.c: Likewise.
38332         * libio/oldiofclose.c: Likewise.
38333         * libio/oldiofdopen.c: Likewise.
38334         * libio/oldiofopen.c: Likewise.
38335         * libio/oldiopopen.c: Likewise.
38336         * libio/wfiledoalloc.c: Likewise.
38337         * libio/wgenops.c: Likewise.
38338         * locale/programs/xmalloc.c: Likewise.
38339         * misc/syslog.c: Likewise.
38340         * stdio-common/xbug.c: Likewise.
38341         * string/memchr.c: Likewise.
38342         * string/memcmp.c: Likewise.
38343         * string/memrchr.c: Likewise.
38344         * string/rawmemchr.c: Likewise.
38345         * sysdeps/posix/getcwd.c: Likewise.
38346         * time/strftime_l.c: Likewise.
38348 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38350         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38351         * config.make.in (config-cflags-sse2avx): Define.
38352         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38353         Fix typo.
38355 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38357         * scripts/config.guess: Update from upstream config git repository.
38358         * scripts/config.sub: Likewise.
38360 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38362         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38363         (EM_NUM): Update.
38364         (R_TILEPRO_*, R_TILEGX_*): New macros.
38366         * scripts/firstversions.awk: Fix bug in version range handling.
38368         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38370         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38372         * include/sys/epoll.h: New file.
38373         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38374         libc_hidden_def.
38376 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38378         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38379         Avoid unnecessary __WORDSIZE == 64 test.
38380         (fmaxf): Use VEX format if possible.
38381         (fmax): Likewise.
38382         (fminf): Likewise.
38383         (fmin): Likewise.
38385         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38386         * math/math_private.h: Remove libc_fegetround* and
38387         libc_fesetround*.
38388         * sysdeps/i386/configure.in: Check for -msse2avx.
38389         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38390         also if SSE2AVX is defined.
38391         Remove libc_fegetround* and libc_fesetround*.
38392         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38393         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38394         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38395         of HAS_YMM_USABLE.
38396         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38397         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38398         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38399         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38400         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38402         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38404 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38406         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38407         size is not set.
38408         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38410 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38412         [BZ #13618]
38413         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38414         relocation.
38415         * Makeconfig (libm): Define.
38416         * elf/Makefile: Add rules to build and run tst-relsort1.
38417         * elf/tst-relsort1.c: New file.
38418         * elf/tst-relsort1mod1.c: New file.
38419         * elf/tst-relsort1mod2.c: New file.
38421 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38423         * math/s_ldexp.c: Remove __STDC__ conditionals.
38424         * math/s_ldexpf.c: Likewise.
38425         * math/s_ldexpl.c: Likewise.
38426         * math/s_nextafter.c: Likewise.
38427         * math/s_nexttowardf.c: Likewise.
38428         * math/s_significand.c: Likewise.
38429         * math/s_significandf.c: Likewise.
38430         * math/s_significandl.c: Likewise.
38431         * math/w_jnl.c: Likewise.
38432         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38433         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38434         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38435         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38436         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38445         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38446         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38447         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38448         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38449         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38451         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38452         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38453         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38454         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38455         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38456         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38457         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38458         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38459         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38460         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38461         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38462         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38463         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38464         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38465         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38466         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38467         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38468         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38469         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38470         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38471         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38472         * sysdeps/ieee754/k_standard.c: Likewise.
38473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38474         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38476         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38477         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38516         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38523         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38529         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38533         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38534         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38535         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38536         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38537         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38539         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38547         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38548         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38549         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38552         * sysdeps/ieee754/s_matherr.c: Likewise.
38553         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38554         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38555         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38556         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38558 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38560         * crypt/md5.h: Remove __STDC__ conditionals.
38561         * libio/libioP.h: Likewise.
38562         * locale/programs/config.h: Likewise.
38563         * sysdeps/generic/sysdep.h: Likewise.
38564         * sysdeps/i386/asm-syntax.h: Likewise.
38565         * sysdeps/s390/asm-syntax.h: Likewise.
38566         * sysdeps/unix/sysdep.h: Likewise.
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38570 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38572         * libio/libio.h: Remove __STDC__ conditionals.
38573         * malloc/obstack.h: Likewise.
38574         * math/complex.h: Likewise.
38575         * math/math.h: Likewise.
38576         * sysdeps/generic/_G_config.h: Likewise.
38577         * sysdeps/gnu/_G_config.h: Likewise.
38578         * sysdeps/mach/hurd/_G_config.h: Likewise.
38579         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38580         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38581         * sysdeps/sparc/bits/mathdef.h: Likewise.
38583 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38585         [BZ #13583]
38586         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38587         Clean up HAS_* macros.
38588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38589         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38590         possible.
38591         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38592         HAS_AVX.
38593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38594         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38596         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38599 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38601         * elf/tst-unique3.cc (gets): Remove declaration.
38602         * elf/tst-unique3lib.cc (gets): Likewise.
38603         * elf/tst-unique3lib2.cc (gets): Likewise.
38604         * elf/tst-unique4.cc (gets): Likewise.
38606 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38608         * include/stdio.h: Add C++ protection.  Add gets declarations and
38609         definitions.
38610         * debug/tst-chk1.c: Don't declare gets here.
38611         * stdio-common/tst-gets.c: Likewise.
38613 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38615         * posix/glob: Remove directory.
38617 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38619         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38621 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38623         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38624         of the non-standard EPFNOSUPPORT.
38626 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38628         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38629         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38630         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38632 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38634         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38636 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38638         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38639         transient errors.
38640         * nscd/grpcache.c (cache_addgr): Likewise.
38641         * nscd/hstcache.c (cache_addhst): Likewise.
38642         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38643         * nscd/pwdcache.c (cache_addpw): Likewise.
38644         * nscd/servicescache.c (cache_addserv): Likewise.
38646 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38648         * malloc/malloc.c: Various cleanups.
38649         * malloc/hooks.c: Likewise.
38651         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38652         * stdlib/bug-fmtmsg1.c: New file.
38654         * stdlib/fmtmsg.c (init): Add missing unlock.
38655         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38657 2012-01-12  Marek Polacek  <polacek@redhat.com>
38659         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38660         and _GNU_SOURCE.
38662 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38664         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38665         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38666         macro to ensure uniqueness of label name.
38667         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38668         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38670 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38672         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38674         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38675         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38676         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38679 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38681         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38683         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38684         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38685         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38687         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38689         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38690         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38691         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38692         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38694         * math/bits/math-finite.h: Add ldexp support.
38696 2012-01-10  Marek Polacek  <polacek@redhat.com>
38698         * locale/programs/localedef.h (show_archive_content): Add noreturn
38699         attribute.
38701 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
38703         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38705 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38707         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38709         * io/Makefile (headers): Add bits/poll2.h.
38711 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38714         typo #include statement.
38716 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38718         * include/sys/cdefs.h: Define __attribute_alloc_size.
38719         * catgets/gencat.c: Add alloc_size attribute and apply consistently
38720         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38721         * elf/pldd.c: Likewise.
38722         * iconv/iconv_charmap.c: Likewise.
38723         * iconv/iconvconfig.c: Likewise.
38724         * iconv/strtab.c: Likewise.
38725         * locale/programs/locale.c: Likewise.
38726         * locale/programs/localedef.h: Likewise.
38727         * locale/programs/simple-hash.c: Likewise.
38728         * nscd/nscd.h: Likewise.
38729         * nss/makedb.c: Likewise.
38730         * sysdeps/generic/ldconfig.h: Likewise.
38731         * locale/programs/localedef.c: Remove xmalloc prototype.
38732         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38734 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38737         appropriate.
38739 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38741         * math/Makefile (tests): Add tst-CMPLX.
38742         * math/tst-CMPLX.c: New file.
38744         * math/complex.h (CMPLXL): Fix typo.
38746         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38747         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38748         GLIBC_2.16.
38749         * debug/tst-chk1.c: Add poll and ppoll tests.
38750         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38751         * include/sys/poll.h: Add hidden proto for ppoll.
38752         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38753         * sysdeps/mach/hurd/ppoll.c: Likewise.
38754         * io/ppoll.c: Likewise.
38755         * debug/poll_chk.c: New file.
38756         * debug/ppoll_chk.c: New file.
38757         * include/bits/poll2.h: New file.
38758         * io/bits/poll2.h: New file.
38760         [BZ #1350]
38761         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38763         * configure.in: static is always set to yes.  Remove.
38764         * config.make.in: Don't set build-static.
38765         * Makeconfig: Remove use of build-static.
38766         * dlfcn/Makefile: Likewise.
38767         * elf/Makefile: Likewise.
38768         * math/Makefile: Likewise.
38769         * misc/Makefile: Likewise.
38770         * nptl/Makefile: Likewise.
38771         * sysdeps/mach/hurd/Makefile: Likewise.
38773         * configure.in: PWD_P is not used anymore.
38774         * config.make.in: Remove PWD_P entry.
38776         * configure.in: Remove last remnants of RANLIB.
38777         No need to check for signed size_t anymore.
38778         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38779         and IA-64.
38780         Remove __builtin_expect test because we require at least gcc 3.4.
38781         * aclocal.m4: Likewise.
38783         * wcsmbs/mbrtoc16.c: Implement using towc function.
38784         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38785         * wcsmbs/wcsmbsload.c: Likewise.
38786         * iconv/gconv_simple.c: Likewise.
38787         * iconv/gconv_int.h: Likewise.
38788         * iconv/gconv_builtin.h: Likewise.
38789         * iconv/iconv_prog.c: Remove CHAR16 handling.
38791         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38793         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38795         * configure.in: Remove --with-elf and --enable-bounded options.
38796         Dont set base_machine for ia64.  More non-ELF conditions removed.
38797         Remove testing and setting of leading underscore information.
38798         * config.make.in (build-bounded): Set to no.
38799         * config.h.in: Remove NO_UNDERSCORES entry.
38800         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38801         them.
38802         * csu/start.c: Remove !NO_UNDERSCORE code.
38803         * locale/localeinfo.h: Likewise.
38804         * sysdeps/generic/machine-gmon.h: Likewise.
38805         * sysdeps/generic/sysdep.h: Likewise.
38806         * sysdeps/i386/sysdep.h: Likewise.
38807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38808         * sysdeps/mach/sysdep.h: Likewise.
38809         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38810         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38811         * sysdeps/sh/sysdep.h: Likewise.
38812         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38813         * sysdeps/unix/i386/sysdep.S: Likewise.
38814         * sysdeps/unix/sparc/start.c: Likewise.
38815         * sysdeps/unix/sparc/sysdep.S: Likewise.
38816         * sysdeps/unix/sparc/sysdep.h: Likewise.
38817         * sysdeps/unix/start.c: Likewise.
38818         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38819         * sysdeps/x86_64/sysdep.h: Likewise.
38821 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38823         [BZ #13553]
38824         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38825         for non-gcc.
38826         * argp/argp-fmtstream.h: Use const instead __const.
38827         * argp/argp.h: Likewise.
38828         * assert/assert.h: Likewise.
38829         * bits/fenv.h: Likewise.
38830         * bits/sched.h: Likewise.
38831         * bits/sigset.h: Likewise.
38832         * bits/sigthread.h: Likewise.
38833         * catgets/nl_types.h: Likewise.
38834         * conform/data/pthread.h-data: Likewise.
38835         * crypt/crypt-private.h: Likewise.
38836         * crypt/crypt.h: Likewise.
38837         * crypt/crypt_util.c: Likewise.
38838         * ctype/ctype.h: Likewise.
38839         * debug/execinfo.h: Likewise.
38840         * debug/mbsnrtowcs_chk.c: Likewise.
38841         * debug/mbsrtowcs_chk.c: Likewise.
38842         * debug/wcsnrtombs_chk.c: Likewise.
38843         * debug/wcsrtombs_chk.c: Likewise.
38844         * debug/wcstombs_chk.c: Likewise.
38845         * dirent/dirent.h: Likewise.
38846         * dlfcn/dlfcn.h: Likewise.
38847         * elf/neededtest4.c: Likewise.
38848         * grp/grp.h: Likewise.
38849         * gshadow/gshadow.h: Likewise.
38850         * iconv/gconv.h: Likewise.
38851         * iconv/gconv_int.h: Likewise.
38852         * iconv/gconv_simple.c: Likewise.
38853         * iconv/iconv.h: Likewise.
38854         * iconv/loop.c: Likewise.
38855         * iconv/skeleton.c: Likewise.
38856         * include/aio.h: Likewise.
38857         * include/aliases.h: Likewise.
38858         * include/argz.h: Likewise.
38859         * include/arpa/inet.h: Likewise.
38860         * include/assert.h: Likewise.
38861         * include/dirent.h: Likewise.
38862         * include/dlfcn.h: Likewise.
38863         * include/execinfo.h: Likewise.
38864         * include/fcntl.h: Likewise.
38865         * include/fenv.h: Likewise.
38866         * include/glob.h: Likewise.
38867         * include/grp.h: Likewise.
38868         * include/libintl.h: Likewise.
38869         * include/mntent.h: Likewise.
38870         * include/netdb.h: Likewise.
38871         * include/pwd.h: Likewise.
38872         * include/rpc/netdb.h: Likewise.
38873         * include/sched.h: Likewise.
38874         * include/search.h: Likewise.
38875         * include/shadow.h: Likewise.
38876         * include/signal.h: Likewise.
38877         * include/stdio.h: Likewise.
38878         * include/stdlib.h: Likewise.
38879         * include/string.h: Likewise.
38880         * include/sys/socket.h: Likewise.
38881         * include/sys/stat.h: Likewise.
38882         * include/sys/statfs.h: Likewise.
38883         * include/sys/statvfs.h: Likewise.
38884         * include/sys/syslog.h: Likewise.
38885         * include/sys/time.h: Likewise.
38886         * include/sys/uio.h: Likewise.
38887         * include/time.h: Likewise.
38888         * include/unistd.h: Likewise.
38889         * include/utmp.h: Likewise.
38890         * include/wchar.h: Likewise.
38891         * include/wctype.h: Likewise.
38892         * inet/aliases.h: Likewise.
38893         * inet/arpa/inet.h: Likewise.
38894         * inet/netinet/ether.h: Likewise.
38895         * inet/netinet/in.h: Likewise.
38896         * intl/libintl.h: Likewise.
38897         * io/bits/fcntl2.h: Likewise.
38898         * io/fcntl.h: Likewise.
38899         * io/ftw.h: Likewise.
38900         * io/sys/poll.h: Likewise.
38901         * io/sys/stat.h: Likewise.
38902         * io/sys/statfs.h: Likewise.
38903         * io/sys/statvfs.h: Likewise.
38904         * io/utime.h: Likewise.
38905         * libio/bits/stdio.h: Likewise.
38906         * libio/bits/stdio2.h: Likewise.
38907         * libio/libio.h: Likewise.
38908         * libio/libioP.h: Likewise.
38909         * libio/stdio.h: Likewise.
38910         * locale/lc-ctype.c: Likewise.
38911         * locale/locale.h: Likewise.
38912         * login/utmp.h: Likewise.
38913         * malloc/arena.c: Likewise.
38914         * malloc/malloc.c: Likewise.
38915         * malloc/malloc.h: Likewise.
38916         * malloc/mcheck.c: Likewise.
38917         * malloc/mtrace.c: Likewise.
38918         * math/bits/mathcalls.h: Likewise.
38919         * math/fenv.h: Likewise.
38920         * math/math_private.h: Likewise.
38921         * misc/bits/error.h: Likewise.
38922         * misc/bits/syslog.h: Likewise.
38923         * misc/err.h: Likewise.
38924         * misc/error.h: Likewise.
38925         * misc/fstab.h: Likewise.
38926         * misc/mntent.h: Likewise.
38927         * misc/regexp.h: Likewise.
38928         * misc/search.h: Likewise.
38929         * misc/sgtty.h: Likewise.
38930         * misc/sys/mman.h: Likewise.
38931         * misc/sys/syslog.h: Likewise.
38932         * misc/sys/uio.h: Likewise.
38933         * misc/sys/xattr.h: Likewise.
38934         * misc/ttyent.h: Likewise.
38935         * nis/rpcsvc/ypclnt.h: Likewise.
38936         * nss/nss.h: Likewise.
38937         * posix/bits/unistd.h: Likewise.
38938         * posix/fnmatch.h: Likewise.
38939         * posix/glob.h: Likewise.
38940         * posix/sched.h: Likewise.
38941         * posix/spawn.h: Likewise.
38942         * posix/sys/wait.h: Likewise.
38943         * posix/unistd.h: Likewise.
38944         * posix/wordexp.h: Likewise.
38945         * pwd/pwd.h: Likewise.
38946         * resolv/netdb.h: Likewise.
38947         * resource/sys/resource.h: Likewise.
38948         * rt/aio.h: Likewise.
38949         * rt/bits/mqueue2.h: Likewise.
38950         * rt/mqueue.h: Likewise.
38951         * shadow/shadow.h: Likewise.
38952         * signal/signal.h: Likewise.
38953         * socket/send.c: Likewise.
38954         * socket/sendto.c: Likewise.
38955         * socket/sys/socket.h: Likewise.
38956         * stdio-common/printf.h: Likewise.
38957         * stdlib/bits/stdlib.h: Likewise.
38958         * stdlib/fmtmsg.h: Likewise.
38959         * stdlib/monetary.h: Likewise.
38960         * stdlib/stdlib.h: Likewise.
38961         * stdlib/ucontext.h: Likewise.
38962         * streams/stropts.h: Likewise.
38963         * string/argz.h: Likewise.
38964         * string/bits/string2.h: Likewise.
38965         * string/string.h: Likewise.
38966         * string/strings.h: Likewise.
38967         * sunrpc/rpc/auth.h: Likewise.
38968         * sunrpc/rpc/auth_des.h: Likewise.
38969         * sunrpc/rpc/clnt.h: Likewise.
38970         * sunrpc/rpc/netdb.h: Likewise.
38971         * sunrpc/rpc/pmap_clnt.h: Likewise.
38972         * sunrpc/rpc/xdr.h: Likewise.
38973         * sysdeps/generic/inttypes.h: Likewise.
38974         * sysdeps/generic/net/if.h: Likewise.
38975         * sysdeps/generic/sys/swap.h: Likewise.
38976         * sysdeps/gnu/net/if.h: Likewise.
38977         * sysdeps/gnu/utmpx.h: Likewise.
38978         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38979         * sysdeps/i386/i486/bits/string.h: Likewise.
38980         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38981         * sysdeps/s390/bits/string.h: Likewise.
38982         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38983         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38984         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38985         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38986         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38987         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38988         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38989         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38990         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38991         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38992         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38993         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38994         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38995         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38996         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38997         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38998         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39000         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39001         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39002         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39003         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39004         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39005         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39006         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39007         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39008         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39009         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39010         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39011         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39012         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39013         * sysvipc/sys/ipc.h: Likewise.
39014         * sysvipc/sys/msg.h: Likewise.
39015         * sysvipc/sys/sem.h: Likewise.
39016         * sysvipc/sys/shm.h: Likewise.
39017         * termios/termios.h: Likewise.
39018         * time/sys/time.h: Likewise.
39019         * time/time.h: Likewise.
39020         * wcsmbs/bits/wchar2.h: Likewise.
39021         * wcsmbs/uchar.h: Likewise.
39022         * wcsmbs/wchar.h: Likewise.
39023         * wctype/wctype.h: Likewise.
39025         [BZ #13551]
39026         * Makeconfig: Remove all but ELF support including AIX support.
39027         * Makerules: Likewise.
39028         * config.h.in: Likewise.
39029         * config.make.in: Likewise.
39030         * configure: Likewise.
39031         * configure.in: Likewise.
39032         * csu/Makefile: Likewise.
39033         * csu/version.c: Likewise.
39034         * debug/Makefile: Likewise.
39035         * dlfcn/Makefile: Likewise.
39036         * elf/Makefile: Likewise.
39037         * extra-lib.mk: Likewise.
39038         * iconv/Makefile: Likewise.
39039         * include/libc-symbols.h: Likewise.
39040         * include/shlib-compat.h: Likewise.
39041         * resolv/Makefile: Likewise.
39042         * resolv/res_libc.c: Likewise.
39043         * rt/Makefile: Likewise.
39044         * sysdeps/i386/asm-syntax.h: Likewise.
39045         * sysdeps/i386/sysdep.h: Likewise.
39046         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39047         * sysdeps/mach/sysdep.h: Likewise.
39048         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39049         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39050         * sysdeps/s390/asm-syntax.h: Likewise.
39051         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39052         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39053         * sysdeps/sh/sysdep.h: Likewise.
39054         * sysdeps/unix/sparc/sysdep.h: Likewise.
39055         * sysdeps/wordsize-32/divdi3.c: Likewise.
39056         * sysdeps/x86_64/sysdep.h: Likewise.
39058         * argp/Versions: Remove _argp_unlock_xxx.
39060         [BZ #13559]
39061         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39062         * abilist/libBrokenLocale.abilist: Likewise.
39063         * abilist/libanl.abilist: Likewise.
39064         * abilist/libc.abilist: Likewise.
39065         * abilist/libcrypt.abilist: Likewise.
39066         * abilist/libdl.abilist: Likewise.
39067         * abilist/libm.abilist: Likewise.
39068         * abilist/libnsl.abilist: Likewise.
39069         * abilist/libpthread.abilist: Likewise.
39070         * abilist/libresolv.abilist: Likewise.
39071         * abilist/librt.abilist: Likewise.
39072         * abilist/libthread_db.abilist: Likewise.
39073         * abilist/libutil.abilist: Likewise.
39074         * abilist/libnss_db.abilist: New file.
39076         * scripts/abilist.awk: Add support for indirect functions.
39078         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39080         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39082         * shlib-versions: Remove entries for ports architectures.
39084         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39085         files in ports.
39086         * elf/stackguard-macros.h: Remove support for IA-64.
39087         * elf/tst-auditmod1.c: Likewise.
39088         * sysdeps/generic/ldsodefs.h: Likewise.
39090         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39091         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39092         configure files.
39094         [BZ #13552]
39095         * configure.in: Remove --enable-omitfp support.
39096         * FAQ.in: Adjust.
39097         * config.make.in: Likewise.
39098         * Makeconfig: Likewise.
39099         * manual/install.texi: Likewise.
39101         In case anyone cares, the IA-64 architecture could move to ports.
39102         * sysdeps/ia64/*: Removed.
39103         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39104         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39106         [BZ #13555]
39107         * configure.in: Remove entries for unsupported architectures.
39109         [BZ #13533]
39110         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39111         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39112         routines.
39113         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39114         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39115         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39116         fall back to using wcrtomb.
39117         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39118         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39119         renaming.
39120         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39121         * wcsmbs/tst-c16c32-1.c: New file.
39123         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39124         local variable.
39126         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39128         * elf/tst-unique3.cc: Add explicit declaration of gets.
39129         * elf/tst-unique3lib.cc: Likewise.
39130         * elf/tst-unique3lib2.cc: Likewise.
39131         * elf/tst-unique4.cc: Likewise.
39133         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39135 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39137         [BZ #13566]
39138         * assert/assert.h (static_assert): Don't define for C++.
39139         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39140         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39142 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39144         * iconv/loop.c (single loop): Fix assertion in storing of
39145         remaining bytes.
39147         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39149 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39151         * posix/getconf.c: Update copyright year.
39152         * nss/getent.c: Likewise.
39153         * nss/makedb.c: Likewise.
39154         * iconv/iconvconfig.c: Likewise.
39155         * iconv/iconv_prog.c: Likewise.
39156         * elf/ldconfig.c: Likewise.
39157         * elf/pldd.c: Likewise.
39158         * elf/sotruss.ksh: Likewise.
39159         * catgets/gencat.c: Likewise.
39160         * csu/version.c: Likewise.
39161         * elf/ldd.bash.in: Likewise.
39162         * elf/sprof.c (print_version): Likewise.
39163         * locale/programs/locale.c: Likewise.
39164         * locale/programs/localedef.c: Likewise.
39165         * login/programs/pt_chown.c: Likewise.
39166         * nscd/nscd.c (print_version): Likewise.
39167         * debug/xtrace.sh: Likewise.
39168         * malloc/memusage.sh: Likewise.
39169         * malloc/mtrace.pl: Likewise.
39170         * debug/catchsegv.sh: Likewise.
39172 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39174         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39175         pure attribute.
39177 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39179         [BZ #13533]
39180         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39181         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39182         transformations.
39183         * iconv/gconv_int.h: Likewise.
39184         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39185         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39186         from libc for GLIBC_2.16.
39187         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39188         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39189         * wcsmbs/uchar.h: Really define mbstate_t.
39190         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39191         * wcsmbs/c16rtomb.c: New file.
39192         * wcsmbs/mbrtoc16.c: New file.
39193         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39194         for C/POSIX locale.
39195         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39196         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39198         * wcsmbs/wchar.h: Add missing __restrict.
39200 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39202         [BZ #13532]
39203         * time/Makefile (routines): Add timespec_get.
39204         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39205         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39206         timespec for ISO C11.
39207         * time/timespec_get.c: New file.
39208         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39209         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39211         [BZ #13531]
39212         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39213         * stdlib/stdlib.h: Declare aligned_alloc.
39214         * Versions.def: Add GLIBC_2.16 for libc.
39215         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39217         [BZ 13527]
39218         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39219         ISO C11.
39221         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39222         code.
39224         [BZ #13528]
39225         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39227         [BZ #13529]
39228         * assert/assert.h (static_assert): Define.
39230         * version.h: Update for 2.16 development version.
39232         [BZ #13526]
39233         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39234         _ISOC11_SOURCE.
39236         * version.h (RELEASE): Bump for 2.15 release.
39237         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39239         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39240         Patch by Marek Polacek <mpolacek@redhat.com>.
39242         * bits/byteswap.h: Protect long long constants with __extension__.
39243         * sysdeps/i386/bits/byteswap.h: Likewise.
39244         * sysdeps/ia64/bits/byteswap.h: Likewise.
39245         * sysdeps/s390/bits/byteswap.h: Likewise.
39246         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39248 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39250         [BZ #13540]
39251         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39252         destination buffer.
39253         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39255 2011-12-23  Marek Polacek  <polacek@redhat.com>
39257         * elf/dl-addr.c (determine_info): Add inline keyword.
39258         * elf/tst-auditmod4b.c (check_avx): Likewise.
39259         * elf/tst-auditmod6b.c (check_avx): Likewise.
39260         * elf/tst-auditmod6c.c (check_avx): Likewise.
39261         * elf/tst-auditmod7b.c (check_avx): Likewise.
39263 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39265         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39266         !__SSE_MATH__.
39268 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39270         [BZ #13540]
39271         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39272         processing for last bytes.
39274 2011-08-06  Bruno Haible  <bruno@clisp.org>
39276         [BZ #13061]
39277         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39278         U+0385, not to U+1FEE.
39280         [BZ #13062]
39281         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39282         entry for U+00A5 U+0301.
39284 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39286         [BZ #13166]
39287         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39288         buffer for the output is too small.
39290         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39291         optimization.
39293         [BZ #13185]
39294         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39295         SSE flags if possible.
39297 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39299         [BZ #13540]
39300         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39301         processing for last bytes.
39303 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39305         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39306         (syscall-list-default-options, syscall-list-default-condition)
39307         (syscall-list-includes): Define.
39308         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39309         list of ABIs and options and #if conditions for each ABI.  Do not
39310         handle common syscalls between ABIs specially.
39311         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39312         Remove.
39313         (syscall-list-variants, syscall-list-32bit-options)
39314         (syscall-list-32bit-condition, syscall-list-64bit-options)
39315         (syscall-list-64bit-condition): Define.
39316         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39317         (syscall-list-variants, syscall-list-32bit-options)
39318         (syscall-list-32bit-condition, syscall-list-64bit-options)
39319         (syscall-list-64bit-condition): Define.
39320         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39321         Remove.
39322         (syscall-list-variants, syscall-list-32bit-options)
39323         (syscall-list-32bit-condition, syscall-list-64bit-options)
39324         (syscall-list-64bit-condition): Define.
39325         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39326         Remove.
39327         (syscall-list-variants, syscall-list-32bit-options)
39328         (syscall-list-32bit-condition, syscall-list-64bit-options)
39329         (syscall-list-64bit-condition): Define.
39331 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39333         * locale/iso-639.def: Add brx entry.
39335         [BZ #13328]
39336         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39337         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39339         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39340         __feraiseexcept_renamed.
39342 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39344         [BZ #13538]
39345         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39346         EPOLLET with unsigned values.
39347         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39350         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39351         to large cancellation.
39352         * math/s_cacoshf.c: Likewise.
39353         * math/s_cacoshl.c: Likewise.
39355 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39357         [BZ #13305]
39358         [BZ #12786]
39359         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39360         * math/s_cacoshf.c: Likewise.
39361         * math/s_cacoshl.c: Likewise.
39363 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39365         [BZ #13439]
39366         * iconv/gconv.h: Define __GCONV_SWAP.
39367         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39368         * iconvdata/utf-16.c: Likewise.
39369         * iconvdata/utf-32.c: Likewise.
39371 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39373         [BZ #13524]
39374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39375         numerator after shifting it by one limb.
39377 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39379         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39380         under [__USE_EXTERN_INLINES].
39382 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39384         [BZ #13446]
39385         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39387 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39389         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39390         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39391         optimized code.
39392         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39393         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39394         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39395         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39396         for strncasecmp/strncasecmp_l compilation.
39397         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39398         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39400 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39402         [BZ #13484]
39403         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39404         of __asm__.
39406 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39408         [BZ #13506]
39409         * time/tzfile.c (__tzfile_read): Check values from file header.
39411 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39413         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39414         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39415         * powerpc/powerpc32/dl-start.S: Likewise.
39416         * powerpc/powerpc32/elf/start.S: Likewise.
39417         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39418         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39419         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39420         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39421         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39422         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39423         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39424         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39425         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39426         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39427         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39428         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39429         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39430         * powerpc/powerpc32/memset.S: Likewise.
39431         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39432         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39433         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39434         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39435         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39436         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39437         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39438         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39439         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39440         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39441         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39442         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39443         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39445 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39447         * math/libm-test.inc: Added more nearbyint tests.
39448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39450         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39451         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39453 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39455         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39456         FD_CLOEXEC.
39458 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39460         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39461         Add wcscpy-ssse3 wcscpy-c.
39462         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39463         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39464         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39465         * sysdeps/x86_64/wcschr.S: New file.
39466         * sysdeps/x86_64/wcsrchr.S: New file.
39467         * string/test-strcmp.c: Remove checking of wcscmp function for
39468         wrong alignments.
39469         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39470         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39471         wcsrchr-sse2 wcsrchr-c.
39472         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39473         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39474         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39475         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39476         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39477         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39478         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39479         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39480         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39481         * wcsmbc/wcschr.c (WCSCHR): New macro.
39483 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39485         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39486         * wcsmbs/test-wcsrchr.c: New file.
39487         * string/test-strrchr.c: Add wcsrchr support.
39488         (WIDE): New macro.
39489         * wcsmbs/test-wcscpy.c: New file.
39490         * string/test-strcpy.c: Add wcscpy support.
39491         (WIDE): New macro.
39493 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39495         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39496         the inner loop.
39498 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39500         [BZ #13472]
39501         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39503 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39505         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39506         Minor optimizations.
39508         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39509         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39510         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39512 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39514         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39515         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39516         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39517         for gcc to avoid warnings.
39518         * inet/Makefile (tests): Add tst-checks.
39519         * inet/tst-checks.c: New file.
39521         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39522         warning.
39524         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39525         __wmemcmp_sse2.
39527         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39528         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39530         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39532 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39534         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39535         problem.
39537         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39539 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39541         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39542         conditional on GCC version.
39543         (__arch_compare_and_exchange_val_8_acq)
39544         (__arch_compare_and_exchange_val_16_acq)
39545         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39546         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39547         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39549 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39551         * sysdeps/sh/backtrace.c: New file.
39553 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39555         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39556         parenthesis.
39558 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39560         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39561         falling back to utime.
39563 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39565         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39566         expectations for float.
39568 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39570         * locale/weight.h (findidx): Add parameter len.
39571         * locale/weightwc.h (findidx): Likewise.
39572         * posix/fnmatch_loop.c (FCT): Adjust caller.
39573         * posix/regcomp.c (build_equiv_class): Likewise.
39574         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39575         * posix/regexec.c (check_node_accept_bytes): Likewise.
39576         * string/strcoll_l.c (STRCOLL): Likewise.
39577         * string/strxfrm_l.c (STRXFRM): Likewise.
39579 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39581         * Makefile.in: Remove CVSOPT handling.
39582         * configure.in: Remove use of AC_REVISION.
39583         * iconvdata/Makefile (distribute): No need to filter out CVS.
39584         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39585         handling.
39587 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39590         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39591         [USE_AS_STRNCASECMP_L]: Likewise.
39592         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39593         NO_TLS_DIRECT_SEG_REFS.
39594         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39595         Fix argument offsets for non-PIC.
39596         [USE_AS_STRNCASECMP_L]: Likewise.
39597         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39598         NO_TLS_DIRECT_SEG_REFS.
39600 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39602         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39603         O_CLOEXEC.
39604         * locale/loadlocale.c (_nl_load_locale): Likewise.
39606 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39608         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39609         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39610         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39611         (SYSCALL_GETTIME): Set errno on error.
39613         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39614         count references to noai6ai_cached.
39616 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39618         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39620         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39621         FD_CLOEXEC for /proc/self/maps.
39623         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39624         FD_CLOEXEC for /proc/meminfo.
39626         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39627         gai.conf.
39629         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39630         FD_CLOEXEC for given file.
39632         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39634         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39635         FD_CLOEXEC for /etc/hosts.
39636         (_gethtent): Likewise.
39638         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39640         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39641         cancellation and set FD_CLOEXEC for /etc/netgroup.
39643         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39644         reading /etc/publickey.
39646         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39647         allow cancellation when reading /etc/group.
39649         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39650         cancellation.
39651         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39653         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39654         when using data file.
39656         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39658         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39659         (write_nis_obj): Use "c" and "e" in fopen.
39661         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39663         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39665         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39667         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39669         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39670         locale.alias.
39672         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39674         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39676         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39678         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39679         file parsing and set FD_CLOEXEC.
39681 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39683         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39685 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39687         * malloc/arena.c (arena_get2): Don't call reused_arena when
39688         _int_new_arena failed.
39690 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39692         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39693         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39694         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39695         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39696         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39697         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39698         to compile strcasecmp and strncasecmp.
39699         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39700         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39704 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
39706         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39707         locale-defines.sym to gen-as-const-headers.
39708         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39709         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39711         to compile strcasecmp and strncasecmp.
39712         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39713         strcasecmp_l and strncasecmp_l.
39714         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39715         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39716         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39717         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39718         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39719         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39720         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39721         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39722         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39723         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39724         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39726 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39728         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39729         result of SYSDEP_GETTIME_CPU to retval.
39730         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39731         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39733         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39734         variable.
39736         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39737         mantissa words.
39738         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39740         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39741         from unused variable.
39743         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39744         DWARF definitions.
39745         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39746         for assembling.
39748         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39749         over namespaces.
39751         * sunrpc/rpc_prot.c (rejected): Fix case value.
39753         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39754         unsigned long long int to avoid warnings in shift.
39756         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39757         of use of trans.
39758         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39759         variable tmp.
39761         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39762         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39763         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39765         * nis/nis_table.c (nis_list): Use variable of correct type for
39766         result of __follow_path call.
39768 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39771         of math functions ceil, trunc, floor, round, and sqrt, when
39772         avaliable on the platform.
39773         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39774         name clash.
39775         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39776         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39777         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39779 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39781         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39782         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39784 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39786         * include/unistd.h: Fix __readlink return type.
39787         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39789 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39791         * stdlib/ucontext.h: Undo last change for makecontext.
39793 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39795         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39797         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39798         * setjmp/setjmp.h: Mark functions as non-leaf.
39799         * setjmp/bits/setjmp2.h: Likewise.
39800         * stdlib/ucontext.h: Likewise.
39802 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39804         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39805         (reused_arena): Don't check arena limit.
39806         (arena_get2): Atomically check arena limit.
39808 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39810         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39811         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39813         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39814         instructions.
39816 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39818         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39819         handler when locking.
39821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39822         Fix size of allocated buffer.
39824 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39826         [BZ #10103]
39827         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39828         declarations for long double functions.
39829         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39831         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39833 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39835         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39836         installed.
39838         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39839         is disabled.
39841 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39843         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39845 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39847         * include/alloca.h (stackinfo_alloca_round): Define.
39848         (extend_alloca): Use it.
39849         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39850         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39851         here.
39853         * scripts/check-local-headers.sh: Ignore libaudit.h.
39855         * nscd/Makefile (extra-objs): Make recursively expanded.
39857 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39859         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39862         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39863         * posix/tst-rfc3484-2.c: Likewise.
39864         * posix/tst-rfc3484-3.c: Likewise.
39866         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39867         process_vm_writev.
39868         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39869         process_vm_writev.
39870         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39871         process_vm_writev from libc using GLIBC_2.15 version.
39873         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39875 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39877         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39878         stack usage.
39880 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39882         [BZ #13367]
39883         * nss/getent.c (initgroups_keys): Show error message in case no group
39884         names are given.
39886         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39887         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39888         __bump_nl_timestamp.
39889         * nscd/connections (nscd_init): When host database is served open
39890         netlink socket and request notification about configuration changes.
39891         (main_loop_poll): Track netlink file descriptor and bump timestamp
39892         in case data becomes available.
39893         (main_loop_epoll): Likewise.
39894         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39895         (database_pers_head): Add extra_data fileds.
39896         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39897         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39898         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39899         Adjust caller.
39900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39901         in6ai data, call __free_in6ai.
39902         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39903         Add -DHAVE_NETLINK.
39904         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39905         interface information.  Reuse previous data if netlink timestamp
39906         is not changed.
39907         (__bump_nl_timestamp): New function.
39908         (__free_in6ai): New function.
39910 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39912         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39913         close_not_cancel_no_status here.
39914         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39916 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39918         [BZ #13276]
39919         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39920         return value.
39922         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39923         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39924         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39926 2011-07-03  Andreas Jaeger  <aj@suse.de>
39928         [BZ #10709]
39929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39930         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39931         * math/libm-test.inc (sin_test): Add test case.
39933 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39935         [BZ #13337]
39936         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39937         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39939         * elf/chroot_canon.c (chroot_canon): Cleanups.
39941         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39943         [BZ #13335]
39944         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39945         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39947         * string/test-strchr.c: Make usable for strchrnul testing.
39948         * string/test-strchrnul.c: New file.
39949         * string/Makefile (strop-tests): Add strchrnul.
39951         * po/it.po: Update from translation team.
39952         * po/es.po: Likewise.
39954 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39956         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39957         the three constants needed as parameters.  Drop the others.
39958         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39959         __m128i_strloadu_tolower.
39960         Create and initialize variable zero and use it in all the places
39961         where _mm_setzero_si128 was used.
39963         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39964         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39965         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39966         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39967         anymore.
39968         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39969         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39970         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39971         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39972         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39973         __mpranred, __mptan.
39974         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39975         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39976         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39977         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39978         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39979         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39980         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39981         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39982         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39984 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39986         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39987         redefine if SHARED.
39988         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39990         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39991         wide char related routines to wcsmbs subdir.
39993 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39995         [BZ #13344]
39996         * misc/sys/cdefs.h (__THROWNL): Define.
39997         * posix/unistd.h: Use __THREADNL instead of __THREAD
39998         for memory synchronization functions.
40000 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40002         [BZ #13349]
40003         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40004         doesn't exist.
40005         * manual/stdio.texi (Obstack Streams): Node removed.
40007 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40009         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40010         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40011         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40013         * math/math_private.h (math_force_eval): Allow non-addressable
40014         arguments.
40015         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40017 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40019         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40020         file is not needed.
40022         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40023         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40024         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40025         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40026         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40027         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40028         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40029         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40030         Add AVX variants.
40031         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40032         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40033         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40034         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40035         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40036         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40037         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40038         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40039         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40040         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40041         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40042         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40044         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40045         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40046         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40047         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40048         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40049         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40051         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40052         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40054         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40055         place.  Use VEX encoding when compiling for AVX.
40057 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40059         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40060         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40062         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40064 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40066         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40067         useless if() expression.
40068         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40072         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40073         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40074         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40075         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40076         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40077         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40078         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40079         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40080         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40081         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40082         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40083         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40086         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40088         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40090 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40092         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40093         condition.
40094         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40096 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40098         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40099         .text section.  Avoid duplicate constants.
40100         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40108         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40109         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40110         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40111         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40112         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40113         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40114         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40115         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40116         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40117         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40118         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40119         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40120         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40121         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40122         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40123         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40124         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40125         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40126         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40127         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40128         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40129         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40130         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40131         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40132         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40133         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40134         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40135         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40136         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40137         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40138         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40139         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40140         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40141         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40142         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40143         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40144         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40146 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40148         * sysdeps/x86_64/dla.h: Move to ...
40149         * sysdeps/x86_64/fpu/dla.h: ...here.
40150         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40151         situations.  Use __builtin_fma only for gcc 4.6 and up.
40153         * config.make.in: Add have-mfma4 entry.
40154         * configure.in: Substitute libc_cv_cc_fma4.
40155         * math/Makefile (dbl-only-routines): Add sincostab.
40156         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40157         Use __sincostab not sincos.
40158         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40159         name is a macro.
40160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40164         using __copysign.
40165         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40166         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40167         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40168         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40169         and __inv.
40170         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40171         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40172         __copysign.
40173         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40174         define aliases when function name is a macro.
40175         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40176         sysdeps/ieee754/dbl-64/sincos.tbl.
40177         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40178         fma4-enabled routines.
40179         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40180         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40181         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40182         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40183         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40184         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40185         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40186         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40187         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40188         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40189         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40190         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40191         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40192         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40193         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40194         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40195         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40196         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40197         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40198         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40199         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40200         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40201         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40202         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40203         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40204         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40205         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40206         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40207         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40208         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40210         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40211         rename.
40212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40217         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40218         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40219         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40221 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40223         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40225 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40227         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40229         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40230         prediction.
40231         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40233         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40234         Remove unused variable magic_bits.
40235         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40237         * string/strnlen.c: Define and use STRNLEN macro.
40238         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40239         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40240         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40241         * wcsmbs/wcslen.c: Define and use WCSLEN.
40242         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40243         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40244         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40245         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40246         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40247         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40248         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40250 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40253         strnlen-sse2-no-bsf.
40254         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40255         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40256         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40257         Add strnlen support.
40258         (USE_AS_STRNLEN): New macro.
40259         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40260         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40261         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40262         * sysdeps/x86_64/wcslen.S: New file.
40264 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40266         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40267         XMM-moves are used for copying on small sizes.
40269 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40271         * wcsmbs/Makefile (strop-tests): Add wcschr.
40272         * wcsmbs/test-wcschr.c: New file.
40273         * string/test-strchr.c: Update.
40274         Add wcschr support.
40275         (WIDE): New macro.
40277 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40279         * wcsmbs/Makefile (strop-tests): Add wcslen.
40280         * wcsmbs/test-wcslen.c: New file.
40281         * string/test-strlen.c: Update.
40282         Add wcslen support.
40283         (WIDE): New macro.
40285 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40287         * po/it.po: Update from translation team.
40289 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40291         * sysdeps/x86_64/wcscmp.S: Update.
40292         Fix wrong comparison semantics.
40293         wcscmp shall use signed comparison not unsigned.
40294         Don't use substraction to avoid overflow bug.
40295         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40296         * wcsmbc/wcscmp.c: Likewise.
40297         * string/test-strcmp.c: Likewise.
40298         Add new tests to check cases with negative values.
40300 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40302         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40303         * sysdeps/x86_64/dla.h: ...here.  New file.
40304         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40309         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40310         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40312         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40314 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40316         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40317         __ynl_finite aliases.
40319 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40323         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40324         define DLA_FMA.
40325         [DLA_FMA] (EMULV): Use DLA_FMA.
40326         [DLA_FMA] (MUL12): Use EMULV.
40327         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40328         that are not needed.
40329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40330         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40334         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40335         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40337 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40339         * math/s_nan.c: Undef __nan.
40340         * math/s_nanf.c: Undef __nanf.
40341         * math/s_nanl.c: Undef __nanl.
40342         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40343         "math_private.h".
40345 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40347         * math/s_catan.c: Add branch predictions.
40348         * math/s_catanf.c: Likewise.
40349         * math/s_catanh.c: Likewise.
40350         * math/s_catanhf.c: Likewise.
40351         * math/s_catanhl.c: Likewise.
40352         * math/s_catanl.c: Likewise.
40353         * math/s_cexp.c: Likewise.
40354         * math/s_cexpf.c: Likewise.
40355         * math/s_cexpl.c: Likewise.
40356         * math/s_clog.c: Likewise.
40357         * math/s_clog10.c: Likewise.
40358         * math/s_clog10f.c: Likewise.
40359         * math/s_clog10l.c: Likewise.
40360         * math/s_clogf.c: Likewise.
40361         * math/s_clogl.c: Likewise.
40362         * math/s_csqrt.c: Likewise.
40363         * math/s_csqrtf.c: Likewise.
40364         * math/s_csqrtl.c: Likewise.
40365         * math/s_ctanf.c: Likewise.
40366         * math/s_ctanh.c: Likewise.
40367         * math/s_ctanhf.c: Likewise.
40368         * math/s_ctanhl.c: Likewise.
40369         * math/s_ctanl.c: Likewise.
40371         * math/math_private.h: Define __nan, __nanf, __nanl.
40372         * math/s_cacosh.c: Include <math_private.h>.
40373         * math/s_cacoshl.c: Likewise.
40374         * math/s_casinh.c: Likewise.
40375         * math/s_casinhf.c: Likewise.
40376         * math/s_casinhl.c: Likewise.
40377         * math/s_ccos.c: Rely entire on ccosh.
40378         * math/s_ccosf.c: Rely entire on ccoshf.
40379         * math/s_ccosl.c: Rely entirely on ccoshl.
40380         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40381         Remove tests for FE_INVALID.
40382         * math/s_ccoshf.c: Likewise.
40383         * math/s_ccoshl.c: Likewise.
40384         * math/s_csin.c: Likewise.
40385         * math/s_csinf.c: Likewise.
40386         * math/s_csinh.c Likewise.
40387         * math/s_csinhf.c: Likewise.
40388         * math/s_csinhl.c: Likewise.
40389         * math/s_csinl.c: Likewise.
40390         * math/s_ctan.c: Likewise.
40391         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40392         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40393         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40395 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40398         compilation problems.
40400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40401         __builtin_expect.
40403 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40405         * sysdeps/i386/configure.in: Test for -mfma4 option.
40406         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40407         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40408         COMMON_CPUID_INDEX_80000001.
40409         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40410         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40411         use it if FMA3 is not supported.
40412         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40414         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40415         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40417 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40419         [BZ #12892]
40420         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40421         it would create a cycle with a link time dependency.
40423 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40425         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40426         instruction.
40427         * string/Makefile (strop-tests): Add rawmemchr.
40428         * string/test-rawmemchr.c: New file.
40430         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40431         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40432         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40433         when compiling str{,n}casecmp and when AVX is available.  Hook up
40434         new optimized code in initializers.
40436 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40438         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40439         __feraiseexcept instead of feraiseexcept.
40441 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40443         * math/math_private.h: Define defaults for libc_fetestexcept and
40444         libc_feupdateenv.
40445         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40446         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40447         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40448         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40449         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40450         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40451         libc_fetestexcept and libc_feupdateenv.
40453         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40454         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40455         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40456         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40457         libc_feholdexcept_setround.
40459         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40460         Add s_nearbyint-c and s_nearbyintf-c.
40461         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40462         nearbyintf inlines.
40463         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40464         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40465         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40466         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40468         * math/math_private.h: Define defaults for libc_fegetround,
40469         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40470         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40471         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40472         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40473         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40474         standard functions.
40475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40476         Remove comments and hacks for old compiler versions.
40477         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40478         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40479         libc_feholdexceptl.
40481 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40483         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40484         (__feraiseexcept_renamed): Add __NTH.
40485         (feraiseexcept): Add __NTH.  Rename local variables to fix
40486         namespace violations.
40488 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40490         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40492         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40494         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40495         recently added interfaces.
40496         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40498         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40499         about macro parameter expansion.
40501         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40502         __NO_MATH_INLINES is defined.  Cleanups.
40504         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40505         and __floorf is target has SSE4.1.
40506         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40507         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40508         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40509         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40511         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40512         name.
40513         (floorf): Likewise.
40515         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40517 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40519         * misc/sys/cdefs.h: Fix last change.
40521         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40522         database lookup.
40524 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40526         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40528         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40534         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40535         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40536         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40537         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40538         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40539         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40540         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40541         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40542         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40543         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40544         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40545         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40546         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40547         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40548         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40549         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40551         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40552         ceil, ceilf, floor, floorf.
40554         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40555         Perform IRELATIVE relocations last.
40557         * elf/do-rel.h: Add another parameter nrelative, replacing the
40558         local variable with the same name.  Change name of the function
40559         to end in Rel or Rela (uppercase).
40560         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40561         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40562         elf_dynamic_do_##reloc function.
40564 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40566         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40567         is sufficient, at least on modern CPUs.
40569         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40571         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40572         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40574         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40575         __expl_finite.
40576         * math/bits/math-finite.h: Add entries for exp.
40577         * math/e_expl.c: Add __*_finite alias.
40578         * sysdeps/i386/fpu/e_exp.S: Likewise.
40579         * sysdeps/i386/fpu/e_expf.S: Likewise.
40580         * sysdeps/i386/fpu/e_expl.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40582         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40586         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40587         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40589         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40590         is sufficient, at least on modern CPUs.
40592         * ctype/ctype-info.c (__ctype_init): Define.
40593         * include/ctype.h (__ctype_init): Declare.
40594         (__ctype_b_loc): The variable is always initialized.
40595         (__ctype_toupper_loc): Likewise.
40596         (__ctype_tolower_loc): Likewise.
40597         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40598         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40600 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40602         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40604         * configure.in: Also look in $cxxmachine/include for C++ system
40605         headers.
40607 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40609         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40610         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40611         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40612         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40613         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40614         (USE_AS_WMEMCMP): New macro.
40615         Fixing indents.
40616         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40617         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40618         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40619         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40621         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40622         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40623         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40624         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40625         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40626         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40627         (USE_AS_WMEMCMP): New macro.
40628         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40629         * sysdeps/string/test-memcmp.c: Update.
40630         Fix simple_wmemcmp.
40631         Add new tests.
40632         * wcsmbs/wmemcmp.c: Update.
40633         (WMEMCMP): New macro.
40634         Fix overflow bug.
40636 2011-10-12  Andreas Jaeger  <aj@suse.de>
40638         [BZ #13268]
40639         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40641 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40643         * libio/iofwide.c (do_length): Avoid warning.
40645         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40647 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40649         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40651         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40652         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40653         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40654         * sysdeps/i386/i686/fpu/e_log.S: New file.
40655         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40656         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40658         * ctype/ctype.h: Add support for inlined isXXX functions when
40659         compiling C++ code.
40661 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40663         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40665         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40667 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40669         [BZ #13291]
40670         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40672 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40674         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40675         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40676         feraiseexcept.
40678         * sysdeps/x86_64/memrchr.S: Check for zero size.
40680         * string/stratcliff.c: Add memrchr tests.
40682 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40684         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40685         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40686         rawmemchr-sse2 rawmemchr-sse2-bsf.
40687         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40688         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40689         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40690         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40691         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40692         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40693         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40694         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40695         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40696         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40697         * string/memrchr.c (MEMRCHR): New macro.
40699 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40701         Add integration with gcc's -ffinite-math-only and optimize wrapper
40702         functions in libm.
40703         * Versions.def: Define GLIBC_2.15 version for libm.
40704         * math/Makefile (headers): Add bits/math-finite.h.
40705         * math/bits/math-finite.h: New file.
40706         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40707         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40708         * math/e_acoshl.c: Add __*_finite alias.
40709         * math/e_acosl.c: Likewise.
40710         * math/e_asinl.c: Likewise.
40711         * math/e_atan2l.c: Likewise.
40712         * math/e_atanhl.c: Likewise.
40713         * math/e_coshl.c: Likewise.
40714         * math/e_exp10.c: Likewise.
40715         * math/e_exp10f.c: Likewise.
40716         * math/e_exp10l.c: Likewise.
40717         * math/e_exp2l.c: Likewise.
40718         * math/e_fmodl.c: Likewise.
40719         * math/e_gammal_r.c: Likewise.
40720         * math/e_hypotl.c: Likewise.
40721         * math/e_j0l.c: Likewise.
40722         * math/e_j1l.c: Likewise.
40723         * math/e_jnl.c: Likewise.
40724         * math/e_lgammal_r.c: Likewise.
40725         * math/e_log10l.c: Likewise.
40726         * math/e_log2l.c: Likewise.
40727         * math/e_logl.c: Likewise.
40728         * math/e_powl.c: Likewise.
40729         * math/e_sinhl.c: Likewise.
40730         * math/e_sqrtl.c: Likewise.
40731         * math/e_scalb.c: Completely rewritten and optimized.
40732         * math/e_scalbf.c: Likewise.
40733         * math/e_scalbl.c: Likewise.
40734         * math/w_acos.c: Likewise.
40735         * math/w_acosf.c: Likewise.
40736         * math/w_acosl.c: Likewise.
40737         * math/w_acosh.c: Likewise.
40738         * math/w_acoshf.c: Likewise.
40739         * math/w_acoshl.c: Likewise.
40740         * math/w_asin.c: Likewise.
40741         * math/w_asinf.c: Likewise.
40742         * math/w_asinl.c: Likewise.
40743         * math/w_atan2.c: Likewise.
40744         * math/w_atan2f.c: Likewise.
40745         * math/w_atan2l.c: Likewise.
40746         * math/w_atanh.c: Likewise.
40747         * math/w_atanhf.c: Likewise.
40748         * math/w_atanhl.c: Likewise.
40749         * math/w_exp10.c: Likewise.
40750         * math/w_exp10f.c: Likewise.
40751         * math/w_exp10l.c: Likewise.
40752         * math/w_fmod.c: Likewise.
40753         * math/w_fmodf.c: Likewise.
40754         * math/w_fmodl.c: Likewise.
40755         * math/w_j0.c: Likewise.
40756         * math/w_j0f.c: Likewise.
40757         * math/w_j0l.c: Likewise.
40758         * math/w_j1.c: Likewise.
40759         * math/w_j1f.c: Likewise.
40760         * math/w_j1l.c: Likewise.
40761         * math/w_jn.c: Likewise.
40762         * math/w_jnf.c: Likewise.
40763         * math/w_log.c: Likewise.
40764         * math/w_logf.c: Likewise.
40765         * math/w_logl.c: Likewise.
40766         * math/w_log10.c: Likewise.
40767         * math/w_log10f.c: Likewise.
40768         * math/w_log10l.c: Likewise.
40769         * math/w_log2.c: Likewise.
40770         * math/w_log2f.c: Likewise.
40771         * math/w_log2l.c: Likewise.
40772         * math/w_pow.c: Likewise.
40773         * math/w_powf.c: Likewise.
40774         * math/w_powl.c: Likewise.
40775         * math/w_remainder.c: Likewise.
40776         * math/w_remainderf.c: Likewise.
40777         * math/w_remainderl.c: Likewise.
40778         * math/w_scalb.c: Likewise.
40779         * math/w_scalbf.c: Likewise.
40780         * math/w_scalbl.c: Likewise.
40781         * math/w_sqrt.c: Likewise.
40782         * math/w_sqrtf.c: Likewise.
40783         * math/w_sqrtl.c: Likewise.
40784         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40785         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40786         used.
40787         * math/math_private.h: Declare __kernel_standard_f.
40788         * math/w_cosh.c: Remove cruft and optimize a bit.
40789         * math/w_coshf.c: Likewise.
40790         * math/w_coshl.c: Likewise.
40791         * math/w_exp2.c: Likewise.
40792         * math/w_exp2f.c: Likewise.
40793         * math/w_exp2l.c: Likewise.
40794         * math/w_hypot.c: Likewise.
40795         * math/w_hypotf.c: Likewise.
40796         * math/w_hypotl.c: Likewise.
40797         * math/w_lgamma.c: Likewise.
40798         * math/w_lgamma_r.c: Likewise.
40799         * math/w_lgammaf.c: Likewise.
40800         * math/w_lgammaf_r.c: Likewise.
40801         * math/w_lgammal.c: Likewise.
40802         * math/w_lgammal_r.c: Likewise.
40803         * math/w_sinh.c: Likewise.
40804         * math/w_sinhf.c: Likewise.
40805         * math/w_sinhl.c: Likewise.
40806         * math/w_tgamma.c: Likewise.
40807         * math/w_tgammaf.c: Likewise.
40808         * math/w_tgammal.c: Likewise.
40809         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40810         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40811         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40812         Minor optimizations.  Pretty printing.  Remove cruft.
40813         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40814         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40815         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40816         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40817         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40818         * sysdeps/i386/fpu/e_asin.S: Likewise.
40819         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40820         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40821         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40822         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40823         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40824         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40825         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40826         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40827         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40828         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40829         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40830         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40831         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40832         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40833         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40834         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40835         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40836         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40837         * sysdeps/i386/fpu/e_log.S: Likewise.
40838         * sysdeps/i386/fpu/e_log10.S: Likewise.
40839         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40840         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40841         * sysdeps/i386/fpu/e_log2.S: Likewise.
40842         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40843         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40844         * sysdeps/i386/fpu/e_logf.S: Likewise.
40845         * sysdeps/i386/fpu/e_logl.S: Likewise.
40846         * sysdeps/i386/fpu/e_pow.S: Likewise.
40847         * sysdeps/i386/fpu/e_powf.S: Likewise.
40848         * sysdeps/i386/fpu/e_powl.S: Likewise.
40849         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40850         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40851         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40852         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40853         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40854         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40855         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40856         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40857         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40858         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40859         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40860         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40861         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40862         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40863         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40864         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40865         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40871         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40873         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40874         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40875         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40876         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40878         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40879         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40880         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40881         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40882         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40883         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40884         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40885         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40886         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40887         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40888         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40889         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40890         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40891         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40892         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40893         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40894         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40895         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40896         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40897         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40898         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40899         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40900         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40901         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40904         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40905         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40906         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40907         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40908         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40909         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40910         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40911         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40913         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40914         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40915         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40916         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40917         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40922         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40923         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40924         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40932         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40938         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40941         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40943         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40946         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40949         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40950         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40951         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40952         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40953         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40954         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40955         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40956         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40957         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40958         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40959         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40960         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40961         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40962         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40963         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40964         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40965         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40966         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40967         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40968         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40969         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40970         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40971         (__isnanf): Likewise.
40972         (__isinf_ns): Likewise.
40973         (__isinf_nsf): Likewise.
40974         (__finite): Likewise.
40975         (__finitef): Likewise.
40976         (__ieee754_sqrt): Define as macro.
40977         (__ieee754_sqrtf): Define as macro.
40978         (__ieee754_sqrtl): Define as macro.
40979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40980         inlined copy.
40981         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40982         __FINITE_MATH_ONLY__ consistent.
40983         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40985 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40987         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40988         of rawmemchr.
40990         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40992 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40994         * po/ja.po: Update from translation team.
40996 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40998         * locale/programs/locarchive.c (prepare_address_space): New function.
40999         (create_archive, enlarge_archive, open_archive): Use it.
41001         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41002         inside [SHARED], where it is used.
41004         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41006         * nss/getent.c (netgroup_keys): Remove unused variable.
41007         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41009 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41011         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41012         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41013         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41014         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41015         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41016         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41017         * math/Makefile (libm-calls): Add s_isinf_ns.
41018         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41019         * math/multc3.c: Likewise.
41020         * math/s_casin.c: Likewise.
41021         * math/s_casinf.c: Likewise.
41022         * math/s_casinl.c: Likewise.
41023         * math/s_ccos.c: Likewise.
41024         * math/s_ccosf.c: Likewise.
41025         * math/s_ccosl.c: Likewise.
41026         * math/s_ctan.c: Likewise.
41027         * math/s_ctanf.c: Likewise.
41028         * math/s_ctanh.c: Likewise.
41029         * math/s_ctanhf.c: Likewise.
41030         * math/s_ctanhl.c: Likewise.
41031         * math/s_ctanl.c: Likewise.
41032         * math/w_fmod.c: Likewise.
41033         * math/w_fmodf.c: Likewise.
41034         * math/w_fmodl.c: Likewise.
41035         * math/w_remainder.c: Likewise.
41036         * math/w_remainderf.c: Likewise.
41037         * math/w_remainderl.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41039         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41040         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41042         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41043         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41044         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41045         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41047         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41048         of the number.
41049         * stdio-common/printf_fphex.c: Likewise.
41050         * stdio-common/printf_size.c: Likewise.
41052         * math/e_exp10.c: Include math_private.h using <...> not "...".
41053         * math/e_exp10f.c: Likewise.
41054         * math/e_exp10l.c: Likewise.
41055         * math/e_exp2l.c: Likewise.
41056         * math/e_j0l.c: Likewise.
41057         * math/e_j1l.c: Likewise.
41058         * math/e_jnl.c: Likewise.
41059         * math/e_lgammal_r.c: Likewise.
41060         * math/e_rem_pio2l.c: Likewise.
41061         * math/e_scalb.c: Likewise.
41062         * math/e_scalbf.c: Likewise.
41063         * math/e_scalbl.c: Likewise.
41064         * math/k_cosl.c: Likewise.
41065         * math/k_sinl.c: Likewise.
41066         * math/k_tanl.c: Likewise.
41067         * math/s_cacoshf.c: Likewise.
41068         * math/s_catan.c: Likewise.
41069         * math/s_catanf.c: Likewise.
41070         * math/s_catanh.c: Likewise.
41071         * math/s_catanhf.c: Likewise.
41072         * math/s_catanhl.c: Likewise.
41073         * math/s_catanl.c: Likewise.
41074         * math/s_ccosh.c: Likewise.
41075         * math/s_ccoshf.c: Likewise.
41076         * math/s_ccoshl.c: Likewise.
41077         * math/s_cexp.c: Likewise.
41078         * math/s_cexpf.c: Likewise.
41079         * math/s_cexpl.c: Likewise.
41080         * math/s_clog.c: Likewise.
41081         * math/s_clog10.c: Likewise.
41082         * math/s_clog10f.c: Likewise.
41083         * math/s_clog10l.c: Likewise.
41084         * math/s_clogf.c: Likewise.
41085         * math/s_clogl.c: Likewise.
41086         * math/s_csin.c: Likewise.
41087         * math/s_csinf.c: Likewise.
41088         * math/s_csinh.c: Likewise.
41089         * math/s_csinhf.c: Likewise.
41090         * math/s_csinhl.c: Likewise.
41091         * math/s_csinl.c: Likewise.
41092         * math/s_csqrt.c: Likewise.
41093         * math/s_csqrtf.c: Likewise.
41094         * math/s_csqrtl.c: Likewise.
41095         * math/s_ctan.c: Likewise.
41096         * math/s_ctanf.c: Likewise.
41097         * math/s_ctanh.c: Likewise.
41098         * math/s_ctanhf.c: Likewise.
41099         * math/s_ctanhl.c: Likewise.
41100         * math/s_ctanl.c: Likewise.
41101         * math/s_ldexp.c: Likewise.
41102         * math/s_ldexpf.c: Likewise.
41103         * math/s_ldexpl.c: Likewise.
41104         * math/s_significand.c: Likewise.
41105         * math/s_significandf.c: Likewise.
41106         * math/s_significandl.c: Likewise.
41107         * math/w_acos.c: Likewise.
41108         * math/w_acosf.c: Likewise.
41109         * math/w_acosh.c: Likewise.
41110         * math/w_acoshf.c: Likewise.
41111         * math/w_acoshl.c: Likewise.
41112         * math/w_acosl.c: Likewise.
41113         * math/w_asin.c: Likewise.
41114         * math/w_asinf.c: Likewise.
41115         * math/w_asinl.c: Likewise.
41116         * math/w_atan2.c: Likewise.
41117         * math/w_atan2f.c: Likewise.
41118         * math/w_atan2l.c: Likewise.
41119         * math/w_atanh.c: Likewise.
41120         * math/w_atanhf.c: Likewise.
41121         * math/w_atanhl.c: Likewise.
41122         * math/w_cosh.c: Likewise.
41123         * math/w_coshf.c: Likewise.
41124         * math/w_coshl.c: Likewise.
41125         * math/w_dremf.c: Likewise.
41126         * math/w_exp10.c: Likewise.
41127         * math/w_exp10f.c: Likewise.
41128         * math/w_exp10l.c: Likewise.
41129         * math/w_exp2.c: Likewise.
41130         * math/w_exp2f.c: Likewise.
41131         * math/w_fmod.c: Likewise.
41132         * math/w_fmodf.c: Likewise.
41133         * math/w_fmodl.c: Likewise.
41134         * math/w_hypot.c: Likewise.
41135         * math/w_hypotf.c: Likewise.
41136         * math/w_hypotl.c: Likewise.
41137         * math/w_j0.c: Likewise.
41138         * math/w_j0f.c: Likewise.
41139         * math/w_j0l.c: Likewise.
41140         * math/w_j1.c: Likewise.
41141         * math/w_j1f.c: Likewise.
41142         * math/w_j1l.c: Likewise.
41143         * math/w_jn.c: Likewise.
41144         * math/w_jnf.c: Likewise.
41145         * math/w_jnl.c: Likewise.
41146         * math/w_lgamma.c: Likewise.
41147         * math/w_lgamma_r.c: Likewise.
41148         * math/w_lgammaf.c: Likewise.
41149         * math/w_lgammaf_r.c: Likewise.
41150         * math/w_lgammal.c: Likewise.
41151         * math/w_lgammal_r.c: Likewise.
41152         * math/w_log.c: Likewise.
41153         * math/w_log10.c: Likewise.
41154         * math/w_log10f.c: Likewise.
41155         * math/w_log10l.c: Likewise.
41156         * math/w_log2.c: Likewise.
41157         * math/w_log2f.c: Likewise.
41158         * math/w_log2l.c: Likewise.
41159         * math/w_logf.c: Likewise.
41160         * math/w_logl.c: Likewise.
41161         * math/w_pow.c: Likewise.
41162         * math/w_powf.c: Likewise.
41163         * math/w_powl.c: Likewise.
41164         * math/w_remainder.c: Likewise.
41165         * math/w_remainderf.c: Likewise.
41166         * math/w_remainderl.c: Likewise.
41167         * math/w_scalb.c: Likewise.
41168         * math/w_scalbf.c: Likewise.
41169         * math/w_scalbl.c: Likewise.
41170         * math/w_sinh.c: Likewise.
41171         * math/w_sinhf.c: Likewise.
41172         * math/w_sinhl.c: Likewise.
41173         * math/w_sqrt.c: Likewise.
41174         * math/w_sqrtf.c: Likewise.
41175         * math/w_sqrtl.c: Likewise.
41176         * math/w_tgamma.c: Likewise.
41177         * math/w_tgammaf.c: Likewise.
41178         * math/w_tgammal.c: Likewise.
41180         * po/ja.po: Update from translation team.
41182 2011-09-29  Andreas Jaeger  <aj@suse.de>
41184         [BZ #13179]
41185         * sunrpc/netname.c (netname2host): Fix logic.
41187         [BZ #6779]
41188         [BZ #6783]
41189         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41190         correctly.
41191         * math/w_remainder.c (__remainder): Likewise.
41192         * math/w_remainderf.c (__remainderf): Likewise.
41193         * math/libm-test.inc (remainder_test): Add test cases.
41195 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41197         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41198         sdiv_qrnnd.
41200 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41202         * string/test-memcmp.c: Avoid unncessary #defines.
41203         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41205 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41207         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41208         Use new sse2 version for core i3 - i7 as it's faster
41209         than sse42 version.
41210         (bit_Prefer_PMINUB_for_stringop): New.
41211         * sysdeps/x86_64/rawmemchr.S: Update.
41212         Replace with faster SSE2 version.
41213         * sysdeps/x86_64/memrchr.S: New file.
41214         * sysdeps/x86_64/memchr.S: Update.
41215         Replace with faster SSE2 version.
41217 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41219         * elf/dl-load.c (lose): Add cast to avoid warning.
41221 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41223         * po/ca.po: Update from translation team.
41225         * inet/getnetgrent_r.c: Hook up nscd.
41226         * nscd/Makefile (routines): Add nscd_netgroup.
41227         (nscd-modules): Add netgroupcache.
41228         (CFLAGS-netgroupcache.c): Define.
41229         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41230         (cache_search): Add const to second parameter.
41231         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41232         INNETGR.
41233         (dbs): Add netgrdb entry.
41234         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41235         (verify_persistent_db): Handle netgrdb.
41236         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41237         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41238         GETFDNETGR.
41239         (netgroup_response_header): Define.
41240         (innetgroup_response_header): Define.
41241         (datahead): Add netgroup_response_header and innetgroup_response_header
41242         elements.
41243         * nscd/nscd.conf: Add entries for netgroup cache.
41244         * nscd/nscd.h (dbtype): Add netgrdb.
41245         (_PATH_NSCD_NETGROUP_DB): Define.
41246         (netgroup_iov_disabled): Declare.
41247         (xmalloc, xcalloc, xrealloc): Move declarations here.
41248         (cache_search): Adjust prototype.
41249         Add netgroup-related prototypes.
41250         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41251         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41252         (__nscd_innetgr): Declare.
41253         * nscd/selinux.c (perms): Use access_vector_t as element type and
41254         add netgroup-related initializers.
41255         * nscd/netgroupcache.c: New file.
41256         * nscd/nscd_netgroup.c: New file.
41257         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41258         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41259         For four parameters use innetgr.
41260         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41261         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41262         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41263         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41265         * nscd/connections.c (register_traced_file): Don't register file
41266         for disabled databases.
41268 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41270         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41272         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41273         from tree and freeing node.
41275 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41277         * nss/nsswitch.c (__nss_database_lookup): Handle
41278         nss_parse_service_list out of memory case.
41280 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41282         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41283         out of memory case.
41285 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41287         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41288         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41289         pass it down.
41290         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41291         elf_machine_rela, elf_machine_lazy_rel.
41292         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41293         (ELF_DYNAMIC_DO_REL): Likewise.
41294         (ELF_DYNAMIC_DO_RELA): Likewise.
41295         (ELF_DYNAMIC_RELOCATE): Likewise.
41296         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41297         to ELF_DYNAMIC_DO_REL.
41298         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41299         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41300         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41301         elf_machine_rela.
41302         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41303         skip_ifunc, don't call ifunc function if non-zero.
41304         (elf_machine_rela): Likewise.
41305         (elf_machine_lazy_rel): Likewise.
41306         (elf_machine_lazy_rela): Likewise.
41307         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41308         (elf_machine_lazy_rel): Likewise.
41309         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41310         Likewise.
41311         (elf_machine_lazy_rel): Likewise.
41312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41313         Likewise.
41314         (elf_machine_lazy_rel): Likewise.
41315         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41316         (elf_machine_lazy_rel): Likewise.
41317         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41318         (elf_machine_lazy_rel): Likewise.
41319         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41320         (elf_machine_lazy_rel): Likewise.
41321         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41322         (elf_machine_lazy_rel): Likewise.
41323         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41324         (elf_machine_lazy_rel): Likewise.
41325         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41326         (elf_machine_lazy_rel): Likewise.
41328 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41330         * nss/nss_files/files-init.c (_nss_files_init): Use static
41331         initialization for all the *_traced_file variables.
41333 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41335         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41337 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41339         [BZ #13226]
41340         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41342 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41345         Reread the line before reparsing it.
41347 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41349         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41351 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41352             Maxim Kuvyrkov  <maxim@codesourcery.com>
41353             Joseph Myers  <joseph@codesourcery.com>
41355         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41356         if needed for __stack_chk_guard.
41358 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41360         * sysdeps/posix/spawni.c (script_execute): Always define it.
41361         It will be optimized away if unused.
41362         (maybe_script_execute): New function.
41363         (__spawni): Call it.
41365         * Makerules: Don't include tls.make.
41366         (config-tls): Always set to thread.
41367         * tls.make.c: File removed.
41369 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41371         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41372         * config.make.in (CPPFLAGS-config): New substituted variable.
41374 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41376         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41378         [BZ #13192]
41379         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41380         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41382 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41384         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41385         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41386         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41387         (CALL_FAIL): Likewise.
41388         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41389         (CALL_FAIL): Macro removed.
41390         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41392 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41394         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41395         for __FINITE_MATH_ONLY__ == 1.
41397 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41399         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41400         __ieee754_sqrt instead of sqrt.
41401         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41402         __ieee754_sqrtf instead of sqrtf.
41403         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41404         __floorf instead of floorf.
41405         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41406         __floorf, __truncf instead of floorf, truncf.
41408 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41410         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41412         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41413         __extern_always_inline.
41414         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41415         32-bit.
41417 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41419         * elf/rtld.c (dl_main): Also relocate in dependency order when
41420         doing symbol dependency testing.
41422 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41425         Always define `refsym'.
41427 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41429         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41430         (__FD_ELT): Renamed from __FDELT.
41431         * misc/bits/select2.h (__FD_ELT): Likewise.
41432         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41433         __FD_MASK instead of __FDELT, __FDMASK.
41434         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41435         Likewise.
41436         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41437         Likewise.
41439         * elf/Makefile (gen-ldd): Fix pattern.
41441         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41442         (init_tls): Likewise.
41444 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41446         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41448 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41450         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41451         `struct cmsghdr *' instead of `void *'.
41452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41453         Likewise.
41455 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41457         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41458         if non-absolute.
41459         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41460         ldd_rewrite_script.
41462 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41464         * configure.in: Remove --with-tls option.
41465         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41466         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41467         out in case it is missing.
41468         * sysdeps/ia64/elf/configure.in: Likewise.
41469         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41470         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41471         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41472         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41473         * sysdeps/sh/elf/configure.in: Likewise.
41474         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41475         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41476         * sysdeps/x86_64/elf/configure.in: Likewise.
41477         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41478         * sysdeps/mach/hurd/tls.h: Likewise.
41480         [BZ #13067]
41481         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41483         [BZ #13090]
41484         * configure.in: Fix use of AC_INIT.
41486         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41488 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41490         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41491         __set_errno.
41492         * malloc/hooks.c: Likewise.
41494         [BZ #11929]
41495         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41496         variables statically.
41497         (narenas): Initialize.
41498         (list_lock): Initialize.
41499         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41500         initializtion of main_arena and list_lock.  Small cleanups.
41501         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41502         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41503         Add initializers to main_arena and mp_.
41504         (malloc_state): Remove pagesize member.  Change all users to use
41505         GLRO(dl_pagesize).
41507         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41508         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41509         is always initialized.
41511         * malloc/malloc.c: Removed unused configurations and dead code.
41512         * malloc/arena.c: Likewise.
41513         * malloc/hooks.c: Likewise.
41514         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41516         * include/tls.h: Removed.  USE___THREAD must always be defined.
41517         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41518         * elf/dl-libc.c: Likewise.
41519         * elf/dl-tsd.c: Likewise.
41520         * include/errno.h: Likewise.
41521         * include/netdb.h: Likewise.
41522         * include/resolv.h: Likewise.
41523         * inet/herrno-loc.c: Likewise.
41524         * inet/herrno.c: Likewise.
41525         * malloc/arena.c: Likewise.
41526         * malloc/hooks.c: Likewise.
41527         * malloc/malloc.c: Likewise.
41528         * resolv/res-state.c: Likewise.
41529         * resolv/res_libc.c: Likewise.
41530         * sysdeps/i386/dl-machine.h: Likewise.
41531         * sysdeps/ia64/dl-machine.h: Likewise.
41532         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41533         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41534         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41535         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41536         * sysdeps/sh/dl-machine.h: Likewise.
41537         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41538         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41539         * sysdeps/unix/i386/sysdep.S: Likewise.
41540         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41541         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41546         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41550         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41551         * sysdeps/x86_64/dl-machine.h: Likewise.
41552         * tls.make.c: Likewise.
41554         * configure.in: Remove --with-__thread option.  Make tests for
41555         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41556         tls_model attribute fail if no support is available.  Remove
41557         USE_IN_LIBIO.
41558         * Makeconfig: Adjust for dropped configure option.  All features are
41559         now mandatory.
41560         * Makerules: Likewise.
41561         * Versions.def: Likewise.
41562         * argp/argp-fmtstream.c: Likewise.
41563         * argp/argp-fmtstream.h: Likewise.
41564         * argp/argp-help.c: Likewise.
41565         * assert/assert.c: Likewise.
41566         * config.h.in: Likewise.
41567         * config.make.in: Likewise.
41568         * configure: Likewise.
41569         * configure.in: Likewise.
41570         * csu/Versions: Likewise.
41571         * csu/init.c: Likewise.
41572         * elf/tst-audit2.c: Likewise.
41573         * elf/tst-tls10.c: Likewise.
41574         * elf/tst-tls10.h: Likewise.
41575         * elf/tst-tls11.c: Likewise.
41576         * elf/tst-tls12.c: Likewise.
41577         * elf/tst-tls14.c: Likewise.
41578         * elf/tst-tlsmod11.c: Likewise.
41579         * elf/tst-tlsmod12.c: Likewise.
41580         * elf/tst-tlsmod13.c: Likewise.
41581         * elf/tst-tlsmod13a.c: Likewise.
41582         * elf/tst-tlsmod14a.c: Likewise.
41583         * elf/tst-tlsmod15b.c: Likewise.
41584         * elf/tst-tlsmod16a.c: Likewise.
41585         * elf/tst-tlsmod16b.c: Likewise.
41586         * elf/tst-tlsmod7.c: Likewise.
41587         * elf/tst-tlsmod8.c: Likewise.
41588         * elf/tst-tlsmod9.c: Likewise.
41589         * gmon/gmon.c: Likewise.
41590         * grp/fgetgrent_r.c: Likewise.
41591         * grp/putgrent.c: Likewise.
41592         * hurd/fopenport.c: Likewise.
41593         * include/libc-symbols.h: Likewise.
41594         * include/tls.h: Likewise.
41595         * intl/gettextP.h: Likewise.
41596         * intl/loadinfo.h: Likewise.
41597         * locale/global-locale.c: Likewise.
41598         * locale/localeinfo.h: Likewise.
41599         * mach/devstream.c: Likewise.
41600         * malloc/arena.c: Likewise.
41601         * malloc/set-freeres.c: Likewise.
41602         * misc/err.c: Likewise.
41603         * misc/getttyent.c: Likewise.
41604         * misc/mntent_r.c: Likewise.
41605         * posix/getopt.c: Likewise.
41606         * posix/wordexp.c: Likewise.
41607         * pwd/fgetpwent_r.c: Likewise.
41608         * resolv/Versions: Likewise.
41609         * resolv/res_hconf.c: Likewise.
41610         * shadow/fgetspent_r.c: Likewise.
41611         * shadow/putspent.c: Likewise.
41612         * stdio-common/printf_fphex.c: Likewise.
41613         * stdio-common/tmpfile.c: Likewise.
41614         * stdlib/abort.c: Likewise.
41615         * stdlib/fmtmsg.c: Likewise.
41616         * sunrpc/auth_unix.c: Likewise.
41617         * sunrpc/clnt_perr.c: Likewise.
41618         * sunrpc/clnt_tcp.c: Likewise.
41619         * sunrpc/clnt_udp.c: Likewise.
41620         * sunrpc/clnt_unix.c: Likewise.
41621         * sunrpc/openchild.c: Likewise.
41622         * sunrpc/svc_simple.c: Likewise.
41623         * sunrpc/svc_tcp.c: Likewise.
41624         * sunrpc/svc_udp.c: Likewise.
41625         * sunrpc/svc_unix.c: Likewise.
41626         * sunrpc/xdr.c: Likewise.
41627         * sunrpc/xdr_array.c: Likewise.
41628         * sunrpc/xdr_rec.c: Likewise.
41629         * sunrpc/xdr_ref.c: Likewise.
41630         * sunrpc/xdr_stdio.c: Likewise.
41632 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41634         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41636 2011-07-03  Andreas Jaeger  <aj@suse.de>
41638         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41639         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41640         regenerate with gen-libm-tests.pl.
41642 2010-05-12  Petr Baudis  <pasky@suse.cz>
41644         [BZ #11589]
41645         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41646         around j0() zero points by switching to j1().
41647         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41648         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41650         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41652 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41654         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41655         instead of 0.
41656         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41657         instead of 0.
41658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41659         Patch in part by Pavel Roskin <proski@gnu.org>.
41661         [BZ #13138]
41662         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41663         realloc.
41664         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41665         Free memory block if necessary.
41667         [BZ #12847]
41668         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41669         be NULL.  Don't lock in this case.
41671 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41673         * elf/elf.h (ELFOSABI_GNU): New macro.
41674         (ELFOSABI_LINUX): Define to that.
41676 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41678         * string/strncat.c (strncat): Undef the symbol in case it has been
41679         defined in bits/string.h.
41681 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41683         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41685         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41686         link map.
41688 2011-08-17  Andreas Jaeger  <aj@suse.de>
41690         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41692 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41693             Ian Lance Taylor  <iant@google.com>
41695         * math/libm-test.inc (lround_test): New testcase.
41696         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41698 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41700         * Makefile: Remove support for automatic cvs check-ins.
41701         * Makerules: Likewise.
41702         * config.make.in: Likewise.
41703         * configure.in: Likewise.
41704         * intl/Makefile: Likewise.
41705         * locale/Makefile: Likewise.
41706         * po/Makefile: Likewise.
41707         * posix/Makefile: Likewise.
41708         * sysdeps/gnu/Makefile: Likewise.
41709         * sysdeps/mach/hurd/Makefile: Likewise.
41710         * sysdeps/sparc/sparc32/Makefile: Likewise.
41712         [BZ #13118]
41713         * posix/Makefile (bug-regex32-ENV): Define.
41714         Patch by John Stanley <jpsinthemix@verizon.net>.
41716         * misc/Makefile (headers): Add bits/select2.h.
41717         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41718         * misc/bits/select2.h: New file.
41719         * include/bits/select2.h: New file.
41720         * debug/Makefile (routines): Add fdelt_chk.
41721         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41722         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41723         FD_ISSET.
41724         * debug/fdelt_chk.c: New file.
41726         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41727         * wcsmbs/test-wmemcmp.c: Likewise.
41728         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41729         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41731 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41733         * string/Makefile (strop-tests): Add memcmp.
41734         * string/test-wmemcmp.c: New file.
41735         * string/test-memcmp.c: Add wmemcmp support.
41737 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41739         [BZ #13153]
41740         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41741         2011-07-19 change.
41743         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41744         garbage value in a __mach_port_mod_refs call in the cases of the
41745         task-self and thread-self ports.
41747 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41749         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41751 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41753         * elf/dl-load.c (lose): Check for non-null L.
41755 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41757         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41759         * elf/dl-libc.c (dlerror_run): Pass back error code from
41760         dl_catch_error.
41762         [BZ #13123]
41763         * elf/dl-load.c (lose): Free l_origin if it is valid.
41765         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41766         names.
41767         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41768         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41769         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41770         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41772         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41774 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41776         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41777         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41778         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41779         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41780         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41781         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41782         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41783         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41784         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41785         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41787 2011-08-15  Alan Modra  <amodra@gmail.com>
41789         [BZ #13092]
41790         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41791         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41792         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41793         ppc_mcount to static-only-routines.
41794         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41795         __mcount_internal.
41796         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41797         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41799 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41801         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41802         for finite and infinity parameters.
41804 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41806         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41807         and add nop instructions for throughput optimization.
41808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41810 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41812         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41813         aligned copy for power7 with vector-scalar instructions.
41814         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41816 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41819         AVX check.
41821 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41823         [BZ #13144]
41824         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41825         last change.
41827 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41829         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41830         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41831         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41832         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41833         clock_gettime.
41835 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41837         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41838         Forgot to demangle the pointer.
41840         * sysdeps/i386/sysdep.h: Define atom_text_section.
41841         * sysdeps/x86_64/sysdep.h: Likewise.
41842         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41843         section with atom_text_section.
41844         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41845         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41846         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41848         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41850         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41851         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41852         already be defined.  Change to take two parameters and don't assign
41853         result to variable.  Adjust all users.
41854         Define INTERNAL_GETTIME if not already defined.
41855         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41856         call.
41857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41858         HAVE_CLOCK_GETTIME_VSYSCALL.
41859         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41862         gettimeofday vsyscall, just use time.
41864 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41867         <errno.h>.
41869 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41871         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41872         syscall on x86-64.
41873         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41874         syscall.
41875         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41877         syscall if possible.
41879 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41881         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41882         e_ident.  Don't pass to find_mapsXX.
41883         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41885 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41888         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41889         * sysdeps/x86_64/multiarch/strchr.S: Update.
41890         Check bit_slow_BSF bit.
41891         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41892         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41893         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41895 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41897         [BZ #13134]
41898         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41899         before glibc 2.15.
41900         (tryshell): Define.
41901         (__spawni): Change last parameter to be flag.  Test
41902         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41903         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41904         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41905         * posix/spawni.c: Likewise.
41906         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41907         * posix/spawnp.c: Likewise.  Change normal version to use
41908         SPAWN_XFLAGS_USE_PATH.
41909         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41910         SPAWN_XFLAGS_TRY_SHELL.
41912         [BZ #13150]
41913         * posix/glob.h: Remove gcc 1.x support.
41915         [BZ #13068]
41916         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41918 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41921         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41922         strrchr-sse2-bsf
41923         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41924         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41925         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41926         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41927         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41928         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41930 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41932         * sysdeps/x86_64/wcscmp.S: New file.
41934         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41935         wcscmp-c wcscmp-sse2
41936         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41937         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41938         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41939         * wcsmbs/wcscmp.c: Allow renaming.
41941 2011-09-05  David S. Miller  <davem@davemloft.net>
41943         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41944         stack slot, rather than the struct return pointer slot.
41945         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41946         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41948         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41950 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41952         * po/ja.po: Update from translation team.
41954         [BZ #13144]
41955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41956         kernel in 64-bit binaries.
41958 2011-09-01  David S. Miller  <davem@davemloft.net>
41960         * elf/elf.h (HWCAP_SPARC_*): Move to..
41961         * sysdeps/sparc/sysdep.h: this new file and add new values.
41962         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41963         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41964         _DL_HWCAP_COUNT to 24.
41965         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41966         entries.
41967         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41968         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41969         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41970         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41971         instead of magic constants.
41972         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41974 2011-08-31  David S. Miller  <davem@davemloft.net>
41976         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41978         Reimplement to do errno handling inline.
41979         (SYSCALL_ERROR_HANDLER): New macro.
41980         (__SYSCALL_STRING): Do not do errno handling in asm.
41981         (__CLONE_SYSCALL_STRING): Delete.
41982         (__INTERNAL_SYSCALL_STRING): Delete.
41983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41984         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41985         (PSEUDO): Reimplement to do errno handling inline.
41986         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41987         (SYSCALL_ERROR_HANDLER): New macro.
41988         (__SYSCALL_STRING): Do not do errno handling in asm.
41989         (__CLONE_SYSCALL_STRING): Delete.
41990         (__INTERNAL_SYSCALL_STRING): Delete.
41991         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41992         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41993         i386.
41994         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41995         (inline_syscall*): Add 'err' argument.
41996         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41997         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41998         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41999         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42001         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42002         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42004 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42006         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42008 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42010         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42011         directive.
42013 2011-08-24  David S. Miller  <davem@davemloft.net>
42015         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42017 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42019         * elf/Makefile: Add rules to build and run unload8 test.
42020         * elf/unload8.c: New file.
42021         * elf/unload8mod1.c: New file.
42022         * elf/unload8mod1x.c: New file.
42023         * elf/unload8mod2.c: New file.
42024         * elf/unload8mod3.c: New file.
42026         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42027         it wasn't used.
42029 2011-08-23  David S. Miller  <davem@davemloft.net>
42031         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42032         subtract stack bias.
42033         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42034         %sp not %fp in calculations.
42035         (_JMPBUF_UNWINDS_ADJ): Likewise.
42037         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42038         (aio_suspend): Call it to force an exception region around the
42039         AIO_MISC_WAIT() invocation.
42041 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42043         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42044         backslash.
42046 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42048         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42049         protection macro.
42050         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42051         and <dl-machine.h>.
42052         (Elf64_FuncDesc): Remove.
42054 2011-08-22  David S. Miller  <davem@davemloft.net>
42056         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42057         sigaltstack check, add missing cfi directives.
42058         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42059         missing cfi directives, and sigaltstack handling.
42061 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42063         [BZ #11724]
42064         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42065         object is seen twice.
42066         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42068         * elf/Makefile (distribute): Add tst-initorder2.c.
42069         (tests): Add tst-initorder2.
42070         (modules-names): Add tst-initorder2a tst-initorder2b
42071         tst-initorder2c tst-initorder2d.  Add rules to build them.
42072         ($(objpfx)tst-initorder2.out): New rule.
42073         * elf/tst-initorder2.c: New file.
42074         * elf/tst-initorder2.exp: New file.
42076 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42078         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42080         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42081         dependencies back to end of function.
42083         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42084         $(elfobjdir)/ld.so.
42086 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42089         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42090         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42091         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42092         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42093         of __vdso_gettimeofday.
42094         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42095         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42096         attribute_hidden.
42097         (_libc_vdso_platform_setup): Remove initialization of
42098         __vdso_gettimeofday and __vdso_time.
42100 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42102         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42103         and fgetc_unlocked.
42104         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42105         getc_unlocked.
42107         * elf/dl-open.c (add_to_global): Report additions to the global scope
42108         for LD_DEBUG=scopes.
42109         (dl_open_worker): Also print scope of newly loaded dependencies.
42110         (_dl_show_scope): Indicate if there is no scope.
42112         [BZ #13114]
42113         * stdio-common/Makefile (tests): Add bug24.
42114         * stdio-common/bug24.c: New file.
42116 2011-08-19  Andreas Jaeger  <aj@suse.de>
42118         [BZ #13114]
42119         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42120         non-existant file when using close-on-exec mode.
42122 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42125         the very first instruction.
42127         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42128         the CFI state in the end.
42129         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42130         inclusion of dl-trampoline.h.
42131         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42133 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42135         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42136         expectations for long double.
42138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42139         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42141 2011-08-14  David S. Miller  <davem@davemloft.net>
42143         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42144         artificual limit depends upon the system page size.
42146 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42148         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42149         * resolv/Makefile: Define CFLAGS-libresolv.
42151 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42153         * nss/makedb.c (compute_tables): Make variables used in nested
42154         function static.
42156 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42158         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42159         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42160         if buffer was too small.
42162         * elf/pldd.c (main): Attach to all threads in the process.
42163         Rewrite /proc handling to use *at functions.
42165 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42167         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42168         specifies first scope to show.
42169         (dl_open_worker): Update callers.  Move printing scope of new
42170         object to before the relocation.
42171         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42172         * sysdeps/generic/ldsodefs.h: Update declaration.
42174         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42175         string for the scope number.
42177 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42179         * nscd/servicescache.c (cache_addserv): Make sure written is always
42180         initialized.
42182 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42184         * sysdeps/i386/i486/bits/atomic.h
42185         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42186         statement expression, so as to suppress "set but not used" warning.
42187         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42189         * string/strncat.c (STRNCAT): Use prototype definition.
42191         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42192         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42193         -Iprograms here.
42194         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42195         (localedef-modules): Add localedef.
42196         (locale-modules): Add locale.
42198         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42199         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42200         to avoid a warning.
42202 2011-08-14  David S. Miller  <davem@davemloft.net>
42204         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42205         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42207 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42209         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42210         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42211         * elf/rtld.c (dl_main): Set l_name of vDSO.
42212         Call _dl_show_scope when DL_DEBUG_SCOPES.
42213         (process_dl_debug): Recognize scopes flag and also set it for all.
42214         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42215         Declare _dl_show_scope.
42217         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42218         (do_dlopen): Pass caller_dlopen to dl_open.
42219         (__libc_dlopen_mode): Initialize caller_dlopen.
42221         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42222         of libc.  Make tolower call locale-independent.  Optimize a bit by
42223         using isdigit instead of isalnum.
42224         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42226 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42228         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42229         was a dependency or dynamically loaded.
42231 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42233         * intl/l10nflist.c: Allow architecture-specific pop function.
42234         * sysdeps/x86_64/l10nflist.c: New file.
42236         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42237         classification.
42239 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42241         * include/dirent.h: Add libc_hidden_proto for scandirat and
42242         scandirat64.  Don't declare __scandirat64.
42243         * dirent/scandirat.c: Add libc_hidden_def.
42244         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42245         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42247 2011-08-10  David S. Miller  <davem@davemloft.net>
42249         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42250         enum.
42251         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42252         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42255 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42257         * Versions.def [libc]: Add GLIBC_2.15.
42258         * dirent/Makefile (routines): Add scandirat and scandirat64.
42259         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42260         GLIBC_2.15.
42261         * dirent/dirent.h: Declare scandirat and scandirat64.
42262         * dirent/scandirat.c: New file.
42263         * dirent/scandirat64.c: New file.
42264         * sysdeps/wordsize-64/scandirat.c: New file.
42265         * sysdeps/wordsize-64/scandirat64.c: New file.
42266         * dirent/opendir.c: Define opendirat.
42267         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42268         using scandirat.
42269         * dirent/scandir64.c: Adjust for scandir.c change.
42270         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42271         __scandirat64, and __scandir_cancel_handler.
42272         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42273         additional parameter and use openat instead of open (outside of ld.so).
42274         Add new __opendir as wrapper around __opendirat.
42275         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42276         here without requiring old scandirat implementation.
42278 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42280         * dirent/scandir.c (cancel_handler): Renamed to
42281         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42282         defined.  Adjust users.
42283         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42284         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42286 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42288         * string/test-string.h (IMPL): Use __STRING to expand name and then
42289         stringify it.
42291         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42292         of cleanups.
42294 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42296         * string/Makefile: Update.
42297         (strop-tests): Append strncat.
42298         * string/test-wcscmp.c: New file.
42299         New comprehensive test for wcscmp.
42300         * string/test-strcmp.c: Update.
42301         (WIDE): New define.
42303 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42305         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42306         line.
42308 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42311         encoding to ACE if AI_IDN.
42313 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42315         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42316         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42318 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42320         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42321         Fix overflow bug in strncat.
42322         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42324         * string/test-strncat.c: Update.
42325         Add new tests for checking overflow bugs.
42327 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42330         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42331         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42332         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42333         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42334         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42335         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42336         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42337         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42340         (USE_AS_STRCAT): Define.
42341         Add strcat and strncat support.
42342         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42344 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42346         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42347         __n bigger than INT_MAX+1.
42348         (__strncmp_g): Likewise.
42350 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42352         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42353         * libio/stido.h: Likewise.
42355         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42356         (AF_NFC): Define.
42357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42358         (AF_NFC): Define.
42360         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42361         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42362         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42363         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42366         [BZ #13021]
42367         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42368         installed.
42370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42371         typo.
42372         (_dl_x86_64_save_sse): Likewise.
42374 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42377         OSXSAVE.
42378         (_dl_x86_64_save_sse): Likewise.
42380         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42382         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42384 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42387         change.
42388         (_dl_x86_64_save_sse): Use correct AVX check.
42390 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42392         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42393         bug in strncpy/strncat.
42394         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42396 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42398         * string/tester.c (test_strcat): Add tests for different alignments
42399         of source and destination.
42400         (test_strncat): Likewise.
42402 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42404         [BZ #12852]
42405         * posix/glob.c (glob): Check passed in values before using them in
42406         expressions to avoid some overflows.
42407         (glob_in_dir): Likewise.
42409         [BZ #13007]
42410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42411         check for AVX enablement so that we don't crash with old kernels and
42412         new hardware.
42413         * elf/tst-audit4.c: Add same checks here.
42414         * elf/tst-audit6.c: Likewise.
42416         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42418 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42420         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42422 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42424         * po/cs.po: Update from translation team.
42425         * po/bg.po: Likewise.
42427 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42429         * misc/sys/cdefs.h: Add support for const attribute.
42430         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42431         to gnu_dev_{major,minor,makedev} functions.
42433 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42435         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42437 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42439         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42440         strlen results.
42442 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42445         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42446         register in order to avoid conflicts with the soft frame pointer
42447         being held in r11 when necessary.
42448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42449         (INTERNAL_VSYSCALL_NCS): Likewise.
42451 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42453         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42454         * elf/dl-fini.c (_dl_fini): Adjust caller.
42455         * elf/dl-close.c (_dl_close_worker): Likewise.
42456         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42458 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42460         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42461         "aux_cache->nlibs < 0".
42463         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42464         in the reload-count case.
42466 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42469         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42470         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42471         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42472         * sysdeps/x86_64/multiarch/strcat.S: New file.
42473         * sysdeps/x86_64/multiarch/strncat.S: New file.
42474         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42475         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42476         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42477         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42478         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42479         (USE_AS_STRCAT): Define.
42480         Add strcat and strncat support.
42481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42482         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42483         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42484         * string/strncat.c: Update.
42485         (USE_AS_STRNCAT): Define.
42486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42487         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42488         and i7.
42489         * sysdeps/x86_64/multiarch/init-arch.h
42490         (bit_Prefer_PMINUB_for_stringop): New.
42491         (index_Prefer_PMINUB_for_stringop): Likewise.
42492         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42493         bit_Prefer_PMINUB_for_stringop.
42495 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42497         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42498         buffer64.
42499         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42500         of casting of buffer.
42501         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42502         buffer32 and buffer64.
42503         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42504         writes instead of casting of buffer.
42505         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42506         buffer32.
42507         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42508         casting of buffer.
42510 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42512         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42514 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42516         * nscd/nscd.c (termination_handler): Don't do anything for a database
42517         if it has not yet been initialized.
42519 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42521         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42523 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42525         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42527 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42529         * po/nl.po: Update from translation team.
42530         * po/sv.po: Likewise.
42532 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42534         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42535         now disallowed by GCC.
42537         * configure.in (use-default-link): Default to yes if a test -shared
42538         link meets our qualifications.
42539         * configure: Regenerated.
42541         * config.make.in (output-format): New variable.
42542         * configure.in: Check for ld --print-output-format support.
42543         * configure: Regenerated.
42544         * Makerules ($(common-objpfx)format.lds)
42545         [$(output-format) != unknown]: Just use $(output-format),
42546         instead of the linker-script munging.
42548 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42550         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42551         of $(common-objpfx)shlib.lds.
42552         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42554         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42555         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42557         * configure.in (-z relro check): Adjust test code to add a large
42558         writable data section after it.
42559         * configure: Regenerated.
42561 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42563         * configure.in (-z relro check): Fix test code to make the variable
42564         truly const.
42565         * configure: Regenerated.
42567 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42569         * nscd/nscd.h (struct traced_file): Define.
42570         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42571         elements.  Add traced_files.
42572         (inotify_fd): Declare.
42573         (register_traced_file): Declare.
42574         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42575         (inotify_fd): Export.
42576         (resolv_conf_descr): Remove.
42577         (nscd_init): Move inotify descriptor creation to main.
42578         Don't register files for notification here.
42579         (register_traced_file): New function.
42580         (invalidate_cache): Don't use reset_res to determine whether to call
42581         res_init, go through the list of registered files.
42582         (main_loop_poll): The inotify descriptors are now stored in the
42583         structures for the traced files.
42584         (main_loop_epoll): Likewise
42585         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42586         to __nss_disable_nscd.
42587         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42588         for a database anymore.  Check the records for all the registered
42589         files instead.
42590         * nss/Makefile (libnss_files-routines): Add files-init.
42591         (libnss_db-routines): Add db-init.
42592         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42593         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42594         * nss/nss_db/db-init.c: New file.
42595         * nss/nss_files/files-init.c: New file.
42596         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42597         __nss_lookup_function.
42598         (__nss_lookup_function): Call nss_load_library.
42599         (nss_load_all_libraries): New function.
42600         (__nss_disable_nscd): Take parameter with callback function for files
42601         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42602         used for the cached services.
42603         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42604         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42605         options for features to all the files in nscd.
42607         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42609 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42611         * csu/elf-init.c (__libc_csu_init): Comment typo.
42613 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42615         * po/pl.po: Update from translation team.
42616         * po/ja.po: Likewise.
42617         * po/ru.po: Likewise.
42618         * po/ko.po: Likewise.
42619         * po/fr.po: Likewise.
42621 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42623         * configure.in (.ctors/.dtors header and trailer check):
42624         Use an empirical test on a built program.
42625         * configure: Regenerated.
42627         * configure.in (-z relro check): Use an empirical test on a built DSO.
42628         Detect, but do not require, on ia64.
42629         * configure: Regenerated.
42631         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42632         Update tests that use readelf to use $READELF instead.
42633         * configure: Regenerated.
42635 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42637         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42638         if the result is not used.
42640 2011-07-05  Andreas Jaeger  <aj@suse.de>
42642         [BZ#9696]
42643         * stdlib/tst-strtod.c: Add testcase.
42645 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42647         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42648         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42649         The latter has a higher limit.  Take additional parameter to pass to
42650         the new function.
42651         (__pathconf): Pass file to __statfs_link_max.
42652         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42653         __statfs_link_max.
42654         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42655         __statfs_link_max.
42657         [BZ #12868]
42658         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42659         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42660         Handle Lustre.
42661         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42662         (__statfs_filesize_max): Likewise.
42663         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42665 2011-07-05  Andreas Jaeger  <aj@suse.de>
42667         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42669 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42671         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42672         `status' variable.
42673         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42674         Likewise.
42676 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42678         * Makefile (strop-tests): Add strncat.
42679         * string/test-strncat.c: New file.
42681 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42683         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42685 2011-06-21  Andreas Jaeger  <aj@suse.de>
42687         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42688         Copy rule from iconvdata/Makefile.
42690 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42692         [BZ #12922]
42693         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42694         but no long options are defined, just return 'W'.
42696 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42698         [BZ #9696]
42699         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42701 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42703         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42704         netgroups to read.
42705         (innetgr): Likewise.
42707 2011-07-05  Roland McGrath  <roland@hack.frob.com>
42709         * config.make.in (install_root): Default to $(DESTDIR).
42711 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
42713         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42715 2011-07-02  Roland McGrath  <roland@hack.frob.com>
42717         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42719         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42720         containing directory rather than embedding absolute directory names.
42722         * scripts/check-local-headers.sh: Rewritten using awk.
42723         Match by word, not by line.  Print error messages for matches.
42724         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42726         * Makerules [shlib-lds-flags empty]:
42727         ($(common-objpfx)libc_pic.opts): New target.
42728         ($(common-objpfx)libc_pic.os.clean): New target.
42729         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42731         * config.make.in (OBJCOPY): New variable.
42732         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42733         * configure: Regenerated.
42735         * config.make.in (use-default-link): New variable.
42736         * configure.in (use_default_link): Grok --with-default-link to set it.
42737         * configure: Regenerated.
42738         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42739         (shlib-lds, shlib-lds-flags): Define to empty.
42741         * Makerules (shlib-lds): New variable.
42742         (shlib-lds-flags): New variable.
42743         (build-shlib, build-moduile, build-module-asneeded): Use it.
42744         ($(common-objpfx)libc.so): Use $(shlib-lds).
42745         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42746         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42748         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42749         DT_FLAGS/DT_FLAGS_1 with zero flags.
42751         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42752         linker script munging.
42754 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42756         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42757         as 128-bit value.
42758         * crypt/sha512.c (sha512_process_block): Perform total addition using
42759         128-bit if possible.
42760         (__sha512_finish_ctx): Likewise.
42761         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42762         as 64-bit value.
42763         * crypt/sha256.c (SWAP64): Define.
42764         (sha256_process_block): Perform total addition using 64-bit if
42765         possible.
42766         (__sha256_finish_ctx): Likewise.
42768 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42770         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42772         * nscd/hstcache.c (cache_addhst): Likewise.
42773         * nscd/grpcache.c (cache_addgr): Likewise.
42774         * nscd/aicache.c (addhstaiX): Likewise
42775         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42777 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42779         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42780         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42781         * nscd/hstcache.c (cache_addhst): Likewise.
42782         * nscd/grpcache.c (cache_addgr): Likewise.
42783         * nscd/aicache.c (addhstaiX): Likewise
42785 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42787         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42788         domain only when needed.
42790 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42793         is always restored.
42795 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42797         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42798         are re-adding the entry.
42799         * nscd/servicescache.c (cache_addserv): Likewise.
42801 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42803         * sysdeps/generic/dl-irel.h: fix protection against multiple
42804         inclusions.
42805         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42807 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42809         [BZ #12935]
42810         * malloc/memusage.sh: Fix quoting in message.
42811         * debug/xtrace.sh: Likewise.
42813         * configure.in: Remove support for --experimental-malloc option, make
42814         it the default.
42815         * config.make.in: Likewise.
42816         * malloc/Makefile: Likewise.
42818 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42820         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42821         two-byte characters.
42823 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42825         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42826         AC_CACHE_CHECK invocation.
42827         * configure: Regenerated.
42829         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42831 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42833         [BZ #12350]
42834         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42835         bit from old_res_options.
42837         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42839         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42840         value type for setfct.
42842 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42845         __gettimeofday instead of gettimeofday.
42847 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42849         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42851 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42853         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42856         info.
42858 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42861         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42862         strcpy-sse2-unaligned strncpy-sse2-unaligned
42863         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42864         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42865         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42866         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42867         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42868         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42869         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42870         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42871         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42872         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42873         (STRCPY): Support SSE2 and SSSE3 versions.
42875 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42877         [BZ #12874]
42878         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42879         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42880         kernels which artificially limit size of requests.
42882 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42884         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42885         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42886         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42887         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42888         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42889         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42890         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42891         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42892         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42893         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42894         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42895         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42896         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42897         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42898         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42900         Enable unaligned load optimization for Intel Core i3, i5 and i7
42901         processors.
42902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42903         Define.
42904         (index_Fast_Unaligned_Load): Define.
42905         (HAS_FAST_UNALIGNED_LOAD): Define.
42907 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42909         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42911 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42913         [BZ #12907]
42914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42915         until it is clear that the information is realy needed.
42916         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42918 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42922 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42924         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42925         /sys/devices/system/cpu/online if it is usable.
42927         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42928         reading the information from the /proc filesystem to once a second.
42930 2011-06-21  Andreas Jaeger  <aj@suse.de>
42932         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42933         NULL after inclusion of kernel headers.
42935 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42937         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42938         calls to internal_setent.
42940         [BZ #12885]
42941         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42942         addresses using gethostbyname4_r ignore IPv4 addresses.
42944         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42945         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42947         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42949 2011-06-20  David S. Miller  <davem@davemloft.net>
42951         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42952         inclusions.
42953         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42955         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42956         (elf_irel): Use it.
42957         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42958         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42959         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42960         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42961         * sysdeps/x86_64/dl-irel.h: Likewise.
42963         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42964         * elf/dl-sym.c: Likewise.
42966 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42968         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42969         need to dereference resplen2.
42971 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42973         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42975 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42977         * Makeconfig: Define vardbdir and inst_vardbdir.
42978         * nss/Makefile: Add rules to install db-Makefile.
42980         * nss/nss_db/db-XXX.c: Cleanup.
42982         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42983         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42984         GLIBC_PRIVATE.
42985         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42986         * nss/makedb.c: Implement -g option to specify that value strings
42987         are generated and should not be added to table iterated over for
42988         get*ent calls.
42989         * nss/nss_db/db-initgroups.c: New file.
42991         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42992         interface.
42994         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42995         (internal_getgrouplist): Adjust to name change.
42996         Update use_initgroups_entry if this is not the first call.
42997         * nss/databases.def: Add initgroups entry.
42999         * nss/makedb.c (compute_tables): Check result of multiple hash table
43000         sizes to minimize maximum chain length.
43002 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43004         * Versions.def: Add entry for libnss_db.
43005         * shlib-versions: Likewise.
43006         * nss/Makefile: Add rules to build libnss_db.
43007         * nss/Versions: Add libnss_db information.  Organize libnss_files
43008         entries better.
43009         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43010         makedb progra.  Some minor improvements to generate smaller files.
43011         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43012         here from...
43013         * nss/makedb.c: ...here.
43014         Improve database format to be smaller and require less memory at
43015         runtime.
43016         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43017         db anymore.
43018         * nss/nss_db/db-netgrp.c: Likewise.
43019         * nss/nss_db/db-open.c: Likewise.
43020         * nss/nss_files/flies-XXX.x: Adjust comments.
43021         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43022         * nss/nss_files/files-grp.c: Likewise.
43023         * nss/nss_files/files-hosts.c: Likewise.
43024         * nss/nss_files/files-network.c: Likewise.
43025         * nss/nss_files/files-proto.c: Likewise.
43026         * nss/nss_files/files-pwd.c: Likewise.
43027         * nss/nss_files/files-rpc.c: Likewise.
43028         * nss/nss_files/files-service.c: Likewise.
43029         * nss/nss_files/files-sgrp.c: Likewise.
43030         * nss/nss_files/files-spwd.c: Likewise.
43031         * nss/nss_db/db-alias.c: Removed.
43032         * nss/nss_db/dummy-db.h: Removed.
43034 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43036         * nss/makedb.c: Rewritten to not use database library.
43037         * nss/Makefile: Update to build new makedb program.
43039 2011-06-14  Andreas Jaeger  <aj@suse.de>
43041         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43042         memset declaration.
43044 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43047         tmpbuf.
43049 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43051         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43052         * elf/Makefile ($(objpfx)ld.so): Likewise.
43054         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43055         Don't list ld.so twice in dependencies.
43057         * posix/bug-regex31.c: Include <stdlib.h>.
43059         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43061         * nis/nss_compat/compat-spwd.c
43062         (getspent_next_nss_netgr): Remove unused variable.
43063         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43065         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43066         nonmembers" output to use the right array.
43068         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43070         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43072         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43073         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43074         * catgets/gencat.c (read_input_file): Likewise.
43075         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43077         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43078         variable definition inside #if's controlling its use.
43080         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43082         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43084         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43086         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43087         unreachable code.
43089         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43091         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43092         * configure: Regenerated.
43094         * Makerules: Revert last change.
43095         * elf/Makefile: Likewise.
43097 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43099         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43100         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43101         (reloc-link): Likewise.
43103 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43105         * elf/Makefile: Add rules to build pldd.
43106         * elf/pldd.c: New file.
43107         * elf/pldd-xx.c: New file.
43109 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43111         * version.h: Update for 2.15 development version.
43113 2011-06-07  David S. Miller  <davem@davemloft.net>
43115         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43116         ifuncs.
43117         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43118         elf_machine_lazy_rel): Likewise.
43119         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43120         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43121         elf_machine_lazy_rel): Likewise.
43122         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43123         dl_hwcap via passed in argument.
43124         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43125         Likewise.
43127 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43129         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43131 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43133         [BZ #12849]
43134         * manual/fdl-1.1.texi: New file, verbatim from:
43135         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43136         * manual/lgpl-2.1.texi: New file, verbatim from:
43137         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43138         * manual/Makefile (licenses): New variable, list those new file names.
43139         (texis): Use it.
43140         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43142         * manual/fdl.texi: File removed.
43143         * manual/lesser.texi: File removed.
43144         * manual/libc.texinfo (Copying, Documentation License):
43145         Use new @include file names, put @appendix directive before @include.
43147 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43149         [BZ #12841]
43150         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43151         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43152         (mq_open): Add __NTH.
43154 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43157         Assume Intel Core i3/i5/i7 processor if AVX is available.
43159 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43162         typo.
43164 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43166         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43167         memory.  Use alloca_account.  Fix memory leak when retrying.
43169 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43171         * version.h (RELEASE): Bump for 2.14 release.
43172         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43174         * config.make.in (RANLIB): Remove entry.
43176 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43178         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43179         (libc.pot): Work around missing support for .ksh extension in xgettext.
43181         [BZ #12684]
43182         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43183         if both request failed.
43184         (send_dg): In case of server errors clear resplen or *resplen2.
43186         [BZ #12454]
43187         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43188         when there are multiple maps.
43189         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43190         (_dl_fini): Remove test here.
43192         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43194 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43196         [BZ #12350]
43197         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43198         bit from old_res_options.
43199         (gaih_inet): Likewise.
43201         [BZ #11099]
43202         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43203         as signed.
43205         * resolv/res_init.c (res_setoptions): Make the code more compact.
43207         [BZ #11558]
43208         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43209         set RES_USEVC.
43211         [BZ #11634]
43212         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43214         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43216         [BZ #11781]
43217         * malloc/malloc.h: Declare malloc hook variables as volatile.
43219         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43220         in last patch.
43222         [BZ #11799]
43223         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43224         raise in the comment.
43225         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43226         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43227         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43229 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43231         [BZ #12811]
43232         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43233         grow the buffers more if it already has to be sufficient.
43234         (build_wcs_upper_buffer): Likewise.
43235         * posix/regexec.c (check_matching): Likewise.
43236         (clean_state_log_if_needed): Likewise.
43237         (extend_buffers): Don't enlarge buffers beyond size of the input
43238         buffer.
43239         Patches mostly by Emil Wojak <emil@wojak.eu>.
43240         * posix/bug-regex32.c: New file.
43241         * posix/Makefile (tests): Add bug-regex32.
43243         * locale/findlocale.c (_nl_find_locale): Return right away if
43244         _nl_explode_name failed.
43245         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43247         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43249         * debug/xtrace.sh: Unify messages.
43250         * malloc/memusage.sh: Likewise.
43252         [BZ #12813]
43253         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43254         time symbol from vDSO.  Substitute with vsyscall if not available.
43255         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43256         __vdso_time.
43258         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43259         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43260         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43261         Add sendmmsg and internal_sendmmsg.
43262         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43263         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43264         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43266         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43267         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43268         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43270 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43272         [BZ #12813]
43273         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43274         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43275         available.
43276         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43277         __vdso_getcpu.
43279         [BZ #12814]
43280         * iconvdata/Makefile (tests): Add bug-iconv9.
43281         * iconvdata/bug-iconv9.c: New file.
43283 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43285         [BZ #12814]
43286         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43288 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43290         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43291         (struct user_regs_struct): Change intcs field back to cs.
43293 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43295         * po/ja.po: Update from translation team.
43297 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43299         [BZ #12795]
43300         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43301         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43303 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43305         * stdlib/longlong.h: Update from GCC.
43307 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43309         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43310         parameter name.
43311         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43312         Add parameter name.
43313         (__sysconf): Pass it down.
43315 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43317         [BZ #12671]
43318         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43319         some situations.
43320         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43321         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43322         add in in __libc_use_alloca calls.  Adjust callers.
43323         (glob): Use malloc in some situations.
43325         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43326         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43327         pltexit.
43329 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43331         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43332         and CLOCK_BOOTTIME_ALARM.
43334         [BZ #12782]
43335         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43336         is returned.
43338         * string/_strerror.c (__strerror_r): Print negative errors as signed
43339         numbers.
43341         [BZ #12777]
43342         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43343         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43344         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43346         * configure.in: Fix typo in redirection and correct removal of test
43347         files in two cases.
43349         [BZ #12788]
43350         * locale/setlocale.c (new_composite_name): Fix test to check for
43351         identical name of all categories.
43353         [BZ #12792]
43354         * libio/filedoalloc.c (local_isatty): New function.
43355         (_IO_file_doallocate): Use local_isatty.
43356         * stdio-common/perror.c (perror): In case a new stream is used
43357         forward the stream error.
43358         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43359         error flag.
43361 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43363         [BZ #11869]
43364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43365         alloca.
43366         * include/alloca.h (extend_alloca_account): Define.
43368         [BZ #11857]
43369         * posix/regex.h: Fix comments with documentation of user-accessible
43370         fields after compilation and describe correct free'ing of pattern
43371         after re_compile_pattern.
43372         Patch by Reuben Thomas <rrt@sc3d.org>.
43374 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43376         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43377         and -mno-altivec to prevent the compiler from using Altivec and/or
43378         VSX instructions when the corresponding registers are not available.
43380 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43382         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43384 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43386         * libio/freopen.c (freopen): Use __dup2, not dup2.
43387         * libio/freopen64.c (freopen64): Likewise.
43389 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43391         [BZ #12775]
43392         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43393         * math/Makefile (tests): Add test-powl.
43394         (CFLAGS-test-powl.c): Define.
43395         * math/test-powl.c: New file.
43397 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43399         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43401 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43403         [BZ #11837]
43404         * iconvdata/gb18030.c: Update to GB18020-2005.
43406 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43408         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43409         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43410         Patch by Aharon Robbins <arnold@skeeve.com>.
43412         [BZ #11892]
43413         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43414         on the stack.
43416         [BZ #11895]
43417         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43418         through underflows.
43420         [BZ #12766]
43421         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43422         point to strings before performing equality test for error_one_per_line
43423         mode.
43425         [BZ #11697]
43426         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43428         [BZ #11820]
43429         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43430         (struct user_fpregs_struct): Avoid __uint*_t types.
43432         [BZ #6420]
43433         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43434         symbol info.  Use it instead of calling _dl_addr locally.
43435         (lock_and_info): New function.
43436         (tr_freehook): Call lock_and_info and pass symbol info as additional
43437         parameter to tr_where.
43438         (tr_mallochook): Likewise.
43439         (tr_reallochook): Likewise.
43440         (tr_memalignhook): Likewise.
43442         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43443         used and couldn't be at all thread-safe.
43445 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43447         * libio/freopen.c (freopen): Don't close old file descriptor
43448         before the new one is opened.  Instead dup the new file descriptor
43449         to the old one after the new stream is created.
43450         * libio/freopen64.c (freopen64): Likewise.
43451         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43452         * libio/fileops.c (_IO_new_file_close_it): Handle new
43453         _IO_FLAGS2_NOCLOSE flag.
43454         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43455         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43456         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43457         _IO_FLAGS2_NOCLOSE flag.
43458         * include/unistd.h: Add hidden_proto for dup3.
43459         Define __have_dup3.
43460         * io/dup3.c: Define hidden symbol.
43461         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43463         [BZ #7101]
43464         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43465         when an incomplete long option is used.
43466         * posix/tst-getopt_long1.c: New file.
43467         * posix/Makefile (tests): Add tst-getopt_long1.
43469         [BZ #10138]
43470         * scripts/config.guess: Update from autoconf-2.68.
43471         * scripts/config.sub: Likewise.
43473         [BZ #10157]
43474         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43475         tests into ...
43476         (has_cpuclock): ...this.  New function.
43477         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43478         macro here based on has_cpuclock code.
43480         [BZ #10149]
43481         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43482         First byte (not low byte) is now always NUL.
43483         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43485         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43486         Use non-cancelable interfaces.
43488         [BZ #9809]
43489         * locale/iso-639.def: Add entry for Sorani.
43491         [BZ #11901]
43492         * include/stdlib.h: Move include protection to the right place.
43493         Define abort_msg_s.  Declare __abort_msg with it.
43494         * stdlib/abort.c (__abort_msg): Adjust type.
43495         * assert/assert.c (__assert_fail_base): New function.  Majority
43496         of code from __assert_fail.  Allocate memory for __abort_msg with
43497         mmap.
43498         (__assert_fail): Now call __assert_fail_base.
43499         * assert/assert-perr.c: Remove bulk of implementation.  Use
43500         __assert_fail_base.
43501         * include/assert.hL Declare __assert_fail_base.
43502         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43503         mmap.
43504         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43506 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43508         [BZ #11952]
43509         [BZ #12453]
43510         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43511         until all modules are registered in the DTV.
43512         * elf/Makefile: Add rules to build and run tst-tls19.
43513         * elf/tst-tls19.c: New file.
43514         * elf/tst-tls19mod1.c: New file.
43515         * elf/tst-tls19mod2.c: New file.
43516         * elf/tst-tls19mod3.c: New file.
43517         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43519         [BZ #12083]
43520         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43521         correctly.
43523         [BZ #12601]
43524         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43525         two-byte sequence errors.
43526         * iconvdata/Makefile (tests): Add bug-iconv8.
43527         * iconvdata/bug-iconv8.c: New file.
43529         [BZ #12626]
43530         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43531         buf2 definition.
43533         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43535         [BZ #12432]
43536         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43537         (dummy_getcfa): New function.
43538         (init): Get _Unwind_GetCFA address, use dummy if not found.
43539         (backtrace_helper): In recursion check, also check whether CFA changes.
43540         (__backtrace): Completely initialize arg.
43542         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43543         storing incomplete byte sequence in state object.  Avoid testing for
43544         guaranteed too small input if we know there is enough data available.
43546 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43548         * Makeconfig (+link-pie): Indent.
43549         * Rules (binaries-pie): Define if $(have-fpie) and
43550         $(build-shared).
43551         (binaries-shared): Also filter out $(binaries-pie).
43552         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43553         * nscd/Makefile (others-pie): Add nscd.
43554         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43555         ($(objpfx)nscd): Remove command override.
43556         * login/Makefile (others-pie): Add pt_chown.
43557         ($(objpfx)pt_chown): Remove command override.
43558         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43559         remove command overrides.
43561 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43563         * libio/tst_putwc.c: Fix error messages.
43565         [BZ #12724]
43566         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43567         currently writing and seek to current position when not.
43568         * libio/Makefile (tests): Add bug-fclose1.
43569         * libio/bug-fclose1.c: New file.
43571 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43573         [BZ #12511]
43574         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43575         don't set DF_1_NODELETE here.
43576         (do_lookup_x): When entering new entry test for copy relocation
43577         and if necessary set DF_1_NODELETE flag.
43578         * elf/tst-unique4.cc: New file.
43579         * elf/tst-unique4.h: New file.
43580         * elf/tst-unique4lib.cc: New file.
43581         * elf/Makefile: Add rules to build and run tst-unique4.
43582         Patch by Piotr Bury <pbury@goahead.com>.
43584 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43586         [BZ #12052]
43587         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43589         [BZ #12625]
43590         * misc/mntent_r.c (addmntent): Flush the stream after the output
43592         [BZ #12393]
43593         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43594         (is_trusted_path_normalize): Skip initial colon.  Append slash
43595         to empty buffer.  Duplicate is_trusted_path code but allow
43596         constructed patch to be prefix.
43597         (is_dst): Allow $ORIGIN followed by /.
43598         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43599         Correct testing of result of is_trusted_path_normalize
43600         (decompose_rpath): Fix warning.
43602 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43604         [BZ #11257]
43605         * grp/initgroups.c (internal_getgrouplist): When we found the service
43606         list through the initgroups entry in nsswitch.conf do not always
43607         continue on a successful lookup.  Don't always use the
43608         __nss_group_database value if it is set.
43609         * nss/nsswitch.conf (initgroups): Change action for successful db
43610         lookup to continue for compatibility.
43612 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43614         [BZ #11532]
43615         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43616         and CP774 modules.
43617         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43618         and CP774 modules.
43619         * iconvdata/tst-tables.sh: Likewise.
43620         * iconvdata/cp770.c: New file.
43621         * iconvdata/cp771.c: New file.
43622         * iconvdata/cp772.c: New file.
43623         * iconvdata/cp773.c: New file.
43624         * iconvdata/cp774.c: New file.
43625         * iconvdata/testdata/CP770: New file.
43626         * iconvdata/testdata/CP770..UTF8: New file.
43627         * iconvdata/testdata/CP771: New file.
43628         * iconvdata/testdata/CP771..UTF8: New file.
43629         * iconvdata/testdata/CP772: New file.
43630         * iconvdata/testdata/CP772..UTF8: New file.
43631         * iconvdata/testdata/CP773: New file.
43632         * iconvdata/testdata/CP773..UTF8: New file.
43633         * iconvdata/testdata/CP774: New file.
43634         * iconvdata/testdata/CP774..UTF8: New file.
43636         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43637         END CHARMAP line.
43638         * iconvdata/gen-8bit-gap.sh: Likewise.
43639         * iconvdata/gen-8bit.sh: Likewise.
43641         * locale/iso-639.def: Add ary entry.
43643         [BZ #11258]
43644         * locale/C-translit.h.in: Add U20A1 transliteration.
43646         [BZ #12178]
43647         * locale/iso-639.def: Add wae entry.
43648         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43650         [BZ #12545]
43651         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43652         for n.
43654         [BZ #12711]
43655         * locale/C-translit.h.in: Add entry for U20B9.
43656         Patch by pravin.d.s@gmail.com.
43658 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43660         [BZ #12713]
43661         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43662         ENAMETOOLONG use generic getcwd.
43663         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43664         in rtld.  Use *stat64.
43665         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43666         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43667         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43668         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43669         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43670         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43671         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43672         __fstatat64 macros.
43673         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43674         * dirent/rewinddir.c: Add libc_hidden_def.
43675         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43676         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43678         * include/dirent.h (__alloc_dir): Add flags parameter.
43679         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43680         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43681         __alloc_dir.
43682         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43683         from fdopendir if O_CLOEXEC is already set.
43685 2011-03-15  Alan Modra  <amodra@gmail.com>
43687         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43688         l_tls_firstbyte_offset non-zero.  Save padding offset in
43689         l_tls_firstbyte_offset for later use.
43690         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43691         freeing static tls block.
43693 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43695         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43696         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43697         being defined by the kernel headers.
43699 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43701         [BZ #12734]
43702         * resolv/resolv.h: Define RES_NOTLDQUERY.
43703         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43704         no-tld-query and set RES_NOTLDQUERY.
43705         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43706         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43707         modern BIND to search name as TLD unless forbidden.
43709 2011-05-07  Petr Baudis  <pasky@suse.cz>
43710             Ulrich Drepper  <drepper@gmail.com>
43712         [BZ #12393]
43713         * elf/dl-load.c (fillin_rpath): Move trusted path check...
43714         (is_trusted_path): ...to here.
43715         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43716         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43717         using is_trusted_path_normalize() in setuid scripts.
43719 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43721         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43722         __BEGIN/__END_DECLS.
43724 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43727         NSS_STATUS_NOTFOUND if no record was found.
43729 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43731         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43732         (headers-not-in-tirpc): Remove rpc/netdb.h
43733         * resolv/netdb.h: Revert last change.
43735 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43737         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43738         circular dependency between libgcc.a and libc.a.
43740 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43742         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43743         * nis/Makefile: Don't install rpcsvc/*.
43744         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43745         instead of <rpc/types.h>.
43746         (MAXHOSTNAMELEN): Define.
43748 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43750         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43752 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43754         [BZ #12714]
43755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43756         gethostbyname4_r when IPv6 results are possible.
43758 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43760         [BZ #12723]
43761         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43762         _PC_PIPE_BUF handling.
43764 2011-04-30  Bruno Haible  <bruno@clisp.org>
43766         [BZ #12717]
43767         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43768         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43769         to 'int'.
43770         * inet/getnameinfo.c (getnameinfo): Likewise.
43772 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43774         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43775         to groups setting in database lookup.
43776         * nss/nsswitch.conf: Add initgroups entry.
43778 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43780         [BZ #12685]
43781         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43782         mode string.
43783         Patch by Eric Blake <eblake@redhat.com>.
43785 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43787         * sunrpc/Makefile (need-export-routines): Add svc_run.
43788         (routines): Remove svc_run.
43789         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43790         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43791         * sunrpc/svc_run.c (svc_run): Likewise.
43792         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43794 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43796         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43797         problem in reallocation in last patch.
43799 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43801         * sunrpc/Makefile: Move inclusion of Rules.
43803 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43805         * nss/nss_files/files-initgroups.c: New file.
43806         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43807         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43808         _nss_files_initgroups_dyn.
43810 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43812         * elf/elf.h (R_ARM_IRELATIVE): Define.
43814 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43816         * po/ru.po: Update from translation team.
43818 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43820         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43821         dependencies.
43823 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43825         [BZ #12653]
43826         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43827         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43828         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43829         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43830         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43832 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43834         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43835         differing bytes.
43836         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43837         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43840 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43842         [BZ #12420]
43843         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43844         storing it.
43845         * stdlib/bug-getcontext.c: New file.
43846         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43848 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43850         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43851         instructions into .machine "z9-109".
43852         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43853         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43855 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43857         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43858         between environment variables and auxiliary vector.
43860 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43862         * Makefile: Add rules to build linkobj/libc.so.
43863         * include/libc-symbols.h: Define libc_hidden_nolink.
43864         * include/rpc/auth.h: Mark functions which are to be hidden.
43865         * include/rpc/auth_des.h: Likewise.
43866         * include/rpc/auth_unix.h: Likewise.
43867         * include/rpc/clnt.h: Likewise.
43868         * include/rpc/des_crypt.h: Likewise.
43869         * include/rpc/key_prot.h: Likewise.
43870         * include/rpc/pmap_clnt.h: Likewise.
43871         * include/rpc/pmap_prot.h: Likewise.
43872         * include/rpc/pmap_rmt.h: Likewise.
43873         * include/rpc/rpc_msg.h: Likewise.
43874         * include/rpc/svc.h: Likewise.
43875         * include/rpc/svc_auth.h: Likewise.
43876         * include/rpc/xdr.h: Likewise.
43877         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43878         * nss/Makefile: Likewise.
43879         * sunrpc/Makefile: Don't install headers.  Build library with normal
43880         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43881         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43882         for the compat linking library.  Remove use of INTDEF/INTUSE.
43883         * sunrpc/auth_none.c: Likewise.
43884         * sunrpc/auth_unix.c: Likewise.
43885         * sunrpc/authdes_prot.c: Likewise.
43886         * sunrpc/authuxprot.c: Likewise.
43887         * sunrpc/clnt_gen.c: Likewise.
43888         * sunrpc/clnt_perr.c: Likewise.
43889         * sunrpc/clnt_raw.c: Likewise.
43890         * sunrpc/clnt_simp.c: Likewise.
43891         * sunrpc/clnt_tcp.c: Likewise.
43892         * sunrpc/clnt_udp.c: Likewise.
43893         * sunrpc/clnt_unix.c: Likewise.
43894         * sunrpc/des_crypt.c: Likewise.
43895         * sunrpc/des_soft.c: Likewise.
43896         * sunrpc/get_myaddr.c: Likewise.
43897         * sunrpc/key_call.c: Likewise.
43898         * sunrpc/key_prot.c: Likewise.
43899         * sunrpc/netname.c: Likewise.
43900         * sunrpc/pm_getmaps.c: Likewise.
43901         * sunrpc/pm_getport.c: Likewise.
43902         * sunrpc/pmap_clnt.c: Likewise.
43903         * sunrpc/pmap_prot.c: Likewise.
43904         * sunrpc/pmap_prot2.c: Likewise.
43905         * sunrpc/pmap_rmt.c: Likewise.
43906         * sunrpc/publickey.c: Likewise.
43907         * sunrpc/rpc_cmsg.c: Likewise.
43908         * sunrpc/rpc_common.c: Likewise.
43909         * sunrpc/rpc_dtable.c: Likewise.
43910         * sunrpc/rpc_prot.c: Likewise.
43911         * sunrpc/rpc_thread.c: Likewise.
43912         * sunrpc/rtime.c: Likewise.
43913         * sunrpc/svc.c: Likewise.
43914         * sunrpc/svc_auth.c: Likewise.
43915         * sunrpc/svc_authux.c: Likewise.
43916         * sunrpc/svc_raw.c: Likewise.
43917         * sunrpc/svc_run.c: Likewise.
43918         * sunrpc/svc_simple.c: Likewise.
43919         * sunrpc/svc_tcp.c: Likewise.
43920         * sunrpc/svc_udp.c: Likewise.
43921         * sunrpc/svc_unix.c: Likewise.
43922         * sunrpc/svcauth_des.c: Likewise.
43923         * sunrpc/xcrypt.c: Likewise.
43924         * sunrpc/xdr.c: Likewise.
43925         * sunrpc/xdr_array.c: Likewise.
43926         * sunrpc/xdr_float.c: Likewise.
43927         * sunrpc/xdr_intXX_t.c: Likewise.
43928         * sunrpc/xdr_mem.c: Likewise.
43929         * sunrpc/xdr_rec.c: Likewise.
43930         * sunrpc/xdr_ref.c: Likewise.
43931         * sunrpc/xdr_sizeof.c: Likewise.
43932         * sunrpc/xdr_stdio.c: Likewise.
43934 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43936         [BZ #12650]
43937         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43938         * sysdeps/ia64/dl-tls.h: Likewise.
43939         * sysdeps/powerpc/dl-tls.h: Likewise.
43940         * sysdeps/s390/dl-tls.h: Likewise.
43941         * sysdeps/sh/dl-tls.h: Likewise.
43942         * sysdeps/sparc/dl-tls.h: Likewise.
43943         * sysdeps/x86_64/dl-tls.h: Likewise.
43944         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43946 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43948         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43949         rpath element also skip the following colon.
43950         (expand_dynamic_string_token): Add is_path parameter and pass
43951         down to DL_DST_REQUIRED and _dl_dst_substitute.
43952         (decompose_rpath): Call expand_dynamic_string_token with
43953         non-zero is_path.  Ignore empty rpaths.
43954         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43955         with zero is_path.
43957 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43960         Make cancelable.
43962 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43964         [BZ #12655]
43965         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43966         Patch by Filipe David Manana <fdmanana@apache.org>.
43968 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43970         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43971         Maintain aligned stack.
43972         (CHECK_RSP): Remove unused macro.
43974 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43976         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43977         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43979 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43981         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43983         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43985 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43987         [BZ #12518]
43988         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43989         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43990         * sysdeps/x86_64/memmove.c: New file.
43991         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43992         (memcpy): Renamed to ...
43993         (__new_memcpy): This.
43994         (memcpy): Provide GLIBC_2_14 memcpy.
43995         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43996         (memcpy): Provide GLIBC_2_2_5 memcpy.
43998 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44000         [BZ #12631]
44001         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44003 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44005         * misc/syncfs.c: New file.
44006         * misc/Makefile (routines): Add syncfs.
44007         * posix/unistd.h: Declare syncfs.
44008         * sysdeps/unix/syscalls.list: Add syncfs.
44010 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44012         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44013         open_by_handle_at.
44014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44015         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44017         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44018         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44019         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44020         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44022 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44024         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44025         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44026         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44028         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44032         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44033         sync_file_range.c with -fexceptions.
44034         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44035         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44036         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44037         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44038         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44039         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44041         sync_file_range as cancellation point
44042         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44043         now a wrapper around __call_sync_file_range with cancellation handling.
44044         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44045         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44046         function name to __call_sync_file_range.
44047         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44048         Add call_sync_file_range.
44050 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44053         bits/timex.h.
44055 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44057         * iconv/iconv.h: Fix typo in comment.
44058         * io/fcntl.h: Likewise.
44059         * libio/stdio.h: Likewise.
44060         * posix/spawn.h: Likewise.
44061         * posix/unistd.h: Likewise.
44062         * stdlib/stdlib.h: Likewise.
44063         * time/time.h: Likewise.
44064         * wcsmbs/wchar.h: Likewise.
44066         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44067         open_by_handle): Add.
44068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44069         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44070         Augment a few comments.
44071         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44073         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44076         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44077         open_by_handle.
44079         * io/fcntl.h (AT_EMPTY_PATH): Define.
44081 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44083         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44084         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44085         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44086         to...
44087         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44088         * Versions.def: Add GLIBC_2.14.
44089         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44090         Export.
44092 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44094         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44095         round counter.
44096         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44098 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44100         [BZ #12597]
44101         * string/test-strncmp.c (do_page_test): New function.
44102         (check2): Likewise.
44103         (test_main): Call check2.
44104         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44106 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44108         [BZ #12587]
44109         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44110         Handle cache information in CPU leaf 4.
44111         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44113 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44115         [BZ #12583]
44116         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44117         character representation.
44118         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44120 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44122         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44123         END(__isnan) to END(__isnanf) to match function entry point/label
44124         EALIGN(__isnanf,...).
44126 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44128         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44130 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44132         [BZ #12510]
44133         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44134         copy from the symbol referenced in the relocation to initialize the
44135         used variable.
44136         Patch by Piotr Bury <pbury@goahead.com>.
44137         * elf/Makefile: Add rules to build and tst-unique3.
44138         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44139         * elf/tst-unique3.cc: New file.
44140         * elf/tst-unique3.h: New file.
44141         * elf/tst-unique3lib.cc: New file.
44142         * elf/tst-unique3lib2.cc: New file.
44144         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44146 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44148         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44149         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44150         to _start.
44152 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44154         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44155         to-be-loaded object along a path to loader is ld.so.
44157 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44158             Ulrich Drepper  <drepper@gmail.com>
44160         * sysdeps/x86_64/memset.S: After aligning destination, code
44161         branches to different locations depending on the value of
44162         misalignment, when multiarch is enabled. Fix this.
44164 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44166         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44167         Set _x86_64_preferred_memory_instruction for AMD processsors.
44168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44169         Set bit_Prefer_SSE_for_memop for AMD processors.
44171 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44173         * libio/fmemopen.c (fmemopen): Optimize a bit.
44175 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44177         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44179 2011-03-03  Roland McGrath  <roland@redhat.com>
44181         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44183 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44185         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44186         __bzero_ultra1 instead of __memset_ultra1.
44188 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44189             Ulrich Drepper  <drepper@gmail.com>
44191         [BZ #12509]
44192         * include/link.h (struct link_map): Add l_orig_initfini.
44193         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44194         returning unsuccessfully.
44195         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44196         close of a file loaded at startup, restore the original l_initfini
44197         list.
44198         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44199         list, store the pointer.
44200         * elf/Makefile ($(objpfx)noload-mem): New rule.
44201         (noload-ENV): Define.
44202         (tests): Add $(objpfx)noload-mem.
44203         * elf/noload.c: Include <memcheck.h>.
44204         (main): Call mtrace.  Close all opened handles.
44206 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44208         [BZ #12454]
44209         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44210         dependencies are missing.
44212 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44214         Fix __if_freereq crash: Unlike the generic version which uses free,
44215         Hurd needs munmap.
44216         * sysdeps/mach/hurd/ifreq.h: New file.
44218 2011-01-27  Petr Baudis  <pasky@suse.cz>
44219             Ulrich Drepper  <drepper@gmail.com>
44221         [BZ 12445]#
44222         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44223         to extend_alloca().
44224         * stdio-common/bug23.c: New file.
44225         * stdio-common/Makefile (tests): Add bug23.
44227 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44228             Ulrich Drepper  <drepper@gmail.com>
44230         [BZ #12489]
44231         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44232         before performing relro protection.  At old place add assertion
44233         to make sure nothing changed.
44235 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44236             Glauber de Oliveira Costa  <glommer@gmail.com>
44238         * elf/elf.h: Add new ARM TLS relocs.
44240 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44243         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44244         cast from r3.
44245         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44246         'tests' variable.
44247         * sysdeps/wordsize-64/tst-writev.c: New file.
44249 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44251         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44252         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44253         insns in _dl_start to prevent a TOC reference before relocs are
44254         resolved.
44256 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44258         [BZ #12469]
44259         * Makeconfig: Remove RANLIB definition.
44260         * Makerules: Don't use RANLIB.
44261         * aclocal.m4: Remove ranlib test.
44262         * configure.in: No need to check for ranlib.
44263         * elf/rtld-Rules: Don't use RANLIB.
44265 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44267         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44268         protection macro.
44269         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44270         inclusion protection macro.
44272         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44273         SIGRTMIN and SIGRTMAX and print information in that case only when
44274         SIGRTMIN is defined.
44276 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44278         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44279         arginfo fn returning -1.
44281         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44282         and thousands string is zero terminated.
44284 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44287         sysdeps/unix/sysv/linux/bits/socket.h.
44289 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44291         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44292         (__CPU_COUNT): Remove old macros.
44293         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44294         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44295         (__CPU_ALLOC, __CPU_FREE): Add macros.
44296         (__sched_cpualloc, __sched_cpufree): Add declarations.
44298 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44300         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44301         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44302         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44303         (readdhstai): Return value of addhstaiX call.
44304         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44305         (addgrbyX): Return value returned by cache_addgr.
44306         (readdgrbyname): Return value returned by addgrbyX.
44307         (readdgrbygid): Likewise.
44308         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44309         (addpwbyX): Return value returned by cache_addpw.
44310         (readdpwbyname): Return value returned by addhstbyX.
44311         (readdpwbyuid): Likewise.
44312         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44313         (addservbyX): Return value returned by cache_addserv.
44314         (readdservbyname): Return value returned by addservbyX:
44315         (readdservbyport): Likewise.
44316         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44317         (addhstbyX): Return value returned by cache_addhst.
44318         (readdhstbyname): Return value returned by addhstbyX.
44319         (readdhstbyaddr): Likewise.
44320         (readdhstbynamev6): Likewise.
44321         (readdhstbyaddrv6): Likewise.
44322         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44323         (readdinitgroups): Return value returned by addinitgroupsX.
44324         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44325         (prune_cache): Keep track of timeout value of re-added entries.
44326         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44327         * nscd/nscd.h: Adjust prototypes of readd* functions.
44329 2011-02-04  Roland McGrath  <roland@redhat.com>
44331         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44332         (nis_stats): Likewise.
44333         * nis/nis_modify.c (nis_modify): Likewise.
44334         * nis/nis_remove.c (nis_remove): Likewise.
44335         * nis/nis_add.c (nis_add): Likewise.
44337         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44339         * posix/fnmatch_loop.c: Add some consts.
44341         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44343 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44345         [BZ #12460]
44346         * config.make.in (config-cflags-novzeroupper): Define.
44347         * configure.in: Substitute libc_cv_cc_novzeroupper.
44348         * elf/Makefile (AVX-CFLAGS): Define.
44349         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44350         (CFLAGS-tst-auditmod4a.c): Likewise.
44351         (CFLAGS-tst-auditmod4b.c): Likewise.
44352         (CFLAGS-tst-auditmod6b.c): Likewise.
44353         (CFLAGS-tst-auditmod6c.c): Likewise.
44354         (CFLAGS-tst-auditmod7b.c): Likewise.
44355         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44357 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44359         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44360         function to the callback.
44361         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44363 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44365         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44366         of errno.
44368 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44370         [BZ #11724]
44371         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44372         of constructors.
44373         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44374         of destructors.
44375         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44377         [BZ #11724]
44378         * elf/Makefile: Add rules to build and run new test.
44379         * elf/tst-initorder.c: New file.
44380         * elf/tst-initorder.exp: New file.
44381         * elf/tst-initordera1.c: New file.
44382         * elf/tst-initordera2.c: New file.
44383         * elf/tst-initordera3.c: New file.
44384         * elf/tst-initordera4.c: New file.
44385         * elf/tst-initorderb1.c: New file.
44386         * elf/tst-initorderb2.c: New file.
44387         * elf/tst-order-a1.c: New file.
44388         * elf/tst-order-a2.c: New file.
44389         * elf/tst-order-a3.c: New file.
44390         * elf/tst-order-a4.c: New file.
44391         * elf/tst-order-b1.c: New file.
44392         * elf/tst-order-b2.c: New file.
44393         * elf/tst-order-main.c: New file.
44394         New test case by George Gensure <werkt0@gmail.com>.
44396 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44399         decoding ACE if AI_CANONIDN.
44401 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44403         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44405 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44407         * version.h (RELEASE): Bump for 2.13 release.
44408         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44410         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44412         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44413         MADV_NOHUGEPAGE.
44414         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44415         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44416         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44417         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44418         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44419         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44421         * posix/getconf.c: Update copyright year.
44422         * catgets/gencat.c: Likewise.
44423         * csu/version.c: Likewise.
44424         * debug/catchsegv.sh: Likewise.
44425         * debug/xtrace.sh: Likewise.
44426         * elf/ldconfig.c: Likewise.
44427         * elf/ldd.bash.in: Likewise.
44428         * elf/sprof.c (print_version): Likewise.
44429         * iconv/iconv_prog.c: Likewise.
44430         * iconv/iconvconfig.c: Likewise.
44431         * locale/programs/locale.c: Likewise.
44432         * locale/programs/localedef.c: Likewise.
44433         * malloc/memusage.sh: Likewise.
44434         * malloc/mtrace.pl: Likewise.
44435         * nscd/nscd.c (print_version): Likewise.
44436         * nss/getent.c: Likewise.
44438         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44439         PF_CAIF, and PF_ALG.
44440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44442 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44444         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44445         (modules-names): Use them.
44446         (ifunc-test-modules, ifunc-pie-tests): Define.
44447         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44448         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44449         (test-extras): Likewise.
44450         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44451         $(compile-command.c).
44452         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44453         (all-built-dso): Define.
44454         (check-textrel.out, check-execstack.out): Depend on it.
44456         * configure.in: Don't override --enable-multi-arch.
44458 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44460         [BZ #6812]
44461         * nscd/hstcache.c (tryagain): Define.
44462         (cache_addhst): Return tryagain not notfound for temporary errors.
44463         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44464         failed.
44466 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44468         [BZ #10563]
44469         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44470         to make the syscall.
44471         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44473         [BZ #12378]
44474         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44475         and fall back to matching as normal character if the string ends before
44476         the matching ']' is found.  This is what POSIX requires.
44477         * posix/testfnm.c: Adjust test result.
44478         * posix/globtest.sh: Adjust test result.  Add new test.
44479         * posix/tst-fnmatch.input: Likewise.
44480         * posix/tst-fnmatch2.c: Add new test.
44482 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44484         * elf/Makefile (check-execstack): Revert last change.  Depend on
44485         check-execstack.h.
44486         (check-execstack.h): New target.
44487         (generated): Add check-execstack.h.
44488         * elf/check-execstack.c: Include "check-execstack.h".
44489         (main): Revert last change.
44490         (handle_file): Return zero if GNU_STACK is absent and
44491         DEFAULT_STACK_PERMS doesn't include PF_X.
44493 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44495         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44496         in child fails because the descriptor is already closed.
44497         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44498         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44499         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44501         [BZ #12397]
44502         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44503         syscall.
44505         [BZ #10484]
44506         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44507         temporary buffer used to handle multi lookups locally.
44508         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44510 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44512         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44513         loader is ld.so.
44515 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44517         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44518         alignment for SSE2.
44520 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44522         [BZ #12394]
44523         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44524         characters.  When rounding increased number of integer digits recompute
44525         number of groups.
44526         * stdio-common/tst-grouping.c: New file.
44527         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44529 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44531         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44532         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44534         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44535         void.
44536         * bits/select.h: Likewise.
44538 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44540         * po/ja.po: Update from translation team.
44542 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44544         [BZ #11155]
44545         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44546         implementation just like for lxstat, fxstatat, et al.
44548 2010-12-27  Jim Meyering  <meyering@redhat.com>
44550         [BZ #12348]
44551         * posix/regexec.c (build_trtable): Return failure indication upon
44552         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44554 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44556         [BZ #12201]
44557         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44558         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44559         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44560         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44562         [BZ #12207]
44563         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44565         [BZ #12204]
44566         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44567         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44569 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44571         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44572         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44573         script has SORT_BY_INIT_PRIORITY.
44574         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44575         NO_CTORS_DTORS_SECTIONS is defined.
44576         * elf/soinit.c: Likewise.
44577         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44578         NO_CTORS_DTORS_SECTIONS is defined.
44579         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44580         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44581         * sysdeps/sh/init-first.c: Likewise.
44582         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44584 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44586         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44587         always use the slow path.
44589 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44591         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44592         similar rule which adds the sysdep directories to the header search in
44593         order to pick up the correct platform stackinfo.h.
44594         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44595         perform test if it is, otherwise return successfully without testing.
44596         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44597         DEFAULT_STACK_PERMS define in stackinfo.h.
44598         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44599         defined in stackinfo.h.
44600         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44601         DEFAULT_STACK_PERMS defined in stackinfo.h.
44602         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44603         * sysdeps/ia64/stackinfo.h: Likewise.
44604         * sysdeps/s390/stackinfo.h: Likewise.
44605         * sysdeps/sh/stackinfo.h: Likewise.
44606         * sysdeps/sparc/stackinfo.h: Likewise.
44607         * sysdeps/x86_64/stackinfo.h: Likewise.
44608         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44609         PF_X for powerpc64.  Retain PF_X for powerpc32.
44611 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44613         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44614         accurately.
44615         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44616         GETDENTS_64BIT_ALIGNED.
44618 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44620         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44622 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44624         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44625         _GNU_SOURCE.
44627         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44628         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44629         Remove __restrict.
44630         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44631         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44633 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44635         [BZ #11655]
44636         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44637         are initialized.
44639 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44641         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44643 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44645         * po/it.po: Update from translation team.
44647 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44649         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44650         unused codes.
44652 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44654         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44656 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44658         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44659         specially.
44660         (gaih_getanswer_slice): Likewise.
44662 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44664         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44666 2010-05-31  Petr Baudis  <pasky@suse.cz>
44668         [BZ #11149]
44669         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44670         silently even in the chroot mode.
44672 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44674         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44675         last patch a bit.  Pretty printing
44677 2010-05-31  Petr Baudis <pasky@suse.cz>
44679         [BZ #10085]
44680         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44681         initialization of skip_initgroups_dyn.
44683 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44685         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44686         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44688 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44690         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44692 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44694         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44695         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44696         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44697         ($(objpfx)tst-fnmatch-mem): New rule.
44698         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44699         * posix/tst-fnmatch.c (main): Call mtrace.
44701 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
44703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44704         Support Intel processor model 6 and model 0x2c.
44706 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
44708         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44709           signed comparison.
44711 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
44713         [BZ #12205]
44714         * string/test-strncasecmp.c (check_result): New function.
44715         (do_one_test): Use it.
44716         (check1): New function.
44717         (test_main): Use it.
44718         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44719         Support strcasecmp and strncasecmp.
44721 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44723         [BZ #12194]
44724         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44725         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44727 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44729         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44730         IFUNC support.
44731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44732         memset-x86-64.
44733         * sysdeps/x86_64/multiarch/bzero.S: New file.
44734         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44735         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44736         * sysdeps/x86_64/multiarch/memset.S: New file.
44737         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44739         Set bit_Prefer_SSE_for_memop for Intel processors.
44740         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44741         Define.
44742         (index_Prefer_SSE_for_memop): Define.
44743         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44745 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44747         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44748         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44750 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44752         [BZ #12191]
44753         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44754         (__x86_64_raw_data_cache_size_half): Likewise.
44755         (__x86_64_raw_shared_cache_size): Likewise.
44756         (__x86_64_raw_shared_cache_size_half): Likewise.
44758         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44759         (__x86_64_raw_data_cache_size_half): Likewise.
44760         (__x86_64_raw_shared_cache_size): Likewise.
44761         (__x86_64_raw_shared_cache_size_half): Likewise.
44762         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44763         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44764         and __x86_64_raw_shared_cache_size_half.  Round
44765         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44766         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44767         to multiple of 256 bytes.
44769 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44771         [BZ #12167]
44772         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44773         of inacessible symlinks.  Verify result of symlink before returning it.
44774         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44775         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44777 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44779         * math/math.h (isinf): Fix typo in comment.
44781 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44783         * po/da.po: Update from translation team.
44785 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44787         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44788         is added to the list.
44790 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44791             Ulrich Drepper  <drepper@gmail.com>
44793         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44794         the global list here.  Move code to...
44795         (_dl_add_to_namespace_list): ...here.  New function.
44796         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44797         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44798         * elf/dl-load.c (lose): Don't remove the element from the list.
44799         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44800         (_dl_map_object): Likewise.
44802 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44804         [BZ #12159]
44805         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44806         into all bytes of SSE register.
44807         Patch by Richard Li <richardpku@gmail.com>.
44809 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44811         [BZ #12140]
44812         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44813         perturbing.
44815 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44817         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44818         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44819         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44820         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44822         submachine.
44823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44825 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44827         * include/dlfcn.h (__RTLD_SECURE): Define.
44828         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44829         mode & __RTLD_SECURE instead.
44830         (open_path): Rename preloaded parameter to secure.
44831         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44832         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44833         * elf/dl-deps.c (openaux): Likewise.
44834         * elf/rtld.c (struct map_args): Remove is_preloaded.
44835         (map_doit): Don't use it.
44836         (dl_main): Likewise.
44837         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44838         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44840 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44842         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44843         (sysd-rules-targets): Remove duplicates.
44844         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44845         rtld-%.$o dependency.
44847 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44849         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44850         _dl_map_object do it.
44852 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44854         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44855         fast fma builtins, define the macros in the C99 standard.
44856         (FP_FAST_FMAF): Likewise.
44857         (FP_FAST_FMAL): Likewise.
44858         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44860         * bits/mathdef.h: Update copyright year.
44861         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44863 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44865         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44866         builtins, define the macros in the C99 standard.
44867         (FP_FAST_FMAF): Likewise.
44868         (FP_FAST_FMAL): Likewise.
44869         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44870         multiply/add.
44871         (FP_FAST_FMAF): Likewise.
44873 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44875         [BZ #3268]
44876         * math/libm-test.inc (fma_test): Some new testcases.
44877         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44878         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44879         y and infinite z.  Do multiplication by C already in long double.
44880         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44882         y and infinite z.  Do bitwise or of inexact bit into u.d.
44883         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44884         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44885         * sysdeps/i386/fpu/s_fma.S: Removed.
44886         * sysdeps/i386/fpu/s_fmal.S: Removed.
44888 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44890         [BZ #3268]
44891         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44893         computation is not scheduled after fetestexcept.  Fix value
44894         of minimum denormal long double.
44896 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44898         [BZ #3268]
44899         * math/libm-test.inc (fma_test): Add some more tests.
44900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44901         correctly.
44903 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44905         * scripts/data/localplt-s390-linux-gnu.data: New file.
44906         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44908 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44910         [BZ #3268]
44911         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44912         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44913         instead of dbl-64.
44914         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44915         inlines.
44916         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44918         if one of x and y is very large and the other is subnormal.
44919         * sysdeps/s390/fpu/s_fmaf.c: New file.
44920         * sysdeps/s390/fpu/s_fma.c: New file.
44921         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44922         * sysdeps/powerpc/fpu/s_fma.S: New file.
44923         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44924         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44925         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44927 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44929         [BZ #3268]
44930         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44931         fma tests.
44932         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44933         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44934         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44935         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44936         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44937         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44938         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44940 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44942         [BZ #12078]
44943         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44944         * posix/bug-regex31.input: Add test case.
44946 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44948         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44949         * posix/bug-regex31.input: New file.
44951         [BZ #12078]
44952         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44953         (parse_sub_exp): Fix last change, use postorder.
44955         * posix/bug-regex31.c: New file.
44956         * posix/Makefile: Add rules to build and run bug-regex31.
44958         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44960         [BZ #12078]
44961         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44963         [BZ #12108]
44964         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44965         to have entries in sys_siglist.
44967         [BZ #12093]
44968         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44969         be NULL.
44971 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44973         [BZ #3268]
44974         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44975         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44976         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44977         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44978         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44979         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44980         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44981         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44982         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44983         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44984         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44985         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44987         * math/ftestexcept.c (fetestexcept): Likewise.
44988         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44989         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44990         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44991         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44992         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44993         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44994         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44996 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44998         [BZ #12107]
44999         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45000         newline.
45002 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45004         * string/bug-strstr1.c: New file.
45005         * string/Makefile: Add rules to build and run bug-strstr1.
45007 2010-10-05  Eric Blake  <eblake@redhat.com>
45009         [BZ #12092]
45010         * string/str-two-way.h (two_way_long_needle): Always clear memory
45011         when skipping input due to the shift table.
45013 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45015         [BZ #12005]
45016         * malloc/mcheck.c: Handle large requests.
45018         [BZ #12077]
45019         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45020         for strncmp and strncasecmp.
45021         * string/stratcliff.c: Add tests for strcmp and strncmp.
45022         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45024 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45026         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45027         __set_fpscr.
45029 2010-09-30  Andreas Jaeger  <aj@suse.de>
45031         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45032         (CGROUP_SUPER_MAGIC): Define.
45033         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45034         Handle btrfs and cgroup file systems.
45035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45036         Likewise.
45038 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45040         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45041         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45043 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45045         [BZ #12067]
45046         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45047         trying to locate the ELF header.
45049 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45051         [BZ #11611]
45052         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45053         Mask out sign-bit copies when constructing f_fsid.
45055 2010-09-24  Petr Baudis <pasky@suse.cz>
45057         * debug/stack_chk_fail_local.c: Add missing licence exception.
45058         * debug/warning-nop.c: Likewise.
45060 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45062         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45063         implementing getdents64 using getdents syscall, set d_type if
45064         __ASSUME_GETDENTS32_D_TYPE.
45066 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45068         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45069         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45071 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45073         [BZ #12037]
45074         * posix/unistd.h: Undo change of feature selection for ftruncate from
45075         2010-01-11.
45077 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45079         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45080         detection.
45082 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45084         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45085         fanotify_mark.
45086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45088 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45090         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45091         variables after CHECK_SP call.
45092         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45094 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45095             Ulrich Drepper  <drepper@redhat.com>
45097         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45098         re-relocationg ld.so.
45099         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45100         _dl_init_paths call.
45101         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45102         here anymore.
45104 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45106         * resolv/res_init.c (__res_vinit): Count the default server we added.
45108 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45109             Ulrich Drepper  <drepper@redhat.com>
45111         [BZ #11968]
45112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45113         (____longjmp_chk): Use %ebx for saving value across system call.
45114         Add unwind info.
45116 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45118         * manual/Makefile: Don't mix pattern rules with normal rules.
45120 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45122         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45123         operation.
45124         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45125         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45126         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45127         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45128         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45129         Likewise.
45131 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45133         [BZ #11979]
45134         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45135         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45137 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45139         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45140         * sysdeps/x86_64/addmul_1.S: Likewise.
45141         * sysdeps/x86_64/lshift.S: Likewise.
45142         * sysdeps/x86_64/mul_1.S: Likewise.
45143         * sysdeps/x86_64/rshift.S: Likewise.
45144         * sysdeps/x86_64/sub_n.S: Likewise.
45145         * sysdeps/x86_64/submul_1.S: Likewise.
45147 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45149         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45150         Define __sched_param instead of SCHED_* and sched_param when
45151         <bits/sched.h> is included with __need_schedparam defined.
45152         * bits/sched.h [__need_schedparam]
45153         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45154         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45155         (__defined_schedparam): Define to 1.
45156         (__sched_param): New structure, identical to sched_param.
45157         (__need_schedparam): Undefine.
45159 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45161         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45162         (epoll_create1): Declare.
45164         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45166 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45168         [BZ #7066]
45169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45170         shifting retval into place.
45172 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45174         * nis/rpcsvc/nis.h: Update copyright notice.
45175         * nis/rpcsvc/nis.x: Likewise.
45176         * nis/rpcsvc/nis_callback.h: Likewise.
45177         * nis/rpcsvc/nis_callback.x: Likewise.
45178         * nis/rpcsvc/nis_object.x: Likewise.
45179         * nis/rpcsvc/nis_tags.h: Likewise.
45180         * nis/rpcsvc/yp.h: Likewise.
45181         * nis/rpcsvc/yp.x: Likewise.
45182         * nis/rpcsvc/ypupd.h: Likewise.
45183         * nis/yp_xdr.c: Likewise.
45184         * nis/ypupdate_xdr.c: Likewise.
45186         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45187         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45188         (pmap_getport): Use __libc_rpc_getport.
45189         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45190         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45191         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45193 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45196         fanotify_mark.
45198 2010-08-27  Roland McGrath  <roland@redhat.com>
45200         * sysdeps/i386/i686/multiarch/Makefile
45201         (CFLAGS-varshift.c): New variable.
45203 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45205         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45206         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45208         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45210         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45212 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45214         * sysdeps/x86_64/strlen.S: Unroll the loop.
45215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45216         strlen-sse2 strlen-sse2-bsf.
45217         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45218         __strlen_no_bsf if bit_Slow_BSF is set.
45219         (__strlen_sse42): Removed.
45220         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45221         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45223 2010-08-25  Roland McGrath  <roland@redhat.com>
45225         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45226         * sysdeps/x86_64/multiarch/varshift.c: New file.
45227         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45228         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45229         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45230         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45232 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45235         strlen-sse2 strlen-sse2-bsf.
45236         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45237         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45238         (__strlen_sse2): Removed.
45239         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45240         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45242         bit_Slow_BSF for Atom.
45243         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45244         (index_Slow_BSF): Define.
45245         (HAS_SLOW_BSF): Define.
45247 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45249         [BZ #10851]
45250         * resolv/res_init.c (__res_vinit): When no server address at all
45251         is given default to loopback.
45253 2010-08-24  Roland McGrath  <roland@redhat.com>
45255         * configure.in: Remove config-name.h generation.
45256         * configure: Regenerated.
45257         * config-name.in: File removed.
45258         * scripts/config-uname.sh: New file.
45259         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45260         ($(objdir)config-name.h): New target.
45262         * sunrpc/rpc_parse.h: Avoid nested comment.
45264 2010-08-24  Richard Henderson  <rth@redhat.com>
45265             Ulrich Drepper  <drepper@redhat.com>
45266             H.J. Lu  <hongjiu.lu@intel.com>
45268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45270         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45271         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45272         _mm_alignr_epi8 with _mm_loadu_si128.
45273         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45274         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45275         (__m128i_shift_right): Removed.
45276         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45277         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45278         * sysdeps/x86_64/multiarch/varshift.h: New file.
45279         * sysdeps/x86_64/multiarch/varshift.S: New file.
45281 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45283         * configure.in: Move assembler checks to before sysdep dir checking.
45285 2010-08-20  Petr Baudis  <pasky@suse.cz>
45287         * LICENSES: Sync the sunrpc license.
45289 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45291         * sunrpc/auth_des.c: Update copyright notice once again.
45292         * sunrpc/auth_none.c: Likewise.
45293         * sunrpc/auth_unix.c: Likewise.
45294         * sunrpc/authdes_prot.c: Likewise.
45295         * sunrpc/authuxprot.c: Likewise.
45296         * sunrpc/bindrsvprt.c: Likewise.
45297         * sunrpc/clnt_gen.c: Likewise.
45298         * sunrpc/clnt_perr.c: Likewise.
45299         * sunrpc/clnt_raw.c: Likewise.
45300         * sunrpc/clnt_simp.c: Likewise.
45301         * sunrpc/clnt_tcp.c: Likewise.
45302         * sunrpc/clnt_udp.c: Likewise.
45303         * sunrpc/clnt_unix.c: Likewise.
45304         * sunrpc/des_crypt.c: Likewise.
45305         * sunrpc/des_soft.c: Likewise.
45306         * sunrpc/get_myaddr.c: Likewise.
45307         * sunrpc/getrpcport.c: Likewise.
45308         * sunrpc/key_call.c: Likewise.
45309         * sunrpc/key_prot.c: Likewise.
45310         * sunrpc/openchild.c: Likewise.
45311         * sunrpc/pm_getmaps.c: Likewise.
45312         * sunrpc/pm_getport.c: Likewise.
45313         * sunrpc/pmap_clnt.c: Likewise.
45314         * sunrpc/pmap_prot.c: Likewise.
45315         * sunrpc/pmap_prot2.c: Likewise.
45316         * sunrpc/pmap_rmt.c: Likewise.
45317         * sunrpc/rpc/auth.h: Likewise.
45318         * sunrpc/rpc/auth_unix.h: Likewise.
45319         * sunrpc/rpc/clnt.h: Likewise.
45320         * sunrpc/rpc/des_crypt.h: Likewise.
45321         * sunrpc/rpc/key_prot.h: Likewise.
45322         * sunrpc/rpc/netdb.h: Likewise.
45323         * sunrpc/rpc/pmap_clnt.h: Likewise.
45324         * sunrpc/rpc/pmap_prot.h: Likewise.
45325         * sunrpc/rpc/pmap_rmt.h: Likewise.
45326         * sunrpc/rpc/rpc.h: Likewise.
45327         * sunrpc/rpc/rpc_des.h: Likewise.
45328         * sunrpc/rpc/rpc_msg.h: Likewise.
45329         * sunrpc/rpc/svc.h: Likewise.
45330         * sunrpc/rpc/svc_auth.h: Likewise.
45331         * sunrpc/rpc/types.h: Likewise.
45332         * sunrpc/rpc/xdr.h: Likewise.
45333         * sunrpc/rpc_clntout.c: Likewise.
45334         * sunrpc/rpc_cmsg.c: Likewise.
45335         * sunrpc/rpc_common.c: Likewise.
45336         * sunrpc/rpc_cout.c: Likewise.
45337         * sunrpc/rpc_dtable.c: Likewise.
45338         * sunrpc/rpc_hout.c: Likewise.
45339         * sunrpc/rpc_main.c: Likewise.
45340         * sunrpc/rpc_parse.c: Likewise.
45341         * sunrpc/rpc_parse.h: Likewise.
45342         * sunrpc/rpc_prot.c: Likewise.
45343         * sunrpc/rpc_sample.c: Likewise.
45344         * sunrpc/rpc_scan.c: Likewise.
45345         * sunrpc/rpc_scan.h: Likewise.
45346         * sunrpc/rpc_svcout.c: Likewise.
45347         * sunrpc/rpc_tblout.c: Likewise.
45348         * sunrpc/rpc_util.c: Likewise.
45349         * sunrpc/rpc_util.h: Likewise.
45350         * sunrpc/rpcinfo.c: Likewise.
45351         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45352         * sunrpc/rpcsvc/key_prot.x: Likewise.
45353         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45354         * sunrpc/rpcsvc/mount.x: Likewise.
45355         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45356         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45357         * sunrpc/rpcsvc/rex.x: Likewise.
45358         * sunrpc/rpcsvc/rstat.x: Likewise.
45359         * sunrpc/rpcsvc/rusers.x: Likewise.
45360         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45361         * sunrpc/rpcsvc/spray.x: Likewise.
45362         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45363         * sunrpc/rtime.c: Likewise.
45364         * sunrpc/svc.c: Likewise.
45365         * sunrpc/svc_auth.c: Likewise.
45366         * sunrpc/svc_authux.c: Likewise.
45367         * sunrpc/svc_raw.c: Likewise.
45368         * sunrpc/svc_run.c: Likewise.
45369         * sunrpc/svc_simple.c: Likewise.
45370         * sunrpc/svc_tcp.c: Likewise.
45371         * sunrpc/svc_udp.c: Likewise.
45372         * sunrpc/svc_unix.c: Likewise.
45373         * sunrpc/svcauth_des.c: Likewise.
45374         * sunrpc/xcrypt.c: Likewise.
45375         * sunrpc/xdr.c: Likewise.
45376         * sunrpc/xdr_array.c: Likewise.
45377         * sunrpc/xdr_float.c: Likewise.
45378         * sunrpc/xdr_mem.c: Likewise.
45379         * sunrpc/xdr_rec.c: Likewise.
45380         * sunrpc/xdr_ref.c: Likewise.
45381         * sunrpc/xdr_sizeof.c: Likewise.
45382         * sunrpc/xdr_stdio.c: Likewise.
45384         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45385         handling.
45387 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45389         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45391 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45393         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45394         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45395         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45396         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45397         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45398         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45399         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45400         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45402         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45403         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45404         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45405         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45406         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45408 2010-07-26  Anton Blanchard  <anton@samba.org>
45410         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45411         * malloc/arena.c (heap_trim): Likewise.
45413 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45415         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45416         here.  Not...
45417         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45418         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45420 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45422         * sysdeps/i386/elf/Makefile: New file.
45424 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45426         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45427         from fanotify_init.
45428         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45429         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45431 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45433         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45434         of strncasecmp_l.
45435         * sysdeps/multiarch/strcmp.S: Likewise.
45437 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45439         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45440         strncase_l-nonascii.
45441         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45442         Add strncase_l-ssse3.
45443         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45444         * sysdeps/x86_64/strcmp.S: Likewise.
45445         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45446         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45447         * sysdeps/x86_64/strncase.S: New file.
45448         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45449         * sysdeps/x86_64/strncase_l.S: New file.
45450         * string/Makefile (strop-tests): Add strncasecmp.
45451         * string/test-strncasecmp.c: New file.
45453         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45454         warning.
45456         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45457         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45459 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45461         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45463 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45465         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45466         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45467         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45469 2010-05-01  Alan Modra  <amodra@gmail.com>
45471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45472         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45473         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45474         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45475         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45476         tidying.  Don't tail-call __sigjmp_save for static lib.
45477         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45478         save location.
45479         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45480         (CALL_MCOUNT): Add eh info, and nop after bl.
45481         (TAIL_CALL_SYSCALL_ERROR): New macro.
45482         (PSEUDO_RET): Use it.
45483         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45484         Correct save location of integer regs and cr.
45485         (_dl_profile_resolve): Correct cr save location.  Delete nops
45486         after bl when SHARED.  Reduce cfi size a little by better
45487         placement of cfi directives.
45488         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45489         make a stack frame.  Instead use parm save area as a temp.
45490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45491         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45493         Don't make a stack frame for parent, use parm save area.
45494         Increase child stack frame to 112 bytes.  Don't save unused reg,
45495         and adjust reg usage.  Set up cfi on error recovery and
45496         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45498         (__makecontext): Add dummy nop after jump to exit.
45499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45500         Use correct parm save area and cr save, reduce stack frame.
45501         Correct cfi for possible PSEUDO_RET frame setup.
45502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45503         Branch to local label emitted by PSEUDO_RET rather than
45504         __syscall_error.
45506 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45508         [BZ #11904]
45509         * locale/programs/locale.c (print_assignment): New function.
45510         (show_locale_vars): Use it.
45512 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45514         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45515         field.
45516         (struct statfs64): Likewise.
45517         (_STATFS_F_FLAGS): Define.
45518         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45519         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45520         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45521         (ST_VALID): Define locally.
45522         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45523         __statvfs_getflags, use the provided value.
45524         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45525         __ASSUME_STATFS_F_FLAGS.
45527         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45529         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45530         Add sys/fanotify.h.
45531         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45532         fanotify_mask for GLIBC_2.13.
45533         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45534         fanotify_init and fanotify_mark.
45535         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45536         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45538         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45539         Add prlimit.
45540         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45541         prlimit64 for GLIBC_2.13.
45542         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45543         prlimit64.
45544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45545         syscall.
45546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45547         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45548         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45549         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45551         add prlimit alias.
45552         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45554         [BZ #11903]
45555         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45556         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45558         * nss/Makefile: Add rules to build and run tst-nss-test1.
45559         * shlib-versions: Add entry for libnss_test1.
45560         * nss/nss_test1.c: New file.
45561         * nss/tst-nss-test1.c: New file.
45563         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45564         (__nss_configure_lookup): Set appropriate entry in
45565         __nss_configure_lookup to true.
45566         * nss/nsswitch.h: Define enum with indeces of databases in
45567         databases and __nss_database_custom arrays.  Declare
45568         __nss_database_custom.
45569         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45570         to avoid using nscd when custom rules are installed.
45571         * nss/getXXbyYY_r.c: Likewise.
45572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45574         * nss/nss_files/files-parse.c: Whitespace fixes.
45576 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45578         [BZ #11883]
45579         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45580         * posix/fnmatch_loop.c: Likewise.
45582 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45584         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45585         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45586         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45587         * Versions.def [GLIBC_2.13]: Add.
45589 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45591         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45592         Also fail if tpwd after pwuid call is NULL.
45594 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45596         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45597         when converting to ms.
45599 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45601         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45602         EOPNOTSUPP errors with ENOTTY.
45603         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45604         EOPNOTSUPP errors with ENOTTY.
45606 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45608         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45609         Add strcasecmp_l-ssse3.
45610         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45611         strcasecmp.
45612         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45613         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45614         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45616 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45618         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45620         * string/Makefile (strop-tests): Add strcasecmp.
45621         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45622         strcasecmp_l-nonascii.
45623         (gen-as-const-headers): Add locale-defines.sym.
45624         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45625         * sysdeps/x86_64/strcasecmp.S: New file.
45626         * sysdeps/x86_64/strcasecmp_l.S: New file.
45627         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45628         * sysdeps/x86_64/locale-defines.sym: New file.
45629         * string/test-strcasecmp.c: New file.
45631         * string/test-strcasestr.c: Test both ends of the range of characters.
45632         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45634 2010-07-29  Roland McGrath  <roland@redhat.com>
45636         [BZ #11856]
45637         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45639 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45641         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45642         for ld.so.
45644 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45646         * manual/memory.texi (Malloc Tunable Parameters): Document
45647         M_PERTURB.
45649 2010-07-26  Roland McGrath  <roland@redhat.com>
45651         [BZ #11840]
45652         * configure.in (-fgnu89-inline check): Set and substitute
45653         gnu89_inline, not libc_cv_gnu89_inline.
45654         * configure: Regenerated.
45655         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45657 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45659         * string/test-strnlen.c: New file.
45660         * string/Makefile (strop-tests): Add strnlen.
45661         * string/tester.c (test_strnlen): Add a few more test cases.
45662         * string/tst-strlen.c: Better error reporting.
45664         * sysdeps/x86_64/strnlen.S: New file.
45666 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45668         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45669         lower-latency instructions.
45671 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45673         * string/test-strcasestr.c: New file.
45674         * string/test-strstr.c: New file.
45675         * string/Makefile (strop-tests): Add strstr and strcasestr.
45676         * string/str-two-way.h: Don't undefine MAX.
45677         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45679 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45682         strcasestr-nonascii.
45683         (CFLAGS-strcasestr-nonascii.c): Define.
45684         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45685         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45686         Remove unused attribute.
45688 2010-07-20  Roland McGrath  <roland@redhat.com>
45690         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45691         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45692         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45693         like LD_HWCAP_MASK can disable hwcaps.
45695 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45697         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45699 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45701         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45702         call in strcasestr.
45703         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45704         __strcasestr_sse42_nonascii.
45705         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45706         strcasestr-nonascii.c.
45707         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45709 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
45711         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45712         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45713         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45714         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45716 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
45718         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45719         fcntl.
45721 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45723         [BZ #11577]
45724         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45725         dl_signal_cerror.
45727 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45729         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45730         _PC_PIPE_BUF using F_GETPIPE_SZ.
45732 2010-07-05  Roland McGrath  <roland@redhat.com>
45734         * manual/arith.texi (Rounding Functions): Fix rint description
45735         implicit in round description.
45737 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45739         * elf/Makefile: Fix linking for a few tests to make recent linker
45740         happy.
45742 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45744         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45745         $(common-objpfx)libc_nonshared.a.
45747 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45749         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45750         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45751         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45752         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45753         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45754         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45755         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45756         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45771         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45772         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45773         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45774         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45775         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45776         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45777         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45778         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45779         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45780         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45781         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45782         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45798 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45800         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45801         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45802         * string/memmove.c (memmove): Renamed to ...
45803         (MEMMOVE): ...this.  Default to memmove.
45804         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45805         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45806         (END_CHK): Define.
45807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45808         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45809         mempcpy-ssse3-back memmove-ssse3-back.
45810         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45811         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45812         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45813         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45814         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45815         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45816         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45817         * sysdeps/x86_64/multiarch/memmove.c: New file.
45818         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45819         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45820         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45821         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45822         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45823         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45824         Define.
45825         (index_Fast_Copy_Backward): Define.
45826         (HAS_ARCH_FEATURE): Define.
45827         (HAS_FAST_REP_STRING): Define.
45828         (HAS_FAST_COPY_BACKWARD): Define.
45830 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45832         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45833         Restore proper fallback handling.
45835 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45837         [BZ #11701]
45838         * posix/group_member.c (__group_member): Correct checking loop.
45840         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45841         OOM in getpwuid_r correctly.  Return error number when the caller
45842         should return, otherwise -1.
45843         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45844         call returning > 0 value.
45845         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45847 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45849         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45850         libc_nonshared.a from targets in modules-names.
45852 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45854         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45855         requires it.
45857 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45859         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45860         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45861         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45864 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45866         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45868 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45870         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45871         and F_GETPIPE_SZ.
45872         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45876         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45877         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45879 2010-06-14  Roland McGrath  <roland@redhat.com>
45881         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45883 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45885         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45886         __REDIRECT followed by __THROW.
45887         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45888         * posix/getopt.h (getopt): Likewise.
45890 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45892         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45893         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45894         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45895         in AT_FLAGS.
45896         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45897         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45899 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45903 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45905         [BZ #11640]
45906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45907         Properly check family and model.
45909 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45911         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45913 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45915         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45917 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45919         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45920         symbol reference.
45922 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45924         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45925         symbol reference.
45927 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45929         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45930         and internal_recvmmsg.
45931         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45932         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45933         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45934         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45936         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45937         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45938         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45940 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45942         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45944 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45946         POWER7 optimizations.
45947         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45948         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45950 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45952         * version.h: Update for 2.13 development version.
45954 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45956         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45957         exceptions.  Return 0.
45959 2010-05-07  Roland McGrath  <roland@redhat.com>
45961         * elf/ldconfig.c (main): Add a const.
45963 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45965         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45966         (args_options): Add no-idn option.
45967         (ahosts_keys_int): Add idn_flags to ai_flags.
45968         (parse_option): Handle 'i' option to clear idn_flags.
45970         * malloc/malloc.c (_int_free): Possible race in the most recently
45971         added check.  Only act on the data if no current modification
45972         happened.
45974 See ChangeLog.17 for earlier changes.