Fix variable used in sed expression in timezone/Makefile
[glibc.git] / ChangeLog
blob41617506322a58406c124f05793302b6ca2c2f55
1 2014-05-16  Allan McRae  <allan@archlinux.org>
3         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4         in sed expression.
6 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8         [BZ #16917]
9         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10         errno if the TIOCGPTN ioctl fails with an error different than
11         EINVAL.
12         * login/tst-ptsname.c: New file.
13         * login/Makefile (tests): Add tst-ptsname.
15         [BZ #16943]
16         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17         and prlimit64.
19 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21         [BZ #16849]
22         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
23         herrno to return EAI_AGAIN.
25 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
42         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
53         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
54         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
55         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
56         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
57         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
58         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
59         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
60         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
61         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62         Moved ...
63         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
64         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
65         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
66         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
67         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
68         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
69         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
70         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
71         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
72         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
73         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
74         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
75         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
76         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
77         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
78         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
79         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
80         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
81         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
82         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
83         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
84         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
85         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
86         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
87         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
88         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
89         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
90         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
91         Moved ...
92         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
93         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
94         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
95         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
96         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
97         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
98         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
99         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
102         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
104         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
106         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
108         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
110         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
112         Moved ...
113         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
115         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
117         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
118         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
119         (libpthread-sysdep_routines): Add elision-related stuff here instead.
120         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
121         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
122         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
123         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
124         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
125         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
126         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
127         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
128         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
129         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
130         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
131         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
132         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
133         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
134         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
135         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
136         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
137         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
138         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
139         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
140         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
141         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
142         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
143         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
144         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
145         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
146         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
147         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
149         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
150         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
152         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
153         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
154         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
155         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
156         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
158         Moved ...
159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
161         Moved ...
162         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
164         Moved ...
165         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
167         Moved ...
168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
169         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
170         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
171         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
172         Moved ...
173         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
174         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
175         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
177         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
178         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
179         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
180         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
181         Moved ...
182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
184         Moved ...
185         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
186         ... here.
187         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
188         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
189         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
190         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
192         Moved ...
193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
194         ... here.
195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
196         Moved ...
197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
198         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
199         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
200         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
201         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
203         Moved ...
204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
206         Moved ...
207         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
209         Moved ...
210         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
212         Moved ...
213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
214         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
215         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
216         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
217         Moved ...
218         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
219         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
220         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
222         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
223         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
224         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
225         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
226         Moved ...
227         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
229         Moved ...
230         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
231         ... here.
232         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
233         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
234         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
235         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
237         Moved ...
238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
239         ... here.
240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
241         Moved ...
242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
243         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
244         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
245         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
246         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
247         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
248         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
249         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
250         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
252         Moved ...
253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
255         Moved ...
256         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
258         Moved ...
259         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
261         Moved ...
262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
263         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
264         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
265         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
266         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
268         Moved ...
269         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
270         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
271         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
273         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
274         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
275         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
277         Moved ...
278         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
280         Moved ...
281         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
282         ... here.
283         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
284         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
285         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
286         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
288         Moved ...
289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
290         ... here.
291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
292         Moved ...
293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
294         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
295         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
296         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
297         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
298         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
299         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
300         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
301         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
302         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
303         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
305         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
306         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
308         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
309         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
311         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
312         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
313         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
314         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
315         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
316         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
317         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
318         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
319         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
320         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
322         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
323         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
324         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
325         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
327         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
329         Moved ...
330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
332         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
334         Moved ...
335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
339         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
343         Moved ...
344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
346         Moved ...
347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
349         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
353         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
354         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
355         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
356         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
357         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
358         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
359         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
360         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
361         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
362         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
363         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
365         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
366         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
367         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
368         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
369         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
371         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
372         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
373         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
374         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
375         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
376         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
377         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
378         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
379         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
380         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
385         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
386         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
387         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
388         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
389         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
390         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
391         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
392         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
393         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
394         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
395         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
396         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
397         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
398         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
400         Update #include.
401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
402         Likewise.
403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
404         Likewise.
405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
406         Likewise.
407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
408         Likewise.
409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
410         Likewise.
411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
412         Likewise.
413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
414         Likewise.
415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
416         Likewise.
417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
418         Likewise.
419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
425         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
427         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
430         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
431         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
433         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
435         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
436         that was previously under [RESET_PID].
437         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
438         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
439         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
441         * sysdeps/i386/nptl/Implies: New file.
442         * sysdeps/x86_64/nptl/Implies: New file.
443         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
444         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
445         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
446         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
448         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
449         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
450         (__libc_vfork): New strong alias.
451         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
452         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
454         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
455         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
456         (__libc_vfork): New strong alias.
457         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
458         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
460         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
461         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
462         (__libc_vfork): New strong alias.
463         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
464         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
465         * nptl/pt-vfork.c: New file.
466         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
467         (libpthread: GLIBC_2.20): New version set (empty).
469 2014-05-14  Will Newton  <will.newton@linaro.org>
471         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
472         rather than #if.
474 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
476         [BZ #16564]
477         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
478         arguments with exponent 65 or above.
479         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
480         arguments 0x1p113L or above.
481         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
482         to arguments 0x1p107L or above.
483         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
484         positive arguments with exponent 65 or above.
485         * math/auto-libm-test-in: Add more tests of log1p.
486         * math/auto-libm-test-out: Regenerated.
488         [BZ #16928]
489         * math/s_cacos.c (__cacos): Ensure zero real part of result from
490         non-finite arguments is +0.
491         * math/s_cacosf.c (__cacosf): Likewise.
492         * math/s_cacosl.c (__cacosl): Likewise.
493         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
494         * sysdeps/i386/fpu/libm-test-ulps: Update.
495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497         [BZ #16927]
498         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
499         value.
500         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
501         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
502         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
503         for explicit high bit of mantissa when testing for argument equal
504         to 1.
505         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
506         * sysdeps/i386/fpu/libm-test-ulps: Update.
507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509         [BZ #16516]
510         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
511         (__erf): Scale by 16 instead of 8 in potentially underflowing
512         case.  Ensure exception if result actually underflows.
513         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
514         (__erff): Scale by 16 instead of 8 in potentially underflowing
515         case.  Ensure exception if result actually underflows.
516         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
517         (efx8): Remove variable.
518         (__erfl): Scale by 16 instead of 8 in potentially underflowing
519         case.  Ensure exception if result actually underflows.
520         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
521         (efx8): Remove variable.
522         (__erfl): Scale by 16 instead of 8 in potentially underflowing
523         case.  Ensure exception if result actually underflows.
524         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
525         (efx8): Remove variable.
526         (__erfl): Scale by 16 instead of 8 in potentially underflowing
527         case.  Ensure exception if result actually underflows.
528         * math/auto-libm-test-in: Add more tests of erf.
529         * math/auto-libm-test-out: Regenerated.
531 2014-05-14  Andreas Schwab  <schwab@suse.de>
533         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
534         Remove code conditionalized on USE___THREAD.
536         * config.h.in (HAVE_PT_CHOWN): Define as 0.
537         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
538         not definedness.
540 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
543         Define unconditionally.
544         (__ASSUME_O_CLOEXEC): Likewise.
545         (__ASSUME_SOCK_CLOEXEC): Likewise.
546         (__ASSUME_IN_NONBLOCK): Likewise.
547         (__ASSUME_PIPE2): Likewise.
548         (__ASSUME_EVENTFD2): Likewise.
549         (__ASSUME_SIGNALFD4): Likewise.
550         (__ASSUME_DUP3): Likewise.
551         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
552         (__ASSUME_DUP3): Do not define.
553         (__ASSUME_EVENTFD2): Likewise.
554         (__ASSUME_IN_NONBLOCK): Likewise.
555         (__ASSUME_O_CLOEXEC): Likewise.
556         (__ASSUME_PIPE2): Likewise.
557         (__ASSUME_SIGNALFD4): Likewise.
558         (__ASSUME_SOCK_CLOEXEC): Likewise.
559         (__ASSUME_UTIMES): Undefine.
560         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
561         (__ASSUME_UTIMES): Do not define.
562         (__ASSUME_O_CLOEXEC): Likewise.
563         (__ASSUME_SOCK_CLOEXEC): Likewise.
564         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
565         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
566         0x020621].
567         (__ASSUME_PIPE2): Likewise.
568         (__ASSUME_EVENTFD2): Likewise.
569         (__ASSUME_SIGNALFD4): Likewise.
570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
571         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
572         Do not define.
573         (__ASSUME_EVENTFD2): Likewise.
574         (__ASSUME_SIGNALFD4): Likewise.
575         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
576         (__ASSUME_32BITUIDS): Likewise.
577         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
578         (__ASSUME_IPC64): Likewise.
579         (__ASSUME_ST_INO_64_BIT): Likewise.
580         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
581         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
582         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
583         (__ASSUME_UTIMES): Do not define.
584         (__ASSUME_PSELECT): Likewise.
585         (__ASSUME_PPOLL): Likewise.
586         (__ASSUME_O_CLOEXEC): Likewise.
587         (__ASSUME_SOCK_CLOEXEC): Likewise.
588         (__ASSUME_IN_NONBLOCK): Likewise.
589         (__ASSUME_PIPE2): Likewise.
590         (__ASSUME_EVENTFD2): Likewise.
591         (__ASSUME_SIGNALFD4): Likewise.
592         (__ASSUME_DUP3): Likewise.
593         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
594         (__ASSUME_UTIMES): Likewise.
595         (__ASSUME_O_CLOEXEC): Likewise.
596         (__ASSUME_SOCK_CLOEXEC): Likewise.
597         (__ASSUME_IN_NONBLOCK): Likewise.
598         (__ASSUME_PIPE2): Likewise.
599         (__ASSUME_EVENTFD2): Likewise.
600         (__ASSUME_SIGNALFD4): Likewise.
601         (__ASSUME_DUP3): Likewise.
602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
603         (__ASSUME_UTIMES): Likewise.
604         (__ASSUME_O_CLOEXEC): Likewise.
605         (__ASSUME_SOCK_CLOEXEC): Likewise.
606         (__ASSUME_IN_NONBLOCK): Likewise.
607         (__ASSUME_PIPE2): Likewise.
608         (__ASSUME_EVENTFD2): Likewise.
609         (__ASSUME_SIGNALFD4): Likewise.
610         (__ASSUME_DUP3): Likewise.
611         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
612         Likewise.
613         (__ASSUME_UTIMES): Likewise.
614         (__ASSUME_EVENTFD2): Likewise.
615         (__ASSUME_SIGNALFD4): Likewise.
616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
617         (__ASSUME_O_CLOEXEC): Likewise.
618         (__ASSUME_SOCK_CLOEXEC): Likewise.
619         (__ASSUME_IN_NONBLOCK): Likewise.
620         (__ASSUME_PIPE2): Likewise.
621         (__ASSUME_EVENTFD2): Likewise.
622         (__ASSUME_SIGNALFD4): Likewise.
623         (__ASSUME_DUP3): Likewise.
624         (__ASSUME_UTIMES): Undefine.
626         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
627         feclearexcept.  Remove symbol versioning code.
628         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
629         symbol versioning code.
630         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
631         symbol versioning code.
632         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
633         feupdateenv.  Remove symbol versioning code.
634         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
635         fegetexceptflag.  Remove symbol versioning code.
636         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
637         fesetexceptflag.  Remove symbol versioning code.
638         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
639         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
640         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
641         (__posix_fadvise64_l32): Remove prototype.
642         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
643         code.
645 2014-05-13  Roland McGrath  <roland@hack.frob.com>
647         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
648         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
649         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
650         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
652 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
654         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
655         current working directory
657 2014-05-13  Roland McGrath  <roland@hack.frob.com>
659         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
660         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
661         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
662         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
663         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
664         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
665         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
666         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
667         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
668         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
669         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
670         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
671         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
672         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
673         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
675         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
676         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
677         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
678         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
679         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
680         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
681         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
682         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
683         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
684         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
685         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
686         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
687         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
688         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
689         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
690         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
691         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
692         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
693         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
694         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
695         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
696         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
697         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
698         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
699         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
700         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
702         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
703         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
705         * sysdeps/unix/sysv/linux/arm/Makefile
706         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
707         Add rt-aeabi_unwind_cpp_pr1.
708         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
709         Add nptl-aeabi_unwind_cpp_pr1.
710         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
711         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
712         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
713         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
714         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
715         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
717         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
718         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
719         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
720         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
722         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
723         Deconditionalize the code that was previously under [RESET_PID].
724         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
726         * sysdeps/generic/exit-thread.h: New file.
727         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
728         * include/unistd.h (__exit_thread): Remove declaration.
729         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
730         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
731         * csu/libc-start.c: Include <exit-thread.h>.
732         (LIBC_START_MAIN): Pass no argument to __exit_thread.
733         * nptl/pthread_create.c: Include <exit-thread.h>.
734         (start_thread): Call __exit_thread in place of __exit_thread_inline.
735         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
736         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
737         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
738         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
739         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
740         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
741         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
742         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
743         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
744         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
745         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
746         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
747         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
748         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
749         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
750         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
752 2014-05-13  Andreas Schwab  <schwab@suse.de>
754         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
756 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
758         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
759         (__ASSUME_UTIMES): Do not condition on kernel version.
760         (__ASSUME_PSELECT): Define unconditionally.
761         (__ASSUME_PPOLL): Likewise.
762         (__ASSUME_ATFCTS): Likewise.
763         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
764         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
765         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
766         (__ASSUME_UTIMENSAT): Define unconditionally.
767         (__ASSUME_PRIVATE_FUTEX): Likewise.
768         (__ASSUME_FALLOCATE): Likewise.
769         (__ASSUME_O_CLOEXEC): Likewise.
770         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
771         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
772         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
773         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
774         (__ASSUME_IN_NONBLOCK): Likewise.
775         (__ASSUME_PIPE2): Likewise.
776         (__ASSUME_EVENTFD2): Likewise.
777         (__ASSUME_SIGNALFD4): Likewise.
778         (__ASSUME_DUP3): Likewise.
779         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
780         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
781         (__ASSUME_AT_RANDOM): Likewise.
782         (__ASSUME_PREADV): Likewise.
783         (__ASSUME_PWRITEV): Likewise.
784         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
785         (__ASSUME_F_GETOWN_EX): Define unconditionally.
786         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
787         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
788         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
790         (__ASSUME_O_CLOEXEC): Define unconditionally.
791         (__ASSUME_PSELECT): Do not undefine conditionally.
792         (__ASSUME_PPOLL): Likewise.
793         (__ASSUME_ATFCTS): Likewise.
794         (__ASSUME_SET_ROBUST_LIST): Likewise.
795         (__ASSUME_UTIMENSAT): Likewise.
796         (__ASSUME_FDATASYNC): Define unconditionally.
797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
798         (__ASSUME_SIGFRAME_V2): Likewise.
799         )__ASSUME_EVENTFD2): Likewise.
800         (__ASSUME_SIGNALFD4): Likewise.
801         (__ASSUME_PSELECT): Do not undefine conditionally.
802         (__ASSUME_PPOLL): Likewise.
803         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
804         (__ASSUME_PSELECT): Define unconditionally.
805         (__ASSUME_PPOLL): Likewise.
806         (__ASSUME_O_CLOEXEC): Likewise.
807         (__ASSUME_SOCK_CLOEXEC): Likewise.
808         (__ASSUME_IN_NONBLOCK): Likewise.
809         (__ASSUME_PIPE2): Likewise.
810         (__ASSUME_EVENTFD2): Likewise.
811         (__ASSUME_SIGNALFD4): Likewise.
812         (__ASSUME_DUP3): Likewise.
813         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
814         (__ASSUME_O_CLOEXEC): Likewise.
815         (__ASSUME_SOCK_CLOEXEC): Likewise.
816         (__ASSUME_IN_NONBLOCK): Likewise.
817         (__ASSUME_PIPE2): Likewise.
818         (__ASSUME_EVENTFD2): Likewise.
819         (__ASSUME_SIGNALFD4): Likewise.
820         (__ASSUME_DUP3): Likewise.
821         * sysdeps/unix/sysv/linux/mips/kernel-features.h
822         (__ASSUME_EVENTFD2): Likewise.
823         (__ASSUME_SIGNALFD4): Likewise.
824         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
826 2014-05-12  Andreas Schwab  <schwab@suse.de>
828         [BZ #16932]
829         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
830         (_nss_nis_gethostbyname4_r): Return error if item length is larger
831         than maximum RPC packet size.
832         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
833         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
834         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
835         (_nss_nis_getservbyport_r): Likewise.
837 2014-05-12  Will Newton  <will.newton@linaro.org>
839         * malloc/Makefile (tests): Add tst-mallopt.
840         * malloc/tst-mallopt.c: New file.
842 2014-05-09  Roland McGrath  <roland@hack.frob.com>
844         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
845         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
847 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
849         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
850         (tst-tlsmod6.so): Likewise.
852 2014-05-09  Roland McGrath  <roland@hack.frob.com>
854         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
856 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
858         [BZ #16064]
859         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
860         and <dl-procinfo.h>.
861         (__fegetenv): Save SSE state in envp->__eip if supported.
862         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
863         envp->__eip if supported.
864         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
865         and <dl-procinfo.h>.
866         (__fesetenv): Always set __eip, __cs_selector, __opcode,
867         __data_offset and __data_selector in environment to 0.  Set SSE
868         state if supported.
869         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
870         test-fenv-sse.
871         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
872         -mfpmath=sse.
873         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
875 2014-05-09  Will Newton  <will.newton@linaro.org>
877         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
878         and libc_relro_required for ARM.
879         * sysdeps/arm/preconfigure: Regenerate.
881 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
882             Stefan Liebler  <stli@linux.vnet.ibm.com>
884         * config.make.in (enable-lock-elision): New Makefile variable.
885         * configure.ac: Likewise.
886         * configure: Regenerate.
887         * sysdeps/s390/configure.ac:
888         Add check for gcc transactions support.
889         * sysdeps/s390/configure: Regenerate.
890         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
891         Build elision files if enabled.
892         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
893         Add lock elision support for s390.
894         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
895         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
896         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
897         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
898         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
899         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
901         Likewise.
902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
903         Likewise.
904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
905         Likewise.
906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
907         Likewise.
908         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
909         (__lll_timedlock_elision, __lll_lock_elision)
910         (__lll_unlock_elision, __lll_trylock_elision)
911         (lll_timedlock_elision, lll_lock_elision)
912         (lll_unlock_elision, lll_trylock_elision): Add.
913         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
914         (pthread_mutex_t): Add lock elision support for s390.
916 2014-05-14  Wilco  <wdijkstr@arm.com>
918         * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
919         * sysdeps/arm/fedisblxcpt.c: Likewise.
920         * sysdeps/arm/feenablxcpt.c: Likewise.
921         * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
922         * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
923         * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
924         Call optimized (libc_fesetenv_vfp).
925         * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
926         * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
927         Call optimized (libc_feupdateenv_vfp).
928         * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
929         * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
930         writes.
931         * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
932         * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
934 2014-05-14  Wilco  <wdijkstr@arm.com>
936         * sysdeps/arm/fclrexcpt.c: Cleanup.
937         * sysdeps/arm/fedisblxcpt.c: Cleanup.
938         * sysdeps/arm/feenablxcpt.c: Cleanup.
939         * sysdeps/arm/fegetenv.c: Cleanup.
940         * sysdeps/arm/fegetexcept.c: Cleanup.
941         * sysdeps/arm/fegetround.c: Cleanup.
942         * sysdeps/arm/feholdexcpt.c: Cleanup.
943         * sysdeps/arm/fesetenv.c: Cleanup.
944         * sysdeps/arm/fesetround.c: Cleanup.
945         * sysdeps/arm/feupdateenv.c: Cleanup.
946         * sysdeps/arm/fgetexcptflg.c: Cleanup.
947         * sysdeps/arm/fraiseexcpt.c: Cleanup.
948         * sysdeps/arm/fsetexcptflg.c: Cleanup.
949         * sysdeps/arm/ftestexcept.c: Cleanup.
950         * sysdeps/arm/get-rounding-mode.h: Cleanup.
951         * sysdeps/arm/setfpucw.c: Cleanup.
953 2014-05-09  Will Newton  <will.newton@linaro.org>
955         * sysdeps/arm/armv7/strcmp.S: New file.
956         * NEWS: Mention addition of ARMv7 optimized strcmp.
958 2014-05-08  Roland McGrath  <roland@hack.frob.com>
960         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
961         look for %.ac rather than %.in.
963         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
964         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
965         * sysdeps/mach/hurd/configure: Regenerated.
966         * sysdeps/unix/sysv/linux/configure: Regenerated.
968         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
970 2014-05-07  Steve Ellcey  <sellcey@mips.com>
972         [BZ# 16922]
973         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
974         (LONG_SUB): Ditto.
975         (PTR_SUB): Ditto.
977 2014-05-07  Andreas Schwab  <schwab@suse.de>
979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
980         when skipping over non-matching result from nscd.
982 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
984         [BZ #16876]
985         * nptl/sockperf.c (client): Check socket return value.
987         [BZ #16877]
988         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
989         nscd security class.
991 2014-05-06  Roland McGrath  <roland@hack.frob.com>
993         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
994         * sysdeps/arm/unwind.h: ... here.
996 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
998         [BZ# 16916]
999         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1000         Define.
1002 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1004         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1005         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1006         multiarch strncpy for PPC64.
1007         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1008         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1010         multiarch optimizations.
1011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1012         (__libc_ifunc_impl_list): Likewise.
1013         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1014         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1015         multiarch stpncpy for PPC64.
1016         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1017         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1019 2014-05-06  Andreas Schwab  <schwab@suse.de>
1021         [BZ #16912]
1022         * gmon/mcount.c (_MCOUNT_DECL): Use
1023         atomic_compare_and_exchange_bool_acq instead of
1024         catomic_compare_and_exchange_bool_acq.
1026 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1028         * elf/Makefile (others, install-bin): Remove pldd.
1029         (pldd-modules): Variable removed.
1030         ($(objpfx)pldd): Target removed.
1031         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1032         (others, install-bin): Append pldd here.
1033         ($(objpfx)pldd): New target.
1035         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1036         to 0, so the first #if test emitted later doesn't see it undefined.
1037         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1038         * sysdeps/gnu/errlist.c: Regenerated.
1040 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1042         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1043         [libc_hidden_builtin_def]: Define to empty value.
1044         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1045         [libc_hidden_builtin_def]: Likewise.
1046         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1047         [libc_hidden_builtin_def]: Likewise.
1048         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1049         [libc_hidden_builtin_def]: Likewise.
1050         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1051         __redirect_memcpy and define ifunc as default hidden symbol.
1052         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1053         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1055 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1057         * locale/iso-4217.def: Reintroduce XDR currency.
1059 2014-05-04  Allan McRae  <allan@archlinux.org>
1061         * po/eo.po: Update Esperanto translation from translation project.
1063 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1065         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1066         and FEATURE_INDEX_MAX to 1.
1067         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1069 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1071         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1072         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1073         * iconvdata/big5.c (ONE_DIRECTION): Define.
1074         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1075         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1076         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1077         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1078         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1079         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1080         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1081         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1082         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1083         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1084         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1085         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1086         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1087         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1088         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1089         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1090         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1091         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1092         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1093         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1094         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1095         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1096         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1097         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1098         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1099         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1100         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1101         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1102         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1103         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1104         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1105         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1106         * iconvdata/johab.c (ONE_DIRECTION): Define.
1107         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1108         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1109         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1110         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1111         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1112         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1113         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1114         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1115         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1116         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1118 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1120         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1121         (_IO_JUMPS_OFFSET): Define to 0.
1123         * nptl/sysdeps/pthread/bits/libc-lock.h
1124         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1125         (__libc_lock_define_initialized_recursive): Always define using
1126         initializer.  Modern compilers treat uninitialized (implicit zero) and
1127         explicit zero initializers the same (i.e. put the datum in bss).
1129 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1131         * nscd/nscd-client.h: Include <string.h>.
1133 2014-05-01  David S. Miller  <davem@davemloft.net>
1135         [BZ #16885]
1136         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1137         multiple zero bytes exist at the end of a string.
1138         Reported by Aurelien Jarno <aurelien@aurel32.net>
1140         * string/test-strcmp.c (check): Add explicit test for situations where
1141         there are multiple zero bytes after the first.
1143 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1145         [BZ #16890]
1146         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1147         when compiling wprintf.
1148         * stdio-common/tstdiomisc.c (t3): New function.
1149         (main): Call it.
1151 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1153         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1154         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1155         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1156         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1158 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1160         * stdlib/longlong.h: Updated from GCC.
1162 2014-05-01  Will Newton  <will.newton@linaro.org>
1163             Bernard Ogden  <bernie.ogden@linaro.org>
1165         * NEWS: Update fixed bug list.
1167         [BZ #15119]
1168         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1170 2014-04-30  David S. Miller  <davem@davemloft.net>
1172         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1173         (libc_feholdexcept_setround_sparc_ctx): New function.
1174         (libc_fesetenv_sparc_ctx): Likewise.
1175         (libc_feupdateenv_sparc_ctx): Likewise.
1176         (libc_feholdsetround_sparc_ctx): Likewise.
1177         (libc_feholdexcept_setround_ctx): Define.
1178         (libc_feholdexcept_setroundf_ctx): Likewise.
1179         (libc_feholdexcept_setroundl_ctx): Likewise.
1180         (libc_fesetenv_ctx): Likewise.
1181         (libc_fesetenvf_ctx): Likewise.
1182         (libc_fesetenvl_ctx): Likewise.
1183         (libc_feupdateenv_ctx): Likewise.
1184         (libc_feupdateenvf_ctx): Likewise.
1185         (libc_feupdateenvl_ctx): Likewise.
1186         (libc_feresetround_ctx): Likewise.
1187         (libc_feresetroundf_ctx): Likewise.
1188         (libc_feresetroundl_ctx): Likewise.
1189         (libc_feholdsetround_ctx): Likewise.
1190         (libc_feholdsetroundf_ctx): Likewise.
1191         (libc_feholdsetroundl_ctx): Likewise.
1193         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1194         with __USE_GNU instead of XOPEN cpp guards.
1196         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1197         0.
1199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1200         with XOPEN cpp guards.
1202 2014-04-30  Julian Brown  <julian@codesourcery.com>
1204         [BZ #16888]
1205         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1206         handling.
1208 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1210         [BZ #9894]
1211         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1212         Change to 2.6.32.
1213         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1214         * sysdeps/unix/sysv/linux/configure: Regenerated.
1215         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1216         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1217         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1218         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1219         * README: Update reference to required Linux kernel version.
1220         * manual/install.texi (Linux): Update reference to required Linux
1221         kernel headers version.
1222         * INSTALL: Regenerated.
1224         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1225         header inclusion.
1226         [POSIX] (limits.h): Likewise.
1227         [POSIX] (math.h): Likewise.
1228         [POSIX] (sys/wait.h): Likewise.
1229         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1230         function.
1231         [POSIX] (stddef.h): Do not allow header inclusion.
1233 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1235         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1237 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1239         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1240         Return immediately after lll_futex_wake.
1242 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1244         [BZ #16791]
1245         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1246         structure.
1247         (datahead_init_pos): Call datahead_init_common early.
1248         (datahead_init_neg): Likewise.
1250         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1251         datahead_init_neg): New functions.
1252         * nscd/aicache.c (addhstaiX): Use them.
1253         * nscd/grpcache.c (cache_addgr): Likewise.
1254         * nscd/hstcache.c (cache_addhst): Likewise.
1255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1256         * nscd/netgroupcache.c (do_notfound): Likewise.
1257         (addgetnetgrentX): Likewise.
1258         (addinnetgrX): Likewise.
1259         * nscd/pwdcache.c (cache_addpw): Likewise.
1260         * nscd/servicescache.c (cache_addserv): Likewise.
1262 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1263             Atsushi Onoe  <atsushi@onoe.org>
1265         [BZ #14308]
1266         [BZ #12994]
1267         [BZ #13651]
1268         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1269         one response is valid.
1270         * resolv/res_send.c (send_dg): Check for validity of other
1271         response if the current response is a referral.
1273 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1275         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1277 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1279         [BZ #16823]
1280         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1281         Always divide by positive zero when computing -Inf result.
1282         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1283         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1285 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1287         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1288         FPSCR if value do not change.
1289         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1290         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1291         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1292         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1293         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1294         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1295         function.
1297 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1299         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1300         * sysdeps/unix/sysv/linux/hppa: Move directory from
1301         ports/systeps/unix/sysv/linux/hppa.
1302         * README: Update listing for hppa-*-linux-gnu.
1304 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1306         [BZ #16754]
1307         * manual/stdio.texi (Hook functions): Fix types of stream hook
1308         functions.
1309         [BZ #16854]
1310         * socket/sys/socket.h: Fix typo in comment.
1312 2014-04-28  Wilco  <wdijkstr@arm.com>
1314         * sysdeps/arm/fenv_private.h: New file.
1315         * sysdeps/arm/math_private.h: New file.
1316         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1318 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1320         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1321         with __int128_t.
1322         (La_x86_64_retval): Likewise.
1324 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1326         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1327         fpsr if value didn't change.
1328         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1329         to fpcr if value didn't change.
1330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1331         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1332         fpsr or fpcr if value didn't change.
1333         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1334         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1335         fpcr if value didn't change.
1336         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1337         to fpsr if value didn't change.
1339 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1341         * nptl/tst-sem3.c: Use test-skeleton.c
1342         (main): Rename to do_test.  Use return instead of
1343         exit.
1344         * nptl/tst-sem4.c: Use test-skeleton.c
1345         (main): Rename to do_test.
1347 2014-04-22  David S. Miller  <davem@davemloft.net>
1349         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1350         (struct sigaction): New struct member __glibc_reserved0, change
1351         type of sa_flags to int.
1353 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1355         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1356         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1358 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1360         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1361         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1363 2014-04-22  Will Newton  <will.newton@linaro.org>
1364             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1366         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1367         (__longjmp): Add longjmp and longjmp_target SystemTap
1368         probes.
1369         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1370         (__sigsetjmp): Add setjmp SystemTap probe.
1372 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1374         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1375         match manual order.
1377 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1381         * sysdeps/powerpc/fpu/fenv_private.h
1382         (libc_feholdexcept_setroundl_ctx): Define to
1383         libc_feholdexcept_setround_ppc_ctx.
1384         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1385         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1386         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1387         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1389 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1391         * sysdeps/aarch64/math-tests.h: New file.
1393 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1395         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1396         New.
1397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1398         Check and set bit_AVX2_Usable.
1399         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1400         macro.
1401         (bit_AVX2): Likewise.
1402         (index_AVX2_Usable): Likewise.
1403         (CPUID_AVX2): Likewise.
1404         (HAS_AVX2): Likewise.
1406 2014-04-17  Will Newton  <will.newton@linaro.org>
1408         * manual/setjmp.texi (System V contexts): Add note that
1409         calling setcontext on a context created by a call to a
1410         signal handler is undefined.  Update text to note that
1411         setcontext from a signal handler is possible but not
1412         recommended.
1414         [BZ #16629]
1415         * stdlib/tst-setcontext.c: Include signal.h.
1416         (main): Check that the signal stack before and
1417         after swapcontext is the same.
1419         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1420         Re-implement to restore registers in user code and avoid
1421         rt_sigreturn system call.
1423 2014-04-17  Wilco  <wdijkstr@arm.com>
1425         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1426         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1427         * math/test-fenv.c: Skip exception trap tests on targets which only
1428         support non-stop mode.
1430 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1431             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1433         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1434         (libc_feholdsetround_aarch64_ctx)
1435         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1436         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1437         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1438         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1439         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1440         (libc_feresetround_noexl_ctx): Define.
1442 2014-04-16  Richard Henderson  <rth@redhat.com>
1444         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1446         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1447         unwind tables.
1449         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1450         const from the non-libc, non-ldso copy.
1452         * sysdeps/alpha/libm-test-ulps: Regenerate.
1454 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1455             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1457         * sysdeps/aarch64/fpu/math_private.h: New file.
1459 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1461         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1463 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1465         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1466         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1468         Intel MPX bound registers before _dl_profile_fixup.
1469         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1470         registers after _dl_profile_fixup.  Save and restore bound
1471         registers bnd0/bnd1 when calling _dl_call_pltexit.
1472         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1473         (LR_BND_OFFSET): Likewise.
1474         (LRV_BND0_OFFSET): Likewise.
1475         (LRV_BND1_OFFSET): Likewise.
1477 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1479         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1480         to...
1481         * sysdeps/mach/hurd/i386/tls.h: ... here.
1482         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1483         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1484         fields.
1486 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1488         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1490 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1492         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1494 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1496         [BZ #14770]
1497         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1498         * sysdeps/s390/configure: Regenerate.
1500         [BZ #16824]
1501         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1502         Set round-to-nearest internally to reduce error accumulation.
1504 2014-04-16  Alan Modra  <amodra@gmail.com>
1506         [BZ #16740]
1507         [BZ #16619]
1508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1509         * math/libm-test.inc (frexp_test_data): Add tests.
1510         * NEWS: Update fixed bug list.
1512 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1514         * benchtests/Makefile: Depend on libraries in build directory.
1515         (bench-math): Separate out math tests.
1516         (bench-pthread): Separate out pthread tests.
1517         (bench): Include math and pthread tests.
1519 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1521         [BZ #16831]
1522         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1523         _dl_debug_initialize.
1525         * configure.ac: Remove SELinux header check.
1526         * configure: Regenerate.
1527         * nscd/selinux.c (perms): Array of const char* to permission names.
1528         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1529         default policy. Call string_to_security_class and string_to_av_perm to
1530         translate strings. Enforce default policy and call avs_has_perm with
1531         results of translated strings.
1533 2014-04-13  David S. Miller  <davem@davemloft.net>
1535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1537 2014-04-12  Allan McRae  <allan@archlinux.org>
1539         [BZ #16838]
1540         * manual/string.texi (Collation Functions): Fix qsort argument
1541         order in example.
1542         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1544 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1546         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1547         Make the test a no-op if there are no exceptions defined.
1549 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1551         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1552         enable-hardcoded-path-in-tests
1554 2014-04-11  Will Newton  <will.newton@linaro.org>
1556         * benchtests/Makefile (extra-objs): Add json-lib.o.
1557         (bench-func): Tidy up JSON output.
1558         * benchtests/bench-skeleton.c: Include json-lib.h.
1559         (main): Use JSON library functions to do output of
1560         benchmark results.
1561         * benchtests/bench-timing-type.c (main): Output the
1562         timing type simply, leaving formatting to the user.
1563         * benchtests/json-lib.c: New file.
1564         * benchtests/json-lib.h: Likewise.
1566 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1568         [BZ #15215]
1569         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1570         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1571         memory barriers.  Add comments.
1572         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1573         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1574         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1575         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1576         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1577         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1579 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1581         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1582         * sysdeps/s390/s390-64/configure.ac: ... this ...
1583         * sysdeps/s390/configure.ac: ... to here.
1584         * sysdeps/s390/s390-32/configure: Delete file.
1585         * sysdeps/s390/s390-64/configure: Delete file.
1586         * sysdeps/s390/configure: Regenerate.
1588 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1590         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1592 2014-04-11  Will Newton  <will.newton@linaro.org>
1594         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1595         to zero if it is not defined elsewhere.  (mtrim): Test
1596         the value of MALLOC_DEBUG with #if rather than #ifdef.
1598 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1600         * benchtests/pthread_once-inputs: New file.
1601         * benchtests/pthread_once-source.c: New file.
1602         * benchtests/README: Update documentation.
1604 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1605             H.J. Lu  <hongjiu.lu@intel.com>
1607         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1608         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1609         * sysdeps/x86_64/configure: Regenerated.
1610         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1611         macro.
1612         (REGISTER_SAVE_RAX): Likewise.
1613         (REGISTER_SAVE_RCX): Likewise.
1614         (REGISTER_SAVE_RDX): Likewise.
1615         (REGISTER_SAVE_RSI): Likewise.
1616         (REGISTER_SAVE_RDI): Likewise.
1617         (REGISTER_SAVE_R8): Likewise.
1618         (REGISTER_SAVE_R9): Likewise.
1619         (REGISTER_SAVE_BND0): Likewise.
1620         (REGISTER_SAVE_BND1): Likewise.
1621         (REGISTER_SAVE_BND2): Likewise.
1622         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1623         bound registers when calling _dl_fixup.
1625 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1628         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1629         of its definition.
1630         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1631         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1632         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1633         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1634         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1635         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1636         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1638 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1640         [BZ #15514]
1641         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1642         pathconf(_PC_NAME_MAX).
1644 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1646         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1647         Remove macro usage.
1648         (__PTHREAD_SPINS): Move definition to ...
1649         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1650         (__PTHREAD_SPINS): ... here.
1651         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1652         (__PTHREAD_SPIN): Likewise.
1653         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1654         (__PTHREAD_SPIN): Likewise.
1655         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1656         (__PTHREAD_SPIN): Likewise.
1657         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1658         (__PTHREAD_SPIN): Likewise.
1659         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1660         (__PTHREAD_SPIN): Likewise.
1661         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1662         (__PTHREAD_SPIN): Likewise.
1663         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1664         (__PTHREAD_SPIN): Likewise.
1665         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1666         (__PTHREAD_SPIN): Likewise.
1667         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1668         (__PTHREAD_SPIN): Likewise.
1669         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1670         (__PTHREAD_SPIN): Likewise.
1671         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1672         (__PTHREAD_SPIN): Likewise.
1673         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1674         (__PTHREAD_SPIN): Likewise.
1676         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1677         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1678         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1679         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1680         imply folder.
1681         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1682         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1683         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1684         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1685         correct imply path.
1686         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1687         strlen symbol for non multi-arch builds.
1688         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1689         missing hidden_def and weak_alias.
1691 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1693         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1695 2014-04-07  Will Newton  <will.newton@linaro.org>
1697         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1698         and contents.  [!_LIBC] Remove #ifndef and contents.
1699         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1700         * string/memccpy.c (__memccpy): Use ANSI prototype.
1701         * string/memfrob.c (memfrob): Likewise.
1702         * string/strcoll.c (STRCOLL): Likewise.
1703         * string/strlen.c (strlen): Likewise.
1704         * string/strtok.c (STRTOK): Likewise.
1705         * string/strcat.c: Remove unused #include of memcopy.h.
1706         (strcat): Use ANSI prototype.
1707         * string/strchr.c: Remove unused #include of memcopy.h.
1708         (strchr): Use ANSI prototype.
1709         * string/strcmp.c: Remove unused #include of memcopy.h.
1710         (strcmp): Use ANSI prototype.
1711         * string/strcpy.c: Remove unused #include of memcopy.h.
1712         (strcpy): Use ANSI prototype.
1714 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1716         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1717         * config.make.in (config-extra-cppflags): Set it from
1718         libc_extra_cppflags.
1719         * configure.ac (libc_extra_cflags): Make it accumulate over
1720         configure fragments.
1721         (libc_extra_cppflags): New flag.
1722         * configure. Regenerate.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1724         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1725         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1728         [BZ #16815]
1729         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1730         result for FE_DOWNWARD rounding mode.
1731         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1732         Likewise.
1733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1735 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1737         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1738         in function argument name.
1740 2014-04-03  David Svoboda  <svoboda@cert.org>
1742         [BZ #5666]
1743         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1744         explicitly.
1746 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1748         * elf/dl-unmap-segments.h: New file.
1749         * sysdeps/generic/ldsodefs.h
1750         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1751         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1752         * elf/dl-fptr.c: Likewise.
1753         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1754         * sysdeps/aarch64/tlsdesc.c: Likewise.
1755         * sysdeps/arm/tlsdesc.c: Likewise.
1756         * sysdeps/i386/tlsdesc.c: Likewise.
1757         * sysdeps/tile/dl-runtime.c: Likewise.
1758         * sysdeps/x86_64/tlsdesc.c: Likewise.
1759         * elf/dl-load.h: New file.
1760         * elf/dl-load.c: Include it.
1761         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1762         Macros moved to dl-load.h.
1763         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1764         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1765         Use _dl_unmap_segments in place of __munmap.
1766         Break out segment-mapping loop into ...
1767         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1769 2014-04-03  Will Newton  <will.newton@linaro.org>
1771         * elf/dl-lookup.c (do_lookup_x): Remove comment
1772         referring to nested function and move variable
1773         declarations down to before first use.
1775 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #16799]
1778         [BZ #16800]
1779         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1780         with 0 numerator.
1781         * math/s_catanf.c (__catanf): Likewise.
1782         * math/s_catanh.c (__catanh): Likewise.
1783         * math/s_catanhf.c (__catanhf): Likewise.
1784         * math/s_catanhl.c (__catanhl): Likewise.
1785         * math/s_catanl.c (__catanl): Likewise.
1786         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1787         by positive zero when computing -Inf result.
1788         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1789         (catanh_test): Likewise.
1790         * sysdeps/i386/fpu/libm-test-ulps: Update.
1791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1793         [BZ #16789]
1794         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1795         instead of using underflowing value in computing result.
1796         * math/s_clog10.c (__clog10): Likewise.
1797         * math/s_clog10f.c (__clog10f): Likewise.
1798         * math/s_clog10l.c (__clog10l): Likewise.
1799         * math/s_clogf.c (__clogf): Likewise.
1800         * math/s_clogl.c (__clogl): Likewise.
1801         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1802         (clog10_test): Likewise.
1803         * sysdeps/i386/fpu/libm-test-ulps: Update.
1804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1806 2014-04-02  Alan Modra  <amodra@gmail.com>
1808         [BZ #16739]
1809         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1810         output when value is near a power of two.  Use int64_t for lx and
1811         remove casts.  Use decimal rather than hex exponent constants.
1812         Don't use long double multiplication when double will suffice.
1813         * math/libm-test.inc (nextafter_test_data): Add tests.
1814         * NEWS: Add 16739 and 16786 to bug list.
1816         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1818         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1820 2014-04-01  Will Newton  <will.newton@linaro.org>
1822         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1823         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1825 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1827         [BZ #13347]
1828         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1829         * nptl/tst-setuid2.c: New file.
1830         * nptl/Makefile (xtests): Add tst-setuid2.
1832 2014-04-01  Alan Modra  <amodra@gmail.com>
1834         [BZ #16786]
1835         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1837 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1839         [BZ #6803]
1840         [BZ #6804]
1841         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1842         set errno as appropriate.
1843         * math/w_scalbf.c (__scalbf): Likewise.
1844         * math/w_scalbl.c (__scalbl): Likewise.
1845         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1846         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1847         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1848         Add more NaN tests.
1850         [BZ #16349]
1851         * math/w_atan2.c: Include <errno.h>.
1852         (__atan2): Set errno for result underflowing to zero.
1853         * math/w_atan2f.c: Include <errno.h>.
1854         (__atan2f): Set errno for result underflowing to zero.
1855         * math/w_atan2l.c: Include <errno.h>.
1856         (__atan2l): Set errno for result underflowing to zero.
1857         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1858         tests.
1859         * math/auto-libm-test-out: Regenerated.
1861 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1864         Encode instruction correctly in little endian.
1865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1866         Likewise.
1867         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1868         Likewise.
1869         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1870         Likewise.
1871         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1872         Likewise.
1874 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1876         [BZ #9894]
1877         * sysdeps/unix/sysv/linux/kernel-features.h
1878         [__sparc__ && !__arch64__ && !__sparc_v9__]
1879         (__ASSUME_SET_ROBUST_LIST): Do not define.
1880         [__sparc__ && !__arch64__ && !__sparc_v9__]
1881         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1882         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1883         Likewise.
1884         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1885         (__ASSUME_FUTEX_LOCK_PI): Undefine.
1886         (__ASSUME_REQUEUE_PI): Likewise.
1887         (__ASSUME_SET_ROBUST_LIST): Likewise.
1888         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1889         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1890         Undefine.
1891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1892         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1893         Likewise.
1894         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1895         Likewise.
1896         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1897         Likewise.
1898         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1899         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1900         Undefine.
1901         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1902         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1903         Likewise.
1905         [BZ #16648]
1906         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1907         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1908         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1910 2014-03-31  Will Newton  <will.newton@linaro.org>
1912         * benchtests/Makefile (bench): Add ffs and ffsll to list
1913         of tests.
1914         * benchtests/ffs-inputs: New file.
1915         * benchtests/ffsll-inputs: Likewise.
1917 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
1919         [BZ #16770]
1920         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1921         too large before casting to int.
1922         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1923         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1924         * math/libm-test.inc (scalb_test_data): Add more tests.
1926 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1928         * benchtests/Makefile (DETAILED_OPT): New make option.
1929         (bench-func): Run benchmark program with -d if DETAILED_OPT is
1930         set.
1931         * benchtests/bench-skeleton.c: Include stdbool.h.
1932         (main): Store and print timings per input.
1933         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1934         member to each argument value.
1935         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1936         (_print_arg_data): Initialize per-input timing to 0.
1938         * benchtests/Makefile (timing-type): New binary.
1939         (bench-clean): Also remove bench-timing-type.
1940         (bench): New target for timing-type.
1941         (bench-func): Print output in JSON format.
1942         * benchtests/bench-skeleton.c (main): Print output in JSON
1943         format.
1944         * benchtests/bench-timing-type.c: New file.
1945         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1946         (TIMING_PRINT_STATS): Remove.
1947         * benchtests/scripts/bench.py (_print_arg_data): Store variant
1948         name separately.
1950         * benchtests/bench-modf.c: Remove.
1951         * benchtests/modf-inputs: New inputs file.
1953 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
1955         [BZ #16362]
1956         * math/s_clog10.c (M_PI_LOG10E): New macro.
1957         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1958         imaginary parts are 0.
1959         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1960         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1961         imaginary parts are 0.
1962         * math/s_clog10l.c (M_PI_LOG10El): New macro.
1963         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1964         imaginary parts are 0.
1965         * math/libm-test.inc (clog10_test_data): Update expected results
1966         for when real and imaginary parts are 0.
1968 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
1970         * elf/dl-load.c: Finish conversion of __builtin_expect into
1971         __glibc_{un}likely.
1973 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
1975         [BZ #16348]
1976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1977         1+x for argument with exponent below -67.
1978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1979         Likewise.
1980         * math/auto-libm-test-in: Add more tests of exp.
1981         * math/auto-libm-test-out: Regenerated.
1983 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1985         [BZ #16759]
1986         * inet/getnetgrent_r.c (get_nonempty_val): New function.
1987         (nscd_getnetgrent): Use it.
1989         [BZ #16760]
1990         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1991         of stpcpy.
1993 2014-03-27  Andi Kleen  <ak@linux.intel.com>
1995         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1996         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1997         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1998         (lll_robust_unlock): Remove out of line section. Use cfi
1999         intrinsics.
2000         (LLL_STUB_UNWIND_INFO*): Remove.
2001         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2002         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2003         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2004         (lll_robust_unlock): Remove out of line section. Use cfi
2005         intrinsics.
2006         (LLL_STUB_UNWIND_INFO*): Remove.
2008 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2010         [BZ #16758]
2011         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2012         blank values.
2014 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2016         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2018 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #16198]
2021         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2022         fnstenv.
2023         * math/test-fenv-preserve.c: New file.
2024         * math/Makefile (tests): Add test-fenv-preserve.
2026 2014-03-26  Will Newton <will.newton@linaro.org>
2028         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2030 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2032         * scripts/versionlist.awk: Partition the version sets and emit all
2033         GLIBC_* (sorted) before all others (sorted).
2035 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2037         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2038         GLIBC_2.2.5 version.
2040 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2042         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2043         calls.
2045         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2046         previous change.
2048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2050 2014-03-25  Andreas Schwab  <schwab@suse.de>
2052         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2053         label to be used after in6ailist is initialized.
2055 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2057         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2058         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2060 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2062         [BZ #16357]
2063         [BZ #16599]
2064         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2065         min_plus_half.
2066         (fp_formats): Update initializers.
2067         (init_fp_formats): Initialize new field.
2068         (output_for_one_input_case): Allow underflow for results up to
2069         min_plus_half.
2070         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2071         * math/auto-libm-test-in: Don't mark some underflows from asin and
2072         atanh as spurious.
2073         * math/auto-libm-test-out: Regenerated.
2074         * sysdeps/i386/fpu/libm-test-ulps: Update.
2075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2077 2014-03-25  Andreas Schwab  <schwab@suse.de>
2079         * libio/Makefile (tst-ftell-partial-wide-ENV)
2080         (tst-ftell-active-handler-ENV): Define.
2082 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2084         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2086 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2088         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2090 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2092         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2093         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2094         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2096 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2098         [BZ #16634]
2099         * elf/dl-load.c (open_verify): Add mode parameter.
2100         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2101         (open_path): Change from boolean 'secure' to complete flag 'mode'
2102         (_dl_map_object): Adjust.
2103         * elf/Makefile (tests): Add tst-dlopen-aout.
2104         * elf/tst-dlopen-aout.c: New test.
2106 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2108         [BZ #16714]
2109         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2110         (struct stat): Rename member pad0 to __glibc_reserved0.
2112         [BZ #16712]
2113         * sysdeps/s390/s390-32/bits/wordsize.h
2114         (__WORDSIZE32_SIZE_ULONG): New define.
2115         * sysdeps/s390/s390-64/bits/wordsize.h
2116         (__WORDSIZE32_SIZE_ULONG): Likewise.
2117         * sysdeps/generic/stdint.h (SIZE_MAX):
2118         Define as UL if __WORDSIZE32_SIZE_ULONG.
2120         [BZ #16713]
2121         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2122         (__glibc_reserved0): New variable.
2123         (sa_flags): Change type to int.
2125         * posix/Makefile (before-compile): Use += before-compile instead
2126         of a :=.
2128         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2129         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2131 2014-03-20  Andreas Schwab  <schwab@suse.de>
2133         [BZ #16743]
2134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2135         non-matching result from nscd.
2137 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2139         * scripts/bench.py: Moved to ...
2140         * benchtests/scripts/bench.py: ... here.
2141         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2143 2014-03-24  Andreas Schwab  <schwab@suse.de>
2145         [BZ #16002]
2146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2147         alloca_account and account alloca use for struct in6ailist.
2149 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2151         [BZ #16284]
2152         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2153         rounding mode to recompute results that overflow to infinity or
2154         underflow to zero.
2155         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2156         bug 16284.
2157         * math/auto-libm-test-out: Regenerated.
2158         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2159         (ccosh_test): Likewise.
2160         (csin_test_data): Use plus_oflow.
2161         (csin_test): Use ALL_RM_TEST.
2162         (csinh_test_data): Use plus_oflow.
2163         (csinh_test): Use ALL_RM_TEST.
2164         * sysdeps/i386/fpu/libm-test-ulps: Update.
2165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2167 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2169         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2170         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2171         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2173         [BZ #16731]
2174         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2175         when x - 1 is zero.
2176         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2177         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2178         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2179         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2180         argument is 1.
2181         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2182         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2183         zero.
2184         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2185         * sysdeps/i386/fpu/libm-test-ulps: Update.
2186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2188 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190         * scripts/bench.pl: Remove file.
2191         * scripts/bench.py: New benchmark script.
2192         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2193         * benchtests/README: Mention python dependency.
2194         * scripts/pylintrc: New file.
2195         * scripts/pylint: New file.
2197         * bits/mathdef.h: Use #ifdef instead of #if.
2198         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2199         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2200         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2201         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2202         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2203         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2205 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2206             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2208         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2210         and strpbrk-ppc64 objects.
2211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2212         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2214         multiarch strpbrk for POWER7.
2215         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2216         multiarch strpbrk for PPC64.
2217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2218         ifunc selector.
2219         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2220         strpbrk for POWER7.
2222 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2224         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2225         (atan_test): Likewise.
2226         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2227         (atanh_test): Use ALL_RM_TEST.
2228         (atan2_test_data): Likewise.
2229         (cabs_test): Likewise.
2230         (cacosh_test): Likewise.
2231         (carg_test): Likewise.
2232         (casin_test): Likewise.
2233         (casinh_test): Likewise.
2234         (cbrt_test): Likewise.
2235         (csqrt_test): Likewise.
2236         (erf_test): Likewise.
2237         (erfc_test): Likewise.
2238         (pow10_test): Likewise.
2239         (exp2_test): Likewise.
2240         (hypot_test): Likewise.
2241         (j0_test): Likewise.
2242         (j1_test): Likewise.
2243         (lgamma_test): Likewise.
2244         (gamma_test): Likewise.
2245         (sincos_test): Likewise.
2246         (tanh_test): Likewise.
2247         (y0_test): Likewise.
2248         (y1_test): Likewise.
2249         * sysdeps/i386/fpu/libm-test-ulps: Update.
2250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2254         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2256         and strcspn-ppc64 objects.
2257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2258         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2259         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2260         multiarch strcspn for POWER7.
2261         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2262         multiarch strcspn for PPC64.
2263         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2264         ifunc selector.
2265         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2266         strcspn for POWER7.
2268 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2270         * math/gen-libm-test.pl (generate_testfile): Expect only function
2271         name as argument to AUTO_TESTS_* and pass results for all rounding
2272         modes to parse_args.
2273         (parse_auto_input): Separate inputs of automatic tests from
2274         outputs before storing in %auto_tests.
2275         * math/libm-test.inc (acos_test_data): Update call to
2276         AUTO_TESTS_f_f.
2277         (acos_test): Use ALL_RM_TEST.
2278         (acos_tonearest_test_data): Remove.
2279         (acos_test_tonearest): Likewise.
2280         (acos_towardzero_test_data): Likewise.
2281         (acos_test_towardzero): Likewise.
2282         (acos_downward_test_data): Likewise.
2283         (acos_test_downward): Likewise.
2284         (acos_upward_test_data): Likewise.
2285         (acos_test_upward): Likewise.
2286         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2287         (asin_test_data): Likewise.
2288         (asin_test): Use ALL_RM_TEST.
2289         (asin_tonearest_test_data): Remove.
2290         (asin_test_tonearest): Likewise.
2291         (asin_towardzero_test_data): Likewise.
2292         (asin_test_towardzero): Likewise.
2293         (asin_downward_test_data): Likewise.
2294         (asin_test_downward): Likewise.
2295         (asin_upward_test_data): Likewise.
2296         (asin_test_upward): Likewise.
2297         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2298         (atan_test_data): Likewise.
2299         (atanh_test_data): Likewise.
2300         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2301         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2302         (carg_test_data): Likewise.
2303         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2304         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2305         (ccosh_test_data): Likewise.
2306         (cexp_test_data): Likewise.
2307         (clog_test_data): Likewise.
2308         (clog10_test_data): Likewise.
2309         (cos_test_data): Update call to AUTO_TESTS_f_f.
2310         (cos_test): Use ALL_RM_TEST.
2311         (cos_tonearest_test_data): Remove.
2312         (cos_test_tonearest): Likewise.
2313         (cos_towardzero_test_data): Likewise.
2314         (cos_test_towardzero): Likewise.
2315         (cos_downward_test_data): Likewise.
2316         (cos_test_downward): Likewise.
2317         (cos_upward_test_data): Likewise.
2318         (cos_test_upward): Likewise.
2319         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2320         (cosh_test): Use ALL_RM_TEST.
2321         (cosh_tonearest_test_data): Remove.
2322         (cosh_test_tonearest): Likewise.
2323         (cosh_towardzero_test_data): Likewise.
2324         (cosh_test_towardzero): Likewise.
2325         (cosh_downward_test_data): Likewise.
2326         (cosh_test_downward): Likewise.
2327         (cosh_upward_test_data): Likewise.
2328         (cosh_test_upward): Likewise.
2329         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2330         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2331         (ctan_test_data): Likewise.
2332         (ctan_test): Use ALL_RM_TEST.
2333         (ctan_tonearest_test_data): Remove.
2334         (ctan_test_tonearest): Likewise.
2335         (ctan_towardzero_test_data): Likewise.
2336         (ctan_test_towardzero): Likewise.
2337         (ctan_downward_test_data): Likewise.
2338         (ctan_test_downward): Likewise.
2339         (ctan_upward_test_data): Likewise.
2340         (ctan_test_upward): Likewise.
2341         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2342         (ctanh_test): Use ALL_RM_TEST.
2343         (ctanh_tonearest_test_data): Remove.
2344         (ctanh_test_tonearest): Likewise.
2345         (ctanh_towardzero_test_data): Likewise.
2346         (ctanh_test_towardzero): Likewise.
2347         (ctanh_downward_test_data): Likewise.
2348         (ctanh_test_downward): Likewise.
2349         (ctanh_upward_test_data): Likewise.
2350         (ctanh_test_upward): Likewise.
2351         (erf_test_data): Update call to AUTO_TESTS_f_f.
2352         (erfc_test_data): Likewise.
2353         (exp_test_data): Likewise.
2354         (exp_test): Use ALL_RM_TEST.
2355         (exp_tonearest_test_data): Remove.
2356         (exp_test_tonearest): Likewise.
2357         (exp_towardzero_test_data): Likewise.
2358         (exp_test_towardzero): Likewise.
2359         (exp_downward_test_data): Likewise.
2360         (exp_test_downward): Likewise.
2361         (exp_upward_test_data): Likewise.
2362         (exp_test_upward): Likewise.
2363         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2364         (exp10_test): Use ALL_RM_TEST.
2365         (exp10_tonearest_test_data): Remove.
2366         (exp10_test_tonearest): Likewise.
2367         (exp10_towardzero_test_data): Likewise.
2368         (exp10_test_towardzero): Likewise.
2369         (exp10_downward_test_data): Likewise.
2370         (exp10_test_downward): Likewise.
2371         (exp10_upward_test_data): Likewise.
2372         (exp10_test_upward): Likewise.
2373         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2374         (expm1_test_data): Likewise.
2375         (expm1_test): Use ALL_RM_TEST.
2376         (expm1_tonearest_test_data): Remove.
2377         (expm1_test_tonearest): Likewise.
2378         (expm1_towardzero_test_data): Likewise.
2379         (expm1_test_towardzero): Likewise.
2380         (expm1_downward_test_data): Likewise.
2381         (expm1_test_downward): Likewise.
2382         (expm1_upward_test_data): Likewise.
2383         (expm1_test_upward): Likewise.
2384         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2385         (fma_test): Use ALL_RM_TEST.
2386         (fma_towardzero_test_data): Remove.
2387         (fma_test_towardzero): Likewise.
2388         (fma_downward_test_data): Likewise.
2389         (fma_test_downward): Likewise.
2390         (fma_upward_test_data): Likewise.
2391         (fma_test_upward): Likewise.
2392         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2393         (j0_test_data): Update call to AUTO_TESTS_f_f.
2394         (j1_test_data): Likewise.
2395         (jn_test_data): Update call to AUTO_TESTS_if_f.
2396         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2397         (log_test_data): Update call to AUTO_TESTS_f_f.
2398         (log10_test_data): Likewise.
2399         (log1p_test_data): Likewise.
2400         (log2_test_data): Likewise.
2401         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2402         (pow_tonearest_test_data): Likewise.
2403         (sin_test_data): Update call to AUTO_TESTS_f_f.
2404         (sin_test): Use ALL_RM_TEST.
2405         (sin_tonearest_test_data): Remove.
2406         (sin_test_tonearest): Likewise.
2407         (sin_towardzero_test_data): Likewise.
2408         (sin_test_towardzero): Likewise.
2409         (sin_downward_test_data): Likewise.
2410         (sin_test_downward): Likewise.
2411         (sin_upward_test_data): Likewise.
2412         (sin_test_upward): Likewise.
2413         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2414         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2415         (sinh_test): Use ALL_RM_TEST.
2416         (sinh_tonearest_test_data): Remove.
2417         (sinh_test_tonearest): Likewise.
2418         (sinh_towardzero_test_data): Likewise.
2419         (sinh_test_towardzero): Likewise.
2420         (sinh_downward_test_data): Likewise.
2421         (sinh_test_downward): Likewise.
2422         (sinh_upward_test_data): Likewise.
2423         (sinh_test_upward): Likewise.
2424         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2425         (sqrt_test): Use ALL_RM_TEST.
2426         (sqrt_tonearest_test_data): Remove.
2427         (sqrt_test_tonearest): Likewise.
2428         (sqrt_towardzero_test_data): Likewise.
2429         (sqrt_test_towardzero): Likewise.
2430         (sqrt_downward_test_data): Likewise.
2431         (sqrt_test_downward): Likewise.
2432         (sqrt_upward_test_data): Likewise.
2433         (sqrt_test_upward): Likewise.
2434         (tan_test_data): Update call to AUTO_TESTS_f_f.
2435         (tan_test): Use ALL_RM_TEST.
2436         (tan_tonearest_test_data): Remove.
2437         (tan_test_tonearest): Likewise.
2438         (tan_towardzero_test_data): Likewise.
2439         (tan_test_towardzero): Likewise.
2440         (tan_downward_test_data): Likewise.
2441         (tan_test_downward): Likewise.
2442         (tan_upward_test_data): Likewise.
2443         (tan_test_upward): Likewise.
2444         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2445         (tgamma_test_data): Likewise.
2446         (y0_test_data): Likewise.
2447         (y1_test_data): Likewise.
2448         (yn_test_data): Update call to AUTO_TESTS_if_f.
2449         (main): Do not call removed functions.
2451 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2453         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2454         (ldexp_test_data): Remove.
2455         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2456         scalbn_test_data.
2457         (scalb_test): Use ALL_RM_TEST.
2459 2014-03-19  Andreas Schwab  <schwab@suse.de>
2461         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2463 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2465         [BZ #16649]
2466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2467         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2468         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2469         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2470         (__ASSUME_PREADV): Undefine.
2471         (__ASSUME_PWRITEV): Likewise.
2473 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2475         * bits/mman-linux.h: Add comment about non-Linux use.
2476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2477         bits/mman-linux.h resting place.
2479         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2480         * bits/mman-linux.h: ... here.
2482 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2484         * conform/conformtest.pl: Add standard definition when calling C
2485         preprocessor on data files.
2486         (checknamespace): Remove unused variable.
2488 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2490         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2491         minus_oflow, plus_uflow and minus_uflow in expected results.
2492         * math/libm-test.inc (scalbn_test_data): Add more tests of
2493         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2494         minus_uflow.
2495         (scalbn_test): Use ALL_RM_TEST.
2496         (scalbln_test_data): Add more tests of negative arguments.  Use
2497         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2498         (scalbln_test): Use ALL_RM_TEST.
2500 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2502         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2504 2014-03-18  Will Newton  <will.newton@linaro.org>
2506         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2507         inaccurate comment.
2509 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2511         * Makerules [!subdir] (check-abi): Exit with error status if a
2512         test failed.
2514 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2516         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2517         for rint.  Include results for all rounding modes.
2518         (nearbyint_test): Use ALL_RM_TEST.
2519         (rint_test_data): Include all tests used for nearbyint.
2521 2014-03-17  Will Newton  <will.newton@linaro.org>
2523         * nptl/sysdeps/pthread/pthread.h: Revert previous
2524         change.
2526         * sysdeps/generic/ldsodefs.h: Revert previous
2527         change.
2529         * libio/genops.c: Revert previous change.
2530         * libio/libioP.h: Likewise.
2531         * stdio-common/vfprintf.c: Likewise.
2533         * sysdeps/generic/math_private.h: Revert previous
2534         change.
2536         * sysdeps/generic/math_private.h: Check whether
2537         HAVE_RM_CTX is defined with #ifdef rather
2538         than #if.
2540         * argp/argp-fmtstream.h: Check whether
2541         __STRICT_ANSI__ is defined with #ifdef rather
2542         than #if.
2543         * argp/argp.h: Likewise.
2545         * libio/genops.c: Check whether
2546         _IO_JUMPS_OFFSET is defined with #ifdef rather
2547         than #if.
2548         * libio/libioP.h: Likewise.
2549         * stdio-common/vfprintf.c: Likewise.
2551         * sysdeps/generic/ldsodefs.h: Check whether
2552         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2553         than #if.
2555         * nptl/sysdeps/pthread/pthread.h: Check
2556         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2557         its value.
2559 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2561         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2562         setting O_APPEND.
2563         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2564         test case.
2566         [BZ #16680]
2567         * libio/fileops.c (_IO_file_open): Seek to end of file but
2568         don't cache the offset.
2569         (get_file_offset): Remove function.
2570         (do_ftell): Use cached offset when available.
2571         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2572         don't cache the offset.
2573         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2574         case.
2575         (do_one_test): Call it.
2576         (do_ftell_test): Fix up expected old offset for a+ mode.
2577         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2578         available.
2580         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2581         up test status with function return status.
2582         (do_write_test): Likewise.
2583         (do_append_test): Likewise.
2585         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2586         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2587         Remove.
2589 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2591         * math/gen-libm-test.pl (parse_args): Handle results specified for
2592         each rounding mode separately.
2593         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2594         tests and results from lrint_tonearest_test_data,
2595         lrint_towardzero_test_data, lrint_downward_test_data and
2596         lrint_upward_test_data.
2597         (lrint_test): Use ALL_RM_TEST.
2598         (lrint_tonearest_test_data): Remove.
2599         (lrint_test_tonearest): Likewise.
2600         (lrint_towardzero_test_data): Likewise.
2601         (lrint_test_towardzero): Likewise.
2602         (lrint_downward_test_data): Likewise.
2603         (lrint_test_downward): Likewise.
2604         (lrint_upward_test_data): Likewise.
2605         (lrint_test_upward): Likewise.
2606         (llrint_test_data): Merge in per-rounding-mode tests and results
2607         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2608         llrint_downward_test_data and llrint_upward_test_data.
2609         (llrint_test): Use ALL_RM_TEST.
2610         (llrint_tonearest_test_data): Remove.
2611         (llrint_test_tonearest): Likewise.
2612         (llrint_towardzero_test_data): Likewise.
2613         (llrint_test_towardzero): Likewise.
2614         (llrint_downward_test_data): Likewise.
2615         (llrint_test_downward): Likewise.
2616         (llrint_upward_test_data): Likewise.
2617         (llrint_test_upward): Likewise.
2618         (rint_test_data): Merge in per-rounding-mode tests and results
2619         from rint_tonearest_test_data, rint_towardzero_test_data,
2620         rint_downward_test_data and rint_upward_test_data.  Add
2621         per-rounding-mode results for tests not in those arrays.
2622         (rint_test): Use ALL_RM_TEST.
2623         (rint_tonearest_test_data): Remove.
2624         (rint_test_tonearest): Likewise.
2625         (rint_towardzero_test_data): Likewise.
2626         (rint_test_towardzero): Likewise.
2627         (rint_downward_test_data): Likewise.
2628         (rint_test_downward): Likewise.
2629         (rint_upward_test_data): Likewise.
2630         (rint_test_upward): Likewise.
2631         (main): Don't call removed functions.
2633 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2635         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2636         "Compiled on ..." crapola.  It is anti-useful.
2638 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2640         * scripts/evaluate-test.sh: Handle fourth argument to determine
2641         whether test run should stop on failure.
2642         * Makeconfig (stop-on-test-failure): New variable.
2643         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2644         $(stop-on-test-failure).
2645         * Makefile (tests): Give a summary of results from testing and
2646         exit with failure status if they include an ERROR or FAIL.
2647         (xtests): Likewise.
2648         * manual/install.texi (Configuring and compiling): Mention
2649         stop-on-test-failure=y.
2650         * INSTALL: Regenerated.
2652 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2654         * scripts/versionlist.awk: New file.
2655         * Makerules [$(build-shared) = yes]
2656         (postclean-generated): Add Versions.def, not Versions.def.v and
2657         Versions.def.v.i.
2658         ($(common-objpfx)Versions.def.v.i): Target removed.
2659         ($(common-objpfx)Versions.def): New target.
2660         ($(common-objpfx)Versions.all): Depend on that rather that
2661         $(common-objpfx)Versions.def.v.
2662         * Versions.def: File removed.
2664         * Makeconfig (+gccwarn): Add -Wundef.
2665         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2666         a dl-sysdep.h breaking its contract.
2667         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2668         * include/stackinfo.h: New file.
2669         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2670         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2671         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2672         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2673         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2674         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2675         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2676         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2677         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2678         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2679         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2680         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2681         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2682         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2683         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2685 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2687         [BZ #16707]
2688         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2689         implementation.
2690         * math/libm-test.inc (round_test_data): Add more tests.
2692         [BZ #16706]
2693         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2694         implementation.
2695         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2697         [BZ #16701]
2698         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2699         implementation.
2700         * math/libm-test.inc (ceil_test_data): Add more tests.
2702         * math/libm-test.inc (trunc_test_data): Add more tests related to
2703         BZ#16414.
2705 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2707         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2708         with #if rather than #ifdef.
2709         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2711 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2713         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2714         first.  Disable AVX-512 GCC support if assembler doesn't support
2715         it.
2716         * sysdeps/x86_64/configure: Regenerated.
2718 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2720         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2721         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2722         (__old_pthread_attr_setstack): Likewise.
2723         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2724         [!_STACK_GROWS_DOWN]: Likewise.
2726 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2728         * config.make.in (have-bash2): Delete.
2729         * configure.ac (libc_cv_have_bash2): Delete.
2730         * configure: Regenerate.
2731         * elf/Makefile (common-ldd-rewrite): Rename to ...
2732         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2733         (sh-ldd-rewrite): Delete.
2734         (bash-ldd-rewrite): Delete.
2735         (have-bash2): Delete checks.
2736         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2737         ldd-rewrite.
2739         * config.make.in (have-ksh): Delete.
2740         (KSH): Delete.
2741         * configure.ac (libc_cv_have_ksh): Delete.
2742         * configure: Regenerate.
2744         * elf/Makefile: Delete $(have-ksh) check.
2745         ($(objpfx)sotruss): Change KSH to BASH.
2746         * elf/sotruss.ksh: Rename to ...
2747         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2748         function style to match POSIX.  Drop ksh vim mode setting.
2750         * manual/time.texi (Specifying the Time Zone with TZ): Change
2751         Tuesday to Thursday.
2753         * debug/tst-longjmp_chk2.c: Update header comment.
2754         (stackoverflow_handler): Add comment.  Call assert on pass value.
2756 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2758         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2759         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2760         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2761         (La_x86_64_vector): Add zmm.
2762         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2763         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2764         ($(objpfx)tst-audit10): New target.
2765         ($(objpfx)tst-audit10.out): Likewise.
2766         (tst-audit10-ENV): New.
2767         (AVX512-CFLAGS): Likewise.
2768         (CFLAGS-tst-audit10.c): Likewise.
2769         (CFLAGS-tst-auditmod10a.c): Likewise.
2770         (CFLAGS-tst-auditmod10b.c): Likewise.
2771         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2772         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2773         * sysdeps/x86_64/configure: Regenerated.
2774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2775         AVX-512 zmm register support.
2776         (_dl_x86_64_save_sse): Likewise.
2777         (_dl_x86_64_restore_sse): Likewise.
2778         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2779         size vector registers.
2780         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2781         (ZMM_SIZE): Likewise.
2782         * sysdeps/x86_64/tst-audit10.c: New file.
2783         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2784         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2786 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2788         * configure.ac (HAVE_EHDR_START): New check.
2789         * configure: Regenerated.
2790         * config.h.in (HAVE_EHDR_START): New #undef.
2791         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2792         assuming the lowest-addressed segment maps the start of the file.
2794 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2796         * INSTALL: Regenerated.
2798 2014-03-13  Will Newton  <will.newton@linaro.org>
2800         * manual/setjmp.texi (System V contexts): Improve
2801         clarity and grammar of documentation.
2803 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2805         [BZ #16381]
2806         * elf/Makefile (tests): Add tst-pie2.
2807         (tests-pie): Add tst-pie2.
2808         * elf/tst-pie2.c: New file.
2809         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2810         for ET_EXEC.
2811         * elf/rtld.c (map_doit): Load executable as lt_executable.
2812         (dl_main): Likewise.
2814 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2816         [BZ #16642]
2817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2818         (__ASSUME_PSELECT): Undefine.
2820 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2822         [BZ #16689]
2823         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2824         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2825         static build.
2826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2827         selector for static builds.
2829 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2831         [BZ #16695]
2832         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2833         key in the buffer.
2835 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2837         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2838         IFUNC selector for static builds.
2840 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2842         * sysdeps/mips/math_private.h [__mips_hard_float]
2843         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2844         libc_feresetround_mips_ctx.
2845         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2846         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2847         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2849         [BZ #16677]
2850         * math/s_nextafter.c (__nextafter): Do not return value from
2851         overflowing computation.
2852         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2853         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2854         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2855         Likewise.
2856         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2857         Likewise.
2858         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2859         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2861 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2863         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2864         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2865         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2866         the new mov targetting sp.
2868 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2870         [BZ #16683]
2871         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2872         Define it for static builds as well.
2873         (NO_BZERO_IMPL): Likewise.
2875 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2877         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2878         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2879         multiarch strspn for PPC64.
2880         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2881         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2883         (__libc_ifunc_impl_list): Likewise.
2884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2885         multiarch optimizations
2886         * string/strspn.c (strspn): Using macro to redefine symbol name.
2888 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2891         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2892         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2893         multiarch strncat for PPC64.
2894         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2895         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2897         (__libc_ifunc_impl_list): Likewise.
2898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2899         multiarch optimizations
2901 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2903         [BZ #16639]
2904         * nscd/nscd.service: Make service type forking.
2906 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2908         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2909         sign in non default rounding modes.
2910         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2912 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
2914         * math/libm-test.inc (ALL_RM_TEST): New macro.
2915         (ceil_test): Use ALL_RM_TEST.
2916         (cimag_test): Likewise.
2917         (conj_test): Likewise.
2918         (copysign_test): Likewise.
2919         (cproj_test): Likewise.
2920         (creal_test): Likewise.
2921         (fabs_test): Likewise.
2922         (floor_test): Likewise.
2923         (fmax_test): Likewise.
2924         (fmin_test): Likewise.
2925         (fmod_test): Likewise.
2926         (fpclassify_test): Likewise.
2927         (frexp_test): Likewise.
2928         (ilogb_test): Likewise.
2929         (isfinite_test): Likewise.
2930         (finite_test): Likewise.
2931         (isgreater_test): Likewise.
2932         (isgreaterequal_test): Likewise.
2933         (isinf_test): Likewise.
2934         (isless_test): Likewise.
2935         (islessequal_test): Likewise.
2936         (islessgreater_test): Likewise.
2937         (isnan_test): Likewise.
2938         (isnormal_test): Likewise.
2939         (issignaling_test): Likewise.
2940         (isunordered_test): Likewise.
2941         (logb_test): Likewise.
2942         (logb_downward_test_data): Remove.
2943         (logb_test_downward): Likewise.
2944         (lround_test): Use ALL_RM_TEST.
2945         (llround_test): Likewise.
2946         (modf_test): Likewise.
2947         (nexttoward_test): Likewise.
2948         (remainder_test): Likewise.
2949         (drem_test): Likewise.
2950         (remainder_tonearest_test_data): Likewise.
2951         (remainder_test_tonearest): Likewise.
2952         (drem_test_tonearest): Likewise.
2953         (remainder_towardzero_test_data): Likewise.
2954         (remainder_test_towardzero): Likewise.
2955         (drem_test_towardzero): Likewise.
2956         (remainder_downward_test_data): Likewise.
2957         (remainder_test_downward): Likewise.
2958         (drem_test_downward): Likewise.
2959         (remainder_upward_test_data): Likewise.
2960         (remainder_test_upward): Likewise.
2961         (drem_test_upward): Likewise.
2962         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
2963         (round_test): Use ALL_RM_TEST.
2964         (signbit_test): Likewise.
2965         (trunc_test): Likewise.
2966         (significand_test): Likewise.
2967         (main): Don't call removed functions.
2969 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2971         [BZ #16674]
2972         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2973         || __USE_XOPEN2K8].
2974         (ILL_ILLOPN): Likewise.
2975         (ILL_ILLADR): Likewise.
2976         (ILL_ILLTRP): Likewise.
2977         (ILL_PRVOPC): Likewise.
2978         (ILL_PRVREG): Likewise.
2979         (ILL_COPROC): Likewise.
2980         (ILL_BADSTK): Likewise.
2981         (FPE_INTDIV): Likewise.
2982         (FPE_INTOVF): Likewise.
2983         (FPE_FLTDIV): Likewise.
2984         (FPE_FLTOVF): Likewise.
2985         (FPE_FLTUND): Likewise.
2986         (FPE_FLTRES): Likewise.
2987         (FPE_FLTINV): Likewise.
2988         (FPE_FLTSUB): Likewise.
2989         (SEGV_MAPERR): Likewise.
2990         (SEGV_ACCERR): Likewise.
2991         (BUS_ADRALN): Likewise.
2992         (BUS_ADRERR): Likewise.
2993         (BUS_OBJERR): Likewise.
2994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2995         (TRAP_TRACE): Likewise.
2996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2997         __USE_XOPEN2K8].
2998         (CLD_KILLED): Likewise.
2999         (CLD_DUMPED): Likewise.
3000         (CLD_TRAPPED): Likewise.
3001         (CLD_STOPPED): Likewise.
3002         (CLD_CONTINUED): Likewise.
3003         (POLL_IN): Likewise.
3004         (POLL_OUT): Likewise.
3005         (POLL_MSG): Likewise.
3006         (POLL_ERR): Likewise.
3007         (POLL_PRI): Likewise.
3008         (POLL_HUP): Likewise.
3009         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3010         Likewise.
3011         (ILL_ILLOPN): Likewise.
3012         (ILL_ILLADR): Likewise.
3013         (ILL_ILLTRP): Likewise.
3014         (ILL_PRVOPC): Likewise.
3015         (ILL_PRVREG): Likewise.
3016         (ILL_COPROC): Likewise.
3017         (ILL_BADSTK): Likewise.
3018         (FPE_INTDIV): Likewise.
3019         (FPE_INTOVF): Likewise.
3020         (FPE_FLTDIV): Likewise.
3021         (FPE_FLTOVF): Likewise.
3022         (FPE_FLTUND): Likewise.
3023         (FPE_FLTRES): Likewise.
3024         (FPE_FLTINV): Likewise.
3025         (FPE_FLTSUB): Likewise.
3026         (SEGV_MAPERR): Likewise.
3027         (SEGV_ACCERR): Likewise.
3028         (BUS_ADRALN): Likewise.
3029         (BUS_ADRERR): Likewise.
3030         (BUS_OBJERR): Likewise.
3031         (BUS_MCEERR_AR): Likewise.
3032         (BUS_MCEERR_AO): Likewise.
3033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3034         (TRAP_TRACE): Likewise.
3035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3036         __USE_XOPEN2K8].
3037         (CLD_KILLED): Likewise.
3038         (CLD_DUMPED): Likewise.
3039         (CLD_TRAPPED): Likewise.
3040         (CLD_STOPPED): Likewise.
3041         (CLD_CONTINUED): Likewise.
3042         (POLL_IN): Likewise.
3043         (POLL_OUT): Likewise.
3044         (POLL_MSG): Likewise.
3045         (POLL_ERR): Likewise.
3046         (POLL_PRI): Likewise.
3047         (POLL_HUP): Likewise.
3048         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3049         (ILL_ILLOPN): Likewise.
3050         (ILL_ILLADR): Likewise.
3051         (ILL_ILLTRP): Likewise.
3052         (ILL_PRVOPC): Likewise.
3053         (ILL_PRVREG): Likewise.
3054         (ILL_COPROC): Likewise.
3055         (ILL_BADSTK): Likewise.
3056         (FPE_INTDIV): Likewise.
3057         (FPE_INTOVF): Likewise.
3058         (FPE_FLTDIV): Likewise.
3059         (FPE_FLTOVF): Likewise.
3060         (FPE_FLTUND): Likewise.
3061         (FPE_FLTRES): Likewise.
3062         (FPE_FLTINV): Likewise.
3063         (FPE_FLTSUB): Likewise.
3064         (SEGV_MAPERR): Likewise.
3065         (SEGV_ACCERR): Likewise.
3066         (BUS_ADRALN): Likewise.
3067         (BUS_ADRERR): Likewise.
3068         (BUS_OBJERR): Likewise.
3069         (BUS_MCEERR_AR): Likewise.
3070         (BUS_MCEERR_AO): Likewise.
3071         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3072         (TRAP_TRACE): Likewise.
3073         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3074         __USE_XOPEN2K8].
3075         (CLD_KILLED): Likewise.
3076         (CLD_DUMPED): Likewise.
3077         (CLD_TRAPPED): Likewise.
3078         (CLD_STOPPED): Likewise.
3079         (CLD_CONTINUED): Likewise.
3080         (POLL_IN): Likewise.
3081         (POLL_OUT): Likewise.
3082         (POLL_MSG): Likewise.
3083         (POLL_ERR): Likewise.
3084         (POLL_PRI): Likewise.
3085         (POLL_HUP): Likewise.
3086         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3087         Likewise.
3088         (ILL_ILLOPN): Likewise.
3089         (ILL_ILLADR): Likewise.
3090         (ILL_ILLTRP): Likewise.
3091         (ILL_PRVOPC): Likewise.
3092         (ILL_PRVREG): Likewise.
3093         (ILL_COPROC): Likewise.
3094         (ILL_BADSTK): Likewise.
3095         (ILL_BADIADDR): Likewise.
3096         (ILL_BREAK): Likewise.
3097         (FPE_INTDIV): Likewise.
3098         (FPE_INTOVF): Likewise.
3099         (FPE_FLTDIV): Likewise.
3100         (FPE_FLTOVF): Likewise.
3101         (FPE_FLTUND): Likewise.
3102         (FPE_FLTRES): Likewise.
3103         (FPE_FLTINV): Likewise.
3104         (FPE_FLTSUB): Likewise.
3105         (FPE_DECOVF): Likewise.
3106         (FPE_DECDIV): Likewise.
3107         (FPE_DECERR): Likewise.
3108         (FPE_INVASC): Likewise.
3109         (FPE_INVDEC): Likewise.
3110         (SEGV_MAPERR): Likewise.
3111         (SEGV_ACCERR): Likewise.
3112         (SEGV_PSTKOVF): Likewise.
3113         (BUS_ADRALN): Likewise.
3114         (BUS_ADRERR): Likewise.
3115         (BUS_OBJERR): Likewise.
3116         (BUS_MCEERR_AR): Likewise.
3117         (BUS_MCEERR_AO): Likewise.
3118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3119         (TRAP_TRACE): Likewise.
3120         (TRAP_BRANCH): Likewise.
3121         (TRAP_HWBKPT): Likewise.
3122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3123         __USE_XOPEN2K8].
3124         (CLD_KILLED): Likewise.
3125         (CLD_DUMPED): Likewise.
3126         (CLD_TRAPPED): Likewise.
3127         (CLD_STOPPED): Likewise.
3128         (CLD_CONTINUED): Likewise.
3129         (POLL_IN): Likewise.
3130         (POLL_OUT): Likewise.
3131         (POLL_MSG): Likewise.
3132         (POLL_ERR): Likewise.
3133         (POLL_PRI): Likewise.
3134         (POLL_HUP): Likewise.
3135         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3136         (ILL_ILLOPN): Likewise.
3137         (ILL_ILLADR): Likewise.
3138         (ILL_ILLTRP): Likewise.
3139         (ILL_PRVOPC): Likewise.
3140         (ILL_PRVREG): Likewise.
3141         (ILL_COPROC): Likewise.
3142         (ILL_BADSTK): Likewise.
3143         (FPE_INTDIV): Likewise.
3144         (FPE_INTOVF): Likewise.
3145         (FPE_FLTDIV): Likewise.
3146         (FPE_FLTOVF): Likewise.
3147         (FPE_FLTUND): Likewise.
3148         (FPE_FLTRES): Likewise.
3149         (FPE_FLTINV): Likewise.
3150         (FPE_FLTSUB): Likewise.
3151         (SEGV_MAPERR): Likewise.
3152         (SEGV_ACCERR): Likewise.
3153         (BUS_ADRALN): Likewise.
3154         (BUS_ADRERR): Likewise.
3155         (BUS_OBJERR): Likewise.
3156         (BUS_MCEERR_AR): Likewise.
3157         (BUS_MCEERR_AO): Likewise.
3158         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3159         (TRAP_TRACE): Likewise.
3160         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3161         __USE_XOPEN2K8].
3162         (CLD_KILLED): Likewise.
3163         (CLD_DUMPED): Likewise.
3164         (CLD_TRAPPED): Likewise.
3165         (CLD_STOPPED): Likewise.
3166         (CLD_CONTINUED): Likewise.
3167         (POLL_IN): Likewise.
3168         (POLL_OUT): Likewise.
3169         (POLL_MSG): Likewise.
3170         (POLL_ERR): Likewise.
3171         (POLL_PRI): Likewise.
3172         (POLL_HUP): Likewise.
3173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3174         (ILL_ILLOPN): Likewise.
3175         (ILL_ILLADR): Likewise.
3176         (ILL_ILLTRP): Likewise.
3177         (ILL_PRVOPC): Likewise.
3178         (ILL_PRVREG): Likewise.
3179         (ILL_COPROC): Likewise.
3180         (ILL_BADSTK): Likewise.
3181         (FPE_INTDIV): Likewise.
3182         (FPE_INTOVF): Likewise.
3183         (FPE_FLTDIV): Likewise.
3184         (FPE_FLTOVF): Likewise.
3185         (FPE_FLTUND): Likewise.
3186         (FPE_FLTRES): Likewise.
3187         (FPE_FLTINV): Likewise.
3188         (FPE_FLTSUB): Likewise.
3189         (SEGV_MAPERR): Likewise.
3190         (SEGV_ACCERR): Likewise.
3191         (BUS_ADRALN): Likewise.
3192         (BUS_ADRERR): Likewise.
3193         (BUS_OBJERR): Likewise.
3194         (BUS_MCEERR_AR): Likewise.
3195         (BUS_MCEERR_AO): Likewise.
3196         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3197         (TRAP_TRACE): Likewise.
3198         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3199         __USE_XOPEN2K8].
3200         (CLD_KILLED): Likewise.
3201         (CLD_DUMPED): Likewise.
3202         (CLD_TRAPPED): Likewise.
3203         (CLD_STOPPED): Likewise.
3204         (CLD_CONTINUED): Likewise.
3205         (POLL_IN): Likewise.
3206         (POLL_OUT): Likewise.
3207         (POLL_MSG): Likewise.
3208         (POLL_ERR): Likewise.
3209         (POLL_PRI): Likewise.
3210         (POLL_HUP): Likewise.
3211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3212         (ILL_ILLOPN): Likewise.
3213         (ILL_ILLADR): Likewise.
3214         (ILL_ILLTRP): Likewise.
3215         (ILL_PRVOPC): Likewise.
3216         (ILL_PRVREG): Likewise.
3217         (ILL_COPROC): Likewise.
3218         (ILL_BADSTK): Likewise.
3219         (FPE_INTDIV): Likewise.
3220         (FPE_INTOVF): Likewise.
3221         (FPE_FLTDIV): Likewise.
3222         (FPE_FLTOVF): Likewise.
3223         (FPE_FLTUND): Likewise.
3224         (FPE_FLTRES): Likewise.
3225         (FPE_FLTINV): Likewise.
3226         (FPE_FLTSUB): Likewise.
3227         (SEGV_MAPERR): Likewise.
3228         (SEGV_ACCERR): Likewise.
3229         (BUS_ADRALN): Likewise.
3230         (BUS_ADRERR): Likewise.
3231         (BUS_OBJERR): Likewise.
3232         (BUS_MCEERR_AR): Likewise.
3233         (BUS_MCEERR_AO): Likewise.
3234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3235         (TRAP_TRACE): Likewise.
3236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3237         __USE_XOPEN2K8].
3238         (CLD_KILLED): Likewise.
3239         (CLD_DUMPED): Likewise.
3240         (CLD_TRAPPED): Likewise.
3241         (CLD_STOPPED): Likewise.
3242         (CLD_CONTINUED): Likewise.
3243         (POLL_IN): Likewise.
3244         (POLL_OUT): Likewise.
3245         (POLL_MSG): Likewise.
3246         (POLL_ERR): Likewise.
3247         (POLL_PRI): Likewise.
3248         (POLL_HUP): Likewise.
3249         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3250         (ILL_ILLOPN): Likewise.
3251         (ILL_ILLADR): Likewise.
3252         (ILL_ILLTRP): Likewise.
3253         (ILL_PRVOPC): Likewise.
3254         (ILL_PRVREG): Likewise.
3255         (ILL_COPROC): Likewise.
3256         (ILL_BADSTK): Likewise.
3257         (ILL_DBLFLT): Likewise.
3258         (ILL_HARDWALL): Likewise.
3259         (FPE_INTDIV): Likewise.
3260         (FPE_INTOVF): Likewise.
3261         (FPE_FLTDIV): Likewise.
3262         (FPE_FLTOVF): Likewise.
3263         (FPE_FLTUND): Likewise.
3264         (FPE_FLTRES): Likewise.
3265         (FPE_FLTINV): Likewise.
3266         (FPE_FLTSUB): Likewise.
3267         (SEGV_MAPERR): Likewise.
3268         (SEGV_ACCERR): Likewise.
3269         (BUS_ADRALN): Likewise.
3270         (BUS_ADRERR): Likewise.
3271         (BUS_OBJERR): Likewise.
3272         (BUS_MCEERR_AR): Likewise.
3273         (BUS_MCEERR_AO): Likewise.
3274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3275         (TRAP_TRACE): Likewise.
3276         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3277         __USE_XOPEN2K8].
3278         (CLD_KILLED): Likewise.
3279         (CLD_DUMPED): Likewise.
3280         (CLD_TRAPPED): Likewise.
3281         (CLD_STOPPED): Likewise.
3282         (CLD_CONTINUED): Likewise.
3283         (POLL_IN): Likewise.
3284         (POLL_OUT): Likewise.
3285         (POLL_MSG): Likewise.
3286         (POLL_ERR): Likewise.
3287         (POLL_PRI): Likewise.
3288         (POLL_HUP): Likewise.
3289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3290         (ILL_ILLOPN): Likewise.
3291         (ILL_ILLADR): Likewise.
3292         (ILL_ILLTRP): Likewise.
3293         (ILL_PRVOPC): Likewise.
3294         (ILL_PRVREG): Likewise.
3295         (ILL_COPROC): Likewise.
3296         (ILL_BADSTK): Likewise.
3297         (FPE_INTDIV): Likewise.
3298         (FPE_INTOVF): Likewise.
3299         (FPE_FLTDIV): Likewise.
3300         (FPE_FLTOVF): Likewise.
3301         (FPE_FLTUND): Likewise.
3302         (FPE_FLTRES): Likewise.
3303         (FPE_FLTINV): Likewise.
3304         (FPE_FLTSUB): Likewise.
3305         (SEGV_MAPERR): Likewise.
3306         (SEGV_ACCERR): Likewise.
3307         (BUS_ADRALN): Likewise.
3308         (BUS_ADRERR): Likewise.
3309         (BUS_OBJERR): Likewise.
3310         (BUS_MCEERR_AR): Likewise.
3311         (BUS_MCEERR_AO): Likewise.
3312         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3313         (TRAP_TRACE): Likewise.
3314         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3315         __USE_XOPEN2K8].
3316         (CLD_KILLED): Likewise.
3317         (CLD_DUMPED): Likewise.
3318         (CLD_TRAPPED): Likewise.
3319         (CLD_STOPPED): Likewise.
3320         (CLD_CONTINUED): Likewise.
3321         (POLL_IN): Likewise.
3322         (POLL_OUT): Likewise.
3323         (POLL_MSG): Likewise.
3324         (POLL_ERR): Likewise.
3325         (POLL_PRI): Likewise.
3326         (POLL_HUP): Likewise.
3327         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3328         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3330         [BZ #16670]
3331         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3332         before #include of <time.h>.
3333         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3334         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3335         (test-xfail-UNIX98/sched.h/conform): Likewise.
3337 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3339         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3340         error absence of trapping exception support.
3341         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3343 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3345         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3346         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3347         * timezone/Makefile (testdata): Move definition above include of
3348         Rules.
3349         (test-zones): New variable.
3350         (tests-special): Add zone files.
3351         (build-testdata): Use $(evaluate-test).
3353         * elf/Makefile (tests-special): Rename tests to end with .out.
3354         ($(objpfx)noload-mem): Likewise.
3355         ($(objpfx)tst-leaks1-mem): Likewise.
3356         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3357         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3358         $(objpfx)test-iconvconfig.out.
3359         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3360         set -e inside subshell and redirect output to file.
3361         * iconvdata/Makefile (generated): Rename tests to end with .out.
3362         Correct type.
3363         (tests-special): Rename tests to end with .out.
3364         ($(objpfx)mtrace-tst-loading): Likewise.
3365         * intl/Makefile (generated): Likewise.
3366         (tests-special): Likewise.
3367         ($(objpfx)mtrace-tst-gettext): Likewise.
3368         * misc/Makefile (generated): Likewise.
3369         (tests-special): Likewise.
3370         ($(objpfx)tst-error1-mem): Likewise.
3371         * nptl/Makefile (tests-special): Likewise.
3372         ($(objpfx)tst-stack3-mem): Likewise.
3373         (generated): Likewise.
3374         * posix/Makefile (generated): Likewise.
3375         (tests-special): Likewise.
3376         (xtests-special): Likewise.
3377         ($(objpfx)tst-fnmatch-mem): Likewise.
3378         ($(objpfx)bug-regex2-mem): Likewise.
3379         ($(objpfx)bug-regex14-mem): Likewise.
3380         ($(objpfx)bug-regex21-mem): Likewise.
3381         ($(objpfx)bug-regex31-mem): Likewise.
3382         ($(objpfx)tst-vfork3-mem): Likewise.
3383         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3384         ($(objpfx)tst-pcre-mem): Likewise.
3385         ($(objpfx)tst-boost-mem): Likewise.
3386         ($(objpfx)bug-ga2-mem): Likewise.
3387         ($(objpfx)bug-glob2-mem): Likewise.
3388         * resolv/Makefile (generate): Likewise.
3389         (tests-special): Likewise.
3390         (xtests-special): Likewise.
3391         (generated): Likewise.
3392         ($(objpfx)mtrace-tst-leaks): Likewise.
3393         ($(objpfx)mtrace-tst-leaks2): Likewise.
3395         * scripts/merge-test-results.sh: New file.
3396         * Makefile (tests-special-notdir): New variable.
3397         (tests): Run merge-test-results.sh.
3398         (xtests): Likewise.
3399         * Rules (tests-special-notdir): New variable.
3400         (xtests-special-notdir): Likewise.
3401         (tests): Run merge-test-results.sh
3402         (xtests): Likewise.
3404         * Makeconfig (test-xfail-name): New variable.
3405         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3406         compute variable name for expected failures.
3407         * conform/Makefile (conformtest-headers-data): New variable.
3408         (conformtest-standards): Likewise.
3409         (conformtest-headers-ISO): Likewise.
3410         (conformtest-headers-ISO99): Likewise.
3411         (conformtest-headers-ISO11): Likewise.
3412         (conformtest-headers-POSIX): Likewise.
3413         (conformtest-headers-XPG3): Likewise.
3414         (conformtest-headers-XPG4): Likewise.
3415         (conformtest-headers-UNIX98): Likewise.
3416         (conformtest-headers-XOPEN2K): Likewise.
3417         (conformtest-headers-POSIX2008): Likewise.
3418         (conformtest-headers-XOPEN2K8): Likewise.
3419         (conformtest-header-list-base): Likewise.
3420         (conformtest-header-list-tests): Likewise.
3421         (conformtest-header-base): Likewise.
3422         (conformtest-header-tests): Likewise.
3423         (tests-special): Add $(conformtest-header-list-tests).  If
3424         [$(fast-check) && !$(cross-compiling)], add
3425         $(conformtest-header-tests) instead of
3426         $(objpfx)run-conformtest.out.
3427         (generated): Add $(conformtest-header-list-base).  If
3428         [$(fast-check) && !$(cross-compiling)], add
3429         $(conformtest-header-base).  Remove previous setting.
3430         ($(conformtest-header-list-tests)): New target.
3431         (test-xfail-run-conformtest): Remove variable.
3432         ($(objpfx)run-conformtest.out): Remove target.
3433         (test-xfail-ISO11/complex.h/conform): New variable.
3434         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3435         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3436         (test-xfail-XPG3/varargs.h/conform): Likewise.
3437         (test-xfail-XPG4/varargs.h/conform): Likewise.
3438         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3439         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3440         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3441         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3442         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3443         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3444         (test-xfail-XPG3/ftw.h/conform): Likewise.
3445         (test-xfail-XPG3/grp.h/conform): Likewise.
3446         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3447         (test-xfail-XPG3/limits.h/conform): Likewise.
3448         (test-xfail-XPG3/pwd.h/conform): Likewise.
3449         (test-xfail-XPG3/search.h/conform): Likewise.
3450         (test-xfail-XPG3/signal.h/conform): Likewise.
3451         (test-xfail-XPG3/stdio.h/conform): Likewise.
3452         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3453         (test-xfail-XPG3/string.h/conform): Likewise.
3454         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3455         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3456         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3457         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3458         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3459         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3460         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3461         (test-xfail-XPG3/termios.h/conform): Likewise.
3462         (test-xfail-XPG3/time.h/conform): Likewise.
3463         (test-xfail-XPG3/unistd.h/conform): Likewise.
3464         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3465         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3466         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3467         (test-xfail-XPG4/netdb.h/conform): Likewise.
3468         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3469         (test-xfail-XPG4/signal.h/conform): Likewise.
3470         (test-xfail-XPG4/stdio.h/conform): Likewise.
3471         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3472         (test-xfail-XPG4/stropts.h/conform): Likewise.
3473         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3474         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3475         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3476         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3477         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3478         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3479         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3480         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3481         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3482         (test-xfail-XPG4/termios.h/conform): Likewise.
3483         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3484         (test-xfail-XPG4/unistd.h/conform): Likewise.
3485         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3486         (test-xfail-POSIX/sched.h/conform): Likewise.
3487         (test-xfail-POSIX/signal.h/conform): Likewise.
3488         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3489         (test-xfail-POSIX/tar.h/conform): Likewise.
3490         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3491         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3492         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3493         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3494         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3495         (test-xfail-UNIX98/sched.h/conform): Likewise.
3496         (test-xfail-UNIX98/signal.h/conform): Likewise.
3497         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3498         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3499         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3500         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3501         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3502         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3503         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3504         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3505         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3506         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3507         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3508         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3509         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3510         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3511         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3512         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3513         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3514         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3515         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3516         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3517         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3518         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3519         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3520         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3521         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3522         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3523         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3524         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3525         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3526         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3527         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3528         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3529         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3530         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3531         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3532         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3533         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3534         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3535         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3536         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3537         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3538         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3539         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3540         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3541         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3542         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3543         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3544         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3545         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3546         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3547         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3548         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3549         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3550         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3551         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3552         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3553         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3554         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3555         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3556         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3557         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3558         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3559         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3560         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3561         (conformtest-cc-flags): Likewise.
3562         ($(conformtest-header-tests): New target.
3563         * conform/check-header-lists.sh: New file.
3564         * conform/run-conformtest.sh: Remove.
3566         * conform/conformtest.pl: Allow ' and \ in values given for
3567         constants.
3568         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3569         inclusion.
3570         [POSIX] (sys/types.h): Likewise.
3571         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3572         inclusion.
3573         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3574         inclusion.
3575         * conform/data/signal.h-data (SIGIO): Remove expectation.
3576         [XPG3] (SIGBUS): Do not expect.
3577         [POSIX || XPG3] (SIGPOLL): Likewise.
3578         [POSIX || XPG3] (SIGPROF): Likewise.
3579         [POSIX || XPG3] (SIGSYS): Likewise.
3580         [XPG3] (SIGTRAP): Likewise.
3581         [POSIX || XPG3] (SIGURG): Likewise.
3582         [POSIX || XPG3] (SIGVTALRM): Likewise.
3583         [POSIX || XPG3] (SIGXCPU): Likewise.
3584         [POSIX || XPG3] (SIGXFSZ): Likewise.
3585         [POSIX] (SA_SIGINFO): Expect.
3586         [XPG3] (siginfo_t): Do not expect type or contents.
3587         [POSIX] (si_pid): Do not expect element.
3588         [POSIX] (si_uid): Likewise.
3589         [POSIX] (si_addr): Likewise.
3590         [POSIX] (si_status): Likewise.
3591         [POSIX] (si_band): Likewise.
3592         [XPG4] (si_value): Likewise.
3593         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3594         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3595         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3596         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3597         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3598         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3599         [POSIX || XPG3] (ILL_COPROC): Likewise.
3600         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3601         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3602         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3603         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3604         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3605         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3606         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3607         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3608         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3609         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3610         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3611         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3612         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3613         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3614         [POSIX || XPG3] (CLD_EXITED): Likewise.
3615         [POSIX || XPG3] (CLD_KILLED): Likewise.
3616         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3617         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3618         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3619         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3620         [POSIX || XPG3] (POLL_IN): Likewise.
3621         [POSIX || XPG3] (POLL_OUT): Likewise.
3622         [POSIX || XPG3] (POLL_MSG): Likewise.
3623         [POSIX || XPG3] (POLL_ERR): Likewise.
3624         [POSIX || XPG3] (POLL_PRI): Likewise.
3625         [POSIX || XPG3] (POLL_HUP): Likewise.
3626         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3627         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3628         (SIG*): Do not allow.
3629         [XPG3] (si_*): Likewise.
3630         [XPG3] (SI_*): Likewise.
3631         [XPG3 || XPG4] (sigev_*): Likewise.
3632         [XPG3 || XPG4] (SIGEV_*): Likewise.
3633         [XPG3 || XPG4] (sival_*): Likewise.
3634         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3635         [POSIX || XPG3] (BUS_*): Likewise.
3636         [POSIX || XPG3] (CLD_*): Likewise.
3637         [POSIX || XPG3] (FPE_*): Likewise.
3638         [POSIX || XPG3] (ILL_*): Likewise.
3639         [POSIX || XPG3] (POLL_*): Likewise.
3640         [POSIX || XPG3] (SEGV_*): Likewise.
3641         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3642         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3643         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3644         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3645         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3646         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3647         Specify type and value.
3648         (TVERSLEN): Likewise.
3649         (REGTYPE): Likewise.
3650         (AREGTYPE): Likewise.
3651         (LNKTYPE): Likewise.
3652         (SYMTYPE): Likewise.
3653         (CHRTYPE): Likewise.
3654         (BLKTYPE): Likewise.
3655         (DIRTYPE): Likewise.
3656         (FIFOTYPE): Likewise.
3657         (CONTTYPE): Likewise.
3658         (TSUID): Likewise.
3659         (TSGID): Likewise.
3660         (TSVTX): Likewise.
3661         (TUREAD): Likewise.
3662         (TUWRITE): Likewise.
3663         (TUEXEC): Likewise.
3664         (TGREAD): Likewise.
3665         (TGWRITE): Likewise.
3666         (TGEXEC): Likewise.
3667         (TOREAD): Likewise.
3668         (TOWRITE): Likewise.
3669         (TOEXEC): Likewise.
3670         [POSIX] (TSVTX): Expect constant.
3672 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3674         * Makefile (tests): Change dependencies to ....
3675         (tests-special): ... additions to this variable.
3676         (tests): Depend on $(tests-special).
3677         * Makerules (check-abi-list): New variable.
3678         (check-abi): Depend on $(check-abi-list).
3679         [$(subdir) = elf] (tests-special): Add
3680         $(objpfx)check-abi-libc.out.
3681         [$(build-shared) = yes && subdir] (tests-special): Add
3682         $(check-abi-list).
3683         [$(build-shared) = yes && subdir] (tests): Do not depend on
3684         check-abi.
3685         * Rules (tests): Depend on $(tests-special).
3686         (xtests): Depend on $(xtests-special).
3687         * catgets/Makefile (tests): Change dependencies to ....
3688         (tests-special): ... additions to this variable.
3689         * conform/Makefile (tests): Change dependencies to ....
3690         (tests-special): ... additions to this variable.
3691         * elf/Makefile (tests): Change dependencies to ....
3692         (tests-special): ... additions to this variable.
3693         * grp/Makefile (tests): Change dependencies to ....
3694         (tests-special): ... additions to this variable.
3695         * iconv/Makefile (xtests): Change dependencies to ....
3696         (xtests-special): ... additions to this variable.
3697         * iconvdata/Makefile (tests): Change dependencies to ....
3698         (tests-special): ... additions to this variable.
3699         * intl/Makefile (tests): Change dependencies to ....
3700         (tests-special): ... additions to this variable.  Also add
3701         $(objpfx)tst-gettext.out.
3702         * io/Makefile (tests): Change dependencies to ....
3703         (tests-special): ... additions to this variable.
3704         * libio/Makefile (tests): Change dependencies to ....
3705         (tests-special): ... additions to this variable.
3706         * malloc/Makefile (tests): Change dependencies to ....
3707         (tests-special): ... additions to this variable.
3708         * misc/Makefile (tests): Change dependencies to ....
3709         (tests-special): ... additions to this variable.
3710         * nptl/Makefile (tests): Change dependencies to ....
3711         (tests-special): ... additions to this variable.
3712         * nptl_db/Makefile (tests): Change dependencies to ....
3713         (tests-special): ... additions to this variable.
3714         * posix/Makefile (tests): Change dependencies to ....
3715         (tests-special): ... additions to this variable.
3716         (xtests): Change dependencies to ....
3717         (xtests-special): ... additions to this variable.
3718         * resolv/Makefile (tests): Change dependencies to ....
3719         (tests-special): ... additions to this variable.
3720         (xtests): Change dependencies to ....
3721         (xtests-special): ... additions to this variable.
3722         * stdio-common/Makefile (tests): Change dependencies to ....
3723         (tests-special): ... additions to this variable.
3724         (do-tst-unbputc): Remove target.
3725         (do-tst-printf): Likewise.
3726         * stdlib/Makefile (tests): Change dependencies to ....
3727         (tests-special): ... additions to this variable.
3728         * string/Makefile (tests): Change dependencies to ....
3729         (tests-special): ... additions to this variable.
3730         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3731         (tests-special): ... additions to this variable.
3733         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3734         whole file.
3735         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3736         whole file.
3737         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3738         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3740         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3741         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3742         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3743         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3744         * conform/data/libgen.h-data [XPG3]: Likewise.
3745         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3746         * conform/data/ndbm.h-data [XPG3]: Likewise.
3747         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3748         * conform/data/netdb.h-data [XPG3]: Likewise.
3749         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3750         * conform/data/poll.h-data [XPG3]: Likewise.
3751         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3752         * conform/data/strings.h-data [XPG3]: Likewise.
3753         * conform/data/stropts.h-data [XPG3]: Likewise.
3754         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3755         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3756         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3757         Likewise.
3758         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3759         * conform/data/sys/time.h-data [XPG3]: Likewise.
3760         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3761         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3762         * conform/data/sys/un.h-data [XPG3]: Likewise.
3763         * conform/data/syslog.h-data [XPG3]: Likewise.
3764         * conform/data/ucontext.h-data [XPG3]: Likewise.
3765         * conform/data/utmpx.h-data [XPG3]: Likewise.
3766         * conform/data/varargs.h-data [UNIX98]: Enable file.
3768         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3770         * math/libm-test.inc (struct test_f_f_data): Move expected results
3771         into structure for each rounding mode.
3772         (struct test_ff_f_data): Likewise.
3773         (struct test_ff_f_data_nexttoward): Likewise.
3774         (struct test_fi_f_data): Likewise.
3775         (struct test_fl_f_data): Likewise.
3776         (struct test_if_f_data): Likewise.
3777         (struct test_fff_f_data): Likewise.
3778         (struct test_c_f_data): Likewise.
3779         (struct test_f_f1_data): Likewise.
3780         (struct test_fF_f1_data): Likewise.
3781         (struct test_ffI_f1_data): Likewise.
3782         (struct test_c_c_data): Likewise.
3783         (struct test_cc_c_data): Likewise.
3784         (struct test_f_i_data): Likewise.
3785         (struct test_ff_i_data): Likewise.
3786         (struct test_f_l_data): Likewise.
3787         (struct test_f_L_data): Likewise.
3788         (struct test_fFF_11_data): Likewise.
3789         (RM_): New macro.
3790         (RM_FE_DOWNWARD): Likewise.
3791         (RM_FE_TONEAREST): Likewise.
3792         (RM_FE_TOWARDZERO): Likewise.
3793         (RM_FE_UPWARD): Likewise.
3794         (RUN_TEST_LOOP_f_f): Update references to expected results.
3795         (RUN_TEST_LOOP_2_f): Likewise.
3796         (RUN_TEST_LOOP_fff_f): Likewise.
3797         (RUN_TEST_LOOP_c_f): Likewise.
3798         (RUN_TEST_LOOP_f_f1): Likewise.
3799         (RUN_TEST_LOOP_fF_f1): Likewise.
3800         (RUN_TEST_LOOP_fI_f1): Likewise.
3801         (RUN_TEST_LOOP_ffI_f1): Likewise.
3802         (RUN_TEST_LOOP_c_c): Likewise.
3803         (RUN_TEST_LOOP_cc_c): Likewise.
3804         (RUN_TEST_LOOP_f_i): Likewise.
3805         (RUN_TEST_LOOP_f_i_tg): Likewise.
3806         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3807         (RUN_TEST_LOOP_f_b): Likewise.
3808         (RUN_TEST_LOOP_f_b_tg): Likewise.
3809         (RUN_TEST_LOOP_f_l): Likewise.
3810         (RUN_TEST_LOOP_f_L): Likewise.
3811         (RUN_TEST_LOOP_fFF_11): Likewise.
3812         * math/gen-libm-test.pl (parse_args): Output four copies of
3813         expected results for each test.
3815         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3816         (__ASSUME_UTIMES): Remove.
3817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3818         (__ASSUME_UTIMES): Likewise.
3820         * math/gen-auto-libm-tests.c: Update comment on output format.
3821         (output_for_one_input_case): Generate before-rounding and
3822         after-rounding information as conditions on output flags not
3823         floating-point format.
3824         * math/auto-libm-test-out: Regenerated.
3825         * math/gen-libm-test.pl (cond_value): New function.
3826         (or_cond_value): Use cond_value.
3827         (generate_testfile): Handle conditional exceptions.
3829 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3831         * math/libm-test.inc (max_valid_error): New variable.
3832         (init_max_error): Take new argument specifying whether function
3833         results are exactly determined.  Set max_valid_error and bound
3834         other variables for errors based on this argument.
3835         (set_max_error): Do not record results above max_valid_error.
3836         (check_float_internal): Only accept errors of up to 0.5ulps if
3837         also at most max_valid_error.
3838         (START): Take new argument EXACT and pass it to init_max_error.
3839         (acos_test): Update call to START.
3840         (acos_test_tonearest): Likewise.
3841         (acos_test_towardzero): Likewise.
3842         (acos_test_downward): Likewise.
3843         (acos_test_upward): Likewise.
3844         (acosh_test): Likewise.
3845         (asin_test): Likewise.
3846         (asin_test_tonearest): Likewise.
3847         (asin_test_towardzero): Likewise.
3848         (asin_test_downward): Likewise.
3849         (asin_test_upward): Likewise.
3850         (asinh_test): Likewise.
3851         (atan_test): Likewise.
3852         (atanh_test): Likewise.
3853         (atan2_test): Likewise.
3854         (cabs_test): Likewise.
3855         (cacos_test): Likewise.
3856         (cacosh_test): Likewise.
3857         (carg_test): Likewise.
3858         (casin_test): Likewise.
3859         (casinh_test): Likewise.
3860         (catan_test): Likewise.
3861         (catanh_test): Likewise.
3862         (cbrt_test): Likewise.
3863         (ccos_test): Likewise.
3864         (ccosh_test): Likewise.
3865         (ceil_test): Likewise.
3866         (cexp_test): Likewise.
3867         (cimag_test): Likewise.
3868         (clog_test): Likewise.
3869         (clog10_test): Likewise.
3870         (conj_test): Likewise.
3871         (copysign_test): Likewise.
3872         (cos_test): Likewise.
3873         (cos_test_tonearest): Likewise.
3874         (cos_test_towardzero): Likewise.
3875         (cos_test_downward): Likewise.
3876         (cos_test_upward): Likewise.
3877         (cosh_test): Likewise.
3878         (cosh_test_tonearest): Likewise.
3879         (cosh_test_towardzero): Likewise.
3880         (cosh_test_downward): Likewise.
3881         (cosh_test_upward): Likewise.
3882         (cpow_test): Likewise.
3883         (cproj_test): Likewise.
3884         (creal_test): Likewise.
3885         (csin_test): Likewise.
3886         (csinh_test): Likewise.
3887         (csqrt_test): Likewise.
3888         (ctan_test): Likewise.
3889         (ctan_test_tonearest): Likewise.
3890         (ctan_test_towardzero): Likewise.
3891         (ctan_test_downward): Likewise.
3892         (ctan_test_upward): Likewise.
3893         (ctanh_test): Likewise.
3894         (ctanh_test_tonearest): Likewise.
3895         (ctanh_test_towardzero): Likewise.
3896         (ctanh_test_downward): Likewise.
3897         (ctanh_test_upward): Likewise.
3898         (erf_test): Likewise.
3899         (erfc_test): Likewise.
3900         (exp_test): Likewise.
3901         (exp_test_tonearest): Likewise.
3902         (exp_test_towardzero): Likewise.
3903         (exp_test_downward): Likewise.
3904         (exp_test_upward): Likewise.
3905         (exp10_test): Likewise.
3906         (exp10_test_tonearest): Likewise.
3907         (exp10_test_towardzero): Likewise.
3908         (exp10_test_downward): Likewise.
3909         (exp10_test_upward): Likewise.
3910         (pow10_test): Likewise.
3911         (exp2_test): Likewise.
3912         (expm1_test): Likewise.
3913         (expm1_test_tonearest): Likewise.
3914         (expm1_test_towardzero): Likewise.
3915         (expm1_test_downward): Likewise.
3916         (expm1_test_upward): Likewise.
3917         (fabs_test): Likewise.
3918         (fdim_test): Likewise.
3919         (floor_test): Likewise.
3920         (fma_test): Likewise.
3921         (fma_test_towardzero): Likewise.
3922         (fma_test_downward): Likewise.
3923         (fma_test_upward): Likewise.
3924         (fmax_test): Likewise.
3925         (fmin_test): Likewise.
3926         (fmod_test): Likewise.
3927         (fpclassify_test): Likewise.
3928         (frexp_test): Likewise.
3929         (hypot_test): Likewise.
3930         (ilogb_test): Likewise.
3931         (isfinite_test): Likewise.
3932         (finite_test): Likewise.
3933         (isgreater_test): Likewise.
3934         (isgreaterequal_test): Likewise.
3935         (isinf_test): Likewise.
3936         (isless_test): Likewise.
3937         (islessequal_test): Likewise.
3938         (islessgreater_test): Likewise.
3939         (isnan_test): Likewise.
3940         (isnormal_test): Likewise.
3941         (issignaling_test): Likewise.
3942         (isunordered_test): Likewise.
3943         (j0_test): Likewise.
3944         (j1_test): Likewise.
3945         (jn_test): Likewise.
3946         (ldexp_test): Likewise.
3947         (lgamma_test): Likewise.
3948         (gamma_test): Likewise.
3949         (lrint_test): Likewise.
3950         (lrint_test_tonearest): Likewise.
3951         (lrint_test_towardzero): Likewise.
3952         (lrint_test_downward): Likewise.
3953         (lrint_test_upward): Likewise.
3954         (llrint_test): Likewise.
3955         (llrint_test_tonearest): Likewise.
3956         (llrint_test_towardzero): Likewise.
3957         (llrint_test_downward): Likewise.
3958         (llrint_test_upward): Likewise.
3959         (log_test): Likewise.
3960         (log10_test): Likewise.
3961         (log1p_test): Likewise.
3962         (log2_test): Likewise.
3963         (logb_test): Likewise.
3964         (logb_test_downward): Likewise.
3965         (lround_test): Likewise.
3966         (llround_test): Likewise.
3967         (modf_test): Likewise.
3968         (nearbyint_test): Likewise.
3969         (nextafter_test): Likewise.
3970         (nexttoward_test): Likewise.
3971         (pow_test): Likewise.
3972         (pow_test_tonearest): Likewise.
3973         (pow_test_towardzero): Likewise.
3974         (pow_test_downward): Likewise.
3975         (pow_test_upward): Likewise.
3976         (remainder_test): Likewise.
3977         (drem_test): Likewise.
3978         (remainder_test_tonearest): Likewise.
3979         (drem_test_tonearest): Likewise.
3980         (remainder_test_towardzero): Likewise.
3981         (drem_test_towardzero): Likewise.
3982         (remainder_test_downward): Likewise.
3983         (drem_test_downward): Likewise.
3984         (remainder_test_upward): Likewise.
3985         (drem_test_upward): Likewise.
3986         (remquo_test): Likewise.
3987         (rint_test): Likewise.
3988         (rint_test_tonearest): Likewise.
3989         (rint_test_towardzero): Likewise.
3990         (rint_test_downward): Likewise.
3991         (rint_test_upward): Likewise.
3992         (round_test): Likewise.
3993         (scalb_test): Likewise.
3994         (scalbn_test): Likewise.
3995         (scalbln_test): Likewise.
3996         (signbit_test): Likewise.
3997         (sin_test): Likewise.
3998         (sin_test_tonearest): Likewise.
3999         (sin_test_towardzero): Likewise.
4000         (sin_test_downward): Likewise.
4001         (sin_test_upward): Likewise.
4002         (sincos_test): Likewise.
4003         (sinh_test): Likewise.
4004         (sinh_test_tonearest): Likewise.
4005         (sinh_test_towardzero): Likewise.
4006         (sinh_test_downward): Likewise.
4007         (sinh_test_upward): Likewise.
4008         (sqrt_test): Likewise.
4009         (sqrt_test_tonearest): Likewise.
4010         (sqrt_test_towardzero): Likewise.
4011         (sqrt_test_downward): Likewise.
4012         (sqrt_test_upward): Likewise.
4013         (tan_test): Likewise.
4014         (tan_test_tonearest): Likewise.
4015         (tan_test_towardzero): Likewise.
4016         (tan_test_downward): Likewise.
4017         (tan_test_upward): Likewise.
4018         (tanh_test): Likewise.
4019         (tgamma_test): Likewise.
4020         (trunc_test): Likewise.
4021         (y0_test): Likewise.
4022         (y1_test): Likewise.
4023         (yn_test): Likewise.
4024         (significand_test): Likewise.
4026         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4027         individual tests in comment.
4028         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4029         (prev_max_error): New variable.
4030         (prev_real_max_error): Likewise.
4031         (prev_imag_max_error): Likewise.
4032         (compare_ulp_data): Don't refer to test names in comment.
4033         (find_test_ulps): Remove function.
4034         (find_function_ulps): Likewise.
4035         (find_complex_function_ulps): Likewise.
4036         (init_max_error): Take function name as argument.  Look up ulps
4037         for that function.
4038         (print_ulps): Remove function.
4039         (print_max_error): Use prev_max_error instead of calling
4040         find_function_ulps.
4041         (print_complex_max_error): Use prev_real_max_error and
4042         prev_imag_max_error instead of calling find_complex_function_ulps.
4043         (check_float_internal): Take max_ulp parameter instead of calling
4044         find_test_ulps.  Don't call print_ulps.
4045         (check_float): Update call to check_float_internal.
4046         (check_complex): Update calls to check_float_internal.
4047         (START): Pass argument to init_max_error.
4048         * math/gen-libm-test.pl (%results): Don't include "kind"
4049         information.
4050         (parse_ulps): Don't handle ulps of individual tests.
4051         (print_ulps_file): Likewise.
4052         (output_ulps): Likewise.
4053         * math/README.libm-test: Update.
4054         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4055         individual tests.
4056         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4057         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4058         * sysdeps/arm/libm-test-ulps: Likewise.
4059         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4060         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4061         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4062         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4063         * sysdeps/microblaze/libm-test-ulps: Likewise.
4064         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4065         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4066         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4067         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4068         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4069         * sysdeps/sh/libm-test-ulps: Likewise.
4070         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4071         * sysdeps/tile/libm-test-ulps: Likewise.
4072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4076         * math/libm-test.inc (print_complex_max_error): Check separately
4077         whether real and imaginary errors are within allowed range and
4078         pass 0 to print_complex_function_ulps instead of value within
4079         allowed range.
4081 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4084         formatting.
4085         (get_handles_fopen): Likewise.
4086         (do_write_test): Likewise.
4088         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4090         * libio/fileops.c (do_ftell): Use cached offset when
4091         available.
4092         * libio/iofwide.c (do_ftell_wide): Likewise.
4093         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4094         _IO_file_attach.
4095         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4097         [BZ #16532]
4098         * libio/libioP.h (get_file_offset): New function.
4099         * libio/fileops.c (get_file_offset): Likewise.
4100         (do_ftell): Likewise.
4101         (_IO_new_file_seekoff): Split out ftell logic.
4102         * libio/wfileops.c (do_ftell_wide): Likewise.
4103         (_IO_wfile_seekoff): Split out ftell logic.
4104         * libio/tst-ftell-active-handler.c: New test case.
4105         * libio/Makefile (tests): Add it.
4107 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4109         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4110         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4112 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4114         [BZ #16639]
4115         * nscd/connections.c (nscd_init): Call do_exit.
4116         (start_threads): Call do_exit and notify_parent.
4117         (begin_drop_privileges): Call do_exit.
4118         (finish_drop_privileges): Likewise.
4119         * nscd/selinux.c (preserve_capabilities): Likewise.
4120         (install_real_capabilities): Likewise.
4121         (nscd_selinux_enabled): Likewise.
4122         (avc_create_thread): Likewise.
4123         (avc_alloc_lock): Likewise.
4124         (nscd_avc_init): Likewise.
4125         * nscd/nscd.c (parent_fd): New static variable.
4126         (main): Create a pipe between parent and child processes.
4127         Skip closing parent_fd.
4128         (monitor_child): New function.
4129         (do_exit): Likewise.
4130         (notify_parent): Likewise.
4131         * nscd/nscd.h (notify_parent): Likewise.
4132         (do_exit): Likewise.
4134 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4136         * malloc/malloc.c (__libc_calloc): Revert last change.
4138 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4142 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4144         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4146         implementation.
4147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4148         (__libc_ifunc_impl_list): Likewise.
4149         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4150         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4151         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4152         * string/strrchr.c: Define STRRCHR.
4154 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4156         * benchtest/bench-strtok.c (simple_strtok): Delete.
4157         (strtok_string): Use as benchmark.
4158         * string/strtok (STRTOK): New macro.
4160 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4162         * manual/threads.texi: Add header and standard comments to all
4163         functions.
4165         * elf/dl-lookup.c (check_match): New function.
4166         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4167         (do_lookup_x): Remove nested function check_match. Use non-nested
4168         function check_match.
4170 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4172         * csu/Makefile (generated, before-compile): Use += rather than =.
4173         * catgets/Makefile (generated, generated-dirs): Likewise.
4174         * debug/Makefile (generated): Likewise.
4175         * dlfcn/Makefile (generated): Likewise.
4176         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4177         * iconvdata/Makefile (before-compile, generated): Likewise.
4178         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4179         * libio/Makefile (generated): Likewise.
4180         * malloc/Makefile (generated): Likewise.
4181         * manual/Makefile (generated, generated-dirs): Likewise.
4182         * misc/Makefile (generated): Likewise.
4183         * posix/Makefile (generated): Likewise.
4184         * resolv/Makefile (generated): Likewise.
4185         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4186         * timezone/Makefile (generated, generated-dirs): Likewise.
4188         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4190 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4193         power8 implementation.
4194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4195         file: POWER8 llround ifunc implementation.
4196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4197         (__lllround): Add POWER8 implementation.
4198         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4199         POWER8 llround implementation.
4201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4202         power8 implementation.
4203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4204         file: POWER8 llrint ifunc implementation.
4205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4206         Add POWER8 implementation.
4207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4208         POWER8 llrint implementation.
4210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4211         power8 implementation.
4212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4213         file: POWER8 finite ifunc implementation.
4214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4215         Add POWER8 implementation.
4216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4217         Likewise.
4218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4219         POWER8 finite implementation.
4220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4223         power8 implementation.
4224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4225         file: POWER8 isinf ifunc implementation.
4226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4227         POWER8 implementation.
4228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4229         Likewise.
4230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4231         isinf implementation.
4232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4234         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4235         (INIT_ARCH): Add hwcap2 initialization.
4236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4237         power8 implementation.
4238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4239         file: POWER8 isnan ifunc implementation.
4240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4241         POWER8 implementation.
4242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4243         Likewise.
4244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4245         isnan implementation.
4246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4248 2014-02-27  Joey Ye  <joey.ye@arm.com>
4250         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4251         (_FP_NANFRAC_Q): Set to zero.
4253 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4255         [BZ #16623]
4256         * math/auto-libm-test-in: New test inputs.
4257         * math/auto-libm-test-out: Regenerate.
4258         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4259         and DA.
4260         (__cos): Likewise.
4261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4263 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4265         * scripts/evaluate-test.sh: Take new argument indicating whether
4266         failure is expected.
4267         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4268         indicating whether failure is expected.
4269         * conform/Makefile (test-xfail-run-conformtest): New variable.
4270         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4271         level.
4272         * posix/Makefile (test-xfail-annexc): New variable.
4273         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4275 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4277         * argp/Makefile: Include Makeconfig immediately after defining
4278         subdir.
4279         * assert/Makefile: Likewise.
4280         * benchtests/Makefile: Likewise.
4281         * catgets/Makefile: Likewise.
4282         * conform/Makefile: Likewise.
4283         * crypt/Makefile: Likewise.
4284         * csu/Makefile: Likewise.
4285         (all): Remove target.
4286         * ctype/Makefile: Include Makeconfig immediately after defining
4287         subdir.
4288         * debug/Makefile: Likewise.
4289         * dirent/Makefile: Likewise.
4290         * dlfcn/Makefile: Likewise.
4291         * gmon/Makefile: Likewise.
4292         * gnulib/Makefile: Likewise.
4293         * grp/Makefile: Likewise.
4294         * gshadow/Makefile: Likewise.
4295         * hesiod/Makefile: Likewise.
4296         * hurd/Makefile: Likewise.
4297         (all): Remove target.
4298         * iconvdata/Makefile: Include Makeconfig immediately after
4299         defining subdir.
4300         * inet/Makefile: Likewise.
4301         * intl/Makefile: Likewise.
4302         * io/Makefile: Likewise.
4303         * libio/Makefile: Likewise.
4304         (all): Remove target.
4305         * locale/Makefile: Include Makeconfig immediately after defining
4306         subdir.
4307         * login/Makefile: Likewise.
4308         * mach/Makefile: Likewise.
4309         (all): Remove target.
4310         * malloc/Makefile: Include Makeconfig immediately after defining
4311         subdir.
4312         (all): Remove target.
4313         * manual/Makefile: Include Makeconfig immediately after defining
4314         subdir.
4315         * math/Makefile: Likewise.
4316         * misc/Makefile: Likewise.
4317         * nis/Makefile: Likewise.
4318         * nss/Makefile: Likewise.
4319         * po/Makefile: Likewise.
4320         (all): Remove target.
4321         * posix/Makefile: Include Makeconfig immediately after defining
4322         subdir.
4323         * pwd/Makefile: Likewise.
4324         * resolv/Makefile: Likewise.
4325         * resource/Makefile: Likewise.
4326         * rt/Makefile: Likewise.
4327         * setjmp/Makefile: Likewise.
4328         * shadow/Makefile: Likewise.
4329         * signal/Makefile: Likewise.
4330         * socket/Makefile: Likewise.
4331         * soft-fp/Makefile: Likewise.
4332         * stdio-common/Makefile: Likewise.
4333         * stdlib/Makefile: Likewise.
4334         * streams/Makefile: Likewise.
4335         * string/Makefile: Likewise.
4336         * sunrpc/Makefile: Likewise.
4337         (all): Remove target.
4338         * sysvipc/Makefile: Include Makeconfig immediately after defining
4339         subdir.
4340         * termios/Makefile: Likewise.
4341         * time/Makefile: Likewise.
4342         * timezone/Makefile: Likewise.
4343         (all): Remove target.
4344         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4345         subdir.
4346         * wctype/Makefile: Likewise.
4348 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4350         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4351         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4352         (libc_feholdexcept_setround_mips): Ditto.
4353         (libc_feholdsetround): New.
4354         (libc_feholdsetroundf): New.
4355         (libc_feholdsetroundl): New.
4356         (libc_feupdateenv_test_mips): New.
4357         (libc_feupdateenv_test): New.
4358         (libc_feupdateenv_testf): New.
4359         (libc_feupdateenv_testl): New.
4360         (libc_feresetround): New.
4361         (libc_feresetroundf): New.
4362         (libc_feresetroundl): New.
4363         (libc_fetestexcept_mips): New.
4364         (libc_fetestexcept): New.
4365         (libc_fetestexceptf): New.
4366         (libc_fetestexceptl): New.
4367         (HAVE_RM_CTX): New.
4368         (libc_feholdexcept_setround_mips_ctx): New.
4369         (libc_feholdexcept_setround_ctx): New.
4370         (libc_feholdexcept_setroundf_ctx): New.
4371         (libc_feholdexcept_setroundl_ctx): New.
4372         (libc_fesetenv_mips_ctx): New.
4373         (libc_fesetenv_ctx): New.
4374         (libc_fesetenv_ctxf): New.
4375         (libc_fesetenv_ctxl): New.
4376         (libc_feupdateenv_mips_ctx): New.
4377         (libc_feupdateenv_ctx): New.
4378         (libc_feupdateenvf_ctx): New.
4379         (libc_feupdateenvl_ctx): New.
4380         (libc_feholdsetround_mips_ctx): New.
4381         (libc_feholdsetround_ctx): New.
4382         (libc_feholdsetroundf_ctx): New.
4383         (libc_feholdsetroundl_ctx): New.
4384         (libc_feresetround_mips_ctx): New.
4385         (libc_feresetround_ctx): New.
4386         (libc_feresetroundf_ctx): New.
4387         (libc_feresetroundl_ctx): New.
4389 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4391         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4393         * manual/ipc.texi: New file.
4394         * manual/Makefile (chapters): Add ipc.
4395         * manual/job.texi: Add "Inter-Process Communication" to next.
4396         * manual/process.texi: Add "Inter-Process Communication" to prev.
4398 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4402 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4404         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4406         * manual/arith.texi: Fix spaces after sentences.
4407         * manual/charset.texi: Likewise.
4408         * manual/errno.texi: Likewise.
4409         * manual/install.texi: Likewise.
4410         * manual/llio.texi: Likewise.
4411         * manual/locale.texi: Likewise.
4412         * manual/maint.texi: Likewise.
4413         * manual/math.texi: Likewise.
4414         * manual/memory.texi: Likewise.
4415         * manual/message.texi: Likewise.
4416         * manual/probes.texi: Likewise.
4417         * manual/resource.texi: Likewise.
4418         * manual/signal.texi: Likewise.
4419         * manual/socket.texi: Likewise.
4420         * manual/stdio.texi: Likewise.
4421         * manual/string.texi: Likewise.
4422         * manual/time.texi: Likewise.
4423         * manual/users.texi: Likewise.
4425 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4427         [BZ #16632]
4428         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4429         _DEFAULT_SOURCE is defined.
4431 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4432             Carlos O'Donell  <carlos@redhat.com>
4434         [BZ #16613]
4435         * elf/dl-tls.c (_dl_count_modids): New function.
4436         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4437         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4438         audit library and increment generation counter.
4439         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4440         * elf/tst-audit9.c: New file.
4441         * elf/tst-auditmod9a.c: New file.
4442         * elf/tst-auditmod9b.c: New file.
4443         * elf/Makefile: Add rules to build and run tst-audit9.
4445 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4447         [BZ #15347]
4448         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4450 2014-02-25  Will Newton  <will.newton@linaro.org>
4452         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4453         (__longjmp): Restore sp and lr before restoring callee
4454         saved registers.  Add longjmp and longjmp_target
4455         SystemTap probe point.
4456         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4457         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4458         Define to zero to match jmpbuf layout.
4459         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4460         (__sigsetjmp): Save sp and lr before saving callee
4461         saved registers.  Add setjmp SystemTap probe point.
4463 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4467 2014-02-24  Andreas Schwab  <schwab@suse.de>
4469         [BZ #15804]
4470         * elf/pldd.c (wait_for_ptrace_stop): New function.
4471         (main): Call it after attaching.
4473 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4475         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4476         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4477         Versions files is now verboten.
4478         * hurd/Versions (libc: GLIBC_2.0):
4479         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4480         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4481         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4482         * mach/Versions: Likewise.
4484         * csu/Versions: Remove unused %include.
4485         * resolv/Versions: Likewise.
4487 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4489         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4490         ($(objpfx)check-local-headers.out): Likewise.
4491         ($(objpfx)begin-end-check.out): Likewise.
4492         * Makerules (check-abi-%.out): Likewise.
4493         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4494         ($(objpfx)test2.cat): Likewise.
4495         ($(objpfx)de/libc.cat): Likewise.
4496         ($(objpfx)test-gencat.out): Likewise.
4497         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4498         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4499         ($(objpfx)noload-mem): Likewise.
4500         ($(objpfx)tst-pathopt.out): Likewise.
4501         ($(objpfx)tst-rtld-load-self.out): Likewise.
4502         ($(objpfx)tst-array1-cmp.out): Likewise.
4503         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4504         ($(objpfx)tst-array2-cmp.out): Likewise.
4505         ($(objpfx)tst-array3-cmp.out): Likewise.
4506         ($(objpfx)tst-array4-cmp.out): Likewise.
4507         ($(objpfx)tst-array5-cmp.out): Likewise.
4508         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4509         ($(objpfx)check-textrel.out): Likewise.
4510         ($(objpfx)check-execstack.out): Likewise.
4511         ($(objpfx)check-localplt.out): Likewise.
4512         ($(objpfx)order2-cmp.out): Likewise.
4513         ($(objpfx)tst-leaks1-mem): Likewise.
4514         ($(objpfx)tst-leaks1-static-mem): Likewise.
4515         ($(objpfx)tst-initorder-cmp.out): Likewise.
4516         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4517         ($(objpfx)tst-unused-dep.out): Likewise.
4518         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4520         * iconv/Makefile (test-iconvconfig): Likewise.
4521         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4522         ($(objpfx)iconv-test.out): Likewise.
4523         ($(objpfx)tst-tables.out): Likewise.
4524         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4525         ($(objpfx)tst-gettext.out): Likewise.
4526         ($(objpfx)tst-translit.out): Likewise.
4527         ($(objpfx)tst-gettext2.out): Likewise.
4528         ($(objpfx)tst-gettext4.out): Likewise.
4529         ($(objpfx)tst-gettext6.out): Likewise.
4530         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4531         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4532         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4533         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4534         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4535         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4536         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4537         ($(objpfx)wordexp-tst.out): Likewise.
4538         ($(objpfx)annexc.out): Likewise.
4539         ($(objpfx)tst-fnmatch-mem): Likewise.
4540         ($(objpfx)bug-regex2-mem): Likewise.
4541         ($(objpfx)bug-regex14-mem): Likewise.
4542         ($(objpfx)bug-regex21-mem): Likewise.
4543         ($(objpfx)bug-regex31-mem): Likewise.
4544         ($(objpfx)tst-vfork3-mem): Likewise.
4545         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4546         ($(objpfx)tst-pcre-mem): Likewise.
4547         ($(objpfx)tst-boost-mem): Likewise.
4548         ($(objpfx)tst-getconf.out): Likewise.
4549         ($(objpfx)bug-ga2-mem): Likewise.
4550         ($(objpfx)bug-glob2-mem): Likewise.
4551         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4552         ($(objpfx)mtrace-tst-leaks2): Likewise.
4553         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4554         ($(objpfx)tst-printf.out): Likewise.
4555         ($(objpfx)tst-setvbuf1.out): Likewise.
4556         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4557         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4558         ($(objpfx)tst-fmtmsg.out): Likewise.
4559         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4560         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4562         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4563         * bits/sigaction.h [__USE_MISC]: Likewise.
4564         * bits/waitstatus.h: Update #endif comments.
4565         * ctype/ctype.h: Likewise.
4566         * dirent/dirent.h: Likewise.
4567         [__USE_MISC]: Remove redundant conditionals.
4568         * grp/grp.h: Update #endif comments.
4569         [__USE_GNU]: Remove redundant conditionals.
4570         [__USE_MISC]: Likewise.
4571         * inet/netinet/in.h [__USE_GNU]: Likewise.
4572         * io/sys/stat.h [__USE_MISC]: Likewise.
4573         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4574         * libio/bits/stdio.h: Update #endif comments.
4575         [__USE_MISC]: Remove redundant conditionals.
4576         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4577         * libio/stdio.h: Update #endif comments.
4578         [__USE_MISC]: Remove redundant conditionals.
4579         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4580         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4581         * math/math.h: Update #else and #endif comments.
4582         [__USE_MISC]: Remove redundant conditionals.
4583         * misc/sys/uio.h: Update #endif comments.
4584         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4585         * posix/glob.h [__USE_MISC]: Likewise.
4586         * posix/sys/types.h: Update #endif comments.
4587         [__USE_MISC]: Remove redundant conditionals.
4588         * posix/sys/wait.h: Update #endif comments.
4589         [__USE_MISC]: Remove redundant conditionals.
4590         * posix/unistd.h: Update #endif comments.
4591         [__USE_MISC]: Remove redundant conditionals.
4592         * pwd/pwd.h [__USE_GNU]: Likewise.
4593         [__USE_MISC]: Likewise.
4594         * resolv/netdb.h [__USE_GNU]: Likewise.
4595         * signal/signal.h: Update #endif comments.
4596         [__USE_MISC]: Remove redundant conditionals.
4597         * stdlib/stdlib.h: Update #else and #endif comments.
4598         [__USE_MISC]: Remove redundant conditionals.
4599         [__USE_GNU]: Likewise.
4600         * string/bits/string2.h [__USE_MISC]: Likewise.
4601         * string/string.h: Update #endif comments.
4602         [__USE_MISC]: Remove redundant conditionals.
4603         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4604         Likewise.
4605         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4606         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4607         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4608         Likewise.
4609         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4612         comments.
4613         [__USE_MISC]: Remove redundant conditionals.
4614         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4615         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4616         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4617         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4618         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4621         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4622         Likewise.
4623         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4624         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4625         Likewise.
4626         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4627         Likewise.
4628         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4629         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4630         Likewise.
4631         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4632         Likewise.
4633         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4634         * sysdeps/x86/bits/string.h: Update #endif comments.
4635         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4636         conditionals.
4637         * time/sys/time.h: Update #endif comments.
4638         * time/time.h: Likewise.
4639         [__USE_MISC]: Remove redundant conditionals.
4641 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4643         [BZ #16600]
4644         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4646 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4648         * Versions.def (librt): Add GLIBC_2.17.
4650 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4652         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4653         synonym for _SYS_AUXV_H to allow direct inclusion.
4654         * sysdeps/sparc/bits/hwcap.h: Likewise.
4655         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4656         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4657         * sysdeps/sparc/sysdep.h: Likewise.
4659 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4661         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4663 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4665         * benchtests/bench-strrchr.c: Print length instead of position.
4667 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4669         [BZ #16611]
4670         * sysdeps/unix/sysv/linux/kernel-features.h
4671         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4672         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4673         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4674         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4675         Likewise.
4676         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4677         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4678         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4679         (__ASSUME_SENDMMSG): Define instead of using previous
4680         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4682         (__ASSUME_SENDMMSG_SYSCALL): Define.
4683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4684         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4685         Likewise.
4686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4688         Likewise.
4689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4691         Likewise.
4692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4693         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4694         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4695         [__ASSUME_SENDMMSG]: Change conditionals to
4696         [__ASSUME_SENDMMSG_SOCKETCALL].
4697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4698         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4699         Define.
4700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4701         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4702         Likewise.
4703         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4704         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4705         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4706         [!__ASSUME_SENDMMSG]: Change conditional to
4707         [!__ASSUME_SENDMMSG_SOCKETCALL].
4708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4710         Define.
4712         [BZ #16610]
4713         * sysdeps/unix/sysv/linux/kernel-features.h
4714         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4715         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4716         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4717         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4718         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4719         [__i386__ || __sparc__]
4720         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4721         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4722         (__ASSUME_RECVMMSG): Define instead of using previous
4723         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4724         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4725         (__ASSUME_RECVMMSG_SYSCALL): Define.
4726         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4728         Likewise.
4729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4731         Likewise.
4732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4734         Likewise.
4735         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4736         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4737         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4738         [__ASSUME_RECVMMSG]: Change condition to
4739         [__ASSUME_RECVMMSG_SOCKETCALL].
4740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4741         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4742         Define.
4743         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4746         Likewise.
4747         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4748         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4749         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4750         [!__ASSUME_RECVMMSG]: Change condition to
4751         [!__ASSUME_RECVMMSG_SOCKETCALL].
4752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4753         (__ASSUME_RECVMMSG_SYSCALL): Define.
4755         [BZ #16609]
4756         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4757         __powerpc__ || __s390__ || __sh__ || __sparc__]
4758         (__ASSUME_SOCKETCALL): Define.
4759         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4760         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4761         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4762         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4763         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4764         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4765         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4766         (__ASSUME_ACCEPT4): Define instead of using previous
4767         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4768         __powerpc__ || __sparc__ || __s390__)] condition.
4769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4770         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4771         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4772         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4773         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4774         [!__ASSUME_ACCEPT4]: Change condition to
4775         [!__ASSUME_ACCEPT4_SOCKETCALL].
4776         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4777         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4778         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4780         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4781         __ASSUME_ACCEPT4_SYSCALL.
4782         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4783         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4785         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4786         __ASSUME_ACCEPT4_SYSCALL.
4787         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4788         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4789         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4790         [__ASSUME_ACCEPT4]: Change condition to
4791         [__ASSUME_ACCEPT4_SOCKETCALL].
4792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4793         (__ASSUME_SOCKETCALL): Define.
4794         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4796         (__ASSUME_SOCKETCALL): Define.
4797         (__ASSUME_ACCEPT4): Remove.
4798         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4799         Define.
4800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4801         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4802         Likewise.
4803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4804         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4806         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4807         macro.
4808         (HWCAP_ARM_LPAE): Likewise.
4809         (HWCAP_ARM_EVTSTRM): Likewise.
4810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4811         Add vpfd32, lpae and evtstrm.
4812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4813         Increase to 22.
4815 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4817         * math/auto-libm-test-in: Add tests of clog10.
4818         * math/auto-libm-test-out: Regenerated.
4819         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4820         * sysdeps/i386/fpu/libm-test-ulps: Update.
4821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823 2014-02-18  Andreas Schwab  <schwab@suse.de>
4825         [BZ #16574]
4826         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4827         Store non-zero if the second buffer was newly allocated.
4828         (send_dg): Likewise.
4829         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4830         to send_vc and send_dg.
4831         (res_nsend): Pass NULL for ansp2_malloced.
4832         * resolv/res_query.c (__libc_res_nquery): Add parameter
4833         answerp2_malloced and pass it down to __libc_res_nsend.
4834         (res_nquery): Pass additional NULL to __libc_res_nquery.
4835         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4836         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4837         second answer buffer if answerp2_malloced was set.
4838         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4839         (__libc_res_nquerydomain): Add parameter
4840         answerp2_malloced and pass it down to __libc_res_nquery.
4841         (res_nquerydomain): Pass additional NULL to
4842         __libc_res_nquerydomain.
4843         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4844         additional NULL to __libc_res_nsend and __libc_res_nquery.
4845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4846         additional NULL to __libc_res_nsearch.
4847         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4848         parameter of __libc_res_nsearch to check for separately allocated
4849         second buffer.
4850         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4851         __libc_res_nquery.
4852         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4853         additional NULL to __libc_res_nquery.
4854         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4855         __libc_res_nsearch.
4856         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4857         * include/resolv.h: Update prototypes of __libc_res_nquery,
4858         __libc_res_nsearch, __libc_res_nsend.
4860 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4862         * math/auto-libm-test-in: Add tests of fma.
4863         * math/auto-libm-test-out: Regenerated.
4864         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4865         (fma_towardzero_test_data): Likewise.
4866         (fma_downward_test_data): Likewise.
4867         (fma_upward_test_data): Likewise.
4868         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4869         mpc_mode.
4870         (rounding_modes): Add values for new field.
4871         (func_calc_method): Add value mpfr_fff_f.
4872         (func_calc_desc): Add mpfr_fff_f union field.
4873         (test_function): Add field exact_args.
4874         (FUNC): Add macro argument EXACT_ARGS.
4875         (FUNC_mpfr_f_f): Update call to FUNC.
4876         (FUNC_mpfr_f_f): Likewise.
4877         (FUNC_mpfr_ff_f): Likewise.
4878         (FUNC_mpfr_if_f): Likewise.
4879         (FUNC_mpc_c_f): Likewise.
4880         (FUNC_mpc_c_c): Likewise.
4881         (test_functions): Add fma.  Update calls to FUNC.
4882         (handle_input_arg): Add argument exact_args.
4883         (add_test): Update call to handle_input_arg.
4884         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
4885         (output_for_one_input_case): Update call to calc_generic_results.
4886         Recalculate exact zero results in each rounding mode.
4888         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4889         non-negative before setting low bit.
4890         * math/auto-libm-test-in: Mark one asin test possibly having
4891         spurious underflow.
4892         * math/auto-libm-test-out: Regenerated.
4893         * sysdeps/i386/fpu/libm-test-ulps: Update.
4894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4896 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
4898         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4899         * sysdeps/unix/sysv/linux/microblaze: Move directory from
4900         ports/sysdeps/unix/sysv/linux/microblaze.
4901         * README: Add missing listing for microblaze*-*-linux-gnu.
4903 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
4905         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4906         * sysdeps/unix/sysv/linux/ia64: Move directory from
4907         ports/sysdeps/unix/sysv/linux/ia64.
4908         * README: Update listing for ia64-*-linux-gnu.
4910 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
4911             Joseph Myers  <joseph@codesourcery.com>
4913         * Makeconfig (test-name): New variable.
4914         (evaluate-test): Likewise.
4915         * Makerules (do-test-clean): Remove .test-result files.
4916         (common-mostlyclean): Likewise.
4917         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4918         * scripts/evaluate-test.sh: New file.
4920 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
4922         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4923         separate $(objpfx)tst-fopenloc-cmp.out and
4924         $(objpfx)tst-fopenloc-mem.out targets.
4925         (tests): Update dependencies.
4926         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4927         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4928         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4929         (tst-rxspencer-no-utf8-ARGS): New variable.
4930         (tst-rxspencer-no-utf8-ENV): Likewise.
4931         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4932         instead of $(objpfx)tst-rxspencer-mem.
4933         ($(objpfx)tst-rxspencer-mem): Change target to
4934         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
4935         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4936         * posix/tst-rxspencer-no-utf8.c: New file.
4938         * elf/Makefile ($(objpfx)order.out): Remove rule.
4939         [$(run-built-tests) = yes] (tests): Depend on
4940         $(objpfx)order-cmp.out.
4941         ($(objpfx)order-cmp.out): New rule.
4942         [$(run-built-tests) = yes] (tests): Depend on
4943         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4944         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4945         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4946         $(objpfx)tst-array5-static-cmp.out.
4947         ($(objpfx)tst-array1.out): Remove rule.
4948         ($(objpfx)tst-array1-cmp.out): New rule.
4949         ($(objpfx)tst-array1-static.out): Remove rule.
4950         ($(objpfx)tst-array1-static-cmp.out): New rule.
4951         ($(objpfx)tst-array2.out): Remove rule.
4952         ($(objpfx)tst-array2-cmp.out): New rule.
4953         ($(objpfx)tst-array3.out): Remove rule.
4954         ($(objpfx)tst-array3-cmp.out): New rule.
4955         ($(objpfx)tst-array4.out): Remove rule.
4956         ($(objpfx)tst-array4-cmp.out): New rule.
4957         ($(objpfx)tst-array5.out): Remove rule.
4958         ($(objpfx)tst-array5-cmp.out): New rule.
4959         ($(objpfx)tst-array5-static.out): Remove rule.
4960         ($(objpfx)tst-array5-static-cmp.out): New rule.
4961         [$(run-built-tests) = yes] (tests): Depend on
4962         $(objpfx)order2-cmp.out.
4963         ($(objpfx)order2.out): Remove rule.
4964         ($(objpfx)order2-cmp.out): New rule.
4965         ($(objpfx)tst-initorder.out): Remove rule.
4966         [$(run-built-tests) = yes] (tests): Depend on
4967         $(objpfx)tst-initorder-cmp.out.
4968         ($(objpfx)tst-initorder-cmp.out): New rule.
4969         ($(objpfx)tst-initorder2.out): Remove rule.
4970         [$(run-built-tests) = yes] (tests): Depend on
4971         $(objpfx)tst-initorder2-cmp.out.
4972         ($(objpfx)tst-initorder2-cmp.out): New rule.
4973         [$(run-built-tests) = yes] (tests): Depend on
4974         $(objpfx)tst-unused-dep-cmp.out.
4975         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4976         ($(objpfx)tst-unused-dep-cmp.out): New rule.
4977         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4978         on $(objpfx)tst-setvbuf1-cmp.out.
4979         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4980         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4981         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4982         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4983         ($(objpfx)tst-svc.out): Remove rule.
4984         ($(objpfx)tst-svc-cmp.out): New rule.
4986 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
4988         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4989         * ctype/ctype.h [__USE_MISC]: Likewise.
4990         * dirent/dirent.h [__USE_MISC]: Likewise.
4991         * grp/grp.h [__USE_MISC]: Likewise.
4992         * io/fcntl.h [__USE_MISC]: Likewise.
4993         * io/sys/stat.h [__USE_MISC]: Likewise.
4994         * libio/stdio.h [__USE_MISC]: Likewise.
4995         * posix/unistd.h [__USE_MISC]: Likewise.
4996         * pwd/pwd.h [__USE_MISC]: Likewise.
4997         * stdlib.h [__USE_MISC]: Likewise.
4998         * string/bits/string2.h [__USE_MISC]: Likewise.
4999         * string/string.h [__USE_MISC]: Likewise.
5000         * time/time.h [__USE_MISC]: Likewise.
5002 2014-02-13  Andreas Schwab  <schwab@suse.de>
5004         [BZ #16574]
5005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5006         second answer buffer if it was separately allocated.
5008 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5010         * sysdeps/mips/math-tests.h: Include <features.h>.
5011         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5012         (ROUNDING_TESTS_long_double): Do not define.
5013         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5014         (EXCEPTION_TESTS_long_double): Likewise.
5015         * sysdeps/mips/mips64/libm-test-ulps: Update.
5017         * include/features.h (__USE_BSD): Remove macro definitions.
5018         (__USE_SVID): Likewise.
5019         (_BSD_SOURCE): Likewise.
5020         (_SVID_SOURCE): Likewise.
5021         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5022         from definition of _DEFAULT_SOURCE.
5023         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5024         [_DEFAULT_SOURCE].
5025         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5026         * bits/mman.h [__USE_BSD]: Likewise.
5027         * bits/termios.h [__USE_BSD]: Likewise.
5028         * bits/waitstatus.h [__USE_BSD]: Likewise.
5029         * ctype/ctype.h [__USE_SVID]: Likewise.
5030         * dirent/dirent.h [__USE_BSD]: Likewise.
5031         * grp/grp.h [__USE_SVID]: Likewise.
5032         [__USE_BSD]: Likewise.
5033         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5034         * io/fcntl.h [__USE_BSD]: Likewise.
5035         * io/ftw.h [__USE_BSD]: Likewise.
5036         * io/sys/stat.h [__USE_BSD]: Likewise.
5037         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5038         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5039         * libio/stdio.h [__USE_SVID]: Likewise.
5040         [__USE_BSD]: Likewise.
5041         * math/math.h [__USE_SVID]: Likewise.
5042         [__USE_BSD]: Likewise.
5043         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5044         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5045         * misc/search.h [__USE_SVID]: Likewise.
5046         * misc/sys/mman.h [__USE_BSD]: Likewise.
5047         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5048         * misc/sys/uio.h [__USE_BSD]: Likewise.
5049         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5050         * posix/glob.h [__USE_BSD]: Likewise.
5051         * posix/regex.h [__USE_BSD]: Likewise.
5052         * posix/sys/types.h [__USE_BSD]: Likewise.
5053         [__USE_SVID]: Likewise.
5054         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5055         * posix/sys/wait.h [__USE_BSD]: Likewise.
5056         [__USE_SVID]: Likewise.
5057         * posix/unistd.h [__USE_BSD]: Likewise.
5058         [__USE_SVID]: Likewise.
5059         * pwd/pwd.h [__USE_SVID]: Likewise.
5060         * resolv/netdb.h [__USE_BSD]: Likewise.
5061         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5062         * signal/signal.h [__USE_BSD]: Likewise.
5063         [__USE_SVID]: Likewise.
5064         * socket/sys/socket.h [__USE_BSD]: Likewise.
5065         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5066         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5067         [__USE_SVID]: Likewise.
5068         * string/bits/string2.h [__USE_BSD]: Likewise.
5069         [__USE_SVID]: Likewise.
5070         * string/bits/string3.h [__USE_BSD]: Likewise.
5071         * string/endian.h [__USE_BSD]: Likewise.
5072         * string/string.h [__USE_SVID]: Likewise.
5073         [__USE_BSD]: Likewise.
5074         * string/strings.h [__USE_BSD]: Likewise.
5075         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5076         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5077         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5078         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5079         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5080         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5085         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5086         Likewise.
5087         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5088         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5089         Likewise.
5090         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5091         Likewise.
5092         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5093         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5094         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5097         Likewise.
5098         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5099         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5100         * termios/termios.h [__USE_BSD]: Likewise.
5101         * time/sys/time.h [__USE_BSD]: Likewise.
5102         * time/time.h [__USE_BSD]: Likewise.
5103         [__USE_SVID]: Likewise.
5105         * Makefile (subdir_targets): Remove subdir_lint.out.
5107         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5108         (do-tst-printf): Likewise.
5109         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5110         $(objpfx)tst-printf.out.
5112         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5114         * Makerules (check-abi-%): Change target to
5115         $(objpfx)check-abi-%.out.
5116         (check-abi target): Update dependencies.
5117         (check-abi-pattern variable): Redirect output of diff to $@.
5118         (check-abi variable): Likewise.
5119         * elf/Makefile (check-abi): Update dependencies.
5121         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5122         unused.
5123         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5124         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5125         subnormal range.
5126         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5127         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5128         value has largest subnormal exponent.
5129         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5130         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5131         * sysdeps/aarch64/soft-fp/sfp-machine.h
5132         (_FP_TININESS_AFTER_ROUNDING): New macro.
5133         * sysdeps/alpha/soft-fp/sfp-machine.h
5134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5135         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5136         Likewise.
5137         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5139         * sysdeps/mips/soft-fp/sfp-machine.h
5140         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5141         * sysdeps/powerpc/soft-fp/sfp-machine.h
5142         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5143         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5144         Likewise.
5145         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5146         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5147         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5148         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5149         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5150         Likewise.
5152 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5154         [BZ #16545]
5155         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5156         model 1.
5158 2014-02-12  Richard Henderson  <rth@redhat.com>
5160         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5161         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5162         * sysdeps/unix/sysv/linux/alpha: Move directory from
5163         ports/sysdeps/unix/sysv/linux/alpha.
5164         * README: Update listing for alpha-*-linux-gnu.
5166 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5168         * include/features.h: Update comment documenting feature test
5169         macros.
5170         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5171         _DEFAULT_SOURCE.
5172         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5173         (_SVID_SOURCE): Likewise.
5174         (_DEFAULT_SOURCE): Update description of default features.
5175         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5176         with _GNU_SOURCE.
5177         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5178         (S_ISVTX): Likewise.
5179         * manual/math.texi (Mathematical Constants): Likewise.
5180         * manual/signal.texi (Interrupted Primitives): Likewise.
5181         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5182         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5183         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5184         Don't refer to _SVID_SOURCE in warning text.
5186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5188         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5189         already defined.
5190         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5191         * sysdeps/mips/dl-lookup.c: Remove.
5192         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5194 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5196         [BZ #16447]
5197         * math/auto-libm-test-in: Add testcase for expl.
5198         * math/auto-libm-test-out: Regenerate.
5199         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5200         calculation of unsafe.
5201         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5203 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5205         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5206         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5207         ports/sysdeps/unix/sysv/linux/aarch64.
5208         * README: Update listing for aarch64*-*-linux-gnu.
5210 2014-02-11  Will Newton  <will.newton@linaro.org>
5212         * manual/probes.texi (Mathematical Function Probes): Use
5213         "triggered" instead of "hit".
5215         * manual/probes.texi (Internal Probes): Add documentation
5216         of setjmp, longjmp and longjmp_target probes.
5218         * include/stap-probe.h: Add comment about probe argument
5219         format.
5221         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5222         definition.  (tr_where, tr_freehook, tr_mallochook,
5223         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5225 2014-02-11  David S. Miller  <davem@davemloft.net>
5227         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5228         processing int_tests.
5230 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5232         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5233         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5234         * sysdeps/unix/sysv/linux/mips: Move directory from
5235         ports/sysdeps/unix/sysv/linux/mips.
5236         * README: Update listing for mips-*-linux-gnu and
5237         mips64-*-linux-gnu.
5239 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5241         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5242         * sysdeps/unix/sysv/linux/m68k: Move directory from
5243         ports/sysdeps/unix/sysv/linux/m68k.
5244         * README: Update listing for m68k-*-linux-gnu.
5246 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5248         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5249         * sysdeps/unix/sysv/linux/generic: Move directory from
5250         ports/sysdeps/unix/sysv/linux/generic.
5251         * sysdeps/unix/sysv/linux/tile: Move directory from
5252         ports/sysdeps/unix/sysv/linux/tile.
5253         * README: Update listing for tile*-*-linux-gnu.
5255 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5257         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5258         __builtin_expect.
5259         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5260         * catgets/open_catalog.c (__open_catalog): Likewise.
5261         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5262         * debug/confstr_chk.c: Likewise.
5263         * debug/fread_chk.c (__fread_chk): Likewise.
5264         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5265         * debug/getgroups_chk.c: Likewise.
5266         * debug/mbsnrtowcs_chk.c: Likewise.
5267         * debug/mbsrtowcs_chk.c: Likewise.
5268         * debug/mbstowcs_chk.c: Likewise.
5269         * debug/memcpy_chk.c: Likewise.
5270         * debug/memmove_chk.c: Likewise.
5271         * debug/mempcpy_chk.c: Likewise.
5272         * debug/memset_chk.c: Likewise.
5273         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5274         * debug/strcat_chk.c (__strcat_chk): Likewise.
5275         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5276         * debug/strncat_chk.c (__strncat_chk): Likewise.
5277         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5278         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5279         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5280         * debug/wcpncpy_chk.c: Likewise.
5281         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5282         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5283         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5284         * debug/wcsncpy_chk.c: Likewise.
5285         * debug/wcsnrtombs_chk.c: Likewise.
5286         * debug/wcsrtombs_chk.c: Likewise.
5287         * debug/wcstombs_chk.c: Likewise.
5288         * debug/wmemcpy_chk.c: Likewise.
5289         * debug/wmemmove_chk.c: Likewise.
5290         * debug/wmempcpy_chk.c: Likewise.
5291         * debug/wmemset_chk.c: Likewise.
5292         * dirent/scandirat.c (SCANDIRAT): Likewise.
5293         * dlfcn/dladdr1.c (dladdr1): Likewise.
5294         * dlfcn/dladdr.c (dladdr): Likewise.
5295         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5296         * dlfcn/dlerror.c (__dlerror): Likewise.
5297         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5298         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5299         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5300         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5301         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5302         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5303         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5304         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5305         Likewise.
5306         * elf/dl-conflict.c: Likewise.
5307         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5308         * elf/dl-dst.h: Likewise.
5309         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5310         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5311         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5312         * elf/dl-init.c (call_init, _dl_init): Likewise.
5313         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5314         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5315         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5316         Likewise.
5317         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5318         Likewise.
5319         * elf/dl-minimal.c (__libc_memalign): Likewise.
5320         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5321         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5322         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5323         * elf/dl-sym.c (do_sym): Likewise.
5324         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5325         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5326         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5327         * elf/dl-writev.h (_dl_writev): Likewise.
5328         * elf/ldconfig.c (search_dir): Likewise.
5329         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5330         (dl_main): Likewise.
5331         * elf/setup-vdso.h (setup_vdso): Likewise.
5332         * grp/compat-initgroups.c (compat_call): Likewise.
5333         * grp/fgetgrent.c (fgetgrent): Likewise.
5334         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5335         * grp/putgrent.c (putgrent): Likewise.
5336         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5337         Likewise.
5338         * hurd/hurdinit.c: Likewise.
5339         * iconvdata/8bit-gap.c (struct): Likewise.
5340         * iconvdata/ansi_x3.110.c : Likewise.
5341         * iconvdata/big5.c : Likewise.
5342         * iconvdata/big5hkscs.c : Likewise.
5343         * iconvdata/cp1255.c: Likewise.
5344         * iconvdata/cp1258.c : Likewise.
5345         * iconvdata/cp932.c : Likewise.
5346         * iconvdata/euc-cn.c: Likewise.
5347         * iconvdata/euc-jisx0213.c : Likewise.
5348         * iconvdata/euc-jp.c: Likewise.
5349         * iconvdata/euc-jp-ms.c : Likewise.
5350         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5351         * iconvdata/gb18030.c : Likewise.
5352         * iconvdata/gbbig5.c (const): Likewise.
5353         * iconvdata/gbgbk.c: Likewise.
5354         * iconvdata/gbk.c : Likewise.
5355         * iconvdata/ibm1364.c : Likewise.
5356         * iconvdata/ibm930.c : Likewise.
5357         * iconvdata/ibm932.c: Likewise.
5358         * iconvdata/ibm933.c : Likewise.
5359         * iconvdata/ibm935.c : Likewise.
5360         * iconvdata/ibm937.c : Likewise.
5361         * iconvdata/ibm939.c : Likewise.
5362         * iconvdata/ibm943.c: Likewise.
5363         * iconvdata/iso_11548-1.c: Likewise.
5364         * iconvdata/iso-2022-cn.c : Likewise.
5365         * iconvdata/iso-2022-cn-ext.c : Likewise.
5366         * iconvdata/iso-2022-jp-3.c: Likewise.
5367         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5368         * iconvdata/iso-2022-kr.c : Likewise.
5369         * iconvdata/iso646.c (gconv_end): Likewise.
5370         * iconvdata/iso_6937-2.c : Likewise.
5371         * iconvdata/iso_6937.c : Likewise.
5372         * iconvdata/iso8859-1.c: Likewise.
5373         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5374         * iconvdata/shift_jisx0213.c : Likewise.
5375         * iconvdata/sjis.c : Likewise.
5376         * iconvdata/t.61.c : Likewise.
5377         * iconvdata/tcvn5712-1.c : Likewise.
5378         * iconvdata/tscii.c: Likewise.
5379         * iconvdata/uhc.c : Likewise.
5380         * iconvdata/unicode.c (gconv_end): Likewise.
5381         * iconvdata/utf-16.c (gconv_end): Likewise.
5382         * iconvdata/utf-32.c (gconv_end): Likewise.
5383         * iconvdata/utf-7.c (base64): Likewise.
5384         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5385         * iconv/gconv_close.c (__gconv_close): Likewise.
5386         * iconv/gconv_open.c (__gconv_open): Likewise.
5387         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5388         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5389         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5390         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5391         (ucs4le_internal_loop_single): Likewise.
5392         * iconv/iconv.c (iconv): Likewise.
5393         * iconv/iconv_close.c: Likewise.
5394         * iconv/loop.c (SINGLE): Likewise.
5395         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5396         * include/atomic.h: Likewise.
5397         * inet/inet6_option.c (option_alloc): Likewise.
5398         * intl/bindtextdom.c (set_binding_values): Likewise.
5399         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5400         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5401         * intl/localealias.c (read_alias_file): Likewise.
5402         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5403         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5404         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5405         * libio/fmemopen.c (fmemopen): Likewise.
5406         * libio/iofgets.c (_IO_fgets): Likewise.
5407         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5408         * libio/iofgetws.c (fgetws): Likewise.
5409         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5410         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5411         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5412         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5413         * locale/findlocale.c (_nl_find_locale): Likewise.
5414         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5415         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5416         Likewise.
5417         * locale/setlocale.c (setlocale): Likewise.
5418         * login/programs/pt_chown.c (main): Likewise.
5419         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5420         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5421         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5422         (mmap, mmap64, mremap, munmap): Likewise.
5423         * math/e_exp2l.c: Likewise.
5424         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5425         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5426         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5427         * math/s_catan.c (__catan): Likewise.
5428         * math/s_catanf.c (__catanf): Likewise.
5429         * math/s_catanh.c (__catanh): Likewise.
5430         * math/s_catanhf.c (__catanhf): Likewise.
5431         * math/s_catanhl.c (__catanhl): Likewise.
5432         * math/s_catanl.c (__catanl): Likewise.
5433         * math/s_ccosh.c (__ccosh): Likewise.
5434         * math/s_ccoshf.c (__ccoshf): Likewise.
5435         * math/s_ccoshl.c (__ccoshl): Likewise.
5436         * math/s_cexp.c (__cexp): Likewise.
5437         * math/s_cexpf.c (__cexpf): Likewise.
5438         * math/s_cexpl.c (__cexpl): Likewise.
5439         * math/s_clog10.c (__clog10): Likewise.
5440         * math/s_clog10f.c (__clog10f): Likewise.
5441         * math/s_clog10l.c (__clog10l): Likewise.
5442         * math/s_clog.c (__clog): Likewise.
5443         * math/s_clogf.c (__clogf): Likewise.
5444         * math/s_clogl.c (__clogl): Likewise.
5445         * math/s_csin.c (__csin): Likewise.
5446         * math/s_csinf.c (__csinf): Likewise.
5447         * math/s_csinh.c (__csinh): Likewise.
5448         * math/s_csinhf.c (__csinhf): Likewise.
5449         * math/s_csinhl.c (__csinhl): Likewise.
5450         * math/s_csinl.c (__csinl): Likewise.
5451         * math/s_csqrt.c (__csqrt): Likewise.
5452         * math/s_csqrtf.c (__csqrtf): Likewise.
5453         * math/s_csqrtl.c (__csqrtl): Likewise.
5454         * math/s_ctan.c (__ctan): Likewise.
5455         * math/s_ctanf.c (__ctanf): Likewise.
5456         * math/s_ctanh.c (__ctanh): Likewise.
5457         * math/s_ctanhf.c (__ctanhf): Likewise.
5458         * math/s_ctanhl.c (__ctanhl): Likewise.
5459         * math/s_ctanl.c (__ctanl): Likewise.
5460         * math/w_pow.c: Likewise.
5461         * math/w_powf.c: Likewise.
5462         * math/w_powl.c: Likewise.
5463         * math/w_scalb.c (sysv_scalb): Likewise.
5464         * math/w_scalbf.c (sysv_scalbf): Likewise.
5465         * math/w_scalbl.c (sysv_scalbl): Likewise.
5466         * misc/error.c (error_tail): Likewise.
5467         * misc/pselect.c (__pselect): Likewise.
5468         * nis/nis_callback.c (__nis_create_callback): Likewise.
5469         * nis/nis_call.c (__nisfind_server): Likewise.
5470         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5471         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5472         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5473         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5474         * nis/nis_lookup.c (nis_lookup): Likewise.
5475         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5476         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5477         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5478         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5479         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5480         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5481         * nis/nss_compat/compat-initgroups.c (add_group)
5482         (internal_getgrent_r): Likewise.
5483         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5484         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5485         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5486         (internal_getspnam_r): Likewise.
5487         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5488         (_nss_nis_getaliasbyname_r): Likewise.
5489         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5490         (_nss_nis_getntohost_r): Likewise.
5491         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5492         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5493         (_nss_nis_getgrgid_r): Likewise.
5494         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5495         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5496         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5497         (_nss_nis_gethostbyname4_r): Likewise.
5498         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5499         (initgroups_netid): Likewise.
5500         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5501         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5502         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5503         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5504         (_nss_nis_getprotobynumber_r): Likewise.
5505         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5506         (_nss_nis_getsecretkey): Likewise.
5507         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5508         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5509         (_nss_nis_getpwuid_r): Likewise.
5510         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5511         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5512         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5513         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5514         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5515         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5516         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5517         Likewise.
5518         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5519         (_nss_nisplus_getntohost_r): Likewise.
5520         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5521         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5522         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5523         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5524         Likewise.
5525         * nis/nss_nisplus/nisplus-initgroups.c
5526         (_nss_nisplus_initgroups_dyn): Likewise.
5527         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5528         (_nss_nisplus_getnetbyaddr_r): Likewise.
5529         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5530         (_nss_nisplus_getprotobynumber_r): Likewise.
5531         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5532         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5533         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5534         Likewise.
5535         * nis/nss_nisplus/nisplus-service.c
5536         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5537         (_nss_nisplus_getservbyport_r): Likewise.
5538         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5539         (_nss_nisplus_getspnam_r): Likewise.
5540         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5541         Likewise.
5542         * nscd/aicache.c (addhstaiX): Likewise.
5543         * nscd/cache.c (cache_search, prune_cache): Likewise.
5544         * nscd/connections.c (register_traced_file, send_ro_fd)
5545         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5546         (main_loop_epoll): Likewise.
5547         * nscd/grpcache.c (addgrbyX): Likewise.
5548         * nscd/hstcache.c (addhstbyX): Likewise.
5549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5550         * nscd/mem.c (gc, mempool_alloc): Likewise.
5551         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5552         (addinnetgrX): Likewise.
5553         * nscd/nscd-client.h (__nscd_acquire_maplock)
5554         (__nscd_drop_map_ref): Likewise.
5555         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5556         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5557         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5558         Likewise.
5559         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5561         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5562         (__nscd_get_map_ref): Likewise.
5563         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5564         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5565         Likewise.
5566         * nscd/pwdcache.c (addpwbyX): Likewise.
5567         * nscd/selinux.c (preserve_capabilities): Likewise.
5568         * nscd/servicescache.c (addservbyX): Likewise.
5569         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5570         * posix/fnmatch.c (fnmatch): Likewise.
5571         * posix/getopt.c (_getopt_internal_r): Likewise.
5572         * posix/glob.c (glob, glob_in_dir): Likewise.
5573         * posix/wordexp.c (exec_comm_child): Likewise.
5574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5575         (getanswer_r, gaih_getanswer_slice): Likewise.
5576         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5577         * resolv/res_init.c: Likewise.
5578         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5579         * resolv/res_query.c (__libc_res_nquery): Likewise.
5580         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5581         Likewise.
5582         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5583         * stdio-common/perror.c (perror): Likewise.
5584         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5585         * stdio-common/tmpnam.c (tmpnam): Likewise.
5586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5587         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5588         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5589         Likewise.
5590         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5591         * stdlib/putenv.c (putenv): Likewise.
5592         * stdlib/setenv.c (__add_to_environ): Likewise.
5593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5594         * stdlib/strtol_l.c (INTERNAL): Likewise.
5595         * string/memmem.c (memmem): Likewise.
5596         * string/strerror.c (strerror): Likewise.
5597         * string/strnlen.c (__strnlen): Likewise.
5598         * string/test-memmem.c (simple_memmem): Likewise.
5599         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5600         * sunrpc/pm_getport.c (__get_socket): Likewise.
5601         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5602         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5603         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5604         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5605         Likewise.
5606         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5608         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5609         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5610         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5611         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5612         Likewise.
5613         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5614         Likewise.
5615         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5616         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5617         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5619         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5622         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5623         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5624         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5625         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5626         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5627         Likewise.
5628         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5629         Likewise.
5630         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5631         Likewise.
5632         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5634         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5635         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5636         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5637         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5638         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5641         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5648         Likewise.
5649         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5650         Likewise.
5651         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5652         Likewise.
5653         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5654         Likewise.
5655         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5657         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5658         Likewise.
5659         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5660         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5661         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5662         * sysdeps/posix/sleep.c: Likewise.
5663         * sysdeps/posix/tempname.c: Likewise.
5664         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5665         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5666         Likewise.
5667         * sysdeps/powerpc/powerpc32/dl-machine.h
5668         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5669         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5671         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5672         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5673         Likewise.
5674         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5676         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5678         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5679         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5680         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5681         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5683         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5685         (elf_machine_lazy_rel): Likewise.
5686         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5688         (elf_machine_lazy_rel): Likewise.
5689         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5690         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5691         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5692         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5693         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5694         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5695         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5699         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5700         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5701         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5702         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5703         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5704         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5705         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5706         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5707         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5708         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5709         Likewise.
5710         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5711         (__posix_fallocate64_l64): Likewise.
5712         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5713         (posix_fallocate): Likewise.
5714         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5715         Likewise.
5716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5717         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5718         (getifaddrs_internal): Likewise.
5719         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5720         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5721         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5722         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5723         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5724         (__posix_fallocate64_l64): Likewise.
5725         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5726         Likewise.
5727         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5729         (__get_clockfreq): Likewise.
5730         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5731         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5732         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5735         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5736         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5737         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5738         Likewise.
5739         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5740         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5741         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5743         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5744         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5745         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5746         Likewise.
5747         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5748         (posix_fallocate): Likewise.
5749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5750         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5751         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5752         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5753         (elf_machine_rela, elf_machine_rela_relative)
5754         (elf_machine_lazy_rel): Likewise.
5755         * time/asctime.c (asctime_internal): Likewise.
5756         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5757         * time/tzset.c (__tzset_parse_tz): Likewise.
5758         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5759         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5760         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5761         * wcsmbs/wcsmbsload.h: Likewise.
5763         [BZ #15894]
5764         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5766         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5767         (arena_get2): Remove THREAD_STATS conditionals.
5768         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5769         (__malloc_stats, int): Likewise.
5771 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5773         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5774         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5776         * manual/setjmp.texi: Fix typos/grammar errors.
5778         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5779         Only return early when n is <= 0.  Delete unused return statement.
5781         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5782         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5783         * debug/tst-longjmp_chk3.c: New file.
5785         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5786         (test_main): Replace code with set_fortify_handler call.
5787         * debug/test-strcpy_chk.c: Likewise.
5788         * debug/tst-chk1.c: Likewise.
5789         * debug/tst-longjmp_chk.c: Likewise.
5790         * test-skeleton.c: Include fcntl.h & paths.h
5791         (set_fortify_handler): Define.
5793         * debug/tst-longjmp_chk.c: Add header comment and include
5794         ../test-skeleton.c.
5795         (do_test): Mark static.
5796         (TEST_FUNCTION): Define.
5798         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5799         (IP_PMTUDISC_INTERFACE): Likewise.
5800         (IP_MULTICAST_IF): Likewise.
5801         (IP_MULTICAST_TTL): Likewise.
5802         (IP_MULTICAST_LOOP): Likewise.
5803         (IP_ADD_MEMBERSHIP): Likewise.
5804         (IP_DROP_MEMBERSHIP): Likewise.
5805         (IP_UNBLOCK_SOURCE): Likewise.
5806         (IP_BLOCK_SOURCE): Likewise.
5807         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5808         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5809         (IP_MSFILTER): Likewise.
5810         (MCAST_JOIN_GROUP): Likewise.
5811         (MCAST_BLOCK_SOURCE): Likewise.
5812         (MCAST_UNBLOCK_SOURCE): Likewise.
5813         (MCAST_LEAVE_GROUP): Likewise.
5814         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5815         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5816         (MCAST_MSFILTER): Likewise.
5817         (IP_MULTICAST_ALL): Likewise.
5818         (IP_UNICAST_IF): Likewise.
5820         * timezone/Makefile: Delete $(have-ksh) check.
5821         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5822         * timezone/tzselect.ksh: Add +x mode bits.
5824         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5825         (ANON_INODE_FS_MAGIC): Likewise.
5826         (BDEVFS_MAGIC): Likewise.
5827         (BINFMTFS_MAGIC): Likewise.
5828         (BTRFS_TEST_MAGIC): Likewise.
5829         (CRAMFS_MAGIC_WEND): Likewise.
5830         (DEBUGFS_MAGIC): Likewise.
5831         (ECRYPTFS_SUPER_MAGIC): Likewise.
5832         (EXT3_SUPER_MAGIC): Likewise.
5833         (EXT4_SUPER_MAGIC): Likewise.
5834         (FUTEXFS_SUPER_MAGIC): Likewise.
5835         (HOSTFS_SUPER_MAGIC): Likewise.
5836         (HUGETLBFS_MAGIC): Likewise.
5837         (MINIX3_SUPER_MAGIC): Likewise.
5838         (MTD_INODE_FS_MAGIC): Likewise.
5839         (NILFS_SUPER_MAGIC): Likewise.
5840         (OPENPROM_SUPER_MAGIC): Likewise.
5841         (PIPEFS_MAGIC): Likewise.
5842         (PSTOREFS_MAGIC): Likewise.
5843         (QNX6_SUPER_MAGIC): Likewise.
5844         (RAMFS_MAGIC): Likewise.
5845         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5846         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5847         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5848         (SECURITYFS_MAGIC): Likewise.
5849         (SELINUX_MAGIC): Likewise.
5850         (SMACK_MAGIC): Likewise.
5851         (SOCKFS_MAGIC): Likewise.
5852         (SQUASHFS_MAGIC): Likewise.
5853         (STACK_END_MAGIC): Likewise.
5854         (TMPFS_MAGIC): Likewise.
5855         (USBDEVICE_SUPER_MAGIC): Likewise.
5856         (V9FS_MAGIC): Likewise.
5857         (XENFS_SUPER_MAGIC): Likewise.
5858         (CRAMFS_MAGIC): Fix typo in comment.
5859         (EXT2_SUPER_MAGIC): Update comment.
5860         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5862 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5864         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5865         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5866         * sysdeps/unix/sysv/linux/arm: Move directory from
5867         ports/sysdeps/unix/sysv/linux/arm.
5868         * README: Update listing for arm-*-linux-gnueabi.
5870         * README: Remove mention of am33.
5872 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5874         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5875         than the comma operator, to avoid "rhs of comma has no effect"
5876         compiler warnings.
5877         (__sigfillset, __sigandset, __sigorset): Likewise.
5878         * include/signal.h (__sigemptyset): Likewise.
5879         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5881 2014-02-07  Allan McRae  <allan@archlinux.org>
5883         * version.h (RELEASE): Set to "development".
5884         (VERSION): Set to "2.19.90"
5885         * NEWS: Add 2.20 section.
5887 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
5889         [BZ #16529]
5890         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5892 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5894         * manual/contrib.texi: Update entry for Carlos O'Donell,
5895         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5897 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
5899         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5901         * sysdeps/unix/sysv/linux/kernel-features.h
5902         [__LINUX_KERNEL_VERSION >= 0x020621]
5903         (__ASSUME_PROC_PID_TASK_COMM): Define.
5905 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5907         [BZ #16398]
5908         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5909         conversion when destination buffer does not have enough space.
5910         * libio/tst-ftell-partial-wide.c: New test case.
5911         * libio/Makefile (tests): Add tst-ftell-partial-wide.
5913         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5914         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
5915         Leonard and Allan McRae.
5917 2014-02-04  David S. Miller  <davem@davemloft.net>
5919         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5920         32-bit.
5922 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5925         New file
5926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5927         New file
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5929         New file.
5930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5931         New file.
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5933         New file.
5934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5935         New file.
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5937         New file.
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5939         New file.
5940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5941         New file.
5942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5943         New file.
5944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5945         New file.
5946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5947         New file.
5948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5949         New file.
5951 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5953         * nptl/shlib-versions: Change powerpc*le start to 2.17.
5954         * shlib-versions: Likewise.
5956 2014-02-04  Roland McGrath  <roland@hack.frob.com>
5957             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5959         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5960         (abilist-pattern): New variable, set to %-le.abilist.
5962         * Makerules (abilist-pattern): New variable.
5963         (vpath): Use $(abilist-pattern) in place of %.abilist.
5964         (check-abi-% pattern rule): Likewise.
5965         (check-abi, update-abi): Likewise.
5967 2014-02-04  Eric Wong  <normalperson@yhbt.net>
5969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5971 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
5973         * manual/startup.texi: Add next, previous, and top entries for
5974         the `Program Arguments' and `Environment Variables' nodes.
5976 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
5978         * manual/macros.texi: Add comments before MTASC-safety macros.
5980         * manual/users.texi: Document MTASC-safety properties.
5982         * manual/threads.texi (pthread_key_create, pthread_key_delete)
5983         (pthread_getspecific, pthread_setspecific): Format with
5984         @deftypefun, and add @safety note.
5985         * manual/signal.texi: Move comments that analyze the above
5986         functions to their home place.
5988 2014-02-03  Allan McRae  <allan@archlinux.org>
5990         * po/sl.po: Update Slovenian translation from translation project.
5992 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
5994         * manual/time.texi (timegm): Add missing blank after @c.
5995         Reported by Joseph Myers <joseph@codesourcery.com>.
5997 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
5999         * manual/check-safety.sh: New.
6000         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6002         * manual/terminal.texi: Document MTASC-safety properties.
6004         * manual/filesys.texi: Document MTASC-safety properties.
6006         * manual/errno.texi: Document MTASC-safety properties.
6008         * manual/intro.texi: Document safety identifiers and
6009         conditionals.
6011         * manual/string.texi (wcstok): Fix prototype.
6012         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6014         * manual/time.texi: Document MTASC-safety properties.
6016         * manual/string.texi: Document MTASC-safety properties.
6018         * manual/threads.texi: Document MTASC-safety properties.
6020         * manual/stdio.texi: Document MTASC-safety properties.
6022         * manual/syslog.texi: Document MTASC-safety properties.
6024         * manual/sysinfo.texi: Document MTASC-safety properties.
6026         * manual/startup.texi: Document MTASC-safety properties.
6028         * manual/socket.texi: Document MTASC-safety properties.
6030         * manual/signal.texi: Document MTASC-safety properties.
6032 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6034         * manual/setjmp.texi: Document MTASC-safety properties.
6036         * manual/search.texi: Document MTASC-safety properties.
6038         * manual/resource.texi: Document MTASC-safety properties.
6040         * manual/process.texi: Document MTASC-safety properties.
6042         * manual/platform.texi: Document MTASC-safety properties.
6044         * manual/pipe.texi: Document MTASC-safety properties.
6046         * manual/pattern.texi: Document MTASC-safety properties.
6048         * manual/message.texi: Document MTASC-safety properties.
6050         [BZ #12751]
6051         * manual/memory.texi: Document MTASC-safety properties.
6053         * manual/math.texi: Document MTASC-safety properties.
6055         * manual/locale.texi: Document MTASC-safety properties.
6057         * manual/llio.texi: Document MTASC-safety properties.
6059         * manual/libdl.texi: New.
6061         * manual/lang.texi: Document MTASC-safety properties.
6063         * manual/job.texi: Document MTASC-safety properties.
6065         * manual/getopt.texi: Document MTASC-safety properties.
6067         * manual/ctype.texi: Document MTASC-safety properties.
6069 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6071         [BZ #16046]
6072         * csu/libc-tls.c (static_map): Remove variable.
6073         (__libc_setup_tls): Use main executable's link map for TLS data.
6074         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6075         casing for LM_ID_BASE and GL(dl_nns).
6076         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6077         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6078         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6079         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6080         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6081         member.
6082         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6083         l_phnum members.
6085 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6087         * manual/debug.texi: Document MTASC-safety properties.
6089 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6091         [BZ #16510]
6092         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6093         of __x86_64__ when disabling x87 inline functions.
6095 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6097         * manual/charset.texi: Document MTASC-safety properties.
6099         * manual/crypt.texi: Document MTASC-safety properties.
6101         * manual/conf.texi: Document MTASC-safety properties.
6103         * manual/arith.texi: Document MTASC-safety properties.
6105         * manual/argp.texi: Document MTASC-safety properties.
6107         * manual/macros.texi: Introduce macros to document multi
6108         thread, asynchronous signal and asynchronous cancellation
6109         safety properties.
6110         * manual/intro.texi: Introduce the properties themselves.
6112 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6114         * sysdeps/sh/sh4/Makefile: New file.
6116 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6118         * math/gen-libm-test.pl ($srcdir): New variable.
6119         ($auto_input): Use it.
6121 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6123         [BZ #16506]
6124         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6125         access beyond array bounds when parsing netgroups file.
6127         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6128         the old buffer before realloc.
6130 2014-01-27  Allan McRae  <allan@archlinux.org>
6132         * po/fr.po: Update French translation from translation project.
6134 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6136         * sysdeps/sh/libm-test-ulps: Regenerate.
6138 2014-01-24  David S. Miller  <davem@davemloft.net>
6140         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6142 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6144         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6145         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6147 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6149         [BZ #16474]
6150         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6151         string pointers after reallocation.
6153 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6155         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6156         __SH4A__ instead of __SH_FPU_ANY__.
6158 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6160         * sysdeps/sh/fpu_control.h: New file.
6161         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6162         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6163         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6164         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6165         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6166         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6167         * sysdeps/sh/sys/ucontext.h: Remove.
6168         * sysdeps/sh/sys: Remove directory.
6170 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6172         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6173         s390/sys/ucontext.h.
6174         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6175         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6177 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6179         [BZ #15605]
6180         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6182 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6184         [BZ#16431]
6185         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6186         Adjust the vDSO correctly for internal calls.
6187         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6189 2014-01-20  Allan McRae  <allan@archlinux.org>
6191         * po/ca.po: Update Catalan translation from translation project.
6193 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6195         * sysdeps/s390/sotruss-lib.c: New file.
6197 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6199         [BZ#16430]
6200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6201         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6202         local calls issues by not having a PLT stub required for IFUNC calls.
6203         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6205 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6207         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6208         * math/test-fpucw-static.c: Likewise.
6210 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6212         [BZ #16453]
6213         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6215 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6217         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6218         implementation for powerpc.
6220 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6222         [BZ #14782]
6223         * sysdeps/posix/system.c (__libc_system): Do not enable
6224         asynchronous cancellation.
6226 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6228         [BZ #16427]
6229         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6230         handling only for numbers special also in the IEEE case.
6232 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6236 2014-01-11  Allan McRae  <allan@archlinux.org>
6238         * po/bg.po: Update Bulgarian translation from translation project.
6240         * po/de.po: Update German translation from translation project.
6242 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6244         * sysdeps/generic/gcc-compat.h: New file.
6246 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6248         * benchtests/asin-inputs: Correct slow inputs.
6249         * benchtests/acos-inputs: Likewise.
6251 2014-01-10  Allan McRae  <allan@archlinux.org>
6253         * po:sv.po: Update Swedish translation from translation project.
6255         * po/vi.po: Update Vietnamese translation from translation project.
6257         * po/eo.po: Update Esperanto translation from translation project.
6259         * po/cs.po: Update Czech translation from translation project.
6261         * po/nl.po: Update Dutch translation from translation project.
6263         * po/pl.po: Update Polish translation from translation project.
6265         * po/ru.po: Update Russian translation from translation project.
6267         * po/uk.po: Update Ukrainian translation from translation project.
6269 2014-01-08  Brooks Moses  <bmoses@google.com>
6271         * elf/dl-load.c: Fix comment typo.
6273 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6275         * po/header.pot: Rename to...
6276         * po/pot.header: ... this.
6277         * po/Makefile: Use pot.header.
6279 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6280             Maxim Kuvyrkov  <maxim@kugelworks.com>
6282         [BZ #16394]
6283         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6284         SRC and DEST against LEN.
6286 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6288         [BZ #16414]
6289         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6290         implementation.
6291         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6293 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6297 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6299         [BZ #16408]
6300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6301         for large positive arguments.
6303 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6305         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6307         * math/auto-libm-test-in: Mark various tests with
6308         xfail-rounding:ldbl-128ibm.
6309         * math/auto-libm-test-out: Regenerated.
6311         [BZ #16407]
6312         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6313         Increase overflow threshold.
6315 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6317         [BZ #14286]
6318         * stdio-common/vfprintf.c: Check for integer overflow.
6320 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6322         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6323         the first argument and return value of __tls_get_addr_internal.
6325 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6327         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6328         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6330 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6332         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6333         * sysdeps/s390/rtld-global-offsets.sym: New file.
6334         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6335         GLIBC_2.19 symbol.
6336         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6337         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6338         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6339         ... this.
6340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6341         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6342         ... this.
6343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6344         Regenerate.
6345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6346         Regenerate.
6347         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6348         halfs of GPRs for high_gprs contexts.
6349         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6350         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6351         field.
6352         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6353         uc_flags field.
6354         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6355         64 bit versions:
6356         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6357         for high GPRs (uc_high_gprs) and for future extensions
6358         (__reserved).
6359         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6360         for future extensions (__reserved).
6361         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6362         64 bit versions:
6363         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6364         SC_HIGHGPRS offset definition.
6365         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6366         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6368         * Versions.def: Add GLIBC_2.19 for libpthread.
6369         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6370         siglongjmp for libpthread with GLIBC_2.19 symver.
6371         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6372         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6373         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6374         * sysdeps/s390/__longjmp.c: New file.
6375         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6376         * sysdeps/s390/longjmp.c: New file.
6377         * sysdeps/s390/setjmp.S: New file.
6378         * sysdeps/s390/sigjmp.S: New file.
6379         * sysdeps/s390/v1-longjmp.c: New file.
6380         * sysdeps/s390/v1-setjmp.h: New file.
6381         * sysdeps/s390/v1-sigjmp.c: New file.
6382         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6383         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6384         GLIBC_2.19 version.
6385         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6386         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6387         versioned symbols for ____longjmp_chk.
6388         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6389         Likewise.
6390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6391         Regenerate.
6392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6393         Regenerate.
6394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6395         Regenerate.
6396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6397         Regenerate.
6398         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6399         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6400         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6401         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6402         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6403         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6404         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6405         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6406         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6407         * sysdeps/s390/rtld-__longjmp.c: New file.
6408         * sysdeps/s390/rtld-setjmp.S: New file.
6410 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6412         [BZ #16400]
6413         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6414         Return -__logl (x) for small positive arguments without evaluating
6415         a polynomial.
6417 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6419         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6420         Rename to ...
6421         (__ptrace_peeksiginfo_args): ... this.
6422         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6423         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6426 2014-01-06  Allan McRae  <allan@archlinux.org>
6428         * inet/netinet/in.h: Fix typo in comment.
6430 2014-01-05  Andreas Jaeger  <aj@suse.de>
6432         * sysdeps/i386/fpu/libm-test-ulps: Update.
6434 2014-01-05  Allan McRae  <allan@archlinux.org>
6436         * po/libc.pot: Regenerated.
6438         * malloc/memusagestat.c: Fix gettext call formatting.
6440 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6442         * nscd/nscd.c: Improve usage() output.
6444 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6446         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6447         * sysdeps/unix/sysv/linux/configure: Regenerated.
6448         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6449         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6451 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #16390]
6454         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6455         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6457 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6460         extra tokens at end of #undef directive.
6461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6462         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6463         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6465 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6467         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6469         * math/auto-libm-test-in: Mark various tests with
6470         xfail-rounding:ldbl-128ibm.
6471         * math/auto-libm-test-out: Regenerated.
6473 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #16386]
6476         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6477         numbers with subnormal high part when calculating exponent.
6479         [BZ #16385]
6480         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6481         fabs.
6483         [BZ #16384]
6484         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6485         M_LN2l.
6486         (__ieee754_acoshl): Use __log1pl not __log1p.
6488 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6490         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6491         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6492         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6493         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6494         (reused_arena, arena_get2): Convert to GNU style.
6495         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6496         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6497         (memalign_check, __malloc_set_state): Likewise.
6498         * malloc/mallocbug.c (main): Likewise.
6499         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6500         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6501         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6502         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6503         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6504         (__posix_memalign, malloc_info): Likewise.
6505         * malloc/malloc.h: Likewise.
6506         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6507         (mallochook, memalignhook, reallochook, mabort): Likewise.
6508         * malloc/mcheck.h: Likewise.
6509         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6510         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6511         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6512         * malloc/morecore.c (__default_morecore): Likewise.
6513         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6514         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6515         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6516         (print_and_abort): Likewise.
6517         * malloc/obstack.h: Likewise.
6518         * malloc/set-freeres.c (__libc_freeres): Likewise.
6519         * malloc/tst-mallocstate.c (main): Likewise.
6520         * malloc/tst-mtrace.c (main): Likewise.
6521         * malloc/tst-realloc.c (do_test): Likewise.
6523 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6525         [BZ #16366]
6526         * nscd/netgroupcache.c (do_notfound): New function.
6527         (addgetnetgrentX): Use it.
6529         [BZ # 16365]
6530         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6531         NSS_STATUS_NOTFOUND.
6533 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6535         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538 2014-01-01  Allan McRae  <allan@archlinux.org>
6540         * scripts/update-copyrights: Update configure input file suffix.
6542         * NEWS: Update copyright year.
6543         * catgets/gencat.c: Likewise.
6544         * csu/version.c: Likewise.
6545         * debug/catchsegv.sh: Likewise.
6546         * debug/pcprofiledump.c: Likewise.
6547         * debug/xtrace.sh: Likewise.
6548         * elf/ldconfig.c: Likewise.
6549         * elf/ldd.bash.in: Likewise.
6550         * elf/pldd.c: Likewise.
6551         * elf/sotruss.ksh: Likewise.
6552         * elf/sprof.c: Likewise.
6553         * iconv/iconv_prog.c: Likewise.
6554         * iconv/iconvconfig.c: Likewise.
6555         * locale/programs/locale.c: Likewise.
6556         * locale/programs/localedef.c: Likewise.
6557         * login/programs/pt_chown.c: Likewise.
6558         * malloc/memusage.sh: Likewise.
6559         * malloc/memusagestat.c: Likewise.
6560         * malloc/mtrace.pl: Likewise.
6561         * manual/libc.texinfo: Likewise.
6562         * nscd/nscd.c: Likewise.
6563         * nss/getent.c: Likewise.
6564         * nss/makedb.c: Likewise.
6565         * posix/getconf.c: Likewise.
6566         * scripts/test-installation.pl: Likewise.
6568         * All files with FSF copyright notices: Update copyright dates
6569         using scripts/update-copyrights.
6570         * intl/plural.c: Regenerated.
6571         * locale/programs/charmap-kw.h: Likewise.
6572         * locale/programs/locfile-kw.h: Likewise.
6574 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6576         * sysdeps/unix/sysv/linux/configure: Regenerated.
6577         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6578         the linux/fanotify.h header.
6579         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6580         HAVE_LINUX_FANOTIFY_H is defined.
6582 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6584         * benchtests/cos-inputs: New inputs.
6585         * benchtests/sin-inputs: Likewise.
6587         * benchtests/atan-inputs: New inputs. Fix name of multiple
6588         precision fallback inputs.
6590         * benchtests/atanh-inputs: New inputs.
6591         * benchtests/tanh-inputs: Likewise.
6593         * benchtests/acosh-inputs: New inputs.
6594         * benchtests/asinh-inputs: Likewise.
6596         * benchtests/cosh-inputs: New inputs.
6597         * benchtests/sinh-inputs: Likewise.
6599         * benchtests/acos-inputs: Add more inputs.
6600         * benchtests/asin-inputs: Likewise.
6602 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6604         [BZ #16375]
6605         * manual/arith.texi: Fix spelling.
6606         * manual/charset.texi: Likewise.
6607         * manual/errno.texi: Likewise.
6608         * manual/filesys.texi: Likewise.
6609         * manual/lang.texi: Likewise.
6610         * manual/llio.texi: Likewise.
6611         * manual/locale.texi: Likewise.
6612         * manual/message.texi: Likewise.
6613         * manual/resource.texi: Likewise.
6614         * manual/search.texi: Likewise.
6615         * manual/setjmp.texi: Likewise.
6616         * manual/stdio.texi: Likewise.
6617         * manual/string.texi: Likewise.
6618         * manual/sysinfo.texi: Likewise.
6619         * manual/time.texi: Likewise.
6621 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6623         * po/sl.po: New file.
6625 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6627         * .gitignore: Add core/.gdbinit/.gdb_history.
6629 2013-12-27  Allan McRae  <allan@archlinux.org>
6631         [BZ #16369]
6632         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6633         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6635 2013-12-24  Brooks Moses  <bmoses@google.com>
6637         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6638         all compilers that claim C++98 compliance, not just GCC.
6639         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6640         Likewise.
6642 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6644         * NEWS: Restore accidentally deleted bug-fix entries.
6646 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6647             Ondřej Bílka  <neleai@seznam.cz>
6649         [BZ #15073]
6650         * malloc/malloc.c (_int_free): Perform sanity check only if we
6651         have_lock.
6653 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6655         [BZ #12986]
6656         * manual/stdio.texi (String Input Conversions): Clarify that character
6657         classes are not supported.
6659 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6663 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6665         [BZ #16337]
6666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6667         Calculate results for small negative arguments directly rather
6668         than using reflection formula with special underflow handling.
6670         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6671         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6672         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6673         (fchflags): Likewise.
6674         (revoke): Likewise.
6675         (setlogin): Likewise.
6676         (sigaltstack): Likewise.
6677         (wait4): Likewise.
6678         (sigblock): Remove.
6679         (sigsetmask): Likewise.
6680         (wait3): Likewise.
6681         (waitpid): Likewise.
6682         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6683         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6684         file.
6685         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6686         * sysdeps/unix/bsd/Makefile: ... here.
6687         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6688         * sysdeps/unix/bsd/Versions: ... here.
6689         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6690         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6691         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6692         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6693         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6694         * sysdeps/unix/bsd/sigblock.c: ... here.
6695         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6696         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6697         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6698         * sysdeps/unix/bsd/sigvec.c: ... here.
6699         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6700         * sysdeps/unix/bsd/tcdrain.c: ... here.
6701         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6702         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6703         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6704         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6705         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6706         * sysdeps/unix/bsd/wait.c: ... here.
6707         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6708         * sysdeps/unix/bsd/wait3.c: ... here.
6709         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6710         * sysdeps/unix/bsd/waitpid.c: ... here.
6712 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #16356]
6715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6716         round-to-nearest for [!USE_AS_EXPM1L].
6717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6718         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6719         more tests of exp and exp10.  Expect some exp10 tests to miss
6720         exceptions or fail in directed rounding modes.
6721         * math/auto-libm-test-out: Regenerated.
6722         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6723         (exp10_test_tonearest): New function.
6724         (exp10_towardzero_test_data): New array.
6725         (exp10_test_towardzero): New function.
6726         (exp10_downward_test_data): New array.
6727         (exp10_test_downward): New function.
6728         (exp10_upward_test_data): New array.
6729         (exp10_test_upward): New function.
6730         (main): Call the new functions.
6731         * sysdeps/i386/fpu/libm-test-ulps: Update.
6732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6736         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6737         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6738         * math/auto-libm-test-out: Regenerated.
6739         * math/libm-test.inc (acosh_test_data): Add more tests.
6740         (atanh_test_data): Likewise.
6741         (ceil_test_data): Likewise.
6742         (copysign_test_data): Likewise.
6743         * sysdeps/i386/fpu/libm-test-ulps: Update.
6744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6746         * timezone/checktab.awk: Update from tzcode 2013i.
6747         * timezone/private.h: Likewise.
6748         * timezone/scheck.c: Likewise.
6749         * timezone/tzfile.h: Likewise.
6750         * timezone/tzselect.ksh: Likewise.
6751         * timezone/zdump.c: Likewise.
6752         * timezone/zic.c: Likewise.
6754         * math/auto-libm-test-in: Add tests of cpow.
6755         * math/auto-libm-test-out: Regenerated.
6756         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6757         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6758         mpc_cc_c.
6759         (func_calc_desc): Add mpc_cc_c union field.
6760         (test_functions): Add cpow.
6761         (special_fill_2pi): New function.
6762         (special_real_inputs): Add 2pi.
6763         (calc_generic_results): Handle mpc_cc_c.
6764         * sysdeps/i386/fpu/libm-test-ulps: Update.
6765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6768         csqrt, ctan and ctanh.
6769         * math/auto-libm-test-out: Regenerated.
6770         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6771         (TEST_COND_x86): Likewise.
6772         (ccos_test_data): Use AUTO_TESTS_c_c.
6773         (ccosh_test_data): Likewise.
6774         (cexp_test_data): Likewise.
6775         (clog_test_data): Likewise.
6776         (csqrt_test_data): Likewise.
6777         (ctan_test_data): Likewise.
6778         (ctan_tonearest_test_data): Likewise.
6779         (ctan_towardzero_test_data): Likewise.
6780         (ctan_downward_test_data): Likewise.
6781         (ctan_upward_test_data): Likewise.
6782         (ctanh_test_data): Likewise.
6783         (ctanh_tonearest_test_data): Likewise.
6784         (ctanh_towardzero_test_data): Likewise.
6785         (ctanh_downward_test_data): Likewise.
6786         (ctanh_upward_test_data): Likewise.
6787         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6788         mpc_c_c.
6789         (func_calc_desc): Add mpc_c_c union field.
6790         (FUNC_mpc_c_c): New macro.
6791         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6792         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6793         ctanh.
6794         (special_fill_min_subnorm_p120): New function.
6795         (special_real_inputs): Add min_subnorm_p120.
6796         (calc_generic_results): Handle mpc_c_c.
6797         * sysdeps/i386/fpu/libm-test-ulps: Update.
6798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6800 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6802         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6803         (do_sin_slow): New functions.
6804         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6805         (cslow2, csloww1, csloww2): Use the new functions.
6807         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6808         Use M to change sign of result instead of X.  Assume X is
6809         positive.
6810         (csloww1): Likewise.
6811         (__sin): Adjust.
6812         (__cos): Adjust.
6814         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6815         arguments A and DA.
6816         (__sin): Adjust.
6817         (__cos): Likewise.
6819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6820         (__cos): Likewise.
6821         (sloww1): Don't adjust sign of DX.
6822         (csloww1): Likewise.
6823         (sloww2): Use X directly and don't adjust sign of DX.
6824         (csloww2): Likewise.
6826 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6828         * math/auto-libm-test-in: Add tests of cabs and carg.
6829         * math/auto-libm-test-out: Regenerated.
6830         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6831         (carg_test_data): Likewise.
6832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6833         mpc_c_f.
6834         (func_calc_desc): Add mpc_c_f union field.
6835         (test_functions): Add cabs and carg.
6836         (calc_generic_results): Handle mpc_c_f.
6838         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6839         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6840         as a macro and a compat symbol.
6841         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6842         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6843         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6844         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6845         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6847         not use .hidden.
6848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6849         Likewise.
6850         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6851         Likewise.
6852         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6853         Likewise.
6854         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6855         Likewise.
6856         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6857         Likewise.
6858         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6859         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6860         from GLIBC_2.3.2.
6862 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6866 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6868         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6869         trailing whitespace removed.
6870         * scripts/config.guess: Update to version 2013-11-29.
6871         * scripts/config.sub: Update to version 2013-10-01.
6873         * math/auto-libm-test-in: Add tests of sincos.
6874         * math/auto-libm-test-out: Regenerated.
6875         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6877         mpfr_f_11.
6878         (func_calc_desc): Add mpfr_f_11 union field.
6879         (test_functions): Add sincos.
6880         (calc_generic_results): Handle mpfr_f_11.
6881         * sysdeps/i386/fpu/libm-test-ulps: Update.
6882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6884 2013-12-19  Andreas Schwab  <schwab@suse.de>
6886         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6887         CALL_MCOUNT.
6888         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6889         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6890         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6892 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6894         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6895         * sysdeps/i386/fpu/libm-test-ulps: Update.
6896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6898         [BZ #16293]
6899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6900         round-to-nearest mode when using frndint.
6901         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6902         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6904         Likewise.
6905         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
6906         sinh test to fail.
6907         * math/auto-libm-test-out: Regenerated.
6908         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6909         (TEST_COND_x86): Likewise.
6910         (expm1_tonearest_test_data): New array.
6911         (expm1_test_tonearest): New function.
6912         (expm1_towardzero_test_data): New array.
6913         (expm1_test_towardzero): New function.
6914         (expm1_downward_test_data): New array.
6915         (expm1_test_downward): New function.
6916         (expm1_upward_test_data): New array.
6917         (expm1_test_upward): New function.
6918         (main): Run the new test functions.
6919         * sysdeps/i386/fpu/libm-test-ulps: Update.
6920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922         * include/features.h: Update comment documenting feature test
6923         macros.  Mention _DEFAULT_SOURCE in comment.
6924         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6925         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6926         _BSD_SOURCE and _SVID_SOURCE.
6927         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6928         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6929         !_SVID_SOURCE]: Likewise.
6930         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6931         (__USE_POSIX_IMPLICITLY): Define.
6932         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6933         (_POSIX_SOURCE): Undefine and redefine.
6934         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6935         (_POSIX_C_SOURCE): Likewise.
6936         * manual/creature.texi (_DEFAULT_SOURCE): Document.
6937         (Feature Test Macros): Update documentation of default features.
6939 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6941         * benchtests/Makefile: Add bench-strtok.
6942         * benchtests/bench-strtok.c: New file: strtok benchtest.
6944 2013-12-19  Allan McRae  <allan@archlinux.org>
6946         * manual/install.texi: Suppress menu for plain text output.
6947         * INSTALL: Regenerated.
6949 2013-12-18  Brooks Moses  <bmoses@google.com>
6951         [BZ #15846]
6952         * misc/getauxval.c: Include errno.h.
6953         (__getauxval): Set errno to ENOENT if the requested type is not
6954         found.
6955         * misc/sys/auxv.h (getauxval): Document that it may set errno;
6956         don't declare with __attribute_const__.
6957         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6958         * manual/startup.texi: Document that getauxval sets errno.
6960 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6962         * math/auto-libm-test-in: Add tests of jn and yn.
6963         * math/auto-libm-test-out: Regenerated.
6964         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6965         (yn_test_data): Likewise.
6966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6967         mpfr_if_f.
6968         (func_calc_desc): Add mpfr_if_f union field.
6969         (FUNC_mpfr_if_f): New macro.
6970         (test_functions): Add jn and yn.
6971         (calc_generic_results): Assert type of second input for
6972         mpfr_ff_f.  Handle mpfr_if_f.
6973         (output_for_one_input_case): Disable all checking for arguments
6974         fitting floating-point types in case of an integer argument.
6975         * sysdeps/i386/fpu/libm-test-ulps: Update.
6976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6979         Don't expect fegetround reference in libm.so.
6981 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6983         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6984         $(config-cflags-nofma).
6986 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6988         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6989         * math/auto-libm-test-out: Regenerated.
6991         [BZ #16338]
6992         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6993         to determine exponent and adjust argument to have exponent of -1.
6994         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6995         log2.
6996         * math/auto-libm-test-out: Regenerated.
6997         * sysdeps/i386/fpu/libm-test-ulps: Update.
6998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7002         * manual/probes.texi: Remove cases when per-thread arenas are
7003         disabled.
7005 2013-12-18  Andreas Schwab  <schwab@suse.de>
7007         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7008         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7009         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7010         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7011         * sysdeps/i386/i686/multiarch/Makefile: Update.
7012         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7014 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7016         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7017         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7019 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7021         [BZ #15968]
7022         Support TZ transition times < 00:00:00.
7023         This is needed for version-3 tz-format files; it supports time
7024         stamps past 2037 for America/Godthab (the only entry in the tz
7025         database for which this change is relevant).
7026         * manual/time.texi (TZ Variable): Document transition times
7027         from -167:59:59 through -00:00:01.
7028         * time/tzset.c (tz_rule): Time of day is now signed.
7029         (__tzset_parse_tz): Parse negative time of day.
7031         Document TZ transition times >= 25:00:00.
7032         * manual/time.texi (TZ Variable): Document transition times from
7033         25:00:00 through 167:59:59.  These are already supported, and this
7034         support will help with version-3 tz-format files.
7036         * manual/time.texi (TZ Variable): Modernize North America example
7037         to reflect current (i.e., 2007-and-later) daylight saving rules.
7039         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7041 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7043         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7044         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7047         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7048         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7049         * sysdeps/unix/bsd/clock.c: Likewise.
7050         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7051         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7052         * sysdeps/unix/bsd/init-posix.c: Likewise.
7053         * sysdeps/unix/bsd/poll.c: Likewise.
7054         * sysdeps/unix/bsd/ptsname.c: Likewise.
7055         * sysdeps/unix/bsd/seekdir.c: Likewise.
7056         * sysdeps/unix/bsd/setegid.c: Likewise.
7057         * sysdeps/unix/bsd/seteuid.c: Likewise.
7058         * sysdeps/unix/bsd/setgid.c: Likewise.
7059         * sysdeps/unix/bsd/setrgid.c: Likewise.
7060         * sysdeps/unix/bsd/setruid.c: Likewise.
7061         * sysdeps/unix/bsd/setsid.c: Likewise.
7062         * sysdeps/unix/bsd/setuid.c: Likewise.
7063         * sysdeps/unix/bsd/sigaction.c: Likewise.
7064         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7065         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7066         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7067         * sysdeps/unix/bsd/telldir.c: Likewise.
7068         * sysdeps/unix/bsd/times.c: Likewise.
7069         * sysdeps/unix/bsd/usleep.c: Likewise.
7071         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7072         ($(objpfx)libbsd-compat.a): Remove rule.
7074         * include/features.h (__FAVOR_BSD): Do not define.
7075         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7076         features conflicting with POSIX.
7077         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7078         (_BSD_SOURCE): Remove description of not being a subset of other
7079         feature test macros.
7080         * manual/job.texi (getpgrp): Do not document BSD version.
7081         (getpgid): Do not document by reference to BSD getpgrp.
7082         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7083         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7084         * signal/signal.h [__FAVOR_BSD]: Likewise.
7085         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7086         instead of making contents conditional on [__FAVOR_BSD].
7087         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7089 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7093 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #16314]
7096         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7097         values below 2**-450, not 2**-500.
7098         * math/auto-libm-test-in: Don't allow spurious underflow from
7099         hypot.
7100         * math/auto-libm-test-out: Regenerated.
7102         [BZ #16316]
7103         [BZ #16330]
7104         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7105         values of ha and hb and sort them after adjusting subnormal
7106         arguments.
7107         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7108         Likewise.
7109         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7110         values of ea and eb and sort them after adjusting subnormal
7111         arguments.
7112         * math/auto-libm-test-in: Do not expect some hypot tests of
7113         subnormals to fail.  Add more hypot tests.
7114         * math/auto-libm-test-out: Regenerated.
7116 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7118         [BZ #13304]
7119         * sysdeps/sh/s_fma.c: New file.
7120         * sysdeps/sh/s_fmaf.c: New file.
7121         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7122         version.
7123         * sysdeps/sh/Implies: Add sh/soft-fp.
7125 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7127         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7128         level of indirection to members `objname', `errstring', `malloced'.
7129         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7130         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7131         it as the __longjmp argument (just pass 1 instead).
7132         (_dl_catch_error): Initialize C with argument pointers and address of
7133         volatile local ERRCODE rather than copying values out of C at return.
7135 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7137         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7138         * math/auto-libm-test-out: Regenerated.
7139         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7140         (hypot_test_data): Likewise.
7141         (pow_test_data): Likewise.
7142         (pow_tonearest_test_data): Likewise.
7143         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7144         mpfr_ff_f.
7145         (func_calc_desc): Add mpfr_ff_f union field.
7146         (FUNC_mpfr_ff_f): New macro.
7147         (test_functions): Add atan2, hypot and pow.
7148         (special_fill_min): New function.
7149         (special_fill_minus_min): Likewise.
7150         (special_fill_min_subnorm): Likewise.
7151         (special_fill_minus_min_subnorm): Likewise.
7152         (special_real_inputs): Add min, -min, min_subnorm and
7153         -min_subnorm.
7154         (calc_generic_results): Handle mpfr_ff_f.
7155         * sysdeps/i386/fpu/libm-test-ulps: Update.
7156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158 2013-12-16  Will Newton  <will.newton@linaro.org>
7160         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7161         (Aligned Memory Blocks): Add documentation for aligned_alloc
7162         and suggest it as an alternative to posix_memalign.
7163         (Hooks for Malloc): Document __memalign_hook is also called
7164         for aligned_alloc.  (Summary of Malloc): Add summary for
7165         aligned alloc.  Document __memalign_hook is also called
7166         for aligned_alloc.
7168 2013-12-16  Will Newton  <will.newton@linaro.org>
7170         * manual/memory.texi (Malloc Examples): Clarify default
7171         alignment documentation.  Suggest posix_memalign rather
7172         than memalign or valloc.
7173         (Aligned Memory Blocks): Remove suggestion to use memalign
7174         or valloc.  Remove obsolete comment about BSD.
7175         Document memalign errno values and mark the function obsolete.
7176         Document posix_memalign returned error codes.  Mark valloc
7177         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7178         called for posix_memalign and valloc.
7179         (Summary of Malloc): Add posix_memalign to function summary.
7180         __memalign_hook is also called for posix_memalign and valloc.
7182 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7184         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7185         TAYLOR_SIN.
7186         (__sin): Adjust.
7187         (__cos): Likewise.
7188         (sloww): Use mynumber union.  Expand ternary operator into
7189         if-else statements.
7190         (cslow): use mynumber union.
7192 2013-12-16  Allan McRae  <allan@archlinux.org>
7194         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7195         * configure: Regenerated.
7197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7199         [BZ #14120]
7200         * configure.ac: Added --enable-maintainer-mode. Check for
7201         autoconf when enabled.
7202         * configure: Regenerated.
7204         * nscd/nscd.service: New file.
7205         * nscd/nscd.tmpfiles: New file.
7207 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7209         [BZ #12100]
7210         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7211         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7212         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7213         (strstr): Add __strstr_sse2_unaligned ifunc.
7214         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7215         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7216         (strcasestr): Remove __strcasestr_sse42 ifunc.
7217         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7221 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7223         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7224         * sysdeps/sh/bits/fenv.h: ... here.
7225         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7227 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7229         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7232         hypotf multiarch implementations.
7233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7236         multiarch hypot for PPC64.
7237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7240         multiarch hypotf for PPC64.
7242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7243         modff multiarch implementations.
7244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7247         multiarch modf for PPC64.
7248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7251         multiarch modff for PPC64.
7253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7254         and logl multiarch implementations.
7255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7258         multiarch logb for PPC64.
7259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7262         multiarch logb for PPC64.
7263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7266         multiarch logb for PPC64.
7268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7269         isinff multiarch implementation.
7270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7271         file.
7272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7274         multiarch isinf for PPC64.
7275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7276         file.
7277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7278         multiarch isinff for PPC64.
7280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7281         finitef multiarch implementation.
7282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7283         file.
7284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7286         multiarch finite for PPC64.
7287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7288         file.
7289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7290         multiarch finitef for PPC64.
7292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7293         lrint multiarch implementation.
7294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7295         file.
7296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7298         multiarch llrint for PPC64.
7299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7300         multiarch lrint for PPC64.
7302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7303         copysignf multiarch implementation.
7304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7305         file.
7306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7307         file.
7308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7309         multiarch copysign for PPC64.
7310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7311         multiarch copysignf for PPC64.
7313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7314         multiarch implementation.
7315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7316         file.
7317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7318         file.
7319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7320         file.
7321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7322         file.
7323         multiarch llround for PPC64.
7324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7325         multiarch trunc for PPC64.
7326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7327         multiarch truncf for PPC64.
7329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7330         multiarch implementation.
7331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7332         file.
7333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7334         file.
7335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7336         file.
7337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7338         file.
7339         multiarch llround for PPC64.
7340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7341         multiarch round for PPC64.
7342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7343         multiarch roundf for PPC64.
7345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7346         multiarch implementation.
7347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7348         file.
7349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7350         file.
7351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7352         file.
7353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7354         file.
7355         multiarch llround for PPC64.
7356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7357         multiarch floor for PPC64.
7358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7359         multiarch floorf for PPC64.
7361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7362         multiarch implementation.
7363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7364         file.
7365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7366         file.
7367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7368         file.
7369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7370         file.
7371         multiarch llround for PPC64.
7372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7373         multiarch ceil for PPC64.
7374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7375         multiarch ceilf for PPC64.
7377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7378         multiarch implementation.
7379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7380         file.
7381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7382         file.
7383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7384         file.
7385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7386         multiarch llround for PPC64.
7387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7388         multiarch lround for PPC64.
7390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7391         multiarch implementation.
7392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7395         file.
7396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7399         multiarch isnan for PPC64.
7400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7401         multiarch isnanf for PPC64.
7403         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7404         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7405         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7406         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7407         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7410         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7411         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7416         multiarch implementations.
7417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7418         (__libc_ifunc_impl_list): Likewise.
7419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7422         multiarch stpcpy for PPC64.
7424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7425         multiarch implementations.
7426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7427         (__libc_ifunc_impl_list): Likewise.
7428         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7430         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7431         multiarch strcpy for PPC64.
7433         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7434         redefine function name.
7435         (_wordcopy_fwd_dest_aligned): Likewise.
7436         (_wordcopy_bwd_aligned): Likewise.
7437         (_wordcopy_bwd_dest_aligned): Likewise.
7438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7439         multiarch implementations.
7440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7441         (__libc_ifunc_impl_list): Likewise.
7442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7443         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7446         multiarch wcscpy for PPC64.
7448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7449         multiarch implementations.
7450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7451         (__libc_ifunc_impl_list): Likewise.
7452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7454         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7456         multiarch wcscpy for PPC64.
7458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7459         multiarch implementations.
7460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7461         (__libc_ifunc_impl_list): Likewise.
7462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7463         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7464         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7465         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7466         multiarch wcsrchr for PPC64.
7468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7469         multiarch implementations.
7470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7471         (__libc_ifunc_impl_list): Likewise.
7472         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7473         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7474         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7475         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7476         multiarch wcschr for PPC64.
7478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7479         multiarch implementations.
7480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7481         (__libc_ifunc_impl_list): Likewise.
7482         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7483         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7484         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7485         multiarch strchrnul for PPC64.
7487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7488         implementations.
7489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7490         (__libc_ifunc_impl_list): Likewise.
7491         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7492         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7493         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7494         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7495         strchr for PPC64.
7497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7498         implementations.
7499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7500         (__libc_ifunc_impl_list): Likewise.
7501         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7503         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7504         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7505         strncmp for PPC64.
7507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7508         multiarch implementations.
7509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7510         (__libc_ifunc_impl_list): Likewise.
7511         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7512         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7513         strncasecmp for PPC64.
7514         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7515         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7516         multiarch strncasecmp_l for PPC64.
7518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7519         multiarch implementations.
7520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7521         (__libc_ifunc_impl_list): Likewise.
7522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7523         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7524         multiarch strcasecmp for PPC64.
7525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7526         file.
7527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7528         multiarch strcasecmp_l for PPC64.
7530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7531         implementations.
7532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7533         (__libc_ifunc_impl_list): Likewise.
7534         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7535         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7536         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7537         strnlen for PPC64.
7539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7540         implementations.
7541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7542         (__libc_ifunc_impl_list): Likewise.
7543         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7544         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7545         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7546         strlen for PPC64.
7548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7549         implementations.
7550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7551         (__libc_ifunc_impl_list): Likewise.
7552         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7553         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7554         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7555         rawmemrchr for PPC64.
7557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7558         implementation.
7559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7560         (__libc_ifunc_impl_list): Likewise.
7561         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7562         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7563         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7564         memrchr for PPC64.
7566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7567         implementation.
7568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7569         (__libc_ifunc_impl_list): Likewise.
7570         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7571         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7572         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7573         memchr for PPC64.
7575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7576         implementation.
7577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7578         (__libc_ifunc_impl_list): Likewise.
7579         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7580         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7581         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7582         mempcpy for PPC64.
7584         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7585         avoid cretion of __bzero symbol.
7586         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7587         Likewise.
7588         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7589         Likewise.
7590         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7591         Likewise.
7592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7593         multiarch implementations.
7594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7595         (__libc_ifunc_impl_list): Likewise.
7596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7597         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7598         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7599         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7600         bzero for PPC32.
7601         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7602         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7603         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7604         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7605         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7606         memset for PPC64.
7607         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7609         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7611         implementations.
7612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613         (__libc_ifunc_impl_list): Likewise.
7614         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7615         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7616         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7617         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7618         memcmp for PPC64.
7620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7621         multiarch for POWER/PPC64.
7622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7623         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7630         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7631         memcpy for PPC64.
7633         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7634         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7635         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7637         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7638         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7639         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7640         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7641         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7642         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7643         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7644         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7645         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7646         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7647         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7656 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7660 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7662         * benchtests/Makefile (bench): Add exp2 and log2.
7663         (LDLIBS-bench-exp2): Add -lm.
7664         (LDLIBS-bench-log2): Likewise.
7665         * benchtests/exp2-inputs: New inputs file.
7666         * benchtests/log2-inputs: New inputs file.
7667         * benchtests/log-inputs: Add new inputs.
7668         * benchtests/tan-inputs: Likewise.
7670 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7672         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7673         definition...
7674         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7675         (csloww2): ... from here.
7677         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7678         instead of structures.
7679         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7680         (POLYNOMIAL): Likewise.
7681         (TAYLOR_SLOW): Likewise.
7682         (__sin): Likewise.
7683         (__cos): Likewise.
7684         (slow1): Likewise.
7685         (slow2): Likewise.
7686         (sloww): Likewise.
7687         (sloww1); Likewise.
7688         (sloww2): Likewise.
7689         (bsloww1): Likewise.
7690         (bsloww2): Likewise.
7691         (cslow2): Likewise.
7692         (csloww): Likewise.
7693         (csloww1): Likewise.
7694         (csloww2): Likewise.
7696 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7698         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7699         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7700         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7701         * malloc/hooks.c (realloc_check): Likewise.
7703         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7704         * malloc/arena.c: Remove PER_THREAD conditional.
7705         [!PER_THREAD]: Remove code.
7706         (ptmalloc_unlock_all2): Likewise.
7707         (ptmalloc_init): Likewise.
7708         (_int_new_arena): Likewise.
7709         (arena_get2): Likewise.
7710         * malloc/hooks.c (__malloc_get_state): Likewise.
7711         (__malloc_set_state): Likewise.
7712         * malloc/malloc.c: Likewise.
7713         (struct malloc_state): Likewise.
7714         (struct malloc_par): Likewise.
7715         (__libc_realloc): Likewise.
7716         (__libc_mallopt): Likewise.
7718 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7720         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7722 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7724         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7725         macro to a function.  Check for zero perturb_byte.
7726         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7728         * malloc/malloc.c: (force_reg): Remove.
7729         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7730         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7731         force_reg by atomic_forced_read.
7732         * malloc/arena.c (ptmalloc_init): Likewise.
7733         * malloc/hooks.c (top_check): Likewise.
7735 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7739 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7743 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7745         * math/auto-libm-test-in: Add tests of lgamma.
7746         * math/auto-libm-test-out: Regenerated.
7747         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7748         (M_LOG_2_SQRT_PIl): Likewise.
7749         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7750         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7751         mpfr_f_f1.
7752         (func_calc_desc): Add mpfr_f_f1 union field.
7753         (ARGS1): New macro.
7754         (ARGS2): Likewise.
7755         (ARGS3): Likewise.
7756         (ARGS4): Likewise.
7757         (RET1): Likewise.
7758         (RET2): Likewise.
7759         (CALC): Likewise.
7760         (FUNC): Likewise.
7761         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7762         (test_functions): Add lgamma.
7763         (calc_generic_results): Handle mpfr_f_f1.
7764         * sysdeps/i386/fpu/libm-test-ulps: Update.
7765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7769         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7770         __mpn_add_n for PowerPC64/POWER7.
7771         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7772         __mpn_sub_n for PowerPC64/POWER7.
7774         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7775         __mpn_addmul_1 for PowerPC64.
7776         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7777         __mpn_submul_1 for PowerPC64.
7778         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7779         for PowerPC64.
7780         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7781         for PowerPC64.
7783 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7785         [BZ #15089]
7786         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7790         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7792         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7793         add multiarch folders.
7794         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7795         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7796         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7797         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7798         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7799         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7800         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7801         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7802         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7803         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7804         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7813         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7815         New file.
7816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7817         New file.
7818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7819         multiarch __ieee754_hypot for PowerPC32.
7820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7821         New file.
7822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7823         New file.
7824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7825         multiarch __ieee754_hypotf for PowerPC32.
7827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7828         long_double_symbol only if __logbl is defined.
7829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7830         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7832         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7834         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7836         path for implementation.
7837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7838         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7840         logb, and logbl multiarch implementations for PowerPC32.
7841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7842         file.
7843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7844         file.
7845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7846         multiarch logb for PowerPC32.
7847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7848         file.
7849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7850         file.
7851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7852         multiarch logbf for PowerPC32.
7853         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7855         file.
7856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7857         multiarch logbl implementation for PowerPC32.
7859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7860         and modff multiarch implementations.
7861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7862         New file.
7863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7864         New file.
7865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7866         multiarch modf for PowerPC32.
7867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7868         New file.
7869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7870         New file.
7871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7872         multiarch modff for PowerPC32.
7874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7875         and lrintf multiarch implementations.
7876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7877         New file.
7878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7879         New file.
7880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7881         multiarch lrint for PowerPC32.
7882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7883         file: multiarch lrintf for PowerPC32.
7885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7886         and lroundf multiarch implementations.
7887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7888         New file.
7889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7890         New file.
7891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7892         New file.
7893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7894         multiarch lround for PowerPC32.
7895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7896         file: multiarch lroundf for PowerPC32.
7898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7899         copysign and copysignf multiarch implementations.
7900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7901         New file.
7902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7903         New file.
7904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7905         file: multiarch copysign for PowerPC32.
7906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7907         file: multiarch copysignf for PowerPC32.
7909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7910         and truncf multiarch implementations.
7911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7912         New file.
7913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7914         file.
7915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7916         multiarch trunc for PowerPC32.
7917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7918         New file.
7919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7920         New file.
7921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7922         multiarch truncf for PowerPC32.
7924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7925         and roundf multiarch implementations.
7926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7927         New file.
7928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7929         file.
7930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7931         multiarch round for PowerPC32.
7932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7933         New file.
7934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7935         New file.
7936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7937         multiarch roundf for PowerPC32.
7939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7940         and floorf multiarch implementations.
7941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7942         New file.
7943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7944         file.
7945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7946         multiarch floor for PowerPC32.
7947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7948         New file.
7949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7950         New file.
7951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7952         multiarch floorf for PowerPC32.
7954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7955         and ceilf multiarch implementations.
7956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7957         New file.
7958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7959         file.
7960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7961         multiarch ceil for PowerPC32.
7962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7963         New file.
7964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7965         file.
7966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7967         multiarch ceilf for PowerPC32.
7969         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7970         is defined.
7971         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7972         FINITEF is defined.
7973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7974         and finitef multiarch implementations.
7975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7976         New file.
7977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7978         file.
7979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7980         multiarch finite for PowerPC32.
7981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7982         New file.
7983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7984         file: multiarch finitef for PowerPC32.
7986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7987         and isinff multiarch implementations.
7988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7989         file.
7990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7991         file.
7992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7993         multiarch isinf for PowerPC32.
7994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7995         New file.
7996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7997         multiarch isinff for PowerPC32.
7999         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8000         alias when __isnan is defined.
8001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8002         and isnanf multiarch implementations.
8003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8004         file.
8005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8006         file.
8007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8008         file.
8009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8010         file.
8011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8012         multiarch isnan for PowerPC32.
8013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8014         New file.
8015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8016         New file.
8017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8018         multiarch isnanf for PowerPC32.
8020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8021         and sqrtf multiarch implementations.
8022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8023         file.
8024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8025         file.
8026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8027         multiarch sqrt for PowerPC32.
8028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8029         file.
8030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8031         file.
8032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8033         multiarch sqrtf for PowerPC32.
8035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8036         and llroundf multiarch implementations.
8037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8038         New file.
8039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8040         New file.
8041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8042         New file.
8043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8044         file: multiarch llround for PowerPC32.
8045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8046         file: multiarch llroundf for PowerPC32.
8048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8049         multiarch PowerPC32 fpu implementations.
8050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8051         New file.
8052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8053         New file.
8054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8055         multiarch llrint for PowerPC32.
8056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8057         New file.
8058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8059         New file.
8060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8061         file.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8065         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8066         file.
8067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8068         file.
8069         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8070         file.
8071         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8072         multiarch wordcopy for PPC32.
8073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8074         wordcopy objects.
8075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8076         (__libc_ifunc_impl_list): Likewise.
8077         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8078         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8079         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8080         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8081         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8082         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8084         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8086         file.
8087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8088         file.
8089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8090         file.
8091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8092         multiarch wcscpy for PPC32.
8093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8094         multiarch objects.
8095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8096         (__libc_ifunc_impl_list): Likewise.
8097         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8098         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8099         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8100         sysdeps/powerpc/power6/wcscpy.c.
8102         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8104         file.
8105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8106         file.
8107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8108         file.
8109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8110         multiarch wcsrchr for PPC32.
8111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8112         multiarch objects.
8113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8114         (__libc_ifunc_impl_list): Likewise.
8115         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8116         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8117         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8118         sysdeps/powerpc/power6/wcsrchr.c.
8120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8121         file.
8122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8123         file.
8124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8126         multiarch wcschr for PPc32.
8127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8128         multiarch objects.
8129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8130         (__libc_ifunc_impl_list): Likewise.
8131         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8132         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8133         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8134         sysdeps/powerpc/power6/wcschr.c.
8136         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8138         file.
8139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8140         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8141         file: multiarch strchr for PPC32.
8142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8143         multiarch objects.
8144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8145         (__libc_ifunc_impl_list): Likewise.
8147         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8148         name.
8149         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8150         file.
8151         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8152         file.
8153         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8154         multiarch strchrnul for PPC32.
8155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8156         multiarch objects.
8157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8158         (__libc_ifunc_impl_list): Likewise.
8160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8161         file.
8162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8163         multiarch strncasecmp for PPC32.
8164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8165         file.
8166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8167         multiarch strncasecmp_l for PPC32.
8168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8169         strncasecmp multiarch objects.
8170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8171         (__libc_ifunc_impl_list): Likewise.
8173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8174         file.
8175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8176         multiarch strncasecmp for PPC32.
8177         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8178         New file.
8179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8180         multiarch strcasecmp_l for PPC32.
8181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8182         multiarch objects.
8183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8184         (__libc_ifunc_impl_list): Likewise.
8186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8187         file.
8188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8189         file.
8190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8191         multiarch strncmp for PPC32.
8192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8193         multiarch objects.
8194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8195         (__libc_ifunc_impl_list): Likewise.
8197         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8198         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8199         file.
8200         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8201         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8203         multiarch objects.
8204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8205         (__libc_ifunc_impl_list): Likewise.
8207         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8208         file.
8209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8210         file.
8211         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8213         multiarch objects.
8214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8215         (__libc_ifunc_impl_list): Likewise.
8217         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8218         file.
8219         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8220         file.
8221         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8222         multiarch rawmemchr for PPC32.
8223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8224         multiarch objects.
8225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8226         (__libc_ifunc_impl_list): Likewise.
8228         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8229         file.
8230         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8231         file.
8232         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8233         file: memrchr multiarch for PPC32.
8234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8235         multiarch objects.
8236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8237         (__libc_ifunc_impl_list): Likewise.
8239         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8241         file.
8242         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8244         multiarch memchr for PPC32.
8245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8246         multiarch objects.
8247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8248         (__libc_ifunc_impl_list): Likewise.
8250         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8252         file.
8253         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8254         file.
8255         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8256         file: multiarch mempcpy for PPC32.
8257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8258         multiarch objects.
8259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8260         (__libc_ifunc_impl_list): Likewise.
8262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8266         multiarch bzero for PPC32.
8267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8268         file.
8269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8270         file.
8271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8272         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8273         file: multiarch memset for PPC32.
8274         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8276         memset multiarch objects.
8277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8278         (__libc_ifunc_impl_list): Likewise.
8280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8281         file.
8282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8284         memcmp for PPC32.
8285         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8287         multiarch objects.
8288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8289         (__libc_ifunc_impl_list): Likewise.
8291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8294         file.
8295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8296         file.
8297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8298         file.
8299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8300         multiarch memcpy for PPC32.
8301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8302         multiarch objects.
8303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8304         (__libc_ifunc_impl_list): Likewise.
8306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8307         support multiarch for POWER/PPC32.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8309         Likewise.
8310         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8312         Implies file to make multiarch folder appers before the fpu and
8313         default folder for power4 configuration.
8315 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8317         * scripts/bench.pl: Append volatile keyword to type.
8319 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8321         * sysdeps/sh/sotruss-lib.c: New file.
8322         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8324 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8328 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8330         [BZ #6810]
8331         * math/w_tgamma.c: Include <errno.h>.
8332         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8333         * math/w_tgammaf.c: Include <errno.h>.
8334         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8335         * math/w_tgammal.c: Include <errno.h>.
8336         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8337         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8338         underflow.  Add more tgamma tests.
8339         * math/auto-libm-test-out: Regenerated.
8340         * sysdeps/i386/fpu/libm-test-ulps: Update.
8341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8344         sin, sinh, tan, tanh, tgamma, y0 and y1.
8345         * math/auto-libm-test-out: Regenerated.
8346         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8347         (TEST_COND_x86): Likewise.
8348         (M_E2l): Remove macro.
8349         (M_E3l): Likewise.
8350         (M_2_SQRT_PIl): Likewise.
8351         (M_SQRT_PIl): Likewise.
8352         (M_1_DIV_El): Likewise.
8353         (log_test_data): Use AUTO_TESTS_f_f.
8354         (log10_test_data): Likewise.
8355         (log1p_test_data): Likewise.
8356         (log2_test_data): Likewise.
8357         (sin_test_data): Likewise.
8358         (sin_tonearest_test_data): Likewise.
8359         (sin_towardzero_test_data): Likewise.
8360         (sin_downward_test_data): Likewise.
8361         (sin_upward_test_data): Likewise.
8362         (sinh_test_data): Likewise.
8363         (sinh_tonearest_test_data): Likewise.
8364         (sinh_towardzero_test_data): Likewise.
8365         (sinh_downward_test_data): Likewise.
8366         (sinh_upward_test_data): Likewise.
8367         (tan_test_data): Likewise.
8368         (tan_tonearest_test_data): Likewise.
8369         (tan_towardzero_test_data): Likewise.
8370         (tan_downward_test_data): Likewise.
8371         (tan_upward_test_data): Likewise.
8372         (tanh_test_data): Likewise.
8373         (tgamma_test_data): Likewise.
8374         (y0_test_data): Likewise.
8375         (y1_test_data): Likewise.
8376         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8377         (special_real_inputs): Add pi/4.
8378         * sysdeps/i386/fpu/libm-test-ulps: Update.
8379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8381 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8383         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8384         "longjmp_target" static probes.
8385         (__longjmp): Rename to __longjmp_symbol.
8386         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8387         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8388         on which longjmp to generate.
8389         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8391         probe.
8392         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8393         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8394         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8396         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8397         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8399         __longjmp_symbol based on which __longjmp to generate.
8400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8401         probe.
8402         (setjmp): Rename to setjmp_symbol.
8403         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8404         (_setjmp): Rename to _setjmp_symbol.
8405         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8406         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8407         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8408         which setjmp to generate.
8409         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8410         "longjmp_target" static probes.
8412 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8414         * benchtests/README: Add note about output arguments.
8415         * benchtests/bench-sincos.c: Remove file.
8416         * benchtests/sincos-inputs: New file.
8417         * scripts/bench.pl: Identify output arguments and define
8418         static variables for them.
8420         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8422         [BZ #15941]
8423         * Makefile (INSTALL): Add install-plain.texi as the primary
8424         dependency.
8425         * manual/install-plain.texi: New file.
8426         * manual/install.texi: Include node directive only for
8427         non-plaintext output.
8429 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8431         * stdlib/longlong.h: Update from GCC.
8433         [BZ #6807]
8434         [BZ #15901]
8435         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8436         * math/w_j0f.c (y0f): Likewise.
8437         * math/w_j0l.c (__y0l): Likewise.
8438         * math/w_j1.c (y1): Likewise.
8439         * math/w_j1f.c (y1f): Likewise.
8440         * math/w_j1l.c (__y1l): Likewise
8441         * math/w_jn.c (yn): Likewise.
8442         * math/w_jnf.c (ynf): Likewise.
8443         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8444         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8445         value for Bessel function domain errors outside _SVID_ mode.
8446         Adjust sign of return value for yn (negative integer, 0).
8447         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8448         by zero in return for negative x and set sign appropriately for
8449         negative n.
8450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8451         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8452         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8453         expectations in error cases.
8454         (y1_test_data): Likewise.
8455         (yn_test_data): Likewise.
8456         * sysdeps/i386/fpu/libm-test-ulps: Update.
8457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8459 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8461         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8462         "64" to "64-v1".  Add "64-v2".
8463         (abi-64-options): Rename to ...
8464         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8465         (abi-64-condition): Rename to ...
8466         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8467         (abi-64-ld-soname): Rename to ...
8468         (abi-64-v1-ld-soname): ... this.
8469         (abi-64-v2-options): Define.
8470         (abi-64-v2-condition): Likewise.
8471         (abi-64-v2-ld-soname): Likewise.
8472         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8473         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8478 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8479             Alan Modra  <amodra@gmail.com>
8481         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8482         New versions for use with the ELFv2 ABI.
8483         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8484         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8485         declaration.
8486         (struct La_ppc64v2_retval): Likewise.
8487         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8488         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8489         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8490         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8491         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8492         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8493         Do not save or restore CR.
8494         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8495         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8496         return values for ELFv2 ABI.  Fix location of FPR return registers.
8497         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8498         updated values for _CALL_ELF == 2.
8499         (La_regs, La_retval, int_retval): Likewise.
8501 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8503         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8504         (FRAME_MIN_SIZE_PARM): Likewise.
8505         (FRAME_BACKCHAIN): Likewise.
8506         (FRAME_CR_SAVE): Likewise.
8507         (FRAME_LR_SAVE): Likewise.
8508         (FRAME_TOC_SAVE): Likewise.
8509         (FRAME_PARM_SAVE): Likewise.
8510         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8511         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8512         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8513         (call_mcount_parm_offset): New macro.
8514         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8515         (PROF): Use symbolic stack frame offsets.
8516         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8517         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8518         Redefine in terms of FRAME_MIN_SIZE.
8519         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8520         (_dl_profile_resolve): Likewise.  Update comment.
8521         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8522         symbols stack frame offsets.
8523         (__sigsetjmp): Likewise.
8524         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8525         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8526         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8527         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8530         (FRAME_BACKCHAIN): Remove.
8531         (FRAME_CR_SAVE): Likewise.
8532         (FRAME_LR_SAVE): Likewise.
8533         (FRAME_COMPILER_DW): Likewise.
8534         (FRAME_LINKER_DW): Likewise.
8535         (FRAME_TOC_SAVE): Likewise.
8536         (FRAME_PARM_SAVE): Likewise.
8537         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8538         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8539         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8541         (CHECK_SP): Use symbolic stack frame offsets.
8542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8543         zone" instead of caller's parameter save area for temp storage.
8544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8545         Likewise.  Also, use symbolic stack frame offsets.
8546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8547         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8548         our own stack frame instead of the caller's.
8549         (__socket): Use symbolic stack frame offsets.
8551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8552             Alan Modra  <amodra@gmail.com>
8554         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8555         Define.
8556         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8557         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8558         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8559         New function.
8560         (elf_machine_fixup_plt): Call it.
8561         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8562         reloc arguments.
8563         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8564         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8565         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8566         r2 before calling target.
8568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8569             Alan Modra  <amodra@gmail.com>
8571         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8572         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8573         versions of macros to support ELFv2 ABI.
8574         (LOCALENTRY): New macro.
8575         (ENTRY, EALIGN): Use it.
8576         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8577         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8578         fall through into ENTRY entry point.
8579         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8580         Only define if _CALL_ELF != 2.
8582         (elf_machine_matches_host): Verify ABI version matches.
8583         (RTLD_START): Use LOCALENTRY.
8584         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8585         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8586         (PLT_ENTRY_WORDS): New macro.
8587         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8588         (elf_machine_runtime_setup): Support ELFv2 ABI.
8589         (elf_machine_fixup_plt): Likewise.
8590         (elf_machine_plt_conflict): Likewise.
8591         (resolve_ifunc): Likewise.
8592         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8593         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8594         Likewise.
8595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8596         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8598         (makecontext): Support ELFv2 ABI.
8599         * elf/elf.h (EF_PPC64_ABI): Define.
8601 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8603         * sysdeps/powerpc/powerpc64/sysdep.h
8604         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8605         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8606         (ENTRY) [ASSEMBLER]: ... but instead here ...
8607         (EALIGN) [ASSEMBLER]: ... and here.
8608         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8609         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8610         (ENTRY_2) [!ASSEMBLER]: Use it.
8611         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8612         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8614         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8615         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8617         Use PPC64_LOAD_FUNCPTR.
8619         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8621 2013-12-04  Alan Modra  <amodra@gmail.com>
8623         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8624         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8625         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8626         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8629         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8630         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8631         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8632         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8633         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8635 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8638         (__makecontext): Fix incorrect CFI when backtracing out of
8639         context created via makecontext.
8640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8641         (__setcontext): Fix incorrect CFI during switch to new context.
8642         (__novec_setcontext): Likewise.
8644 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8646         [BZ #4772]
8647         * time/strptime_l.c (__strptime_internal): Allow modifiers
8648         in strptime.
8649         * time/tst-strptime.c (day_tests): Add testcase.
8651 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8653         * scripts/bench.pl: Skip over blank lines.
8655 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8657         [BZ #926]
8658         * manual/time.texi (Calendar Time): Clarify what timezone functions
8659         use.
8661 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8665 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8667         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8668         implementation.
8669         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8670         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8671         * debug/memset_chk.c (__memset_chk): Likewise.
8672         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8673         * debug/strncpy_chk.c: Likewise.
8675 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8677         [BZ #15268]
8678         [BZ #15425]
8679         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8680         (__ieee754_exp): For possibly underflowing results, check size of
8681         result and force underflow exception if required.
8682         * math/auto-libm-test-in: Add more tests of exp.
8683         * math/auto-libm-test-out: Regenerated.
8684         * sysdeps/i386/fpu/libm-test-ulps: Update.
8685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8687         [BZ #16283]
8688         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8689         * math/w_exp2f.c (__exp2f): Likewise.
8690         * math/w_exp2l.c (__exp2l): Likewise.
8691         * math/auto-libm-test-in: Do not allow missing errno on exp2
8692         underflow.
8693         * math/auto-libm-test-out: Regenerated.
8695 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8697         [BZ #16274]
8698         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8699         handle filename validation.
8700         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8701         (do_open): Delete.
8703 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #6786]
8706         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8707         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8708         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8709         <float.h>.
8710         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8712         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8714         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8716         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8717         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8718         Add more erfc tests.
8719         * math/auto-libm-test-out: Regenerated.
8720         * sysdeps/i386/fpu/libm-test-ulps: Update.
8721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8724         exp2, expm1, j0 and j1.
8725         * math/auto-libm-test-out: Regenerated.
8726         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8727         (erfc_test_data): Likewise.
8728         (exp_test_data): Likewise.
8729         (exp_tonearest_test_data): Likewise.
8730         (exp_towardzero_test_data): Likewise.
8731         (exp_downward_test_data): Likewise.
8732         (exp_upward_test_data): Likewise.
8733         (exp10_test_data): Likewise.
8734         (exp2_test_data): Likewise.
8735         (expm1_test_data): Likewise.
8736         (j0_test_data): Likewise.
8737         (j1_test_data): Likewise.
8738         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8739         (input_flag_type): Add flag_xfail_rounding.
8740         (input_flags): Add xfail-rounding.
8741         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8742         (output_for_one_input_case): Handle flag_xfail_rounding.
8743         * sysdeps/i386/fpu/libm-test-ulps: Update.
8744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8748         [BZ #16289]
8749         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8750         division by 0.
8752 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8754         [BZ #16195]
8755         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8756         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8757         (STAP_PROBE0): New macro.
8758         (STAP_PROBE1): Likewise.
8759         (STAP_PROBE2): Likewise.
8760         (STAP_PROBE3): Likewise.
8761         (STAP_PROBE4): Likewise.
8763 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8765         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8767 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8769         * benchtests/Makefile (bench): Add sqrt.
8770         (LDLIBS-bench-sqrt): New.
8771         * benchtests/sqrt-input: New.
8773 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8775         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8776         (GAIH_EAI): Likewise.
8777         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8778         (gaih_inet): Likewise.
8779         (getaddrinfo): Don't use GAIH_EAI.
8781         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8782         (struct gaih): Remove definition.
8784 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8786         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8787         Use HERRNOP directly.
8789 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8793 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8795         * math/gen-auto-libm-tests.c (test_functions): Add more
8796         single-argument functions.
8797         (special_fill_pi_2): New function.
8798         (special_fill_minus_pi_2): Likewise.
8799         (special_fill_pi_6): Likewise.
8800         (special_fill_minus_pi_6): Likewise.
8801         (special_fill_pi_3): Likewise.
8802         (special_fill_2pi_3): Likewise.
8803         (special_fill_e): Likewise.
8804         (special_fill_1_e): Likewise.
8805         (special_fill_e_minus_1): Likewise.
8806         (special_real_inputs): Add more special inputs.
8807         (output_for_one_input_case): Do not require ERANGE on underflow to
8808         zero if round-to-nearest result does not underflow to zero, unless
8809         exact results required.
8810         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8811         atan, atanh, cbrt, cos and cosh.
8812         * math/auto-libm-test-out: Regenerated.
8813         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8814         (acos_tonearest_test_data): Likewise.
8815         (acos_towardzero_test_data): Likewise.
8816         (acos_downward_test_data): Likewise.
8817         (acos_upward_test_data): Likewise.
8818         (acosh_test_data): Likewise.
8819         (asin_test_data): Likewise.
8820         (asin_tonearest_test_data): Likewise.
8821         (asin_towardzero_test_data): Likewise.
8822         (asin_upward_test_data): Likewise.
8823         (asinh_test_data): Likewise.
8824         (atan_test_data): Likewise.
8825         (atanh_test_data): Likewise.
8826         (cbrt_test_data): Likewise.
8827         (cos_test_data): Likewise.
8828         (cos_tonearest_test_data): Likewise.
8829         (cos_towardzero_test_data): Likewise.
8830         (cos_downward_test_data): Likewise.
8831         (cos_upward_test_data): Likewise.
8832         (cosh_test_data): Likewise.
8833         (cosh_tonearest_test_data): Likewise.
8834         (cosh_towardzero_test_data): Likewise.
8835         (cosh_downward_test_data): Likewise.
8836         (cosh_upward_test_data): Likewise.
8837         * sysdeps/i386/fpu/libm-test-ulps: Update.
8838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8840 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8842         [BZ #6787]
8843         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8844         * math/w_exp10f.c (__exp10f): Likewise.
8845         * math/w_exp10l.c (__exp10l): Likewise.
8846         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8847         errno settings in existing tests.
8849         [BZ #14032]
8850         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8851         precision control set to double precision.
8852         * sysdeps/i386/fpu/w_sqrt.c: New file.
8853         * math/auto-libm-test-in: Add more tests.
8854         * math/auto-libm-test-out: Update.
8856         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8857         (sqrt_test_tonearest): New function.
8858         (sqrt_towardzero_test_data): New variable.
8859         (sqrt_test_towardzero): New function.
8860         (sqrt_downward_test_data): New variable.
8861         (sqrt_test_downward): New function.
8862         (sqrt_upward_test_data): New variable.
8863         (sqrt_test_upward): New function.
8864         (main): Call the new functions.
8866         * math/gen-auto-libm-tests.c: New file.
8867         * math/auto-libm-test-in: Likewise.
8868         * math/auto-libm-test-out: New generated file.
8869         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8870         variables.
8871         (%beautify): Add generated representations of zero.
8872         (top level): Set $auto_input and call parse_auto_input.
8873         (beautify): Remove trailing "f" from hex float constants.
8874         (parse_args): Handle XFAIL_TEST.
8875         (convert_condition): New function.
8876         (or_value): Likewise.
8877         (or_cond_value): Likewise.
8878         (generate_testfile): Handle AUTO_TESTS_* lines.
8879         (parse_auto_input): New function.
8880         * math/libm-test.inc (XFAIL_TEST): New macro.
8881         (ERRNO_UNCHANGED): Update value.
8882         (ERRNO_EDOM): Likewise.
8883         (ERRNO_ERANGE): Likewise.
8884         (IGNORE_RESULT): Likewise.
8885         (TEST_COND_flt_32): New macro.
8886         (TEST_COND_dbl_64): Likewise.
8887         (TEST_COND_ldbl_96_intel): Likewise.
8888         (TEST_COND_ldbl_96_m68k): Likewise.
8889         (TEST_COND_ldbl_128): Likewise.
8890         (TEST_COND_ldbl_128ibm): Likewise.
8891         (TEST_COND_long32): Likewise.
8892         (TEST_COND_long64): Likewise.
8893         (TEST_COND_before_rounding): Likewise.
8894         (TEST_COND_after_rounding): Likewise.
8895         (enable_test): Handle XFAIL_TEST flag.
8896         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8897         with finite results.
8898         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8899         auto-libm-test-out.
8901 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8902             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8904         [BZ #16214]
8905         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8906         __tls_get_addr_internal instead of __tls_get_offset in order to
8907         avoid GOT pointer dependency.  Make rtld export
8908         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8909         __tls_get_addr since we are a __tls_get_offset platform.
8910         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8911         GOT pointer being set up before.
8912         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8914 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
8916         * manual/math.texi (Errors in Math Functions): Document accuracy
8917         goals.
8919         [BZ #15004]
8920         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8921         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8922         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8923         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8924         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8926         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8927         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8928         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8929         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8930         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8931         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8937         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8938         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8939         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8940         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8941         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8942         Likewise.
8943         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8944         Likewise.
8945         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8946         Likewise.
8947         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8948         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8949         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8950         atomic-feupdateenv and flt-rounds.
8951         * sysdeps/powerpc/nofpu/Versions (libc): Add
8952         __atomic_feholdexcept, __atomic_feclearexcept,
8953         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8954         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8955         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8956         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8957         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8958         here.
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8960         Update.
8962         * manual/arith.texi (FP Exceptions): Document that exceptions may
8963         not be raised when matherr is used.
8964         (Math Error Reporting): Document overflow in directed rounding
8965         modes.  Document that errno may not be set when finite values are
8966         returned on overflow.  Document intent to set errno on underflow
8967         only for underflow to zero.
8969         [BZ #16271]
8970         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8971         round-to-nearest then adjust result for other rounding modes.
8972         * include/fenv.h (fegetround): Use libm_hidden_proto.
8973         * math/fegetround.c (fegetround): Use libm_hidden_def.
8974         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8975         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8976         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8978         Likewise.
8979         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8980         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8981         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8982         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8984 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8986         [BZ #16077]
8987         * nss/Versions (libnss_files): Add
8988         _nss_files_gethostbyname3_r.
8989         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8990         New function.
8991         (HOST_DB_LOOKUP): Remove macro.
8992         (_nss_files_gethostbyname_r): Implement function without the
8993         HOST_DB_LOOKUP macro.
8994         (_nss_files_gethostbyname2_r): Likewise.
8996 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
8998         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9000 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9002         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9003         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9004         warning.
9006 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9008         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9009         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9010         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9011         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9012         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9013         __fe_nomask_env_priv and attribute_hidden.
9014         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9015         (libc_feupdateenv_test_ppc): Likewise.
9016         (libc_feresetround_ppc): Likewise.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9018         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9019         compat_symbol macro.
9020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9021         (__fe_nomask_env): Likewise.
9022         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9024 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9026         * string/Makefile: Remove ifunc tests.
9027         * string/test-string.h: Define TEST_IFUNC.
9028         * string/test-bcopy-ifunc.c: Remove.
9029         * string/test-bzero-ifunc.c: Likewise.
9030         * string/test-memccpy-ifunc.c: Likewise.
9031         * string/test-memchr-ifunc.c: Likewise.
9032         * string/test-memcmp-ifunc.c: Likewise.
9033         * string/test-memcpy-ifunc.c: Likewise.
9034         * string/test-memmem-ifunc.c: Likewise.
9035         * string/test-memmove-ifunc.c: Likewise.
9036         * string/test-mempcpy-ifunc.c: Likewise.
9037         * string/test-memrchr-ifunc.c: Likewise.
9038         * string/test-memset-ifunc.c: Likewise.
9039         * string/test-rawmemchr-ifunc.c: Likewise.
9040         * string/test-stpcpy-ifunc.c: Likewise.
9041         * string/test-stpncpy-ifunc.c: Likewise.
9042         * string/test-strcasecmp-ifunc.c: Likewise.
9043         * string/test-strcasestr-ifunc.c: Likewise.
9044         * string/test-strcat-ifunc.c: Likewise.
9045         * string/test-strchr-ifunc.c: Likewise.
9046         * string/test-strchrnul-ifunc.c: Likewise.
9047         * string/test-strcmp-ifunc.c: Likewise.
9048         * string/test-strcpy-ifunc.c: Likewise.
9049         * string/test-strcspn-ifunc.c: Likewise.
9050         * string/test-strlen-ifunc.c: Likewise.
9051         * string/test-strncasecmp-ifunc.c: Likewise.
9052         * string/test-strncat-ifunc.c: Likewise.
9053         * string/test-strncmp-ifunc.c: Likewise.
9054         * string/test-strncpy-ifunc.c: Likewise.
9055         * string/test-strnlen-ifunc.c: Likewise.
9056         * string/test-strpbrk-ifunc.c: Likewise.
9057         * string/test-strrchr-ifunc.c: Likewise.
9058         * string/test-strspn-ifunc.c: Likewise.
9059         * string/test-strstr-ifunc.c: Likewise.
9061 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9063         * benchtests/Makefile: Remove ifunc tests.
9064         * benchtests/bench-string.h: Define TEST_IFUNC.
9065         * benchtests/bench-bcopy-ifunc.c: Remove.
9066         * benchtests/bench-bzero-ifunc.c: Likewise.
9067         * benchtests/bench-memccpy-ifunc.c: Likewise.
9068         * benchtests/bench-memchr-ifunc.c: Likewise.
9069         * benchtests/bench-memcmp-ifunc.c: Likewise.
9070         * benchtests/bench-memcpy-ifunc.c: Likewise.
9071         * benchtests/bench-memmem-ifunc.c: Likewise.
9072         * benchtests/bench-memmove-ifunc.c: Likewise.
9073         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9074         * benchtests/bench-memrchr-ifunc.c: Likewise.
9075         * benchtests/bench-memset-ifunc.c: Likewise.
9076         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9077         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9078         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9079         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9080         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9081         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9082         * benchtests/bench-strcat-ifunc.c: Likewise.
9083         * benchtests/bench-strchr-ifunc.c: Likewise.
9084         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9085         * benchtests/bench-strcmp-ifunc.c: Likewise.
9086         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9087         * benchtests/bench-strcpy-ifunc.c: Likewise.
9088         * benchtests/bench-strcspn-ifunc.c: Likewise.
9089         * benchtests/bench-strlen-ifunc.c: Likewise.
9090         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9091         * benchtests/bench-strncat-ifunc.c: Likewise.
9092         * benchtests/bench-strncmp-ifunc.c: Likewise.
9093         * benchtests/bench-strncpy-ifunc.c: Likewise.
9094         * benchtests/bench-strnlen-ifunc.c: Likewise.
9095         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9096         * benchtests/bench-strrchr-ifunc.c: Likewise.
9097         * benchtests/bench-strsep-ifunc.c: Likewise.
9098         * benchtests/bench-strspn-ifunc.c: Likewise.
9099         * benchtests/bench-strstr-ifunc.c: Likewise.
9101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9103         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9105 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9107         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9108         * rt/aio.h: Likewise.
9109         * sysdeps/gnu/bits/utmp.h: Likewise.
9110         * sysdeps/gnu/bits/utmpx.h: Likewise.
9111         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9112         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9113         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9114         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9115         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9116         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9117         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9118         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9119         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9120         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9121         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9122         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9123         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9125         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9126         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9127         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9128         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9129         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9130         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9131         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9132         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9133         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9134         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9135         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9137         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9138         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9139         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9140         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9141         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9142         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9143         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9144         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9146         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9147         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9148         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9149         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9150         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9151         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9152         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9154 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9156         [BZ #16245]
9157         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9158         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9160 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9162         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9164         Likewise.
9166 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9169         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9170         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9171         (__fesetround): Remove define.
9172         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9173         rounding and exceptions handling.
9174         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9175         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9176         (__fe_nomask_env): Likewise.
9177         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9178         __fegetround instead of fegetround.
9179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9180         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9182 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9184         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9185         it's there.
9187         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9189 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9191         [BZ #11157]
9192         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9193         (encrypt_r): Likewise.
9194         * malloc/obstack.h (obstack_free): Likewise.
9195         * posix/unistd.h (encrypt): Likewise.
9197 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9199         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9200         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9201         DL_CALL_DT_FINI() that call the functions directly.
9202         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9203         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9204         * elf/dl-fini.c: Likewise.
9206 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9208         * malloc/hooks.c (memalign_check): Add alignment rounding.
9209         * malloc/malloc.c (_mid_memalign): New function.
9210         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9211         Implement by calling _mid_memalign.
9212         * manual/probes.texi (Memory Allocation Probes): Remove
9213         memory_valloc_retry and memory_pvalloc_retry.
9215 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9217         * locale/programs/locarchive.c (open_archive): Add const
9218         qualifier to ARCHIVEFNAME and copy default fname to
9219         DEFAULT_FNAME.
9221         [BZ #15601]
9222         * libio/tst-widetext.input: Rename Oriya to Odia.
9223         * locale/iso-639.def: Likewise.
9225         * manual/probes.texi (Mathematical Function Probes): Add
9226         documentation for sin, cos, asin and acos probes.
9227         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9228         (__sin32): Add slowasin probe.
9229         (__cos32): Add slowacos probe.
9230         (__mpsin): Add slowsin probe.
9231         (__mpcos): Add slowcos probe.
9233 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9235         [BZ #15483]
9236         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9237         thread-local __sim_exceptions_thread and global
9238         __sim_exceptions_global.
9239         (__sim_disabled_exceptions): Change to thread-local
9240         __sim_disabled_exceptions_thread and global
9241         __sim_disabled_exceptions_global.
9242         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9243         and global __sim_round_mode_global.
9244         (__simulate_exceptions): Use thread-local floating-point state and
9245         set global state from it as needed.
9246         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9247         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9248         __sim_round_mode_thread.
9249         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9250         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9251         and global __sim_exceptions_global.
9252         (__sim_disabled_exceptions): Change to thread-local
9253         __sim_disabled_exceptions_thread and global
9254         __sim_disabled_exceptions_global.
9255         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9256         and global __sim_round_mode_global.
9257         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9258         (SIM_SET_GLOBAL): Likewise.
9259         * sysdeps/powerpc/soft-fp/sfp-machine.h
9260         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9261         __sim_round_mode_thread.
9262         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9263         __sim_disabled_exceptions_thread.
9264         (__sim_exceptions): Change to __sim_exceptions_thread.
9265         (__sim_disabled_exceptions): Change to
9266         __sim_disabled_exceptions_thread.
9267         (__sim_round_mode): Change to __sim_round_mode_thread.
9268         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9269         thread-local floating-point state and set global state from it as
9270         needed.
9271         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9272         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9273         (__sim_disabled_exceptions): Remove extern declaration.
9274         (feenableexcept): Use thread-local floating-point state and set
9275         global state from it as needed.
9276         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9277         extern declaration.
9278         (__sim_disabled_exceptions): Likewise.
9279         (__sim_round_mode): Likewise.
9280         (__fegetenv): Use thread-local floating-point state.
9281         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9282         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9283         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9284         floating-point state and set global state from it as needed.
9285         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9286         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9287         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9288         Likewise.
9289         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9290         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9291         Likewise.
9292         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9293         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9294         Use __sim_round_mode_thread.
9295         * math/test-fenv-tls.c: New file.
9296         * math/Makefile (tests): Add test-fenv-tls.
9297         ($(objpfx)test-fenv-tls): Depend on
9298         $(common-objpfx)nptl/libpthread.so.
9300 2013-11-19  Andreas Schwab  <schwab@suse.de>
9302         * locale/programs/locale.c (show_info): Decode wordarray elements.
9303         * locale/categories.def (LC_MONETARY): Add element for
9304         _NL_MONETARY_CRNCYSTR.
9305         * locale/C-monetary.c (conversion_rate): New variable.
9306         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9307         element.
9309 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9311         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9312         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9314 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9316         * elf/Makefile (tst-auxv): New test.
9317         * elf/tst-auxv.c: New
9318         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9320 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9322         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9323         (hidden_proto): Caller changed.
9324         (hidden_tls_proto): New macro.
9325         (libc_hidden_tls_proto): Likewise.
9326         (rtld_hidden_tls_proto): Likewise.
9327         (libm_hidden_tls_proto): Likewise.
9328         (libresolv_hidden_tls_proto): Likewise.
9329         (librt_hidden_tls_proto): Likewise.
9330         (libdl_hidden_tls_proto): Likewise.
9331         (libnss_files_hidden_tls_proto): Likewise.
9332         (libnsl_hidden_tls_proto): Likewise.
9333         (libnss_nisplus_hidden_tls_proto): Likewise.
9334         (libutil_hidden_tls_proto): Likewise.
9336 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9338         [BZ #10253]
9339         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9340         (decompose_rpath): Defer expansion to fillin_rpath.
9341         (_dl_init_paths): Pass linkmap to fillin_rpath.
9343 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9345         * benchtests/Makefile: Add strsep.
9346         * benchtests/bench-strsep.c: New file: strsep benchtest.
9347         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9349 2013-11-18  Andreas Schwab  <schwab@suse.de>
9351         * locale/programs/locale.c (show_info) [case byte]: Check for
9352         '\377' instead of '\177'.
9353         * locale/C-monetary.c (not_available): Always use "\377".
9354         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9355         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9356         detect unavailable sign_posn locale elements.
9357         * locale/localeconv.c (__localeconv): For grouping and
9358         mon_grouping handle "\177" and "\377" like no grouping.
9359         (INT_ELEM): New macro.  Use it to set all numeric members.
9360         * locale/programs/ld-monetary.c (monetary_read)
9361         <tok_mon_grouping>: Normalize single -1 to the empty string.
9362         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9363         Likewise.
9365 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9367         [BZ #16055]
9368         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9369         when we match (nil).
9370         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9372 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9374         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9375         (NO_TEST_INLINE): Update value.
9376         (ERRNO_UNCHANGED): Likewise.
9377         (ERRNO_EDOM): Likewise.
9378         (ERRNO_ERANGE): Likewise.
9379         (IGNORE_RESULT): Likewise.
9380         (check_float_internal): Check signs of NaN results if
9381         TEST_NAN_SIGN used.
9382         (check_complex): Pass TEST_NAN_SIGN flag through to second
9383         check_float_internal call.
9384         (copysign_test_data): Add tests with quiet NaNs as second
9385         argument.  Use TEST_NAN_SIGN.
9386         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9387         TEST_NAN_SIGN.
9388         (signbit_test_data): Add tests of quiet NaN argument.
9389         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9391         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9392         $ignore_result.
9393         (parse_args): Handle function results specified as IGNORE.
9394         * math/libm-test.inc (IGNORE_RESULT): New macro.
9395         (check_float_internal): Do not check numerical result if flag
9396         IGNORE_RESULT set.
9397         (check_complex): Pass through IGNORE_RESULT to second
9398         check_float_internal call.
9399         (check_int): Do not check numerical result if flag IGNORE_RESULT
9400         set.
9401         (check_long): Likewise.
9402         (check_bool): Likewise.
9403         (check_longlong): Likewise.
9404         (lrint_test_data): Add tests of infinite and NaN arguments.
9405         (lrint_tonearest_test_data): Likewise.
9406         (lrint_towardzero_test_data): Likewise.
9407         (lrint_downward_test_data): Likewise.
9408         (lrint_upward_test_data): Likewise.
9409         (llrint_test_data): Likewise.
9410         (llrint_tonearest_test_data): Likewise.
9411         (llrint_towardzero_test_data): Likewise.
9412         (llrint_downward_test_data): Likewise.
9413         (llrint_upward_test_data): Likewise.
9414         (lround_test_data): Likewise.
9415         (llround_test_data): Likewise.
9417         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9418         (ERRNO_UNCHANGED): Update value.
9419         (ERRNO_EDOM): Likewise.
9420         (ERRNO_ERANGE): Likewise.
9421         (NO_TEST_INLINE_FLOAT): New macro.
9422         (NO_TEST_INLINE_DOUBLE): Likewise.
9423         (enable_test): New function.
9424         (RUN_TEST_f_f): Check enable_test before running test.
9425         (RUN_TEST_2_f): Likewise.
9426         (RUN_TEST_fff_f): Likewise.
9427         (RUN_TEST_c_f): Likewise.
9428         (RUN_TEST_f_f1): Likewise.
9429         (RUN_TEST_fF_f1): Likewise.
9430         (RUN_TEST_fI_f1): Likewise.
9431         (RUN_TEST_ffI_f1): Likewise.
9432         (RUN_TEST_c_c): Likewise.
9433         (RUN_TEST_cc_c): Likewise.
9434         (RUN_TEST_f_i): Likewise.
9435         (RUN_TEST_f_i_tg): Likewise.
9436         (RUN_TEST_ff_i_tg): Likewise.
9437         (RUN_TEST_f_b): Likewise.
9438         (RUN_TEST_f_b_tg): Likewise.
9439         (RUN_TEST_f_l): Likewise.
9440         (RUN_TEST_f_L): Likewise.
9441         (RUN_TEST_fFF_11): Likewise.
9442         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9443         conditionals.
9444         (cosh_test_data): Likewise.
9445         (exp_test_data): Likewise.
9446         (expm1_test_data): Likewise.
9447         (hypot_test_data): Likewise.
9448         (pow_test_data): Likewise.
9449         (sinh_test_data): Likewise.
9450         (tanh_test_data): Likewise.
9451         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9452         flags argument.
9454         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9455         tests with quiet NaN input and output.
9456         (acosh_test_data): Likewise.
9457         (asin_test_data): Likewise.
9458         (asinh_test_data): Likewise.
9459         (atan_test_data): Likewise.
9460         (atanh_test_data): Likewise.
9461         (atan2_test_data): Likewise.
9462         (cbrt_test_data): Likewise.
9463         (cos_test_data): Likewise.
9464         (cosh_test_data): Likewise.
9465         (erf_test_data): Likewise.
9466         (erfc_test_data): Likewise.
9467         (exp_test_data): Likewise.
9468         (exp10_test_data): Likewise.
9469         (exp2_test_data): Likewise.
9470         (expm1_test_data): Likewise.
9471         (hypot_test_data): Likewise.
9472         (j0_test_data): Likewise.
9473         (j1_test_data): Likewise.
9474         (jn_test_data): Likewise.
9475         (lgamma_test_data): Likewise.
9476         (log_test_data): Likewise.
9477         (log10_test_data): Likewise.
9478         (log1p_test_data): Likewise.
9479         (log2_test_data): Likewise.
9480         (pow_test_data): Likewise.
9481         (scalb_test_data): Likewise.
9482         (sin_test_data): Likewise.
9483         (sincos_test_data): Likewise.
9484         (sinh_test_data): Likewise.
9485         (tan_test_data): Likewise.
9486         (tanh_test_data): Likewise.
9487         (tgamma_test_data): Likewise.
9488         (y0_test_data): Likewise.
9489         (y1_test_data): Likewise.
9490         (yn_test_data): Likewise.
9492         [BZ #16167]
9493         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9494         argument being NaN and avoid computations with second argument in
9495         that case.
9496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9497         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9498         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9500 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9502         * locale/iso-639.def: Add Chitwani Tharu (the).
9504 2013-11-14  Andreas Schwab  <schwab@suse.de>
9506         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9507         word instead of empty string.
9509 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9512         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9514         (__fe_nomask_env): Likewise.
9516 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9518         * benchtests/bench-timing.h: Include time.h.
9520 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9522         [BZ #15997]
9523         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9524         to 3.4.0 for x32.
9525         * sysdeps/unix/sysv/linux/configure: Regenerated.
9527 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9529         [BZ #16151]
9530         * stdlib/strtod_l.c (round_and_return): Do not consider
9531         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9532         exponent one less than half the least subnormal exponent.
9533         * stdlib/test-strtod-round-data: Add more tests.
9534         * stdlib/tst-strtod-round.c (tests): Regenerated.
9536 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9538         [BZ #14143]
9539         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9540         (__fe_mask_env): Likewise.
9541         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9542         libm_hidden_proto and add function prototype.
9543         (__fe_mask_env): Add function prototype.
9544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9545         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9547         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9549         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9551 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9553         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9554         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9556 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9558         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9559         of htab_find_slot().
9561 2013-11-11  David S. Miller  <davem@davemloft.net>
9563         [BZ #16150]
9564         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9565         symbol in the non-vis3 case in static builds.
9566         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9567         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9568         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9569         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9571 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9573         [BZ #387]
9574         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9575         it is empty.
9577 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9579         * benchtests/Makefile: Add bench-strtod.
9580         * benchtests/bench-strtod.c: New file: strtod benchtest
9582 2013-11-11  Andreas Schwab  <schwab@suse.de>
9584         [BZ #16153]
9585         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9586         terminating NUL in key length.
9588 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9591         Add artificial ODP entry for vDSO symbol for PPC64.
9592         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9593         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9595 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9597         [BZ #15374]
9598         * nss/getent.c (services_keys): Recognize services starting with digit.
9600 2013-11-06  David S. Miller  <davem@davemloft.net>
9602         [BZ #15985]
9603         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9604         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9606 2013-11-06  Will Newton  <will.newton@linaro.org>
9608         * manual/memory.texi (Malloc Examples): Remove register
9609         keyword from examples.
9611 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9613         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9615 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9617         [BZ #6981]
9618         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9619         depending on [__GCC_IEC_559 > 0].
9620         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9621         depending on [__GCC_IEC_559_COMPLEX > 0].
9623 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9625         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9626         to iso-639.def.
9628 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9630         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9632 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9634         [BZ #16112]
9635         * malloc/malloc (malloc_info): Do not handle first bin as
9636         special case.
9638 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9640         * locale/iso-639.def: Add Central Nahuatl (nhn).
9642 2013-11-01  Bruno Haible  <bruno@clisp.org>
9644         [BZ #7003]
9645         * manual/math.texi (BSD Random): Specify range upper bound as
9646         in POSIX.
9648 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9650         * locale/iso-639.def: Add Meadow Mari (mhr).
9652 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9654         [BZ #14752], [BZ #15763]
9655         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9656         Validate name.
9657         * rt/tst_shm.c: Add test for escaping directory.
9659 2013-10-31  Andreas Schwab  <schwab@suse.de>
9661         [BZ #15917]
9662         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9663         followed by 'x' as part of digit sequence.
9664         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9666 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9668         [BZ #16037]
9669         * configure.ac: allow GNU Make 4.0 and greater.
9670         * configure: Regenerated.
9672 2013-10-30  Will Newton  <will.newton@linaro.org>
9674         [BZ #16038]
9675         * malloc/hooks.c (memalign_check): Limit alignment to the
9676         maximum representable power of two.
9677         * malloc/malloc.c (__libc_memalign): Likewise.
9678         * malloc/tst-memalign.c (do_test): Add test for very
9679         large alignment values.
9680         * malloc/tst-posix_memalign.c (do_test): Likewise.
9682 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9684         [BZ #11087]
9685         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9686         (munmap_chunk): Likewise.
9687         (mremap_chunk): Likewise.
9689 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9691         [BZ #15799]
9692         * stdlib/div.c (div): Remove obsolete code.
9693         * stdlib/ldiv.c (ldiv): Likewise.
9694         * stdlib/lldiv.c (lldiv): Likewise.
9696 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9698         [BZ #16071]
9699         * nss/nss_files/files-XXX.c (get_contents_ret): New
9700         enumerator.
9701         (get_contents): New function.
9702         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9704 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9706         * configure.in: Moved to ...
9707         * configure.ac: ... here. Change reference to configure.in
9708         to configure.ac.
9709         * sysdeps/arm/preconfigure.ac: ... here.
9710         configure.in to configure.ac.
9711         * sysdeps/gnu/configure.in: Moved to ...
9712         * sysdeps/gnu/configure.ac: ... here.
9713         * sysdeps/i386/configure.in: Moved to ...
9714         * sysdeps/i386/configure.ac: ... here.
9715         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9716         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9717         * sysdeps/mach/configure.in: Moved to ...
9718         * sysdeps/mach/configure.ac: ... here.
9719         * sysdeps/mach/hurd/configure.in: Moved to ...
9720         * sysdeps/mach/hurd/configure.ac: ... here.
9721         * sysdeps/powerpc/configure.in: Moved to ...
9722         * sysdeps/powerpc/configure.ac: ... here.
9723         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9724         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9725         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9726         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9727         * sysdeps/s390/s390-32/configure.in: Moved to ...
9728         * sysdeps/s390/s390-32/configure.ac: ... here.
9729         * sysdeps/s390/s390-64/configure.in: Moved to ...
9730         * sysdeps/s390/s390-64/configure.ac: ... here.
9731         * sysdeps/sh/configure.in: Moved to ...
9732         * sysdeps/sh/configure.ac: ... here.
9733         * sysdeps/sparc/configure.in: Moved to ...
9734         * sysdeps/sparc/configure.ac: ... here.
9735         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9736         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9737         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9738         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9739         * sysdeps/x86_64/configure.in: Moved to ...
9740         * sysdeps/x86_64/configure.ac: ... here.
9741         * sysdeps/x86_64/preconfigure.in: Moved to ...
9742         * sysdeps/x86_64/preconfigure.ac: ... here.
9743         * aclocal.m4: Change reference to configure.in to configure.ac.
9744         * config.h.in: Likewise.
9745         * manual/install.texi: Likewise.
9746         * manual/maint.texi: Likewise.
9747         * Makefile: Likewise.
9748         * malloc/Makefile: Likewise.
9749         * nscd/Makefile: Likewise.
9750         * Makeconfig: Change reference to configure.in and
9751         preconfigure.in to configure.ac and preconfigure.ac
9752         respectively.
9753         * INSTALL: Regenerated.
9754         * configure: Likewise.
9755         * sysdeps/gnu/configure: Likewise.
9756         * sysdeps/i386/configure: Likewise.
9757         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9758         * sysdeps/mach/configure: Likewise.
9759         * sysdeps/mach/hurd/configure: Likewise.
9760         * sysdeps/powerpc/configure: Likewise.
9761         * sysdeps/powerpc/powerpc32/configure: Likewise.
9762         * sysdeps/powerpc/powerpc64/configure: Likewise.
9763         * sysdeps/s390/s390-32/configure: Likewise.
9764         * sysdeps/s390/s390-64/configure: Likewise.
9765         * sysdeps/sh/configure: Likewise.
9766         * sysdeps/sparc/configure: Likewise.
9767         * sysdeps/unix/sysv/linux/configure: Likewise.
9768         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9769         * sysdeps/x86_64/configure: Likewise.
9770         * sysdeps/x86_64/preconfigure: Likewise.
9772 2013-10-29  Andreas Schwab  <schwab@suse.de>
9774         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9776 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9778         * benchtests/pow-inputs: Add new inputs.
9780         * benchtests/exp-inputs: Add new inputs.
9782         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9783         conditional check for return value.
9784         (__cos32): Likewise.
9786 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9788         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9789         to provide a boost for large inputs with word alignment.
9790         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9791         implementation based on optimized PPC64 strcpy.
9792         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9793         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9794         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9795         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9797 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9799         [BZ #2801]
9800         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9802 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9804         [BZ #14876]
9805         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9806         * time/tst-strptime.c (day_tests): Add testcase.
9808 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9810         [BZ #14029]
9811         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9813 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9815         [BZ #16074]
9816         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9817         MAP_FAILED on error.
9819 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9821         [BZ #16072]
9822         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9823         heap for large requests.
9825 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9827         [BZ #9954]
9828         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9829         result if the result has no associated interface.
9830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9831         interface for all 127.X.Y.Z addresses.
9833 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9835         * locale/iso-639.def: Add Ligurian (lij)
9837 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9839         [BZ #15825]
9840         * sunrpc/rpc_main.c: Document rpcgen -5.
9842 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9844         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9846 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9848         [BZ #10278]
9849         * posix/glob.c: Match only directories when trailing slash is present.
9850         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9851         (main): Add testcase.
9853 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9855         [BZ #15670]
9856         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9858 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9860         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9861         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9862         AUTH_DES and cindex for FIPS 140-2.
9863         (DES Encryption): Add cindex FIPS 46-3.
9865         * locale/locarchive.h (struct locarhandle): Add fname.
9866         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9867         if an optional argument was specified to --list-archive,
9868         otherwise NULL.
9869         * locale/programs/locarchive.c (show_archive_content): Take new
9870         argument fname and pass it via ah.fname to open_archive.
9871         * locale/programs/localedef.h: Update decl.
9872         (open_archive): If AH->fname is non-null, open that file
9873         rather than the default file name, and don't ignore ENOENT.
9874         (create_archive): Set AH.fname to NULL.
9875         (delete_locales_from_archive): Likewise.
9876         (add_locales_to_archive): Likewise.
9877         * locale/programs/locfile.c (write_all_categories): Likewise.
9879 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9880             Aldy Hernandez  <aldyh@redhat.com>
9882         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9883         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9884         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9885         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9886         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9890         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9892         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9894         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9895         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9896         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9897         Likewise.
9898         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9899         Likewise.
9900         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9901         Likewise.
9902         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9903         Likewise.
9904         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9905         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9906         Likewise.
9907         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9908         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9909         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9910         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9911         Likewise.
9912         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9913         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9914         * sysdeps/powerpc/preconfigure: Likewise.
9915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9916         Likewise.
9917         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9918         Replace contents of file by #include of <fenv_libc.h>.
9919         * sysdeps/powerpc/soft-fp/sfp-machine.h
9920         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9921         and <sys/prctl.h>.
9922         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9935         Allow copysignl PLT reference to be missing.
9937 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
9938             Joseph Myers  <joseph@codesourcery.com
9940         [BZ #15948]
9941         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9942         single character.
9943         (add_to_tablewc): Assert sequence of wide characters is nonempty.
9945 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9947         * elf/tst-tls-dlinfo.c: Don't include tls.h.
9948         * elf/tst-tls1.c: Likewise.
9949         * elf/tst-tls10.h: Likewise.
9950         * elf/tst-tls14.c: Likewise.
9951         * elf/tst-tls2.c: Likewise.
9952         * elf/tst-tls3.c: Likewise.
9953         * elf/tst-tls4.c: Likewise.
9954         * elf/tst-tls5.c: Likewise.
9955         * elf/tst-tls6.c: Likewise.
9956         * elf/tst-tls7.c: Likewise.
9957         * elf/tst-tls8.c: Likewise.
9958         * elf/tst-tls9.c: Likewise.
9959         * elf/tst-tlsmod1.c: Likewise.
9960         * elf/tst-tlsmod13.c: Likewise.
9961         * elf/tst-tlsmod13a.c: Likewise.
9962         * elf/tst-tlsmod14a.c: Likewise.
9963         * elf/tst-tlsmod16a.c: Likewise.
9964         * elf/tst-tlsmod16b.c: Likewise.
9965         * elf/tst-tlsmod2.c: Likewise.
9966         * elf/tst-tlsmod3.c: Likewise.
9967         * elf/tst-tlsmod4.c: Likewise.
9968         * elf/tst-tlsmod5.c: Likewise.
9969         * elf/tst-tlsmod6.c: Likewise.
9971 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
9973         [BZ #12486]
9974         * malloc/malloc.c: remove checks for statistics.
9976 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9978         [BZ #15277]
9979         * inet/inet_net.c (inet_network): Detect additional invalid strings.
9980         * inet/tst-network.c: Add testcase.
9982 2013-10-17  Andreas Schwab  <schwab@suse.de>
9984         [BZ #15218]
9985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9986         to determine canonical name.
9988 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9990         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9991         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9992         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9993         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9995         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9996         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9997         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9998         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9999         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10000         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10001         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10002         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10003         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10014         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10015         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10016         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10017         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10018         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10019         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10022         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10023         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10024         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10025         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10026         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10027         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10028         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10030         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10031         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10032         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10033         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10034         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10035         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10036         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10037         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10038         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10039         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10040         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10041         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10042         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10043         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10044         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10045         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10046         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10047         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10049 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10051         [BZ #16041]
10052         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10053         make result into a quiet NaN.
10055 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10057         * soft-fp/adddf3.c: Fix horizontal whitespace.
10058         * soft-fp/addsf3.c: Likewise.
10059         * soft-fp/addtf3.c: Likewise.
10060         * soft-fp/divdf3.c: Likewise.
10061         * soft-fp/divsf3.c: Likewise.
10062         * soft-fp/divtf3.c: Likewise.
10063         * soft-fp/double.h: Likewise.
10064         * soft-fp/eqdf2.c: Likewise.
10065         * soft-fp/eqsf2.c: Likewise.
10066         * soft-fp/eqtf2.c: Likewise.
10067         * soft-fp/extenddftf2.c: Likewise.
10068         * soft-fp/extended.h: Likewise.
10069         * soft-fp/extendsfdf2.c: Likewise.
10070         * soft-fp/extendsftf2.c: Likewise.
10071         * soft-fp/extendxftf2.c: Likewise.
10072         * soft-fp/fixdfdi.c: Likewise.
10073         * soft-fp/fixdfsi.c: Likewise.
10074         * soft-fp/fixdfti.c: Likewise.
10075         * soft-fp/fixsfdi.c: Likewise.
10076         * soft-fp/fixsfsi.c: Likewise.
10077         * soft-fp/fixsfti.c: Likewise.
10078         * soft-fp/fixtfdi.c: Likewise.
10079         * soft-fp/fixtfsi.c: Likewise.
10080         * soft-fp/fixtfti.c: Likewise.
10081         * soft-fp/fixunsdfdi.c: Likewise.
10082         * soft-fp/fixunsdfsi.c: Likewise.
10083         * soft-fp/fixunsdfti.c: Likewise.
10084         * soft-fp/fixunssfdi.c: Likewise.
10085         * soft-fp/fixunssfsi.c: Likewise.
10086         * soft-fp/fixunssfti.c: Likewise.
10087         * soft-fp/fixunstfdi.c: Likewise.
10088         * soft-fp/fixunstfsi.c: Likewise.
10089         * soft-fp/fixunstfti.c: Likewise.
10090         * soft-fp/floatdidf.c: Likewise.
10091         * soft-fp/floatdisf.c: Likewise.
10092         * soft-fp/floatditf.c: Likewise.
10093         * soft-fp/floatsidf.c: Likewise.
10094         * soft-fp/floatsisf.c: Likewise.
10095         * soft-fp/floatsitf.c: Likewise.
10096         * soft-fp/floattidf.c: Likewise.
10097         * soft-fp/floattisf.c: Likewise.
10098         * soft-fp/floattitf.c: Likewise.
10099         * soft-fp/floatundidf.c: Likewise.
10100         * soft-fp/floatundisf.c: Likewise.
10101         * soft-fp/floatunditf.c: Likewise.
10102         * soft-fp/floatunsidf.c: Likewise.
10103         * soft-fp/floatunsisf.c: Likewise.
10104         * soft-fp/floatunsitf.c: Likewise.
10105         * soft-fp/floatuntidf.c: Likewise.
10106         * soft-fp/floatuntisf.c: Likewise.
10107         * soft-fp/floatuntitf.c: Likewise.
10108         * soft-fp/fmadf4.c: Likewise.
10109         * soft-fp/fmasf4.c: Likewise.
10110         * soft-fp/fmatf4.c: Likewise.
10111         * soft-fp/gedf2.c: Likewise.
10112         * soft-fp/gesf2.c: Likewise.
10113         * soft-fp/getf2.c: Likewise.
10114         * soft-fp/ledf2.c: Likewise.
10115         * soft-fp/lesf2.c: Likewise.
10116         * soft-fp/letf2.c: Likewise.
10117         * soft-fp/muldf3.c: Likewise.
10118         * soft-fp/mulsf3.c: Likewise.
10119         * soft-fp/multf3.c: Likewise.
10120         * soft-fp/negdf2.c: Likewise.
10121         * soft-fp/negsf2.c: Likewise.
10122         * soft-fp/negtf2.c: Likewise.
10123         * soft-fp/op-1.h: Likewise.
10124         * soft-fp/op-2.h: Likewise.
10125         * soft-fp/op-4.h: Likewise.
10126         * soft-fp/op-8.h: Likewise.
10127         * soft-fp/op-common.h: Likewise.
10128         * soft-fp/quad.h: Likewise.
10129         * soft-fp/single.h: Likewise.
10130         * soft-fp/soft-fp.h: Likewise.
10131         * soft-fp/sqrtdf2.c: Likewise.
10132         * soft-fp/sqrtsf2.c: Likewise.
10133         * soft-fp/sqrttf2.c: Likewise.
10134         * soft-fp/subdf3.c: Likewise.
10135         * soft-fp/subsf3.c: Likewise.
10136         * soft-fp/subtf3.c: Likewise.
10137         * soft-fp/truncdfsf2.c: Likewise.
10138         * soft-fp/trunctfdf2.c: Likewise.
10139         * soft-fp/trunctfsf2.c: Likewise.
10140         * soft-fp/trunctfxf2.c: Likewise.
10141         * soft-fp/unorddf2.c: Likewise.
10142         * soft-fp/unordsf2.c: Likewise.
10143         * soft-fp/unordtf2.c: Likewise.
10145 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10147         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10148         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10150 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10152         * elf/dl-libc.c: Clear initfini list after freeing.
10154 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10156         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10157         * soft-fp/addsf3.c: Likewise.
10158         * soft-fp/addtf3.c: Likewise.
10159         * soft-fp/divdf3.c: Likewise.
10160         * soft-fp/divsf3.c: Likewise.
10161         * soft-fp/divtf3.c: Likewise.
10162         * soft-fp/double.h: Likewise.
10163         * soft-fp/eqdf2.c: Likewise.
10164         * soft-fp/eqsf2.c: Likewise.
10165         * soft-fp/eqtf2.c: Likewise.
10166         * soft-fp/extenddftf2.c: Likewise.
10167         * soft-fp/extended.h: Likewise.
10168         * soft-fp/extendsfdf2.c: Likewise.
10169         * soft-fp/extendsftf2.c: Likewise.
10170         * soft-fp/extendxftf2.c: Likewise.
10171         * soft-fp/fixdfdi.c: Likewise.
10172         * soft-fp/fixdfsi.c: Likewise.
10173         * soft-fp/fixdfti.c: Likewise.
10174         * soft-fp/fixsfdi.c: Likewise.
10175         * soft-fp/fixsfsi.c: Likewise.
10176         * soft-fp/fixsfti.c: Likewise.
10177         * soft-fp/fixtfdi.c: Likewise.
10178         * soft-fp/fixtfsi.c: Likewise.
10179         * soft-fp/fixtfti.c: Likewise.
10180         * soft-fp/fixunsdfdi.c: Likewise.
10181         * soft-fp/fixunsdfsi.c: Likewise.
10182         * soft-fp/fixunsdfti.c: Likewise.
10183         * soft-fp/fixunssfdi.c: Likewise.
10184         * soft-fp/fixunssfsi.c: Likewise.
10185         * soft-fp/fixunssfti.c: Likewise.
10186         * soft-fp/fixunstfdi.c: Likewise.
10187         * soft-fp/fixunstfsi.c: Likewise.
10188         * soft-fp/fixunstfti.c: Likewise.
10189         * soft-fp/floatdidf.c: Likewise.
10190         * soft-fp/floatdisf.c: Likewise.
10191         * soft-fp/floatditf.c: Likewise.
10192         * soft-fp/floatsidf.c: Likewise.
10193         * soft-fp/floatsisf.c: Likewise.
10194         * soft-fp/floatsitf.c: Likewise.
10195         * soft-fp/floattidf.c: Likewise.
10196         * soft-fp/floattisf.c: Likewise.
10197         * soft-fp/floattitf.c: Likewise.
10198         * soft-fp/floatundidf.c: Likewise.
10199         * soft-fp/floatundisf.c: Likewise.
10200         * soft-fp/floatunsidf.c: Likewise.
10201         * soft-fp/floatunsisf.c: Likewise.
10202         * soft-fp/floatuntidf.c: Likewise.
10203         * soft-fp/floatuntisf.c: Likewise.
10204         * soft-fp/floatuntitf.c: Likewise.
10205         * soft-fp/fmadf4.c: Likewise.
10206         * soft-fp/fmasf4.c: Likewise.
10207         * soft-fp/fmatf4.c: Likewise.
10208         * soft-fp/gedf2.c: Likewise.
10209         * soft-fp/gesf2.c: Likewise.
10210         * soft-fp/getf2.c: Likewise.
10211         * soft-fp/ledf2.c: Likewise.
10212         * soft-fp/lesf2.c: Likewise.
10213         * soft-fp/letf2.c: Likewise.
10214         * soft-fp/muldf3.c: Likewise.
10215         * soft-fp/mulsf3.c: Likewise.
10216         * soft-fp/multf3.c: Likewise.
10217         * soft-fp/negdf2.c: Likewise.
10218         * soft-fp/negsf2.c: Likewise.
10219         * soft-fp/negtf2.c: Likewise.
10220         * soft-fp/op-1.h: Likewise.
10221         * soft-fp/op-2.h: Likewise.
10222         * soft-fp/op-4.h: Likewise.
10223         * soft-fp/op-8.h: Likewise.
10224         * soft-fp/op-common.h: Likewise.
10225         * soft-fp/quad.h: Likewise.
10226         * soft-fp/single.h: Likewise.
10227         * soft-fp/soft-fp.h: Likewise.
10228         * soft-fp/sqrtdf2.c: Likewise.
10229         * soft-fp/sqrtsf2.c: Likewise.
10230         * soft-fp/sqrttf2.c: Likewise.
10231         * soft-fp/subdf3.c: Likewise.
10232         * soft-fp/subsf3.c: Likewise.
10233         * soft-fp/subtf3.c: Likewise.
10234         * soft-fp/truncdfsf2.c: Likewise.
10235         * soft-fp/trunctfdf2.c: Likewise.
10236         * soft-fp/trunctfsf2.c: Likewise.
10237         * soft-fp/trunctfxf2.c: Likewise.
10238         * soft-fp/unorddf2.c: Likewise.
10239         * soft-fp/unordsf2.c: Likewise.
10240         * soft-fp/unordtf2.c: Likewise.
10242 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10244         [BZ #15672]
10245         * misc/error.c (error_tail): Fix possible buffer overflow.
10247 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10249         [BZ #13028]
10250         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10251         address.
10253 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10255         [BZ #832]
10256         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10257         testing pipefail option.
10259 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10261         * soft-fp/double.h: Indent preprocessor directives inside #if.
10262         * soft-fp/extended.h: Likewise.
10263         * soft-fp/op-2.h: Likewise.
10264         * soft-fp/op-4.h: Likewise.
10265         * soft-fp/op-common.h: Likewise.
10266         * soft-fp/quad.h: Likewise.
10267         * soft-fp/single.h: Likewise.
10268         * soft-fp/soft-fp.h: Likewise.
10270 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10272         * iconv/iconv_prog.c: Fix typos.
10273         * stdio-common/psiginfo-data.h: Likewise.
10275 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10277         [BZ #15764]
10278         * locale/setlocale.c: Fix typo.
10280 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #16036]
10283         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10284         signaling NaN arguments.
10285         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10286         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10288         [BZ #14910]
10289         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10290         unordered operands.
10291         * soft-fp/gesf2.c (__gesf2): Likewise.
10292         * soft-fp/getf2.c (__getf2): Likewise.
10293         * soft-fp/ledf2.c (__ledf2): Likewise.
10294         * soft-fp/lesf2.c (__lesf2): Likewise.
10295         * soft-fp/letf2.c (__letf2): Likewise.
10297         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10298         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10299         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10300         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10301         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10302         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10303         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10304         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10305         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10306         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10307         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10308         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10309         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10310         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10311         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10312         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10313         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10314         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10315         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10316         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10317         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10318         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10319         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10320         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10321         * soft-fp/floattidf.c (__floattidf): Likewise.
10322         * soft-fp/floattisf.c (__floattisf): Likewise.
10323         * soft-fp/floattitf.c (__floattitf): Likewise.
10324         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10325         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10326         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10327         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10328         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10329         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10330         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10331         * soft-fp/gesf2.c (__gesf2): Likewise.
10332         * soft-fp/getf2.c (__getf2): Likewise.
10333         * soft-fp/ledf2.c (__ledf2): Likewise.
10334         * soft-fp/lesf2.c (__lesf2): Likewise.
10335         * soft-fp/letf2.c (__letf2): Likewise.
10337         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10338         Undefine and redefine.
10339         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10340         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10341         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10342         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10343         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10344         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10345         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10346         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10347         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10348         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10349         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10350         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10351         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10352         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10353         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10355         [BZ #16032]
10356         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10357         without decrementing exponent if mantissa >= that for the
10358         denominator, not >.
10359         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10360         denominator, not >.  Decrement exponent in < case instead of
10361         incrementing in >= case.
10362         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10363         without decrementing exponent if mantissa >= that for the
10364         denominator, not >.
10366         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10367         computing saturated result for unsigned overflow.
10369 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10370             Jeff Law  <law@redhat.com>
10372         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10373         (atan2Mp): Add systemtap probe marker.
10374         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10375         (__ieee754_log): Add systemtap probe marker.
10376         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10377         (atanMp): Add systemtap probe marker.
10378         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10379         (tanMp): Add systemtap probe marker.
10380         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10381         (__slowexp): Add systemtap probe marker.
10382         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10383         (__slowpow): Add systemtap probe marker.
10384         * manual/probes.texi: Document probes.
10386 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10388         [BZ #15362]
10389         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10390         written.
10391         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10392         written.
10393         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10394         written to buffer but not flushed.
10395         * libio/iofwrite_u.c:  Likewise.
10396         * libio/iopadn.c:  Return bytes returned even if EOF was
10397         encountered.
10398         * libio/iowpadn.c:  Likewise.
10399         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10400         if _IO_padn does not write the whole buffer.
10401         [!COMPILE_WPRINTF] (PAD): Likewise.
10403 2013-10-10  David S. Miller  <davem@davemloft.net>
10405         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10406         directory block.
10408 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10410         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10411         instead of FSF address.
10412         * soft-fp/fixdfti.c: Likewise.
10413         * soft-fp/fixsfti.c: Likewise.
10414         * soft-fp/fixtfti.c: Likewise.
10415         * soft-fp/fixunsdfti.c: Likewise.
10416         * soft-fp/fixunssfti.c: Likewise.
10417         * soft-fp/fixunstfti.c: Likewise.
10418         * soft-fp/floattidf.c: Likewise.
10419         * soft-fp/floattisf.c: Likewise.
10420         * soft-fp/floattitf.c: Likewise.
10421         * soft-fp/floatuntidf.c: Likewise.
10422         * soft-fp/floatuntisf.c: Likewise.
10423         * soft-fp/floatuntitf.c: Likewise.
10424         * soft-fp/trunctfxf2.c: Likewise.
10426         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10427         * soft-fp/fixdfti.c: Likewise.
10428         * soft-fp/fixsfti.c: Likewise.
10429         * soft-fp/fixtfti.c: Likewise.
10430         * soft-fp/fixunsdfti.c: Likewise.
10431         * soft-fp/fixunssfti.c: Likewise.
10432         * soft-fp/fixunstfti.c: Likewise.
10433         * soft-fp/floattidf.c: Likewise.
10434         * soft-fp/floattisf.c: Likewise.
10435         * soft-fp/floattitf.c: Likewise.
10436         * soft-fp/floatuntidf.c: Likewise.
10437         * soft-fp/floatuntisf.c: Likewise.
10438         * soft-fp/floatuntitf.c: Likewise.
10439         * soft-fp/trunctfxf2.c: Likewise.
10441 2013-10-10  David S. Miller  <davem@davemloft.net>
10443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10445 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10447         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10448         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10449         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10450         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10451         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10452         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10453         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10456         for NaNs before doing comparisons on argument.
10457         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10458         Likewise.
10460 2013-10-10  Will Newton  <will.newton@linaro.org>
10462         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10463         passed to _int_memalign does not overflow.
10465 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10467         * scripts/bench.pl: Add include-sources directive.
10468         * benchtests/README: Update documentation.
10470 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10472         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10473         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10474         instead of FP_INIT_ROUNDMODE.
10475         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10476         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10478         [BZ #16034]
10479         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10480         copy class of input value.
10481         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10482         not handle exceptions.
10483         * soft-fp/negsf2.c (__negsf2): Likewise.
10484         * soft-fp/negtf2.c (__negtf2): Likewise.
10485         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10487 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10489         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10490         semicolon.  From Linux kernel.
10492 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10494         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10496 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10498         [BZ #156]
10499         * manual/socket.texi: Added statement about buffer
10500         for gethostbyname2_r.
10502 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10504         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10505         Use .p2align directive instead, throughout.
10506         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10507         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10508         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10509         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10510         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10511         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10512         * sysdeps/x86_64/strchr.S: Likewise.
10513         * sysdeps/x86_64/strrchr.S: Likewise.
10515 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10517         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10519         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10521         * sysdeps/generic/math_private.h (__mpsin1): Remove
10522         declaration.
10523         (__mpcos1): Likewise.
10524         (__mpsin): New argument __range_reduce.
10525         (__mpcos): Likewise.
10526         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10527         (slow): Use __mpsin and __mpcos.
10528         (slow1): Likewise.
10529         (slow2): Likewise.
10530         (sloww): Likewise.
10531         (sloww1): Likewise.
10532         (sloww2): Likewise.
10533         (bsloww): Likewise.
10534         (bsloww1): Likewise.
10535         (bsloww2): Likewise.
10536         (cslow2): Likewise.
10537         (csloww): Likewise.
10538         (csloww1): Likewise.
10539         (csloww2): Likewise.
10540         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10541         range_reduce.  Merge in __mpsin1.
10542         (__mpcos): Likewise.
10543         (__mpsin1): Remove.
10544         (__mpcos1): Likewise.
10546 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10548         * locale/loadlocale.c (_nl_intern_locale_data): Use
10549         LOCFILE_ALIGNED_P.
10550         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10551         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10552         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10553         obstack data is appropriately aligned.
10554         (obstack_int32_grow_fast): Likewise.
10555         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10556         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10557         (add_locale_uint32_array): Likewise.
10559 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10561         * benchtests/Makefile: Remove ARGLIST and RET variables.
10562         ($(objpfx)bench-%.c): Pass only function name to the script.
10563         * benchtests/README: Update documentation.
10564         * benchtests/acos-inputs: Add new directives.
10565         * benchtests/acosh-inputs: Likewise.
10566         * benchtests/asin-inputs: Likewise.
10567         * benchtests/asinh-inputs: Likewise.
10568         * benchtests/atan-inputs: Likewise.
10569         * benchtests/atanh-inputs: Likewise.
10570         * benchtests/cos-inputs: Likewise.
10571         * benchtests/cosh-inputs: Likewise.
10572         * benchtests/exp-inputs: Likewise.
10573         * benchtests/log-inputs: Likewise.
10574         * benchtests/pow-inputs: Likewise.
10575         * benchtests/rint-inputs: Likewise.
10576         * benchtests/sin-inputs: Likewise.
10577         * benchtests/sinh-inputs: Likewise.
10578         * benchtests/tan-inputs: Likewise.
10579         * benchtests/tanh-inputs: Likewise.
10580         * scripts/bench.pl: Add support for new directives.
10582 2013-10-07  Alan Modra  <amodra@gmail.com>
10584         * README: Fix careless merge.
10586 2013-10-05  Alan Modra  <amodra@gmail.com>
10588         * NEWS: Mention powerpc64le support and bugs fixed.
10589         * README: Both big-endian and little-endian powerpc64 supported.
10591 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10593         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10594         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10595         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10596         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10598 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10600         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10601         match prototype.
10603 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10605         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10606         Move -mhard-float appending from
10607         ports/sysdeps/powerpc/powerpc32/Makefile.
10608         [$(with-fp) = yes] (ASFLAGS): Likewise.
10609         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10610         * sysdeps/powerpc/nofpu: Move directory from
10611         ports/sysdeps/powerpc/nofpu.
10612         * sysdeps/powerpc/soft-fp: Move directory from
10613         ports/sysdeps/powerpc/soft-fp.
10614         * sysdeps/powerpc/powerpc32/405: Move directory from
10615         ports/sysdeps/powerpc/powerpc32/405.
10616         * sysdeps/powerpc/powerpc32/440: Move directory from
10617         ports/sysdeps/powerpc/powerpc32/440.
10618         * sysdeps/powerpc/powerpc32/464: Move directory from
10619         ports/sysdeps/powerpc/powerpc32/464.
10620         * sysdeps/powerpc/powerpc32/476: Move directory from
10621         ports/sysdeps/powerpc/powerpc32/476.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10623         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10625         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10627         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10629         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10631         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10632         * README: Update for powerpc-*-linux-gnu software floating point
10633         support in libc.
10635         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10636         case to powerpc/powerpc32*.
10637         * sysdeps/unix/sysv/linux/configure: Regenerated.
10639         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10640         (_FPU_MASK_OM): Define as 0x04.
10641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10643         0x00c10080.
10644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10645         0x0000003c.
10646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10649         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10650         getcontext_e500.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10653         setcontext_e500.
10654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10655         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10656         and setcontext_e500.
10658 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10660         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10662 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664         * manual/threads.texi (Default Thread Attributes): Fix typo.
10666 2013-10-04  Will Newton  <will.newton@linaro.org>
10668         * malloc/Makefile: Add tst-memalign.
10669         * malloc/tst-memalign.c: New file.
10671         * malloc/tst-posix_memalign.c: Add comments.
10672         (do_test): Add comments and call free on all potentially
10673         allocated pointers. Add space after cast.
10675         * malloc/tst-pvalloc.c: Add comments.
10676         (do_test): Add comments and call free on all potentially
10677         allocated pointers. Remove duplicate check for NULL pointer.
10678         Add space after cast.
10680         * malloc/tst-valloc.c: Add comments.
10681         (do_test): Add comments and call free on all potentially
10682         allocated pointers. Remove duplicate check for NULL pointer.
10683         Add space after cast.
10685 2013-10-04  Alan Modra  <amodra@gmail.com>
10687         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10688         Use stdint types in rather than __attribute__((mode())).
10689         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10691 2013-10-04  Alan Modra  <amodra@gmail.com>
10693         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10694         Correct handling of unaligned relocs for little-endian.
10695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10697 2013-10-04  Alan Modra  <amodra@gmail.com>
10699         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10700         * configure: Regenerate.
10701         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10702         * shlib-versions: Likewise.
10704 2013-10-04  Alan Modra  <amodra@gmail.com>
10706         * string/tester.c (test_memrchr): Increment reported test cycle.
10708 2013-10-04  Alan Modra  <amodra@gmail.com>
10710         * string/test-memcpy.c (do_one_test): When reporting errors, print
10711         string address and don't overrun end of string.
10713 2013-10-04  Alan Modra  <amodra@gmail.com>
10715         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10716         insrdi.  Make better use of reg selection to speed exit slightly.
10717         Schedule entry path a little better.  Remove useless "are we done"
10718         checks on entry to main loop.  Handle wrapping around zero address.
10719         Correct main loop count.  Handle single left-over word from main
10720         loop inline rather than by using loop_small.  Remove extra word
10721         case in loop_small caused by wrong loop count.  Add little-endian
10722         support.
10723         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10725         cache hint.
10726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10727         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10728         support.  Avoid rlwimi.
10729         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10731 2013-10-04  Alan Modra  <amodra@gmail.com>
10733         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10734         insrdi.  Formatting.
10735         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10736         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10737         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10738         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10739         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10740         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10742 2013-10-04  Alan Modra  <amodra@gmail.com>
10744         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10747         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10748         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10749         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10751         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10752         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10753         use of regs.  Use power7 mtocrf.  Tidy function tails.
10755 2013-10-04  Alan Modra  <amodra@gmail.com>
10757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10758         Formatting.  Consistently use rXXX register defines or rN defines.
10759         Use early exit labels that avoid restoring unused non-volatile regs.
10760         Make cr field use more consistent with rWORDn compares.  Rename
10761         regs used as shift registers for unaligned loop, using rN defines
10762         for short lifetime/multiple use regs.
10763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10765         addi 1,1,64 to pop stack frame.  Simplify return value code.
10766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10768 2013-10-04  Alan Modra  <amodra@gmail.com>
10770         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10771         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10772         rather than rlwimi.
10773         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10774         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10775         little-endian support.  Correct typos.
10776         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10777         rather than rlwimi.
10778         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10779         in loop and entry code to keep "and." results.
10780         (strchr): Add little-endian support.  Comment.  Move cntlzd
10781         earlier in tail.
10782         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10784 2013-10-04  Alan Modra  <amodra@gmail.com>
10786         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10787         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10788         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10789         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10791 2013-10-04  Alan Modra  <amodra@gmail.com>
10793         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10794         (rTMP): Define as r11.
10795         (strcmp): Add little-endian support.  Optimise tail.
10796         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10797         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10798         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10799         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10800         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10804 2013-10-04  Alan Modra  <amodra@gmail.com>
10806         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10807         little-endian support.  Remove unnecessary "are we done" tests.
10808         Handle "s" wrapping around zero and extremely large "size".
10809         Correct main loop count.  Handle single left-over word from main
10810         loop inline rather than by using small_loop.  Correct comments.
10811         Delete "zero" tail, use "end_max" instead.
10812         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10814 2013-10-04  Alan Modra  <amodra@gmail.com>
10816         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10817         support.  Don't branch over align.
10818         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10819         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10820         support.  Rearrange tmp reg use to suit.  Comment.
10821         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10823 2013-10-04  Alan Modra  <amodra@gmail.com>
10825         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10827 2013-10-04  Alan Modra  <amodra@gmail.com>
10829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10830         conditional form of branch and link when obtaining pc.
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10833 2013-10-04  Alan Modra  <amodra@gmail.com>
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10836         HIWORD/LOWORD.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10840 2013-10-04  Alan Modra  <amodra@gmail.com>
10842         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10843         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10844         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10845         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10846         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10847         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10848         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10849         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10850         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10851         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10853 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10854             Alistair Popple <alistair@ozlabs.au.ibm.com>
10855             Alan Modra <amodra@gmail.com>
10857         [BZ #15723]
10858         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10859         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10860         _dl_hwcap access for little-endian.
10861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10862         destroy vmx regs when saving unaligned.
10863         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10864         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10865         destroy vmx regs when saving unaligned.
10867 2013-10-04  Alan Modra  <amodra@gmail.com>
10869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10870         Don't use a union to pack hi/low value.
10872 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10874         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10875         for little-endian.
10876         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10877         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10878         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10879         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10880         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10882 2013-10-04  Alan Modra  <amodra@gmail.com>
10884         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10885         constants to usual value for .cst8 section, and remove redundant
10886         high address load.
10887         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10888         constant for 0x1p52.  Load little-endian words of double from
10889         correct stack offsets.
10891 2013-10-04  Alan Modra  <amodra@gmail.com>
10893         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10894         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10895         words of double from correct stack offsets.
10896         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10897         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10898         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10899         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10900         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10901         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10902         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10903         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10904         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10907         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10908         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10910         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10911         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10912         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10914 2013-10-04  Alan Modra  <amodra@gmail.com>
10916         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10917         64-bit int/double union.
10918         (_FPU_SETCW): Likewise.
10919         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10920         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10922 2013-10-04  Alan Modra  <amodra@gmail.com>
10924         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10925         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10927 2013-10-04  Alan Modra  <amodra@gmail.com>
10929         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10930         use vector int constants.
10931         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10933 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10935         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10936         array with long long.
10937         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10938         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10939         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10940         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10941         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10942         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10943         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10944         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10945         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10946         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10947         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10948         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10949         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10951 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10953         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10954         (__signbit): Likewise.  Correct for little-endian.
10955         (__signbitl): Call __signbit.
10956         (lrint): Correct for little-endian.
10957         (lrintf): Call lrint.
10959 2013-10-04  Alan Modra  <amodra@gmail.com>
10961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10962         union 32-bit int array member with 64-bit int array.
10963         (t515, tm256): Double rather than long double.
10964         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10966 2013-10-04  Alan Modra  <amodra@gmail.com>
10968         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10969         Delete.
10970         (IEEE854_LONG_DOUBLE_BIAS): Delete.
10971         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10972         version of math_ldbl.h.
10974 2013-10-04  Alan Modra  <amodra@gmail.com>
10976         [BZ #15734], [BZ #15735]
10977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10978         all uses of ieee875 long double macros and unions.  Simplify test
10979         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
10980         ldbl_extract_mantissa value for ix,iy exponents.  Properly
10981         normalize after ldbl_extract_mantissa, and don't add hidden bit
10982         already handled.  Don't treat low word of ieee854 mantissa like
10983         low word of IBM long double and mask off bit when testing for
10984         zero.
10985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10986         all uses of ieee875 long double macros and unions.  Simplify tests
10987         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
10988         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
10989         two1022, instead use their values.  Recognise that tests for large
10990         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
10991         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10992         Rewrite all uses of ieee875 long double macros and unions.  Simplify
10993         test for 0.0L and nan.  Correct negation.
10994         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10995         ieee875 long double macros and unions.  Correct output for large
10996         magnitude x.  Correct absolute value calculation.
10997         (__erfcl): Likewise.
10998         * math/libm-test.inc: Add tests for errors discovered in IBM long
10999         double versions of fmodl, remainderl, erfl and erfcl.
11001 2013-10-04  Alan Modra  <amodra@gmail.com>
11003         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11004         all uses of ieee854 long double macros and unions.  Simplify tests
11005         for long doubles that are fully specified by the high double.
11006         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11007         Likewise.
11008         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11009         Remove dead code too.
11010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11011         (__ieee754_ynl): Likewise.
11012         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11013         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11015         Remove dead code too.
11016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11017         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11019         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11020         Simplify.
11021         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11022         Simplify.
11023         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11024         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11026         Comment on variable precision.
11027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11028         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11029         Likewise.
11030         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11031         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11032         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11033         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11034         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11036 2013-10-04  Alan Modra  <amodra@gmail.com>
11038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11039         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11040         all uses of ieee854 long double macros and unions.
11041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11043         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11044         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11047         Likewise.
11048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11049         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11050         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11052         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11053         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11054         Simplify sign and nan test too.
11055         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11056         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11057         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11059         Likewise.
11060         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11061         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11062         Likewise.
11063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11064         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11065         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11066         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11067         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11070 2013-10-04  Alan Modra  <amodra@gmail.com>
11072         * stdio-common/printf_size.c (__printf_size): Don't use
11073         union ieee854_long_double in fpnum union.
11074         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11075         signbit macro to retrieve sign from long double.
11076         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11077         retrieve sign from long double.
11078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11079         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11080         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11081         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11082         * math/test-misc.c (main): Don't use union ieee854_long_double.
11084 2013-10-04  Alan Modra  <amodra@gmail.com>
11086         [BZ #15680]
11087         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11088         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11089         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11090         calculation.  Remove unnecessary test for denormal exponent.
11091         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11092         Correct handling of denormals.  Avoid undefined shift behaviour.
11093         Correct normalisation of low mantissa when low double is denormal.
11094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11095         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11096         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11097         Correct normalisation of low mantissa.  Test for overflow of high
11098         mantissa and normalise.
11099         (ldbl_nearbyint): Use more readable constant for two52.
11100         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11101         (__mpn_construct_long_double): Fix test for overflow of high
11102         mantissa and correct normalisation.  Avoid undefined shift.
11104 2013-10-04  Alan Modra  <amodra@gmail.com>
11106         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11107         (union ibm_extended_long_double): Define as an array of ieee754_double.
11108         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11109         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11110         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11111         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11113         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11114         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11115         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11116         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11117         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11118         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11120 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11122         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11123         page size instead of calling getpagesize.
11125         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11126         (LOCFILE_ALIGN_MASK): Likewise.
11127         (LOCFILE_ALIGN_UP): Likewise.
11128         (LOCFILE_ALIGNED_P): Likewise.
11129         * locale/programs/ld-collate.c (collate_output): Use the new
11130         macros instead of __alignof__ (int32_t).
11131         * locale/weight.h (findidx): Likewise.
11133 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11135         [BZ #431]
11136         * manual/string.texi: Fix strncat and wcsncat.
11138 2013-10-03  Brooks Moses  <bmoses@google.com>
11140         [BZ #15915]
11141         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11142         * Makerules: ...here, and adjust associated comments.
11144 2013-10-02  Will Newton  <will.newton@linaro.org>
11146         * malloc/Makefile: Add tst-pvalloc.
11147         * malloc/tst-pvalloc.c: New file.
11149 2013-10-02  Will Newton  <will.newton@linaro.org>
11151         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11152         improve test coverage.
11154 2013-10-02  Will Newton  <will.newton@linaro.org>
11156         * malloc/Makefile: Add tst-posix_memalign.
11157         * malloc/tst-posix_memalign.c: New file.
11159 2013-10-01  Eric Blake  <eblake@redhat.com>
11161         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11162         Use __THROWNL rather than __THROW on static functions.
11164 2013-09-30  Petr Machata  <pmachata@redhat.com>
11166         * elf/elf.h (R_AARCH64_ABS16): New macro.
11167         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11168         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11169         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11170         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11171         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11172         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11173         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11174         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11175         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11176         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11177         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11178         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11179         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11180         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11181         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11182         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11183         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11184         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11185         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11186         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11187         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11188         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11189         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11190         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11191         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11192         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11193         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11194         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11195         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11196         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11197         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11198         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11199         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11200         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11201         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11202         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11203         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11204         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11205         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11206         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11207         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11208         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11209         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11210         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11211         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11212         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11213         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11214         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11215         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11216         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11217         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11218         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11219         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11220         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11221         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11222         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11223         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11224         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11225         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11226         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11227         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11228         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11229         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11230         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11231         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11232         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11233         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11234         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11235         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11236         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11237         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11238         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11239         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11240         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11241         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11242         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11243         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11244         (R_AARCH64_TLSDESC_LDR): Likewise.
11245         (R_AARCH64_TLSDESC_ADD): Likewise.
11246         (R_AARCH64_TLSDESC_CALL): Likewise.
11248 2013-09-30  Andreas Schwab  <schwab@suse.de>
11250         [BZ #15048]
11251         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11252         the nss database lookup.
11253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11256 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11258         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11260 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11263         ${Bash-specific parameter/pattern/string} parameter expansion.
11264         * sysdeps/unix/make-syscalls.sh: Likewise.
11266 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11268         * sysdeps/sh/stackguard-macros.h: New file.
11270 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11274         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11275         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11276         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11277         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11279 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11281         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11282         Fix thread ID register.
11284 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11286         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11287         [POSIX || UNIX98]: Require rather than permitting all symbols from
11288         <time.h>.
11289         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11290         element of struct sched_param.
11291         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11292         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11293         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11294         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11295         constant.
11297 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11299         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11300         argument calculation.
11302 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11304         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11305         Expect macro.
11306         [POSIX] (pthread_attr_t): Do not require type.
11307         [POSIX] (pthread_cond_t): Likewise.
11308         [POSIX] (pthread_condattr_t): Likewise.
11309         [POSIX] (pthread_key_t): Likewise.
11310         [POSIX] (pthread_mutex_t): Likewise.
11311         [POSIX] (pthread_mutexattr_t): Likewise.
11312         [POSIX] (pthread_once_t): Likewise.
11313         [POSIX] (pthread_t): Likewise.
11314         [POSIX-based standards] (pthread_atfork): Expect function.
11316 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11317             Richard Sandiford  <richard@codesourcery.com>
11319         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11320         (swap_endianness_p): New extern variable.
11321         (set_big_endian): New inline function.
11322         (maybe_swap_uint32): Likewise.
11323         (maybe_swap_uint32_array): Likewise.
11324         (maybe_swap_uint32_obstack): Likewise.
11325         * locale/programs/locfile.c: Include <stdbool.h>.
11326         (swap_endianness_p): New variable.
11327         (add_locale_uint32): Call maybe_swap_uint32.
11328         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11329         (write_locale_data): Call maybe_swap_uint32_array.
11330         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11331         maybe_swap_uint32.
11332         (obstack_int32_grow_fast): Likewise.
11333         (output_weightwc): Call maybe_swap_uint32_obstack.
11334         (collate_output): Likewise.
11335         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11336         (OPT_LITTLE_ENDIAN): Likewise.
11337         (options): Add --little-endian and --big-endian options.
11338         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11339         * locale/programs/locarchive.c: Include "locfile.h".
11340         (GET): New macro.
11341         (SET): Likewise.
11342         (INC): Likewise.
11343         (create_archive): Use the new macros to access fields of
11344         structures directly mapped from or written to locale archives.
11345         (oldlocrecentcmp): Likewise.
11346         (enlarge_archive): Likewise.
11347         (insert_name): Likewise.
11348         (add_alias): Likewise.
11349         (add_locale): Likewise.
11350         (delete_locales_from_archive): Likewise.
11351         (show_archive_content): Likewise.
11352         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11353         locale data.
11355 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11357         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11358         http://www.gnu.org/doc/freemanuals.texi.
11359         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11361 2013-09-24  Will Newton  <will.newton@linaro.org>
11363         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11364         macro.
11366 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11368         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11369         unsigned char.
11371 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11373         * manual/threads.texi (POSIX Threads): Fix a typo.
11375 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11377         [BZ #14547]
11378         * string/tst-strcoll-overflow.c: New test case.
11379         * string/Makefile (xtests): Add tst-strcoll-overflow.
11380         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11381         cache if string sizes may cause integer overflow.
11383         [BZ #14547]
11384         * string/strcoll_l.c (coll_seq): New members rule, idx,
11385         save_idx and back_us.
11386         (get_next_seq_nocache): New function.
11387         (do_compare_nocache): New function.
11388         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11389         when malloc fails.
11391 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11393         [BZ #15754]
11394         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11395         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11396         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11398         [BZ #15754]
11399         * elf/Makefile (tests): Add tst-ptrguard1.
11400         (tests-static): Add tst-ptrguard1-static.
11401         (tst-ptrguard1-ARGS): Define.
11402         (tst-ptrguard1-static-ARGS): Define.
11403         * elf/tst-ptrguard1.c: New file.
11404         * elf/tst-ptrguard1-static.c: New file.
11405         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11406         * sysdeps/i386/stackguard-macros.h: Likewise.
11407         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11408         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11409         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11410         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11411         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11412         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11414 2013-09-23  Hector Marco  <hecmargi@upv.es>
11415             Ismael Ripoll  <iripoll@disca.upv.es>
11416             Carlos O'Donell  <carlos@redhat.com>
11418         [BZ #15754]
11419         * sysdeps/generic/stackguard-macros.h: Define
11420         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11421         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11422         Define __pointer_chk_guard_local.
11423         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11424         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11426 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11428         [BZ #15859]
11429         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11431 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11433         * include/string.h (__ffs): Declare as hidden.
11434         * string/ffs.c (__ffs): Define as hidden.
11435         * sysdeps/i386/ffs.c (__ffs): Likewise.
11436         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11437         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11438         * sysdeps/s390/ffs.c (__ffs): Likewise.
11439         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11441 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11443         * NEWS: Mention malloc probes.
11445         * malloc/arena.c (new_heap): New memory_heap_new probe.
11446         (grow_heap): New memory_heap_more probe.
11447         (shrink_heap): New memory_heap_less probe.
11448         (heap_trim): New memory_heap_free probe.
11449         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11450         (systrim): New memory_sbrk_less probe.
11451         * manual/probes.texi: Document them.
11453         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11454         * manual/probes.texi: Document it.
11456         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11457         (__libc_realloc): Add memory_realloc_retry probe.
11458         (__libc_memalign): Add memory_memalign_retry probe.
11459         (__libc_valloc): Add memory_valloc_retry probe.
11460         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11461         (__libc_calloc): Add memory_calloc_retry probe.
11462         * manual/probes.texi: Document them.
11464         * malloc/arena.c (get_free_list): Add probe
11465         memory_arena_reuse_free_list.
11466         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11467         and memory_arena_reuse.
11468         (arena_get2) [!PER_THREAD]: Likewise.
11469         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11470         memory_arena_reuse_realloc.
11471         * manual/probes.texi: Document them.
11473         * malloc/malloc.c (__libc_free): Add
11474         memory_mallopt_free_dyn_thresholds probe.
11475         (__libc_mallopt): Add multiple memory_mallopt probes.
11476         * manual/probes.texi: Document them.
11478         * malloc/malloc.c: Include stap-probe.h.
11479         (__libc_mallopt): Add memory_mallopt probe.
11480         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11481         * manual/probes.texi: New.
11482         * manual/Makefile (chapters): Add probes.
11483         * manual/threads.texi: Set next node.
11485 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11487         [BZ #15963, #13985]
11488         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11489         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11490         Add `Chinese' to `nan' entry name.
11492 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11494         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11495         (POLYNOMIAL): Likewise.
11496         (TAYLOR_SINCOS): Likewise.
11497         (TAYLOR_SLOW): Likewise.
11498         (__sin): Use TAYLOR_SINCOS.
11499         (__cos): Likewise.
11500         (slow): Use TAYLOR_SLOW.
11501         (sloww): Likewise.
11502         (bsloww): Likewise.
11503         (csloww): Likewise.
11505 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11507         * stdlib/strtod_l.c: Fix buffer overrun.
11509 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11511         * benchtests/Makefile (bench): Add sincos.
11512         * benchtests/bench-sincos.c: New file.
11514         * math/libm-test.inc (cos_test_data): New test inputs.
11515         (sin_test_data): Likewise.
11517         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11518         macro.
11519         (__sin): Use it.
11520         (__cos): Likewise.
11521         (slow1): Likewise.
11522         (slow2): Likewise.
11523         (sloww1): Likewise.
11524         (sloww2): Likewise.
11525         (bsloww1): Likewise.
11526         (bsloww2): Likewise.
11527         (cslow2): Likewise.
11528         (csloww1): Likewise.
11529         (csloww2): Likewise.
11531         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11532         function.
11533         (__sin): Use it.
11534         (__cos): Likewise.
11536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11537         gotos.
11538         (__cos): Likewise.
11540 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11542         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11543         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11544         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11545         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11546         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11547         * elf/cache.c (print_entry): Handle the new cache flags.
11549 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11550             Aldy Hernandez  <aldyh@redhat.com>
11552         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11553         Change condition to [_SOFT_FLOAT].
11554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11566         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11569         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11570         declaration.
11572 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11574         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11575         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11576         (__longjmp): Use LOAD_GP to load saved GPRs.
11577         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11578         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11579         (__sigsetjmp): Use SAVE_GP to save GPRs.
11581         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11582         Do not append -msoft-float.
11583         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11585 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11587         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11589 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11591         [BZ #15966]
11592         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11593         (_FPU_GETCW): Use initial "__" on variable and field names but not
11594         on macro parameter name.
11595         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11596         parentheses around reference to macro parameter.
11598 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11600         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11601         prototype.
11602         (ctype_startup): Use uint32_t in cast and sizeof for
11603         ctype->charnames.
11605 2013-09-11  Jia Liu  <proljc@gmail.com>
11607         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11608         __daddr_t_defined.
11609         [__FreeBSD__]: Likewise.
11611 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11614         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11615         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11616         (strchr): Remove __strchr_sse42 ifunc selection.
11617         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11618         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11620 2013-09-11  Will Newton  <will.newton@linaro.org>
11622         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11623         parameter to RES. Remove hardcoded 1000 value.
11624         * benchtests/bench-skeleton.c (main): Pass RES parameter
11625         to TIMING_INIT and multiply result by 1000.
11627 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11631 2013-09-11  Andreas Schwab  <schwab@suse.de>
11633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11634         if not defined.
11635         (O_TMPFILE) [__USE_GNU]: Define.
11636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11637         Define.
11639 2013-09-11  Will Newton  <will.newton@linaro.org>
11641         [BZ #15857]
11642         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11643         does not overflow.
11645 2013-09-11  Will Newton  <will.newton@linaro.org>
11647         [BZ #15856]
11648         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11649         does not overflow.
11651 2013-09-11  Will Newton  <will.newton@linaro.org>
11653         [BZ #15855]
11654         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11655         does not overflow.
11657 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11659         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11660         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11661         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11662         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11663         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11665 2013-09-10  Allan McRae  <allan@archlinux.org>
11667         [BZ #15748]
11668         * manual/arith.texi (Parsing of Floats): Clarify
11669         cross-reference.
11671         [BZ #15849]
11672         * manual/install.texi (Running make install): Mention
11673         --enable-pt-chown.
11674         * INSTALL: Regenerated.
11676 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11678         * csu/init-first.c (_init): Remove the !SHARED condition around
11679         FPU control word initialization.
11680         * elf/dl-support.c (_dl_fpu_control): New variable.
11681         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11682         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11683         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11684         * math/test-fpucw-static.c: New file.
11685         * math/test-fpucw-ieee.c: New file.
11686         * math/test-fpucw-ieee-static.c: New file.
11687         * math/Makefile (tests): Add `test-fpucw-ieee' and
11688         `$(tests-static)'.
11689         (tests-static): New variable.
11690         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11691         dependency to...
11692         [($(build-shared),yes)]
11693         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11694         ... this.
11695         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11696         New dependency.
11698 2013-09-09  Allan McRae  <allan@archlinux.org>
11700         [BZ #15939]
11701         * manual/string.texi (Collation Functions): Fix typo in
11702         strcoll example.
11703         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11705         [BZ #15893]
11706         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11708         [BZ #15892]
11709         * libio/memstream.c (open_memstream): Fix memory leak.
11710         * libio/wmemstream.c (open_wmemstream): Likewise.
11712         [BZ #15895]
11713         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11715 2013-09-09  Will Newton  <will.newton@linaro.org>
11717         * malloc/Makefile: Add tst-realloc to tests.
11718         * malloc/tst-realloc.c: New file.
11720 2013-09-09  Allan McRae  <allan@archlinux.org>
11722         [BZ #15844]
11723         * COPYING: Update from GNU website to fix FSF address.
11724         * COPYING.LIB: Likewise.
11726 2013-09-06  David S. Miller  <davem@davemloft.net>
11728         * po/zh_TW.po: Update Chinese (traditional) translation from
11729         translation project.
11731 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11732             Joseph Myers  <joseph@codesourcery.com>
11734         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11735         "localeinfo.h".
11736         (obstack_chunk_alloc): New macro.
11737         (obstack_chunk_free): Likewise.
11738         (record_offset): New function.
11739         (init_locale_data): Likewise.
11740         (align_locale_data): Likewise.
11741         (add_locale_empty): Likewise.
11742         (add_locale_raw_data): Likewise.
11743         (add_locale_raw_obstack): Likewise.
11744         (add_locale_string): Likewise.
11745         (add_locale_wstring): Likewise.
11746         (add_locale_uint32): Likewise.
11747         (add_locale_uint32_array): Likewise.
11748         (add_locale_char): Likewise.
11749         (start_locale_structure): Likewise.
11750         (end_locale_structure): Likewise.
11751         (start_locale_prelude): Likewise.
11752         (end_locale_prelude): Likewise.
11753         (write_locale_data): Take locale_file structure rather than an
11754         iovec.
11755         * locale/programs/locfile.h: Include "obstack.h".
11756         (struct locale_file): Change to store locale file contents instead
11757         of header.
11758         (init_locale_data): New prototype.
11759         (align_locale_data): Likewise.
11760         (add_locale_empty): Likewise.
11761         (add_locale_raw_data): Likewise.
11762         (add_locale_raw_obstack): Likewise.
11763         (add_locale_string): Likewise.
11764         (add_locale_wstring): Likewise.
11765         (add_locale_uint32): Likewise.
11766         (add_locale_uint32_array): Likewise.
11767         (add_locale_char): Likewise.
11768         (start_locale_structure): Likewise.
11769         (end_locale_structure): Likewise.
11770         (start_locale_prelude): Likewise.
11771         (end_locale_prelude): Likewise.
11772         (write_locale_data): Update prototype.
11773         * locale/programs/3level.h (struct TABLE): Remove result field.
11774         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11775         Use new locale_file interface.
11776         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11777         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11778         * locale/programs/ld-address.c (address_output): Use new
11779         locale_file interface.
11780         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11781         NO_ADD_LOCALE.
11782         (collate_finish): Don't call collseq_table_finalize.
11783         (collate_output): Use new locale_file interface.
11784         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11785         in file.
11786         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11787         (TABLE): Move defines earlier in file.
11788         (ELEMENT): Likewise.
11789         (DEFAULT): Likewise.
11790         (wctrans_table_add): Move macro and inline function earlier in
11791         file.
11792         (struct wctype_table): Move type earlier in file.
11793         (add_locale_wctype_table): New static prototype.
11794         (struct locale_ctype_t): Use logical types instead of struct iovec
11795         pointers for members.
11796         (ctype_output): Use new locale_file interface.
11797         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11798         new locale_file interface.
11799         (allocate_arrays): Update for use of new locale_file interface.
11800         * locale/programs/ld-identification.c (identification_output): Use
11801         new locale_file interface.
11802         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11803         * locale/programs/ld-messages.c (messages_output): Likewise.
11804         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11805         * locale/programs/ld-name.c (name_output): Likewise.
11806         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11807         * locale/programs/ld-paper.c (paper_output): Likewise.
11808         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11809         * locale/programs/ld-time.c (time_output): Likewise.
11811 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813         * benchtests/Makefile: Add memrchr benchmark.
11814         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11815         benchmark as memrchr.
11816         * benchtests/bench-memrchr-ifunc.c: New file.
11817         * benchtests/bench-memrchr.c: New file.
11819 2013-09-06   Will Newton  <will.newton@linaro.org>
11821         * benchtests/Makefile (string-bench): Add memcpy.
11823 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11824             Cong Wang  <amwang@redhat.com>
11826         [BZ #15850]
11827         * sysdeps/unix/sysv/linux/bits/in.h
11828         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11829         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11830         before __USE_KERNEL_IPV6_DEFS uses.
11831         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11832         IPPROTO_BEETPH.
11833         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11834         sockaddr_in6, or ipv6_mreq.
11836 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11838         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11839         memory access for final bytes in some large inputs.
11840         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11842 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11844         * string/test-memrchr.c: New file.
11845         * string/test-memrchr-ifunc.c: New file.
11846         * string/Makefile: Add new memrchr testcase.
11848 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11850         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11851         fanotify_init returns EPERM.
11853 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11855         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11856         errors.
11857         (top level): Treat second token from macro or constant entries for
11858         allowed headers as allowed.
11859         * include/complex.h: Condition internal declarations on
11860         [!_ISOMAC].
11861         * include/fenv.h: Condition include of <stdbool.h> and internal
11862         declarations on [!_ISOMAC].
11864 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11866         [BZ #15923]
11867         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11869 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11871         * configure.in (--enable-versioning): Remove configure option.
11872         (libc_cv_asm_symver_directive): Remove configure test.
11873         (libc_cv_ld_version_script_option): Likewise.
11874         (VERSIONING): Remove variable and AC_SUBST.
11875         (DO_VERSIONING): Remove AC_DEFINE.
11876         * configure: Regenerated.
11877         * config.h.in (DO_VERSIONING): Remove macro.
11878         * Makerules [$(versioning) = yes]: Change conditionals to
11879         [$(build-shared) = yes].
11880         * config.make.in (versioning): Remove variable.
11881         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11882         [$(build-shared) = yes].
11883         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11884         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11885         * elf/Makefile [$(versioning) = yes]: Change conditionals to
11886         [$(build-shared) = yes].
11887         * extra-lib.mk [$(versioning) = yes]: Likewise.
11888         * hurd/Makefile [$(versioning) = yes]: Likewise.
11889         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11890         [SHARED].
11891         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11892         [SHARED].
11893         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11894         [SHARED && !NO_HIDDEN].
11895         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11896         [SHARED].
11897         [SHARED && DO_VERSIONING]: Likewise..
11898         * libio/Makefile [$(versioning) = yes]: Change conditionals to
11899         [$(build-shared) = yes].
11900         * manual/install.texi (--disable-versioning): Remove
11901         documentation.
11902         * INSTALL: Regenerated.
11903         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11904         to [SHARED].
11905         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11906         [$(build-shared) = yes].
11907         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11908         * sysdeps/i386/i686/multiarch/strstr-c.c
11909         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11910         [SHARED && !NO_HIDDEN].
11911         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11912         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11913         * sysdeps/powerpc/powerpc32/dl-machine.c
11914         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11915         * sysdeps/powerpc/powerpc32/sysdep.h
11916         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11917         to [SHARED && PIC && !NO_HIDDEN].
11918         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11919         conditional to [SHARED].
11921 2013-09-04   Will Newton  <will.newton@linaro.org>
11923         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11924         * benchtests/bench-string.h: Include bench-timing.h instead
11925         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11926         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11927         call to HP_TIMING_DIFF_INIT.
11928         * benchtests/bench-memccpy.c: Use bench-timing.h macros
11929         instead of hp-timing.h macros.
11930         * benchtests/bench-memchr.c: Likewise.
11931         * benchtests/bench-memcmp.c: Likewise.
11932         * benchtests/bench-memcpy.c: Likewise.
11933         * benchtests/bench-memmem.c: Likewise.
11934         * benchtests/bench-memmove.c: Likewise.
11935         * benchtests/bench-memset.c: Likewise.
11936         * benchtests/bench-rawmemchr.c: Likewise.
11937         * benchtests/bench-strcasecmp.c: Likewise.
11938         * benchtests/bench-strcasestr.c: Likewise.
11939         * benchtests/bench-strcat.c: Likewise.
11940         * benchtests/bench-strchr.c: Likewise.
11941         * benchtests/bench-strcmp.c: Likewise.
11942         * benchtests/bench-strcpy.c: Likewise.
11943         * benchtests/bench-strcpy_chk.c: Likewise.
11944         * benchtests/bench-strlen.c: Likewise.
11945         * benchtests/bench-strncasecmp.c: Likewise.
11946         * benchtests/bench-strncat.c: Likewise.
11947         * benchtests/bench-strncmp.c: Likewise.
11948         * benchtests/bench-strncpy.c: Likewise.
11949         * benchtests/bench-strnlen.c: Likewise.
11950         * benchtests/bench-strpbrk.c: Likewise.
11951         * benchtests/bench-strrchr.c: Likewise.
11952         * benchtests/bench-strspn.c: Likewise.
11953         * benchtests/bench-strstr.c: Likewise.
11955 2013-09-04  Will Newton  <will.newton@linaro.org>
11957         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11959 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
11961         [BZ #15427]
11962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11963         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11964         * math/libm-test.inc (lgamma_test_data): Add more tests.
11965         * sysdeps/i386/fpu/libm-test-ulps: Update.
11966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11968 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
11970         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11972         Add ifunc.
11973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11974         Add strcmp-sse2-unaligned
11975         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11977 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11979         * Versions.def (libc): Add GLIBC_2.19.
11981 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11983         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11984         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11986 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
11988         [BZ #14155]
11989         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11990         intermediate calculations in recurrence.
11991         (__ieee754_ynf): Likewise.
11992         * math/libm-test.inc (jn_test_data): Do not allow spurious
11993         underflow exception.  Add more tests.
11994         (yn_test_data): Add more tests.
11995         * sysdeps/i386/fpu/libm-test-ulps: Update.
11996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12000         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12002 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12004         * csu/init-first.c: Fix then/than typos.
12005         * locale/programs/ld-collate.c: Likewise.
12006         * locale/programs/linereader.h: Likewise.
12007         * manual/charset.texi: Likewise.
12008         * manual/filesys.texi: Likewise.
12009         * manual/stdio.texi: Likewise.
12010         * manual/string.texi: Likewise.
12011         * stdlib/fmtmsg.c: Likewise.
12012         * sysdeps/i386/stpncpy.S: Likewise.
12013         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12014         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12016         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12018 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12020         * elf/dl-open.c: Fix typos.
12021         * iconvdata/gbbig5.c: Likewise.
12022         * iconvdata/iso-2022-jp.c: Likewise.
12023         * iconv/gconv_int.h: Likewise.
12024         * iconv/loop.c: Likewise.
12025         * nis/rpcsvc/nis.h: Likewise.
12026         * resolv/ns_name.c: Likewise.
12027         * stdio-common/vfscanf.c: Likewise.
12028         * streams/stropts.h: Likewise.
12029         * sunrpc/rpc_thread.c: Likewise.
12030         * sysdeps/i386/strpbrk.S: Likewise.
12031         * sysdeps/ieee754/k_standard.c: Likewise.
12032         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12034         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12035         * sysdeps/mach/hurd/profil.c: Likewise.
12036         * sysdeps/s390/dl-procinfo.h: Likewise.
12037         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12038         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12039         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12040         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12043 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12045         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12048 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12051         aix specific files.
12052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12053         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12054         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12055         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12057         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12058         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12059         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12061 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12062             Roland McGrath  <roland@hack.frob.com>
12064         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12065         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12067 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12069         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12070         __executable_start symbol instead of _start.
12072 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12074         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12075         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12076         Move macros to...
12077         * sysdeps/gnu/ldsodefs.h: ... this new file.
12079         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12080         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12081         instead of ELFOSABI_LINUX.
12083         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12084         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12085         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12086         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12087         Likewise.
12088         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12089         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12090         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12091         Likewise.
12092         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12093         (ibm_extended_long_double): Add ieee_nan member.
12094         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12095         (do_test): New function.
12097         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12098         TEST_TRUNC.
12099         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12100         functions, renamed from truncdfsf_test, trunctfsf_test,
12101         trunctfdf_test.
12102         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12103         functions.
12104         (do_test): Run all these.
12106 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12108         * argp/argp-help.c: Fix typos.
12109         * argp/argp-parse.c: Likewise.
12110         * debug/backtracesyms.c: Likewise.
12111         * elf/elf.h: Likewise.
12112         * malloc/malloc.c: Likewise.
12113         * nis/nis_print.c: Likewise.
12114         * resolv/res_comp.c: Likewise.
12115         * stdlib/stdlib.h: Likewise.
12116         * sunrpc/clnt_tcp.c: Likewise.
12117         * sunrpc/clnt_udp.c: Likewise.
12118         * sunrpc/clnt_unix.c: Likewise.
12119         * sysdeps/unix/bsd/ptsname.c: Likewise.
12120         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12121         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12123         Likewise.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12125         Likewise.
12126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12127         Likewise.
12128         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12130 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12132         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12135 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12137         [BZ #15897]
12138         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12139         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12140         ($(objpfx)bug-dl-leaf): New rule.
12141         ($(objpfx)bug-dl-leaf.so): Likewise.
12142         ($(objpfx)bug-dl-leaf.out): Likewise.
12143         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12144         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12145         * dlfcn/bug-dl-leaf.c: New test.
12146         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12147         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12148         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12149         (dlclose): Likewise.
12150         (dlmopen): Likewise.
12152 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12154         * include/netdb.h [!_ISOMAC]:
12155         Don't include <tls.h>.
12156         (h_errno, __libc_h_errno): Move declaration and macros out of
12157         [_LIBC_REENTRANT].
12159         * include/resolv.h [_RESOLV_H_]:
12160         Don't include <tls.h>.
12161         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12162         * resolv/res_libc.c: Don't include <tls.h>.
12163         (_res): Use __attribute__ ((nocommon)) in place of
12164         __attribute__ ((section (".bss"))).
12166         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12167         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12169         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12171         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12172         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12174         * resolv/res_mkquery.c: Include <sys/time.h>.
12176         * inet/ifreq.c: Moved to ...
12177         * sysdeps/unix/ifreq.c: ... here.
12178         * inet/ifreq.c: New file, true stub version.
12180         * socket/sa_len.c: New file.
12181         * socket/Makefile (aux): Add it.
12182         * sysdeps/unix/sysv/linux/Makefile
12183         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12184         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12185         and #include <socket/sa_len.c>.
12186         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12187         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12190         * bits/socket.h: ... here.
12192         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12193         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12194         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12196 2013-08-27  Andreas Schwab  <schwab@suse.de>
12198         [BZ #15736]
12199         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12200         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12201         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12202         * string/test-strcasecmp.c (test_main): Run tests in several
12203         locales.
12204         * string/test-strncasecmp.c (test_main): Likewise.
12206         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12207         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12208         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12210         (__strncasecmp_ssse3) [PIC]: Likewise.
12212 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12214         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12216         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12217         instead of explicitly declaring xdecrypt.
12218         * nis/nss_nis/nis-publickey.c: Likewise.
12220 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12222         [BZ #15890]
12223         * nscd/aicache.c: Include res_hconf.h.
12224         (addhstaiX): Initialize res_hconf.
12226 2013-08-26  Andreas Schwab  <schwab@suse.de>
12228         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12229         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12231 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12233         * nscd/aicache.c (addhstaiX): Fix indentation.
12235 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12237         * configure.ac: Quote $build_pt_chown test.
12238         * configure: Regenerated.
12240 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12242         [BZ #15532]
12243         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12244         * math/s_cexpf.c (__cexpf): Likewise.
12245         * math/s_cexpl.c (__cexpl): Likewise.
12246         * math/libm-test.inc (cexp_test_data): Correct expected return
12247         value for NaN + i0.  Add another test.
12249 2013-08-22  David S. Miller  <davem@davemloft.net>
12251         * po/ca.po: Update Catalan translation from translation project.
12252         * po/uk.po: Add Ukrainian translations from translation project.
12254 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12256         [BZ #15797]
12257         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12258         is infinite, not alongside NaN test.
12259         * math/s_fdimf.c (__fdimf): Likewise.
12260         * math/s_fdiml.c (__fdiml): Likewise.
12261         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12262         errno is unchanged.
12264 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12266         * argp/argp-help.c: Fix typos.
12267         * crypt/speeds.c: Likewise.
12268         * csu/check_fds.c: Likewise.
12269         * elf/dl-load.c: Likewise.
12270         * elf/dl-open.c: Likewise.
12271         * elf/reldep3.c: Likewise.
12272         * elf/reldep.c: Likewise.
12273         * elf/sprof.c: Likewise.
12274         * iconv/iconv_charmap.c: Likewise.
12275         * iconv/skeleton.c: Likewise.
12276         * iconv/strtab.c: Likewise.
12277         * io/lockf64.c: Likewise.
12278         * libio/libioP.h: Likewise.
12279         * resolv/gai_notify.c: Likewise.
12280         * resolv/ns_name.c: Likewise.
12281         * resolv/ns_samedomain.c: Likewise.
12282         * resolv/res_send.c: Likewise.
12283         * stdlib/random.c: Likewise.
12284         * sunrpc/rpc/xdr.h: Likewise.
12285         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12286         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12287         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12288         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12289         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12292         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12293         * sysdeps/mach/hurd/check_fds.c: Likewise.
12294         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12295         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12298         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12299         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12300         * sysdeps/pthread/aio_notify.c: Likewise.
12301         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12302         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12303         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12305         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12307 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12309         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12310         version if bit_Slow_SSE4_2 is set.
12311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12312         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12314 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12316         [BZ #15867]
12317         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12318         trampoline stack frame information.
12319         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12320         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12321         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12322         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12323         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12324         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12325         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12326         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12327         sa_flags value.
12328         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12329         interrupting a syscall and set with option SA_SIGINFO.
12331 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12333         [BZ #15531]
12334         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12335         argument is infinite.
12336         * math/s_cprojf.c (__cprojf): Likewise.
12337         * math/s_cprojl.c (__cprojl): Likewise.
12338         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12339         * math/libm-test.inc (cproj_test_data): Add more tests.
12341         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12343         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12344         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12345         size.  Use __ffs to determine corresponding shift.
12347 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12348             Roland McGrath  <roland@hack.frob.com>
12350         * Makefile (INSTALL): Remove trailing blank lines from output of
12351         makeinfo.
12353 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12355         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12356         Align 32 bit compat elf_greg to 8 bytes.
12358 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12360         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12362 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12364         * string/strcoll_l.c (coll_seq): New structure.
12365         (get_next_seq_cached): New function.
12366         (get_next_seq): New function.
12367         (do_compare): New function.
12368         (STRCOLL): Use GNU style definition.  Simplify implementation
12369         by using get_next_seq, get_next_seq_cached and do_compare.
12371 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12373         [BZ #14699]
12374         CVE-2013-4237
12375         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12376         member.
12377         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12378         member.
12379         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12380         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12381         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12382         conditional.
12383         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12384         GETDENTS_64BIT_ALIGNED.
12385         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12386         * manual/filesys.texi (Reading/Closing Directory): Document
12387         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12388         strongly.
12389         * manual/conf.texi (Limits for Files): Add portability note to
12390         NAME_MAX, PATH_MAX.
12391         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12393 2013-08-13  Andreas Schwab  <schwab@suse.de>
12395         [BZ #15749]
12396         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12397         of fabs.
12398         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12399         LDBL_MAX_EXP >= 16384]: Add tests for it.
12401 2013-08-12  David S. Miller  <davem@davemloft.net>
12403         * version.h (RELEASE): Set to "development".
12404         (VERSION): Set to "2.18.90".
12405         * NEWS: Add 2.19 section.
12407 2013-08-03  David S. Miller  <davem@davemloft.net>
12409         * po/ko.po: Update Korean translation from translation project.
12411 2013-08-01  David S. Miller  <davem@davemloft.net>
12413         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12414         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12415         Bilka.
12417 2013-07-30  David S. Miller  <davem@davemloft.net>
12419         * po/fr.po: Update French translation from translation project.
12421 2013-07-28  David S. Miller  <davem@davemloft.net>
12423         * po/cs.po: Update Czech translation from translation project.
12425         * po/sv.po: Update Swedish translation from translation project.
12427 2013-07-27  David S. Miller  <davem@davemloft.net>
12429         * po/eo.po: Update Esperanto translation from translation project.
12431         * po/vi.po: Update Vietnamese translation from translation project.
12433         * po/de.po: Update German translation from translation project.
12435 2013-07-26  David S. Miller  <davem@davemloft.net>
12437         * po/bg.po: Update Bulgarian translation from translation project.
12439         * po/nl.po: Update Dutch translation from translation project.
12440         * po/pl.po: Update Polish translation from translation project.
12441         * po/ru.po: Update Russian translation from translation project.
12443 2013-07-24  David S. Miller  <davem@davemloft.net>
12445         * po/libc.pot: Update.
12447 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12449         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12450         variable page size.
12451         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12452         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12453         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12455 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12457         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12459 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12460             Andreas Schwab  <schwab@suse.de>
12461             Roland McGrath  <roland@hack.frob.com>
12462             Joseph Myers  <joseph@codesourcery.com>
12463             Carlos O'Donell  <carlos@redhat.com>
12465         [BZ #15755]
12466         * config.h.in: Define HAVE_PT_CHOWN.
12467         * config.make.in (build-pt-chown): New variable.
12468         * configure.in (--enable-pt_chown): New configure option.
12469         * configure: Regenerate.
12470         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12471         build-pt-chown is enabled.
12472         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12473         pt_chown to fix pty ownership.
12474         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12475         CLOSE_ALL_FDS.
12476         * manual/install.texi (Configuring and compiling): Mention
12477         --enable-pt_chown. Add @findex for grantpt.
12478         * INSTALL: Regenerate.
12480 2013-07-20  David S. Miller  <davem@davemloft.net>
12482         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12483         difference between 32-bit and 64-bit.
12485 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12487         [BZ #15711]
12488         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12489         Avoid system header dependency with -ffreestanding.
12490         ($(objpfx)bits/syscall%d): Likewise.
12492 2013-07-13  David S. Miller  <davem@davemloft.net>
12494         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12495         underflows from atanl/atan2l due to bug 15319.
12496         (casinh_test_data): Likewise.
12498 2013-07-07  David S. Miller  <davem@davemloft.net>
12500         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12502 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12504         * sysdeps/i386/fpu/libm-test-ulps: Update.
12505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12507 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12509         * configure.in (--enable-lock-elision): Fix message text.
12510         * INSTALL: Regenerate.
12511         * configure: Regenerate.
12513 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12517 2013-07-03  Andreas Jaeger  <aj@suse.de>
12519         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12520         define.
12521         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12522         (ptrace_peeksiginfo_args): Add.
12523         (__ptrace_peeksiginfo_flags): Add.
12524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12528 2013-07-03  Allan McRae  <allan@archlinux.org>
12530         * sysdeps/i386/fpu/libm-test-ulps: Update.
12532 2013-07-02  David S. Miller  <davem@davemloft.net>
12534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12536 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12540 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12542         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12545 2013-07-02  Andi Kleen <ak@linux.intel.com>
12547         * config.h.in (ENABLE_LOCK_ELISION): Add.
12548         * configure.in (--enable-lock-elision): Add option.
12549         * manual/install.texi: Document --enable lock elision.
12550         * configure: Regenerate
12551         * INSTALL: Regenerate.
12553 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12555         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12556         SSE4.2 strcasecmp for libc.a.
12557         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12559 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12561         [BZ #13304]
12562         * soft-fp/op-common.h (_FP_FMA): New macro.
12563         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12564         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12565         (_FP_MUL_MEAT_1_imm): ... here.
12566         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12567         (_FP_MUL_MEAT_1_wide): ... here.
12568         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12569         (_FP_MUL_MEAT_1_hard): ... here.
12570         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12571         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12572         (_FP_MUL_MEAT_2_wide): ... here.
12573         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12574         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12575         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12576         (_FP_MUL_MEAT_2_gmp): ... here.
12577         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12578         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12579         (_FP_MUL_MEAT_4_wide): ... here.
12580         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12581         (_FP_MUL_MEAT_4_gmp): ... here.
12582         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12583         (_FP_WFRACBITS_DW_S): Likewise.
12584         (_FP_WFRACXBITS_DW_S): Likewise.
12585         (_FP_HIGHBIT_DW_S): Likewise.
12586         (FP_FMA_S): Likewise.
12587         (_FP_FRAC_HIGH_DW_S): Likewise.
12588         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12589         (_FP_WFRACBITS_DW_D): Likewise.
12590         (_FP_WFRACXBITS_DW_D): Likewise.
12591         (_FP_HIGHBIT_DW_D): Likewise.
12592         (FP_FMA_D): Likewise.
12593         (_FP_FRAC_HIGH_DW_D): Likewise.
12594         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12595         (_FP_WFRACBITS_DW_E): Likewise.
12596         (_FP_WFRACXBITS_DW_E): Likewise.
12597         (_FP_HIGHBIT_DW_E): Likewise.
12598         (FP_FMA_E): Likewise.
12599         (_FP_FRAC_HIGH_DW_E): Likewise.
12600         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12601         (_FP_WFRACBITS_DW_Q): Likewise.
12602         (_FP_WFRACXBITS_DW_Q): Likewise.
12603         (_FP_HIGHBIT_DW_Q): Likewise.
12604         (FP_FMA_Q): Likewise.
12605         (_FP_FRAC_HIGH_DW_Q): Likewise.
12606         * soft-fp/fmasf4.c: New file.
12607         * soft-fp/fmadf4.c: Likewise.
12608         * soft-fp/fmatf4.c: Likewise.
12610 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12613         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12614         Silvermont.
12615         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12616         macro.
12617         (index_Slow_SSE4_2): Likewise.
12618         (index_Prefer_PMINUB_for_stringop): Likewise.
12619         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12620         bit_Slow_SSE4_2 is set.
12621         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12622         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12624 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12626         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12627         rtld_global._dl_hwcap2.
12628         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12629         POWER8.
12630         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12631         POWER8 feature descriptions defined in _dl_hwcap2.
12632         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12633         string handling for POWER8 feature bits.
12634         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12635         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12636         _dl_powerpc_cap_flags.
12637         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12638         * sysdeps/powerpc/rtld-global-offsets.sym
12639         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12640         _dl_hwcap2 in the rtld_global_ro structure.
12642 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12644         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12645         hardware capabilities in support of AT_HWCAP2.
12646         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12647         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12648         GLRO(dl_hwcap2).
12649         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12650         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12651         explicitly the unknown a_type display mechanism is used.
12652         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12653         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12654         struct member.
12655         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12656         to macro prototype for AT_HWCAP2 support.
12657         * sysdeps/i386/dl-procinfo.h: Likewise.
12658         * sysdeps/s390/dl-procinfo.h: Likewise.
12659         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12660         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12661         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12662         return -1 for unknown a_type display fallback.
12663         * sysdeps/sparc/dl-procinfo.h: Likewise.
12664         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12665         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12667 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12669         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12670         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12672 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12674         [BZ #12492]
12675         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12676         mprotect making __stack_prot writable.
12678 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12679             Joseph Myers  <joseph@codesourcery.com>
12681         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12682         as being properly aligned.
12684 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12686         * dlfcn/modstatic5.c: New file.
12687         * dlfcn/tststatic5.c: New file.
12688         * dlfcn/Makefile (tests): Add tststatic5.
12689         (tests-static): Likewise.
12690         (modules-names): Add modstatic5.
12691         (tststatic5-ENV): New variable.
12692         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12694         [BZ #15022]
12695         * elf/dl-support.c (_dl_main_map): New variable.
12696         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12697         (_dl_nns, _dl_load_adds): Set to 1.
12698         (_dl_initial_searchlist): Refer to _dl_main_map.
12699         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12700         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12701         call to _dl_get_origin.
12702         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12703         around call_map.
12704         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12705         * dlfcn/modstatic3.c: New file.
12706         * dlfcn/tststatic3.c: New file.
12707         * dlfcn/tststatic4.c: New file.
12708         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12709         (tests-static): Likewise.
12710         (modules-names): Add modstatic3.
12711         (tststatic3-ENV, tststatic4-ENV): New variables.
12712         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12713         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12715 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12717         * configure.in (CC): Require GCC version 4.4 or later.
12718         * configure: Regenerated.
12719         * manual/install.texi (Tools for Compilation): Update GCC version
12720         requirement.
12721         * INSTALL: Regenerated.
12723 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12725         [BZ #15674]
12726         * string/test-memcmp.c (check2): New.
12727         (main): Call check2.
12729         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12731 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12733         [BZ #15022]
12734         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12735         over to...
12736         (dl_open_worker) [!SHARED]: ... here.
12738 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12740         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12742 2013-06-25  Richard Henderson  <rth@redhat.com>
12744         * locale/programs/locarchive.c: Include <libc-internal.h>
12746 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12748         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12749         trailing whitespace removed.
12751 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12753         [BZ #10283]
12754         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12755         * locale/programs/locarchive.c: Include libc-mmap.h.
12756         (prepare_address_space): Take two new outputs (the mmap base and len).
12757         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12758         values.
12759         (create_archive): Declare new mmap base and len values for
12760         prepare_address_space, and store the result in ah.
12761         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12762         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12763         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12764         Declare new mmap base and len values for
12765         prepare_address_space, and store the result in new_ah.
12766         (open_archive): Declare new mmap base and len values for
12767         prepare_address_space, and store the result in ah.
12768         (close_archive): If ah->mmap_base is not NULL, use that and
12769         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12770         * sysdeps/generic/libc-mmap.h: New file.
12772 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12774         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12775         (ALIGN_UP): Likewise.
12776         (PTR_ALIGN_DOWN): Likewise.
12777         (PTR_ALIGN_UP): Likewise.
12779 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12781         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12782         entry mapped to PPC_PLATFORM_POWER8.
12783         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12784         POWER8.
12785         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12786         (_dl_string_platform): Add case for exporting platform position for
12787         POWER8.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12789         search path to sysdeps/powerpc/powerpc32/power8 directory.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12791         search path to sysdeps/powerpc/powerpc64/power8 directory.
12792         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12793         power7 directories.
12794         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12795         power7 directories.
12797 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12799         * INSTALL: Regenerate.
12801         * nscd/connections.c (nscd_init): Fix comment.
12803 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12805         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12807         [BZ #15667]
12808         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12809         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12811 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12813         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12814         DL_DST_REQ_STATIC.
12815         (DL_DST_REQ_STATIC): Remove macro.
12817 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12819         [BZ #7006]
12820         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12821         with a shift of 0 bits.
12823 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12825         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12826         $(tststatic-ENV).
12828 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12830         [BZ #15655]
12831         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12833 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12835         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12836         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12837         accepts -fno-tree-loop-distribute-patterns.
12838         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12839         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12840         recursive call.
12841         * string/memset.c (memset): Likewise.
12842         * string/test-memmove.c (simple_memmove): Disable loop transformation
12843         to library calls.
12844         * string/test-memset.c (simple_memset): Likewise.
12845         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12846         * benchtests/bench-memset.c (simple_memset): Likewise.
12847         * configure: Regenerated.
12849 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12851         * math/test-misc.c (main): Ignore fesetround failure when failures
12852         of subsequent rounding tests would be ignored.
12854         [BZ #15654]
12855         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12856         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12857         * math/fegetenv.c (__fegetenv): Return 0.
12858         * math/fegetexcept.c (fegetexcept): Return 0.
12859         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12860         FE_TONEAREST.
12861         * math/feholdexcpt.c (feholdexcept): Return 0.
12862         * math/fesetenv.c (__fesetenv): Return 0.
12863         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12864         argument FE_TONEAREST.
12865         * math/feupdateenv.c (__feupdateenv): Return 0.
12866         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12868 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12870         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12871         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12872         ($(objpfx)rtld-%.os rules): Use them.
12874 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12876         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12877         fields.
12879 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12881         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12882         length of target pattern, then descending length of dependency pattern.
12883         * configure.in (AWK): Require gawk 3.1.2 or newer.
12884         * manual/install.texi (Tools for Compilation): Say that we do.
12885         * configure: Regenerated.
12887         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12888         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12889         * scripts/sysd-rules.awk: ... this new script.
12890         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12891         than a glob-style pattern.
12893 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
12895         * math/test-misc.c (main): Do not treat incorrectly rounded
12896         conversions as failure unless ROUNDING_TESTS passes.
12898 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
12900         [BZ #15631]
12901         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12902         restore exception state around main square root computation, then
12903         check for inexactness explicitly.
12905         * math/libm-test.inc (fma_test_data): Add another test.
12907 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         * manual/threads.texi (Non-POSIX Extensions): New document
12910         node.  Document pthread_getattr_default_np and
12911         pthread_setattr_default_np.
12913         * Versions.def (libpthread): Add GLIBC_2.18.
12914         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12916         Likewise.
12917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12918         Likewise.
12919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12920         Likewise.
12921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12922         Likewise.
12923         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12924         Likewise.
12925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12928         Likewise.
12929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12930         Likewise.
12931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12932         Likewise.
12934 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12937         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12939 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12940             H.J. Lu  <hjl.tools@gmail.com>
12942         [BZ #15627]
12943         * sysdeps/x86_64/rtld-memset.c: Remove file.
12944         * sysdeps/x86_64/rtld-memset.S: New file.
12946 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
12948         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12949         (test_in_one_mode): Take arguments for whether the rounding mode
12950         is supported for each floating-point type.
12951         (do_test): Pass new arguments to test_in_one_mode using
12952         ROUNDING_TESTS.
12954 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12956         * posix/tst-waitid.c (do_test): Distinguish different instances of
12957         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
12958         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12959         before entering the kernel for waitpid.
12961 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12963         * NEWS: Fix note on clock function precision.  Text by Roland
12964         McGrath.
12966 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12968         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12969         it into place only when and if the sanity check passes.
12971 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
12973         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12974         output for whether conversion result is exact.  Take argument
12975         indicating whether type is IBM long double.
12976         (round_for_all): Change need_exact field to ibm_ld.
12977         * stdlib/tst-strtod-round.c (struct exactness): New type.
12978         (struct test): Change bool ld_ok field to struct exactness exact.
12979         (TEST): Update all definitions for change to field.
12980         (tests): Regenerate array contents.
12981         (test_in_one_mode): Take pointer to new field instead of old ld_ok
12982         field value.  Check for IBM long double here.
12983         (do_test): Update calls to test_in_one_mode.
12985 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12987         [BZ #12515]
12988         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12989         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12991 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12993         [BZ #15605]
12994         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12995         generated by the compiler on loop optimizations.
12996         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12997         general definitions.
12999 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13001         * math/bug-nextafter.c: Include <math-tests.h>.
13002         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13003         the relevant type.
13004         * math/bug-nexttoward.c: Include <math-tests.h>.
13005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13006         the relevant type.
13007         * math/test-misc.c: Include <math-tests.h>.
13008         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13009         the relevant type.
13011 2013-06-12  Andreas Jaeger  <aj@suse.de>
13013         * po/ia.po: Update Interlingua translation from translation
13014         project.
13016 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13018         * include/fenv.h: Include stdbool.h.
13019         (struct rm_ctx): New structure.
13020         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13021         Define macro.
13022         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13023         (SET_RESTORE_ROUNDF): Likewise.
13024         (SET_RESTORE_ROUNDL): Likewise.
13025         (SET_RESTORE_ROUND_NOEX): Likewise.
13026         (SET_RESTORE_ROUND_NOEXF): Likewise.
13027         (SET_RESTORE_ROUND_NOEXL): Likewise.
13028         (SET_RESTORE_ROUND_53BIT): Likewise.
13029         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13030         (libc_feresetround_noexf_ctx): Likewise.
13031         (libc_feresetround_noexl_ctx): Likewise.
13032         (libc_feholdsetround_53bit_ctx): Likewise.
13033         (libc_feresetround_53bit_ctx): Likewise.
13034         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13035         (libc_feholdexcept_setround_sse_ctx): New function.
13036         (libc_fesetenv_sse_ctx): Likewise.
13037         (libc_feupdateenv_sse_ctx): Likewise.
13038         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13039         (libc_feholdexcept_setround_387_ctx): Likewise.
13040         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13041         (libc_feholdsetround_387_prec_ctx): Likewise.
13042         (libc_feholdsetround_387_ctx): Likewise.
13043         (libc_feholdsetround_387_53bit_ctx): Likewise.
13044         (libc_feholdsetround_sse_ctx): Likewise.
13045         (libc_feresetround_sse_ctx): Likewise.
13046         (libc_feresetround_387_ctx): Likewise.
13047         (libc_feupdateenv_387_ctx): Likewise.
13048         (libc_feholdexcept_setroundf_ctx): Define macro.
13049         (libc_fesetenvf_ctx): Likewise.
13050         (libc_feupdateenvf_ctx): Likewise.
13051         (libc_feholdsetroundf_ctx): Likewise.
13052         (libc_feresetroundf_ctx): Likewise.
13053         (libc_feholdexcept_setround_ctx): Likewise.
13054         (libc_fesetenv_ctx): Likewise.
13055         (libc_feupdateenv_ctx): Likewise.
13056         (libc_feholdsetround_ctx): Likewise.
13057         (libc_feresetround_ctx): Likewise.
13058         (libc_feholdexcept_setroundl_ctx): Likewise.
13059         (libc_feupdateenvl_ctx): Likewise.
13060         (libc_feholdsetroundl_ctx): Likewise.
13061         (libc_feresetroundl_ctx): Likewise.
13062         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13063         (libc_feresetround_53bit_ctx): Likewise.
13065 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13067         * locale/iso-639.def: Convert to UTF-8.
13069 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13071         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13072         (EXCEPTION_TESTS_double): Likewise.
13073         (EXCEPTION_TESTS_long_double): Likewise.
13074         (EXCEPTION_TESTS): Likewise.
13075         * math/libm-test.inc (test_exceptions): Only test exceptions if
13076         EXCEPTION_TESTS (FLOAT).
13078 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13080         * benchtests/Makefile (string-bench): Add strcpy_chk and
13081         stpcpy_chk.
13082         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13083         * benchtests/bench-stpcpy_chk.c: New file.
13084         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13085         * benchtests/bench-strcpy_chk.c: New file.
13086         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13087         code.
13088         (do_test): Likewise.
13090 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13092         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13093         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13094         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13095         with tabs where appropriate.
13096         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13097         dl-procinfo.h.
13098         [PPC_PLATFORM_PPC440]: Likewise.
13099         [PPC_PLATFORM_PPC464]: Likewise.
13100         [PPC_PLATFORM_PPC476]: Likewise.
13101         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13102         ppc464, and ppc476 platform strings merging from ports/
13103         dl-procinfo.h.
13105 2013-06-11  Andreas Schwab  <schwab@suse.de>
13107         [BZ #14991]
13108         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13109         (from_ucs4_idx): Regenerate.
13110         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13111         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13112         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13113         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13114         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13115         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13116         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13117         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13118         from FROM_LOOP and TO_LOOP specific macros.
13119         (BODY): Handle combining characters.
13120         * iconvdata/BIG5HKSCS.irreversible: Update.
13121         * iconvdata/BIG5HKSCS.precomposed: New file.
13122         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13123         characters.
13124         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13126 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13128         * include/sys/time.h: Fix indentation and add copyright header.
13130         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13131         (do_test): Likewise.
13132         * string/test-memchr.c (do_one_test): Likewise.
13133         (do_test): Likewise.
13134         * string/test-memcmp.c (do_one_test): Likewise.
13135         (do_test): Likewise.
13136         * string/test-memcpy.c (do_one_test): Likewise.
13137         (do_test): Likewise.
13138         * string/test-memmem.c (do_one_test): Likewise.
13139         (do_test): Likewise.
13140         (do_random_tests): Likewise.
13141         * string/test-memmove.c (do_one_test): Likewise.
13142         (do_test): Likewise.
13143         * string/test-memset.c (do_one_test): Likewise.
13144         (do_test): Likewise.
13145         * string/test-rawmemchr.c (do_one_test): Likewise.
13146         (do_test): Likewise.
13147         * string/test-strcasecmp.c (do_one_test): Likewise.
13148         (do_test): Likewise.
13149         * string/test-strcasestr.c (do_one_test): Likewise.
13150         (do_test): Likewise.
13151         * string/test-strcat.c (do_one_test): Likewise.
13152         (do_test): Likewise.
13153         * string/test-strchr.c (do_one_test): Likewise.
13154         (do_test): Likewise.
13155         * string/test-strcmp.c (do_one_test): Likewise.
13156         (do_test): Likewise.
13157         * string/test-strcpy.c (do_one_test): Likewise.
13158         (do_test): Likewise.
13159         * string/test-string.h: Likewise.
13160         (test_init): Likewise.
13161         * string/test-strlen.c (do_one_test): Likewise.
13162         (do_test): Likewise.
13163         * string/test-strncasecmp.c (do_one_test): Likewise.
13164         (do_test): Likewise.
13165         * string/test-strncat.c (do_one_test): Likewise.
13166         (do_test): Likewise.
13167         * string/test-strncmp.c (do_one_test): Likewise.
13168         (do_test_limit): Likewise.
13169         (do_test): Likewise.
13170         * string/test-strncpy.c (do_one_test): Likewise.
13171         (do_test): Likewise.
13172         * string/test-strnlen.c (do_one_test): Likewise.
13173         (do_test): Likewise.
13174         * string/test-strpbrk.c (do_one_test): Likewise.
13175         (do_test): Likewise.
13176         * string/test-strrchr.c (do_one_test): Likewise.
13177         (do_test): Likewise.
13178         * string/test-strspn.c (do_one_test): Likewise.
13179         (do_test): Likewise.
13180         * string/test-strstr.c (do_one_test): Likewise.
13181         (do_test): Likewise.
13183         * benchtests/Makefile (string-bench): Add string benchmarks.
13184         * benchtests/bench-bcopy-ifunc.c: New file.
13185         * benchtests/bench-bcopy.c: New file.
13186         * benchtests/bench-bzero-ifunc.c: New file.
13187         * benchtests/bench-bzero.c: New file.
13188         * benchtests/bench-memccpy-ifunc.c: New file.
13189         * benchtests/bench-memccpy.c: New file.
13190         * benchtests/bench-memchr-ifunc.c: New file.
13191         * benchtests/bench-memchr.c: New file.
13192         * benchtests/bench-memcmp-ifunc.c: New file.
13193         * benchtests/bench-memcmp.c: New file.
13194         * benchtests/bench-memmem-ifunc.c: New file.
13195         * benchtests/bench-memmem.c: New file.
13196         * benchtests/bench-memmove-ifunc.c: New file.
13197         * benchtests/bench-memmove.c: New file.
13198         * benchtests/bench-mempcpy-ifunc.c: New file.
13199         * benchtests/bench-mempcpy.c: New file.
13200         * benchtests/bench-memset-ifunc.c: New file.
13201         * benchtests/bench-memset.c: New file.
13202         * benchtests/bench-rawmemchr-ifunc.c: New file.
13203         * benchtests/bench-rawmemchr.c: New file.
13204         * benchtests/bench-stpcpy-ifunc.c: New file.
13205         * benchtests/bench-stpcpy.c: New file.
13206         * benchtests/bench-stpncpy-ifunc.c: New file.
13207         * benchtests/bench-stpncpy.c: New file.
13208         * benchtests/bench-strcasecmp-ifunc.c: New file.
13209         * benchtests/bench-strcasecmp.c: New file.
13210         * benchtests/bench-strcasestr-ifunc.c: New file.
13211         * benchtests/bench-strcasestr.c: New file.
13212         * benchtests/bench-strcat-ifunc.c: New file.
13213         * benchtests/bench-strcat.c: New file.
13214         * benchtests/bench-strchr-ifunc.c: New file.
13215         * benchtests/bench-strchr.c: New file.
13216         * benchtests/bench-strchrnul-ifunc.c: New file.
13217         * benchtests/bench-strchrnul.c: New file.
13218         * benchtests/bench-strcmp-ifunc.c: New file.
13219         * benchtests/bench-strcmp.c: New file.
13220         * benchtests/bench-strcpy-ifunc.c: New file.
13221         * benchtests/bench-strcpy.c: New file.
13222         * benchtests/bench-strcspn-ifunc.c: New file.
13223         * benchtests/bench-strcspn.c: New file.
13224         * benchtests/bench-strlen-ifunc.c: New file.
13225         * benchtests/bench-strlen.c: New file.
13226         * benchtests/bench-strncasecmp-ifunc.c: New file.
13227         * benchtests/bench-strncasecmp.c: New file.
13228         * benchtests/bench-strncat-ifunc.c: New file.
13229         * benchtests/bench-strncat.c: New file.
13230         * benchtests/bench-strncmp-ifunc.c: New file.
13231         * benchtests/bench-strncmp.c: New file.
13232         * benchtests/bench-strncpy-ifunc.c: New file.
13233         * benchtests/bench-strncpy.c: New file.
13234         * benchtests/bench-strnlen-ifunc.c: New file.
13235         * benchtests/bench-strnlen.c: New file.
13236         * benchtests/bench-strpbrk-ifunc.c: New file.
13237         * benchtests/bench-strpbrk.c: New file.
13238         * benchtests/bench-strrchr-ifunc.c: New file.
13239         * benchtests/bench-strrchr.c: New file.
13240         * benchtests/bench-strspn-ifunc.c: New file.
13241         * benchtests/bench-strspn.c: New file.
13242         * benchtests/bench-strstr-ifunc.c: New file.
13243         * benchtests/bench-strstr.c: New file.
13245         * benchtests/Makefile: Disable parallel execution of targets.
13246         (string-bench): Add memcpy.
13247         (benchset): New variable to store a list of benchmark sets.
13248         (bench-func): Renamed from bench.
13249         (bench-set): New target.
13250         (bench): Depend on bench-func and bench-set.
13251         * benchtests/README: Add section on benchmark sets.
13252         * benchtests/bench-memcpy-ifunc.c: New file.
13253         * benchtests/bench-memcpy.c: New file.
13254         * benchtests/bench-string.h: New file.
13256 2013-06-11  Andreas Schwab  <schwab@suse.de>
13258         [BZ #15577]
13259         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13260         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13261         values in the triple.
13262         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13263         terminator in the group key.
13265 2013-06-11  Andreas Jaeger  <aj@suse.de>
13267         * po/zh_TW.po: Update Chinese (traditional) translation from
13268         translation project.
13270 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13272         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13273         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13274         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13276         (clock_getcpuclockid): Likewise.
13277         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13278         Add weak_alias and libc_hidden_def.
13279         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13280         * rt/clock_gettime.c (clock_gettime): Rename to
13281         __clock_gettime.  Add weak_alias and libc_hidden_def.
13282         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13283         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13284         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13285         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13286         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13287         Likewise.
13288         * rt/clock_settime.c (clock_settime): Rename to
13289         __clock_settime.  Add weak_alias and libc_hidden_def.
13290         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13292 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13294         * mach/err_boot.sub: Remove trailing whitespace.
13295         * mach/err_ipc.sub: Likewise.
13296         * mach/err_mach.sub: Likewise.
13298         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13299         (ROUNDING_TESTS_double): Likewise.
13300         (ROUNDING_TESTS_long_double): Likewise.
13301         (ROUNDING_TESTS): Likewise.
13302         * math/libm-test.inc: Include <math-tests.h>.
13303         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13304         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13305         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13306         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13308 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13310         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13311         of assigning.
13313 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13315         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13316         otherwise empty TRANS lines.
13317         * sysdeps/gnu/errlist.c: Regenerated.
13319         * catgets/gencat.c (error_print): Use (void) in function
13320         definition.
13321         * crypt/crypt_util.c (__init_des): Likewise.
13322         * crypt/speeds.c (Stop): Likewise.
13323         (main): Likewise.
13324         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13325         * inet/ruserpass.c (token): Likewise.
13326         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13327         * intl/localealias.c (extend_alias_table): Likewise.
13328         * intl/plural-exp.c (init_germanic_plural): Likewise.
13329         * libio/fcloseall.c (__fcloseall): Likewise.
13330         * libio/genops.c (_IO_flush_all): Likewise.
13331         (_IO_flush_all_linebuffered): Likewise.
13332         (_IO_cleanup): Likewise.
13333         (_IO_iter_begin): Likewise.
13334         (_IO_iter_end): Likewise.
13335         (_IO_list_lock): Likewise.
13336         (_IO_list_unlock): Likewise.
13337         (_IO_list_resetlock): Likewise.
13338         * libio/getchar.c (getchar): Likewise.
13339         * libio/getchar_u.c (getchar_unlocked): Likewise.
13340         * libio/getwchar.c (getwchar): Likewise.
13341         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13342         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13343         * login/getpt.c (__getpt): Likewise.
13344         * login/tst-utmp.c (main): Likewise.
13345         * malloc/hooks.c (__malloc_check_init): Likewise.
13346         * malloc/malloc.c (__malloc_stats): Likewise.
13347         * malloc/mtrace.c (tr_break): Likewise.
13348         (mtrace): Likewise.
13349         (muntrace): Likewise.
13350         * misc/fstab.c (endfsent): Likewise.
13351         * misc/getclktck.c (__getclktck): Likewise.
13352         * misc/getdtsz.c (__getdtablesize): Likewise.
13353         * misc/gethostid.c (gethostid): Likewise.
13354         * misc/getpagesize.c (__getpagesize): Likewise.
13355         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13356         (__get_nprocs): Likewise.
13357         (__get_phys_pages): Likewise.
13358         (__get_avphys_pages): Likewise.
13359         * misc/getttyent.c (getttyent): Likewise.
13360         (setttyent): Likewise.
13361         (endttyent): Likewise.
13362         * misc/getusershell.c (getusershell): Likewise.
13363         (endusershell): Likewise.
13364         (setusershell): Likewise.
13365         (initshells): Likewise.
13366         * misc/hsearch.c (__hdestroy): Likewise.
13367         * misc/sync.c (sync): Likewise.
13368         * misc/syslog.c (closelog_internal): Likewise.
13369         (closelog): Likewise.
13370         * misc/ttyslot.c (ttyslot): Likewise.
13371         * misc/vhangup.c (vhangup): Likewise.
13372         * posix/fork.c (__fork): Likewise.
13373         * posix/getegid.c (__getegid): Likewise.
13374         * posix/geteuid.c (__geteuid): Likewise.
13375         * posix/getgid.c (__getgid): Likewise.
13376         * posix/getpid.c (__getpid): Likewise.
13377         * posix/getppid.c (__getppid): Likewise.
13378         * posix/getuid.c (__getuid): Likewise.
13379         * posix/pause.c (pause): Likewise.
13380         * posix/setpgrp.c (setpgrp): Likewise.
13381         * posix/setsid.c (__setsid): Likewise.
13382         * posix/test-vfork.c (noop): Likewise.
13383         * resolv/gethnamaddr.c (_endhtent): Likewise.
13384         (_gethtent): Likewise.
13385         (ht_endhostent): Likewise.
13386         (gethostent): Likewise.
13387         (dns_service): Likewise.
13388         * stdlib/drand48.c (drand48): Likewise.
13389         * stdlib/lrand48.c (lrand48): Likewise.
13390         * stdlib/mrand48.c (mrand48): Likewise.
13391         * stdlib/rand.c (rand): Likewise.
13392         * stdlib/random.c (__random): Likewise.
13393         * stdlib/setenv.c (clearenv): Likewise.
13394         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13395         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13396         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13397         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13398         (__get_nprocs): Likewise.
13399         (__get_phys_pages): Likewise.
13400         (__get_avphys_pages): Likewise.
13401         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13402         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13403         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13404         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13405         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13406         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13407         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13408         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13409         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13410         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13411         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13412         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13413         * sysdeps/posix/clock.c (clock): Likewise.
13414         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13415         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13416         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13417         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13418         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13420         (__get_nprocs_conf): Likewise.
13421         (__get_phys_pages): Likewise.
13422         (__get_avphys_pages): Likewise.
13423         * time/clock.c (clock): Likewise.
13424         * time/tzset.c (__tzname_max): Likewise.
13426 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13428         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13429         (__bswap_32): Do not use "register".
13430         * crypt/crypt.c (_ufc_doit_r): Likewise.
13431         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13432         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13433         * gmon/gmon.c (__monstartup): Likewise.
13434         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13435         * hurd/hurdmalloc.c (more_memory): Likewise.
13436         (malloc): Likewise.
13437         (free): Likewise.
13438         (realloc): Likewise.
13439         (malloc_fork_prepare): Likewise.
13440         (malloc_fork_parent): Likewise.
13441         (malloc_fork_child): Likewise.
13442         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13443         (_svcauth_des): Likewise.
13444         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13445         * inet/inet_net.c (inet_network): Likewise.
13446         * inet/inet_netof.c (inet_netof): Likewise.
13447         * inet/rcmd.c (__validuser2_sa): Likewise.
13448         * io/fts.c (fts_open): Likewise.
13449         (fts_load): Likewise.
13450         (fts_close): Likewise.
13451         (fts_read): Likewise.
13452         (fts_children): Likewise.
13453         (fts_build): Likewise.
13454         (fts_stat): Likewise.
13455         (fts_sort): Likewise.
13456         (fts_alloc): Likewise.
13457         (fts_lfree): Likewise.
13458         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13459         (_IO_file_xsgetn): Likewise.
13460         (_IO_file_xsgetn_mmap): Likewise.
13461         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13462         (_IO_cookie_write): Likewise.
13463         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13464         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13465         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13466         * malloc/obstack.c (_obstack_begin): Likewise.
13467         (_obstack_begin_1): Likewise.
13468         (_obstack_newchunk): Likewise.
13469         (_obstack_allocated_p): Likewise.
13470         (obstack_free): Likewise.
13471         (_obstack_memory_used): Likewise.
13472         * misc/getttyent.c (getttynam): Likewise.
13473         (getttyent): Likewise.
13474         (skip): Likewise.
13475         (value): Likewise.
13476         * misc/getusershell.c (initshells): Likewise.
13477         * misc/syslog.c (__vsyslog_chk): Likewise.
13478         * misc/ttyslot.c (ttyslot): Likewise.
13479         * nis/nis_hash.c (__nis_hash): Likewise.
13480         * posix/fnmatch_loop.c (FCT): Likewise.
13481         * posix/getconf.c (print_all): Likewise.
13482         (main): Likewise.
13483         * posix/getopt.c (exchange): Likewise.
13484         * posix/glob.c (globfree): Likewise.
13485         (prefix_array): Likewise.
13486         (__glob_pattern_type): Likewise.
13487         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13488         (NS_GET32): Likewise.
13489         (NS_PUT16): Likewise.
13490         (NS_PUT32): Likewise.
13491         * resolv/gethnamaddr.c (getanswer): Likewise.
13492         (gethostbyname2): Likewise.
13493         (gethostbyaddr): Likewise.
13494         (_gethtent): Likewise.
13495         (_gethtbyname2): Likewise.
13496         (_gethtbyaddr): Likewise.
13497         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13498         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13499         * resolv/res_init.c (__res_vinit): Likewise.
13500         (net_mask): Likewise.
13501         * resolv/res_mkquery.c (outchar): Likewise.
13502         (PRINT): Likewise.
13503         * stdio-common/printf_fp.c (outchar): Likewise.
13504         (PRINT): Likewise.
13505         * stdio-common/printf_fphex.c (outchar): Likewise.
13506         (PRINT): Likewise.
13507         * stdio-common/printf_size.c (outchar): Likewise.
13508         (PRINT): Likewise.
13509         * stdio-common/test_rdwr.c (main): Likewise.
13510         * stdio-common/tfformat.c (matches): Likewise.
13511         * stdio-common/vfprintf.c (outchar): Likewise.
13512         (printf_unknown): Likewise.
13513         (buffered_vfprintf): Likewise.
13514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13515         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13516         (ReadFile): Likewise.
13517         * stdlib/qsort.c (SWAP): Likewise.
13518         (_quicksort): Likewise.
13519         * stdlib/setenv.c (__add_to_environ): Likewise.
13520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13521         * stdlib/strtol_l.c (__strtol_l): Likewise.
13522         * stdlib/tst-strtod.c (main): Likewise.
13523         * stdlib/tst-strtol.c (main): Likewise.
13524         * stdlib/tst-strtoll.c (main): Likewise.
13525         * string/bits/string2.h (__strcmp_cc): Likewise.
13526         (__strcmp_cg): Likewise.
13527         (__strcspn_c1): Likewise.
13528         (__strcspn_c2): Likewise.
13529         (__strcspn_c3): Likewise.
13530         (__strspn_c1): Likewise.
13531         (__strspn_c2): Likewise.
13532         (__strspn_c3): Likewise.
13533         (__strsep_1c): Likewise.
13534         (__strsep_2c): Likewise.
13535         (__strsep_3c): Likewise.
13536         * string/memccpy.c (__memccpy): Likewise.
13537         * string/stpcpy.c (__stpcpy): Likewise.
13538         * string/strcmp.c (strcmp): Likewise.
13539         * string/strrchr.c (strrchr): Likewise.
13540         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13541         Likewise.
13542         * sysdeps/mach/hurd/getcwd.c
13543         (_hurd_canonicalize_directory_name_internal): Likewise.
13544         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13545         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13546         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13547         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13548         Likewise, in both definitions.
13549         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13550         definitions.
13551         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13552         64] (__bswap_64): Likewise.
13553         * time/test_time.c (main): Likewise.
13554         * time/tzfile.c (__tzfile_read): Likewise.
13555         (__tzfile_compute): Likewise.
13556         * time/tzset.c (__tzset_parse_tz): Likewise.
13557         (tzset_internal): Likewise.
13558         (compute_change): Likewise.
13559         * wcsmbs/wcscat.c (__wcscat): Likewise.
13560         * wcsmbs/wcschr.c (wcschr): Likewise.
13561         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13562         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13563         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13564         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13565         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13566         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13567         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13568         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13569         * wcsmbs/wmemset.c (wmemset): Likewise.
13571 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13573         * scripts/config.guess: Update to version 2013-05-16.
13574         * scripts/config.sub: Update to version 2013-04-24.
13575         * scripts/install-sh: Update to version 2011-11-20.07.
13576         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13577         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13579 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13581         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13582         * elf/sln.c: Likewise.
13583         * hurd/hurd/ioctl.h: Likewise.
13584         * hurd/hurdmalloc.c: Likewise.
13585         * hurd/xattr.c: Likewise.
13586         * include/shlib-compat.h: Likewise.
13587         * inet/ruserpass.c: Likewise.
13588         * libio/iofgets_u.c: Likewise.
13589         * libio/iofgetws_u.c: Likewise.
13590         * locale/programs/ld-identification.c: Likewise.
13591         * locale/programs/ld-time.c: Likewise.
13592         * mach/msg-destroy.c: Likewise.
13593         * nss/nss_files/files-netgrp.c: Likewise.
13594         * resolv/res_data.c: Likewise.
13595         * soft-fp/op-1.h: Likewise.
13596         * soft-fp/op-2.h: Likewise.
13597         * soft-fp/op-4.h: Likewise.
13598         * soft-fp/op-common.h: Likewise.
13599         * stdio-common/printf_fphex.c: Likewise.
13600         * stdlib/strtod_l.c: Likewise.
13601         * sunrpc/rpc/clnt.h: Likewise.
13602         * sysdeps/generic/framestate.c: Likewise.
13603         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13604         * sysdeps/i386/bsd-setjmp.S: Likewise.
13605         * sysdeps/i386/__longjmp.S: Likewise.
13606         * sysdeps/i386/setjmp.S: Likewise.
13607         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13608         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13609         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13612         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13614         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13615         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13616         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13617         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13618         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13619         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13620         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13621         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13622         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13623         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13624         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13625         * sysdeps/ieee754/support.c: Likewise.
13626         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13627         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13628         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13629         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13630         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13631         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13632         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13633         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13634         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13635         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13636         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13637         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13638         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13639         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13640         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13641         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13642         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13645 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13647         * posix/transbug.c: Remove executable mode.
13649 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13651         * crypt/speeds.c: Remove trailing whitespace.
13652         * dlfcn/default.c: Likewise.
13653         * elf/ifuncdep2.c: Likewise.
13654         * elf/ifuncmain1.c: Likewise.
13655         * elf/ifuncmain1vis.c: Likewise.
13656         * elf/testobj.h: Likewise.
13657         * elf/tst-stackguard1.c: Likewise.
13658         * gmon/sys/gmon.h: Likewise.
13659         * hurd/hurdmsg.c: Likewise.
13660         * hurd/new-fd.c: Likewise.
13661         * hurd/ports-get.c: Likewise.
13662         * iconvdata/ibm1008_420.c: Likewise.
13663         * inet/tst-getni1.c: Likewise.
13664         * inet/tst-getni2.c: Likewise.
13665         * libio/ioungetc.c: Likewise.
13666         * libio/wfiledoalloc.c: Likewise.
13667         * manual/libm-err-tab.pl: Likewise.
13668         * math/w_dremf.c: Likewise.
13669         * misc/ftruncate.c: Likewise.
13670         * posix/bug-glob2.c: Likewise.
13671         * posix/tst-pcre.c: Likewise.
13672         * posix/wait4.c: Likewise.
13673         * resolv/README: Likewise.
13674         * resolv/res_debug.h: Likewise.
13675         * resolv/tst-inet_ntop.c: Likewise.
13676         * setjmp/bug269-setjmp.c: Likewise.
13677         * soft-fp/extended.h: Likewise.
13678         * soft-fp/op-1.h: Likewise.
13679         * soft-fp/op-2.h: Likewise.
13680         * soft-fp/op-4.h: Likewise.
13681         * soft-fp/op-8.h: Likewise.
13682         * soft-fp/testit.c: Likewise.
13683         * stdio-common/bug16.c: Likewise.
13684         * stdlib/random.c: Likewise.
13685         * sunrpc/rpcsvc/rquota.x: Likewise.
13686         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13687         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13688         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13689         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13690         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13691         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13692         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13693         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13694         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13695         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13696         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13697         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13698         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13699         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13701         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13702         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13704         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13705         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13707         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13708         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13709         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13710         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13711         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13713         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13715         * sysdeps/ieee754/s_lib_version.c: Likewise.
13716         * sysdeps/mach/hurd/check_fds.c: Likewise.
13717         * sysdeps/mach/hurd/getsockname.c: Likewise.
13718         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13719         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13720         * sysdeps/powerpc/bits/link.h: Likewise.
13721         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13722         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13723         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13724         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13725         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13726         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13727         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13729         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13730         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13731         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13732         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13733         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13734         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13735         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13736         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13737         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13738         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13740         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13741         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13742         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13744         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13745         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13746         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13747         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13748         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13749         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13753         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13754         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13755         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13756         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13757         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13758         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13759         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13760         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13761         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13762         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13763         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13764         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13765         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13766         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13767         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13768         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13769         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13770         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13773         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13774         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13775         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13776         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13777         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13778         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13779         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13780         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13781         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13782         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13783         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13784         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13785         * sysdeps/powerpc/sysdep.h: Likewise.
13786         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13787         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13788         * sysdeps/sh/dl-trampoline.S: Likewise.
13789         * sysdeps/sh/memset.S: Likewise.
13790         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13791         * sysdeps/sh/strlen.S: Likewise.
13792         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13793         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13794         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13795         * sysdeps/sparc/sparc32/rem.S: Likewise.
13796         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13797         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13798         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13799         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13800         * sysdeps/sparc/sparc32/urem.S: Likewise.
13801         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13802         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13803         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13804         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13805         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13806         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13807         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13808         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13809         * sysdeps/unix/bsd/times.c: Likewise.
13810         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13811         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13815         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13816         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13817         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13818         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13819         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13820         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13821         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13822         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13823         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13824         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13825         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13826         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13827         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13828         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13829         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13830         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13831         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13832         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13833         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13834         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13835         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13836         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13837         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13838         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13839         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13840         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13841         * sysdeps/x86_64/strcspn.S: Likewise.
13843 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13845         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13846         generated file.  Regenerate properly from gen-translit.pl.
13847         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13848         locale/C-translit.h.
13850 2013-06-05  Andreas Schwab  <schwab@suse.de>
13852         [BZ #15100]
13853         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13854         week as 6 instead of -1.
13855         * time/tst-strptime.c (day_tests): Add test case.
13857 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13859         * sysdeps/generic/math_private.h
13860         (libc_feholdexcept_setround_53bit): Replace with
13861         libc_feholdsetround_53bit.
13862         (libc_feupdateenv_53bit): Replace with
13863         libc_feresetround_53bit.
13864         (SET_RESTORE_ROUND_53BIT): Adjust.
13866 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13868         * string/test-strchrnul.c: Add copyright header.
13870         * posix/tst-getaddrinfo4.c: Increase test timeout.
13872 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13874         [BZ #15536]
13875         * math/libm-test.inc (MAX_EXP): Remove
13876         (MIN_EXP): Define.
13877         (ulp): Use MIN_EXP - MANT_DIG.
13878         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13880 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13882         * po/be.po: Revert last change.
13883         * po/zh_CN.po: Likewise.
13884         * po/header.pot: Likewise.
13886 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
13888         * Makefile ($(common-objpfx)linkobj/libc.so): Define
13889         link-libc-deps to empty as target-specific variable.
13890         * Makerules (link-libc-args): New variable.
13891         (libc-for-link): Likewise.
13892         (link-libc-deps): Likewise.
13893         (lib%.so): Depend on $(link-libc-deps).  Link with
13894         $(link-libc-args).
13895         (build-module): Link with $(link-libc-args).
13896         (build-module-asneeded): Likewise.
13897         (build-module-helper-objlist): Filter out $(link-libc-deps) from
13898         list of objects.
13899         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13900         target-specific variable.
13901         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13902         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13903         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13904         libc.
13905         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13906         libc and ld.so.
13907         ($(objpfx)libpcprofile.so): Likewise.
13908         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13909         libc_nonshared.a.
13910         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13911         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13912         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13913         $(link-libc-deps).
13914         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13915         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13916         * login/Makefile ($(objpfx)libutil.so): Likewise.
13917         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13918         * math/Makefile ($(objpfx)libm.so): Likewise.
13919         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13920         $(objpfx)libnsl.so): Define libc-for-link as target-specific
13921         variable instead of depending directly on libc.
13922         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13923         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13924         $(link-libc-deps).
13925         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13926         libc.
13927         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13928         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13929         ($(objpfx)libanl.so): Likewise.
13930         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13931         ld.so.
13932         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13933         $(link-libc-deps).
13934         * sysdeps/i386/fpu/Makefile: Remove file.
13935         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13936         ($(objpfx)libm.so): Remove dependency on ld.so.
13938 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
13940         [BZ # 15553]
13941         * nis/yp_xdr.c (XDRMAXNAME): Define.
13942         (XDRMAXRECORD): Define.
13943         (xdr_domainname): Use XDRMAXNAME.
13944         (xdr_mapname): Likewise.
13945         (xdr_peername): Likewise.
13946         (xdr_keydat): Use XDRMAXRECORD.
13947         (xdr_valdat): Likewise.
13949 2013-05-30  Jeff Law  <law@redhat.com>
13951         [BZ #14256]
13952         * manual/errno.texi (ESTALE): Update to account for more than
13953         just NFS file systems.
13954         * sysdeps/gnu/errlist.c: Regenerated.
13956 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13958         [BZ #15465]
13959         * elf/Makefile (tests): Add tst-null-argv.
13960         (modules-names):  Add tst-null-argv-lib.
13961         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13962         (tst-null-argv-ENV): Set environment for tst-null-argv.
13963         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13964         (RTLD_PROGNAME): New macro.
13965         * elf/tst-null-argv.c: New test case.
13966         * elf/tst-null-argv-lib.c: Library for test case.
13967         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13968         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13969         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13970         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13971         * elf/dl-init.c (call_init): Likewise.
13972         (_dl_init): Likewise.
13973         * elf/dl-load.c (print_search_path): Likewise.
13974         (_dl_map_object): Likewise.
13975         * elf/dl-lookup.c (do_lookup_x): Likewise.
13976         (add_dependency): Likewise.
13977         (_dl_lookup_symbol_x): Likewise.
13978         (_dl_debug_bindings): Likewise.
13979         * elf/dl-open.c (_dl_show_scope): Likewise.
13980         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13981         * elf/dl-version.c (match_symbol): Likewise.
13982         (_dl_check_map_versions): Likewise.
13983         * elf/rtld.c (dl_main): Likewise.
13984         (print_unresolved): Use RTLD_PROGNAME.
13985         (print_missing_version): Likewise.
13986         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13987         (elf_machine_rela): Likewise.
13988         * sysdeps/powerpc/powerpc32/dl-machine.c
13989         (__process_machine_rela): Likewise.
13990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13991         Likewise.
13992         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13993         Likewise.
13994         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13995         Likewise.
13996         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13998         Likewise.
13999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14000         Likewise.
14001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14003 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14005         * po/be.po: Add descriptive title.
14006         * po/zh_CN.po: Likewise.
14007         * po/header.pot: Likewise.
14009 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14011         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14012         error message.
14013         (enlarge_archive): Likewise.
14015 2013-05-28  Ben North  <ben@redfrontdoor.org>
14017         * manual/arith.texi (frexp): It is the magnitude of the return
14018         value which lies in [0.5, 1), not the return value itself.
14020 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14024 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14026         * stdio-common/bug26.c (main): Correct fscanf template.
14028         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14029         declare _dl_skip_args.
14031         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14032         Don't declare.
14034         * manual/platform.texi: Add missing @end deftypefun.
14036 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14038         [BZ #15529]
14039         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14040         bit of mantissa of 2^16382.
14041         * math/libm-test.inc (hypot_test_data): Add more tests.
14043         * math/libm-test.inc: Add drem and pow10 to list of tested
14044         functions.
14045         (pow10_test): New function.
14046         (drem_test): Likewise.
14047         (drem_test_tonearest): Likewise.
14048         (drem_test_towardzero): Likewise.
14049         (drem_test_downward): Likewise.
14050         (drem_test_upward): Likewise.
14051         (main): Call the new functions.
14053         * math/libm-test.inc (finite_test_data): Remove.
14054         (finite_test): Run tests from isfinite_test_data.
14055         (gamma_test_data): Remove.
14056         (gamma_test): Run tests from lgamma_test_data.
14057         * sysdeps/i386/fpu/libm-test-ulps: Update.
14058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14060 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14062         * manual/platform.texi: Add PowerPC PPR function set documentation.
14063         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14064         implementation.
14066 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14068         * math/libm-test.inc (MAX_EXP): Define.
14069         (ULPDIFF): Define.
14070         (ulp): New function.
14071         (check_float_internal): Use ULPDIFF.
14072         (cpow_test): Disable failing test.
14073         (check_ulp): Test ulp() implemetnation.
14074         (main): Call check_ulp before starting tests.
14076 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14078         * math/gen-libm-test.pl (generate_testfile): Do not handle
14079         START_DATA and END_DATA.
14080         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14081         END_DATA.
14082         (acos_tonearest_test_data): Likewise.
14083         (acos_towardzero_test_data): Likewise.
14084         (acos_downward_test_data): Likewise.
14085         (acos_upward_test_data): Likewise.
14086         (acosh_test_data): Likewise.
14087         (asin_test_data): Likewise.
14088         (asin_tonearest_test_data): Likewise.
14089         (asin_towardzero_test_data): Likewise.
14090         (asin_downward_test_data): Likewise.
14091         (asin_upward_test_data): Likewise.
14092         (asinh_test_data): Likewise.
14093         (atan_test_data): Likewise.
14094         (atanh_test_data): Likewise.
14095         (atan2_test_data): Likewise.
14096         (cabs_test_data): Likewise.
14097         (cacos_test_data): Likewise.
14098         (cacosh_test_data): Likewise.
14099         (carg_test_data): Likewise.
14100         (casin_test_data): Likewise.
14101         (casinh_test_data): Likewise.
14102         (catan_test_data): Likewise.
14103         (catanh_test_data): Likewise.
14104         (cbrt_test_data): Likewise.
14105         (ccos_test_data): Likewise.
14106         (ccosh_test_data): Likewise.
14107         (ceil_test_data): Likewise.
14108         (cexp_test_data): Likewise.
14109         (cimag_test_data): Likewise.
14110         (clog_test_data): Likewise.
14111         (clog10_test_data): Likewise.
14112         (conj_test_data): Likewise.
14113         (copysign_test_data): Likewise.
14114         (cos_test_data): Likewise.
14115         (cos_tonearest_test_data): Likewise.
14116         (cos_towardzero_test_data): Likewise.
14117         (cos_downward_test_data): Likewise.
14118         (cos_upward_test_data): Likewise.
14119         (cosh_test_data): Likewise.
14120         (cosh_tonearest_test_data): Likewise.
14121         (cosh_towardzero_test_data): Likewise.
14122         (cosh_downward_test_data): Likewise.
14123         (cosh_upward_test_data): Likewise.
14124         (cpow_test_data): Likewise.
14125         (cproj_test_data): Likewise.
14126         (creal_test_data): Likewise.
14127         (csin_test_data): Likewise.
14128         (csinh_test_data): Likewise.
14129         (csqrt_test_data): Likewise.
14130         (ctan_test_data): Likewise.
14131         (ctan_tonearest_test_data): Likewise.
14132         (ctan_towardzero_test_data): Likewise.
14133         (ctan_downward_test_data): Likewise.
14134         (ctan_upward_test_data): Likewise.
14135         (ctanh_test_data): Likewise.
14136         (ctanh_tonearest_test_data): Likewise.
14137         (ctanh_towardzero_test_data): Likewise.
14138         (ctanh_downward_test_data): Likewise.
14139         (ctanh_upward_test_data): Likewise.
14140         (erf_test_data): Likewise.
14141         (erfc_test_data): Likewise.
14142         (exp_test_data): Likewise.
14143         (exp_tonearest_test_data): Likewise.
14144         (exp_towardzero_test_data): Likewise.
14145         (exp_downward_test_data): Likewise.
14146         (exp_upward_test_data): Likewise.
14147         (exp10_test_data): Likewise.
14148         (exp2_test_data): Likewise.
14149         (expm1_test_data): Likewise.
14150         (fabs_test_data): Likewise.
14151         (fdim_test_data): Likewise.
14152         (finite_test_data): Likewise.
14153         (floor_test_data): Likewise.
14154         (fma_test_data): Likewise.
14155         (fma_towardzero_test_data): Likewise.
14156         (fma_downward_test_data): Likewise.
14157         (fma_upward_test_data): Likewise.
14158         (fmax_test_data): Likewise.
14159         (fmin_test_data): Likewise.
14160         (fmod_test_data): Likewise.
14161         (fpclassify_test_data): Likewise.
14162         (frexp_test_data): Likewise.
14163         (gamma_test_data): Likewise.
14164         (hypot_test_data): Likewise.
14165         (ilogb_test_data): Likewise.
14166         (isfinite_test_data): Likewise.
14167         (isgreater_test_data): Likewise.
14168         (isgreaterequal_test_data): Likewise.
14169         (isinf_test_data): Likewise.
14170         (isless_test_data): Likewise.
14171         (islessequal_test_data): Likewise.
14172         (islessgreater_test_data): Likewise.
14173         (isnan_test_data): Likewise.
14174         (isnormal_test_data): Likewise.
14175         (issignaling_test_data): Likewise.
14176         (isunordered_test_data): Likewise.
14177         (j0_test_data): Likewise.
14178         (j1_test_data): Likewise.
14179         (jn_test_data): Likewise.
14180         (ldexp_test_data): Likewise.
14181         (lgamma_test_data): Likewise.
14182         (lrint_test_data): Likewise.
14183         (lrint_tonearest_test_data): Likewise.
14184         (lrint_towardzero_test_data): Likewise.
14185         (lrint_downward_test_data): Likewise.
14186         (lrint_upward_test_data): Likewise.
14187         (llrint_test_data): Likewise.
14188         (llrint_tonearest_test_data): Likewise.
14189         (llrint_towardzero_test_data): Likewise.
14190         (llrint_downward_test_data): Likewise.
14191         (llrint_upward_test_data): Likewise.
14192         (log_test_data): Likewise.
14193         (log10_test_data): Likewise.
14194         (log1p_test_data): Likewise.
14195         (log2_test_data): Likewise.
14196         (logb_test_data): Likewise.
14197         (logb_downward_test_data): Likewise.
14198         (lround_test_data): Likewise.
14199         (llround_test_data): Likewise.
14200         (modf_test_data): Likewise.
14201         (nearbyint_test_data): Likewise.
14202         (nextafter_test_data): Likewise.
14203         (nexttoward_test_data): Likewise.
14204         (pow_test_data): Likewise.
14205         (pow_tonearest_test_data): Likewise.
14206         (pow_towardzero_test_data): Likewise.
14207         (pow_downward_test_data): Likewise.
14208         (pow_upward_test_data): Likewise.
14209         (remainder_test_data): Likewise.
14210         (remainder_tonearest_test_data): Likewise.
14211         (remainder_towardzero_test_data): Likewise.
14212         (remainder_downward_test_data): Likewise.
14213         (remainder_upward_test_data): Likewise.
14214         (remquo_test_data): Likewise.
14215         (rint_test_data): Likewise.
14216         (rint_tonearest_test_data): Likewise.
14217         (rint_towardzero_test_data): Likewise.
14218         (rint_downward_test_data): Likewise.
14219         (rint_upward_test_data): Likewise.
14220         (round_test_data): Likewise.
14221         (scalb_test_data): Likewise.
14222         (scalbn_test_data): Likewise.
14223         (scalbln_test_data): Likewise.
14224         (signbit_test_data): Likewise.
14225         (sin_test_data): Likewise.
14226         (sin_tonearest_test_data): Likewise.
14227         (sin_towardzero_test_data): Likewise.
14228         (sin_downward_test_data): Likewise.
14229         (sin_upward_test_data): Likewise.
14230         (sincos_test_data): Likewise.
14231         (sinh_test_data): Likewise.
14232         (sinh_tonearest_test_data): Likewise.
14233         (sinh_towardzero_test_data): Likewise.
14234         (sinh_downward_test_data): Likewise.
14235         (sinh_upward_test_data): Likewise.
14236         (sqrt_test_data): Likewise.
14237         (tan_test_data): Likewise.
14238         (tan_tonearest_test_data): Likewise.
14239         (tan_towardzero_test_data): Likewise.
14240         (tan_downward_test_data): Likewise.
14241         (tan_upward_test_data): Likewise.
14242         (tanh_test_data): Likewise.
14243         (tgamma_test_data): Likewise.
14244         (trunc_test_data): Likewise.
14245         (y0_test_data): Likewise.
14246         (y1_test_data): Likewise.
14247         (yn_test_data): Likewise.
14248         (significand_test_data): Likewise.
14250         * math/gen-libm-test.pl (@functions): Remove variable.
14251         (generate_testfile): Don't handle START and END lines.
14252         * math/libm-test.inc (START): New macro.
14253         (END): Likewise.
14254         (END_COMPLEX): Likewise.
14255         (acos_test): Use END macro without arguments.
14256         (acos_test_tonearest): Likewise.
14257         (acos_test_towardzero): Likewise.
14258         (acos_test_downward): Likewise.
14259         (acos_test_upward): Likewise.
14260         (acosh_test): Likewise.
14261         (asin_test): Likewise.
14262         (asin_test_tonearest): Likewise.
14263         (asin_test_towardzero): Likewise.
14264         (asin_test_downward): Likewise.
14265         (asin_test_upward): Likewise.
14266         (asinh_test): Likewise.
14267         (atan_test): Likewise.
14268         (atanh_test): Likewise.
14269         (atan2_test): Likewise.
14270         (cabs_test): Likewise.
14271         (cacos_test): Use END_COMPLEX macro without arguments.
14272         (cacosh_test): Likewise.
14273         (carg_test): Use END macro without arguments.
14274         (casin_test): Use END_COMPLEX macro without arguments.
14275         (casinh_test): Likewise.
14276         (catan_test): Likewise.
14277         (catanh_test): Likewise.
14278         (cbrt_test): Use END macro without arguments.
14279         (ccos_test): Use END_COMPLEX macro without arguments.
14280         (ccosh_test): Likewise.
14281         (ceil_test): Use END macro without arguments.
14282         (cexp_test): Use END_COMPLEX macro without arguments.
14283         (cimag_test): Use END macro without arguments.
14284         (clog_test): Use END_COMPLEX macro without arguments.
14285         (clog10_test): Likewise.
14286         (conj_test): Likewise.
14287         (copysign_test): Use END macro without arguments.
14288         (cos_test): Likewise.
14289         (cos_test_tonearest): Likewise.
14290         (cos_test_towardzero): Likewise.
14291         (cos_test_downward): Likewise.
14292         (cos_test_upward): Likewise.
14293         (cosh_test): Likewise.
14294         (cosh_test_tonearest): Likewise.
14295         (cosh_test_towardzero): Likewise.
14296         (cosh_test_downward): Likewise.
14297         (cosh_test_upward): Likewise.
14298         (cpow_test): Use END_COMPLEX macro without arguments.
14299         (cproj_test): Likewise.
14300         (creal_test): Use END macro without arguments.
14301         (csin_test): Use END_COMPLEX macro without arguments.
14302         (csinh_test): Likewise.
14303         (csqrt_test): Likewise.
14304         (ctan_test): Likewise.
14305         (ctan_test_tonearest): Likewise.
14306         (ctan_test_towardzero): Likewise.
14307         (ctan_test_downward): Likewise.
14308         (ctan_test_upward): Likewise.
14309         (ctanh_test): Likewise.
14310         (ctanh_test_tonearest): Likewise.
14311         (ctanh_test_towardzero): Likewise.
14312         (ctanh_test_downward): Likewise.
14313         (ctanh_test_upward): Likewise.
14314         (erf_test): Use END macro without arguments.
14315         (erfc_test): Likewise.
14316         (exp_test): Likewise.
14317         (exp_test_tonearest): Likewise.
14318         (exp_test_towardzero): Likewise.
14319         (exp_test_downward): Likewise.
14320         (exp_test_upward): Likewise.
14321         (exp10_test): Likewise.
14322         (exp2_test): Likewise.
14323         (expm1_test): Likewise.
14324         (fabs_test): Likewise.
14325         (fdim_test): Likewise.
14326         (finite_test): Likewise.
14327         (floor_test): Likewise.
14328         (fma_test): Likewise.
14329         (fma_test_towardzero): Likewise.
14330         (fma_test_downward): Likewise.
14331         (fma_test_upward): Likewise.
14332         (fmax_test): Likewise.
14333         (fmin_test): Likewise.
14334         (fmod_test): Likewise.
14335         (fpclassify_test): Likewise.
14336         (frexp_test): Likewise.
14337         (gamma_test): Likewise.
14338         (hypot_test): Likewise.
14339         (ilogb_test): Likewise.
14340         (isfinite_test): Likewise.
14341         (isgreater_test): Likewise.
14342         (isgreaterequal_test): Likewise.
14343         (isinf_test): Likewise.
14344         (isless_test): Likewise.
14345         (islessequal_test): Likewise.
14346         (islessgreater_test): Likewise.
14347         (isnan_test): Likewise.
14348         (isnormal_test): Likewise.
14349         (issignaling_test): Likewise.
14350         (isunordered_test): Likewise.
14351         (j0_test): Likewise.
14352         (j1_test): Likewise.
14353         (jn_test): Likewise.
14354         (ldexp_test): Likewise.
14355         (lgamma_test): Likewise.
14356         (lrint_test): Likewise.
14357         (lrint_test_tonearest): Likewise.
14358         (lrint_test_towardzero): Likewise.
14359         (lrint_test_downward): Likewise.
14360         (lrint_test_upward): Likewise.
14361         (llrint_test): Likewise.
14362         (llrint_test_tonearest): Likewise.
14363         (llrint_test_towardzero): Likewise.
14364         (llrint_test_downward): Likewise.
14365         (llrint_test_upward): Likewise.
14366         (log_test): Likewise.
14367         (log10_test): Likewise.
14368         (log1p_test): Likewise.
14369         (log2_test): Likewise.
14370         (logb_test): Likewise.
14371         (logb_test_downward): Likewise.
14372         (lround_test): Likewise.
14373         (llround_test): Likewise.
14374         (modf_test): Likewise.
14375         (nearbyint_test): Likewise.
14376         (nextafter_test): Likewise.
14377         (nexttoward_test): Likewise.
14378         (pow_test): Likewise.
14379         (pow_test_tonearest): Likewise.
14380         (pow_test_towardzero): Likewise.
14381         (pow_test_downward): Likewise.
14382         (pow_test_upward): Likewise.
14383         (remainder_test): Likewise.
14384         (remainder_test_tonearest): Likewise.
14385         (remainder_test_towardzero): Likewise.
14386         (remainder_test_downward): Likewise.
14387         (remainder_test_upward): Likewise.
14388         (remquo_test): Likewise.
14389         (rint_test): Likewise.
14390         (rint_test_tonearest): Likewise.
14391         (rint_test_towardzero): Likewise.
14392         (rint_test_downward): Likewise.
14393         (rint_test_upward): Likewise.
14394         (round_test): Likewise.
14395         (scalb_test): Likewise.
14396         (scalbn_test): Likewise.
14397         (scalbln_test): Likewise.
14398         (signbit_test): Likewise.
14399         (sin_test): Likewise.
14400         (sin_test_tonearest): Likewise.
14401         (sin_test_towardzero): Likewise.
14402         (sin_test_downward): Likewise.
14403         (sin_test_upward): Likewise.
14404         (sincos_test): Likewise.
14405         (sinh_test): Likewise.
14406         (sinh_test_tonearest): Likewise.
14407         (sinh_test_towardzero): Likewise.
14408         (sinh_test_downward): Likewise.
14409         (sinh_test_upward): Likewise.
14410         (sqrt_test): Likewise.
14411         (tan_test): Likewise.
14412         (tan_test_tonearest): Likewise.
14413         (tan_test_towardzero): Likewise.
14414         (tan_test_downward): Likewise.
14415         (tan_test_upward): Likewise.
14416         (tanh_test): Likewise.
14417         (tgamma_test): Likewise.
14418         (trunc_test): Likewise.
14419         (y0_test): Likewise.
14420         (y1_test): Likewise.
14421         (yn_test): Likewise.
14422         (significand_test): Likewise.
14424 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14426         [BZ #15381]
14427         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14429 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14431         [BZ #14894]
14432         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14433         __ppc_mdoio and __ppc_mdoom.
14434         * manual/platform.texi: Document new functions __ppc_yield,
14435         __ppc_mdoio and __ppc_mdoom.
14437 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14439         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14440         (main): Mention "tls" pseudo-hwcap is legacy.
14441         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14443 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14445         * math/gen-libm-test.pl (parse_args): Output only string of
14446         arguments as text for test name, not full call or descriptions of
14447         tests for extra outputs.
14448         (generate_testfile): Do not pass function name to parse_args.
14449         Generate this_func variable from START.
14450         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14451         field to arg_str.
14452         (struct test_ff_f_data): Likewise.
14453         (test_ff_f_data_nexttoward): Likewise.
14454         (struct test_fi_f_data): Likewise.
14455         (struct test_fl_f_data): Likewise.
14456         (struct test_if_f_data): Likewise.
14457         (struct test_fff_f_data): Likewise.
14458         (struct test_c_f_data): Likewise.
14459         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14460         (struct test_fF_f1_data): Likewise.
14461         (struct test_ffI_f1_data): Likewise.
14462         (struct test_c_c_data): Rename test_name field to arg_str.
14463         (struct test_cc_c_data): Likewise.
14464         (struct test_f_i_data): Likewise.
14465         (struct test_ff_i_data): Likewise.
14466         (struct test_f_l_data): Likewise.
14467         (struct test_f_L_data): Likewise.
14468         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14469         and extra2_name.
14470         (COMMON_TEST_SETUP): New macro.
14471         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14472         (COMMON_TEST_CLEANUP): Likewise.
14473         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14474         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14475         macros.
14476         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14477         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14478         macros.
14479         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14480         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14481         cleanup macros.
14482         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14483         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14484         macros.
14485         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14486         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14487         macros.
14488         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14489         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14490         cleanup macros.
14491         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14492         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14493         cleanup macros.
14494         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14495         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14496         cleanup macros.
14497         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14498         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14499         macros.
14500         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14501         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14502         macros.
14503         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14504         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14505         macros.
14506         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14507         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14508         cleanup macros.
14509         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14510         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14511         cleanup macros.
14512         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14513         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14514         macros.
14515         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14516         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14517         cleanup macros.
14518         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14519         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14520         macros.
14521         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14522         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14523         macros.
14524         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14525         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14526         cleanup macros.
14527         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14529 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14531         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14532         to _sifields.sigfault.
14533         (si_addr_lsb): Define new macro.
14534         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14538 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14540         [BZ #15441]
14541         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14542         returns -1.
14543         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14544         null return -1.
14545         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14546         loading the domain.
14548 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14550         * math/gen-libm-test.pl (parse_args): Do not include expected
14551         result in test name.
14552         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14554         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14559 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14561         * benchtests/Makefile: Sort function entries.
14563         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14564         tanh, asinh, acosh, atanh.
14565         * benchtests/acos-inputs: New file.
14566         * benchtests/acosh-inputs: New file.
14567         * benchtests/asin-inputs: New file.
14568         * benchtests/asinh-inputs: New file.
14569         * benchtests/atanh-inputs: New file.
14570         * benchtests/cosh-inputs: New file.
14571         * benchtests/log-inputs: New file.
14572         * benchtests/sinh-inputs: New file.
14573         * benchtests/tanh-inputs: New file.
14575 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14577         [BZ #15339]
14578         * posix/tst-getaddrinfo4.c: New test.
14579         * posix/Makefile (tests): Add it.
14581 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14583         [BZ #15339]
14584         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14585         when no services were used.
14586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14587         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14589 2013-05-21  Andreas Schwab  <schwab@suse.de>
14591         [BZ #15014]
14592         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14593         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14594         successful.
14595         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14596         redundant variable declarations and reallocation of buffer when
14597         parsing as IPv6 address.  Always set NSS status when called from
14598         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14599         buffer too small.  Correct computation of needed size.
14600         * nss/Makefile (tests): Add test-digits-dots.
14601         * nss/test-digits-dots.c: New test.
14603 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14605         * benchtests/Makefile: Remove instructions for adding
14606         benchmark tests.
14607         * benchtests/README: New file to explain how to execute and
14608         enhance the benchmark tests.
14610 2013-05-21  Andreas Schwab  <schwab@suse.de>
14612         [BZ #15493]
14613         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14614         * setjmp/tst-sigsetjmp.c: New test.
14616 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14618         * sysdeps/x86_64/memset.S (memset): New implementation.
14619         (__bzero): Likewise.
14620         (__memset_tail): New function.
14622 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14624         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14625         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14626         __memcpy_sse2_unaligned ifunc selection.
14627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14628         Add memcpy-sse2-unaligned.S.
14629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14630         Add: __memcpy_sse2_unaligned.
14632 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14634         [BZ #15490]
14635         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14636         math_force_eval before restoring floating-point envrionment.
14637         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14639         Likewise.
14640         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14641         <math_private.h>.
14642         (__nearbyintl): Use math_force_eval before restoring
14643         floating-point environment.
14644         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14646         * math/gen-libm-test.pl (special_functions): Remove.
14647         (parse_args): Don't handle TEST_extra.  Handle functions with no
14648         return value.
14649         * math/libm-test.inc (struct test_sincos_data): Replace with
14650         struct test_fFF_11_data.
14651         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14652         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14653         (sincos_test_data): Change element type to struct
14654         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14655         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14656         RUN_TEST_LOOP_sincos.
14657         * math/README.libm-test: Don't mention special handling of
14658         individual functions.
14659         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14660         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14661         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14662         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14663         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666         * math/gen-libm-test.pl (get_variable): Remove function.
14667         (parse_args): Don't show pointer parameters to call in test
14668         names.  Use "extra output N" in test names for extra outputs
14669         rather than naming variables.
14671 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14673         [BZ #15488]
14674         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14675         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14676         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14677         double tests.
14678         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14679         disable.
14680         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14681         check_long_double.
14683         * math/gen-libm-test.pl (@tests): Remove variable.
14684         ($count): Likewise.
14685         (new_test): Remove function.
14686         (show_exceptions): New function.
14687         (special_functions): Use show_exceptions instead of new_test.
14688         (parse_args): Likewise.
14689         (generate_testfile): Pass only function name in generated call to
14690         print_max_error or print_complex_max_error.
14691         (get_ulps): Do not handle complex tests specially.
14692         (output_test): Rename to ...
14693         (get_all_ulps_for_test): ... this.  Return a string rather than
14694         printing to a file.  Require ulps to be present.
14695         (output_ulps): Generate arrays rather than #defines.
14696         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14697         (struct ulp_data): New type.
14698         (BUILD_COMPLEX_ULP): Remove macro.
14699         (compare_ulp_data): New function.
14700         (find_ulps): Likewise.
14701         (find_test_ulps): Likewise.
14702         (find_function_ulps): Likewise.
14703         (find_complex_function_ulps): Likewise.
14704         (print_max_error): Determine allowed ulps using
14705         find_function_ulps.
14706         (print_complex_max_error): Determine allowed ulps using
14707         find_complex_function_ulps.
14708         (check_float_internal): Determine max ulps using find_test_ulps.
14709         (check_float): Do not take max_ulp parameter.  Update call to
14710         check_float_internal.
14711         (check_complex): Likewise.
14712         (check_int): Do not take max_ulp parameter.
14713         (check_long): Likewise.
14714         (check_bool): Likewise.
14715         (check_longlong): Likewise.
14716         (struct test_f_f_data): Remove max_ulp field.
14717         (struct test_ff_f_data): Likewise.
14718         (struct test_ff_f_data_nexttoward): Likewise.
14719         (struct test_fi_f_data): Likewise.
14720         (struct test_fl_f_data): Likewise.
14721         (struct test_if_f_data): Likewise.
14722         (struct test_fff_f_data): Likewise.
14723         (struct test_c_f_data): Likewise.
14724         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14725         (struct test_fF_f1_data): Likewise.
14726         (struct test_ffI_f1_data): Likewise.
14727         (struct test_c_c_data): Remove max_ulp field.
14728         (struct test_cc_c_data): Likewise.
14729         (struct test_f_i_data): Likewise.
14730         (struct test_ff_i_data): Likewise.
14731         (struct test_f_l_data): Likewise.
14732         (struct test_f_L_data): Likewise.
14733         (struct test_sincos_data): Likewise.
14734         (RUN_TEST_f_f): Do not handle ulps.
14735         (RUN_TEST_LOOP_f_f): Likewise.
14736         (RUN_TEST_2_f): Likewise.
14737         (RUN_TEST_LOOP_2_f): Likewise.
14738         (RUN_TEST_fff_f): Likewise.
14739         (RUN_TEST_LOOP_fff_f): Likewise.
14740         (RUN_TEST_c_f): Likewise.
14741         (RUN_TEST_LOOP_c_f): Likewise.
14742         (RUN_TEST_f_f1): Likewise.
14743         (RUN_TEST_LOOP_f_f1): Likewise.
14744         (RUN_TEST_fF_f1): Likewise.
14745         (RUN_TEST_LOOP_fF_f1): Likewise.
14746         (RUN_TEST_fI_f1): Likewise.
14747         (RUN_TEST_LOOP_fI_f1): Likewise.
14748         (RUN_TEST_ffI_f1): Likewise.
14749         (RUN_TEST_LOOP_ffI_f1): Likewise.
14750         (RUN_TEST_c_c): Likewise.
14751         (RUN_TEST_LOOP_c_c): Likewise.
14752         (RUN_TEST_cc_c): Likewise.
14753         (RUN_TEST_LOOP_cc_c): Likewise.
14754         (RUN_TEST_f_i): Likewise.
14755         (RUN_TEST_LOOP_f_i): Likewise.
14756         (RUN_TEST_f_i_tg): Likewise.
14757         (RUN_TEST_LOOP_f_i_tg): Likewise.
14758         (RUN_TEST_ff_i_tg): Likewise.
14759         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14760         (RUN_TEST_f_b): Likewise.
14761         (RUN_TEST_LOOP_f_b): Likewise.
14762         (RUN_TEST_f_b_tg): Likewise.
14763         (RUN_TEST_LOOP_f_b_tg): Likewise.
14764         (RUN_TEST_f_l): Likewise.
14765         (RUN_TEST_LOOP_f_l): Likewise.
14766         (RUN_TEST_f_L): Likewise.
14767         (RUN_TEST_LOOP_f_L): Likewise.
14768         (RUN_TEST_sincos): Likewise.
14769         (RUN_TEST_LOOP_sincos): Likewise.
14771 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14773         [BZ #15480]
14774         [BZ #15485]
14775         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14776         main case of finite arguments, set rounding mode to FE_TONEAREST
14777         and discard exceptions.
14778         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14779         exceptions.
14780         (remainder_tonearest_test_data): New variable.
14781         (remainder_test_tonearest): New function.
14782         (remainder_towardzero_test_data): New variable.
14783         (remainder_test_towardzero): New function.
14784         (remainder_downward_test_data): New variable.
14785         (remainder_test_downward): New function.
14786         (remainder_upward_test_data): New variable.
14787         (remainder_test_upward): New function.
14788         (main): Call the new test functions.
14790         * math/libm-test.inc (struct test_f_f1_data): Remove field
14791         extra_init.
14792         (struct test_fF_f1_data): Likewise.
14793         (struct test_ffI_f1_data): Likewise.
14794         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14795         based on value of EXTRA_EXPECTED.
14796         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14797         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14798         EXTRA_VAR based on value of EXTRA_EXPECTED.
14799         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14800         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14801         EXTRA_VAR based on value of EXTRA_EXPECTED.
14802         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14803         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14804         EXTRA_VAR based on value of EXTRA_EXPECTED.
14805         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14806         * math/gen-libm-test.pl (parse_args): Don't output initializers
14807         for extra output values.
14809         * math/libm-test.inc (check_int): Expect result to be exactly
14810         equal to expected value and do not handle ulps.
14811         (check_long): Likewise.
14812         (check_longlong): Likewise.
14814         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14815         exceptions.
14816         (cimag_test_data): Likewise.
14817         (conj_test_data): Likewise.
14818         (copysign_test_data): Likewise.
14819         (cproj_test_data): Likewise.
14820         (creal_test_data): Likewise.
14821         (fabs_test_data): Likewise.
14822         (fdim_test_data): Likewise.
14823         (finite_test_data): Likewise.
14824         (floor_test_data): Likewise.
14825         (fmax_test_data): Likewise.
14826         (fmin_test_data): Likewise.
14827         (fmod_test_data): Likewise.
14828         (fpclassify_test_data): Likewise.
14829         (frexp_test_data): Likewise.
14830         (ilogb_test_data): Likewise.
14831         (isfinite_test_data): Likewise.
14832         (isgreater_test_data): Likewise.
14833         (isgreaterequal_test_data): Likewise.
14834         (isinf_test_data): Likewise.
14835         (isless_test_data): Likewise.
14836         (islessequal_test_data): Likewise.
14837         (islessgreater_test_data): Likewise.
14838         (isnan_test_data): Likewise.
14839         (isnormal_test_data): Likewise.
14840         (issignaling_test_data): Likewise.
14841         (isunordered_test_data): Likewise.
14842         (ldexp_test_data): Likewise.
14843         (lrint_test_data): Likewise.
14844         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14845         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14846         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14847         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14848         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14849         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14850         test input.
14851         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14852         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14853         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14854         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14855         that test input.
14856         (lrint_downward_test_data): Test for "inexact" exceptions.
14857         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14858         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14859         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14860         test input.
14861         (lrint_upward_test_data): Test for "inexact" exceptions.
14862         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14863         test input.
14864         (llrint_test_data): Test for "inexact" exceptions.
14865         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14866         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14867         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14868         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14869         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14870         (llrint_downward_test_data): Test for "inexact" exceptions.
14871         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14872         (llrint_upward_test_data): Test for "inexact" exceptions.
14873         (logb_test_data): Likewise.
14874         (logb_downward_test_data): Likewise.
14875         (nextafter_test_data): Likewise.
14876         (nexttoward_test_data): Likewise.
14877         (remainder_test_data): Likewise.
14878         (remquo_test_data): Likewise.
14879         (scalbn_test_data): Likewise.
14880         (scalbln_test_data): Likewise.
14881         (signbit_test_data): Likewise.
14882         (sqrt_test_data): Likewise.
14883         (significand_test_data): Likewise.
14885 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14887         [BZ #15424]
14888         * benchtests/bench-modf.c (struct args): Mark arg0 as
14889         volatile.
14890         * scripts/bench.pl: Mark members of struct args as volatile.
14892 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14894         [BZ # 15497]
14895         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14896         negative infinity on POWER6 or lower.
14897         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14899 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14901         [BZ #15442]
14902         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14903         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14904         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14905         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14906         (_FP_SETQNAN): New macro.
14907         (_FP_SETQNAN_SEMIRAW): Likewise.
14908         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14909         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14910         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14911         (FP_EXTEND): Use _FP_FRAC_SNANP.
14912         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14913         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14914         into account.
14915         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14916         New macro.
14917         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14918         Likewise.
14920 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14922         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14923         with DIVIDE_BY_ZERO_EXCEPTION.
14924         (gamma_test_data): Likewise.
14925         (lgamma_test_data): Likewise.
14926         (log_test_data): Likewise.
14927         (log10_test_data): Likewise.
14928         (log2_test_data): Likewise.
14929         (tgamma_test_data): Likewise.
14931         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14932         (acos_test_tonearest): Likewise.
14933         (acos_test_towardzero): Likewise.
14934         (acos_test_downward): Likewise.
14935         (acos_test_upward): Likewise.
14936         (acosh_test): Likewise.
14937         (asin_test): Likewise.
14938         (asin_test_tonearest): Likewise.
14939         (asin_test_towardzero): Likewise.
14940         (asin_test_downward): Likewise.
14941         (asin_test_upward): Likewise.
14942         (asinh_test): Likewise.
14943         (atan_test): Likewise.
14944         (atanh_test): Likewise.
14945         (atan2_test): Likewise.
14946         (cabs_test): Likewise.
14947         (cacos_test): Likewise.
14948         (cacosh_test): Likewise.
14949         (casin_test): Likewise.
14950         (casinh_test): Likewise.
14951         (catan_test): Likewise.
14952         (catanh_test): Likewise.
14953         (cbrt_test): Likewise.
14954         (ccos_test): Likewise.
14955         (ccosh_test): Likewise.
14956         (cexp_test): Likewise.
14957         (clog_test): Likewise.
14958         (clog10_test): Likewise.
14959         (cos_test): Likewise.
14960         (cos_test_tonearest): Likewise.
14961         (cos_test_towardzero): Likewise.
14962         (cos_test_downward): Likewise.
14963         (cos_test_upward): Likewise.
14964         (cosh_test): Likewise.
14965         (cosh_test_tonearest): Likewise.
14966         (cosh_test_towardzero): Likewise.
14967         (cosh_test_downward): Likewise.
14968         (cosh_test_upward): Likewise.
14969         (cpow_test): Likewise.
14970         (csin_test): Likewise.
14971         (csinh_test): Likewise.
14972         (csqrt_test): Likewise.
14973         (ctan_test): Likewise.
14974         (ctan_test_tonearest): Likewise.
14975         (ctan_test_towardzero): Likewise.
14976         (ctan_test_downward): Likewise.
14977         (ctan_test_upward): Likewise.
14978         (ctanh_test): Likewise.
14979         (ctanh_test_tonearest): Likewise.
14980         (ctanh_test_towardzero): Likewise.
14981         (ctanh_test_downward): Likewise.
14982         (ctanh_test_upward): Likewise.
14983         (erf_test): Likewise.
14984         (erfc_test): Likewise.
14985         (exp_test): Likewise.
14986         (exp_test_tonearest): Likewise.
14987         (exp_test_towardzero): Likewise.
14988         (exp_test_downward): Likewise.
14989         (exp_test_upward): Likewise.
14990         (exp10_test): Likewise.
14991         (exp2_test): Likewise.
14992         (expm1_test): Likewise.
14993         (fmod_test): Likewise.
14994         (gamma_test): Likewise.
14995         (hypot_test): Likewise.
14996         (j0_test): Likewise.
14997         (j1_test): Likewise.
14998         (jn_test): Likewise.
14999         (lgamma_test): Likewise.
15000         (log_test): Likewise.
15001         (log10_test): Likewise.
15002         (log1p_test): Likewise.
15003         (log2_test): Likewise.
15004         (logb_test_downward): Likewise.
15005         (pow_test): Likewise.
15006         (pow_test_tonearest): Likewise.
15007         (pow_test_towardzero): Likewise.
15008         (pow_test_downward): Likewise.
15009         (pow_test_upward): Likewise.
15010         (remainder_test): Likewise.
15011         (remquo_test): Likewise.
15012         (sin_test): Likewise.
15013         (sin_test_tonearest): Likewise.
15014         (sin_test_towardzero): Likewise.
15015         (sin_test_downward): Likewise.
15016         (sin_test_upward): Likewise.
15017         (sincos_test): Likewise.
15018         (sinh_test): Likewise.
15019         (sinh_test_tonearest): Likewise.
15020         (sinh_test_towardzero): Likewise.
15021         (sinh_test_downward): Likewise.
15022         (sinh_test_upward): Likewise.
15023         (sqrt_test): Likewise.
15024         (tan_test): Likewise.
15025         (tan_test_tonearest): Likewise.
15026         (tan_test_towardzero): Likewise.
15027         (tan_test_downward): Likewise.
15028         (tan_test_upward): Likewise.
15029         (tanh_test): Likewise.
15030         (tgamma_test): Likewise.
15031         (y0_test): Likewise.
15032         (y1_test): Likewise.
15033         (yn_test): Likewise.
15035         * math/gen-libm-test.pl (adjust_arg): Remove function.
15036         (special_function): Remove argument $in_func.  Only handle
15037         generating output for tables of tests, not inside functions.
15038         (parse_args): Likewise.
15039         (generate_testfile): Remove variable $in_func.  Update call to
15040         parse_args.
15041         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15042         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15043         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15044         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15045         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15046         (MAX_VALUE_INIT): Rename macro to max_value.
15047         (MIN_VALUE_INIT): Rename macro to min_value.
15048         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15049         (plus_zero): Remove variable.
15050         (minus_zero): Likewise.
15051         (plus_infty): Likewise.
15052         (minus_infty): Likewise.
15053         (qnan_value): Likewise.
15054         (max_value): Likewise.
15055         (min_value): Likewise.
15056         (min_subnorm_value): Likewise.
15058 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15060         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15061         uint64_t or uint32_t usage.
15062         * crypt/sha256-block.c: Likewise.
15063         * crypt/sha256-crypt.c: Likewise.
15064         * crypt/sha256.c: Likewise.
15065         * crypt/sha512-block.c: Likewise.
15066         * crypt/sha512-crypt.c: Likewise.
15067         * crypt/sha512.c: Likewise.
15068         * debug/backtrace-tst.c: Likewise.
15069         * debug/pcprofiledump.c: Likewise.
15070         * elf/cache.c: Likewise.
15071         * elf/dl-cache.c: Likewise.
15072         * elf/dl-misc.c: Likewise.
15073         * elf/dl-profile.c: Likewise.
15074         * elf/dl-support.c: Likewise.
15075         * elf/ldconfig.c: Likewise.
15076         * elf/sprof.c: Likewise.
15077         * iconv/dummy-repertoire.c: Likewise.
15078         * iconv/iconv_charmap.c: Likewise.
15079         * iconv/skeleton.c: Likewise.
15080         * iconvdata/8bit-generic.c: Likewise.
15081         * iconvdata/cp737.h: Likewise.
15082         * iconvdata/cp775.h: Likewise.
15083         * iconvdata/ibm1008.h: Likewise.
15084         * iconvdata/ibm1025.h: Likewise.
15085         * iconvdata/ibm1046.h: Likewise.
15086         * iconvdata/ibm1097.h: Likewise.
15087         * iconvdata/ibm1112.h: Likewise.
15088         * iconvdata/ibm1122.h: Likewise.
15089         * iconvdata/ibm1123.h: Likewise.
15090         * iconvdata/ibm1124.h: Likewise.
15091         * iconvdata/ibm1129.h: Likewise.
15092         * iconvdata/ibm1130.h: Likewise.
15093         * iconvdata/ibm1132.h: Likewise.
15094         * iconvdata/ibm1133.h: Likewise.
15095         * iconvdata/ibm1137.h: Likewise.
15096         * iconvdata/ibm1140.h: Likewise.
15097         * iconvdata/ibm1141.h: Likewise.
15098         * iconvdata/ibm1142.h: Likewise.
15099         * iconvdata/ibm1143.h: Likewise.
15100         * iconvdata/ibm1144.h: Likewise.
15101         * iconvdata/ibm1145.h: Likewise.
15102         * iconvdata/ibm1146.h: Likewise.
15103         * iconvdata/ibm1147.h: Likewise.
15104         * iconvdata/ibm1148.h: Likewise.
15105         * iconvdata/ibm1149.h: Likewise.
15106         * iconvdata/ibm1153.h: Likewise.
15107         * iconvdata/ibm1154.h: Likewise.
15108         * iconvdata/ibm1155.h: Likewise.
15109         * iconvdata/ibm1156.h: Likewise.
15110         * iconvdata/ibm1157.h: Likewise.
15111         * iconvdata/ibm1158.h: Likewise.
15112         * iconvdata/ibm1160.h: Likewise.
15113         * iconvdata/ibm1161.h: Likewise.
15114         * iconvdata/ibm1162.h: Likewise.
15115         * iconvdata/ibm1163.h: Likewise.
15116         * iconvdata/ibm1164.h: Likewise.
15117         * iconvdata/ibm1166.h: Likewise.
15118         * iconvdata/ibm1167.h: Likewise.
15119         * iconvdata/ibm12712.h: Likewise.
15120         * iconvdata/ibm1390.h: Likewise.
15121         * iconvdata/ibm1399.h: Likewise.
15122         * iconvdata/ibm16804.h: Likewise.
15123         * iconvdata/ibm4517.h: Likewise.
15124         * iconvdata/ibm4899.h: Likewise.
15125         * iconvdata/ibm4909.h: Likewise.
15126         * iconvdata/ibm4971.h: Likewise.
15127         * iconvdata/ibm5347.h: Likewise.
15128         * iconvdata/ibm803.h: Likewise.
15129         * iconvdata/ibm856.h: Likewise.
15130         * iconvdata/ibm901.h: Likewise.
15131         * iconvdata/ibm902.h: Likewise.
15132         * iconvdata/ibm9030.h: Likewise.
15133         * iconvdata/ibm9066.h: Likewise.
15134         * iconvdata/ibm921.h: Likewise.
15135         * iconvdata/ibm922.h: Likewise.
15136         * iconvdata/ibm9448.h: Likewise.
15137         * iconvdata/isiri-3342.h: Likewise.
15138         * iconvdata/jis0201.h: Likewise.
15139         * include/link.h: Likewise.
15140         * include/netdb.h: Likewise.
15141         * inet/check_native.c: Likewise.
15142         * inet/check_pf.c: Likewise.
15143         * inet/getipv4sourcefilter.c: Likewise.
15144         * inet/getnameinfo.c: Likewise.
15145         * inet/getsourcefilter.c: Likewise.
15146         * inet/htonl.c: Likewise.
15147         * inet/setipv4sourcefilter.c: Likewise.
15148         * inet/setsourcefilter.c: Likewise.
15149         * inet/test-inet6_opt.c: Likewise.
15150         * inet/tst-network.c: Likewise.
15151         * locale/C-collate.c: Likewise.
15152         * locale/C-ctype.c: Likewise.
15153         * locale/C-time.c: Likewise.
15154         * locale/C-translit.h: Likewise.
15155         * locale/loadarchive.c: Likewise.
15156         * locale/programs/3level.h: Likewise.
15157         * locale/programs/charmap.c: Likewise.
15158         * locale/programs/charmap.h: Likewise.
15159         * locale/programs/ld-address.c: Likewise.
15160         * locale/programs/ld-collate.c: Likewise.
15161         * locale/programs/ld-ctype.c: Likewise.
15162         * locale/programs/ld-identification.c: Likewise.
15163         * locale/programs/ld-measurement.c: Likewise.
15164         * locale/programs/ld-messages.c: Likewise.
15165         * locale/programs/ld-monetary.c: Likewise.
15166         * locale/programs/ld-name.c: Likewise.
15167         * locale/programs/ld-numeric.c: Likewise.
15168         * locale/programs/ld-paper.c: Likewise.
15169         * locale/programs/ld-telephone.c: Likewise.
15170         * locale/programs/ld-time.c: Likewise.
15171         * locale/programs/linereader.c: Likewise.
15172         * locale/programs/locale.c: Likewise.
15173         * locale/programs/locarchive.c: Likewise.
15174         * locale/programs/locfile.h: Likewise.
15175         * locale/programs/repertoire.c: Likewise.
15176         * locale/programs/simple-hash.c: Likewise.
15177         * locale/programs/simple-hash.h: Likewise.
15178         * malloc/memusage.c: Likewise.
15179         * malloc/memusagestat.c: Likewise.
15180         * nis/nis_defaults.c: Likewise.
15181         * nis/nis_hash.c: Likewise.
15182         * nis/nis_print.c: Likewise.
15183         * nis/nis_xdr.c: Likewise.
15184         * nscd/connections.c: Likewise.
15185         * nscd/hstcache.c: Likewise.
15186         * nscd/nscd_gethst_r.c: Likewise.
15187         * nscd/nscd_getserv_r.c: Likewise.
15188         * nscd/nscd_helper.c: Likewise.
15189         * nscd/servicescache.c: Likewise.
15190         * nss/makedb.c: Likewise.
15191         * nss/nss_db/db-XXX.c: Likewise.
15192         * nss/nss_db/db-initgroups.c: Likewise.
15193         * nss/nss_db/db-netgrp.c: Likewise.
15194         * nss/nss_files/files-network.c: Likewise.
15195         * nss/nss_files/files-parse.c: Likewise.
15196         * posix/bug-regex5.c: Likewise.
15197         * posix/fnmatch_loop.c: Likewise.
15198         * posix/regcomp.c: Likewise.
15199         * posix/regexec.c: Likewise.
15200         * posix/tst-rfc3484-2.c: Likewise.
15201         * posix/tst-rfc3484-3.c: Likewise.
15202         * posix/tst-rfc3484.c: Likewise.
15203         * resolv/nss_dns/dns-canon.c: Likewise.
15204         * resolv/nss_dns/dns-network.c: Likewise.
15205         * resolv/res_init.c: Likewise.
15206         * resolv/res_mkquery.c: Likewise.
15207         * resolv/tst-aton.c: Likewise.
15208         * stdlib/cxa_atexit.c: Likewise.
15209         * stdlib/cxa_finalize.c: Likewise.
15210         * stdlib/gen-fpioconst.c: Likewise.
15211         * stdlib/strtol_l.c: Likewise.
15212         * string/tst-endian.c: Likewise.
15213         * sunrpc/auth_des.c: Likewise.
15214         * sunrpc/clnt_udp.c: Likewise.
15215         * sunrpc/rtime.c: Likewise.
15216         * sunrpc/svcauth_des.c: Likewise.
15217         * sunrpc/xdr.c: Likewise.
15218         * sunrpc/xdr_intXX_t.c: Likewise.
15219         * sunrpc/xdr_rec.c: Likewise.
15220         * sysdeps/generic/ldconfig.h: Likewise.
15221         * sysdeps/generic/ldsodefs.h: Likewise.
15222         * sysdeps/generic/memusage.h: Likewise.
15223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15224         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15225         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15226         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15231         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15233         * sysdeps/posix/getaddrinfo.c: Likewise.
15234         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15235         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15236         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15237         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15238         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15239         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15240         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15241         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15242         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15243         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15244         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15245         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15246         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15247         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15248         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15249         * sysdeps/x86_64/dl-tls.h: Likewise.
15250         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15251         * time/alt_digit.c: Likewise.
15252         * time/era.c: Likewise.
15253         * wcsmbs/tst-c16c32-1.c: Likewise.
15255 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15257         * math/libm-test.inc (struct test_sincos_data): New type.
15258         (RUN_TEST_LOOP_sincos): New macro.
15259         (sincos_test_data): New variable.
15260         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15262 2013-05-16  Richard Henderson  <rth@redhat.com>
15264         * math/atest-exp2.c (LIMB64): New macro.
15265         (CONSTSZ): New macro.
15266         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15267         (hexdig): Move ...
15268         (print_mpn_fp): ... to function scope.
15269         (read_mpn_hex): Remove.
15270         (get_log2): Remove.
15271         (exp2_mpn): Use mp_log2.
15272         (main): Use mp_exp1.
15274 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15276         * math/libm-test.inc: Remove comment about not testing "inexact"
15277         exceptions.
15278         (INEXACT_EXCEPTION): New macro.
15279         (NO_INEXACT_EXCEPTION): Likewise.
15280         (INVALID_EXCEPTION_OK): Update value.
15281         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15282         (OVERFLOW_EXCEPTION_OK): Likewise.
15283         (UNDERFLOW_EXCEPTION_OK): Likewise.
15284         (IGNORE_ZERO_INF_SIGN): Likewise.
15285         (ERRNO_UNCHANGED): Likewise.
15286         (ERRNO_EDOM): Likewise.
15287         (ERRNO_ERANGE): Likewise.
15288         (test_exceptions): Handle testing "inexact" exceptions.
15289         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15290         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15291         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15292         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15293         INEXACT_EXCEPTION.
15294         (rint_towardzero_test_data): Likewise.
15295         (rint_downward_test_data): Likewise.
15296         (rint_upward_test_data): Likewise.
15298         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15299         with OVERFLOW_EXCEPTION.
15300         (exp10_test_data): Likewise.
15301         (exp2_test_data): Likewise.
15302         (expm1_test_data): Likewise.
15303         (lgamma_test_data): Likewise.
15304         (pow_test_data): Likewise.
15305         (tgamma_test_data): Likewise.
15306         (yn_test_data): Remove duplicate test of overflow.
15308         * math/libm-test.inc (struct test_cc_c_data): New type.
15309         (RUN_TEST_LOOP_cc_c): New macro.
15310         (cpow_test_data): New variable.
15311         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15313         * math/libm-test.inc (struct test_f_L_data): New type.
15314         (RUN_TEST_LOOP_f_L): New macro.
15315         (llrint_test_data): New variable.
15316         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15317         (llrint_tonearest_test_data): New variable.
15318         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15319         (llrint_towardzero_test_data): New variable.
15320         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15321         (llrint_downward_test_data): New variable.
15322         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15323         (llrint_upward_test_data): New variable.
15324         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15325         (llround_test_data): New variable.
15326         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15328 2013-05-13  Peter Collingbourne  <pcc@google.com>
15330         * math/atest-exp2.c (get_log2): Remove const attribute.
15332 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15334         * math/libm-test.inc (struct test_f_l_data): New type.
15335         (RUN_TEST_LOOP_f_l): New macro.
15336         (lrint_test_data): New variable.
15337         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15338         (lrint_tonearest_test_data): New variable.
15339         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15340         (lrint_towardzero_test_data): New variable.
15341         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15342         (lrint_downward_test_data): New variable.
15343         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15344         (lrint_upward_test_data): New variable.
15345         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15346         (lround_test_data): New variable.
15347         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15349 2013-05-15  Peter Collingbourne  <pcc@google.com>
15351         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15352         (EXTRACT_WORDS64) Use where appropriate.
15353         (INSERT_WORDS64) Likewise.
15355         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15356         constraints with x constraints.
15357         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15359         * malloc/obstack.c (_obstack_compat): Add initializer.
15361 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15363         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15364         si_trapno and add si_addr_lsb to _sifields.sigfault.
15365         (si_trapno): Remove macro.
15366         (si_addr_lsb): Define new macro.
15367         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15369 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15371         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15372         instead of TEST_f_l.
15373         (llrint_test_tonearest): Likewise.
15374         (llrint_test_towardzero): Likewise.
15375         (llrint_test_downward): Likewise.
15376         (llrint_test_upward): Likewise.
15377         (llround_test): Likewise.
15379         * math/libm-test.inc (struct test_f_i_data): Add comment.
15380         (RUN_TEST_LOOP_f_b): New macro.
15381         (RUN_TEST_LOOP_f_b_tg): Likewise.
15382         (finite_test_data): New variable.
15383         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15384         (isfinite_test_data): New variable.
15385         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15386         (isinf_test_data): New variable.
15387         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15388         (isnan_test_data): New variable.
15389         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15390         (isnormal_test_data): New variable.
15391         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15392         (issignaling_test_data): New variable.
15393         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15394         (signbit_test_data): New variable.
15395         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15397         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15398         with INVALID_EXCEPTION.
15399         (acosh_test_data): Likewise.
15400         (asin_test_data): Likewise.
15401         (atanh_test_data): Likewise.
15402         (fmod_test_data): Likewise.
15403         (log_test_data): Likewise.
15404         (log10_test_data): Likewise.
15405         (log2_test_data): Likewise.
15406         (pow_test_data): Likewise.
15407         (sqrt_test_data): Likewise.
15408         (y0_test_data): Likewise.
15409         (y1_test_data): Likewise.
15410         (yn_test_data): Likewise.
15412         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15413         function contents.
15415         * math/libm-test.inc (struct test_ff_i_data): New type.
15416         (RUN_TEST_LOOP_ff_i_tg): New macro.
15417         (isgreater_test_data): New variable.
15418         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15419         (isgreaterequal_test_data): New variable.
15420         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15421         (isless_test_data): New variable.
15422         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15423         (islessequal_test_data): New variable.
15424         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15425         (islessgreater_test_data): New variable.
15426         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15427         (isunordered_test_data): New variable.
15428         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15430 2013-05-14  David S. Miller  <davem@davemloft.net>
15432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15434 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15436         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15438         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15439         extra_test to int.
15440         (struct test_f_i_data): Change type of max_ulp to int.
15442         * math/libm-test.inc (test_ffI_f1_data): New type.
15443         (RUN_TEST_LOOP_ffI_f1): New macro.
15444         (remquo_test_data): New variable.
15445         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15447         * setjmp/tst-setjmp-fp.c: New file.
15448         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15449         (link-libm): New variable.
15450         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15452         * math/libm-test.inc (struct test_f_i_data): New type.
15453         (RUN_TEST_LOOP_f_i): New macro.
15454         (RUN_TEST_LOOP_f_i_tg): Likewise.
15455         (fpclassify_test_data): New variable.
15456         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15457         (ilogb_test_data): New variable.
15458         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15460         * math/libm-test.inc (scalbln_test): Correct function name in END
15461         call.
15463         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15464         (RUN_TEST_LOOP_fI_f1): New macro.
15465         (frexp_test_data): New variable.
15466         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15468         * math/libm-test.inc (struct test_fF_f1_data): New type.
15469         (RUN_TEST_LOOP_fF_f1): New macro.
15470         (modf_test_data): New variable.
15471         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15473         * math/libm-test.inc (struct test_f_f1_data): New type.
15474         (RUN_TEST_LOOP_f_f1): New macro.
15475         (gamma_test_data): New variable.
15476         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15477         (lgamma_test_data): New variable.
15478         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15480 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15482         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15483         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15484         (main): Comment "tls" pseudo-hwcap.
15486 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15488         * math/libm-test.inc (struct test_fl_f_data): New type.
15489         (RUN_TEST_LOOP_fl_f): New variable.
15490         (scalbln_test_data): New variable.
15491         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15493         * math/libm-test.inc (struct test_fi_f_data): New type.
15494         (RUN_TEST_LOOP_fi_f): New macro.
15495         (ldexp_test_data): New variable.
15496         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15497         (scalbn_test_data): New variable.
15498         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15500         * math/libm-test.inc (struct test_c_f_data): New type.
15501         (RUN_TEST_LOOP_c_f): New macro.
15502         (cabs_test_data): New variable.
15503         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15504         (carg_test_data): New variable.
15505         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15506         (cimag_test_data): New variable.
15507         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15508         (creal_test_data): New variable.
15509         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15511         * math/libm-test.inc (struct test_if_f_data): New type.
15512         (RUN_TEST_LOOP_if_f): New macro.
15513         (jn_test_data): New variable.
15514         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15515         (yn_test_data): New variable.
15516         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15518         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15520 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15522         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15523         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15525 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15527         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15528         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15529         (bench-deps): Add bench-timing.h.
15530         * benchtests-bench-skeleton.c: Include bench-timing.h.
15531         (main): Use TIMING_* macros instead of clock_gettime.
15532         * benchtests/bench-timing.h: New file.
15534         [BZ #14582]
15535         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15536         Renamed from _LIB_VERSION.
15537         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15539 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15541         * math/libm-test.inc (struct test_fff_f_data): New type.
15542         (RUN_TEST_LOOP_fff_f): New macro.
15543         (fma_test_data): New variable.
15544         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15545         (fma_towardzero_test_data): New variable.
15546         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15547         (fma_downward_test_data): New variable.
15548         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15549         (fma_upward_test_data): New variable.
15550         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15552         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15553         (struct test_c_c_data): New type.
15554         (RUN_TEST_LOOP_c_c): New macro.
15555         (cacos_test_data): New variable.
15556         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15557         (cacosh_test_data): New variable.
15558         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15559         (casin_test_data): New variable.
15560         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15561         (casinh_test_data): New variable.
15562         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15563         (catan_test_data): New variable.
15564         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15565         (catanh_test_data): New variable.
15566         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15567         (ccos_test_data): New variable.
15568         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15569         (ccosh_test_data): New variable.
15570         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15571         (cexp_test_data): New variable.
15572         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15573         (clog_test_data): New variable.
15574         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15575         (clog10_test_data): New variable.
15576         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15577         (conj_test_data): New variable.
15578         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15579         (cproj_test_data): New variable.
15580         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15581         (csin_test_data): New variable.
15582         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15583         (csinh_test_data): New variable.
15584         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15585         (csqrt_test_data): New variable.
15586         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15587         (ctan_test_data): New variable.
15588         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15589         (ctan_tonearest_test_data): New variable.
15590         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15591         (ctan_towardzero_test_data): New variable.
15592         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15593         (ctan_downward_test_data): New variable.
15594         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15595         (ctan_upward_test_data): New variable.
15596         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15597         (ctanh_test_data): New variable.
15598         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15599         (ctanh_tonearest_test_data): New variable.
15600         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15601         (ctanh_towardzero_test_data): New variable.
15602         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15603         (ctanh_downward_test_data): New variable.
15604         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15605         (ctanh_upward_test_data): New variable.
15606         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15607         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15608         of BUILD_COMPLEX.
15610         * math/libm-test.inc (struct test_ff_f_data): New type.
15611         (struct test_ff_f_data_nexttoward): Likewise.
15612         (RUN_TEST_LOOP_2_f): New macro.
15613         (RUN_TEST_LOOP_ff_f): Likewise.
15614         (atan2_test_data): New variable.
15615         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15616         (copysign_test_data): New variable.
15617         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15618         (fdim_test_data): New variable.
15619         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15620         (fmax_test_data): New variable.
15621         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15622         (fmin_test_data): New variable.
15623         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15624         (fmod_test_data): New variable.
15625         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15626         (hypot_test_data): New variable.
15627         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15628         (nextafter_test_data): New variable.
15629         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15630         (nexttoward_test_data): New variable.
15631         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15632         (pow_test_data): New variable.
15633         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15634         (pow_tonearest_test_data): New variable.
15635         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15636         (pow_towardzero_test_data): New variable.
15637         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15638         (pow_downward_test_data): New variable.
15639         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15640         (pow_upward_test_data): New variable.
15641         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15642         (remainder_test_data): New variable.
15643         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15644         (scalb_test_data): New variable.
15645         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15646         * sysdeps/i386/fpu/libm-test-ulps: Update.
15648 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15650         * math/libm-test.inc (fma_test): Use max_value instead of local
15651         variable fltmax.
15652         (nextafter_test): Likewise.
15654         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15655         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15656         (acos_downward_test_data): New variable.
15657         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15658         (acos_upward_test_data): New variable.
15659         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15660         (acosh_test_data): New variable.
15661         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15662         (asin_test_data): New variable.
15663         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15664         (asin_tonearest_test_data): New variable.
15665         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15666         (asin_towardzero_test_data): New variable.
15667         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15668         (asin_downward_test_data): New variable.
15669         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15670         (asin_upward_test_data): New variable.
15671         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15672         (asinh_test_data): New variable.
15673         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15674         (atan_test_data): New variable.
15675         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15676         (atanh_test_data): New variable.
15677         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15678         (cbrt_test_data): New variable.
15679         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15680         (ceil_test_data): New variable.
15681         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15682         (cos_test_data): New variable.
15683         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15684         (cos_tonearest_test_data): New variable.
15685         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15686         (cos_towardzero_test_data): New variable.
15687         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15688         (cos_downward_test_data): New variable.
15689         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15690         (cos_upward_test_data): New variable.
15691         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15692         (cosh_test_data): New variable.
15693         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15694         (cosh_tonearest_test_data): New variable.
15695         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15696         (cosh_towardzero_test_data): New variable.
15697         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15698         (cosh_downward_test_data): New variable.
15699         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15700         (cosh_upward_test_data): New variable.
15701         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15702         (erf_test_data): New variable.
15703         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15704         (erfc_test_data): New variable.
15705         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15706         (exp_test_data): New variable.
15707         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15708         (exp_tonearest_test_data): New variable.
15709         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15710         (exp_towardzero_test_data): New variable.
15711         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15712         (exp_downward_test_data): New variable.
15713         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15714         (exp_upward_test_data): New variable.
15715         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15716         (exp10_test_data): New variable.
15717         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15718         (exp2_test_data): New variable.
15719         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15720         (expm1_test_data): New variable.
15721         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15722         (fabs_test_data): New variable.
15723         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15724         (floor_test_data): New variable.
15725         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15726         (j0_test_data): New variable.
15727         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15728         (j1_test_data): New variable.
15729         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15730         (log_test_data): New variable.
15731         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15732         (log10_test_data): New variable.
15733         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15734         (log1p_test_data): New variable.
15735         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15736         (log2_test_data): New variable.
15737         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15738         (logb_test_data): New variable.
15739         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15740         (logb_downward_test_data): New variable.
15741         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15742         (nearbyint_test_data): New variable.
15743         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15744         (rint_test_data): New variable.
15745         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15746         (rint_tonearest_test_data): New variable.
15747         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15748         (rint_towardzero_test_data): New variable.
15749         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15750         (rint_downward_test_data): New variable.
15751         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15752         (rint_upward_test_data): New variable.
15753         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15754         (round_test_data): New variable.
15755         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15756         (sin_test_data): New variable.
15757         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15758         (sin_tonearest_test_data): New variable.
15759         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15760         (sin_towardzero_test_data): New variable.
15761         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15762         (sin_downward_test_data): New variable.
15763         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15764         (sin_upward_test_data): New variable.
15765         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15766         (sinh_test_data): New variable.
15767         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15768         (sinh_tonearest_test_data): New variable.
15769         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15770         (sinh_towardzero_test_data): New variable.
15771         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15772         (sinh_downward_test_data): New variable.
15773         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15774         (sinh_upward_test_data): New variable.
15775         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15776         (sqrt_test_data): New variable.
15777         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15778         (tan_test_data): New variable.
15779         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15780         (tan_tonearest_test_data): New variable.
15781         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15782         (tan_towardzero_test_data): New variable.
15783         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15784         (tan_downward_test_data): New variable.
15785         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15786         (tan_upward_test_data): New variable.
15787         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15788         (tanh_test_data): New variable.
15789         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15790         (tgamma_test_data): New variable.
15791         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15792         (trunc_test_data): New variable.
15793         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15794         (y0_test_data): New variable.
15795         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15796         (y1_test_data): New variable.
15797         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15798         (significand_test_data): New variable.
15799         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15801 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15803         [BZ #12387]
15804         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15806 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15808         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15810 2013-05-10  Andreas Jaeger  <aj@suse.de>
15812         [BZ #15448]
15813         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15814         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15816 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15818         * math/gen-libm-test.pl (adjust_arg): New function.
15819         (special_functions): Handle generating output in both functions
15820         and arrays.
15821         (parse_args): Likewise.
15822         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15823         $in_func argument to parse_args.
15824         * math/libm-test.inc (struct test_f_f_data): New type.
15825         (IF_ROUND_INIT_): New macro.
15826         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15827         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15828         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15829         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15830         (ROUND_RESTORE_): Likewise.
15831         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15832         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15833         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15834         (ROUND_RESTORE_FE_UPWARD): Likewise.
15835         (RUN_TEST_LOOP_f_f): New macro.
15836         (acos_test_data): New variable.
15837         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15838         (acos_tonearest_test_data): New variable.
15839         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15841 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15843         * benchtests/bench-skeleton.c (startup): Fix coding style.
15845 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15847         [BZ #6809]
15848         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15849         negative infinity argument.
15850         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15851         negative infinity argument.
15852         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15853         negative infinity argument.
15854         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15855         domain errors.
15857 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15859         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15860         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15861         * iconv/iconv_prog.c (main): Likewise.
15862         * locale/programs/charmap-dir.c (charmap_readdir)
15863         (fopen_uncompressed): Likewise.
15864         * locale/programs/locfile.c (siblings_uncached)
15865         (write_locale_data): Use lstat64 instead of lstat.
15866         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15867         stat.
15869 2013-05-10  Andreas Jaeger  <aj@suse.de>
15871         [BZ #15395]
15872         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15873         localization.
15874         Include <locale.h>.
15876 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15878         * elf/dl-close.c (_dl_close_worker): Add comments.
15880 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15882         [BZ #15359]
15883         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15884         high part of pi/2.
15885         (__ieee754_rem_pio2l): Update comments.
15887         [BZ #15429]
15888         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15889         high part of pi/2.
15890         (__ieee754_rem_pio2l): Update comments.
15892         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15893         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15895         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15896         M_PI_4l.
15898         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15899         (M_PI_34_LOG10El): Likewise.
15900         (M_PI2_LOG10El): Likewise.
15901         (M_PI4_LOG10El): Likewise.
15902         (M_PI_LOG10El): Likewise.
15904 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15908 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
15910         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15911         (MINUS_ZERO_INIT): Likewise.
15912         (PLUS_INFTY_INIT): Likewise.
15913         (MINUS_INFTY_INIT): Likewise.
15914         (QNAN_VALUE_INIT): Likewise.
15915         (MAX_VALUE_INIT): Likewise.
15916         (MIN_VALUE_INIT): Likewise.
15917         (MIN_SUBNORM_VALUE_INIT): Likewise.
15918         (plus_zero): Initialize with PLUS_ZERO_INIT.
15919         (minus_zero): Initialize with MINUS_ZERO_INIT.
15920         (plus_infty): Initialize with PLUS_INFTY_INIT.
15921         (minus_infty): Initialize with MINUS_INFTY_INIT.
15922         (qnan_value): Initialize with QNAN_VALUE_INIT.
15923         (max_value): Initialize with MAX_VALUE_INIT.
15924         (min_value): Initialize with MIN_VALUE_INIT.
15925         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15927         * math/libm-test.inc (RUN_TEST_if_f): New macro.
15928         (jn_test): Use TEST_if_f instead of TEST_ff_f.
15929         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15930         (yn_test): Use TEST_if_f instead of TEST_ff_f.
15932         * math/libm-test.inc (RUN_TEST_f_f): New macro.
15933         (RUN_TEST_2_f): Likewise.
15934         (RUN_TEST_ff_f): Likewise.
15935         (RUN_TEST_fi_f): Likewise.
15936         (RUN_TEST_fl_f): Likewise.
15937         (RUN_TEST_fff_f): Likewise.
15938         (RUN_TEST_c_f): Likewise.
15939         (RUN_TEST_f_f1): Likewise.
15940         (RUN_TEST_fF_f1): Likewise.
15941         (RUN_TEST_fI_f1): Likewise.
15942         (RUN_TEST_ffI_f1): Likewise.
15943         (RUN_TEST_c_c): Likewise.
15944         (RUN_TEST_cc_c): Likewise.
15945         (RUN_TEST_f_i): Likewise.
15946         (RUN_TEST_f_i_tg): Likewise.
15947         (RUN_TEST_ff_i_tg): Likewise.
15948         (RUN_TEST_f_b): Likewise.
15949         (RUN_TEST_f_b_tg): Likewise.
15950         (RUN_TEST_f_l): Likewise.
15951         (RUN_TEST_f_L): Likewise.
15952         (RUN_TEST_sincos): Likewise.
15953         * math/gen-libm-test.pl (new_test): Take new argument to indicate
15954         whether to show exceptions.  Do not include ");\n" in return
15955         value.
15956         (special_functions): Output call to RUN_TEST_sincos instead of
15957         check_float calls.  Update calls to new_test.
15958         (parse_args): Output call to single RUN_TEST_* macro instead of
15959         check_* calls and other assignments.  Update calls to new_test.
15961         [BZ #2546]
15962         [BZ #2560]
15963         [BZ #5159]
15964         [BZ #15426]
15965         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15966         input to result for tgamma overflow.
15967         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15968         (gamma_coeff): New variable.
15969         (NCOEFF): New macro.
15970         (gamma_positive): New function.
15971         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15972         underflow here.  Use gamma_positive instead of exp (lgamma) for
15973         other arguments.
15974         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15975         (gamma_coeff): New variable.
15976         (NCOEFF): New macro.
15977         (gammaf_positive): New function.
15978         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15979         underflow here.  Use gamma_positive instead of exp (lgamma) for
15980         other arguments.
15981         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15982         (gamma_coeff): New variable.
15983         (NCOEFF): New macro.
15984         (gammal_positive): New function.
15985         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15986         underflow here.  Use gamma_positive instead of exp (lgamma) for
15987         other arguments.
15988         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15989         (gamma_coeff): New variable.
15990         (NCOEFF): New macro.
15991         (gammal_positive): New function.
15992         (__ieee754_gammal_r): Handle positive infinity, overflow and
15993         underflow here.  Handle NaN the same as positive infinity.  Remove
15994         check x < 0xffffffff for negative integers.  Use gamma_positive
15995         instead of exp (lgamma) for other arguments.
15996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15997         (gamma_coeff): New variable.
15998         (NCOEFF): New macro.
15999         (gammal_positive): New function.
16000         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16001         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16002         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16003         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16004         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16005         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16006         * sysdeps/generic/math_private.h (__gamma_productf): New
16007         prototype.
16008         (__gamma_product): Likewise.
16009         (__gamma_productl): Likewise.
16010         * math/Makefile (libm-calls): Add gamma_product.
16011         * math/libm-test.inc (tgamma_test): Add more tests.
16012         * sysdeps/i386/fpu/libm-test-ulps: Update.
16013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16015 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16017         * benchtests/bench-skeleton.c (main): Preheat CPU.
16019 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16021         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16023 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16025         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16026         and _dl_skip_args_internal.
16028 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16030         * manual/message.texi (Message Translation): Talk about users.
16031         Message to key mapping impacts design.
16033 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16035         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16037         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16039         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16040         * sysdeps/wordsize-64/glob64.c: ... here.
16042         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16043         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16044         New macros.
16046         * debug/getlogin_r_chk.c: Moved to ...
16047         * login/getlogin_r_chk.c: ... here.
16048         * debug/Makefile (routines): Move getlogin_r_chk to ...
16049         * login/Makefile (routines): ... here.
16050         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16051         * login/Versions (libc: GLIBC_2.4): ... here.
16053         * io/poll.c (__poll): Renamed from poll.
16054         Add libc_hidden_def.
16055         (poll): Define as weak alias.
16057         * debug/ptsname_r_chk.c: Moved to ...
16058         * login/ptsname_r_chk.c: ... here.
16059         * debug/Makefile (routines): Move ptsname_r_chk to ...
16060         * login/Makefile (routines): ... here.
16061         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16062         * login/Versions (libc: GLIBC_2.4): ... here.
16064         * posix/getlogin.c: Moved to ...
16065         * login/getlogin.c: ... here.
16066         * posix/getlogin_r.c: Moved to ...
16067         * login/getlogin_r.c: ... here.
16068         * posix/getlogin_r.c: Moved to ...
16069         * login/getlogin_r.c: ... here.
16070         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16071         * login/Makefile (routines): ... here.
16072         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16073         * login/Versions (libc: GLIBC_2.0): ... here.
16075         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16076         (setrlimit): Define as weak alias.
16078         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16079         Call __ names for open, ftruncate, and close.
16080         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16081         (truncate): Define as weak alias.
16083 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16085         * math/gen-libm-test.pl (parse_args): Initialize x before each
16086         test of frexp, modf and remquo.
16088         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16089         test signgam value.
16091 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16093         [BZ #15418]
16094         [BZ #15419]
16095         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16096         internal tests.
16097         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16099 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16101         * elf/dl-writev.h: New file.
16102         * elf/dl-misc.c: Include it.
16103         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16104         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16106 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16108         * math/libm-test.inc (noXFails): Remove variable.
16109         (noXPasses): Likewise.
16110         (BUILD_COMPLEX_INT): Remove macro.
16111         (print_screen): Remove xfail argument.
16112         (print_screen_max_error): Likewise.
16113         (update_stats): Likewise.
16114         (print_max_error): Likewise.  Update calls to other affected
16115         functions.
16116         (print_complex_max_error): Likewise.
16117         (test_single_exception): Update calls to print_screen.
16118         (test_single_errno): Likewise.
16119         (check_float_internal): Remove xfail argument.  Update calls to
16120         other affected functions.
16121         (check_float): Likewise.
16122         (check_complex): Likewise.
16123         (check_int): Likewise.
16124         (check_long): Likewise.
16125         (check_bool): Likewise.
16126         (check_longlong): Likewise.
16127         (main): Don't print noXFails and noXPasses.
16128         * math/gen-libm-test.pl (top level): Don't mention expected
16129         failure handling in comment.
16130         (new_test): Don't handle expected failures.
16131         (parse_args): Don't mention expected failure handling in comment.
16132         (generate_testfile): Don't handle expected failures.
16133         (parse_ulps): Likewise.
16134         (print_ulps_file): Likewise.
16135         (get_failure): Remove function.
16136         (output_test): Don't handle expected failures.
16137         * make/README.libm-test: Don't mention expected failure handling.
16139         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16140         (minus_zero): Likewise.
16141         (plus_infty): Likewise.
16142         (minus_infty): Likewise.
16143         (qnan_value): Likewise.
16144         (max_value): Likewise.
16145         (min_value): Likewise.
16146         (min_subnorm_value): Likewise.
16147         (initialize): Do not initialize those variables dynamically.
16149 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16151         * io/open.c (__open_2): Moved to ...
16152         * io/open_2.c: ... this new file.
16153         * io/open64.c (__open64_2): Moved to ...
16154         * io/open64_2.c: ... this new file.
16155         * io/openat.c (__openat_2): Moved to ...
16156         * io/openat_2.c: ... this new file.
16157         * io/openat64.c (__openat64_2): Moved to ...
16158         * io/openat64_2.c: ... this new file.
16159         * io/Makefile (routines): Add them.
16160         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16161         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16162         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16163         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16164         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16165         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16166         (__openat64): Add hidden_ver.
16167         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16168         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16170         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16171         Separately conditionalize setting of GLRO(dl_sysinfo) so
16172         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16173         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16175 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16177         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16179         definition.
16180         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16181         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16182         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16183         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16184         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16186 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16188         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16189         test signgam value.
16191         * math/libm-test.inc (hypot_test): Do not use
16192         IGNORE_ZERO_INF_SIGN.
16194 2013-05-03  Andreas Jaeger  <aj@suse.de>
16196         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16197         Linux 3.9.
16198         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16199         (PF_MAX): Adjust for VSOCK change.
16201 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16205 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16207         [BZ #15264]
16208         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16209         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16210         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16212 2013-05-02  David S. Miller  <davem@davemloft.net>
16214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16216 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16218         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16220 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16222         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16224 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16226         [BZ #14952]
16227         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16228         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16229         Use __attribute__ ((__gnu_inline__)).
16230         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16231         Don't use __attribute__ ((__gnu_inline__)).
16233 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16235         [BZ #15423]
16236         * math/s_catan.c (__catan): Handle small real or imaginary part of
16237         input specially to avoid spurious underflow.
16238         * math/s_catanf.c (__catanf): Likewise.
16239         * math/s_catanh.c (__catanh): Likewise.
16240         * math/s_catanhf.c (__catanhf): Likewise.
16241         * math/s_catanhl.c (__catanhl): Likewise.
16242         * math/s_catanl.c (__catanl): Likewise.
16243         * math/libm-test.inc (catan_test): Add more tests.
16244         (catanh_test): Likewise.
16245         * sysdeps/i386/fpu/libm-test-ulps: Update.
16246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16248 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16252 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #15416]
16255         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16256         accurately for denominator in atan2.
16257         * math/s_catanf.c (__catanf): Likewise.
16258         * math/s_catanh.c (__catanh): Likewise.
16259         * math/s_catanhf.c (__catanhf): Likewise.
16260         * math/s_catanhl.c (__catanhl): Likewise.
16261         * math/s_catanl.c (__catanl): Likewise.
16262         * math/libm-test.inc (catan_test): Add more tests.
16263         (catanh_test): Likewise.
16264         * sysdeps/i386/fpu/libm-test-ulps: Update.
16265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16267 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16271         * benchtests/Makefile (bench): Remove slow benchmarks.
16272         * benchtests/atan-inputs: Add slow benchmark inputs.
16273         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16274         (BENCH_FUNC): Accept variant offset.
16275         (VARIANT): Define.
16276         * benchtests/bench-skeleton.c (main): Run benchmark for each
16277         variant.
16278         * benchtests/cos-inputs: Add slow benchmark inputs.
16279         * benchtests/exp-inputs: Likewise.
16280         * benchtests/pow-inputs: Likewise.
16281         * benchtests/sin-inputs: Likewise.
16282         * benchtests/slowatan-inputs: Remove.
16283         * benchtests/slowatan.c: Remove.
16284         * benchtests/slowcos-inputs: Remove.
16285         * benchtests/slowcos.c: Remove.
16286         * benchtests/slowexp-inputs: Remove.
16287         * benchtests/slowexp.c: Remove.
16288         * benchtests/slowpow-inputs: Remove.
16289         * benchtests/slowpow.c: Remove.
16290         * benchtests/slowsin-inputs: Remove.
16291         * benchtests/slowsin.c: Remove.
16292         * benchtests/slowtan-inputs: Remove.
16293         * benchtests/slowtan.c: Remove.
16294         * benchtests/tan-inputs: Add slow benchmark inputs.
16295         * scripts/bench.pl: Parse comments and directives.
16297         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16298         in CPPFLAGS.
16299         ($(objpfx)bench-%.c): Remove *-ITER.
16300         * benchtests/bench-modf.c: Remove definition of ITER.
16301         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16302         (main): Loop for DURATION seconds instead of fixed number of
16303         iterations.
16304         * scripts/bench.pl: Don't expect iterations in parameters.
16306 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16308         * io/fchdir.c (__fchdir): Renamed from fchdir.
16309         (fchdir): Define as weak alias.
16311 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16313         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16314         (ERRNO_EDOM): Likewise.
16315         (ERRNO_ERANGE): Likewise.
16316         (noErrnoTests): New variable.
16317         (init_max_error): Set errno to 0.
16318         (test_single_errno): New function.
16319         (test_errno): Likewise.
16320         (check_float_internal): Call test_errno.  Set errno to 0.
16321         (check_complex): Refer to errno tests in comment.
16322         (check_int): Call test_errno.  Set errno to 0.
16323         (check_long): Likewise.
16324         (check_bool): Likewise.
16325         (check_longlong): Likewise.
16326         (cos_test): Use ERRNO_* flags for errno tests instead of
16327         check_int.
16328         (expm1_test): Likewise.
16329         (fmod_test): Likewise.
16330         (ilogb_test): Likewise.
16331         (lgamma_test): Likewise.
16332         (pow_test): Likewise.
16333         (remainder_test): Likewise.
16334         (sin_test): Likewise.
16335         (tan_test): Likewise.
16336         (yn_test): Likewise.
16337         (initialize): Set errno to 0.
16338         (main): Print number of errno tests.
16339         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16341 2013-04-29  Andreas Jaeger  <aj@suse.de>
16343         [BZ #15084]
16344         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16345         and RES_USEVC.
16347         [BZ #15085]
16348         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16349         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16350         unimplemented.
16352         [BZ #15380]
16353         * stdlib/random.c (__initstate): Return NULL if
16354         __initstate fails.
16356         [BZ #15086]
16357         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16358         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16359         RES_SNGLKUPREOP.
16361 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16365 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16367         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16368         of individual tests.
16369         (casin_test): Likewise.
16370         (casinh_test): Likewise.
16372 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16374         [BZ #15409]
16375         * math/s_catan.c (__catan): Handle arguments with large real or
16376         imaginary part separately without squaring.
16377         * math/s_catanf.c (__catanf): Likewise.
16378         * math/s_catanh.c (__catanh): Likewise.
16379         * math/s_catanhf.c (__catanhf): Likewise.
16380         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16381         and redefine.
16382         (__catanhl): Handle arguments with large real or imaginary part
16383         separately without squaring.
16384         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16385         and redefine.
16386         (__catanl): Handle arguments with large real or imaginary part
16387         separately without squaring.
16388         * math/libm-test.inc (catan_test): Add more tests.
16389         (catanh_test): Likewise.
16390         * sysdeps/i386/fpu/libm-test-ulps: Update.
16391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16393 2013-04-27  Andreas Jaeger  <aj@suse.de>
16395         [BZ #15007]
16396         * stdlib/stdlib.h: Update guards for qecvt.
16397         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16398         <stdlib.h>.
16400 2013-04-27  Allan McRae  <allan@archlinux.org>
16402         * sysdeps/i386/fpu/libm-test-ulps: Update.
16404 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16406         [BZ #15406]
16407         * math/s_catan.c: Include <float.h>.
16408         (__catan): Ensure underflow exception occurs for underflowed
16409         result.
16410         * math/s_catanf.c: Include <float.h>.
16411         (__catanf): Ensure underflow exception occurs for underflowed
16412         result.
16413         * math/s_catanh.c: Include <float.h>.
16414         (__catanh): Ensure underflow exception occurs for underflowed
16415         result.
16416         * math/s_catanhf.c: Include <float.h>.
16417         (__catanhf): Ensure underflow exception occurs for underflowed
16418         result.
16419         * math/s_catanhl.c: Include <float.h>.
16420         (__catanhl): Ensure underflow exception occurs for underflowed
16421         result.
16422         * math/s_catanl.c: Include <float.h>.
16423         (__catanl): Ensure underflow exception occurs for underflowed
16424         result.
16425         * math/libm-test.inc (catan_test): Add more tests.
16426         (catanh_test): Likewise.
16428         [BZ #15405]
16429         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16430         underflowed result.
16431         * math/s_ccoshf.c (__ccoshf): Likewise.
16432         * math/s_ccoshl.c (__ccoshl): Likewise.
16433         * math/s_csin.c (__csin): Likewise.
16434         * math/s_csinf.c (__csinf): Likewise.
16435         * math/s_csinh.c (__csinh): Likewise.
16436         * math/s_csinhf.c (__csinhf): Likewise.
16437         * math/s_csinhl.c (__csinhl): Likewise.
16438         * math/s_csinl.c (__csinl): Likewise.
16439         * math/libm-test.inc (ccos_test): Add more tests.
16440         (ccosh_test): Likewise.
16441         (csin_test): Likewise.
16442         (csinh_test): Likewise.
16444 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16446         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16447         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16448         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16449         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16450         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16451         powerpc/power5+/fpu folders.
16452         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16455 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16459 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16461         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16462         additions to variable.
16463         [$(config-machine) = x86_64] (modules-names): Likewise.
16464         ($(objpfx)tst-audit3): Remove dependency.
16465         ($(objpfx)tst-audit3.out): Likewise.
16466         ($(objpfx)tst-audit4): Likewise.
16467         ($(objpfx)tst-audit4.out): Likewise.
16468         ($(objpfx)tst-audit5): Likewise.
16469         ($(objpfx)tst-audit5.out): Likewise.
16470         ($(objpfx)tst-audit6): Likewise.
16471         ($(objpfx)tst-audit6.out): Likewise.
16472         ($(objpfx)tst-audit7): Likewise.
16473         ($(objpfx)tst-audit7.out): Likewise.
16474         (tst-audit3-ENV): Remove variable.
16475         (tst-audit4-ENV): Likewise.
16476         (tst-audit5-ENV): Likewise.
16477         (tst-audit6-ENV): Likewise.
16478         (tst-audit7-ENV): Likewise.
16479         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16480         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16481         addition to variable.
16482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16485         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16486         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16487         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16488         tst-audit3, tst-audit4 and tst-audit5.
16489         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16490         tst-audit6 and tst-audit7.
16491         [$(subdir) = elf] (modules-names): Add audit modules for those
16492         tests.
16493         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16494         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16495         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16496         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16497         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16498         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16499         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16500         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16501         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16502         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16503         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16504         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16505         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16506         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16507         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16508         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16509         Likewise.
16510         [$(subdir) = elf && $(config-cflags-avx) = yes]
16511         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16512         [$(subdir) = elf && $(config-cflags-avx) = yes]
16513         (CFLAGS-tst-auditmod4a.c): Likewise.
16514         [$(subdir) = elf && $(config-cflags-avx) = yes]
16515         (CFLAGS-tst-auditmod4b.c): Likewise.
16516         [$(subdir) = elf && $(config-cflags-avx) = yes]
16517         (CFLAGS-tst-auditmod6b.c): Likewise.
16518         [$(subdir) = elf && $(config-cflags-avx) = yes]
16519         (CFLAGS-tst-auditmod6c.c): Likewise.
16520         [$(subdir) = elf && $(config-cflags-avx) = yes]
16521         (CFLAGS-tst-auditmod7b.c): Likewise.
16522         * elf/tst-audit3.c: Move to ...
16523         * sysdeps/x86_64/tst-audit3.c: ... here.
16524         * elf/tst-audit4.c: Move to ...
16525         * sysdeps/x86_64/tst-audit4.c: ... here.
16526         * elf/tst-audit5.c: Move to ...
16527         * sysdeps/x86_64/tst-audit5.c: ... here.
16528         * elf/tst-audit6.c: Move to ...
16529         * sysdeps/x86_64/tst-audit6.c: ... here.
16530         * elf/tst-audit7.c: Move to ...
16531         * sysdeps/x86_64/tst-audit7.c: ... here.
16532         * elf/tst-auditmod3a.c: Move to ...
16533         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16534         * elf/tst-auditmod3b.c: Move to ...
16535         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16536         * elf/tst-auditmod4a.c: Move to ...
16537         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16538         * elf/tst-auditmod4b.c: Move to ...
16539         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16540         * elf/tst-auditmod5a.c: Move to ...
16541         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16542         * elf/tst-auditmod5b.c: Move to ...
16543         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16544         * elf/tst-auditmod6a.c: Move to ...
16545         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16546         * elf/tst-auditmod6b.c: Move to ...
16547         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16548         * elf/tst-auditmod6c.c: Move to ...
16549         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16550         * elf/tst-auditmod7a.c: Move to ...
16551         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16552         * elf/tst-auditmod7b.c: Move to ...
16553         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16555 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16557         [BZ #15366]
16558         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16559         define unconditionally.
16560         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16561         define unconditionally.
16562         (INT8_C, INT16_C, etc.): Likewise.
16564 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16566         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16567         __ehdr_start with hidden visibility.
16569         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16571 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16573         * math/libm-test.inc (cos_test): Use accurate hex constants.
16574         (sincost_test): Likewise.
16576 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16578         * math/libm-test.inc (catan_test): Add more tests.
16579         (catanh_test): Likewise.
16581         * math/s_catanf.c (__catanf): Use suffixed floating-point
16582         constants.
16583         * math/s_catanhf.c (__catanhf): Likewise.
16584         * math/s_catanhl.c (__catanhl): Likewise.
16585         * math/s_catanl.c (__catanl): Likewise.
16587         [BZ #15394]
16588         * math/s_catan.c (__catan): Calculate imaginary part of result
16589         with log1p not log unless computing log of number close to 0.
16590         * math/s_catanf.c (__catanf): Likewise.
16591         * math/s_catanl.c (__catanl): Likewise.
16592         * math/s_catanh.c (__catanh): Calculate real part of result with
16593         log1p not log unless computing log of number close to 0.
16594         * math/s_catanhf.c (__catanhf): Likewise.
16595         * math/s_catanhl.c (__catanhl): Likewise.
16596         * math/libm-test.inc (catan_test): Add more tests.
16597         (catanh_test): Likewise.
16598         * sysdeps/i386/fpu/libm-test-ulps: Update.
16599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16601 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16603         * benchtests/Makefile: Mention files in which fast and slow
16604         paths of math functions are implemented.
16606 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16608         * sysdeps/posix/timespec_get.c: New file.
16610 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16612         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16613         POWER.
16614         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16615         for POWER.
16616         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16617         powerpc/power5/fpu folders.
16618         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16619         * benchtests/Makefile: Add modf testcase.
16620         * benchtests/bench-modf.c: New file: Benchmark test for mo
16622 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16624         [BZ #14888]
16625         * time/Makefile (tests): Add tst-strptime-whitespace.
16626         * time/strptime_l.c (get_number): Use ISSPACE.
16627         (__strptime_internal): Likewise.
16628         * time/tst-strptime-whitespace.c: New test case.
16630 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16632         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16633         member.
16634         (_nss_files_init): Set it here.
16636 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16638         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16639         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16640         unsigned.
16642 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16644         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16646 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16648         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16649         size just once.
16651 2013-04-21  David S. Miller  <davem@davemloft.net>
16653         * po/ru.po: Update Russion translation from translation project.
16655 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16657         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16658         and setfsgid.
16660 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16662         * configure.in: Remove i386 configure warning. Remove i386 case.
16663         * configure: Regenerate.
16664         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16665         Add example to error message.
16666         * sysdeps/i386/configure: Regenerate.
16668 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16670         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16671         slowtan.
16672         * benchtests/cos-inputs: New file.
16673         * benchtests/slowcos-inputs: New file.
16674         * benchtests/slowcos.c: New file.
16675         * benchtests/slowtan-inputs: New file.
16676         * benchtests/slowtan.c: New file.
16677         * benchtests/tan-inputs: New file.
16679 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16681         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16682         considered kosher.
16684 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16686         * benchtests/Makefile: Include cppflags-iterator.mk to add
16687         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16689         * Makefile.in (bench-clean): New target.
16690         * benchtests/Makefile (bench-clean): Likewise.
16692 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16694         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16696 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16698         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16700 2013-04-15  Andreas Schwab  <schwab@suse.de>
16702         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16703         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16704         * nscd/pwdcache.c (cache_addpw): Likewise.
16705         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16706         more than recsize.
16708 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16710         * benchtests/Makefile (bench): Write all output to
16711         bench-out.tmp together.
16713 2013-04-15  Andreas Schwab  <schwab@suse.de>
16715         * nscd/nscd.c (main): Don't fork again after closing files.
16717 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16719         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16721         * benchtests/Rules (bench-deps): Collect dependencies into a
16722         single variable.  Add Makefile to dependencies.
16723         ($(objpfx)bench-%.c): Depend on bench-deps.
16725 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16726             Xavier Roche  <roche+kml2@exalead.com>
16728         [BZ #15361]
16729         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16730         just that it's a file descriptor.
16731         * manual/llio.texi (Synchronizing AIO Operations): Update description
16732         for EBADF error from aio_fsync.
16734 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16736         * Rules (bench): Move target definition...
16737         * benchtests/Makefile: ... here.
16739 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16741         * math/libm-test.inc (cos_test): Fix PI/2 test.
16742         (sincos_test): Likewise.
16743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16744         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16746 2013-04-11  Andreas Schwab  <schwab@suse.de>
16748         [BZ #13988]
16749         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16750         accept exponent character only when digits were seen.
16751         * stdio-common/Makefile (tests): Add bug26.
16752         * stdio-common/bug26.c: New file.
16754         [BZ #14293]
16755         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16756         non-freeable.
16758 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16760         * Makeconfig (rtld-prefix): Define built linker prefix.
16761         * Rules (run-bench): Use it.
16762         * math/Makefile (run-regen-ulps): Likewise.
16764         * Rules (bench): Remove eval.
16766 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16767             Roland McGrath  <roland@hack.frob.com>
16768             Ondrej Bilka  <neleai@seznam.cz>
16770         [BZ #15346]
16771         * time/getdate.c: Include ctype.h and alloca.h.
16772         (__getdate_r): Trim leading and trailing spaces of input.
16773         * time/tst-getdate.c (tests): Add tests with leading and
16774         trailing spaces.
16776 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16778         [BZ #14280]
16779         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16780         when computing value.
16782 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16784         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16785         Use testrun.sh to run libm tests.
16787         [BZ #15309]
16788         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16790 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16792         [BZ #15264]
16793         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16795 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16797         * Makefile.in (regen-ulps): New target.
16798         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16799         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16800         [ifneq (no,$(PERL)] (regen-ulps): New target.
16801         [ifeq (no,$(PERL)] (regen-ulps): New target.
16802         * math/libm-test.inc (ulps_file_name): Define.
16803         (output_dir): New variable.
16804         (options): Add "output-dir" option.
16805         (parse_opt): Handle 'o' case.
16806         (main): If output_dir is non-NULL use it as a prefix
16807         otherwise use "".
16808         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16810 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16812         [BZ #10060, #10062]
16813         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16814         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16815         fail configure if __sync_val_compare_and_swap is not inlined.
16816         * sysdeps/i386/configure: Regenerate.
16817         * configure.in: Build for i686 when configured for i386.
16818         * configure: Regenerate.
16819         * README: Remove i386 reference.
16821 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16823         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16826 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16828         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16829         (lmsnanval): New variables.
16830         (F): Add conversion tests.
16831         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16832         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16834         * stdio-common/tstdiomisc.c (F): Properly collect individual
16835         tests' results.
16837         [BZ #14686, #15336]
16838         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16839         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16840         Instead, use input NaN values or generate a qNaN by arithmetic
16841         operation.  Also fix bugs to comply with the standard.
16842         * math/libm-test.inc (remainder_test): Add more tests.
16844         [BZ #15335, #15342]
16845         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16847         input NaN values or generate a qNaN by arithmetic operation.
16849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16850         unreachable code.
16852         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16853         definitions.
16855 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16857         [BZ #14478]
16858         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16859         underflowed result.
16860         * math/s_cexpf.c (__cexpf): Likewise.
16861         * math/s_cexpl.c (__cexpl): Likewise.
16862         * math/libm-test.inc (cexp_test): Add more tests.
16864 2013-04-03  Andreas Schwab  <schwab@suse.de>
16866         [BZ #15330]
16867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16868         order arrays from heap if bigger than alloca cutoff.
16870 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16872         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16873         (SNAN_TESTS_double): Refer to GCC PR56831.
16874         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16875         GCC PR56828.
16877 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16879         * Rules (bench): Move bench.out after the run is complete.
16881         * Rules (bench): Echo currently running benchmark.
16883         * benchtests/Makefile (bench): Add atan and slowatan.
16884         * benchtests/atan-inputs: New file.
16885         * benchtests/slowatan-inputs: New file.
16886         * benchtests/slowatan.c: New file.
16888         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16889         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16890         its value.
16892         [BZ #15305]
16893         * sysdeps/unix/sysv/linux/kernel-features.h
16894         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16895         __ASSUME_XFS_RESTRICTED_CHOWN.
16896         * sysdeps/unix/sysv/linux/pathconf.c
16897         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16898         Save and restore errno.
16900 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
16902         [BZ #15327]
16903         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16904         arguments using __kernel_casinh.
16905         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16906         arguments using __kernel_casinhf.
16907         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16908         arguments using __kernel_casinhl.
16909         * math/libm-test.inc (cacosh_test): Add more tests.
16910         * sysdeps/i386/fpu/libm-test-ulps: Update.
16911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16915         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16918         * bench/Makefile (bench): Add sin and slowsin.
16919         * benchtests/sin-inputs: New file.
16920         * benchtests/slowsin-inputs: New file.
16921         * benchtests/slowsin.c: New file.
16923         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16924         (bench): Add slowexp and slowpow.
16925         (exp-ITER): Increase iterations.
16926         (pow-ITER): Likewise.
16927         * benchtests/exp-inputs: Change input.
16928         * benchtests/pow-inputs: Likewise.
16929         * benchtests/slowexp-inputs: New file.
16930         * benchtests/slowexp.c: New file.
16931         * benchtests/slowpow-inputs: New file.
16932         * benchtests/slowpow.c: New file.
16934 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16936         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16937         instructions.
16938         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16939         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16940         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16941         * benchtests/Makefile: Add rint benchtest.
16942         * benchtests/rint-inputs: Input for rint benchtest.
16944 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16946         * Versions.def (libm): Add GLIBC_2.18.
16947         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16948         hidden libm prototypes.
16949         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16950         * math/Makefile (libm-calls): Add s_issignaling.
16951         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16952         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
16953         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16954         declaration.
16955         * math/math.h [__USE_GNU] (issignaling): New macro.
16956         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16957         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16958         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16959         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16961         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16962         * manual/arith.texi (issignaling): New section.
16963         * manual/libm-err-tab.pl (@all_functions): Update comment.
16964         * math/gen-libm-test.pl (parse_args): Apply special handling for
16965         issignaling.
16966         * math/libm-test.inc (print_float, issignaling_test): New
16967         functions.
16968         (check_float_internal): Add issignaling checks.
16969         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16970         default definition.
16971         * sysdeps/powerpc/math-tests.h: New file.
16972         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16973         tests.
16974         * math/test-snan.c (TEST_FUNC): Likewise.
16976 2013-03-30  David S. Miller  <davem@davemloft.net>
16978         * po/de.po: Update from translation team.
16980 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
16982         [BZ #10357]
16983         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16984         imaginary part less than 1.0 and real part less than 0.5
16985         specially.
16986         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16987         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16988         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16989         (cacos_test): Add more tests.
16990         (casin_test): Likewise.
16991         (casinh_test): Likewise.
16992         * sysdeps/i386/fpu/libm-test-ulps: Update.
16993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16997         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16998         ONE with its value.
17000         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17001         (__pow_mp): Replace ONE and MONE with their values.
17002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17004         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17005         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17006         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17009         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17011         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17012         (__pow_mp): Replace ZERO and MZERO with their values.
17013         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17014         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17017         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17018         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17019         (__sqr): Likewise.
17021         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17023         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17025 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17027         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17028         Declare with __attribute__ ((weak)).
17029         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17030         Call __call_tls_dtors only if it's not NULL.
17032 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17034         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17035         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17036         magic __ehdr_start linker symbol if it's defined.
17037         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17038         them up here if it was already done.
17040         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17041         (_dl_aux_init): Use const in cast when setting it.
17042         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17043         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17044         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17046         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17047         Declare them here.
17048         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17049         * csu/libc-tls.c: Nor here.
17050         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17052         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17053         (__libc_message): Never call vsyslog.
17055 2013-03-28  Alan Modra  <amodra@gmail.com>
17057         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17058         Define as empty.
17059         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17060         Likewise.
17062 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17064         [BZ #15214]
17065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17066         underflow.
17067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17069 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17071         [BZ #15304]
17072         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17073         Don't add gid passed as argument.
17075         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17077 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17079         [BZ #15307]
17080         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17081         imaginary part between 1.0 and 1.5 and real part less than 0.5
17082         specially.
17083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17085         * math/libm-test.inc (cacos_test): Add more tests.
17086         (casin_test): Likewise.
17087         (casinh_test): Likewise.
17088         * sysdeps/i386/fpu/libm-test-ulps: Update.
17089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17091 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17093         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17094         constants.
17095         (norm): Likewise.
17096         (denorm): Likewise.
17097         (__dbl_mp): Likewise.
17098         (add_magnitudes): Likewise.
17099         (sub_magnitudes): Likewise.
17100         (__add): Likewise.
17101         (__sub): Likewise.
17102         (__mul): Likewise.
17103         (__sqr): Likewise.
17104         (__inv): Likewise.
17105         (__dvd): Likewise.
17107         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17108         commented code.
17109         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17110         (__dubcos): Likewise.
17111         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17112         (__ieee754_acos): Likewise.
17113         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17114         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17115         (__exp1): Likewise.
17116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17118         (log1): Likewise.
17119         (my_log2): Likewise.
17120         (checkint): Likewise.
17121         * sysdeps/ieee754/dbl-64/e_remainder.c
17122         (__ieee754_remainder): Likewise.
17123         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17125         (bsloww): Likewise.
17126         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17128         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17129         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17130         MANTISSA_STORE_T to store computations on mantissa.  Use
17131         macros for rounding and division.
17132         (denorm): Likewise.
17133         (__dbl_mp): Likewise.
17134         (add_magnitudes): Likewise.
17135         (sub_magnitudes): Likewise.
17136         (__mul): Likewise.
17137         (__sqr): Likewise.
17138         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17139         powers of two in terms of TWOPOW macro.
17140         (mp_no): Make type of mantissa as MANTISSA_T.
17141         [!RADIXI]: Define RADIXI.
17142         [!TWO52]: Define TWO52.
17143         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17145 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17147         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17148         llroundl symbol when building for PPC32.
17150 2013-03-24  Mark H Weaver  <mhw@netris.org>
17152         * manual/arith.texi (Normalization Functions): Fix prototypes for
17153         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17155 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17157         [BZ #13889]
17158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17159         high value to check if expl overflow.
17160         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17161         to check for underflow and overflow.
17162         * math/libm-test.inc: Add exp test.
17164 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17166         [BZ #11120]
17167         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17168         with NOT_IN_libc.
17170 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17172         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17173         symbol.
17175 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17177         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17178         wrap blocks consisting of several statements.
17180         * sysdeps/generic/math-tests.h: New file.
17181         * sysdeps/i386/fpu/math-tests.h: Likewise.
17182         * math/test-snan.c: Include it.
17183         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17185 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17187         [BZ #15285]
17188         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17189         (__ieee754_j0l): Do not improve calculations using cos of twice
17190         input for inputs above LDBL_MAX / 2.0L.
17191         (__ieee754_y0l): Likewise.
17192         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17193         (__ieee754_j1l): Do not improve calculations using cos of twice
17194         input for inputs above LDBL_MAX / 2.0L.
17195         (__ieee754_y1l): Likewise.
17196         * math/libm-test.inc (j0_test): Add another test.
17197         (j1_test): Likewise.
17198         (y0_test): Likewise.
17199         (y1_test): Likewise.
17200         * sysdeps/i386/fpu/libm-test-ulps: Update.
17202 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17204         * Rules ($(objpfx)bench-%.c): Include code from a C source
17205         file.
17207 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17209         [BZ #15287]
17210         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17211         imaginary part 1.0 and real part less than 0.5 specially.
17212         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17213         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17214         * math/libm-test.inc (cacos_test): Add more tests.
17215         (casin_test): Likewise.
17216         (casinh_test): Likewise.
17217         * sysdeps/i386/fpu/libm-test-ulps: Update.
17218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17220 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17222         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17223         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17225 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17227         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17228         * config.make.in (config-cflags-sse4): Remove variable.
17229         (config-cflags-avx): Likewise.
17230         (config-cflags-sse2avx): Likewise.
17231         (config-cflags-novzeroupper): Likewise.
17232         (config-asflags-i686): Likewise.
17233         (have-mfma4): Likewise.
17234         (have-as-vis3): Likewise.
17235         (MIG): Likewise.
17236         * configure.in (MIG): Do not AC_SUBST.
17237         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17238         (libc_cv_cc_sse4): Do not AC_SUBST.
17239         (libc_cv_cc_avx): Likewise.
17240         (libc_cv_cc_sse2avx): Likewise.
17241         (libc_cv_cc_novzeroupper): Likewise.
17242         (libc_cv_cc_fma4): Likewise.
17243         (libc_cv_as_i686): Likewise.
17244         (libc_cv_sparc_as_vis3): Likewise.
17245         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17246         LIBC_CONFIG_VAR.
17247         (config-asflags-i686): Likewise.
17248         (config-cflags-avx): Likewise.
17249         (config-cflags-sse2avx): Likewise.
17250         (have-mfma4): Likewise.
17251         (config-cflags-novzeroupper): Likewise.
17252         * sysdeps/mach/configure.in (MIG): Likewise.
17253         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17254         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17255         LIBC_CONFIG_VAR.
17256         (config-cflags-avx): Likewise.
17257         (config-cflags-sse2avx): Likewise.
17258         (have-mfma4): Likewise.
17259         (config-cflags-novzeroupper): Likewise.
17260         * configure: Regenerated.
17261         * sysdeps/i386/configure: Likewise.
17262         * sysdeps/mach/configure: Likewise.
17263         * sysdeps/sparc/configure: Likewise.
17264         * sysdeps/x86_64/configure: Likewise.
17266 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17268         [BZ #14812]
17269         * locale/programs/localedef.c (options): Put N_ translation marker
17270         on argument names, not just descriptions.
17272 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17274         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17276 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17278         [BZ #14176]
17279         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17281 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17283         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17284         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17285         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17286         [!BEFORE_ABORT] (before_abort): New function.
17287         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17288         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17289         (writev_for_fatal): New function.
17290         (WRITEV_FOR_FATAL): New macro; call that.
17291         (backtrace_and_maps): New function.
17292         (BEFORE_ABORT): New macro; call that.
17293         (struct str_list): Type removed.
17294         (__libc_message, __libc_fatal): Functions removed.
17295         Include <sysdeps/posix/libc_fatal.c> instead.
17297 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17299         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17300         constants.
17301         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17302         double constants.
17304 2013-03-19  Andreas Schwab  <schwab@suse.de>
17306         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17307         * sysdeps/gnu/configure: Regenerate.
17309         * configure.in: Substitute libc_cv_rtlddir.
17310         * configure: Regenerate.
17311         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17312         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17313         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17314         * elf/Makefile (install-others, CFLAGS-interp.c)
17315         (ldso_install, common-ldd-rewrite): Likewise.
17316         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17317         $(inst_slibdir)/$(rtld-installed-name).
17318         * scripts/rellns-sh: Add -p option.
17319         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17320         for source.
17322 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17324         * manual/nptl.texi: Renamed to ...
17325         * manual/threads.texi: ... this.
17326         * manual/Makefile (chapters): Update.
17328 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17330         [BZ #14812]
17331         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17332         on argument names, not just descriptions.
17333         * malloc/memusagestat.c (options): Likewise.
17334         * nss/getent.c (options): Likewise.
17336 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17338         [BZ #14812]
17339         * iconv/iconv_prog.c (options): Put N_ translation marker
17340         on argument names, not just descriptions.
17341         * iconv/iconvconfig.c (options): Likewise.
17343 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17345         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17346         implementation which is faster on all x86_64 architectures.
17347         Tested on AMD, Intel Nehalem, SNB, IVB.
17348         * sysdeps/x86_64/strnlen.S: Likewise.
17350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17351         Remove all multiarch strlen and strnlen versions.
17352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17353         Remove strlen and strnlen related parts.
17355         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17356         Inline strlen part.
17357         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17359         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17360         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17361         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17362         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17363         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17364         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17366 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17368         * manual/memory.texi (Malloc Tunable Parameters):
17369         Sort parameters alphabetically. Add comments for missing entries.
17371 2013-03-17  David S. Miller  <davem@davemloft.net>
17373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17375 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17377         [BZ #15283]
17378         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17379         for arguments at most half maximum finite value.
17380         * math/libm-test.inc (j0_test): Add more tests.
17381         (j1_test): Likewise.
17382         (y0_test): Likewise.
17383         (y1_test): Likewise.
17384         * sysdeps/i386/fpu/libm-test-ulps: Update.
17385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387         [BZ #14155]
17388         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17389         1 / x and functions P and Q for arguments above 0x1p256L.
17390         (__ieee754_y0l): Likewise.
17391         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17392         (__ieee754_y1l): Likewise.
17393         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17394         (j1_test): Likewise.
17395         (y0_test): Likewise.
17396         (y1_test): Likewise.
17398 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17400         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17401         variable.
17403 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17405         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17406         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17407         zero since it's initialized to EXEC_PAGESIZE.
17409         * sysdeps/unix/sysv/linux/ldsodefs.h
17410         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17411         * sysdeps/generic/ldsodefs.h: ... here.
17413 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17415         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17417         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17418         math/test-snan.c.
17419         * math/test-snan.c: Renamed from
17420         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17421         * math/Makefile (tests): Add test-snan.
17422         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17423         test-powerpc-snan.
17425         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17426         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17427         functions.
17428         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17429         __builtin_nan family of functions.
17430         * math/libm-test.inc (initialize): Initialize qnan_value with
17431         __builtin_nan family of functions.
17432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17433         Remove variables.
17434         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17435         Remove functions.
17436         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17437         storage class.  Initialize qNaN_var and sNaN_var with
17438         __builtin_nan and __builtin_nans families of functions,
17439         respectively.
17441         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17442         (sqrt_test): Remove duplicate test with qNaN input.
17443         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17444         (round_test, signbit_test, significand_test): Note missing +/-Inf
17445         as well as qNaN tests.
17447         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17448         qNaN_var.  Fix a few strings, too.
17449         * math/libm-test.inc (nan_value): Rename to qnan_value.
17450         * math/gen-libm-test.pl (%beautify): Adjust to that.
17451         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17452         * math/test-misc.c (main): Likewise.
17453         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17454         to __qnan_bytes, and __qnan_union, respectively.
17455         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17456         Likewise.
17457         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17458         and lqnanval, respectively.
17459         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17460         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17461         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17462         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17464         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17465         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17466         doubles.
17468         * math/test-misc.c (main): Fix copy'n'pastos.
17469         * misc/tst-efgcvt.c (special): Likewise.
17471         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17472         Remove declarations.
17474 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17476         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17477         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17478         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17481 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17483         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17484         macro to return vdso values correctly in IFUNC implementations.
17485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17486         Optimization by using IFUNC.
17488 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17489             Richard Henderson  <rth@redhat.com>
17490             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17492         * Makefile.in (bench): New target.
17493         * NEWS: Mention the benchmark framework.
17494         * Rules (bench): Likewise.
17495         (binaries-bench): Generate binaries for functions to
17496         benchmark.
17497         * benchtests/Makefile: New makefile for benchmark tests.
17498         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17499         programs.
17500         * benchtests/exp-inputs: New input file for EXP function.
17501         * benchtests/pow-inputs: New input file for POW function.
17502         * scripts/bench.pl: New script to generate source files for
17503         benchmark programs.
17505 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17507         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17509         computations on mantissa.  Use macros for rounding and
17510         division.
17511         (denorm): Likewise.
17512         (__dbl_mp): Likewise.
17513         (add_magnitudes): Likewise.
17514         (sub_magnitudes): Likewise.
17515         (__mul): Likewise.
17516         (__sqr): Likewise.
17517         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17518         powers of two in terms of TWOPOW macro.
17519         (mp_no): Make type of mantissa as MANTISSA_T.
17520         [!RADIXI]: Define RADIXI.
17521         [!TWO52]: Define TWO52.
17522         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17524         * manual/nptl.texi (cindex): Modify threads to pthreads.
17526 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17528         * sysdeps/x86_64/preconfigure: Regenerated.
17530 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17532         [BZ #14155]
17533         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17534         0x1p28 and above.
17535         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17536         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17537         0x1p28 and above.
17538         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17539         * math/libm-test.inc (j0_test): Do not allow one spurious
17540         underflow exception.
17541         (y1_test): Likewise.
17543 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17545         * manual/Makefile (chapters): Add nptl.
17546         * manual/debug.texi (Debugging Support): Add link to Threads
17547         chapter.
17548         * manual/nptl.texi: New file.
17550         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17552 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17554         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17555         for non-NULL pointer before the memory validity test. Pointed
17556         out by Holger Brunck <holger.brunck@keymile.com>.
17558 2013-03-13  Andreas Schwab  <schwab@suse.de>
17560         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17561         instead of .os.
17563 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17565         * timezone/zic.c: Update from tzcode 2013b.
17567 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17569         * manual/install.texi (Configuring and compiling):
17570         Mention i686 and i586.
17571         * INSTALL: Regenerate.
17573 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17575         * sysdeps/init_array/elf-init.c: New file.
17576         * csu/elf-init.c
17577         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17578         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17580         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17581         __gmon_start__ as global, but as static with a .preinit_array pointer.
17582         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17583         * sysdeps/init_array/crti.S: New file, empty except for comments.
17584         * sysdeps/init_array/crtn.S: Likewise.
17586 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17588         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17589         definining bcopy.
17590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17591         Remove Prefer_SSE_for_memop.
17592         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17593         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17594         HAS_PREFER_SSE_FOR_MEMOP.
17595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17596         memset-x86-64.
17597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17598         Remove bzero, memset ifunc support.
17599         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17600         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17601         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17602         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17604 2013-03-11  Andreas Schwab  <schwab@suse.de>
17606         [BZ #15234]
17607         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17608         by SHLIB_COMPAT.
17609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17610         (GLIBC_2.16): Remove pthread_atfork.
17612 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17614         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17615         (ptestcases.h): Likewise.
17617 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17619         * Makeconfig ($(common-objpfx)config.status): Depend on
17620         sysdeps/*/preconfigure{,.in} too.
17622 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17624         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17625         (__free_hook): Use void * instead of __malloc_ptr_t.
17626         (__malloc_hook): Likewise.
17627         (__realloc_hook): Likewise.
17628         (__memalign_hook): Likewise.
17629         (__after_morecore_hook): Likewise.
17630         * malloc/arena.c (save_malloc_hook): Likewise.
17631         (save_free_hook): Likewise.
17632         * malloc/hooks.c (malloc_hook_ini): Likewise.
17633         (realloc_hook_ini): Likewise.
17634         (memalign_hook_ini): Likewise.
17635         * malloc/malloc.c (malloc_hook_ini): Likewise.
17636         (realloc_hook_ini): Likewise.
17637         (memalign_hook_ini): Likewise.
17638         (__free_hook): Likewise.
17639         (__malloc_hook): Likewise.
17640         (__realloc_hook): Likewise.
17641         (__memalign_hook): Likewise.
17642         (__libc_malloc): Likewise.
17643         (__libc_free): Likewise.
17644         (__libc_realloc): Likewise.
17645         (__libc_memalign): Likewise.
17646         (__libc_valloc): Likewise.
17647         (__libc_pvalloc): Likewise.
17648         (__libc_calloc): Likewise.
17649         (__posix_memalign): Likewise.
17650         * malloc/morecore.c (__sbrk): Likewise.
17651         (__default_morecore): Likewise.
17653         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17655         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17656         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17657         __malloc_ptrdiff_t.
17659         * malloc/malloc.h (__malloc_size_t): Remove macro.
17660         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17661         __malloc_size_t.
17662         (old_memalign_hook): Likewise.
17663         (old_realloc_hook): Likewise.
17664         (struct hdr): Likewise.
17665         (flood): Likewise.
17666         (mallochook): Likewise.
17667         (memalignhook): Likewise.
17668         (reallochook): Likewise.
17669         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17670         (tr_old_realloc_hook): Likewise.
17671         (tr_old_memalign_hook): Likewise.
17672         (tr_mallochook): Likewise.
17673         (tr_reallochook): Likewise.
17674         (tr_memalignhook): Likewise.
17676 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17679         default_ldbl_pack and using as default implementation.
17680         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17681         implementation.
17682         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17683         redundant definition.
17684         (ldbl_insert_mantissa): Likewise.
17685         (ldbl_canonicalize): Likewise.
17686         (ldbl_nearbyint): Likewise.
17687         (ldbl_pack): Rename to ldbl_pack_ppc.
17688         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17689         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17690         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17692 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17695         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17696         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17697         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17700         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17701         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17703 2013-03-07  Andreas Jaeger  <aj@suse.de>
17705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17706         bits/mman-linux.h.
17708 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17710         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17711         Include mpa.h and declare __MPEXP.
17712         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17714         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17715         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17717         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17718         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17720         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17721         (__slowpow): Use long double EXPL and LOGL functions to
17722         compute POW.
17723         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17724         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17726         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17727         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17728         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17731         intermediate variable to calculate exponent.
17732         (__sqr): Likewise.
17733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17734         Likewise.
17735         (__sqr): Likewise.
17737         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17738         [!NO__SQR]: Define __sqr.
17739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17740         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17741         sysdeps/ieee754/dbl-64/mpa.c.
17742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17744         [BZ #12723]
17745         * posix/Makefile (tests): Add tst-pathconf.
17746         * posix/tst-pathconf.c: New test case.
17747         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17748         _PC_PIPE_BUF.
17749         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17751 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17753         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17755 2013-03-06  Andreas Jaeger  <aj@suse.de>
17757         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17758         definition via __MAP_ANONYMOUS.
17760         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17761         it's not part of Linux headers.
17763         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17764         (MAP_HUGE_MASK): Define.
17766         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17767         Define.
17768         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17769         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17770         Define.
17771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17773         Define.
17774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17776         Define.
17777         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17779         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17780         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17781         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17782         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17783         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17784         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17786         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17787         Handle f2fs.
17789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17790         Handle f2fs and efivarfs.
17792         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17793         f2fs.
17795         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17796         (EFIVARFS_MAGIC): Add.
17797         (F2FS_LINK_MAX): Add.
17799 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17801         * stdio-common/vfprintf.c: Replace __builtin_expect with
17802         __glibc_unlikely.
17804 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #13550]
17807         * sysdeps/generic/bp-sym.h: Remove file.
17808         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17809         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17810         <bp-sym.h> and <bp-asm.h>.
17811         (__longjmp): Don't use BP_SYM.
17812         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17813         and <bp-asm.h>.
17814         (memcpy): Don't use BP_SYM.
17815         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17816         <bp-sym.h> and <bp-asm.h>.
17817         (memcpy): Don't use BP_SYM.
17818         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17819         <bp-asm.h>.
17820         (memcpy): Don't use BP_SYM.
17821         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17822         <bp-asm.h>.
17823         (memset): Don't use BP_SYM.
17824         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17825         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17826         (__bzero): Don't use BP_SYM.
17827         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17828         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17829         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17830         <bp-sym.h> and <bp-asm.h>.
17831         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17832         pointers.
17833         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17834         <bp-sym.h> and <bp-asm.h>.
17835         (memcpy): Don't use BP_SYM.
17836         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17837         <bp-sym.h> and <bp-asm.h>.
17838         (memset): Don't use BP_SYM.
17839         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17840         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17841         (__bzero): Don't use BP_SYM.
17842         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17843         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17844         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17845         <bp-sym.h> and <bp-asm.h>.
17846         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17847         pointers.
17848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17849         <bp-sym.h> and <bp-asm.h>.
17850         (memcpy): Don't use BP_SYM.
17851         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17852         <bp-sym.h> and <bp-asm.h>.
17853         (memset): Don't use BP_SYM.
17854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17856         (__bzero): Don't use BP_SYM.
17857         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17858         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17859         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17860         <bp-sym.h> and <bp-asm.h>.
17861         (__memchr): Don't use BP_SYM.
17862         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17863         <bp-sym.h> and <bp-asm.h>.
17864         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17865         pointers.
17866         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17867         <bp-sym.h> and <bp-asm.h>.
17868         (memcpy): Don't use BP_SYM.
17869         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17870         <bp-sym.h> and <bp-asm.h>.
17871         (__mempcpy): Don't use BP_SYM.
17872         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17873         <bp-sym.h> and <bp-asm.h>.
17874         (__memrchr): Don't use BP_SYM.
17875         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17876         <bp-sym.h> and <bp-asm.h>.
17877         (memset): Don't use BP_SYM.
17878         (__bzero): Likewise.
17879         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17880         <bp-sym.h> and <bp-asm.h>.
17881         (__rawmemchr): Don't use BP_SYM.
17882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17883         <bp-sym.h> and <bp-asm.h>.
17884         (__STRCMP): Don't use BP_SYM.
17885         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17886         <bp-sym.h> and <bp-asm.h>.
17887         (strchr): Don't use BP_SYM.
17888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17889         <bp-sym.h> and <bp-asm.h>.
17890         (__strchrnul): Don't use BP_SYM.
17891         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17892         <bp-sym.h> and <bp-asm.h>.
17893         (strlen): Don't use BP_SYM.
17894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17895         <bp-sym.h> and <bp-asm.h>.
17896         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17897         pointers.
17898         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17899         <bp-sym.h> and <bp-asm.h>.
17900         (__strnlen): Don't use BP_SYM.
17901         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17902         <bp-sym.h> and <bp-asm.h>.
17903         (__GI__setjmp): Don't use BP_SYM.
17904         (_setjmp): Likewise.
17905         (__sigsetjmp): Likewise.
17906         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17907         (L(start_addresses)): Don't use BP_SYM.
17908         (_start): Likewise.
17909         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17910         <bp-asm.h>.
17911         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17912         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17913         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17914         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17915         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17916         <bp-asm.h>.
17917         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17918         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
17919         about bounded pointers.
17920         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17921         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17922         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17923         <bp-asm.h>.
17924         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17925         about bounded pointers.  Remove GKM FIXME comments.
17926         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17927         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17928         <bp-asm.h>.
17929         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17930         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
17931         Remove GKM FIXME comments.
17932         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17933         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17934         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17935         <bp-asm.h>.
17936         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17937         about bounded pointers.  Remove GKM FIXME comment.
17938         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17939         and <bp-asm.h>.
17940         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17941         pointers.
17942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17943         <bp-sym.h> and <bp-asm.h>.
17944         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17946         <bp-sym.h> and <bp-asm.h>.
17947         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17948         comment.
17950 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17952         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17953         call free(NULL).
17955 2013-03-05  David S. Miller  <davem@davemloft.net>
17957         * po/es.po: Update from translation team.
17959 2013-03-05  Andreas Jaeger  <aj@suse.de>
17961         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17962         <bits/mman-linux.h>.
17963         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17964         is fine.
17965         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17966         <bits/mman-linux.h> to end of file.
17967         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17968         is fine.
17969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17970         <bits/mman-linux.h> to end of file.
17971         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17972         is fine.
17973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17974         <bits/mman-linux.h> to end of file.
17976         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17977         (MCL_CURRENT, MCL_FUTURE): Define here.
17979 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17981         [BZ #15232]
17982         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17983         attribute_hidden.
17984         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17986 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17989         fourth parameter needed for rt_sigprocmask syscall.
17990         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17991         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17993         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17994         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17995         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17997 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
17999         [BZ #13550]
18000         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18001         comment about bounded pointers.
18002         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18003         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18005 2013-03-04  Andreas Jaeger  <aj@suse.de>
18007         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18008         common definitions.
18010         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18011         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18012         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18014         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18017 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18019         [BZ #15055]
18020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18021         __ieee754_sqrl instead of __sqrl.
18023 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18025         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18026         * sysdeps/powerpc/fpu_control.h: ... here.
18027         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18028         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18029         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18030         * sysdeps/powerpc/bits/mathinline.h: ... here.
18032 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18034         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18035         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18036         to just [NEED_DL_SYSINFO_DSO].
18037         * elf/dl-support.c: Likewise.
18038         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18039         * elf/rtld.c (dl_main): Likewise.
18040         * elf/setup-vdso.h (setup_vdso): Likewise.
18041         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18042         * sysdeps/unix/sysv/linux/dl-sysdep.c
18043         (_dl_discover_osversion): Likewise.
18045 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18047         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18048         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18050 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18052         * NEWS: Mention libm performance improvements and non-x86 PI
18053         futex support.
18055         * csu/libc-start.c (__pthread_initialize_minimal): Change
18056         function arguments.
18057         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18059 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18061         [BZ #13550]
18062         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18063         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18064         <bp-sym.h> and <bp-asm.h>.
18065         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18066         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18067         and <bp-asm.h>.
18068         (memcpy): Don't use BP_SYM.
18069         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18070         <bp-asm.h>.
18071         (__mpn_add_n): Don't use BP_SYM.
18072         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18073         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18074         and <bp-asm.h>.
18075         (__mpn_addmul_1): Don't use BP_SYM.
18076         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18077         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18078         <bp-sym.h>.
18079         (_setjmp): Don't use BP_SYM.
18080         (__novmx_setjmp): Likewise.
18081         (__GI__setjmp): Likewise.
18082         (__vmx_setjmp): Likewise.
18083         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18084         <bp-sym.h>.
18085         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18086         (__bzero): Don't use BP_SYM.
18087         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18088         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18089         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18090         <bp-sym.h> and <bp-asm.h>.
18091         (memcpy): Don't use BP_SYM.
18092         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18093         <bp-sym.h> and <bp-asm.h>.
18094         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18095         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18096         <bp-sym.h> and <bp-asm.h>.
18097         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18098         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18099         <bp-asm.h>.
18100         (__mpn_lshift): Don't use BP_SYM.
18101         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18102         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18103         <bp-asm.h>.
18104         (memset): Don't use BP_SYM.
18105         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18106         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18107         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18108         <bp-asm.h>.
18109         (__mpn_mul_1): Don't use BP_SYM.
18110         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18111         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18112         <bp-sym.h> and <bp-asm.h>.
18113         (memcmp): Don't use BP_SYM.
18114         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18115         <bp-sym.h> and <bp-asm.h>.
18116         (memcpy): Don't use BP_SYM.
18117         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18118         <bp-sym.h> and <bp-asm.h>.
18119         (memset): Don't use BP_SYM.
18120         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18121         <bp-sym.h> and <bp-asm.h>.
18122         (strncmp): Don't use BP_SYM.
18123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18124         <bp-sym.h> and <bp-asm.h>.
18125         (memcpy): Don't use BP_SYM.
18126         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18127         <bp-sym.h> and <bp-asm.h>.
18128         (memset): Don't use BP_SYM.
18129         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18130         <bp-sym.h> and <bp-asm.h>.
18131         (__memchr): Don't use BP_SYM.
18132         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18133         <bp-sym.h> and <bp-asm.h>.
18134         (memcmp): Don't use BP_SYM.
18135         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18136         <bp-sym.h> and <bp-asm.h>.
18137         (memcpy): Don't use BP_SYM.
18138         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18139         <bp-sym.h> and <bp-asm.h>.
18140         (__mempcpy): Don't use BP_SYM.
18141         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18142         <bp-sym.h> and <bp-asm.h>.
18143         (__memrchr): Don't use BP_SYM.
18144         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18145         <bp-sym.h> and <bp-asm.h>.
18146         (memset): Don't use BP_SYM.
18147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18148         <bp-sym.h> and <bp-asm.h>.
18149         (__rawmemchr): Don't use BP_SYM.
18150         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18151         <bp-sym.h> and <bp-asm.h>.
18152         (__STRCMP): Don't use BP_SYM.
18153         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18154         <bp-sym.h> and <bp-asm.h>.
18155         (strchr): Don't use BP_SYM.
18156         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18157         <bp-sym.h> and <bp-asm.h>.
18158         (__strchrnul): Don't use BP_SYM.
18159         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18160         <bp-sym.h> and <bp-asm.h>.
18161         (strlen): Don't use BP_SYM.
18162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18163         <bp-sym.h> and <bp-asm.h>.
18164         (strncmp): Don't use BP_SYM.
18165         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18166         <bp-sym.h> and <bp-asm.h>.
18167         (__strnlen): Don't use BP_SYM.
18168         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18169         <bp-asm.h>.
18170         (__mpn_rshift): Don't use BP_SYM.
18171         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18172         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18173         <bp-sym.h> and <bp-asm.h>.
18174         (__sigsetjmp): Don't use BP_SYM.
18175         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18176         (L(start_addresses)): Don't use BP_SYM.
18177         (_start): Likewise.
18178         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18179         <bp-asm.h>.
18180         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18181         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18182         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18183         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18184         <bp-asm.h>.
18185         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18186         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18187         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18188         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18189         <bp-asm.h>.
18190         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18191         comments.
18192         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18193         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18194         <bp-asm.h>.
18195         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18196         FIXME comments.
18197         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18198         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18199         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18200         <bp-asm.h>.
18201         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18202         comment.
18203         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18204         and <bp-asm.h>.
18205         (strncmp): Don't use BP_SYM,
18206         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18207         <bp-asm.h>.
18208         (__mpn_sub_n): Don't use BP_SYM.
18209         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18210         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18211         and <bp-asm.h>.
18212         (__mpn_submul_1): Don't use BP_SYM.
18213         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18215         <bp-sym.h> and <bp-asm.h>.
18216         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18218         <bp-sym.h> and <bp-asm.h>.
18219         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18220         comment.
18222 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18225         Use ZK to minimize writes to Z.
18226         (sub_magnitudes): Simplify code a bit.
18227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18228         Use ZK to minimize writes to Z.
18229         (sub_magnitudes): Simplify code a bit.
18231 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18233         * csu/gmon-start.c: Add special exception to license text.
18235 2013-02-27  Richard Henderson  <rth@redhat.com>
18237         * scripts/config.guess: Update from config.git.
18238         * scripts/config.sub: Likewise.
18240 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18242         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18244         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18246         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18248         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18250         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18252 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18254         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18255         [$(build-shared = yes].
18257 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18259         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18260         (__mul): Reduce iterations for calculating mantissa.
18262         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18263         MPTWO.
18264         (__mpranred): Likewise.
18266         [BZ #15160]
18267         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18268         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18270 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18272         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18273         Define __attribute__.
18275 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18277         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18278         unused.
18279         * posix/regex_internal.h (__attribute): Remove.
18280         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18281         (re_string_context_at): Likewise.
18282         (bitset_not): Use __attribute__ and mark function as possibly
18283         unused.
18284         (bitset_merge): Likewise.
18285         (bitset_mask): Likewise.
18286         (re_string_char_size_at): Likewise.
18287         (re_string_wchar_at): Likewise.
18288         (re_string_elem_size_at): Likewise.
18290 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18292         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18293         code.
18294         (cc32): Likewise.
18296         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18297         (__acr): Likewise.
18298         (__cpy): Likewise.
18299         (norm): Likewise.
18300         (denorm): Likewise.
18301         (__dbl_mp): Likewise.
18302         (add_magnitudes): Likewise.
18303         (sub_magnitudes): Likewise.
18304         (__mul): Likewise.
18305         (__inv): Likewise.
18307         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18308         style.
18310         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18311         style.
18313         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18314         code.
18316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18317         up changes with default code.
18318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18319         Likewise.
18321 2013-02-24  Allan McRae  <allan@archlinux.org>
18323         * manual/socket.texi (The Internet Namespace): Order menu items
18324         to match that in the file.
18326         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18327         node listing of the info page menu.
18329 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18331         [BZ #13550]
18332         * sysdeps/i386/bp-asm.h: Remove file.
18333         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18334         (PARMS): Do not use macros from bp-asm.h.
18335         (S1): Likewise.
18336         (S2): Likewise.
18337         (SIZE): Likewise.
18338         (__mpn_add_n): Do not use BP_SYM
18339         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18340         "bp-asm.h".
18341         (PARMS): Do not use macros from bp-asm.h.
18342         (S1): Likewise.
18343         (SIZE): Likewise.
18344         (__mpn_addmul_1): Do not use BP_SYM
18345         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18346         "bp-asm.h".
18347         (PARMS): Do not use macros from bp-asm.h.
18348         (SIGMSK): Likewise.
18349         (_setjmp): Likewise.  Do not use BP_SYM.
18350         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18351         "bp-asm.h".
18352         (PARMS): Do not use macros from bp-asm.h.
18353         (SIGMSK): Likewise.
18354         (setjmp): Likewise.  Do not use BP_SYM.
18355         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18356         "bp-asm.h".
18357         (PARMS): Do not use macros from bp-asm.h.
18358         (__frexp): Do not use BP_SYM.
18359         (frexp): Likewise.
18360         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18361         "bp-asm.h".
18362         (PARMS): Do not use macros from bp-asm.h.
18363         (__frexpf): Do not use BP_SYM.
18364         (frexpf): Likewise.
18365         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18366         "bp-asm.h".
18367         (PARMS): Do not use macros from bp-asm.h.
18368         (__frexpl): Do not use BP_SYM.
18369         (frexpl): Likewise.
18370         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18371         "bp-asm.h".
18372         (PARMS): Do not use macros from bp-asm.h.
18373         (__remquo): Do not use BP_SYM.
18374         (remquo): Likewise.
18375         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18376         "bp-asm.h".
18377         (PARMS): Do not use macros from bp-asm.h.
18378         (__remquof): Do not use BP_SYM.
18379         (remquof): Likewise.
18380         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18381         "bp-asm.h".
18382         (PARMS): Do not use macros from bp-asm.h.
18383         (__remquol): Do not use BP_SYM.
18384         (remquol): Likewise.
18385         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18386         "bp-asm.h".
18387         (PARMS): Do not use macros from bp-asm.h.
18388         (DEST): Likewise.
18389         (SRC): Likewise.
18390         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18391         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18392         "bp-asm.h".
18393         (PARMS): Do not use macros from bp-asm.h.
18394         (strlen): Do not use BP_SYM.
18395         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18396         "bp-asm.h".
18397         (PARMS): Do not use macros from bp-asm.h.
18398         (S1): Likewise.
18399         (S2): Likewise.
18400         (SIZE): Likewise.
18401         (__mpn_add_n): Do not use BP_SYM.
18402         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18403         "bp-asm.h".
18404         (PARMS): Do not use macros from bp-asm.h.
18405         (S1): Likewise.
18406         (SIZE): Likewise.
18407         (__mpn_addmul_1): Do not use BP_SYM.
18408         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18409         weak_alias.
18410         (bzero): Likewise.
18411         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18412         "bp-asm.h".
18413         (PARMS): Do not use macros from bp-asm.h.
18414         (S): Likewise.
18415         (SIZE): Likewise.
18416         (__mpn_lshift): Do not use BP_SYM.
18417         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18418         "bp-asm.h".
18419         (PARMS): Do not use macros from bp-asm.h.
18420         (DEST): Likewise.
18421         (SRC): Likewise.
18422         (LEN): Likewise.
18423         (memcpy): Likewise.  Do not use BP_SYM.
18424         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18425         libc_hidden_def and weak_alias.
18426         (mempcpy): Do not use BP_SYM in weak_alias.
18427         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18428         "bp-asm.h".
18429         (PARMS): Do not use macros from bp-asm.h.
18430         (DEST): Likewise.
18431         (LEN): Likewise.
18432         [!BZERO_P] (CHR): Likewise.
18433         (memset): Likewise.  Do not use BP_SYM.
18434         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18435         "bp-asm.h".
18436         (PARMS): Do not use macros from bp-asm.h.
18437         (S1): Likewise.
18438         (SIZE): Likewise.
18439         (__mpn_mul_1): Do not use BP_SYM.
18440         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18441         "bp-asm.h".
18442         (PARMS): Do not use macros from bp-asm.h.
18443         (S): Likewise.
18444         (SIZE): Likewise.
18445         (__mpn_rshift): Do not use BP_SYM.
18446         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18447         "bp-asm.h".
18448         (PARMS): Do not use macros from bp-asm.h.
18449         (STR): Likewise.
18450         (CHR): Likewise.
18451         (strchr): Likewise.  Do not use BP_SYM.
18452         (index): Do not use BP_SYM in weak_alias.
18453         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18454         "bp-asm.h".
18455         (PARMS): Do not use macros from bp-asm.h.
18456         (DEST): Likewise.
18457         (SRC): Likewise.
18458         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18459         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18460         "bp-asm.h".
18461         (PARMS): Do not use macros from bp-asm.h.
18462         (strlen): Do not use BP_SYM.
18463         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18464         "bp-asm.h".
18465         (PARMS): Do not use macros from bp-asm.h.
18466         (S1): Likewise.
18467         (S2): Likewise.
18468         (SIZE): Likewise.
18469         (__mpn_sub_n): Do not use BP_SYM.
18470         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18471         "bp-asm.h".
18472         (PARMS): Do not use macros from bp-asm.h.
18473         (S1): Likewise.
18474         (SIZE): Likewise.
18475         (__mpn_submul_1): Do not use BP_SYM.
18476         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18477         "bp-asm.h".
18478         (PARMS): Do not use macros from bp-asm.h.
18479         (S1): Likewise.
18480         (S2): Likewise.
18481         (SIZE): Likewise.
18482         (__mpn_add_n): Do not use BP_SYM.
18483         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18484         weak_alias.
18485         (bzero): Likewise.
18486         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18487         "bp-asm.h".
18488         (PARMS): Do not use macros from bp-asm.h.
18489         (BLK2): Likewise.
18490         (LEN): Likewise.
18491         (memcmp): Do not use BP_SYM.
18492         (bcmp): Do not use BP_SYM in weak_alias.
18493         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18494         "bp-asm.h".
18495         (PARMS): Do not use macros from bp-asm.h.
18496         (DEST): Likewise.
18497         (SRC): Likewise.
18498         (LEN): Likewise.
18499         (memcpy): Likewise.  Do not use BP_SYM.
18500         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18501         "bp-asm.h".
18502         (PARMS): Do not use macros from bp-asm.h.
18503         (DEST): Likewise.
18504         (SRC): Likewise.
18505         (LEN): Likewise.
18506         (memmove): Likewise.  Do not use BP_SYM.
18507         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18508         "bp-asm.h".
18509         (PARMS): Do not use macros from bp-asm.h.
18510         (DEST): Likewise.
18511         (SRC): Likewise.
18512         (LEN): Likewise.
18513         (__mempcpy): Likewise.  Do not use BP_SYM.
18514         (mempcpy): Do not use BP_SYM in weak_alias.
18515         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18516         "bp-asm.h".
18517         (PARMS): Do not use macros from bp-asm.h.
18518         (DEST): Likewise.
18519         (LEN): Likewise.
18520         [!BZERO_P] (CHR): Likewise.
18521         (memset): Likewise.  Do not use BP_SYM.
18522         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18523         "bp-asm.h".
18524         (PARMS): Do not use macros from bp-asm.h.
18525         (STR2): Likewise.
18526         (strcmp): Do not use BP_SYM.
18527         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18528         "bp-asm.h".
18529         (PARMS): Do not use macros from bp-asm.h.
18530         (STR): Likewise.
18531         (DELIM): Likewise.
18532         [USE_AS_STRTOK_R] (SAVE): Likewise.
18533         (FUNCTION): Likewise.  Do not use BP_SYM.
18534         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18535         aliases.
18536         (strtok_r): Likewise.
18537         (__GI___strtok_r): Likewise.
18538         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18539         (PARMS): Do not use macros from bp-asm.h.
18540         (S): Likewise.
18541         (SIZE): Likewise.
18542         (__mpn_lshift): Do not use BP_SYM.
18543         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18544         (PARMS): Do not use macros from bp-asm.h.
18545         (STR): Likewise.
18546         (CHR): Likewise.
18547         (__memchr): Do not use BP_SYM.
18548         (memchr): Do not use BP_SYM in weak_alias.
18549         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18550         (PARMS): Do not use macros from bp-asm.h.
18551         (BLK2): Likewise.
18552         (LEN): Likewise.
18553         (memcmp): Do not use BP_SYM.
18554         (bcmp): Do not use BP_SYM in weak_alias.
18555         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18556         (PARMS): Do not use macros from bp-asm.h.
18557         (S1): Likewise.
18558         (SIZE): Likewise.
18559         (__mpn_mul_1): Do not use BP_SYM.
18560         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18561         "bp-asm.h".
18562         (PARMS): Do not use macros from bp-asm.h.
18563         (STR): Likewise.
18564         (CHR): Likewise.
18565         (__rawmemchr): Do not use BP_SYM.
18566         (rawmemchr): Do not use BP_SYM in weak_alias.
18567         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18568         (PARMS): Do not use macros from bp-asm.h.
18569         (S): Likewise.
18570         (SIZE): Likewise.
18571         (__mpn_rshift): Do not use BP_SYM.
18572         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18573         (PARMS): Do not use macros from bp-asm.h.
18574         (SIGMSK): Likewise.
18575         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18576         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18577         (_start): Do not use BP_SYM.
18578         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18579         (PARMS): Do not use macros from bp-asm.h.
18580         (DEST): Likewise.
18581         (SRC): Likewise.
18582         (__stpcpy): Likewise.  Do not use BP_SYM.
18583         (stpcpy): Do not use BP_SYM in weak_alias.
18584         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18585         "bp-asm.h".
18586         (PARMS): Do not use macros from bp-asm.h.
18587         (DEST): Likewise.
18588         (SRC): Likewise.
18589         (LEN): Likewise.
18590         (__stpncpy): Likewise.  Do not use BP_SYM.
18591         (stpncpy): Do not use BP_SYM in weak_alias.
18592         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18593         (PARMS): Do not use macros from bp-asm.h.
18594         (STR): Likewise.
18595         (CHR): Likewise.
18596         (strchr): Likewise.  Do not use BP_SYM.
18597         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18598         "bp-asm.h".
18599         (PARMS): Do not use macros from bp-asm.h.
18600         (STR): Likewise.
18601         (CHR): Likewise.
18602         (__strchrnul): Likewise.  Do not use BP_SYM.
18603         (strchrnul): Do not use BP_SYM in weak_alias.
18604         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18605         "bp-asm.h".
18606         (PARMS): Do not use macros from bp-asm.h.
18607         (STOP): Likewise.
18608         (strcspn): Do not use BP_SYM.
18609         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18610         "bp-asm.h".
18611         (PARMS): Do not use macros from bp-asm.h.
18612         (STR): Likewise.
18613         (STOP): Likewise.
18614         (strpbrk): Likewise.  Do not use BP_SYM.
18615         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18616         "bp-asm.h".
18617         (PARMS): Do not use macros from bp-asm.h.
18618         (STR): Likewise.
18619         (CHR): Likewise.
18620         (strrchr): Likewise.  Do not use BP_SYM.
18621         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18622         (PARMS): Do not use macros from bp-asm.h.
18623         (SKIP): Likewise.
18624         (strspn): Do not use BP_SYM.
18625         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18626         (PARMS): Do not use macros from bp-asm.h.
18627         (STR): Likewise.
18628         (DELIM): Likewise.
18629         (SAVE): Likewise.
18630         (FUNCTION): Likewise.  Do not use BP_SYM.
18631         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18632         aliases.
18633         (strtok_r): Likewise.
18634         (__GI___strtok_r): Likewise.
18635         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18636         (PARMS): Do not use macros from bp-asm.h.
18637         (S1): Likewise.
18638         (S2): Likewise.
18639         (SIZE): Likewise.
18640         (__mpn_sub_n): Do not use BP_SYM.
18641         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18642         "bp-asm.h".
18643         (PARMS): Do not use macros from bp-asm.h.
18644         (S1): Likewise.
18645         (SIZE): Likewise.
18646         (__mpn_submul_1): Do not use BP_SYM.
18647         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18648         <bp-sym.h>.
18649         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18650         and <bp-asm.h>.
18651         (PARMS): Do not use macros from bp-asm.h.
18652         (FLAGS): Likewise.
18653         (PTID): Likewise.
18654         (TLS): Likewise.
18655         (CTID): Likewise.
18656         (__clone): Do not use BP_SYM.
18657         (clone): Do not use BP_SYM in weak_alias.
18658         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18659         and <bp-asm.h>.
18660         (PARMS): Do not use macros from bp-asm.h.
18661         (LEN): Likewise.
18662         (__mmap64): Do not use BP_SYM.
18663         (mmap64): Do not use BP_SYM in weak_alias.
18664         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18665         <bp-sym.h> and <bp-asm.h>.
18666         (PARMS): Do not use macros from bp-asm.h.
18667         (__posix_fadvise64_l64): Do not use BP_SYM.
18668         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18669         (PARMS): Do not use macros from bp-asm.h.
18670         (NSOPS): Likewise.
18671         (semtimedop): Do not use BP_SYM.
18672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18673         and <bp-asm.h>.
18675 2013-02-21  Allan McRae  <allan@archlinux.org>
18677         * manual/message.texi (Charset conversion in gettext):
18678         Move @end statement to beginning of line.
18680 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18683         static.
18684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18685         Likewise.
18687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18688         (denorm): Likewise.
18689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18692 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18694         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18695         tail-call to the resolved function if pltexit isn't needed.
18697 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18700         or Y being zero as being unlikely.
18701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18702         Likewise.
18704 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18706         * manual/nss.texi (System Databases and Name Service Switch):
18707         Remove frobnicate @pxref.
18709 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18711         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18712         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18714 2013-02-20  Petr Machata  <pmachata@redhat.com>
18716         * elf/elf.h (R_ARM_TARGET1): New macro.
18717         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18718         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18719         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18720         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18721         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18722         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18723         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18724         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18725         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18726         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18727         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18728         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18729         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18730         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18731         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18732         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18733         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18734         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18735         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18736         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18737         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18738         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18739         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18740         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18741         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18742         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18743         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18744         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18745         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18746         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18747         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18748         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18749         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18750         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18751         (R_ARM_THM_GOT_BREL12): Likewise.
18752         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18753         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18754         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18755         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18756         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18757         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18758         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18759         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18760         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18762 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18764         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18765         __attribute_used__ to __attribute__ ((unused)).
18767 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18769         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18770         powerpc mpa.c.
18771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18772         comment formatting.
18773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18775 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18777         [BZ #13550]
18778         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18779         Remove macro.
18780         (ENTER): Remove both macro definitions.
18781         (LEAVE): Likewise.
18782         (CHECK_BOUNDS_LOW): Likewise.
18783         (CHECK_BOUNDS_HIGH): Likewise.
18784         (CHECK_BOUNDS_BOTH): Likewise.
18785         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18786         (RETURN_BOUNDED_POINTER): Likewise.
18787         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18788         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18789         (POP_ERRNO_LOCATION_RETURN): Likewise.
18790         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18791         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18792         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18793         macros.
18794         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18795         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18796         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18797         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18798         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18799         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18800         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18801         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18802         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18803         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18804         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18805         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18806         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18807         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18808         removed macros.
18809         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18810         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18811         macros.
18812         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18813         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18814         * sysdeps/i386/i586/memset.S (memset): Likewise.
18815         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18817         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18818         macros.
18819         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18820         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18821         Change uses of L(2) to L(out).
18822         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18823         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18824         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18825         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18826         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18827         removed macros.
18828         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18829         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18830         macros.
18831         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18832         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18833         (RETURN): Do not use macro LEAVE.
18834         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18835         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18836         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18837         * sysdeps/i386/i686/memset.S (memset): Likewise.
18838         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18839         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18840         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18841         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18842         Likewise.
18843         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18844         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18845         L(1_2) and L(1_3) into L(1).
18846         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18847         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18848         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18849         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18850         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18851         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18852         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18853         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18854         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18855         macros.
18856         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18857         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18858         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18859         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18860         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18861         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18862         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18863         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18864         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18865         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18866         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18867         * sysdeps/i386/strspn.S (strspn): Likewise.
18868         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18869         conditional code.
18870         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18871         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18872         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18873         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18874         L(1_3) into L(1_1).
18875         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18876         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18877         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18878         macros.
18879         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18881 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18883         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18884         macro.
18886 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18888         * math/atest-exp.c (exp_mpn): Remove ROUND.
18889         * math/atest-exp2.c (exp_mpn): Likewise.
18890         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18892         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18893         * stdlib/tst-tls-atexit-lib.c: Likewise.
18894         * stdlib/tst-tls-atexit.c: Likewise.
18896 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18898         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18899         and __attribute_alloc_size__.
18901 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18903         * include/programs/xmalloc.h: Change __attribute_alloc_size to
18904         __attribute_alloc_size__.
18905         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18906         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18908 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18910         * include/programs/xmalloc.h: New file.
18911         * catgets/gencat.c: Include it.
18912         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18913         * elf/pldd.c: Likewise.
18914         * iconv/iconv_charmap.c: Likewise.
18915         * iconv/iconvconfig.c: Likewise.
18916         * iconv/strtab.c: Likewise.
18917         * locale/programs/locale.c: Likewise.
18918         * locale/programs/localedef.h: Likewise.
18919         * locale/programs/simple-hash.c: Likewise.
18920         * nscd/nscd.h: Likewise.
18921         * nss/makedb.c: Likewise.
18922         * sysdeps/generic/ldconfig.h: Likewise.
18924 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18926         * Versions.def: Add GLIBC_2.18.
18927         * include/link.h (struct link_map): New member l_tls_dtor_count.
18928         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18929         (__call_tls_dtors): Likewise.
18930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18931         __cxa_thread_atexit_impl.
18932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18933         Likewise.
18934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18935         Likewise.
18936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18937         Likewise.
18938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18939         Likewise.
18940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18942         Likewise.
18943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18944         Likewise.
18945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18947         Likewise.
18948         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18949         (tests): Add test case tst-tls-atexit.
18950         (modules-names): Add shared library for tst-tls-atexit.
18951         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18952         (GLIBC_PRIVATE): Add __call_tls_dtors.
18953         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18954         for libstdc++.
18955         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18956         * stdlib/tst-tls-atexit.c: New test case.
18957         * stdlib/tst-tls-atexit-lib.c: New test case.
18959         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18961         * elf/Versions (ld): Add _dl_find_dso_for_object.
18962         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18963         * elf/dl-open.c (_dl_find_dso_for_object): New function.
18964         (dl_open_worker): Use _dl_find_dso_for_object.
18965         * elf/dl-sym.c (do_sym): Likewise.
18966         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18968 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18970         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18971         Syntactic changes only.
18972         (_dl_runtime_profile): Do a tail-call to the resolved function.
18974 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
18976         [BZ #13550]
18977         * sysdeps/x86_64/bp-asm.h: Remove file.
18978         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18979         <bp-sym.h> and <bp-asm.h>.
18980         (__clone): Do not use BP_SYM.
18981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18982         <bp-sym.h> and <bp-asm.h>.
18983         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18984         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18985         "bp-asm.h".
18986         (_setjmp): Do not use BP_SYM.
18987         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18988         "bp-asm.h".
18989         (setjmp): Do not use BP_SYM.
18990         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18991         libc_hidden_def.
18992         (mempcpy): Do not use BP_SYM in weak_alias.
18993         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18994         "bp-asm.h".
18995         (strchr): Do not use BP_SYM.
18996         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18997         "bp-asm.h".
18998         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18999         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19000         (_start): Do not use BP_SYM.
19001         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19002         "bp-asm.h".
19003         (strcat): Do not use BP_SYM.
19004         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19005         "bp-asm.h".
19006         (STRCMP): Do not use BP_SYM.
19007         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19008         "bp-asm.h".
19009         (STRCPY): Do not use BP_SYM.
19010         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19011         "bp-asm.h".
19012         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19013         "bp-asm.h".
19014         (FUNCTION): Do not use BP_SYM.
19015         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19016         weak_alias.
19017         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19019 2013-02-17  Andreas Jaeger  <aj@suse.de>
19021         * time/Versions: Sort entries.
19022         * string/Versions: Likewise.
19023         * resolv/Versions: Likewise.
19024         * posix/Versions: Likewise.
19025         * iconv/Versions: Likewise.
19026         * elf/Versions: Likewise.
19027         * wcsmbs/Versions: Likewise.
19029 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19031         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19032         loop termination condition.
19034         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19035         variable to calculate EZ.
19036         (__sqr): Likewise.
19038         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19039         the lower precision input.
19041 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19043         [BZ #13550]
19044         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19045         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19046         (run-via-rtld-prefix): Do not handle %-bp tests.
19047         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19048         (all-object-suffixes): Remove .ob.
19049         (bppfx): Remove variable.
19050         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19051         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19052         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19053         [$(build-bounded) = yes] (libtype.ob): Likewise.
19054         * Makerules (elide-routines.ob): Remove variable.
19055         (do-tests-clean): Do not handle *-bp.out.
19056         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19057         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19058         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19059         (tests): Do not include $(tests-bp.out).
19060         (xtests): Do not include $(xtests-bp.out).
19061         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19062         [$(build-bounded) = yes] ($(addprefix
19063         $(objpfx),$(binaries-bounded))): Remove rule.
19064         ($(objpfx)%-bp.out): Remove rule.
19065         * config.make.in (build-bounded): Remove variable.
19066         * crypt/Makefile [$(build-bounded) = yes]
19067         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19068         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19069         append to variable.
19070         [$(build-bounded) = yes] (install-lib): Likewise.
19071         [$(build-bounded) = yes] (generated): Likewise.
19072         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19073         Remove rule.
19074         * intl/Makefile [$(build-bounded) = yes]
19075         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19076         * math/Makefile [$(build-bounded) = yes]
19077         ($(tests:%=$(objpfx)%-bp): Likewise.
19078         * misc/Makefile [$(build-bounded) = yes]
19079         ($(objpfx)tst-tsearch-bp): Likewise.
19080         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19081         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19082         Remove dependency.
19083         * string/Makefile (o-objects.ob): Remove variable.
19084         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19085         (CFLAGS-.ob): Remove variable.
19086         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19087         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19088         both definitions of variable.
19089         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19090         (ASFLAGS-.ob): Remove variable.
19092 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #13550]
19095         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19096         Remove __BOUNDED_POINTERS__ from condition.
19097         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19098         * string/bits/string2.h [!__NO_STRING_INLINES &&
19099         !__BOUNDED_POINTERS__]: Likewise.
19100         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19103         Remove conditional code.
19104         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19105         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19106         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19107         condition.
19109         [BZ #13550]
19110         * csu/libc-start.c: Do not include <bp-sym.h>.
19111         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19112         * elf/dl-open.c: Do not include <bp-sym.h>.
19113         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19114         * math/fegetenv.c: Do not include <bp-sym.h>.
19115         (fegetenv): Do not use BP_SYM in versioned symbols.
19116         * nptl/sysdeps/pthread/bits/libc-lockP.h
19117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19118         <bp-sym.h>.
19119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19120         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19122         (__pthread_mutex_destroy): Likewise.
19123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19124         (__pthread_mutex_lock): Likewise.
19125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19126         (__pthread_mutex_trylock): Likewise.
19127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19128         (__pthread_mutex_unlock): Likewise.
19129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19130         (__pthread_mutexattr_init): Likewise.
19131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19132         (__pthread_mutexattr_destroy): Likewise.
19133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19134         (__pthread_mutexattr_settype): Likewise.
19135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19136         (__pthread_rwlock_init): Likewise.
19137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19138         (__pthread_rwlock_destroy): Likewise.
19139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19140         (__pthread_rwlock_rdlock): Likewise.
19141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19142         (__pthread_rwlock_tryrdlock): Likewise.
19143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19144         (__pthread_rwlock_wrlock): Likewise.
19145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19146         (__pthread_rwlock_trywrlock): Likewise.
19147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19148         (__pthread_rwlock_unlock): Likewise.
19149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19150         (__pthread_key_create): Likewise.
19151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19152         (__pthread_setspecific): Likewise.
19153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19154         (__pthread_getspecific): Likewise.
19155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19156         Likewise.
19157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19158         (_pthread_cleanup_push_defer): Likewise.
19159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19160         (_pthread_cleanup_pop_restore): Likewise.
19161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19162         (pthread_setcancelstate): Likewise.
19163         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19164         <bp-sym.h>.
19165         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19166         (memchr): Do not use BP_SYM in weak_alias.
19167         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19168         (fegetenv): Do not use BP_SYM in versioned symbols.
19169         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19170         (fesetenv): Do not use BP_SYM in versioned symbols.
19171         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19172         (feupdateenv): Do not use BP_SYM in versioned symbols.
19173         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19174         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19175         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19176         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19177         (open64): Do not use BP_SYM in weak_alias.
19178         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19179         (fegetenv): Do not use BP_SYM in versioned symbols.
19180         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19181         (fesetenv): Do not use BP_SYM in versioned symbols.
19182         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19183         (feupdateenv): Do not use BP_SYM in versioned symbols.
19184         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19185         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19186         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19187         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19188         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19189         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19191         <bp-sym.h>.
19192         (__libc_start_main): Do not use BP_SYM.
19194 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19197         redundant return line.
19198         (norm): Likewise.
19199         (denorm): Likewise.
19200         (dbl_mp): Likewise.
19201         (sub_magnitudes): Likewise.
19202         (__add): Likewise.
19203         (__sub): Likewise.
19204         (__mul): Likewise.
19205         (__inv): Likewise.
19206         (__dvd): Likewise.
19207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19208         (norm): Likewise.
19209         (denorm): Likewise.
19210         (dbl_mp): Likewise.
19211         (sub_magnitudes): Likewise.
19212         (__add): Likewise.
19213         (__sub): Likewise.
19214         (__mul): Likewise.
19215         (__inv): Likewise.
19216         (__dvd): Likewise.
19218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19219         instead of __mul.
19220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19221         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19222         (cc32): Likewise.
19224         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19225         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19227         of __mul for squares.
19228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19229         function
19230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19231         Likewise.
19232         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19233         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19235 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19237         [BZ #13550]
19238         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19239         code.
19240         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19241         prototype or function definition.  Rename ubp_* variables and
19242         parameters.  Remove argv definitions conditional on
19243         [__BOUNDED_POINTERS__].
19244         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19245         * elf/dl-runtime.c (_dl_fixup): Likewise.
19246         * include/set-hooks.h (RUN_HOOK): Likewise.
19247         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19248         definition.
19249         * string/strcpy.c (strcpy): Do not use __unbounded.
19250         * sysdeps/generic/frame.h (struct layout): Likewise.
19251         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19252         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19253         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19254         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19255         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19256         (__backtrace): Likewise.
19257         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19258         use __ptrvalue.
19259         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19261         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19262         Likewise.
19263         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19264         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19265         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19266         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19267         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19268         Do not use __unbounded.
19269         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19270         Rename __unboundedrlimits parameter to rlimits in prototype.
19271         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19272         Do not use __unbounded.
19273         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19274         not use __ptrvalue.
19275         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19276         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19277         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19279         __ptrvalue or __unbounded.
19280         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19281         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19282         use __unbounded.
19283         (__new_msgctl): Do not use __ptrvalue.
19284         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19285         __unbounded.
19286         (__libc_msgrcv): Do not use __ptrvalue.
19287         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19288         startup_info): Do not use __unbounded.
19289         (__libc_start_main): Likewise.  Rename ubp_* variables and
19290         parameters.  Remove argv definitions conditional on
19291         [__BOUNDED_POINTERS__].
19292         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19293         __ptrvalue.
19294         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19295         use __unbounded.
19296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19297         or __ptrvalue.
19298         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19299         use __unbounded.
19300         (__new_shmctl): Do not use __ptrvalue.
19301         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19302         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19306         (__libc_sigaction): Likewise.
19307         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19308         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19309         Likewise.
19310         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19312 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19314         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19316         * string/mempcpy.c: Implement by calling memcpy.
19318 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19323         evaluation.
19325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19326         values in the mantissa.
19328         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19329         minimize writes to Z.
19330         (sub_magnitudes): Simplify code a bit.
19332 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19334         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19335         from the message.  The linker prefixes all warnings with that already.
19337 2013-02-12  Andreas Schwab  <schwab@suse.de>
19339         [BZ #15078]
19340         * posix/regexec.c (extend_buffers): Add parameter min_len.
19341         (check_matching): Pass minimum needed length.
19342         (clean_state_log_if_needed): Likewise.
19343         (get_subexp): Likewise.
19344         * posix/Makefile (tests): Add bug-regex34.
19345         (bug-regex34-ENV): Define.
19346         * posix/bug-regex34.c: New file.
19348         [BZ #11561]
19349         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19350         elements compare against the byte sequence of it, not its name.
19351         * posix/Makefile (tests): Add bug-regex35.
19352         (bug-regex35-ENV): Define.
19353         * posix/bug-regex35.c: New file.
19355 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19357         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19358         comment.
19359         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19360         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19361         (CHECK_EOL): Add undef.
19363 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19365         * bits/stdlib-bsearch.h: New file.
19366         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19367         * stdlib/stdlib.h: Likewise.
19369 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19371         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19372         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19373         declaration.
19374         * manual/search.texi (Array Search Function): Add missing const in
19375         lfind prototype.
19376         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19377         declaration to use rlim_t.
19378         (Basic Scheduling Functions): Remove erroneous const from
19379         sched_getparam prototype.  Remove erroneous * from
19380         sched_get_priority_max and sched_get_priority_min prototypes.
19381         (Resource Usage): Fix summary @comment on vtimes to refer to
19382         sys/vtimes.h rather than vtimes.h.
19383         Add missing *s in vtimes prototype.
19384         (Limits on Resources): Fix ulimit prototype to return long int.
19385         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19386         prototypes to use long int rather than double.
19387         (BSD Random): Fix initstate and setstate to use char *, not void *.
19388         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19389         prototype to make second argument 'struct aiocb64 *const[]'.
19390         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19391         (Status of AIO Operations): Remove erroneous const in aio_return and
19392         aio_return64 prototypes.
19393         (Synchronizing I/O): Fix sync prototype to return void.
19394         * manual/startup.texi (Suboptions): Remove an erroneous const in
19395         getsubopt prototype.
19396         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19397         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19398         use size_t rather than int.
19399         (Scanning All Users): Likewise for getpwent_r.
19400         (Setting Groups): Add missing const to setgroups prototype.
19401         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19402         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19403         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19404         'const void *' rather than 'const char *'.
19405         (Host Address Functions): Likewise for inet_ntop.
19406         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19407         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19408         ssize_t for return value.
19409         (Sending Data): Likewise for send, sendto, sendmsg.
19410         (Socket Option Functions): Add a missing const in setsockopt prototype.
19411         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19412         use wchar_t for the argument.
19413         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19414         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19415         take no arguments.
19416         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19417         double/float/long double for second argument.
19418         Fix return types of significand, significandf, significandl.
19419         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19420         argument in fchmod prototype.
19421         (File Owner): Use uid_t and gid_t in fchown prototype.
19422         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19423         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19424         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19425         use 'const struct dirent **' as argument types to CMP function pointer
19426         argument.
19427         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19428         (File Times): Fix summary magic @comment for struct utimbuf and utime
19429         to refer to utime.h, not time.h.
19430         * manual/string.texi (Argz Functions): Add missing const in
19431         argz_extract and argz_next prototypes.
19432         (Finding Tokens in a String): Likewise for basename.
19433         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19434         (Copying and Concatenation): Fix typo in wmemmove prototype.
19435         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19436         (Signal Stack): Remove erroneous const in sigstack prototype.
19437         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19438         prototype.
19439         (Simple Calendar Time): Likewise for stime.
19440         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19441         prototype.
19442         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19443         say sys/sysctl.h instead.
19444         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19445         and vsyslog prototypes.
19447 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19449         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19450         Remove.
19452 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19454         * misc/sys/mman.h: Fix typo in mremap comment.
19456 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19458         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19459         the '\0' terminator.
19461 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19463         [BZ #13550]
19464         * debug/segfault.c: Don't include <bp-checks.h>.
19465         * sysdeps/generic/bp-checks.h: Remove file.
19466         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19467         (__GETDENTS): Don't use CHECK_N.
19468         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19469         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19470         (__getgroups): Don't use CHECK_N.
19471         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19472         (setgroups): Don't use CHECK_N.
19473         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19474         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19475         (__libc_msgrcv): Don't use CHECK_N.
19476         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19477         (__libc_msgsnd): Don't use CHECK_N.
19478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19479         <bp-checks.h>.
19480         (__libc_pread): Don't use CHECK_N.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19482         include <bp-checks.h>.
19483         (__libc_pread64): Don't use CHECK_N.
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19485         include <bp-checks.h>.
19486         (__libc_pwrite): Don't use CHECK_N.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19488         include <bp-checks.h>.
19489         (__libc_pwrite64): Don't use CHECK_N.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19491         <bp-checks.h>.
19492         (__libc_pread): Don't use CHECK_N.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19494         include <bp-checks.h>.
19495         (__libc_pread64): Don't use CHECK_N.
19496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19497         include <bp-checks.h>.
19498         (__libc_pwrite): Don't use CHECK_N.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19500         include <bp-checks.h>.
19501         (__libc_pwrite64): Don't use CHECK_N.
19502         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19503         (do_pread): Don't use CHECK_N.
19504         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19505         (do_pread64): Don't use CHECK_N.
19506         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19507         (do_pwrite): Don't use CHECK_N.
19508         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19509         (do_pwrite64): Don't use CHECK_N.
19510         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19511         (__libc_readv): Don't use CHECK_N.
19512         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19513         (semop): Don't use CHECK_N.
19514         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19515         <bp-checks.h>.
19516         (semtimedop): Don't use CHECK_N.
19517         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19518         (__libc_pread): Don't use CHECK_N.
19519         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19520         <bp-checks.h>.
19521         (__libc_pread64): Don't use CHECK_N.
19522         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19523         <bp-checks.h>.
19524         (__libc_pwrite): Don't use CHECK_N.
19525         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19526         <bp-checks.h>.
19527         (__libc_pwrite64): Don't use CHECK_N.
19528         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19529         <bp-checks.h>.
19530         (__libc_msgrcv): Don't use CHECK_N.
19531         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19532         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19533         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19534         (__libc_writev): Don't use CHECK_N.
19536 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19538         * string/strcpy.c: Removed unused variable.
19540         * Makeconfig (+sysdep-includes): Define with := rather than =.
19541         Use an existing include/ subdir of each sysdeps dir before it.
19543 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19545         * nscd/connection.c (register_traced_file): Comment function.
19546         [HAVE_INOTIFY] (union __inev): Define.
19547         [HAVE_INOTIFY] (inotify_check_files): New function.
19548         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19549         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19550         clear_db_cache.
19551         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19553 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19555         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19556         loaded if not already and that a failure is permanent.
19558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19560         [BZ #15006]
19561         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19562         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19564 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19566         [BZ #13550]
19567         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19568         (CHECK_1_NULL_OK): Likewise.
19569         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19570         (__fxstat): Do not use CHECK_1.
19571         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19572         <bp-checks.h>.
19573         (___fxstat64): Do not use CHECK_1.
19574         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19575         <bp-checks.h>.
19576         (__fxstatat): Do not use CHECK_1.
19577         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19578         <bp-checks.h>.
19579         (__fxstatat64): Do not use CHECK_1.
19580         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19581         <bp-checks.h>.
19582         (__fxstat): Do not use CHECK_1.
19583         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19584         <bp-checks.h>.
19585         (__fxstatat): Do not use CHECK_1.
19586         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19587         <bp-checks.h>.
19588         (__getresgid): Do not use CHECK_1.
19589         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19590         <bp-checks.h>.
19591         (__getresuid): Do not use CHECK_1.
19592         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19593         <bp-checks.h>.
19594         (__lxstat): Do not use CHECK_1.
19595         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19596         <bp-checks.h>.
19597         (__old_msgctl): Do not use CHECK_1.
19598         (__new_msgctl): Likewise.
19599         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19600         <bp-checks.h>.
19601         (__new_setrlimit): Do not use CHECK_1.
19602         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19603         <bp-checks.h>.
19604         (__old_shmctl): Do not use CHECK_1.
19605         (__new_shmctl): Likewise.
19606         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19607         <bp-checks.h>.
19608         (__xstat): Do not use CHECK_1.
19609         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19610         (__lxstat): Do not use CHECK_1.
19611         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19612         <bp-checks.h>.
19613         (___lxstat64): Do not use CHECK_1.
19614         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19615         (__old_msgctl): Do not use CHECK_1.
19616         (__new_msgctl): Likewise.
19617         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19618         <bp-checks.h>.
19619         (__gettimeofday): Do not use CHECK_1.
19620         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19621         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19622         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19623         <bp-checks.h>.
19624         (__gettimeofday): Do not use CHECK_1.
19625         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19626         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19627         (__new_shmctl): Do not use CHECK_1.
19628         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19629         <bp-checks.h>.
19630         (do_sigtimedwait): Do not use CHECK_1.
19631         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19632         <bp-checks.h>.
19633         (do_sigwaitinfo): Do not use CHECK_1.
19634         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19635         <bp-checks.h>.
19636         (msgctl): Do not use CHECK_1.
19637         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19638         <bp-checks.h>.
19639         (shmctl): Do not use CHECK_1.
19640         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19641         (ustat): Do not use CHECK_1.
19642         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19643         <bp-checks.h>.
19644         (__fxstat): Do not use CHECK_1.
19645         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19646         <bp-checks.h>.
19647         (__fxstatat): Do not use CHECK_1.
19648         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19649         <bp-checks.h>.
19650         (__lxstat): Do not use CHECK_1.
19651         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19652         <bp-checks.h>.
19653         (__xstat): Do not use CHECK_1.
19654         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19655         (__xstat): Do not use CHECK_1.
19656         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19657         (___xstat64): Do not use CHECK_1.
19659         [BZ #13550]
19660         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19661         definitions.
19662         (CHECK_BOUNDS_HIGH): Likewise.
19663         * string/strcpy.c: Do not include <bp-checks.h>.
19664         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19666 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19668         * nscd/nscd-client.h (__nscd_drop_map_ref):
19669         Add __attribute__ ((unused)).
19670         * nis/nss-nisplus.h (niserr2nss): Likewise.
19672         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19673         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19675         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19676         Remove inline keyword.
19677         * include/rounding-mode.h (round_away): Likewise.
19678         * libio/wfileops.c (adjust_wide_data): Likewise.
19679         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19680         (__m128i_strloadu_tolower): Likewise.
19681         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19682         (__m128i_strloadu_tolower): Likewise.
19683         * time/mktime.c (ydhms_diff): Likewise.
19684         * locale/elem-hash.h (elem_hash): Likewise.
19685         * locale/setlocale.c (setdata): Likewise.
19686         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19687         (re_string_wchar_at): Likewise.
19688         (bitset_not, bitset_merge, bitset_mask): Likewise.
19689         [!(__GNUC__ > 3)] (inline): Remove macro.
19690         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19691         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19692         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19693         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19694         * string/memcmp.c (memcmp_bytes): Likewise.
19695         * locale/programs/locarchive.c (compute_hashval): Likewise.
19696         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19697         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19698         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19699         * nss/getent.c (print_rpc, print_protocols): Likewise.
19700         (print_passwd, print_group, print_aliases): Likewise.
19701         * nis/nss-nisplus.h (niserr2nss): Likewise.
19702         * nscd/connections.c (restart_p): Likewise.
19703         Change return type to bool.
19705 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19707         * Makeconfig (all-Depend-files): Add existing
19708         $(sorted-subdirs:=/Depend) files.
19709         (all-subdirs): Remove nss.
19710         * sysdeps/unix/inet/Subdirs: Add it here instead.
19711         * hesiod/Depend: New file.
19713         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19714         instead of calling alloca.
19716         * io/lseek.c (__lseek): Rename to __libc_lseek.
19717         Define __lseek as an alias.
19719         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19721 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19723         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19724         else clause and remove check for non-standard endianness.
19726 2013-02-04  David S. Miller  <davem@davemloft.net>
19728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19730 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19732         [BZ #13550]
19733         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19734         (__ubp_memchr): Remove prototype.
19735         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19736         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19737         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19738         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19739         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19740         Remove alias.
19741         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19742         (__ubp_memchr): Likewise.
19743         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19744         (__ubp_memchr): Likewise.
19745         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19746         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19747         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19748         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19749         CHECK_STRING.
19750         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19751         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19752         (__getcwd): Do not use CHECK_STRING.
19753         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19754         <bp-checks.h>.
19755         (__real_chown): Do not use CHECK_STRING.
19756         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19757         <bp-checks.h>.
19758         (fchownat): Do not use CHECK_STRING.
19759         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19760         CHECK_STRING.
19761         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19762         <bp-checks.h>.
19763         (__lchown): Do not use CHECK_STRING.
19764         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19765         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19766         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19767         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19769         include <bp-checks.h>.
19770         (truncate64): Do not use CHECK_STRING.
19771         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19772         <bp-checks.h>.
19773         (__real_chown): Do not use CHECK_STRING.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19775         <bp-checks.h>.
19776         (__lchown): Do not use CHECK_STRING.
19777         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19778         <bp-checks.h>.
19779         (__chown): Do not use CHECK_STRING.
19780         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19781         <bp-checks.h>.
19782         (truncate64): Do not use CHECK_STRING.
19783         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19784         Likewise.
19785         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19786         (__xmknod): Do not use CHECK_STRING.
19787         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19788         <bp-checks.h>.
19789         (__xmknodat): Do not use CHECK_STRING.
19790         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19791         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19793 2013-02-04  Andreas Schwab  <schwab@suse.de>
19795         [BZ #14142]
19796         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19797         * include/netdb.h: Likewise for h_errno.
19798         * elf/tst-stackguard1.c: Include <tls.h>.
19800 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19802         * elf/link.h (struct link_map): Extend the l_addr comment.
19803         * include/link.h (struct link_map): Likewise.
19805 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19807         [BZ #13550]
19808         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19809         (BOUNDED_1): Remove macro.
19810         * debug/backtrace.c: Don't include <bp-checks.h>.
19811         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19812         (__backtrace): Likewise.
19813         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19814         <bp-checks.h>.
19815         (__backtrace): Don't use BOUNDED_1.
19816         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19817         <bp-checks.h>.
19818         (__backtrace): Don't use BOUNDED_1.
19819         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19820         (__backtrace): Don't use BOUNDED_1.
19821         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19822         (shmat): Don't use BOUNDED_N.
19824 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19826         [BZ #13550]
19827         * sysdeps/generic/bp-start.h: Remove file.
19828         * csu/libc-start.c: Don't include <bp-start.h>.
19829         (LIBC_START_MAIN): Set up __environ directly instead of using
19830         INIT_ARGV_and_ENVIRON.
19831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19832         <bp-start.h>.
19834         [BZ #13550]
19835         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19836         definitions.
19837         (CHECK_FCNTL): Likewise.
19838         (CHECK_N_PAGES): Likewise.
19840         [BZ #13550]
19841         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19842         definitions.
19843         (CHECK_SIGSET_NULL_OK): Likewise.
19844         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19845         <bp-checks.h>.
19846         (sigpending): Don't use CHECK_SIGSET.
19847         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19848         <bp-checks.h>.
19849         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19850         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19851         <bp-checks.h>.
19852         (do_sigsuspend): Don't use CHECK_SIGSET.
19853         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19854         use CHECK_SIGSET.
19855         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19856         (do_sigwait): Don't use CHECK_SIGSET.
19857         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19858         use CHECK_SIGSET.
19859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19860         include <bp-checks.h>.
19861         (sigpending): Don't use CHECK_SIGSET.
19862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19863         include <bp-checks.h>.
19864         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19865         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19866         <bp-checks.h>.
19867         (sigpending): Don't use CHECK_SIGSET.
19868         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19869         <bp-checks.h>.
19870         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19872         [BZ #13550]
19873         * sysdeps/generic/bp-semctl.h: Remove file.
19874         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19875         <bp-checks.h> and <bp-semctl.h>.
19876         (__old_semctl): Don't use CHECK_SEMCTL.
19877         (__new_semctl): Likewise.
19878         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19879         and <bp-semctl.h>.
19880         (__old_semctl): Don't use CHECK_SEMCTL.
19881         (__new_semctl): Likewise.
19882         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19883         <bp-checks.h> and <bp-semctl.h>.
19884         (__old_semctl): Don't use CHECK_SEMCTL.
19885         (__new_semctl): Likewise.
19886         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19887         <bp-checks.h> and <bp-semctl.h>.
19888         (semctl): Don't use CHECK_SEMCTL.
19890         [BZ #13550]
19891         * Makerules (elide-bp-thunks): Remove variable.
19892         (elide-routines.oS): Don't use $(elide-bp-thunks).
19893         (elide-routines.os): Likewise.
19894         (elide-routines.o): Likewise.
19895         (elide-routines.op): Likewise.
19896         (elide-routines.og): Likewise.
19897         (objects): Don't use $(bp-thunks).
19898         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19899         include.
19900         (common-generated): Do not add s-proto-bp.d.
19901         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19902         (int): Likewise.
19903         (typ): Likewise.
19904         Do not generate makefile rules for bounded-pointer thunks.
19905         * sysdeps/generic/bp-thunks.h: Remove file.
19906         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19907         * sysdeps/unix/s-proto-bp.S: Likewise.
19909         [BZ #15062]
19910         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19911         parts of result separately when argument is not close to line from
19912         -i to i and one part of argument is small.
19913         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19914         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19915         * math/libm-test.inc (cacos_test): Add more tests.
19916         (casin_test): Likewise.
19917         (casinh_test): Likewise.
19918         * sysdeps/i386/fpu/libm-test-ulps: Update.
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921 2013-01-31  David S. Miller  <davem@davemloft.net>
19923         * po/de.po: Update from translation team.
19925 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
19927         * time/tzfile.c: Include stdint.h for SIZE_MAX.
19929 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
19931         * configure.in (_AC_PROG_CC_C89): New definition.
19932         * configure: Regenerate.
19934         * configure.in (AC_PROG_CPP): New definition.
19935         * configure: Regenerate.
19937 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19939         * debug/tst-backtrace.h: New file.
19940         * debug/tst-backtrace2.c: Include tst-backtrace.h.
19941         (ret): Remove variable.
19942         (x): Likewise.
19943         (FAIL): Remove macro.
19944         (NO_INLINE): Likewise.
19945         (fn1): Use match function instead of strstr.
19946         * debug/tst-backtrace3.c: Include tst-backtrace.h.
19947         (ret): Remove variable.
19948         (x): Likewise.
19949         (FAIL): Remove macro.
19950         (NO_INLINE): Likewise.
19951         (fn): Use match function instead of strstr.
19952         * debug/tst-backtrace4.c: Include tst-backtrace.h.
19953         (ret): Remove variable.
19954         (x): Likewise.
19955         (FAIL): Remove macro.
19956         (NO_INLINE): Likewise.
19957         (handle_signal): Use match function instead of strstr.
19958         * debug/tst-backtrace5.c: Include tst-backtrace.h.
19959         (ret): Remove variable.
19960         (x): Likewise.
19961         (FAIL): Remove macro.
19962         (NO_INLINE): Likewise.
19963         (handle_signal): Use match function instead of strstr.
19965 2013-01-23  Roland McGrath  <roland@hack.frob.com>
19967         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19969 2013-01-23  David S. Miller  <davem@davemloft.net>
19971         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19972         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19973         argument of CAS if possible.
19974         * sysdeps/sparc/sparc64/bits/atomic.h
19975         (__arch_compare_and_exchange_val_32_acq): Likewise.
19976         (__arch_compare_and_exchange_val_64_acq): Likewise.
19978 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
19980         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19981         * sysdeps/posix/ulimit.c: ... this.
19982         Include <limits.h>.
19983         * sysdeps/unix/bsd/ulimit.c: Remove file.
19985 2013-01-23  Adam Conrad  <adconrad@0c3.net>
19987         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19988         (LDFLAGS-tst-array5): Likewise.
19990 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19992         [BZ #15036]
19993         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19994         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19995         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19996         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19998 2013-01-21  David S. Miller  <davem@davemloft.net>
20000         * sysdeps/sparc/backtrace.c: New file.
20001         * sysdeps/sparc/sparc32/backtrace.h: New file.
20002         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20003         * sysdeps/sparc/sparc64/backtrace.h: New file.
20004         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20005         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20006         -funwind-tables.
20008 2013-01-21  Andreas Schwab  <schwab@suse.de>
20010         [BZ #15020]
20011         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20012         closed its stdout.
20014 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20017         "mpa2.h".
20018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20020 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20021             Mark Mitchell  <mark@codesourcery.com>
20022             Tom de Vries  <tom@codesourcery.com>
20023             Paul Pluzhnikov  <ppluzhnikov@google.com>
20025         * debug/tst-backtrace2.c: New file.
20026         * debug/tst-backtrace3.c: Likewise.
20027         * debug/tst-backtrace4.c: Likewise.
20028         * debug/tst-backtrace5.c: Likewise.
20029         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20030         (CFLAGS-tst-backtrace3.c): Likewise.
20031         (CFLAGS-tst-backtrace4.c): Likewise.
20032         (CFLAGS-tst-backtrace5.c): Likewise.
20033         (LDFLAGS-tst-backtrace2): Likewise.
20034         (LDFLAGS-tst-backtrace3): Likewise.
20035         (LDFLAGS-tst-backtrace4): Likewise.
20036         (LDFLAGS-tst-backtrace5): Likewise.
20037         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20038         tst-backtrace4 and tst-backtrace5.
20040 2013-01-18  Anton Blanchard  <anton@samba.org>
20041             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20043         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20044         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20045         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20046         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20048         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20049         "+r" and remove output regs list as redundant.  Add explicit inline
20050         asm to specify register of return val to work around compiler codegen
20051         bug.  Remove (int) cast on return value.  Add return type parameter to
20052         use in macro so that this macro does not truncate return value for
20053         64-bit values.
20054         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20055         pass to INTERNAL_VSYSCALL_NCS.
20056         (INLINE_VSYSCALL): Add 'long int' as return type to
20057         INTERNAL_VSYSCALL_NCS macro invocation.
20058         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20059         INTERNAL_VSYSCALL_NCS macro invocation.
20060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20062 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064         [BZ #14496]
20065         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20066         Fix application of SIMD FP exception mask.
20068         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20069         mp_no from a power of two.
20070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20071         __mpexp_twomm1.  Use __pow_mp.
20073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20074         multiplication.
20076 2013-01-17  David S. Miller  <davem@davemloft.net>
20078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20080 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #15023]
20083         * include/complex.h: Condition contents on [!_COMPLEX_H].
20084         (__kernel_casinhf): New prototype.
20085         (__kernel_casinh): Likewise.
20086         (__kernel_casinhl): Likewise.
20087         * math/Makefile (libm_calls): Add k_casinh.
20088         * math/k_casinh.c: New file.
20089         * math/k_casinhf.c: Likewise.
20090         * math/k_casinhl.c: Likewise.
20091         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20092         finite nonzero arguments.
20093         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20094         finite nonzero arguments.
20095         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20096         finite nonzero arguments.
20097         * math/s_casinh.c: Do not include <float.h>.
20098         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20099         * math/s_casinhf.c: Do not include <float.h>.
20100         (__casinhf): Move code for finite nonzero arguments to
20101         k_casinhf.c.
20102         * math/s_casinhl.c: Do not include <float.h>.
20103         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20104         redefine.
20105         (__casinhl): Move code for finite nonzero arguments to
20106         k_casinhl.c.
20107         * math/libm-test.inc (cacos_test): Add more tests.
20108         * sysdeps/i386/fpu/libm-test-ulps: Update.
20109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20111 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20113         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20114         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20115         [!HAVE_MREMAP]: Remove [defined linux] case.
20116         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20118 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20120         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20122 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20124         * elf/elf.h (R_386_SIZE32): New relocation.
20125         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20126         R_386_SIZE32.
20127         (elf_machine_rela): Likewise.
20128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20129         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20131 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20133         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20134         (FP_FAST_FMA): Do not define.
20135         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20136         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20137         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20138         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20139         !_SOFT_FLOAT]: Likewise.
20140         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20141         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20142         value.
20143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20144         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20145         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20146         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20147         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20148         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20149         file.
20151 2013-01-16  Andreas Schwab  <schwab@suse.de>
20153         [BZ #14327]
20154         * include/stdlib.h (__mktemp): Add declaration.
20155         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20156         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20158 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20160         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20161         definitions.
20162         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20163         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20164         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20165         definitions here.
20166         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20167         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20168         definitions.
20169         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20170         and ONE.
20171         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20172         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20174         definitions.
20175         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20176         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20177         definitions.
20178         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20180         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20182 2013-01-15  David S. Miller  <davem@davemloft.net>
20184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20185         trunc{,f} to libm-sysdep_routes.
20186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20188         file.
20189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20191         file.
20192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20193         file.
20194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20200         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20201         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20204         nearbyint{,f} to libm-sysdep_routes.
20205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20207         New file.
20208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20209         file.
20210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20211         New file.
20212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20213         file.
20214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20217         file.
20218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20219         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20220         file.
20221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20222         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20223         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20225         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20226         libc_feholdexcept and libc_fesetenv.
20228 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20230         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20232 2013-01-14  David S. Miller  <davem@davemloft.net>
20234         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20235         (SPARC_ASM_VIS2_IFUNC): Likewise.
20236         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20238         use of 'siam' instruction.
20239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20240         Likewise.
20241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20242         Likewise.
20243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20244         Likewise.
20245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20250         file.
20251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20252         file.
20253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20254         file.
20255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20256         file.
20257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20262         new VIS2 routines.
20263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20266         Likewise.
20267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20272         routines to libm-sysdep_routines.
20273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20276         fdim/fdimf to libm-sysdep_routines.
20277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20278         file.
20279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20281         file.
20282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20285         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20286         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20287         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20288         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20290 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20293         to optimize copies.
20295         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20300         local variable MPTWO.
20301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20302         Likewise.
20304 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20306         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20307         GLOB_NOESCAPE.
20309 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20311         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20313 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20315         * manual/pattern.texi (glob_t): Document gl_flags.
20316         (glob64_t): Likewise.
20318 2013-01-11  David S. Miller  <davem@davemloft.net>
20320         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20321         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20322         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20323         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20324         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20325         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20326         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20327         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20328         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20329         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20330         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20331         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20332         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20334         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20335         sparc V9 rather than using V8 code.
20336         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20337         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20339         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20340         Move to...
20341         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20342         Here.
20344 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20346         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20347         not in the main loop.
20348         * configure: Regenerated.
20350 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20352         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20353         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20354         to just #else.
20355         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20356         [!__GLIBC_HAVE_LONG_LONG] case.
20357         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20358         condition to just #else.
20359         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20360         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20361         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20362         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20363         unconditional.
20364         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20365         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20366         #elif condition to just #else.
20367         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20368         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20369         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20370         #elif condition to just #else.
20372 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20374         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20375         (EF_MIPS_ARCH_64): Fix value.
20376         (EF_MIPS_ARCH_32R2): New.
20377         (EF_MIPS_ARCH_64R2): New.
20379 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20381         * Makeconfig (+link-pie-before-libc): New.
20382         (+link-pie-after-libc): Likewise.
20383         (+link-pie-tests): Likewise.
20384         (+link-pie): Rewritten.
20385         (link-before-libc): Remove $(config-LDFLAGS).
20386         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20387         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20388         (config-LDFLAGS): Renamed to ...
20389         (rtld-LDFLAGS): This.
20390         (rtld-tests-LDFLAGS): New macro.
20391         (link-libc-rpath-link): Likewise.
20392         (link-libc-tests-rpath-link): Likewise.
20393         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20394         (link-libc): Prepand $(link-libc-rpath-link).
20395         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20396         (test-program-prefix): New macro.
20397         (test-via-rtld-prefix): Likewise.
20398         (test-program-cmd): Likewise.
20399         (host-test-program-cmd): Likewise.
20400         * Makefile ($(common-objpfx)testrun.sh): Replace
20401         $(run-program-prefix) with $(test-program-prefix).
20402         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20403         $(rtld-LDFLAGS).
20404         ($(common-objpfx)shlib.lds): Likewise.
20405         (build-module-helper): Likewise.
20406         ($(common-objpfx)format.lds): Likewise.
20407         * Rules (binaries-pie-tests): New.
20408         (binaries-pie-notests): Likewise.
20409         (binaries-pie): Rewritten.
20410         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20411         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20412         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20413         (make-test-out): Replace $(host-built-program-cmd) with
20414         $(host-test-program-cmd).
20415         * config.make.in (build-hardcoded-path-in-tests): New variable.
20416         * configure.in (--enable-hardcoded-path-in-tests): New configure
20417         option.
20418         (hardcoded_path_in_tests): New AC_SUBST.
20419         * configure: Regenerated.
20420         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20421         $(built-program-cmd) with $(test-program-cmd).
20422         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20423         (test_program_cmd): This.
20424         * elf/Makefile ($(objpfx)order.out): Run test with
20425         $(test-program-prefix).
20426         ($(objpfx)order2.out): Likewise.
20427         ($(objpfx)tst-initorder.out): Likewise.
20428         ($(objpfx)tst-initorder2.out): Likewise.
20429         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20430         $(test-program-cmd).
20431         ($(objpfx)tst-array1-static.out): Likewise.
20432         ($(objpfx)tst-array2.out): Likewise.
20433         ($(objpfx)tst-array3.out): Likewise.
20434         ($(objpfx)tst-array4.out): Likewise.
20435         ($(objpfx)tst-array5.out): Likewise.
20436         ($(objpfx)tst-array5-static.out): Likewise.
20437         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20438         $(test-program-cmd).
20439         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20440         $(run-program-prefix) with $(test-program-prefix).
20441         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20442         (test_program_prefix): This.
20443         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20444         $(run-program-prefix) with $(test-program-prefix).
20445         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20446         (test_program_prefix): This.
20447         * iconvdata/tst-tables.sh: Likewise.
20448         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20449         $(run-program-prefix) with $(test-program-prefix).
20450         ($(objpfx)tst-translit.out): Likewise.
20451         ($(objpfx)tst-gettext2.out): Likewise.
20452         ($(objpfx)tst-gettext4.out): Likewise.
20453         ($(objpfx)tst-gettext6.out): Likewise.
20454         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20455         (test_program_prefix): This.
20456         * intl/tst-gettext2.sh: Likewise.
20457         * intl/tst-gettext4.sh  Likewise.
20458         * intl/tst-gettext6.sh: Likewise.
20459         * intl/tst-translit.sh: Likewise.
20460         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20461         with $(test-program-cmd).
20462         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20463         $(run-program-prefix) with $(test-program-prefix).
20464         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20465         (test_program_prefix): This.
20466         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20467         $(run-program-prefix) with $(test-program-prefix).
20468         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20469         (test_program_prefix): This.
20470         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20471         * posix/Makefile ($(objpfx)globtest.out): Replace
20472         $(run-via-rtld-prefix) and $(test-wrapper) with
20473         $(test-program-prefix) and $(test-via-rtld-prefix).
20474         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20475         $(test-program-prefix).
20476         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20477         $(host-test-program-cmd).
20478         (tst-spawn-ARGS): Likewise.
20479         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20480         $(test-program-prefix).
20481         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20482         (test_via_rtld_prefix): This.
20483         (test_wrapper): Renamed to ...
20484         (test_program_prefix): This.
20485         (run_program_prefix): Replaced by test_program_prefix.
20486         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20487         (test_program_prefix): This.
20488         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20489         with $(host-test-program-cmd).
20490         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20491         $(run-program-prefix) with $(test-program-prefix).
20492         ($(objpfx)tst-printf.out): Likewise.
20493         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20494         $(test-program-cmd).
20495         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20496         (test_program_prefix): This.
20497         * stdio-common/tst-unbputc.sh: Likewise.
20498         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20499         $(run-program-prefix) with $(test-program-prefix).
20500         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20501         (test_program_prefix): This.
20502         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20503         $(built-program-cmd) with $(test-program-cmd).
20505 2013-01-11  Andreas Jaeger  <aj@suse.de>
20507         [BZ #15003]
20508         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20509         value. Sync with Linux 3.7.
20511 2013-01-10  David S. Miller  <davem@davemloft.net>
20513         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20514         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20515         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20517 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20519         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20520         never set.
20521         * configure: Regenerated.
20523 2013-01-10  David S. Miller  <davem@davemloft.net>
20525         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20526         sparc V9 rather than using V8 code.
20527         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20528         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20530 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20532         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20533         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20534         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20535         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20536         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20537         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20538         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20539         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20540         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20541         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20542         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20543         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20544         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20545         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20546         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20547         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20548         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20549         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20550         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20551         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20552         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20553         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20554         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20555         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20556         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20557         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20558         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20560 2013-01-10  David S. Miller  <davem@davemloft.net>
20562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20564 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20566         * posix/Makefile (tests-static): New variable.
20567         (tests): Add $(tests-static).
20568         (tst-exec-static-ARGS): New variable.
20569         (tst-spawn-static-ARGS): Likewise.
20570         * posix/tst-exec-static.c: New file.
20571         * posix/tst-spawn-static.c: Likewise.
20572         * posix/tst-exec.c: Support run directly.
20573         * posix/tst-spawn.c: Likewise.
20575 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20577         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20578         long.
20579         * math/bits/mathcalls.h (llrint): Likewise.
20580         (llround): Likewise.
20581         * stdlib/stdlib.h (struct drand48_data): Likewise.
20582         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20583         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20584         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20585         Likewise.
20586         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20587         Likewise.
20588         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20589         (elf_greg_t): Likewise.
20590         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20591         (__jmp_buf): Likewise.
20592         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20593         definitions.
20594         (llrint): Likewise, for all definitions.
20595         (llrintl): Likewise.
20597         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20598         Remove [__GNUC__] condition.
20599         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20600         condition to just [__USE_ISOC99].
20601         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20603 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20605         [BZ #14200]
20606         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20607         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20608         defined.
20609         (_POSIX_V6_ILP32_OFF32): Likewise.
20610         (_XBS5_ILP32_OFF32): Likewise.
20611         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20612         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20614 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20616         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20619         doubles __mpexp_twomm1.  Adjust usage.
20620         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20621         Remove.
20623 2013-01-10  Andreas Schwab  <schwab@suse.de>
20625         [BZ #14964]
20626         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20627         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20629 2013-01-09  David S. Miller  <davem@davemloft.net>
20631         [BZ #15003]
20632         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20633         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20634         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20635         (TCP_FASTOPEN): Define.
20636         (tcp_repair_opt): New structure.
20637         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20638         enum values.
20639         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20640         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20641         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20642         (tcp_cookie_transactions): New structure.
20644 2013-01-09  Anton Blanchard  <anton@samba.org>
20646         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20647         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20648         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20649         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20651 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20653         * include/features.h (__USE_ANSI): Remove.
20655 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20657         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20659         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20661 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663         * sysdeps/s390/fpu/libm-test-ulps: Update.
20665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20667         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20668         (__acr): Likewise.
20669         (__cpy): Likewise.
20670         (norm): Likewise.
20671         (denorm): Likewise.
20672         (__mp_dbl): Likewise.
20673         (__dbl_mp): Likewise.
20674         (add_magnitudes): Likewise.
20675         (sub_magnitudes): Likewise.
20676         (__add): Likewise.
20677         (__sub): Likewise.
20678         (__mul): Likewise.
20679         (__inv): Likewise.
20680         (__dvd): Likewise.
20681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20682         (__acr): Likewise.
20683         (__cpy): Likewise.
20684         (norm): Likewise.
20685         (denorm): Likewise.
20686         (__mp_dbl): Likewise.
20687         (__dbl_mp): Likewise.
20688         (add_magnitudes): Likewise.
20689         (sub_magnitudes): Likewise.
20690         (__add): Likewise.
20691         (__sub): Likewise.
20692         (__mul): Likewise.
20693         (__inv): Likewise.
20694         (__dvd): Likewise.
20695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20696         (__acr): Likewise.
20697         (__cpy): Likewise.
20698         (norm): Likewise.
20699         (denorm): Likewise.
20700         (__mp_dbl): Likewise.
20701         (__dbl_mp): Likewise.
20702         (add_magnitudes): Likewise.
20703         (sub_magnitudes): Likewise.
20704         (__add): Likewise.
20705         (__sub): Likewise.
20706         (__mul): Likewise.
20707         (__inv): Likewise.
20708         (__dvd): Likewise.
20710 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20712         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20713         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20714         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20715         2 && __USE_EXTERN_INLINES]: Likewise.
20717 2013-01-08  Andreas Jaeger  <aj@suse.de>
20719         [BZ# 14985]
20720         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20721         Remove.
20722         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20723         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20725 2013-01-07  Anton Blanchard  <anton@samba.org>
20727         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20728         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20729         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20730         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20731         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20732         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20733         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20734         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20736         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20739         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20741         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20742         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20743         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20745         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20747         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20748         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20749         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20750         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20751         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20752         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20753         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20754         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20755         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20756         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20757         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20759         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20761         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20762         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20763         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20765         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20766         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20767         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20768         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20769         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20771 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20773         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20774         (__MALLOC_PMT): Likewise.
20775         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20776         [__GNUC__], only on [_LIBC].
20777         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20778         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20779         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20780         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20781         forward declaration.
20782         (realloc_hook_ini): Likewise.
20783         (memalign_hook_ini): Likewise.
20784         (__libc_memalign): Do not use __MALLOC_PMT in variable
20785         declaration.
20786         (__libc_valloc): Likewise.
20787         (__libc_pvalloc): Likewise.
20788         (__libc_calloc): Likewise.
20789         (__posix_memalign): Likewise.
20791         [BZ #14996]
20792         * math/s_casinh.c: Include <float.h>.
20793         (__casinh): Do not do computation with squaring and square root
20794         for large arguments.
20795         * math/s_casinhf.c: Include <float.h>.
20796         (__casinhf): Do not do computation with squaring and square root
20797         for large arguments.
20798         * math/s_casinhl.c: Include <float.h>.
20799         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20800         (__casinhl): Do not do computation with squaring and square root
20801         for large arguments.
20802         * math/libm-test.inc (casin_test): Add more tests.
20803         (casinh_test): Likewise.
20804         * sysdeps/i386/fpu/libm-test-ulps: Update.
20805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20807 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20809         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20810         (__x86_64_raw_data_cache_size): Likewise.
20811         (__x86_64_data_cache_size_half): Likewise.
20812         (__x86_64_raw_data_cache_size_half): Likewise.
20813         (__x86_64_shared_cache_size): Likewise.
20814         (__x86_64_raw_shared_cache_size): Likewise.
20815         (__x86_64_shared_cache_size_half): Likewise.
20816         (__x86_64_raw_shared_cache_size_half): Likewise.
20817         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20818         to ...
20819         (__x86_data_cache_size): This.
20820         (__x86_64_raw_data_cache_size): Renamed to ...
20821         (__x86_raw_data_cache_size): This.
20822         (__x86_64_data_cache_size_half): Renamed to ...
20823         (__x86_data_cache_size_half): This.
20824         (__x86_64_raw_data_cache_size_half): Renamed to ...
20825         (__x86_raw_data_cache_size_half): This.
20826         (__x86_64_shared_cache_size): Renamed to ...
20827         (__x86_shared_cache_size): This.
20828         (__x86_64_raw_shared_cache_size): Renamed to ...
20829         (__x86_raw_shared_cache_size): This.
20830         (__x86_64_shared_cache_size_half): Renamed to ...
20831         (__x86_shared_cache_size_half): This.
20832         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20833         (__x86_raw_shared_cache_size_half): This.
20834         * sysdeps/x86_64/memcpy.S: Updated.
20835         * sysdeps/x86_64/memset.S: Likewise.
20836         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20837         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20838         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20840 2013-01-04  David S. Miller  <davem@davemloft.net>
20842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20844 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20846         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20847         1 to avoid redefinition warning.
20848         (__USE_GNU): Don't define.
20849         (init_signaling_nan): Protoize.
20851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20853 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20855         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20857         (__cpymn): Likewise.
20858         (norm): Remove commented code.
20859         (denorm): Likewise.
20860         (__mp_dbl): Likewise.
20861         (__inv): Likewise.
20862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20863         (__cpymn): Likewise.
20864         (norm): Remove commented code.
20865         (denorm): Likewise.
20866         (__mp_dbl): Likewise.
20867         (__inv): Likewise.
20869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20870         mp_no value for 1.0 and 2.0.
20871         (norm): Use RADIXI instead of radixi.d.
20872         (denorm): Likewise.
20873         (__mul): Use 0.0 instead of zero.d.
20874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20875         mp_no value for 1.0 and 2.0.
20876         (norm): Use RADIXI instead of radixi.d.
20877         (denorm): Likewise.
20878         (__mul): Use 0.0 instead of zero.d.
20880 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20882         [BZ #14994]
20883         * math/s_casinh.c (__casinh): Reduce finite argument to first
20884         quadrant then set signs of results at the end.
20885         * math/s_casinhf.c (__casinhf): Likewise.
20886         * math/s_casinhl.c (__casinhl): Likewise.
20887         * math/libm-test.inc (casin_test): Add more tests.
20888         (casinh_test): Likewise.
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20894         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20896         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20898         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20899         declarations.
20900         (denorm): Likewise.
20901         (__mp_dbl): Likewise.
20902         (__inv): Likewise.
20904         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20905         and adjust the header comment.
20907         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20908         variable name from declaration.
20910 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
20912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20913         Initialize COMMON_CPUID_INDEX_7 element.
20914         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20915         (CPUID_RTM): Likewise.
20916         (HAS_RTM): Likewise.
20917         (COMMON_CPUID_INDEX_7): New enum.
20919 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
20921         [BZ #14981]
20922         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20923         size is zero, record memory as freed.
20925 2013-01-03  Andreas Jaeger  <aj@suse.de>
20927         * po/ia.po: Add new Interlingua translation.
20929 2012-01-03  Allan McRae  <allan@archlinux.org>
20931         * locale/programs/localedef.c: Fix description of '--posix' flag.
20933 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
20935         * NEWS: Update dates in second copyright notice.
20936         * README: Update copyright dates in example.
20937         * manual/libc.texinfo: Update copyright dates.
20938         * scripts/test-installation.pl: Update copyright date in --version
20939         output.
20941         * hurd/ctty-input.c: Fix copyright notice formatting.
20942         * hurd/ctty-output.c: Likewise.
20943         * hurd/dtable.c: Likewise.
20944         * hurd/hurd-raise.c: Likewise.
20945         * hurd/hurdprio.c: Likewise.
20946         * hurd/msgportdemux.c: Likewise.
20947         * misc/sys/file.h: Likewise.
20948         * misc/sys/ioctl.h: Likewise.
20949         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20950         * sysdeps/mach/hurd/chdir.c: Likewise.
20951         * sysdeps/mach/hurd/fchdir.c: Likewise.
20952         * sysdeps/mach/hurd/rename.c: Likewise.
20953         * sysdeps/mach/hurd/rmdir.c: Likewise.
20954         * sysdeps/mach/hurd/seekdir.c: Likewise.
20955         * sysdeps/mach/hurd/setsid.c: Likewise.
20956         * sysdeps/posix/wait3.c: Likewise.
20958         * All files with FSF copyright notices: Update copyright dates
20959         using scripts/update-copyrights.
20960         * intl/plural.c: Regenerated.
20961         * locale/programs/charmap-kw.h: Likewise.
20962         * locale/programs/locfile-kw.h: Likewise.
20964 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20966         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20967         four values.
20969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20970         calculation loop and add branch prediction.
20972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20973         check access beyond bounds of m1np.
20975         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20976         MPTWO.
20977         (__inv): Remove local variable MPTWO to use the global
20978         constant.
20979         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20980         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20981         variable MPTWO.
20982         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20983         MP3HALFS static const.
20985 2013-01-01  David S. Miller  <davem@davemloft.net>
20987         * po/ca.po: Update from translation team.
20989 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
20991         * scripts/update-copyrights: New file.
20992         * Makeconfig: Reformat copyright notice.
20993         * ctype/ctype.h: Likewise.
20994         * debug/swprintf_chk.c: Likewise.
20995         * elf/dl-cache.c: Likewise.
20996         * elf/dl-debug.c: Likewise.
20997         * elf/dl-object.c: Likewise.
20998         * grp/initgroups.c: Likewise.
20999         * hurd/Makefile: Likewise.
21000         * hurd/hurd/signal.h: Likewise.
21001         * hurd/hurdfault.c: Likewise.
21002         * hurd/hurdioctl.c: Likewise.
21003         * hurd/hurdlookup.c: Likewise.
21004         * hurd/intr-msg.c: Likewise.
21005         * iconv/gconv_open.c: Likewise.
21006         * libio/swprintf.c: Likewise.
21007         * locale/lc-ctype.c: Likewise.
21008         * locale/nl_langinfo.c: Likewise.
21009         * mach/Machrules: Likewise.
21010         * mach/Makefile: Likewise.
21011         * malloc/obstack.h: Likewise.
21012         * manual/Makefile: Likewise.
21013         * manual/tsort.awk: Likewise.
21014         * misc/bits/stab.def: Likewise.
21015         * nis/nis_print_group_entry.c: Likewise.
21016         * nis/nis_table.c: Likewise.
21017         * nis/nss_compat/compat-pwd.c: Likewise.
21018         * nis/nss_compat/compat-spwd.c: Likewise.
21019         * po/Makefile: Likewise.
21020         * posix/fnmatch.c: Likewise.
21021         * posix/regex.h: Likewise.
21022         * resolv/Makefile: Likewise.
21023         * resolv/nss_dns/dns-network.c: Likewise.
21024         * resolv/res_hconf.c: Likewise.
21025         * scripts/gen-sorted.awk: Likewise.
21026         * soft-fp/soft-fp.h: Likewise.
21027         * stdio-common/printf.h: Likewise.
21028         * stdlib/monetary.h: Likewise.
21029         * stdlib/random.c: Likewise.
21030         * stdlib/random_r.c: Likewise.
21031         * sysdeps/generic/Makefile: Likewise.
21032         * sysdeps/gnu/Makefile: Likewise.
21033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21037         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21040         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21041         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21043         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21044         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21045         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21046         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21047         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21048         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21049         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21050         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21051         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21053         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21054         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21055         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21056         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21057         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21058         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21059         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21061         * sysdeps/mach/hurd/errnos.awk: Likewise.
21062         * sysdeps/mach/hurd/fork.c: Likewise.
21063         * sysdeps/mach/hurd/getcwd.c: Likewise.
21064         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21065         * sysdeps/mach/hurd/mmap.c: Likewise.
21066         * sysdeps/mach/hurd/utimes.c: Likewise.
21067         * sysdeps/mach/hurd/xmknod.c: Likewise.
21068         * sysdeps/posix/profil.c: Likewise.
21069         * sysdeps/posix/readdir_r.c: Likewise.
21070         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21071         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21072         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21073         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21075         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21076         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21077         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21079         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21080         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21081         * sysdeps/pthread/lio_listio.c: Likewise.
21082         * sysdeps/sparc/dl-procinfo.h: Likewise.
21083         * sysdeps/unix/i386/sysdep.S: Likewise.
21084         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21085         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21086         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21087         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21089         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21090         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21091         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21092         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21093         * sysdeps/wordsize-32/divdi3.c: Likewise.
21094         * time/sys/time.h: Likewise.
21095         * wcsmbs/Makefile: Likewise.
21097 2013-01-01  David S. Miller  <davem@davemloft.net>
21099         * po/fr.po: Update from translation team.
21101         * catgets/gencat.c: Update copyright year.
21102         * csu/version.c: Likewise.
21103         * debug/catchsegv.sh: Likewise.
21104         * debug/pcprofiledump.c: Likewise.
21105         * debug/xtrace.sh: Likewise.
21106         * elf/ldconfig.c: Likewise.
21107         * elf/ldd.bash.in: Likewise.
21108         * elf/pldd.c: Likewise.
21109         * elf/sotruss.ksh: Likewise.
21110         * elf/sprof.c: Likewise.
21111         * iconv/iconv_prog.c: Likewise.
21112         * iconv/iconvconfig.c: Likewise.
21113         * locale/programs/locale.c: Likewise.
21114         * locale/programs/localedef.c: Likewise.
21115         * login/programs/pt_chown.c: Likewise.
21116         * malloc/memusage.sh: Likewise.
21117         * malloc/memusagestat.c: Likewise.
21118         * malloc/mtrace.pl: Likewise.
21119         * nscd/nscd.c: Likewise.
21120         * nss/getent.c: Likewise.
21121         * nss/makedb.c: Likewise.
21122         * posix/getconf.c: Likewise.
21124 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21126         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21127         numbers.
21129 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21131         * math/bits/mathcalls.h (modf): Use __nonnull.
21133 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21135         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21136         (split): Use macro CN instead of the bare value.
21137         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21138         could be used.
21139         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21140         instead of the bare value.
21141         (power1): Likewise.
21143 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21145         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21146         __ATAN_TWOM.
21147         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21149         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21150         their values.
21151         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21153         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21154         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21156 2012-12-28  Andreas Jaeger  <aj@suse.de>
21158         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21159         values are from Linux 3.7.
21161         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21162         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21164 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21166         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21167         TRUE case.
21169         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21170         (norm): Likewise.
21171         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21172         variables with preprocessor constants.
21173         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21174         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21175         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21177 2012-12-27  Bruno Haible  <bruno@clisp.org>
21179         [BZ #14317]
21180         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21181         only if needed.
21183 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21186         and use variable directly.
21187         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21189         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21190         MPONE.
21191         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21193         variable MPONE.
21194         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21196         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21197         include directive.  Remove local variable MPONE.
21198         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21199         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21200         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21202 2012-12-25  David S. Miller  <davem@davemloft.net>
21204         * version.h (RELEASE): Set to "development".
21205         (VERSION): Set to "2.17.90".
21206         * NEWS: Add 2.18 section.
21208 2012-12-21  David S. Miller  <davem@davemloft.net>
21210         * po/hr.po: Update from translation team.
21212 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21214         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21216 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21218         * NEWS:  Mention new memcpy for MIPS.
21220 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21222         * manual/contrib.texi (Contributors): Spelling correction.
21224 2012-12-15  David S. Miller  <davem@davemloft.net>
21226         * po/ru.po: Update from translation team.
21228 2012-12-13  David S. Miller  <davem@davemloft.net>
21230         * NEWS: Mention IFUNC testsuite enhancements.
21232         * po/pl.po: Update from translation team.
21233         * po/bg.po: Likewise.
21235         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21236         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21238 2012-12-11  David S. Miller  <davem@davemloft.net>
21240         * po/sv.po: Update from translation team.
21242         * po/vi.po: Update from translation team.
21244         * po/cs.po: Update from translation team.
21246         * po/de.po: Update from translation team.
21247         * po/eo.po: Likewise.
21248         * po/nl.po: Likewise.
21250 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21252         [BZ #14246]
21253         * manual/argp.texi (Argp Helper Functions): Move node to follow
21254         Argp Parsing State.
21256         [BZ #14872]
21257         * manual/conf.texi (Limits on File System Capacity): Mention if
21258         terminating null is included in the max size.
21260 2012-12-10  Andreas Jaeger  <aj@suse.de>
21262         * po/cs.po: Update from translation team.
21264 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21266         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21267         void pointer and cast to uintptr_t.
21268         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21269         path.
21270         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21271         * sysdeps/s390/s390-64/memset.S: Likewise.
21273 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21275         [BZ #14833]
21276         * menual/message.texi (Message Translation): Fix typos.
21277         (Helper programs for gettext): Likewise.
21279 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21281         [BZ #14898]
21282         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21283         Change to -1.
21285 2012-12-07  David S. Miller  <davem@davemloft.net>
21287         * po/libc.pot: Update.
21289 2012-12-07  Richard Henderson  <rth@redhat.com>
21291         [BZ #10114]
21292         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21293         normal/normal case to before the switch.
21294         (_FP_DIV): Likewise.
21296 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21297             Mike Frysinger  <vapier@gentoo.org>
21299         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21300         check for __NR_fadvise64_64.
21302 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21304         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21305         0, not just to plain "0" as a statement.
21306         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21307         with cw.
21309 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21311         * NEWS: Use sourceware.org in Bugzilla URL.
21313 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21316         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21318         * stdio-common/tst-put-error.c (do_test): Add newline to the
21319         padded test to ensure flush.
21321 2012-12-05  Jeff Law  <law@redhat.com>
21323         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21325 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21327         * README: Don't refer to ports add-on as distributed separately.
21328         Mention AArch64 in list of systems supported in the ports add-on.
21330         * LICENSES: Add more non-FSF copyright and license notices.
21332         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21333         ((unused)).
21335         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21337         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21338         10000 as width of padded output.
21340 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21342         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21344         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21345         variable LX with __attribute__ ((unused)).
21346         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21347         Likewise.
21348         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21351         with __attribute__ ((unused)).
21353 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21355         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21357 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21359         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21360         (CFLAGS-nldbl-acos.c): New variable.
21361         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21362         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21363         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21364         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21365         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21366         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21367         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21368         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21369         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21370         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21371         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21372         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21373         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21374         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21375         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21376         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21377         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21378         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21379         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21380         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21381         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21382         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21383         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21384         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21385         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21386         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21387         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21388         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21389         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21390         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21391         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21392         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21393         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21394         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21395         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21396         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21397         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21398         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21399         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21400         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21401         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21402         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21403         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21404         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21405         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21406         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21407         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21408         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21409         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21410         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21411         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21412         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21413         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21414         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21415         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21416         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21417         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21418         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21419         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21420         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21421         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21422         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21423         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21424         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21425         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21426         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21427         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21428         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21429         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21430         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21431         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21432         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21433         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21434         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21435         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21436         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21437         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21438         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21439         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21440         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21441         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21442         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21443         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21444         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21445         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21446         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21447         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21448         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21449         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21450         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21451         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21452         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21453         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21454         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21455         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21456         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21457         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21460         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21462         [BZ #14914]
21463         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21464         whole low double instead of just low 47 bits when splitting values
21465         into two parts.
21467 2012-12-03  Allan McRae  <allan@archlinux.org>
21469         * manual/stdio.texi (Predefined Printf Handlers): Remove
21470         @hsep and @vsep usage.
21472 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21474         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21475         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21477 2012-12-03  Jeff Law  <law@redhat.com>
21479         * time/sys/time.h (settimeofday): Do not mark TV argument
21480         as __nonnull.
21482 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21484         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21485         when currently writing and seek to current position when not.
21486         * libio/Makefile (tests): Remove bug-fclose1.
21487         * libio/bug-fclose1.c: Delete.
21489 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21491         * manual/arith.texi (feenableexcept): Fix typo.
21492         (fedisableexcept): Likewise.
21494 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21496         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21497         second, differently-typed declaration, rather than a cast.
21499 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21501         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21502         * include/rpc/svc.h: ... here.
21504 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21506         [BZ #13013]
21507         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21508         depending n and resplen2 to catch cases where answer
21509         equals answerp2.
21511 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21513         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21514         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21516 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21518         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21520 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21522         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21524 2012-11-28  Jeff Law  <law@redhat.com>
21526         [BZ #13761]
21527         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21528         dataset_temporary.  Track alloca usage into alloca_used.
21529         If dataset is large allocate and release it via malloc/free.
21531 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21533         [BZ #14197]
21534         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21536 2012-11-28  David S. Miller  <davem@davemloft.net>
21538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21540 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #14803]
21543         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21544         of pi/2 rounded to nearest to 64 bits.
21545         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21546         nearest to 64 bits.
21547         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21548         bits.
21550 2012-11-28  Jeff Law <law@redhat.com>
21551             Martin Osvald <mosvald@redhat.com>
21553         [BZ #14889]
21554         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21555         * sunrpc/svc.c: Include time.h.
21556         (__svc_accept_failed): New function.
21557         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21558         any reason other than EINTR, call __svc_accept_failed.
21559         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21560         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21562 2012-11-28  Andreas Schwab  <schwab@suse.de>
21564         * scripts/abilist.awk: Also handle indirect functions in .opd
21565         section.
21567 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21569         [BZ #13881]
21570         * sysdeps/x86/fpu/powl_helper.c: New file.
21571         * sysdeps/x86/fpu/Makefile: Likewise.
21572         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21573         (p3): New object.
21574         (__ieee754_powl): Use __powl_helper for finite arguments except
21575         integer exponents below 8.
21576         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21577         (p3): New object.
21578         (__ieee754_powl): Use __powl_helper for finite arguments except
21579         integer exponents below 8.
21580         * math/libm-test.inc (pow_test): Add more tests and enable some
21581         previously disabled tests.
21582         * sysdeps/i386/fpu/libm-test-ulps: Update.
21583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21585 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21586             Carlos O'Donell  <carlos_odonell@mentor.com>
21588         * nss/makedb.c (is_prime): Assert that input is odd and greater
21589         than 4.  Note that fact in a comment too.
21590         (next_prime): Add 4 to input.
21592 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21594         [BZ #11741]
21595         * libio/Makefile (tests): Add test case tst-fwrite-error.
21596         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21597         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21598         * libio/tst-fwrite-error.c: New test case.
21600 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21602         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21603         before casting to void *.
21604         * include/libc-internal.h (__pointer_type): New macro.
21605         (__integer_if_pointer_type_sub): Likewise.
21606         (__integer_if_pointer_type): Likewise.
21607         (cast_to_integer): Likewise.
21608         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21609         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21610         before casting to atomic64_t.
21611         (atomic_exchange_acq): Likewise.
21612         (__arch_exchange_and_add_body): Likewise.
21613         (__arch_add_body): Likewise.
21614         (atomic_add_negative): Likewise.
21615         (atomic_add_zero): Likewise.
21617 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21619         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21620         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21621         (add_fdes): Likewise.
21622         (linear_search_fdes): Likewise.
21623         (binary_search_unencoded_fdes): Likewise.
21625 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21627         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21629 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21631         * configure.in: Autodetect C++ header directories.
21632         * configure: Regenerated.
21634 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21636         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21638 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21642 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21644         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21645         LDBL_MANT_DIG == 106]: Disable some tests.
21646         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21647         Likewise.
21648         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21649         Likewise.
21651         [BZ #14871]
21652         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21653         input for small inputs.  Return +/- pi/2 for large inputs.
21654         * math/libm-test.inc (atan_test): Add more tests.
21656         * sysdeps/generic/unwind-dw2-fde-glibc.c
21657         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21658         __attribute__ ((unused)).
21660         [BZ #14645]
21661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21662         x * y if x and y are nonzero and z is zero.
21664         [BZ #14811]
21665         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21666         nonzero exponents with absolute value below 0x1p-117 to +/-
21667         0x1p-117.
21669         [BZ #14869]
21670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21671         up arguments below 2**-450, not just those below 2**-500.
21672         * math/libm-test.inc (hypot_test): Add another test.
21674         [BZ #14868]
21675         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21676         Return a+b for ratio over 2**120, not 2**60.
21677         * math/libm-test.inc (hypot_test): Add another test.
21679         * math/libm-test.inc (clog_test): Use
21680         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21681         (clog10_test): Likewise.
21683         [BZ #6778]
21684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21686 2012-11-22  Andreas Schwab  <schwab@suse.de>
21688         * sysdeps/i386/fpu/libm-test-ulps: Update.
21690 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21692         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21693         printf output with newline.
21695 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21697         [BZ #14865]
21698         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21699         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21700         -z nodlopen, -z initfirst and -z execstack support.
21701         * configure: Regenerated.
21703         * elf/elf.h (DF_1_NODIRECT): New macro.
21704         (DF_1_IGNMULDEF): Likewise.
21705         (DF_1_NOKSYMS): Likewise.
21706         (DF_1_NOHDR): Likewise.
21707         (DF_1_EDITED): Likewise.
21708         (DF_1_NORELOC): Likewise.
21709         (DF_1_SYMINTPOSE): Likewise.
21710         (DF_1_GLOBAUDIT): Likewise.
21711         (DF_1_SINGLETON): Likewise.
21712         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21713         DT_1_SUPPORTED_MASK bits.
21714         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21716 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21718         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21720 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21722         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21723         macro.
21725         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21726         (sendmmsg): Move declarations...
21727         * socket/sys/socket.h: ... here.
21728         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21729         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21730         include it from...
21731         * socket/recvmmsg.c: ... this new file.
21732         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21733         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21734         definition of __sendmmsg hidden.
21735         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21736         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21737         Move ENOSYS stub into and include it from...
21738         * socket/sendmmsg.c: ... this new file.
21739         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21740         (sysdep_routines): Move recvmmsg and sendmmsg...
21741         * socket/Makefile (routines): ... here.
21742         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21743         (GLIBC_PRIVATE): Add __sendmmsg.
21744         * include/sys/socket.h (__sendmmsg): Add declarations.
21745         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21746         sendmmsg.
21748 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21751         variable I1 with __attribute__ ((unused)).
21752         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21754 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21756         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21757         DUMMY variables with __attribute__ ((unused)).
21759         * bits/byteswap.h: Include <bits/types.h>.
21760         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21762 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21764         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21765         string_t.  Do not manually set errno.
21766         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21767         length with __strnlen.  Make sure to both set errno and return it on
21768         failure.
21770 2012-11-19  David S. Miller  <davem@davemloft.net>
21772         With help from Joseph Myers.
21773         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21774         very large arguments properly.
21775         * math/libm-test.inc (atan_test): New tests.
21776         (atan2_test): New tests.
21777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21780 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21782         [BZ #14856]
21783         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21784         Define to 3.
21786         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21787         [POSIX] (EADDRNOTAVAIL): Likewise.
21788         [POSIX] (EAFNOSUPPORT): Likewise.
21789         [POSIX] (EALREADY): Likewise.
21790         [POSIX] (ECONNABORTED): Likewise.
21791         [POSIX] (ECONNREFUSED): Likewise.
21792         [POSIX] (ECONNRESET): Likewise.
21793         [POSIX] (EDESTADDRREQ): Likewise.
21794         [POSIX] (EDQUOT): Likewise.
21795         [POSIX] (EHOSTUNREACH): Likewise.
21796         [POSIX] (EIDRM): Likewise.
21797         [POSIX] (EISCONN): Likewise.
21798         [POSIX] (ELOOP): Likewise.
21799         [POSIX] (EMULTIHOP): Likewise.
21800         [POSIX] (ENETDOWN): Likewise.
21801         [POSIX] (ENETUNREACH): Likewise.
21802         [POSIX] (ENOBUFS): Likewise.
21803         [POSIX] (ENODATA): Likewise.
21804         [POSIX] (ENOLINK): Likewise.
21805         [POSIX] (ENOMSG): Likewise.
21806         [POSIX] (ENOPROTOOPT): Likewise.
21807         [POSIX] (ENOSR): Likewise.
21808         [POSIX] (ENOSTR): Likewise.
21809         [POSIX] (ENOTCONN): Likewise.
21810         [POSIX] (ENOTSOCK): Likewise.
21811         [POSIX] (EOPNOTSUPP): Likewise.
21812         [POSIX] (EOVERFLOW): Likewise.
21813         [POSIX] (EPROTO): Likewise.
21814         [POSIX] (EPROTONOSUPPORT): Likewise.
21815         [POSIX] (EPROTOTYPE): Likewise.
21816         [POSIX] (ESTALE): Likewise.
21817         [POSIX] (ETIME): Likewise.
21818         [POSIX] (ETXTBSY): Likewise.
21819         [POSIX] (EWOULDBLOCK): Likewise.
21820         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21821         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21822         [POSIX] (SEEK_CUR): Likewise.
21823         [POSIX] (SEEK_END): Likewise.
21824         [POSIX || UNIX98] (mode_t): Do not require.
21825         [POSIX] (off_t): Likewise.
21826         [POSIX] (pid_t): Likewise.
21827         [POSIX] (sys/stat.h): Do not allow header.
21828         [POSIX] (unistd.h): Likewise.
21829         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21830         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21831         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21832         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21833         require.
21834         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21835         sigevent): Specify elements.
21836         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21837         entry.
21838         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21839         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21841         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21842         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21843         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21844         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21845         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21846         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21847         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21848         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21849         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21850         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21851         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21852         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21853         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21855         Likewise.
21856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21857         Likewise.
21858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21859         Likewise.
21860         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21861         Likewise.
21862         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21864         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21865         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21866         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21867         Specify lower bound on value.
21868         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21869         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21870         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21871         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21872         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21873         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21874         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21875         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21876         value.
21877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21878         as optional.
21879         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21880         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21881         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21882         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21883         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21884         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21885         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21886         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21887         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21888         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21889         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21890         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21891         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21892         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21893         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21894         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21895         entry.
21896         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21897         optional.
21898         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21899         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21900         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21901         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21902         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21904         Likewise.
21905         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21906         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21907         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21908         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21909         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
21910         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21912         as optional.
21913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21914         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21915         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21916         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21917         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21918         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21919         specify as optional.
21920         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21921         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21922         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21923         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21924         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21925         [XPG3] (NL_LANGMAX): Likewise.
21926         [POSIX || XPG3] (NL_MSGMAX): Likewise.
21927         [POSIX || XPG3] (NL_NMAX): Likewise.
21928         [POSIX || XPG3] (NL_SETMAX): Likewise.
21929         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21930         [XPG3] (NZERO): Likewise.
21931         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21932         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21933         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21934         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21935         (REG_ERANGE): Expect.
21936         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21937         optional-constant.
21938         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21939         Use (void) in prototype.
21940         [POSIX] (*_t): Allow.
21941         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21942         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21943         (WRDE_BADVAL): Expect.
21945         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21946         expect.
21947         [XPG3 || XPG4] (O_RSYNC): Likewise.
21948         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21949         Likewise.
21950         [XPG3 || XPG4] (pthread_sigmask): Likewise.
21951         [XPG3 || XPG4] (sigqueue): Likewise.
21952         [XPG3 || XPG4] (sigtimedwait): Likewise.
21953         [XPG3 || XPG4] (sigwaitinfo): Likewise.
21954         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21955         [XPG3 || XPG4] (vsnprintf): Likewise.
21956         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21957         Likewise.
21958         [XPG3 || XPG4] (blksize_t): Likewise.
21959         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21960         Likewise.
21961         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21962         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21963         [XPG3 || XPG4] (struct itimerspec): Likewise.
21964         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21965         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21966         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21967         [XPG3 || XPG4] (clockid_t): Likewise.
21968         [XPG3 || XPG4] (timer_t): Likewise.
21969         [XPG3 || XPG4] (clock_getres): Likewise.
21970         [XPG3 || XPG4] (clock_gettime): Likewise.
21971         [XPG3 || XPG4] (clock_settime): Likewise.
21972         [XPG3 || XPG4] (nanosleep): Likewise.
21973         [XPG3 || XPG4] (timer_create): Likewise.
21974         [XPG3 || XPG4] (timer_delete): Likewise.
21975         [XPG3 || XPG4] (timer_gettime): Likewise.
21976         [XPG3 || XPG4] (timer_getoverrun): Likewise.
21977         [XPG3 || XPG4] (timer_settime): Likewise.
21978         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21979         [XPG3 || XPG4] (getlogin_r): Likewise.
21980         [XPG3 || XPG4] (pread): Likewise.
21981         [XPG3 || XPG4] (pthread_atfork): Likewise.
21982         [XPG3 || XPG4] (pwrite): Likewise.
21984         [BZ #14835]
21985         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21986         <bits/siginfo.h>.
21988 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21990         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21991         finalizing MALLSTREAM.
21993         * sysdeps/mach/hurd/syncfs.c: New file.
21995 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21997         [BZ #14719]
21998         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21999         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22001         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22002         (_nss_dns_gethostbyname4_r): Likewise.
22003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22004         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22006 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22008         [BZ #13763]
22009         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22011 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22013         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22014         * elf/cache.c (print_entry): Print ",AArch64" for
22015         FLAG_AARCH64_LIB64
22017         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22018         * elf/cache.c (print_entry): Print ",hard-float" for
22019         FLAG_ARM_LIBHF.
22021 2012-11-18  David S. Miller  <davem@davemloft.net>
22023         With help from Joseph Myers.
22024         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22025         cutoff to 2**-13.
22026         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22027         cutoff to 2**-25.
22028         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22029         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22030         small.
22031         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22032         * math/libm-test.inc (y0_test): New tests.
22033         (y1_test): New tests.
22034         * sysdeps/i386/fpu/libm-test-ulps: Update.
22035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22038 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22040         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22041         64-bit targets.
22042         * configure: Regenerated.
22044 2012-11-17  David S. Miller  <davem@davemloft.net>
22046         [BZ #14811]
22047         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22048         nonzero exponents with absolute value below 0x1p-128 to +/-
22049         0x1p-128.
22051 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22053         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22055         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22057         * posix/getconf-speclist.c: New file.
22058         * posix/posix-envs.def: Likewise.
22059         * posix/confstr.c (START_ENV_GROUP): New macro.
22060         (END_ENV_GROUP): Likewise.
22061         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22062         (KNOWN_PRESENT_ENV_STRING): Likewise.
22063         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22064         (UNKNOWN_ENVIRONMENT): Likewise.
22065         (confstr): Include posix-envs.def instead of handling
22066         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22067         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22068         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22069         (END_ENV_GROUP): Likewise.
22070         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22071         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22072         (UNKNOWN_ENVIRONMENT): Likewise.
22073         (__sysconf): Include posix-envs.def instead of handling associated
22074         cases directly here.
22075         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22076         preprocessing getconf-speclist.c rather than running getconf or
22077         generating empty file.
22079 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22081         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22083 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22085         [BZ #14672]
22086         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22088 2012-11-16  David S. Miller  <davem@davemloft.net>
22090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22091         smaller than LDBL_EPSILON/2.0L, just return xm1.
22093 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22095         * elf/tst-array1.c (init): Set constructor priority to 1000.
22096         (fini): Set destructor priority to 1000.
22097         * elf/tst-array2dep.c: Likewise.
22099 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22101         [BZ #11741]
22102         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22103         (_IO_new_file_xsputn): Also return EOF if none of the input
22104         data was written when overflow failed.
22105         * libio/iopadn.c (_IO_padn): Likewise.
22106         * libio/iowpadn.c (_IO_wpadn): Likewise.
22107         * stdio-common/tst-put-error.c: Add copyright notice.
22108         (do_test): Add case for printing padded string.
22109         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22110         _IO_padn returned error.
22111         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22112         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22113         return EOF.
22115 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22117         * libio/libioP.h: Add comment note that the references to C++
22118         bits are now obsolete.
22120 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22122         * math/libm-test.inc (check_complex): Use asprintf.
22124 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22126         * debug/pcprofiledump.c (print_version): Update copyright year.
22127         * malloc/memusagestat.c (print_version): Likewise.
22129 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22131         [BZ #14831]
22132         * elf/Makefile (tests): Add tst-audit8.
22133         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22134         ($(objpfx)tst-audit8.out): New target.
22135         (tst-audit8-ENV): New variable.
22136         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22137         audit if l_reloc_result is NULL.
22138         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22139         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22140         * elf/tst-audit8.c: New file.
22142 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22144         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22145         * misc/Makefile (CFLAGS-select.c): Define.
22146         * posix/Makefile (CFLAGS-pause.c): Define.
22148 2012-11-13  David S. Miller  <davem@davemloft.net>
22150         * crypt/Makefile: Move test targets after toplevel Rules
22151         inclusion.  Grab any necessary sysdep routines when linking.
22152         * crypt/md5.c (md5_process_block): Remove define, we will always
22153         name it __md5_process_block.
22154         (md5_finish_ctx): Update md5_process_block call.
22155         (md5_stream): Likewise.
22156         (md5_process_bytes): Likewise.
22157         (md5_process_block): Rename to __md5_process_block and move to ...
22158         * crypt/md5-block.c: ... here.
22159         * crypt/sha256.c (sha256_process_block): Move to ...
22160         * crypt/sha256-block.c: ... here.
22161         * crypt/sha512.c (sha512_process_block): Move to ...
22162         * crypt/sha512-block.c: ... here.
22163         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22164         path.
22165         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22166         * sysdeps/sparc/sparc64/multiarch/Makefile
22167         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22168         crypt subdir.
22169         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22170         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22171         multiarch changes.
22172         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22173         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22174         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22175         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22176         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22177         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22178         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22179         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22181         file.
22182         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22184         file.
22185         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22187 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22189         * timezone/tzselect.ksh: Update from tzcode git revision
22190         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22191         * timezone/zdump.c: Likewise.
22192         * timezone/zic.c: Likewise.
22193         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22194         in TZVERSION setting, not $(PKGVERSION).
22195         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22196         REPORT_BUGS_TO settings.
22198         [BZ #14838]
22199         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22200         macro.
22202 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22204         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22205         detection to immediately after _FP_ROUND().
22206         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22207         bits are 0.
22209 2012-11-11  David S. Miller  <davem@davemloft.net>
22211         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22212         inttypes.h
22213         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22214         __close rather than their public counterparts.
22216 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22218         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22219         file.
22220         [UNIX98] (sem_timedwait): Do not expect.
22221         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22222         [XPG4 || UNIX98] (sockatmark): Do not expect.
22223         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22224         (clock_getcpuclockid): Do not expect.
22225         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22226         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22227         Do not expect.
22228         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22229         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22230         [UNIX98] (vwscanf): Likewise.
22231         [UNIX98] (vswscanf): Likewise.
22233 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22235         * timezone/version.h: Remove file.
22236         * timezone/README: Do not refer to version.h.
22237         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22238         $(objpfx)version.h.
22239         ($(objpfx)zdump.o): Likewise.
22240         ($(objpfx)version.h): New target.
22242         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22243         2012i.
22244         * timezone/README: Don't mention modification to tzselect.ksh.
22245         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22246         work on unmodified tzselect.ksh.  Substitute version numbers in
22247         tzselect.ksh.
22249         * Makefile (format-me): Remove.
22250         (INSTALL): Adjust indentation.  Use commands directly instead of
22251         using $(format-me).
22253         * aclocal.m4 (ACX_PKGVERSION): New macro.
22254         (ACX_BUGURL): Likewise.
22255         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22256         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22257         (REPORT_BUGS_TO): Likewise.
22258         * configure: Regenerated.
22259         * config.h.in (PKGVERSION): New macro.
22260         (REPORT_BUGS_TO): Likewise.
22261         * config.make.in (PKGVERSION): New variable.
22262         (PKGVERSION_TEXI): Likewise.
22263         (REPORT_BUGS_TO): Likewise.
22264         (REPORT_BUGS_TEXI): Likewise.
22265         * Makefile (format-me): Use -I$(common-objpfx)manual.
22266         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22267         ($(common-objpfx)manual/%): New target.
22268         (manual/%): Remove target.
22269         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22270         (print_version): Use PKGVERSION.
22271         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22272         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22273         and REPORT_BUGS_TO.
22274         ($(objpfx)xtrace): Likewise.
22275         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22276         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22277         (print_version): Use PKGVERSION.
22278         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22279         (do_version): Use PKGVERSION.
22280         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22281         REPORT_BUGS_TO.
22282         (common-ldd-rewrite): Likewise.
22283         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22284         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22285         (print_version): Use PKGVERSION.
22286         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22287         * elf/pldd.c (argp_program_bug_address): Remove variable.
22288         (more_help): New function.
22289         (argp): Use more_help.
22290         (print_version): Use PKGVERSION.
22291         * elf/sln.c (main): Use PKGVERSION.
22292         (usage): Use REPORT_BUGS_TO.
22293         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22294         (top level): Use PKGVERSION.
22295         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22296         (print_version): Use PKGVERSION.
22297         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22298         (print_version): Use PKGVERSION.
22299         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22300         (print_version): Use PKGVERSION.
22301         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22302         (print_version): Use PKGVERSION.
22303         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22304         (print_version): Use PKGVERSION.
22305         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22306         (print_version): Use PKGVERSION.
22307         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22308         and BUGURL.
22309         ($(objpfx)memusage): Likewise.
22310         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22311         (do_version): Use PKGVERSION.
22312         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22313         (print_version): Use PKGVERSION.
22314         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22315         ($PKGVERSION): New variable.
22316         ($REPORT_BUGS_TO): Likewise.
22317         (usage): Use $REPORT_BUGS_TO.
22318         (top level): Use $PKGVERSION.
22319         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22320         ($(objpfx)pkgvers.texi): New rule.
22321         ($(objpfx)stamp-pkgvers): Likewise.
22322         * manual/install.texi: Include pkgvers.texi.
22323         (--with-pkgversion): Document new configure option.
22324         (--with-bugurl): Likewise.
22325         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22326         than necessarily for this particular distribution.  Use
22327         REPORT_BUGS_TO for where to report bugs.
22328         * INSTALL: Regenerated.
22329         * manual/libc.texinfo: Include pkgvers.texi.
22330         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22331         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22332         (print_version): Use PKGVERSION.
22333         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22334         (print_version): Use PKGVERSION.
22335         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22336         (print_version): Use PKGVERSION.
22337         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22338         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22339         macro.
22340         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22341         (print_version): Use PKGVERSION.
22342         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22343         (print_version): Use PKGVERSION.
22344         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22345         and PKGVERSION.
22347         * timezone/checktab.awk: Update from tzcode 2012i.
22348         * timezone/ialloc.c: Likewise.
22349         * timezone/private.h: Likewise.
22350         * timezone/scheck.c: Likewise.
22351         * timezone/tzfile.h: Likewise.
22352         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22353         (TZVERSION): Hardcode tzcode version number.
22354         * timezone/zdump.c: Update from tzcode 2012i.
22355         * timezone/zic.c: Likewise.
22356         * timezone/version.h: New file.
22357         * timezone/README: Describe version.h.  Update upstream location.
22359         [BZ #14824]
22360         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22361         (mktemp): Enable declaration.
22362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22366         Likewise.
22367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22368         Likewise.
22369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22370         Likewise.
22371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22372         Likewise.
22373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22374         Likewise.
22375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22376         Likewise.
22378         [BZ #14821]
22379         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22380         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22381         for copies of such integer values.
22382         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22383         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22385 2012-11-09  Andreas Jaeger  <aj@suse.de>
22387         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22388         definitions and declarations that are provided by
22389         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22391 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22393         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22394         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22395         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22396         definition.
22398 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22400         * elf/elf.h: Update comment before AArch64 relocations.
22402 2012-11-07  David S. Miller  <davem@davemloft.net>
22404         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22405         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22406         (__start_context): Declare.
22407         (__makecontext_ret): Delete.
22408         (__makecontext): Hook up __start_context instead of
22409         __makecontext_ret.
22410         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22411         (sysdep_routines): Add __start_context when in stdlib.
22413 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22415         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22416         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22417         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22418         hardcoded "nm".
22419         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22420         (READELF): New variable.  Use it instead of hardcoded "readelf".
22422 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22424         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22425         * sysdeps/x86/Makefile: Here.
22426         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22427         * sysdeps/x86/tst-xmmymm.sh: This.
22429 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22431         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22432         expectations.
22433         [UNIX98] (pthread_barrier_t): Do not expect.
22434         [UNIX98] (pthread_barrierattr_t): Likewise.
22435         [UNIX98] (pthread_spinlock_t): Likewise.
22436         [UNIX98] (pthread_barrier_destroy): Likewise.
22437         [UNIX98] (pthread_barrier_init): Likewise.
22438         [UNIX98] (pthread_barrier_wait): Likewise.
22439         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22440         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22441         [UNIX98] (pthread_barrierattr_init): Likewise.
22442         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22443         [UNIX98] (pthread_getcpuclockid): Likewise.
22444         [UNIX98] (pthread_mutex_timedlock): Likewise.
22445         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22446         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22447         [UNIX98] (pthread_sigmask): Likewise.
22448         [UNIX98] (pthread_spin_destroy): Likewise.
22449         [UNIX98] (pthread_spin_init): Likewise.
22450         [UNIX98] (pthread_spin_lock): Likewise.
22451         [UNIX98] (pthread_spin_trylock): Likewise.
22452         [UNIX98] (pthread_spin_unlock): Likewise.
22453         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22454         Do not expect.
22455         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22456         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22457         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22458         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22459         [XPG3 || XPG4] (pthread_key_t): Likewise.
22460         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22461         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22462         [XPG3 || XPG4] (pthread_once_t): Likewise.
22463         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22464         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22465         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22466         [XPG3 || XPG4] (pthread_t): Likewise.
22468         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22469         not expect.
22470         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22472         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22473         Change function return type to int.
22475         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22476         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22477         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22478         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22479         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22480         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22481         [!POSIX] (posix_madvise): Likewise.
22482         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22483         && !UNIX98].
22484         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22485         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22486         (mode_t): Likewise.
22487         (posix_mem_offset): Likewise.
22488         (posix_typed_mem_get_info): Likewise.
22489         (posix_typed_mem_open): Likewise.
22491         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22492         Change condition to [XOPEN2K8].
22494         * conform/conformtest.pl: Preprocess allow-header data with -x c
22495         instead of from stdin.
22496         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22497         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22498         [C99-based standards] (cerfc): Likewise.
22499         [C99-based standards] (cexp2): Likewise.
22500         [C99-based standards] (cexpm1): Likewise.
22501         [C99-based standards] (clog10): Likewise.
22502         [C99-based standards] (clog1p): Likewise.
22503         [C99-based standards] (clog2): Likewise.
22504         [C99-based standards] (clgamma): Likewise.
22505         [C99-based standards] (ctgamma): Likewise.
22506         [C99-based standards] (cerff): Likewise.
22507         [C99-based standards] (cerfcf): Likewise.
22508         [C99-based standards] (cexp2f): Likewise.
22509         [C99-based standards] (cexpm1f): Likewise.
22510         [C99-based standards] (clog10f): Likewise.
22511         [C99-based standards] (clog1pf): Likewise.
22512         [C99-based standards] (clog2f): Likewise.
22513         [C99-based standards] (clgammaf): Likewise.
22514         [C99-based standards] (ctgammaf): Likewise.
22515         [C99-based standards] (cerfl): Likewise.
22516         [C99-based standards] (cerfcl): Likewise.
22517         [C99-based standards] (cexp2l): Likewise.
22518         [C99-based standards] (cexpm1l): Likewise.
22519         [C99-based standards] (clog10l): Likewise.
22520         [C99-based standards] (clog1pl): Likewise.
22521         [C99-based standards] (clog2l): Likewise.
22522         [C99-based standards] (clgammal): Likewise.
22523         [C99-based standards] (ctgammal): Likewise.
22524         * conform/data/inttypes.h-data [C99-based standards]: Include
22525         stdint.h-data.  Remove all expectations for stdint.h contents.
22526         [C99-based standards] (PRI*): Do not allow.
22527         [C99-based standards] (SCN*): Likewise.
22528         [C99-based standards] (*_t): Likewise.
22529         [C99-based-standards] (PRId8): Expect macro.
22530         [C99-based-standards] (PRIi8): Likewise.
22531         [C99-based-standards] (PRIo8): Likewise.
22532         [C99-based-standards] (PRIu8): Likewise.
22533         [C99-based-standards] (PRIx8): Likewise.
22534         [C99-based-standards] (PRIX8): Likewise.
22535         [C99-based-standards] (SCNd8): Likewise.
22536         [C99-based-standards] (SCNi8): Likewise.
22537         [C99-based-standards] (SCNo8): Likewise.
22538         [C99-based-standards] (SCNu8): Likewise.
22539         [C99-based-standards] (SCNx8): Likewise.
22540         [C99-based-standards] (PRIdLEAST8): Likewise.
22541         [C99-based-standards] (PRIiLEAST8): Likewise.
22542         [C99-based-standards] (PRIoLEAST8): Likewise.
22543         [C99-based-standards] (PRIuLEAST8): Likewise.
22544         [C99-based-standards] (PRIxLEAST8): Likewise.
22545         [C99-based-standards] (PRIXLEAST8): Likewise.
22546         [C99-based-standards] (SCNdLEAST8): Likewise.
22547         [C99-based-standards] (SCNiLEAST8): Likewise.
22548         [C99-based-standards] (SCNoLEAST8): Likewise.
22549         [C99-based-standards] (SCNuLEAST8): Likewise.
22550         [C99-based-standards] (SCNxLEAST8): Likewise.
22551         [C99-based-standards] (PRIdFAST8): Likewise.
22552         [C99-based-standards] (PRIiFAST8): Likewise.
22553         [C99-based-standards] (PRIoFAST8): Likewise.
22554         [C99-based-standards] (PRIuFAST8): Likewise.
22555         [C99-based-standards] (PRIxFAST8): Likewise.
22556         [C99-based-standards] (PRIXFAST8): Likewise.
22557         [C99-based-standards] (SCNdFAST8): Likewise.
22558         [C99-based-standards] (SCNiFAST8): Likewise.
22559         [C99-based-standards] (SCNoFAST8): Likewise.
22560         [C99-based-standards] (SCNuFAST8): Likewise.
22561         [C99-based-standards] (SCNxFAST8): Likewise.
22562         [C99-based-standards] (PRId16): Likewise.
22563         [C99-based-standards] (PRIi16): Likewise.
22564         [C99-based-standards] (PRIo16): Likewise.
22565         [C99-based-standards] (PRIu16): Likewise.
22566         [C99-based-standards] (PRIx16): Likewise.
22567         [C99-based-standards] (PRIX16): Likewise.
22568         [C99-based-standards] (SCNd16): Likewise.
22569         [C99-based-standards] (SCNi16): Likewise.
22570         [C99-based-standards] (SCNo16): Likewise.
22571         [C99-based-standards] (SCNu16): Likewise.
22572         [C99-based-standards] (SCNx16): Likewise.
22573         [C99-based-standards] (PRIdLEAST16): Likewise.
22574         [C99-based-standards] (PRIiLEAST16): Likewise.
22575         [C99-based-standards] (PRIoLEAST16): Likewise.
22576         [C99-based-standards] (PRIuLEAST16): Likewise.
22577         [C99-based-standards] (PRIxLEAST16): Likewise.
22578         [C99-based-standards] (PRIXLEAST16): Likewise.
22579         [C99-based-standards] (SCNdLEAST16): Likewise.
22580         [C99-based-standards] (SCNiLEAST16): Likewise.
22581         [C99-based-standards] (SCNoLEAST16): Likewise.
22582         [C99-based-standards] (SCNuLEAST16): Likewise.
22583         [C99-based-standards] (SCNxLEAST16): Likewise.
22584         [C99-based-standards] (PRIdFAST16): Likewise.
22585         [C99-based-standards] (PRIiFAST16): Likewise.
22586         [C99-based-standards] (PRIoFAST16): Likewise.
22587         [C99-based-standards] (PRIuFAST16): Likewise.
22588         [C99-based-standards] (PRIxFAST16): Likewise.
22589         [C99-based-standards] (PRIXFAST16): Likewise.
22590         [C99-based-standards] (SCNdFAST16): Likewise.
22591         [C99-based-standards] (SCNiFAST16): Likewise.
22592         [C99-based-standards] (SCNoFAST16): Likewise.
22593         [C99-based-standards] (SCNuFAST16): Likewise.
22594         [C99-based-standards] (SCNxFAST16): Likewise.
22595         [C99-based-standards] (PRId32): Likewise.
22596         [C99-based-standards] (PRIi32): Likewise.
22597         [C99-based-standards] (PRIo32): Likewise.
22598         [C99-based-standards] (PRIu32): Likewise.
22599         [C99-based-standards] (PRIx32): Likewise.
22600         [C99-based-standards] (PRIX32): Likewise.
22601         [C99-based-standards] (SCNd32): Likewise.
22602         [C99-based-standards] (SCNi32): Likewise.
22603         [C99-based-standards] (SCNo32): Likewise.
22604         [C99-based-standards] (SCNu32): Likewise.
22605         [C99-based-standards] (SCNx32): Likewise.
22606         [C99-based-standards] (PRIdLEAST32): Likewise.
22607         [C99-based-standards] (PRIiLEAST32): Likewise.
22608         [C99-based-standards] (PRIoLEAST32): Likewise.
22609         [C99-based-standards] (PRIuLEAST32): Likewise.
22610         [C99-based-standards] (PRIxLEAST32): Likewise.
22611         [C99-based-standards] (PRIXLEAST32): Likewise.
22612         [C99-based-standards] (SCNdLEAST32): Likewise.
22613         [C99-based-standards] (SCNiLEAST32): Likewise.
22614         [C99-based-standards] (SCNoLEAST32): Likewise.
22615         [C99-based-standards] (SCNuLEAST32): Likewise.
22616         [C99-based-standards] (SCNxLEAST32): Likewise.
22617         [C99-based-standards] (PRIdFAST32): Likewise.
22618         [C99-based-standards] (PRIiFAST32): Likewise.
22619         [C99-based-standards] (PRIoFAST32): Likewise.
22620         [C99-based-standards] (PRIuFAST32): Likewise.
22621         [C99-based-standards] (PRIxFAST32): Likewise.
22622         [C99-based-standards] (PRIXFAST32): Likewise.
22623         [C99-based-standards] (SCNdFAST32): Likewise.
22624         [C99-based-standards] (SCNiFAST32): Likewise.
22625         [C99-based-standards] (SCNoFAST32): Likewise.
22626         [C99-based-standards] (SCNuFAST32): Likewise.
22627         [C99-based-standards] (SCNxFAST32): Likewise.
22628         [C99-based-standards] (PRId64): Likewise.
22629         [C99-based-standards] (PRIi64): Likewise.
22630         [C99-based-standards] (PRIo64): Likewise.
22631         [C99-based-standards] (PRIu64): Likewise.
22632         [C99-based-standards] (PRIx64): Likewise.
22633         [C99-based-standards] (PRIX64): Likewise.
22634         [C99-based-standards] (SCNd64): Likewise.
22635         [C99-based-standards] (SCNi64): Likewise.
22636         [C99-based-standards] (SCNo64): Likewise.
22637         [C99-based-standards] (SCNu64): Likewise.
22638         [C99-based-standards] (SCNx64): Likewise.
22639         [C99-based-standards] (PRIdLEAST64): Likewise.
22640         [C99-based-standards] (PRIiLEAST64): Likewise.
22641         [C99-based-standards] (PRIoLEAST64): Likewise.
22642         [C99-based-standards] (PRIuLEAST64): Likewise.
22643         [C99-based-standards] (PRIxLEAST64): Likewise.
22644         [C99-based-standards] (PRIXLEAST64): Likewise.
22645         [C99-based-standards] (SCNdLEAST64): Likewise.
22646         [C99-based-standards] (SCNiLEAST64): Likewise.
22647         [C99-based-standards] (SCNoLEAST64): Likewise.
22648         [C99-based-standards] (SCNuLEAST64): Likewise.
22649         [C99-based-standards] (SCNxLEAST64): Likewise.
22650         [C99-based-standards] (PRIdFAST64): Likewise.
22651         [C99-based-standards] (PRIiFAST64): Likewise.
22652         [C99-based-standards] (PRIoFAST64): Likewise.
22653         [C99-based-standards] (PRIuFAST64): Likewise.
22654         [C99-based-standards] (PRIxFAST64): Likewise.
22655         [C99-based-standards] (PRIXFAST64): Likewise.
22656         [C99-based-standards] (SCNdFAST64): Likewise.
22657         [C99-based-standards] (SCNiFAST64): Likewise.
22658         [C99-based-standards] (SCNoFAST64): Likewise.
22659         [C99-based-standards] (SCNuFAST64): Likewise.
22660         [C99-based-standards] (SCNxFAST64): Likewise.
22661         [C99-based-standards] (PRIdMAX): Likewise.
22662         [C99-based-standards] (PRIiMAX): Likewise.
22663         [C99-based-standards] (PRIoMAX): Likewise.
22664         [C99-based-standards] (PRIuMAX): Likewise.
22665         [C99-based-standards] (PRIxMAX): Likewise.
22666         [C99-based-standards] (PRIXMAX): Likewise.
22667         [C99-based-standards] (SCNdMAX): Likewise.
22668         [C99-based-standards] (SCNiMAX): Likewise.
22669         [C99-based-standards] (SCNoMAX): Likewise.
22670         [C99-based-standards] (SCNuMAX): Likewise.
22671         [C99-based-standards] (SCNxMAX): Likewise.
22672         [C99-based-standards] (PRIdPTR): Likewise.
22673         [C99-based-standards] (PRIiPTR): Likewise.
22674         [C99-based-standards] (PRIoPTR): Likewise.
22675         [C99-based-standards] (PRIuPTR): Likewise.
22676         [C99-based-standards] (PRIxPTR): Likewise.
22677         [C99-based-standards] (PRIXPTR): Likewise.
22678         [C99-based-standards] (SCNdPTR): Likewise.
22679         [C99-based-standards] (SCNiPTR): Likewise.
22680         [C99-based-standards] (SCNoPTR): Likewise.
22681         [C99-based-standards] (SCNuPTR): Likewise.
22682         [C99-based-standards] (SCNxPTR): Likewise.
22683         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22684         allow.
22685         * conform/data/stdint.h-data: Update comments to clarify
22686         requirements.
22687         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22688         type.
22689         [C99-based standards] (INT8_MAX): Likewise.
22690         [C99-based standards] (INT16_MIN): Likewise.
22691         [C99-based standards] (INT16_MAX): Likewise.
22692         [C99-based standards] (INT32_MIN): Likewise.
22693         [C99-based standards] (INT32_MAX): Likewise.
22694         [C99-based standards] (INT64_MIN): Likewise.
22695         [C99-based standards] (INT64_MAX): Likewise.
22696         [C99-based standards] (UINT8_MAX): Likewise.
22697         [C99-based standards] (UINT16_MAX): Likewise.
22698         [C99-based standards] (UINT32_MAX): Likewise.
22699         [C99-based standards] (UINT64_MAX): Likewise.
22700         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22701         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22702         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22703         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22704         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22705         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22706         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22707         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22708         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22709         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22710         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22711         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22712         [C99-based standards] (INT_FAST8_MIN): Likewise.
22713         [C99-based standards] (INT_FAST8_MAX): Likewise.
22714         [C99-based standards] (INT_FAST16_MIN): Likewise.
22715         [C99-based standards] (INT_FAST16_MAX): Likewise.
22716         [C99-based standards] (INT_FAST32_MIN): Likewise.
22717         [C99-based standards] (INT_FAST32_MAX): Likewise.
22718         [C99-based standards] (INT_FAST64_MIN): Likewise.
22719         [C99-based standards] (INT_FAST64_MAX): Likewise.
22720         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22721         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22722         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22723         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22724         [C99-based standards] (INTPTR_MIN): Likewise.
22725         [C99-based standards] (INTPTR_MAX): Likewise.
22726         [C99-based standards] (UINTPTR_MAX): Likewise.
22727         [C99-based standards] (INTMAX_MIN): Likewise.
22728         [C99-based standards] (INTMAX_MAX): Likewise.
22729         [C99-based standards] (UINTMAX_MAX): Likewise.
22730         [C99-based standards] (PTRDIFF_MIN): Likewise.
22731         [C99-based standards] (PTRDIFF_MAX): Likewise.
22732         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22733         [C99-based standards] (SIZE_MAX): Likewise.
22734         [C99-based standards] (WCHAR_MAX): Likewise.
22735         [C99-based standards] (WINT_MAX): Likewise.
22736         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22737         constraint on value.
22738         [C99-based standards] (WCHAR_MIN): Likewise.
22739         [C99-based standards] (WINT_MIN): Likewise.
22740         [C99-based standards] (*_t): Allow.
22741         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22742         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22743         Include math.h-data and complex.h-data.  Remove all expectations
22744         of math.h and complex.h contents.
22745         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22746         at end of line.
22747         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22748         (struct tm): Expect tag.
22749         [C99-based-standards] (wcstof): Expect function.
22750         [C99-based-standards] (wcstold): Likewise.
22751         [C99-based-standards] (wcstoll): Likewise.
22752         [C99-based-standards] (wcstoull): Likewise.
22753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22754         macro-int-constant.  Specify type.
22755         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22756         constraint on value.
22757         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22758         Specify type.
22759         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22760         Specify value.
22761         [ISO C standards]: Do not allow headers.
22762         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22763         wcs[abcdefghijklmnopqrstuvwxyz]*.
22764         [ISO C standards] (*_t): Do not allow.
22765         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22766         Expect function.
22767         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22768         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22769         Specify type.
22770         [ISO C standards]: Do not allow headers.
22771         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22772         is[abcdefghijklmnopqrstuvwxyz]*.
22773         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22774         to[abcdefghijklmnopqrstuvwxyz]*.
22775         [ISO C standards] (*_t): Do not allow.
22776         * conform/data/stdalign.h-data: New file.
22777         * conform/data/stdbool.h-data: Likewise.
22778         * conform/data/stdnoreturn.h-data: Likewise.
22780 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22782         [BZ #14815]
22783         * manual/filesys.texi (Directory Entries): Typo fix.
22784         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22786 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22788         * elf/elf.h (EM_AARCH64): New macro.
22789         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22790         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22791         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22792         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22793         (R_AARCH64_TLSDESC): Likewise.
22794         (NT_ARM_TLS): Likewise.
22795         (NT_ARM_HW_BREAK): Likewise.
22796         (NT_ARM_HW_WATCH): Likewise.
22798 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22800         [BZ #14811]
22801         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22802         (__ieee754_powl): Saturate nonzero exponents with absolute value
22803         below 0x1p-79 to +/- 0x1p-79.
22804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22805         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22806         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22807         nonzero exponents with absolute value below 0x1p-32 to +/-
22808         0x1p-32.
22809         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22810         (__ieee754_powl): Saturate nonzero exponents with absolute value
22811         below 0x1p-79 to +/- 0x1p-79.
22812         * math/libm-test.inc (pow_test): Add more tests.
22814 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22816         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22817         _dl_s390_cap_flags with kernel. Increase string length.
22818         (_dl_s390_platforms): Add z196 and zEC12.
22820 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22822         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22823         Change XOPEN21K to XOPEN2K.
22825 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22827         * string/memmove.c: Use memcpy when possible.
22829 2012-11-06  Andreas Jaeger  <aj@suse.de>
22831         * po/eo.po: Update from translation team.
22833 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22835         [BZ #14793]
22836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22837         exponent and small x and y exponents, scale x or y up.  Increase
22838         by 2 the exponent used in scaling up.
22839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22841         * math/libm-test.inc (fma_test): Add more tests.
22842         (fma_test_towardzero): Likewise.
22843         (fma_test_downward): Likewise.
22844         (fma_test_upward): Likewise.
22846 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22848         [BZ #14805]
22849         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22850         fenv_t *.
22852         [BZ #14801]
22853         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22854         namespace for names of struct fields.
22855         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22856         fenv_t fields.
22857         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22858         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22860 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22862         [BZ #3665]
22863         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22865 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22867         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22868         PTR_DEMANGLE.
22870         [BZ #5246]
22871         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22872         PTR_DEMANGLE.
22874 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22876         [BZ #14797]
22877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22878         definitely overflow as x * y not x * y + z.
22879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22881         * math/libm-test.inc (fma_test): Add more tests.
22882         (fma_test_towardzero): Likewise.
22883         (fma_test_downward): Likewise.
22884         (fma_test_upward): Likewise.
22886 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22888         [BZ #157]
22890         * include/stub-tag.h: Remove file.
22891         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22892         '#include' of it.
22893         * manual/maint.texi (Porting): Don't reference it.
22894         * Makerules ($(objpfx)stubs): Likewise.
22895         * dirent/closedir.c: Don't include <stub-tag.h>.
22896         * dirent/dirfd.c: Likewise.
22897         * dirent/fdopendir.c: Likewise.
22898         * dirent/getdents.c: Likewise.
22899         * dirent/getdents64.c: Likewise.
22900         * dirent/opendir.c: Likewise.
22901         * dirent/readdir.c: Likewise.
22902         * dirent/readdir64.c: Likewise.
22903         * dirent/readdir64_r.c: Likewise.
22904         * dirent/readdir_r.c: Likewise.
22905         * dirent/rewinddir.c: Likewise.
22906         * dirent/seekdir.c: Likewise.
22907         * dirent/telldir.c: Likewise.
22908         * gmon/profil.c: Likewise.
22909         * grp/setgroups.c: Likewise.
22910         * inet/if_index.c: Likewise.
22911         * io/access.c: Likewise.
22912         * io/chdir.c: Likewise.
22913         * io/chmod.c: Likewise.
22914         * io/chown.c: Likewise.
22915         * io/close.c: Likewise.
22916         * io/dup.c: Likewise.
22917         * io/dup2.c: Likewise.
22918         * io/dup3.c: Likewise.
22919         * io/euidaccess.c: Likewise.
22920         * io/faccessat.c: Likewise.
22921         * io/fchdir.c: Likewise.
22922         * io/fchmod.c: Likewise.
22923         * io/fchmodat.c: Likewise.
22924         * io/fchown.c: Likewise.
22925         * io/fchownat.c: Likewise.
22926         * io/fcntl.c: Likewise.
22927         * io/flock.c: Likewise.
22928         * io/fstatfs.c: Likewise.
22929         * io/fstatfs64.c: Likewise.
22930         * io/fstatvfs.c: Likewise.
22931         * io/fstatvfs64.c: Likewise.
22932         * io/futimens.c: Likewise.
22933         * io/fxstat.c: Likewise.
22934         * io/fxstat64.c: Likewise.
22935         * io/fxstatat.c: Likewise.
22936         * io/fxstatat64.c: Likewise.
22937         * io/getcwd.c: Likewise.
22938         * io/isatty.c: Likewise.
22939         * io/lchmod.c: Likewise.
22940         * io/lchown.c: Likewise.
22941         * io/link.c: Likewise.
22942         * io/linkat.c: Likewise.
22943         * io/lseek.c: Likewise.
22944         * io/lseek64.c: Likewise.
22945         * io/lxstat64.c: Likewise.
22946         * io/mkdir.c: Likewise.
22947         * io/mkdirat.c: Likewise.
22948         * io/mkfifo.c: Likewise.
22949         * io/mkfifoat.c: Likewise.
22950         * io/open.c: Likewise.
22951         * io/open64.c: Likewise.
22952         * io/openat.c: Likewise.
22953         * io/openat64.c: Likewise.
22954         * io/pipe.c: Likewise.
22955         * io/pipe2.c: Likewise.
22956         * io/poll.c: Likewise.
22957         * io/posix_fadvise.c: Likewise.
22958         * io/posix_fadvise64.c: Likewise.
22959         * io/posix_fallocate.c: Likewise.
22960         * io/posix_fallocate64.c: Likewise.
22961         * io/read.c: Likewise.
22962         * io/readlink.c: Likewise.
22963         * io/readlinkat.c: Likewise.
22964         * io/rmdir.c: Likewise.
22965         * io/sendfile.c: Likewise.
22966         * io/sendfile64.c: Likewise.
22967         * io/statfs.c: Likewise.
22968         * io/statfs64.c: Likewise.
22969         * io/statvfs.c: Likewise.
22970         * io/statvfs64.c: Likewise.
22971         * io/symlink.c: Likewise.
22972         * io/symlinkat.c: Likewise.
22973         * io/ttyname.c: Likewise.
22974         * io/ttyname_r.c: Likewise.
22975         * io/umask.c: Likewise.
22976         * io/unlink.c: Likewise.
22977         * io/unlinkat.c: Likewise.
22978         * io/utime.c: Likewise.
22979         * io/utimensat.c: Likewise.
22980         * io/write.c: Likewise.
22981         * io/xmknod.c: Likewise.
22982         * io/xmknodat.c: Likewise.
22983         * io/xstat.c: Likewise.
22984         * io/xstat64.c: Likewise.
22985         * login/getpt.c: Likewise.
22986         * login/grantpt.c: Likewise.
22987         * login/unlockpt.c: Likewise.
22988         * math/e_acoshl.c: Likewise.
22989         * math/e_acosl.c: Likewise.
22990         * math/e_asinl.c: Likewise.
22991         * math/e_atan2l.c: Likewise.
22992         * math/e_atanhl.c: Likewise.
22993         * math/e_coshl.c: Likewise.
22994         * math/e_expl.c: Likewise.
22995         * math/e_fmodl.c: Likewise.
22996         * math/e_gammal_r.c: Likewise.
22997         * math/e_hypotl.c: Likewise.
22998         * math/e_j0l.c: Likewise.
22999         * math/e_j1l.c: Likewise.
23000         * math/e_jnl.c: Likewise.
23001         * math/e_lgammal_r.c: Likewise.
23002         * math/e_log10l.c: Likewise.
23003         * math/e_log2l.c: Likewise.
23004         * math/e_logl.c: Likewise.
23005         * math/e_powl.c: Likewise.
23006         * math/e_rem_pio2l.c: Likewise.
23007         * math/e_sinhl.c: Likewise.
23008         * math/e_sqrtl.c: Likewise.
23009         * math/fclrexcpt.c: Likewise.
23010         * math/fedisblxcpt.c: Likewise.
23011         * math/feenablxcpt.c: Likewise.
23012         * math/fegetenv.c: Likewise.
23013         * math/fegetexcept.c: Likewise.
23014         * math/fegetround.c: Likewise.
23015         * math/feholdexcpt.c: Likewise.
23016         * math/fesetenv.c: Likewise.
23017         * math/fesetround.c: Likewise.
23018         * math/feupdateenv.c: Likewise.
23019         * math/fgetexcptflg.c: Likewise.
23020         * math/fraiseexcpt.c: Likewise.
23021         * math/fsetexcptflg.c: Likewise.
23022         * math/ftestexcept.c: Likewise.
23023         * math/k_cosl.c: Likewise.
23024         * math/k_rem_pio2l.c: Likewise.
23025         * math/k_sinl.c: Likewise.
23026         * math/k_tanl.c: Likewise.
23027         * math/s_asinhl.c: Likewise.
23028         * math/s_atanl.c: Likewise.
23029         * math/s_cbrtl.c: Likewise.
23030         * math/s_erfl.c: Likewise.
23031         * math/s_expm1l.c: Likewise.
23032         * math/s_log1pl.c: Likewise.
23033         * math/s_tanhl.c: Likewise.
23034         * misc/acct.c: Likewise.
23035         * misc/brk.c: Likewise.
23036         * misc/chflags.c: Likewise.
23037         * misc/chroot.c: Likewise.
23038         * misc/fchflags.c: Likewise.
23039         * misc/fgetxattr.c: Likewise.
23040         * misc/flistxattr.c: Likewise.
23041         * misc/fremovexattr.c: Likewise.
23042         * misc/fsetxattr.c: Likewise.
23043         * misc/fsync.c: Likewise.
23044         * misc/ftruncate.c: Likewise.
23045         * misc/futimes.c: Likewise.
23046         * misc/futimesat.c: Likewise.
23047         * misc/getdomain.c: Likewise.
23048         * misc/getdtsz.c: Likewise.
23049         * misc/gethostid.c: Likewise.
23050         * misc/gethostname.c: Likewise.
23051         * misc/getloadavg.c: Likewise.
23052         * misc/getpagesize.c: Likewise.
23053         * misc/getsysstats.c: Likewise.
23054         * misc/getxattr.c: Likewise.
23055         * misc/gtty.c: Likewise.
23056         * misc/ioctl.c: Likewise.
23057         * misc/lgetxattr.c: Likewise.
23058         * misc/listxattr.c: Likewise.
23059         * misc/llistxattr.c: Likewise.
23060         * misc/lremovexattr.c: Likewise.
23061         * misc/lsetxattr.c: Likewise.
23062         * misc/lutimes.c: Likewise.
23063         * misc/madvise.c: Likewise.
23064         * misc/mincore.c: Likewise.
23065         * misc/mlock.c: Likewise.
23066         * misc/mlockall.c: Likewise.
23067         * misc/mmap.c: Likewise.
23068         * misc/mprotect.c: Likewise.
23069         * misc/msync.c: Likewise.
23070         * misc/munlock.c: Likewise.
23071         * misc/munlockall.c: Likewise.
23072         * misc/munmap.c: Likewise.
23073         * misc/preadv.c: Likewise.
23074         * misc/preadv64.c: Likewise.
23075         * misc/ptrace.c: Likewise.
23076         * misc/pwritev.c: Likewise.
23077         * misc/pwritev64.c: Likewise.
23078         * misc/readv.c: Likewise.
23079         * misc/reboot.c: Likewise.
23080         * misc/remap_file_pages.c: Likewise.
23081         * misc/removexattr.c: Likewise.
23082         * misc/revoke.c: Likewise.
23083         * misc/select.c: Likewise.
23084         * misc/setdomain.c: Likewise.
23085         * misc/setegid.c: Likewise.
23086         * misc/seteuid.c: Likewise.
23087         * misc/sethostid.c: Likewise.
23088         * misc/sethostname.c: Likewise.
23089         * misc/setregid.c: Likewise.
23090         * misc/setreuid.c: Likewise.
23091         * misc/setxattr.c: Likewise.
23092         * misc/sstk.c: Likewise.
23093         * misc/stty.c: Likewise.
23094         * misc/swapoff.c: Likewise.
23095         * misc/swapon.c: Likewise.
23096         * misc/sync.c: Likewise.
23097         * misc/syncfs.c: Likewise.
23098         * misc/syscall.c: Likewise.
23099         * misc/truncate.c: Likewise.
23100         * misc/ualarm.c: Likewise.
23101         * misc/usleep.c: Likewise.
23102         * misc/ustat.c: Likewise.
23103         * misc/utimes.c: Likewise.
23104         * misc/vhangup.c: Likewise.
23105         * misc/writev.c: Likewise.
23106         * posix/_exit.c: Likewise.
23107         * posix/alarm.c: Likewise.
23108         * posix/execve.c: Likewise.
23109         * posix/fexecve.c: Likewise.
23110         * posix/fork.c: Likewise.
23111         * posix/fpathconf.c: Likewise.
23112         * posix/getaddrinfo.c: Likewise.
23113         * posix/getegid.c: Likewise.
23114         * posix/geteuid.c: Likewise.
23115         * posix/getgid.c: Likewise.
23116         * posix/getgroups.c: Likewise.
23117         * posix/getlogin.c: Likewise.
23118         * posix/getlogin_r.c: Likewise.
23119         * posix/getpgid.c: Likewise.
23120         * posix/getpid.c: Likewise.
23121         * posix/getppid.c: Likewise.
23122         * posix/getresgid.c: Likewise.
23123         * posix/getresuid.c: Likewise.
23124         * posix/getsid.c: Likewise.
23125         * posix/getuid.c: Likewise.
23126         * posix/glob64.c: Likewise.
23127         * posix/nanosleep.c: Likewise.
23128         * posix/pathconf.c: Likewise.
23129         * posix/pause.c: Likewise.
23130         * posix/posix_madvise.c: Likewise.
23131         * posix/pread.c: Likewise.
23132         * posix/pread64.c: Likewise.
23133         * posix/pwrite.c: Likewise.
23134         * posix/pwrite64.c: Likewise.
23135         * posix/sched_getaffinity.c: Likewise.
23136         * posix/sched_getp.c: Likewise.
23137         * posix/sched_gets.c: Likewise.
23138         * posix/sched_primax.c: Likewise.
23139         * posix/sched_primin.c: Likewise.
23140         * posix/sched_rr_gi.c: Likewise.
23141         * posix/sched_setaffinity.c: Likewise.
23142         * posix/sched_setp.c: Likewise.
23143         * posix/sched_sets.c: Likewise.
23144         * posix/sched_yield.c: Likewise.
23145         * posix/setgid.c: Likewise.
23146         * posix/setlogin.c: Likewise.
23147         * posix/setpgid.c: Likewise.
23148         * posix/setresgid.c: Likewise.
23149         * posix/setresuid.c: Likewise.
23150         * posix/setsid.c: Likewise.
23151         * posix/setuid.c: Likewise.
23152         * posix/sleep.c: Likewise.
23153         * posix/spawni.c: Likewise.
23154         * posix/sysconf.c: Likewise.
23155         * posix/times.c: Likewise.
23156         * posix/wait.c: Likewise.
23157         * posix/wait3.c: Likewise.
23158         * posix/wait4.c: Likewise.
23159         * posix/waitpid.c: Likewise.
23160         * resolv/gai_sigqueue.c: Likewise.
23161         * resource/getpriority.c: Likewise.
23162         * resource/getrlimit.c: Likewise.
23163         * resource/getrusage.c: Likewise.
23164         * resource/nice.c: Likewise.
23165         * resource/setpriority.c: Likewise.
23166         * resource/setrlimit.c: Likewise.
23167         * resource/ulimit.c: Likewise.
23168         * rt/aio_cancel.c: Likewise.
23169         * rt/aio_fsync.c: Likewise.
23170         * rt/aio_read.c: Likewise.
23171         * rt/aio_sigqueue.c: Likewise.
23172         * rt/aio_suspend.c: Likewise.
23173         * rt/aio_write.c: Likewise.
23174         * rt/clock_getres.c: Likewise.
23175         * rt/clock_gettime.c: Likewise.
23176         * rt/clock_nanosleep.c: Likewise.
23177         * rt/clock_settime.c: Likewise.
23178         * rt/lio_listio.c: Likewise.
23179         * rt/mq_close.c: Likewise.
23180         * rt/mq_getattr.c: Likewise.
23181         * rt/mq_notify.c: Likewise.
23182         * rt/mq_open.c: Likewise.
23183         * rt/mq_receive.c: Likewise.
23184         * rt/mq_send.c: Likewise.
23185         * rt/mq_setattr.c: Likewise.
23186         * rt/mq_timedreceive.c: Likewise.
23187         * rt/mq_timedsend.c: Likewise.
23188         * rt/mq_unlink.c: Likewise.
23189         * rt/shm_open.c: Likewise.
23190         * rt/shm_unlink.c: Likewise.
23191         * rt/timer_create.c: Likewise.
23192         * rt/timer_delete.c: Likewise.
23193         * rt/timer_getoverr.c: Likewise.
23194         * rt/timer_gettime.c: Likewise.
23195         * rt/timer_settime.c: Likewise.
23196         * setjmp/__longjmp.c: Likewise.
23197         * setjmp/setjmp.c: Likewise.
23198         * signal/kill.c: Likewise.
23199         * signal/killpg.c: Likewise.
23200         * signal/raise.c: Likewise.
23201         * signal/sigaction.c: Likewise.
23202         * signal/sigaltstack.c: Likewise.
23203         * signal/sigblock.c: Likewise.
23204         * signal/sigignore.c: Likewise.
23205         * signal/sigintr.c: Likewise.
23206         * signal/signal.c: Likewise.
23207         * signal/sigpause.c: Likewise.
23208         * signal/sigpending.c: Likewise.
23209         * signal/sigqueue.c: Likewise.
23210         * signal/sigreturn.c: Likewise.
23211         * signal/sigset.c: Likewise.
23212         * signal/sigsetmask.c: Likewise.
23213         * signal/sigstack.c: Likewise.
23214         * signal/sigsuspend.c: Likewise.
23215         * signal/sigtimedwait.c: Likewise.
23216         * signal/sigvec.c: Likewise.
23217         * signal/sigwait.c: Likewise.
23218         * signal/sigwaitinfo.c: Likewise.
23219         * signal/sysv_signal.c: Likewise.
23220         * socket/accept.c: Likewise.
23221         * socket/accept4.c: Likewise.
23222         * socket/bind.c: Likewise.
23223         * socket/connect.c: Likewise.
23224         * socket/getpeername.c: Likewise.
23225         * socket/getsockname.c: Likewise.
23226         * socket/getsockopt.c: Likewise.
23227         * socket/isfdtype.c: Likewise.
23228         * socket/listen.c: Likewise.
23229         * socket/recv.c: Likewise.
23230         * socket/recvfrom.c: Likewise.
23231         * socket/recvmsg.c: Likewise.
23232         * socket/send.c: Likewise.
23233         * socket/sendmsg.c: Likewise.
23234         * socket/sendto.c: Likewise.
23235         * socket/setsockopt.c: Likewise.
23236         * socket/shutdown.c: Likewise.
23237         * socket/sockatmark.c: Likewise.
23238         * socket/socket.c: Likewise.
23239         * socket/socketpair.c: Likewise.
23240         * stdio-common/ctermid.c: Likewise.
23241         * stdio-common/cuserid.c: Likewise.
23242         * stdio-common/remove.c: Likewise.
23243         * stdio-common/rename.c: Likewise.
23244         * stdio-common/renameat.c: Likewise.
23245         * stdio-common/tempname.c: Likewise.
23246         * stdlib/getcontext.c: Likewise.
23247         * stdlib/makecontext.c: Likewise.
23248         * stdlib/setcontext.c: Likewise.
23249         * stdlib/swapcontext.c: Likewise.
23250         * stdlib/system.c: Likewise.
23251         * streams/fattach.c: Likewise.
23252         * streams/fdetach.c: Likewise.
23253         * streams/getmsg.c: Likewise.
23254         * streams/getpmsg.c: Likewise.
23255         * streams/putmsg.c: Likewise.
23256         * streams/putpmsg.c: Likewise.
23257         * sysdeps/unix/bsd/getpt.c: Likewise.
23258         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23259         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23260         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23262         Likewise.
23263         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23264         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23265         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23266         * sysvipc/msgctl.c: Likewise.
23267         * sysvipc/msgget.c: Likewise.
23268         * sysvipc/msgrcv.c: Likewise.
23269         * sysvipc/msgsnd.c: Likewise.
23270         * sysvipc/semctl.c: Likewise.
23271         * sysvipc/semget.c: Likewise.
23272         * sysvipc/semop.c: Likewise.
23273         * sysvipc/semtimedop.c: Likewise.
23274         * sysvipc/shmat.c: Likewise.
23275         * sysvipc/shmctl.c: Likewise.
23276         * sysvipc/shmdt.c: Likewise.
23277         * sysvipc/shmget.c: Likewise.
23278         * termios/tcdrain.c: Likewise.
23279         * termios/tcflow.c: Likewise.
23280         * termios/tcflush.c: Likewise.
23281         * termios/tcgetattr.c: Likewise.
23282         * termios/tcgetpgrp.c: Likewise.
23283         * termios/tcsendbrk.c: Likewise.
23284         * termios/tcsetattr.c: Likewise.
23285         * termios/tcsetpgrp.c: Likewise.
23286         * time/adjtime.c: Likewise.
23287         * time/clock.c: Likewise.
23288         * time/getitimer.c: Likewise.
23289         * time/gettimeofday.c: Likewise.
23290         * time/setitimer.c: Likewise.
23291         * time/settimeofday.c: Likewise.
23292         * time/stime.c: Likewise.
23293         * time/time.c: Likewise.
23295 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23297         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23298         /usr/old/bin.
23300         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23301         instead of spaces.
23302         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23304 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23306         [BZ #14796]
23307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23308         FE_TONEAREST before applying Dekker multiplication and Knuth
23309         addition.  Clear inexact exceptions and check for exact zero
23310         results afterwards.
23311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23314         * math/libm-test.inc (fma_test): Add more tests.
23315         (fma_test_towardzero): Likewise.
23316         (fma_test_downward): Likewise.
23317         (fma_test_upward): Likewise.
23318         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23319         function.
23320         (libc_fesetround): New macro.
23321         (libc_fesetroundf): Likewise.
23322         (libc_fesetroundl): Likewise.
23323         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23324         function.
23325         (libc_fesetround_387): Likewise.
23326         (libc_fesetroundf): New macro.
23327         (libc_fesetround): Likewise.
23328         (libc_fesetroundl): Likewise.
23329         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23330         function.
23331         (libc_fesetroundf): New macro.
23332         (libc_fesetround): Likewise.
23333         (libc_fesetroundl): Likewise.
23334         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23335         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23336         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23337         libm_hidden_ver.
23338         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23339         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23340         libm_hidden_def.
23341         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23342         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23343         libm_hidden_ver.
23344         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23345         libm_hidden_def.
23347         [BZ #3439]
23348         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23349         integer constant usable in #if and use that to give value to enum
23350         constant.
23351         (FE_DIVBYZERO): Likewise.
23352         (FE_UNDERFLOW): Likewise.
23353         (FE_OVERFLOW): Likewise.
23354         (FE_INVALID): Likewise.
23355         (FE_INVALID_SNAN): Likewise.
23356         (FE_INVALID_ISI): Likewise.
23357         (FE_INVALID_IDI): Likewise.
23358         (FE_INVALID_ZDZ): Likewise.
23359         (FE_INVALID_IMZ): Likewise.
23360         (FE_INVALID_COMPARE): Likewise.
23361         (FE_INVALID_SOFTWARE): Likewise.
23362         (FE_INVALID_SQRT): Likewise.
23363         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23364         (FE_TONEAREST): Likewise.
23365         (FE_TOWARDZERO): Likewise.
23366         (FE_UPWARD): Likewise.
23367         (FE_DOWNWARD): Likewise.
23368         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23369         (FE_DIVBYZERO): Likewise.
23370         (FE_OVERFLOW): Likewise.
23371         (FE_UNDERFLOW): Likewise.
23372         (FE_INEXACT): Likewise.
23373         (FE_TONEAREST): Likewise.
23374         (FE_DOWNWARD): Likewise.
23375         (FE_UPWARD): Likewise.
23376         (FE_TOWARDZERO): Likewise.
23377         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23378         (FE_UNDERFLOW): Likewise.
23379         (FE_OVERFLOW): Likewise.
23380         (FE_DIVBYZERO): Likewise.
23381         (FE_INVALID): Likewise.
23382         (FE_TONEAREST): Likewise.
23383         (FE_TOWARDZERO): Likewise.
23384         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23385         (FE_OVERFLOW): Likewise.
23386         (FE_UNDERFLOW): Likewise.
23387         (FE_DIVBYZERO): Likewise.
23388         (FE_INEXACT): Likewise.
23389         (FE_TONEAREST): Likewise.
23390         (FE_TOWARDZERO): Likewise.
23391         (FE_UPWARD): Likewise.
23392         (FE_DOWNWARD): Likewise.
23393         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23394         (FE_DIVBYZERO): Likewise.
23395         (FE_OVERFLOW): Likewise.
23396         (FE_UNDERFLOW): Likewise.
23397         (FE_INEXACT): Likewise.
23398         (FE_TONEAREST): Likewise.
23399         (FE_DOWNWARD): Likewise.
23400         (FE_UPWARD): Likewise.
23401         (FE_TOWARDZERO): Likewise.
23403 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23405         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23407 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23409         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23410         commands.  Quote $PWD.
23411         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23412         -x" by "export".
23413         (remove_newlines): Remove.
23415 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23417         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23418         * stdlib/stdlib.h (atof): Moved to ...
23419         * include/bits/stdlib-float.h: Here.  New file.
23420         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23421         * stdlib/bits/stdlib-float.h: New file.
23422         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23423         -mno-sse -mno-mmx.
23424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23425         <xmmintrin.h>.
23427 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23429         * conform/conformtest.pl (@headers): Add fenv.h.
23430         * conform/data/fenv.h-data: New file.
23431         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23432         include of <math/fenv.h>.
23434         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23435         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23436         && !UNIX98].  Enables tests for XOPEN2K8.
23437         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23438         POSIX2008]: Likewise.
23440         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23441         (struct rusage): Do not expect type or its members.
23443         [BZ #3439]
23444         * math/math.h (FP_NAN): Define macro to integer constant usable in
23445         #if and use that to give value to enum constant.
23446         (FP_INFINITE): Likewise.
23447         (FP_ZERO): Likewise.
23448         (FP_SUBNORMAL): Likewise.
23449         (FP_NORMAL): Likewise.
23451 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23453         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23454         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23455         arguments.
23457 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23459         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23460         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23461         autoconf-time if not.
23462         * configure.in: Remove AC_PREREQ.
23464 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23466         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23467         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23468         of the internal implementation.
23470 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23472         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23473         except include of <misc/sys/syslog.h>.
23475 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23478         function returns with a NULL context exit with zero.
23480 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23482         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23484 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23486         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23487         (run_program_cmd): This.
23488         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23489         (tst_langinfo): New variable.  Use it.
23491 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23493         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23494         floating point opcodes.
23496 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23498         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23499         variable.
23501         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23503         * sysdeps/mach/hurd/powerpc: Remove directory.
23504         * sysdeps/mach/powerpc: Likewise.
23506 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23508         * scripts/check-local-headers.sh: Ignore c++ headers.
23510 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23512         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23513         __libc_cleanup_region_start argument.
23515 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23517         [BZ #14784]
23518         [BZ #14785]
23519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23520         x * y using scaling, not as x * y + z.
23521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23523         * math/libm-test.inc (fma_test): Add more tests.
23524         (fma_test_towardzero): Likewise.
23525         (fma_test_downward): Likewise.
23526         (fma_test_upward): Likewise.
23528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23530         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23532 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23534         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23535         New variable.
23537 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23539         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23541 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23544         Fix sort order.
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23546         Likewise.
23548 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23551         Fix the order of the list for glibc 2.17.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23553         Likewise.
23555 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23559 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #14610]
23562         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23563         for low part of x being zero before using __atanl (y).
23564         * math/libm-test.inc (atan2_test): Add another test.
23566         * manual/install.texi (Configuring and compiling): Document
23567         general use of test-wrapper and test-wrapper-env.
23568         * INSTALL: Regenerated.
23570         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23571         (__fma): Do not extract and scale down low bits on after-rounding
23572         systems when result rounded to normal precision would have normal
23573         exponent.
23574         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23575         (__fmal): Do not extract and scale down low bits on after-rounding
23576         systems when result rounded to normal precision would have normal
23577         exponent.
23578         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23579         (__fmal): Do not extract and scale down low bits on after-rounding
23580         systems when result rounded to normal precision would have normal
23581         exponent.
23582         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23583         macro.
23584         (fma_test): Add more tests.
23585         (fma_test_towardzero): Likewise.
23586         (fma_test_downward): Likewise.
23587         (fma_test_upward): Likewise.
23589 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23591         * sysdeps/i386/tininess.h: Renamed to ...
23592         * sysdeps/x86/tininess.h: This.
23593         * sysdeps/x86_64/tininess.h: Removed.
23595 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23597         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23598         input.  Use $(build-program-cmd).
23599         ($(objpfx)tst-array1-static.out): Likewise.
23600         ($(objpfx)tst-array2.out): Likewise.
23601         ($(objpfx)tst-array3.out): Likewise.
23602         ($(objpfx)tst-array4.out): Likewise.
23603         ($(objpfx)tst-array5.out): Likewise.
23604         ($(objpfx)tst-array5-static.out): Likewise.
23606 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23608         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23609         if defined.
23611         * nss/nsswitch.h (nss_interface_function): Provide new
23612         macro for use with NSS functions.
23613         * grp/initgroups.c: Use new macro.
23614         * nss/getXXbyYY.c: Likewise.
23615         * nss/getXXbyYY_r.c: Likewise.
23616         * nss/getXXent.c: Likewise.
23617         * nss/getXXent_r.c: Likewise.
23618         * sysdeps/posix/getaddrinfo.c: Likewise.
23620 2012-10-30  Andreas Jaeger  <aj@suse.de>
23622         * po/ru.po: Update Russion translation from translation project.
23624 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23626         [BZ #14152]
23627         [BZ #14783]
23628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23629         result and shift together with sticky bit instead of replicating
23630         round-to-nearest rounding.
23631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23633         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23634         missing underflow exceptions.
23635         (fma_test_towardzero): Add more tests.
23636         (fma_test_downward): Likewise.
23637         (fma_test_upward): Likewise.
23639         [BZ #14047]
23640         * sysdeps/generic/tininess.h: New file.
23641         * sysdeps/i386/tininess.h: Likewise.
23642         * sysdeps/sh/tininess.h: Likewise.
23643         * sysdeps/x86_64/tininess.h: Likewise.
23644         * stdlib/tst-strtod-underflow.c: Likewise.
23645         * stdlib/tst-tininess.c: Likewise.
23646         * stdlib/strtod_l.c: Include <tininess.h>.
23647         (round_and_return): Do not set errno for exact underflow cases.
23648         Force an underflow exception when setting errno for underflow.
23649         Determine underflow based on rounding to normal precision if
23650         TININESS_AFTER_ROUNDING.
23651         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23652         ERANGE for exact underflow cases.
23653         * stdlib/Makefile (tests): Add tst-tininess and
23654         tst-strtod-underflow.
23655         ($(objpfx)tst-tininess): Use $(link-libm).
23656         ($(objpfx)tst-strtod-underflow): Likewise.
23658 2012-10-30  Andreas Jaeger  <aj@suse.de>
23660         [BZ#14767]
23661         * elf/Makefile (tests): Remove conditional for have-initfini-array
23662         since this is now always required and the variable does not exist
23663         anymore.
23664         (tests-static): Likewise.
23665         (modules-names): Likewise.
23667         * po/eo.po: Add Esperanto translation from translation project.
23669         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23670         merged with constructor/destructor.
23671         (init_array): Likewise.
23672         * elf/tst-array2dep.c (fini_array): Likewise.
23673         (init_array): Likewise.
23675 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23677         * manual/message.texi: Delete @cartouche tags.
23679 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23681         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23682         EOPNOTSUPP.
23683         * sysdeps/mach/hurd/fsync.c: Likewise.
23685         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23686         [_POSIX_REALTIME_SIGNALS]: Change condition to
23687         [_POSIX_REALTIME_SIGNALS > 0].
23689 2012-10-27  Andreas Jaeger  <aj@suse.de>
23691         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23692         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23694         [__WORDSIZE != 64]: Likewise.
23696 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23698         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23699         *  iconvdata/tst-tables.sh: Likewise.
23701 2012-10-25  David S. Miller  <davem@davemloft.net>
23703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23704         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23705         of strtoull.
23707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23708         ifunc-impl-list.c
23709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23710         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23711         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23712         file.
23714 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23716         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23717         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23718         __getdirentries.
23720 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23721             Jim Blandy  <jimb@codesourcery.com>
23723         * scripts/cross-test-ssh.sh: New file.
23724         * manual/install.texi (Configuring and compiling): Document use of
23725         cross-test-ssh.sh.
23726         * INSTALL: Regenerated.
23728 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23730         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23731         EOPNOTSUPP.
23733 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23735         * Makeconfig (run-program-prefix): Fix comment.
23737 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23738             Jim Blandy  <jimb@codesourcery.com>
23740         * Makeconfig (test-wrapper): New variable,
23741         (test-wrapper-env): Likewise.
23742         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23743         (run-built-tests): Define to yes.
23744         (run-program-prefix): Use $(test-wrapper).
23745         (built-program-cmd): Likewise.
23746         * Rules (make-test-out): Use $(test-wrapper-env) and
23747         $(host-built-program-cmd).
23748         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23749         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23750         tst-pathopt.sh.
23751         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23752         $(test-wrapper-env) to tst-rtld-load-self.sh.
23753         ($(objpfx)order2.out): Use $(test-wrapper).
23754         ($(objpfx)tst-initorder.out): Likewise.
23755         ($(objpfx)tst-initorder2.out): Likewise.
23756         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23757         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23758         (test_wrapper_env): New variable.  Use it to run ld.so.
23759         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23760         Use it to run ld.so.
23761         (test_wrapper_env): Likewise.
23762         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23763         $(test-wrapper) to run-iconv-test.sh.
23764         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23765         (ICONV): Use $test_wrapper.
23766         * posix/Makefile ($(objpfx)globtest.out): Pass
23767         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23768         globtest.sh, not $(run-program-prefix).
23769         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23770         (test_wrapper): Likewise.
23771         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23772         set together with run_via_rtld_prefix.
23773         (run_program_prefix): Define in terms of test_wrapper and
23774         run_via_rtld_prefix.
23776 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23778         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23779         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23780         Targets removed.
23782         [BZ #14743]
23783         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23784         Declare __clock_getres, __clock_gettime, __clock_settime,
23785         __clock_nanosleep, and __clock_getcpuclockid.
23786         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23787         Remove librt_hidden_def (clock_gettime).
23788         * sysdeps/unix/clock_gettime.c: Likewise.
23789         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23791         * rt/clock_getres.c: Define __clock_getres as an alias.
23792         * sysdeps/posix/clock_getres.c: Likewise.
23793         * rt/clock_settime.c: Define __clock_settime as an alias.
23794         * sysdeps/unix/clock_settime.c: Likewise.
23795         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23796         * sysdeps/unix/clock_nanosleep.c: Likewise.
23797         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23798         * rt/clock-compat.c: New file.
23799         * rt/Makefile (librt-routines): Add clock-compat and move
23800         $(clock-routines) to ...
23801         (routines): ... here, new variable.
23802         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23803         Don't add get_clockfreq here.
23804         * rt/Versions (libc: GLIBC_2.17): New version set.
23805         Add clock_* symbols here.
23806         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23807         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23808         (GLIBC_2.17): Add clock_* symbols.
23809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23813         Likewise.
23814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23815         Likewise.
23816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23820         * NEWS: Mention the move.
23822         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23823         Use __open, __read, __close rather than their public counterparts.
23824         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23825         (__get_clockfreq_via_cpuinfo): Likewise.
23826         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23827         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23829         * config.h.in (HAVE_IFUNC): New #undef.
23830         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23831         was successful.
23832         * configure: Regenerated.
23834 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23836         * configure.in: Move READELF check to start of file.
23837         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23838         libc_cv_asm_gnu_indirect_function in the process.
23839         * configure: Regenerated.
23841 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23843         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23844         send the output to /dev/null.
23845         (libc_cv_cc_with_libunwind): Likewise.
23846         (libc_cv_as_noexecstack): Likewise.
23847         * configure: Regenerate.
23849 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23851         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23853         * posix/globtest.sh (TMPDIR): Do not set.
23854         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23855         (testout): Likewise.
23857 2012-10-24  Andreas Jaeger  <aj@suse.de>
23859         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23860         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23861         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23862         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23863         posix_fadvise64, posix_fallocate64.
23865         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23866         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23867         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23868         Likewise.
23869         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23870         Likewise.
23871         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23874         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23875         <bits/fcntl-linux.h>.
23876         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23879         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23880         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23881         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23882         [__WORDSIZE != 64]: Likewise.
23884 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23886         * Makeconfig (run-built-tests): New variable.
23887         * Rules [$(cross-compiling) = yes]: Change condition to
23888         [$(run-built-tests) = no].
23889         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23890         to [$(run-built-tests) = yes].
23891         * elf/Makefile [$(cross-compiling) = no]: Likewise
23892         * grp/Makefile [$(cross-compiling) = no]: Likewise.
23893         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23894         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23895         * intl/Makefile [$(cross-compiling) = no]: Likewise.
23896         * io/Makefile [$(cross-compiling) = no]: Likewise.
23897         * libio/Makefile [$(cross-compiling) = no]: Likewise.
23898         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23899         * misc/Makefile [$(cross-compiling) = no]: Likewise.
23900         * posix/Makefile [$(cross-compiling) = no]: Likewise.
23901         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23902         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23903         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23904         * string/Makefile [$(cross-compiling) = no]: Likewise.
23906         * posix/Makefile ($(objpfx)globtest.out): Pass
23907         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23908         $(rtld-installed-name).
23909         * posix/globtest.sh (elf_objpfx): Remove variable.
23910         (rtld_installed_name): Likewise.
23911         (library_path): Likewise.
23912         (run_program_prefix): New variable.  Use for running globtest
23913         binary.
23915 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
23916             Joseph Myers  <joseph@codesourcery.com>
23918         * Makeconfig (host-built-program-cmd): New variable.
23919         * elf/Makefile (tst-stackguard1-ARGS): Use
23920         $(host-built-program-cmd).
23921         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23922         (tst-spawn-ARGS): Likewise.
23923         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23925 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23926             Jim Blandy  <jimb@codesourcery.com>
23928         * Makeconfig (run-via-rtld-prefix): New variable.
23929         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23930         (built-program-cmd): Likewise.
23932 2012-10-22  Andreas Jaeger  <aj@suse.de>
23934         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23935         __O_RSYNC if it exists, otherwise to O_SYNC.
23937 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
23938             Joseph Myers  <joseph@codesourcery.com>
23940         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23941         /dev/null.
23942         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23943         from /dev/null
23944         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23945         /dev/null.
23947 2012-10-22  Andreas Jaeger  <aj@suse.de>
23949         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23950         Define always.
23951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23953         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23954         bits/fcntl-linux.h.
23956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23957         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23960         to __O_LARGEFILE.
23961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23962         to __O_LARGEFILE.
23964 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
23965             Joseph Myers  <joseph@codesourcery.com>
23967         * config.make.in (NM): New variable.
23969 2012-10-21  Andreas Jaeger  <aj@suse.de>
23971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23972         definitions and declarations that are provided by
23973         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23975 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23977         [BZ #14683]
23978         * elf/Makefile (tests-static): Add tst-leaks1-static.
23979         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23980         ($(objpfx)tst-leaks1-static): New rule.
23981         ($(objpfx)tst-leaks1-static-mem): Likewise.
23982         (tst-leaks1-static-ENV): New macro.
23983         * elf/dl-open.c (dl_open_worker): Check the main application
23984         only if SHARED is defined.
23985         * elf/tst-leaks1-static.c: New file.
23987 2012-10-20  Andreas Jaeger  <aj@suse.de>
23989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23990         generic values for Linux.
23991         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23992         and declarations that are provided by <bits/fcntl-linux.h> and
23993         include <bits/fcntl-linux.h>.
23994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23997 2012-10-20  Roland McGrath  <roland@hack.frob.com>
23999         * io/fcntl.h: Move include of <bits/types.h> to the top and
24000         include it unconditionally.
24002 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24004         * wcsmbs/Makefile (tests-ifunc): New variable.
24005         (tests): Add $(tests-ifunc).
24006         * wcsmbs/test-wcschr-ifunc.c: New file.
24007         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24008         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24009         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24010         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24011         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24013         * string/Makefile (tests-ifunc): New variable.
24014         (tests): Add $(tests-ifunc).
24015         * string/test-memccpy.c (TEST_NAME): New macro.
24016         * string/test-memchr.c (TEST_NAME): Likewise.
24017         * string/test-memcmp.c (TEST_NAME): Likewise.
24018         * string/test-memcpy.c (TEST_NAME): Likewise.
24019         * string/test-memmem.c (TEST_NAME): Likewise.
24020         * string/test-memmove.c (TEST_NAME): Likewise.
24021         * string/test-memset.c (TEST_NAME): Likewise.
24022         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24023         * string/test-stpcpy.c (TEST_NAME): Likewise.
24024         * string/test-stpncpy.c (TEST_NAME): Likewise.
24025         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24026         * string/test-strcasestr.c (TEST_NAME): Likewise.
24027         * string/test-strcat.c (TEST_NAME): Likewise.
24028         * string/test-strchr.c (TEST_NAME): Likewise.
24029         * string/test-strcmp.c(TEST_NAME): Likewise.
24030         * string/test-strcpy.c (TEST_NAME): Likewise.
24031         * string/test-strcspn.c (TEST_NAME): Likewise.
24032         * string/test-strlen.c (TEST_NAME): Likewise.
24033         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24034         * string/test-strncmp.c (TEST_NAME): Likewise.
24035         * string/test-strncpy.c (TEST_NAME): Likewise.
24036         * string/test-strnlen.c (TEST_NAME): Likewise.
24037         * string/test-strpbrk.c (TEST_NAME): Likewise.
24038         * string/test-strrchr.c (TEST_NAME): Likewise.
24039         * string/test-strspn.c (TEST_NAME): Likewise.
24040         * string/test-strstr.c (TEST_NAME): Likewise.
24041         * string/test-bcopy-ifunc.c: New file.
24042         * string/test-bzero-ifunc.c: Likewise.
24043         * string/test-memccpy-ifunc.c: Likewise.
24044         * string/test-memchr-ifunc.c: Likewise.
24045         * string/test-memcmp-ifunc.c: Likewise.
24046         * string/test-memcpy-ifunc.c: Likewise.
24047         * string/test-memmem-ifunc.c: Likewise.
24048         * string/test-memmove-ifunc.c: Likewise.
24049         * string/test-mempcpy-ifunc.c: Likewise.
24050         * string/test-memset-ifunc.c: Likewise.
24051         * string/test-rawmemchr-ifunc.c: Likewise.
24052         * string/test-stpcpy-ifunc.c: Likewise.
24053         * string/test-stpncpy-ifunc.c: Likewise.
24054         * string/test-strcasecmp-ifunc.c: Likewise.
24055         * string/test-strcasestr-ifunc.c: Likewise.
24056         * string/test-strcat-ifunc.c: Likewise.
24057         * string/test-strchr-ifunc.c: Likewise.
24058         * string/test-strchrnul-ifunc.c: Likewise.
24059         * string/test-strcmp-ifunc.c: Likewise.
24060         * string/test-strcpy-ifunc.c: Likewise.
24061         * string/test-strcspn-ifunc.c: Likewise.
24062         * string/test-strlen-ifunc.c: Likewise.
24063         * string/test-strncasecmp-ifunc.c: Likewise.
24064         * string/test-strncat-ifunc.c: Likewise.
24065         * string/test-strncmp-ifunc.c: Likewise.
24066         * string/test-strncpy-ifunc.c: Likewise.
24067         * string/test-strnlen-ifunc.c: Likewise.
24068         * string/test-strpbrk-ifunc.c: Likewise.
24069         * string/test-strrchr-ifunc.c: Likewise.
24070         * string/test-strspn-ifunc.c: Likewise.
24071         * string/test-strstr-ifunc.c: Likewise.
24073         * debug/Makefile (tests-ifunc): New variable.
24074         (tests): Add $(tests-ifunc).
24075         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24076         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24077         * debug/test-stpcpy_chk-ifunc.c: New file.
24078         * debug/test-strcpy_chk-ifunc.c: Likewise.
24080 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24082         [BZ #13601]
24083         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24084         header is not read in.
24086 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24088         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24089         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24090         directly.  Pass built executable to script as
24091         $(built-program-cmd).
24092         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24093         $testprogram without using LD_LIBRARY_PATH and $ldso.
24095         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24096         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24097         $(rtld-installed-name).
24098         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24099         (rtld_installed_name): Likewise.
24100         (library_path): Likewise.
24101         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24102         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24103         $(run-program-prefix) to tst-tables.sh.
24104         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24105         it to run tst-table-from and tst-table-to.
24106         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24107         Pass it to tst-table.sh.
24108         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24109         $(run-program-prefix) to tst-gettext.sh.
24110         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24111         tst-translit.sh.
24112         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24113         tst-gettext2.sh.
24114         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24115         to run tst-gettext.
24116         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24117         to run tst-gettext2.
24118         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24119         to run tst-translit.
24120         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24121         $(run-program-prefix) to tst-mtrace.sh.
24122         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24123         to run tst-mtrace.
24124         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24125         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24126         $(rtld-installed-name).
24127         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24128         (rtld_installed_name): Likewise.
24129         (run_program_prefix): New variable.  Use it to run wordexp-test.
24131         * Makeconfig (ARCH): Remove all definitions.
24132         (machine): Likewise.
24133         [ARCH]: Remove conditional code.
24134         [!objdir]: Give error.
24135         [!objdir] (objpfx): Remove.
24136         [!objdir] (common-objpfx): Likewise.
24137         [!objdir] (common-objdir): Likewise.
24138         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24139         AC_CONFIG_FILES call.
24140         * configure: Regenerated.
24142         [BZ #13888]
24143         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24144         or TMPDIR.
24145         (testout): Likewise.
24147         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24148         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24149         $(rtld-installed-name).
24150         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24151         (rtld_installed_name): Likwise.
24152         (runit): Remove function.
24153         (run_getconf): New variable,  Use it for running getconf binary.
24155 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24157         [BZ #14716]
24158         * string/test-memmem.c (check_result): New function.
24159         (do_one_test): Use it.
24160         (check1): New function.
24161         (test_main): Use it.
24163 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24165         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24167 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24169         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24170         (_G_LSEEK64): Likewise.
24171         (_G_MMAP64): Likewise.
24172         (_G_FSTAT64): Likewise.
24173         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24174         (_G_LSEEK64): Likewise.
24175         (_G_MMAP64): Likewise.
24176         (_G_FSTAT64): Likewise.
24177         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24178         unconditional.  Call __mmap64 directly.
24179         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24180         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24181         __lseek64 directly.
24182         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24183         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24184         __mmap64 directly.
24185         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24186         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24187         __lseek64 directly.
24188         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24189         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24190         __lseek64 directly.
24191         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24192         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24193         __lseek64 directly.
24194         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24195         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24196         __fxstat64 directly.
24197         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24198         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24199         unconditional.
24200         (freopen64) [!_G_OPEN64]: Remove conditional code.
24201         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24202         unconditional.
24203         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24204         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24205         unconditional.
24206         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24207         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24208         unconditional.
24209         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24210         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24211         unconditional.
24212         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24213         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24214         unconditional.
24215         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24216         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24217         unconditional.
24218         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24219         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24220         unconditional.
24221         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24223 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24225         [BZ #12140]
24226         * manual/memory.texi (Malloc Tunable Parameters): Add note
24227         about free list pointers overwriting some perturb bytes.
24228         Wording suggested by Roland McGrath.
24230 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24232         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24233         (lgamma_test): Likewise.
24234         (tgamma_test): Likewise.
24236 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24238         [BZ #14700]
24239         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24240         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24242 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24244         * NEWS: Mention BZ #14716.
24245         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24246         when removing AVAILABLE1_USES_J macro.
24248 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24250         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24251         (__bswap_64): __uint64_t for unsigned 64-bit int.
24253 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24255         * include/string.h (memmem): Declare libc hidden alias.
24256         * string/memmem.c (memmem): Define libc hidden alias.
24257         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24258         __read, __close instead of open, read, close.
24260 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24263         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24264         global and hidden.
24265         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24266         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24267         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24268         Likewise.
24269         (__rawmemchr_sse2): Likewise.
24270         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24271         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24272         (__strchr_sse2): Likewise.
24273         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24274         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24275         (__strcasecmp_sse2): Likewise.
24276         (__strncasecmp_sse2): Likewise.
24277         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24278         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24279         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24280         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24281         (__strrchr_sse2): Likewise.
24282         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24283         ifunc-impl-list.c.
24284         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24285         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24286         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24287         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24288         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24289         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24290         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24292         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24293         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24294         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24295         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24296         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24297         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24298         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24299         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24300         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24301         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24302         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24303         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24304         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24305         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24306         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24307         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24308         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24309         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24310         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24311         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24312         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24313         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24315         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24316         global and hidden.
24317         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24318         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24319         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24320         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24321         Likewise.
24322         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24323         Likewise.
24324         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24325         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24326         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24327         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24328         ifunc-impl-list.c.
24329         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24331         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24332         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24333         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24334         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24335         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24336         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24337         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24338         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24339         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24340         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24341         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24342         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24343         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24344         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24345         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24346         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24347         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24348         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24350         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24351         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24352         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24353         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24354         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24355         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24356         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24357         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24358         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24359         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24360         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24361         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24362         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24363         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24364         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24365         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24366         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24367         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24368         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24369         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24371         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24372         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24373         * include/ifunc-impl-list.h: New file.
24374         * misc/ifunc-impl-list.c: Likewise.
24375         * misc/Makefile (routines): Add ifunc-impl-list.
24376         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24377         * string/test-string.h: Include <ifunc-impl-list.h>.
24378         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24379         TEST_NAME]: New variables.
24380         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24381         are defined.
24382         (test_init): Call __libc_ifunc_impl_list to initialize
24383         func_list if TEST_IFUNC and TEST_NAME are defined.
24385         * string/Makefile (strop-tests): Add bcopy and bzero.
24386         * string/test-bcopy.c: New file.
24387         * string/test-bzero.c: Likewise.
24388         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24389         defined.
24390         * string/test-memset.c: Support bzero test if TEST_BZERO is
24391         defined.
24392         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24393         __libc_memmove.
24394         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24395         __libc_memset.
24396         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24397         of memset.
24399 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24401         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24402         * configure: Regenerated.
24404         * Makeconfig (+link-static-before-libc): Don't include
24405         $(link-static-libc).
24407         * libio/libio.h (_IO_pos_t): Remove.
24409 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24411         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24412         McGrath.
24414 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24416         * crypt/crypt-entry.c: Include fips-private.h.
24417         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24418         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24419         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24420         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24422 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24424         * crypt/crypt-private.h: Include stdbool.h.
24425         (_ufc_setup_salt_r): Return bool.
24426         * crypt/crypt-entry.c: Include errno.h.
24427         (__crypt_r): Return NULL with EINVAL for bad salt.
24428         * crypt/crypt_util.c (bad_for_salt): New.
24429         (_ufc_setup_salt_r): Check that salt is long enough and within
24430         the specified alphabet.
24431         * crypt/badsalttest.c: New file.
24432         * crypt/Makefile (tests): Add it.
24433         ($(objpfx)badsalttest): New.
24435 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24437         * NEWS: Add entry for BZ #14602.
24439 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24441         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24442         type-generic.
24443         * math/libm-test.inc: Update comment listing what functions and
24444         macros are tested.
24445         (isgreater_test): New function.
24446         (isgreaterequal_test): Likewise.
24447         (isless_test): Likewise.
24448         (islessequal_test): Likewise.
24449         (islessgreater_test): Likewise.
24450         (isunordered_test): Likewise.
24451         (main): Call the new functions.
24453 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24455         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24456         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24457         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24458         * sysdeps/i386/configure: Regenerated.
24459         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24460         * sysdeps/mach/configure: Regenerated.
24461         * sysdeps/mach/hurd/configure: Regenerated.
24462         * sysdeps/powerpc/configure: Regenerated.
24463         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24464         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24465         * sysdeps/s390/s390-32/configure: Regenerated.
24466         * sysdeps/s390/s390-64/configure: Regenerated.
24467         * sysdeps/sh/configure: Regenerated.
24468         * sysdeps/sparc/configure: Regenerated.
24469         * sysdeps/unix/sysv/linux/configure: Regenerated.
24470         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24471         * sysdeps/x86_64/configure: Regenerated.
24473         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24474         defined.  Don't check if MAP is NULL.
24476 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24478         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24479         (_G_stat64): Likewise.
24480         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24481         (_G_stat64): Likewise.
24482         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24483         instead of struct _G_stat64.
24484         * libio/fileops.c (mmap_remap_check): Likewise.
24485         (decide_maybe_mmap): Likewise.
24486         (_IO_new_file_seekoff): Likewise.
24487         (_IO_file_stat): Likewise.
24488         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24489         _G_off64_t.
24490         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24491         instead of struct _G_stat64.
24492         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24494 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24496         [BZ #14602]
24497         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24498         Replace with ...
24499         (CHECK_EOL): New macro.
24500         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24501         CHECK_EOL.
24502         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24503         Replace with CHECK_EOL.
24504         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24505         Replace with CHECK_EOL.
24507 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24509         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24510         type-generic.
24511         * math/libm-test.inc: Update comment listing what functions and
24512         macros are tested.
24513         (finite_test): New function.
24514         (isinf_test): Likewise.
24515         (isnan_test): Likewise.
24516         (fpclassify_test): Test subnormal input.
24517         (isfinite_test): Likewise.
24518         (isnormal_test): Likewise.
24519         (main): Call the new functions.
24521 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24523         [BZ #14660]
24524         * Makerules (%.dynsym): Force C locale when running
24525         $(OBJDUMP) --dynamic-syms.
24527 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24529         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24530         <stdint.h>.
24532 2012-10-06  David S. Miller  <davem@davemloft.net>
24534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24535         upper 32-bits of the length value in %o2 since we use branch-on-register
24536         tests which consider the entire 64-bit register.
24538 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24540         * string/test-strstr.c (check2): Add a test for page boundary.
24542 2012-10-05  David S. Miller  <davem@davemloft.net>
24544         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24545         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24546         file.
24547         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24548         sysdep_routines.
24549         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24550         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24551         and bzero when HWCAP_SPARC_CRYPTO is present.
24553 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24555         [BZ #14602]
24556         * string/test-strstr.c (check2): New function.
24557         (test_main): Call check2.
24559         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24560         and bug-strchr1.
24561         * string/bug-strcasestr1.c (do_test): Moved to ...
24562         * string/test-strcasestr.c (check1): Here.  New function.
24563         (do_one_test): Break out result checking code into ...
24564         (check_result): This.  New function.
24565         (do_one_test): Call check_result.
24566         (test_main): Call check1.
24567         * string/bug-strchr1.c (do_test): Moved to ...
24568         * string/test-strchr.c (check1): Here.  New function.
24569         (do_one_test): Break out result checking code into ...
24570         (check_result): This.  New function.
24571         (do_one_test): Call check_result.
24572         (test_main): Call check1.
24573         * string/bug-strstr1.c (main): Moved to ...
24574         * string/test-strstr.c (check1): Here.  New function.
24575         (do_one_test): Break out result checking code into ...
24576         (check_result): This.  New function.
24577         (do_one_test): Call check_result.
24578         (test_main): Call check1.
24579         * string/bug-strcasestr1.c: Removed.
24580         * string/bug-strchr1.c: Likewise.
24581         * string/bug-strstr1.c: Likewise.
24583         * elf/Makefile (dl-routines): Add hwcaps.
24584         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24585         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24586         (_dl_important_hwcaps): Moved to ...
24587         * elf/dl-hwcaps.c: Here.  New file.
24588         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24590         [BZ #14557]
24591         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24592         if IS_IN_rtld isn't defined.
24594         * elf/dl-support.c (_dl_sysinfo_map): New.
24595         Include "get-dynamic-info.h" and "setup-vdso.h".
24596         (_dl_non_dynamic_init): Call setup_vdso.
24597         * elf/dynamic-link.h: Don't include <assert.h>.
24598         (elf_get_dynamic_info): Moved to ...
24599         * elf/get-dynamic-info.h: Here.  New file.
24600         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24601         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24602         * elf/setup-vdso.h: Here.  New file.
24603         * elf/rtld.c: Include "setup-vdso.h".
24604         (dl_main): Call setup_vdso.
24606 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24608         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24609         creal in comment listing functions tested.  List finite, isinf,
24610         isnan, isless, islessequal, isgreater, isgreaterequal,
24611         islessgreater, isunordered, lgamma_r and pow10 as functions and
24612         macros not tested.  Mention which functions not tested are aliases
24613         for other functions.  Fix typo.  Note that signs of NaNs are not
24614         tested.
24616         * scripts/config.guess: Update from config.git.
24617         * scripts/config.sub: Likewise.
24619 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24621         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24622         * misc/madvise.c (madvise): Renamed to __madvise.
24623         Make madvise a weak alias.
24624         * include/sys/mman.h: Declare __madvise.
24625         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24626         * sysdeps/unix/syscalls.list
24627         (madvise): Make __madvise the strong name, and madvise a weak alias.
24628         * sysdeps/unix/sysv/linux/syscalls.list
24629         (madvise, mmap): Remove redundant entries.
24630         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24631         * malloc/malloc.c (mtrim): Likewise.
24632         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24634 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24636         * sysdeps/mach/hurd/dl-cache.c: File removed.
24637         * config.h.in (USE_LDCONFIG): New #undef.
24638         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24639         * configure: Regenerated.
24640         * elf/Makefile (dl-routines): Add dl-cache only under
24641         [$(use-ldconfig) = yes].
24642         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24643         cache on [USE_LDCONFIG].
24644         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24645         [USE_LDCONFIG].
24646         * elf/rtld.c (dl_main): Likewise.
24648 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24650         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24651         _SC_LEVEL4_CACHE_LINESIZE.
24653 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24655         * sysdeps/unix/bsd/confstr.h: File removed.
24657 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24659         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24660         sys/sdt-config.h.
24662 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24664         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24665         Make 'mapoff' field ElfW(Off) rather than off_t.
24667 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24669         * nscd/Makefile: Remove nscd-cflags and all its users.
24670         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24671         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24673         [BZ #10631]
24674         * malloc.c (malloc_printerr): Clarify error message.
24676 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24678         [BZ #14648]
24679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24680         Set bit_FMA_Usable if FMA is supported.
24681         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24682         macro.
24683         (bit_FMA4_Usable): Updated.
24684         (index_FMA_Usable): New macro.
24685         (CPUID_FMA): Likewise
24686         (HAS_FMA): Defined with bit_FMA_Usable.
24688 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24690         * bits/types.h (__swblk_t): Type removed.
24691         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24692         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24694         (__SWBLK_T_TYPE): Likewise.
24695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24696         (__SWBLK_T_TYPE): Likewise.
24697         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24698         (__SWBLK_T_TYPE): Likewise.
24699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24700         (__SWBLK_T_TYPE): Likewise.
24702 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24703             Honza Horak <hhorak@redhat.com>
24705         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24706         (xdr_mapname): Use YPMAXMAP as maxsize.
24707         (xdr_peername): Use YPMAXPEER as maxsize.
24708         (xdr_keydat): Use YPAXRECORD as maxsize.
24709         (xdr_valdat): Use YPMAXRECORD as maxsize.
24711 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24713         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24715         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24716         * csu/init-first.c: ... here.
24717         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24718         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24719         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24720         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24721         * sysdeps/i386/init-first.c: File removed.
24722         * sysdeps/sh/init-first.c: File removed.
24724 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24726         [BZ #14645]
24727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24728         if x * y might underflow to zero and z is zero.
24729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24731         * math/libm-test.inc (min_subnorm_value): New variable.
24732         (fma_test): Add more tests.
24733         (fma_test_towardzero): Likewise.
24734         (fma_test_downward): Likewise
24735         (fma_test_upward): Likewise.
24736         (initialize): Set min_subnorm_value.
24738 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24740         [BZ #14638]
24741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24742         0 + 0.
24743         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24744         mode for addition resulting in exact zero.
24745         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24747         exact 0 + 0.
24748         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24749         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24750         * math/libm-test.inc (fma_test): Add more tests.
24751         (fma_test_towardzero): New function.
24752         (fma_test_downward): Likewise.
24753         (fma_test_upward): Likewise.
24754         (main): Call the new functions.
24756 2012-09-28  David S. Miller  <davem@davemloft.net>
24758         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24760 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24762         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24763         instead of SIGALRM.
24765         * sysdeps/gnu/_G_config.h: Moved to ...
24766         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24767         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24768         * sysdeps/generic/_G_config.h: ... here.
24770         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24772         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24774         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24775         Conditionalize target on [libnss_test1.so-version].
24777         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24779         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24780         (elfobjdir): Move out of conditionals.
24782         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24783         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24784         (__nss_lookup_function): Conditionalize label remove_from_tree on
24785         [!DO_STATIC_NSS || SHARED], matching its only use.
24787 2012-09-28  David S. Miller  <davem@davemloft.net>
24789         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24790         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24791         file.
24792         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24793         sysdep_routines.
24794         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24796         when HWCAP_SPARC_CRYPTO is present.
24798 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24800         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24802 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24804         [BZ #6530]
24805         * stdio-common/vfprintf.c (process_string_arg): Revert
24806         2000-07-22 change.
24808 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24810         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24811         for testcase.
24812         * stdio-common/tst-sprintf.c: Include <locale.h>
24813         (main): Test sprintf's handling of incomplete multibyte
24814         characters.
24816 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24818         * elf/dl-runtime.c (VERSYMIDX): Removed.
24819         * elf/dl-version.c (VERSYMIDX): Likewise.
24820         * elf/do-rel.h (VERSYMIDX): Likewise.
24821         (VALIDX): Likewise.
24822         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24823         * elf/rtld.c (VALIDX): Likewise.
24824         (ADDRIDX): Likewise.
24825         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24826         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24827         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24828         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24829         (VALIDX): Likewise.
24830         (ADDRIDX): Likewise.
24832 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24834         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24836 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24838         [BZ #11438]
24839         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24840         to global scope.
24841         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24842         addresses are in the same scope as 192.0.2/24.
24843         * posix/gai.conf: Document new scope table defaults.
24845 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24847         [BZ #5298]
24848         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24849         for ftell.  Compute offsets from write pointers instead.
24850         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24852 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24854         [BZ #14543]
24855         * libio/Makefile (tests): New test case tst-fseek.
24856         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24857         combination works in wide mode.
24858         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24859         state when the external buffer state changes.
24861 2012-09-27  David S. Miller  <davem@davemloft.net>
24863         [BZ #14376]
24864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24865         pass reloc->r_addend in as the 'high' argument to
24866         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24870 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24872         * rt/tst-aio2.c: Include <pthread.h>.
24873         * rt/tst-aio3.c: Likewise.
24875 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24877         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24879 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24881         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24882         contents on [SHARED].
24884 2012-09-26  Marek Polacek  <polacek@redhat.com>
24886         [BZ #14530]
24887         [BZ #13741]
24888         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24889         for C++ and GCC <4.3 as well as for non GCC compilers.
24891 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24895 2012-09-25  Roland McGrath  <roland@hack.frob.com>
24897         * Makefile.in (all, install): Declare with .PHONY.
24898         Reported by Michael Hope <michael.hope@linaro.org>.
24900 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24902         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24903         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24904         system header.
24905         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24906         Likewise.
24907         (sydep_routines): Add the new and the internal functions.
24908         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24909         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24911         (GLIBC_2.17): Add the new function.
24912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24913         (GLIBC_2.17): Likewise.
24914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24915         (GLIBC_2.17): Likewise.
24916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24917         (GLIBC_2.17): Likewise.
24918         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24920 2012-09-25  Alan Modra  <amodra@gmail.com>
24922         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24923         Add release barrier before setting once_control to say
24924         initialisation is done.  Add hints on lwarx.  Use macro in
24925         place of isync.
24926         (clear_once_control): Add release barrier.
24928 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24930         [BZ #13629]
24931         * math/s_clog.c (__clog): Handle more values close to |z| = 1
24932         specially.
24933         * math/s_clog10.c (__clog10): Likewise.
24934         * math/s_clog10f.c (__clog10f): Likewise.
24935         * math/s_clog10l.c (__clog10l): Likewise.
24936         * math/s_clogf.c (__clogf): Likewise.
24937         * math/s_clogl.c (__clogl): Likewise.
24938         * math/Makefile (libm-calls): Add x2y2m1.
24939         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24940         (__x2y2m1): Likewise.
24941         (__x2y2m1l): Likewise.
24942         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24943         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24944         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24945         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24946         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24947         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24948         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24949         * sysdeps/i386/fpu/libm-test-ulps: Update.
24950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952         [BZ #14621]
24953         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24954         int as type of variable DEPTH.
24955         (glob): Use size_t instead of int as type of variables NEWCOUNT
24956         and OLD_PATHC.
24958 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24960         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24961         Add s_sincosf-sse2.
24962         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24963         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24964         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24965         macros for using routine as __sincosf_ia32.
24966         Use macro for function declaration and weak_alias.
24967         * sysdeps/i386/fpu/libm-test-ulps: Update.
24969         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24972         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24973         subnormal argument.
24974         * math/s_cexpf.c (__cexpf): Likewise.
24975         * math/s_csinf.c (__csinf): Likewise.
24976         * math/s_csinhf.c (__csinhf): Likewise.
24977         * math/s_ctanf.c (__ctanf): Likewise.
24978         * math/s_ctanhf.c (__ctanhf): Likewise.
24979         * math/s_ccosh.c (__ccoshf): Likewise.
24980         * math/s_cexp.c (__cexpl): Likewise.
24981         * math/s_csin.c (__csin): Likewise.
24982         * math/s_csinh.c (__csinh): Likewise.
24983         * math/s_ctan.c (__ctan): Likewise.
24984         * math/s_ctanh.c (ctanh): Likewise.
24985         * math/s_ccoshl.c (__ccoshl): Likewise.
24986         * math/s_cexpl.c (__cexpl): Likewise.
24987         * math/s_csinl.c (__csinl): Likewise.
24988         * math/s_csinhl.c (__csinhl): Likewise.
24989         * math/s_ctanl.c (__ctanl): Likewise.
24990         * math/s_ctanhl.c (__ctanhl): Likewise.
24992 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24994         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24995         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24996         (_IO_off_t): Define to __off_t, not _G_off_t.
24997         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24998         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24999         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25000         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25001         type of __dummy and __dummy2 fields.
25002         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25003         (_G_ssize_t): Likewise.
25004         (_G_off_t): Likewise.
25005         (_G_pid_t): Likewise.
25006         (_G_uid_t): Likewise.
25007         (_G_wchar_t): Likewise.
25008         (_G_wint_t): Likewise.
25009         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25010         (_G_ssize_t): Likewise.
25011         (_G_off_t): Likewise.
25012         (_G_pid_t): Likewise.
25013         (_G_uid_t): Likewise.
25014         (_G_wchar_t): Likewise.
25015         (_G_wint_t): Likewise.
25016         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25017         (_G_ssize_t): Likewise.
25018         (_G_off_t): Likewise.
25019         (_G_pid_t): Likewise.
25020         (_G_uid_t): Likewise.
25021         (_G_wchar_t): Likewise.
25022         (_G_wint_t): Likewise.
25024 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25026         * malloc/arena.c: Include malloc-sysdep.h.
25027         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25028         is sufficient to shrink the heap or an unmap is needed.
25029         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25030         new function check_may_shrink_heap.
25031         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25032         new function check_may_shrink_heap.
25034 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25036         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25037         comments.
25039 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25041         * catgets/test-gencat.sh: Add "set -e".
25042         * elf/tst-pathopt.sh: Likewise.
25043         * grp/tst_fgetgrent.sh: Likewise.
25044         * iconvdata/run-iconv-test.sh: Likewise.
25045         * intl/tst-gettext.sh: Likewise.
25046         * intl/tst-gettext2.sh: Likewise.
25047         * intl/tst-gettext4.sh: Likewise.
25048         * intl/tst-gettext6.sh: Likewise.
25049         * intl/tst-translit.sh: Likewise.
25050         * io/ftwtest-sh: Likewise.
25051         * libio/test-freopen.sh: Likewise.
25052         * malloc/tst-mtrace.sh: Likewise.
25053         * posix/globtest.sh: Likewise.
25054         * posix/tst-getconf.sh: Likewise.
25055         * posix/wordexp-tst.sh: Likewise.
25056         * stdio-common/tst-printf.sh: Likewise.
25057         * stdio-common/tst-unbputc.sh: Likewise.
25058         * stdlib/tst-fmtmsg.sh: Likewise.
25059         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25060         * catgets/Makefile: Do not specify -e option when running
25061         testsuite shell scripts.
25062         * elf/Makefile: Likewise.
25063         * grp/Makefile: Likewise.
25064         * iconvdata/Makefile: Likewise.
25065         * intl/Makefile: Likewise.
25066         * io/Makefile: Likewise.
25067         * libio/Makefile: Likewise.
25068         * malloc/Makefile: Likewise.
25069         * posix/Makefile: Likewise.
25070         * stdio-common/Makefile: Likewise.
25071         * stdlib/Makefile: Likewise.
25072         * sysdeps/x86_64/Makefile: Likewise.
25074         * io/ftwtest-sh: Add copyright header.
25075         * posix/globtest.sh: Likewise.
25076         * posix/tst-getconf.sh: Likewise.
25077         * posix/wordexp-tst.sh: Likewise.
25078         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25080 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25082         [BZ #13679]
25083         * Makeconfig (+link): Defined as $(+link-static) if
25084         $(build-shared) isn't yes.
25085         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25086         isn't yes.
25087         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25089         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25091         [BZ #14562]
25092         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25093         new chunk size with MALLOC_ALIGN_MASK.
25095 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25097         [BZ #5044]
25098         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25099         <rounding-mode.h>.
25100         (__printf_fphex): Determine rounding using get_rounding_mode and
25101         round_away.
25102         * stdio-common/tst-printf-round.c (struct hex_test): New
25103         structure.
25104         (hex_tests): New variable.
25105         (test_hex_in_one_mode): New function.
25106         (do_test): Also run tests for hex float output.
25108 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25110         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25111         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25112         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25113         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25114         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25115         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25116         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25117         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25119 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25121         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25122         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25123         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25124         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25126 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25128         [BZ #14579]
25129         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25130         mode only.
25131         * elf/tst-rtld-load-self.sh: New test.
25132         * elf/Makefile: Run it.
25134 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25136         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25137         (tst-writev-ENV): Remove.
25138         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25140 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25142         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25144 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25146         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25147         unconditional.
25148         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25149         Likewise.
25150         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25151         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25153         Likewise.
25155 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25157         [BZ #14587]
25158         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25159         * config.make.in (have-cpp-asm-debuginfo): Removed.
25160         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25161         * configure: Regenerated.
25163 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25165         [BZ #5044]
25166         * stdio-common/printf_fp.c: Include <stdbool.h> and
25167         <rounding-mode.h>.
25168         (___printf_fp): Determine rounding using get_rounding_mode and
25169         round_away.
25170         * stdio-common/tst-printf-round.c: New file.
25171         * stdio-common/Makefile (tests): Add tst-printf-round.
25172         (link-libm): New variable.
25173         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25175 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25177         [BZ #14576]
25178         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25179         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25180         Likewise.
25181         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25182         Likewise.
25184 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25186         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25187         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25188         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25189         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25191 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25193         [BZ #14518]
25194         * include/rounding-mode.h: New file.
25195         * sysdeps/generic/get-rounding-mode.h: Likewise.
25196         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25197         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25198         (MAX_VALUE): New macro.
25199         (MIN_VALUE): Likewise.
25200         (overflow_value): New function.
25201         (underflow_value): Likewise.
25202         (round_and_return): Use overflow_value and underflow_value to
25203         determine return values in overflow and underflow cases.  Use
25204         round_away to determine rounding depending on rounding mode.
25205         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25206         determine return values in overflow and underflow cases.
25207         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25208         (struct test_results): New structure.
25209         (struct test): Use struct test_results to store expected results
25210         for all rounding modes.
25211         (TEST): Include expected results for all rounding modes.
25212         (test_in_one_mode): New function.
25213         (do_test): Use test_in_one_mode to compute and check results.
25214         Check results for all rounding modes.
25215         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25216         $(link-libm).
25218 2012-12-09  Allan McRae  <allan@archlinux.org>
25220         * sysdeps/i386/fpu/libm-test-ulps: Update
25222 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25224         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25225         (_G_int32_t): Likewise.
25226         (_G_uint16_t): Likewise.
25227         (_G_uint32_t): Likewise.
25228         (_G_HAVE_BOOL): Likewise.
25229         (_G_HAVE_ATEXIT): Likewise.
25230         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25231         (_G_HAVE_IO_FILE_OPEN): Likewise.
25232         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25233         (_G_int32_t): Likewise.
25234         (_G_uint16_t): Likewise.
25235         (_G_uint32_t): Likewise.
25236         (_G_HAVE_BOOL): Likewise.
25237         (_G_HAVE_ATEXIT): Likewise.
25238         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25239         (_G_HAVE_IO_FILE_OPEN): Likewise.
25240         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25241         (_G_int32_t): Likewise.
25242         (_G_uint16_t): Likewise.
25243         (_G_uint32_t): Likewise.
25244         (_G_HAVE_BOOL): Likewise.
25245         (_G_HAVE_ATEXIT): Likewise.
25246         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25247         (_G_HAVE_IO_FILE_OPEN): Likewise.
25249 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25251         * csu/libc-tls.c: Update copyright years.
25253 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25255         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25256         [!_G_USING_THUNKS]: Remove conditional code.
25257         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25258         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25260         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25261         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25262         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25263         (_G_VTABLE_LABEL_PREFIX): Likewise.
25264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25265         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25266         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25267         (_G_VTABLE_LABEL_PREFIX): Likewise.
25268         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25269         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25270         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25271         (_G_VTABLE_LABEL_PREFIX): Likewise.
25272         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25274 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25276         * libio/Makefile: Include ../Makeconfig before tests.
25277         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25278         only if $(build-shared) is yes.
25280         * iconv/gconv_db.c: Update copyright years.
25282 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25284         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25285         unwind info if defined PIC. Fix special cases description.
25286         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25288         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25289         DP_HI_MASK entry.
25290         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25292 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25294         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25296         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25297         is NULL.
25299         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25300         (LDLIBS-tst-chk4): This.
25301         (LDFLAGS-tst-chk5): Renamed to ...
25302         (LDLIBS-tst-chk5): This.
25303         (LDFLAGS-tst-chk6): Renamed to ...
25304         (LDLIBS-tst-chk6): This.
25305         (LDFLAGS-tst-lfschk4): Renamed to ...
25306         (LDLIBS-tst-lfschk4): This.
25307         (LDFLAGS-tst-lfschk5): Renamed to ...
25308         (LDLIBS-tst-lfschk5): This.
25309         (LDFLAGS-tst-lfschk6): Renamed to ...
25310         (LDLIBS-tst-lfschk6): This.
25312         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25313         on $(common-objpfx)soversions.mk.
25315 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25317         [BZ #10014]
25318         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25319         example host name.
25321 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25323         * malloc/arena.c (arena_get_retry): New function that gets
25324         another arena for the caller to try its request on.
25325         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25326         current arena cannot fulfill the request.
25327         (__libc_memalign): Likewise.
25328         (__libc_memalign): Likewise.
25329         (__libc_pvalloc): Likewise.
25330         (__libc_calloc): Likewise.
25332 2012-09-05  John Tobey  <john.tobey@gmail.com>
25334         [BZ #13542]
25335         * manual/arith.texi (Operations on Complex): Fix description
25336         of carg branch cut.
25338 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25340         [BZ #10014]
25341         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25342         host name.
25344         [BZ #10038]
25345         * manual/memory.texi (Memory): Make order of menu items match
25346         order of sections.
25348 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25350         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25351         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25352         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25354 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25356         * csu/libc-tls.c (static_dtv): Renamed to ...
25357         (_dl_static_dtv): This.  Make it global.
25358         (_dl_initial_dtv): Removed.
25359         (__libc_setup_tls): Updated.
25360         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25361         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25362         DL_INITIAL_DTV.
25364 2012-09-06  Petr Machata  <pmachata@redhat.com>
25366         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25367         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25368         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25369         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25371 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25373         [BZ #14545]
25374         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25375         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25376         freeing dtv[-1].
25378 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25380         [BZ #14544]
25381         * Makeconfig (link-static-before-libc): Replace $(+prector)
25382         with $(+prectorT).
25383         (link-static-after-libc): Replace $(+postctor) with
25384         $(+postctorT).
25385         (link-bounded): Replace $(+prector)/$(+postctor) with
25386         $(+prectorT)/$(+postctorT).
25387         (+prectorT): New macro.
25388         (+postctorT): Likewise.
25390 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25392         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25393         (round_str): Handle values above the maximum for IBM long double
25394         as inexact.
25395         * stdlib/tst-strtod-round.c (tests): Regenerated.
25397 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25399         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25400         assembler flag.
25401         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25402         zarch_nohighgprs around the zarch optimized routines.
25403         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25404         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25405         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25406         for zarch.
25408 2012-09-05  David S. Miller  <davem@davemloft.net>
25410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25412         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25413         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25414         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25415         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25416         entries.
25418 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25420         * malloc/arena.c: Fold copyright years.
25421         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25425         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25427 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25429         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25431 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25433         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25434         change internal state upon failure.
25436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25438         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25439         * malloc/memusage.c (mmap): Likewise.
25440         (mmap64, mremap): Likewise.  Adjust name in comment.
25442 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25444         * libio/fileops.c: Fix typos in comments.
25445         * libio/oldfileops.c: Likewise.
25446         * libio/wfileops.c: Likewise.
25448 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25450         [BZ #1349]
25451         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25452         (tst-malloc-usable-ENV): Set environment for test case.
25453         * malloc/hooks.c (malloc_check_get_size): New function to get
25454         requested size.
25455         * malloc/malloc.c (musable): Use malloc_check_get_size.
25456         * malloc/tst-malloc-usable.c: New test case.
25458 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25460         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25462 2012-09-05  Allan McRae  <allan@archlinux.org>
25464         [BZ #13966]
25465         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25466         determine header location.
25467         * configure: Regenerated.
25469 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25471         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25472         float format.
25473         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25474         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25475         format.
25476         (test): Regenerate.
25478 2012-09-04  David S. Miller  <davem@davemloft.net>
25480         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25481         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25482         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25484 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25486         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25487         failures.
25489         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25491 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25493         [BZ #9914]
25494         * libio/iogetdelim.c: Include <limits.h>.
25495         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25496         + len + 1 would overflow.
25498 2012-09-03  Andreas Jaeger  <aj@suse.de>
25500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25501         * sysdeps/i386/fpu/libm-test-ulps: Update.
25503 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25505         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25506         Add s_sinf-sse2, s_conf-sse2.
25508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25509         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25510         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25511         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25513         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25514         for using routine as __sinf_ia32.
25515         Use macro for function declaration and weak_alias.
25516         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25517         for using routine as __cosf_ia32.
25518         Use macro for function declaration and weak_alias.
25520         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25521         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25523         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25524         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25527         * math/libm-test.inc (cos_test): Add more test cases.
25528         (sin_test): Likewise.
25529         (sincos_test): Likewise.
25531 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25533         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25534         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25535         hidden.
25536         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25538 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25540         [BZ #14538]
25541         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25542         first element of the GOT.
25543         (elf_machine_load_address): Return the difference between
25544         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25546 2012-09-01  Allan McRae  <allan@archlinux.org>
25548         [BZ #13412]
25549         * configure.in (AWK): Require gawk version 3.0 or later.
25550         * configure: Regenerated.
25552 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25554         * sysdeps/unix/sysv/linux/kernel-features.h
25555         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25557         [__NR_clock_getres]: Make code unconditional.
25558         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25559         (clock_getcpuclockid): Remove code left unreachable by removal of
25560         conditionals.
25561         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25562         code unconditional.
25563         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25564         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25565         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25566         Make code unconditional.
25567         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25568         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25569         * sysdeps/unix/sysv/linux/clock_settime.c
25570         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25571         conditional code.
25572         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25573         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25575 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25577         [BZ #14476]
25578         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25579         scripts/test-installation.pl.
25581         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25582         and $ld_so_version if it is set.
25584 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25586         [BZ #14516]
25587         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25588         failure if reading from procfs failed.
25589         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25591 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25593         * sysdeps/unix/sysv/linux/kernel-features.h
25594         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25595         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25596         Remove conditional code.
25597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25598         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25599         Remove conditional code.
25600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25601         * sysdeps/unix/sysv/linux/i386/fxstat.c
25602         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25604         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25605         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25607         * sysdeps/unix/sysv/linux/i386/lxstat.c
25608         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25610         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25611         Remove conditional code.
25612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25613         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25614         Remove conditional code.
25615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25616         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25617         <kernel-features.h>.
25618         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25619         Remove.
25620         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25621         Remove conditional code.
25622         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25623         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25624         Remove conditional.
25626 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25628         [BZ #5400]
25629         * NEWS: Add fixed bug number.
25631 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25633         [BZ #14519]
25634         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25635         underflowing exponent in case of negative sign.
25636         * stdlib/tst-strtod-round-data: Add more tests.
25637         * stdlib/tst-strtod-round.c (tests): Regenerated.
25639         [BZ #3479]
25640         * stdlib/strtod_l.c (NDIG): Remove.
25641         (HEXNDIG): Likewise.
25642         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25643         smallest representable value.
25644         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25645         lie within an exact representation of 1/2 ulp of the result.
25646         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25647         unconditionally.
25648         (TENS_P9_IDX): Define unconditionally.
25649         (TENS_P9_SIZE): Likewise.
25650         (TENS_P10_IDX): Likewise.
25651         (TENS_P10_SIZE): Likewise.
25652         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25653         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25655         entries for 10^2^13 and 10^2^14.
25656         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25657         (TENS_P13_IDX): Define.
25658         (TENS_P13_SIZE): Likewise.
25659         (TENS_P14_IDX): Likewise.
25660         (TENS_P14_SIZE): Likewise.
25661         (_fpioconst_pow10): Change array size to
25662         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25663         unconditional.
25664         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25665         1024]: Add entries for 10^2^13 and 10^2^14.
25666         [LAST_POW10 > _LAST_POW10]: Remove #error.
25667         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25668         (_fpioconst_pow10): Change array size to
25669         FPIOCONST_POW10_ARRAY_SIZE.
25670         * stdlib/gen-fpioconst.c: New file.
25671         * stdlib/gen-tst-strtod-round.c: Likewise.
25672         * stdlib/tst-strtod-round-data: Likewise.
25673         * stdlib/tst-strtod-round.c: Likewise.
25674         * stdlib/Makefile (tests): Add tst-strtod-round.
25676         [BZ #14459]
25677         * stdlib/strtod_l.c: Include <stdint.h>.
25678         (NDEBUG): Do not define.
25679         (round_and_return): Change EXPONENT parameter to type intmax_t.
25680         Rearrange calculations to avoid internal overflow possibilities.
25681         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25682         Rearrange calculations to avoid internal overflow possibilities.
25683         Assert that number fits inside MPNSIZE limbs.
25684         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25685         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25686         calculations and add assertions to avoid internal overflow
25687         possibilities.  Add casts to avoid signed/unsigned operations.
25688         * stdlib/tst-strtod-overflow.c: New file.
25689         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25691 2012-08-25  Marek Polacek  <polacek@redhat.com>
25693         * time/time.h: Fix some typos in comments.
25695 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25697         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25698         * posix/tst-rfc3484-2.c: Likewise.
25699         * posix/tst-rfc3484-3.c: Likewise.
25701 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25703         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25704         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25706 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25709         #include of fxstatat64.c.
25711 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25713         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25714         * shadow/getspent_r.c: Likewise.
25715         * shadow/getspnam.c: Likewise.
25716         * shadow/getspnam_r.c: Likewise.
25717         * gshadow/getsgent.c: Likewise.
25718         * gshadow/getsgent_r.c: Likewise.
25719         * gshadow/getsgnam.c: Likewise.
25720         * gshadow/getsgnam_r.c: Likewise.
25721         * inet/getnetbyad.c: Likewise.
25722         * inet/getnetbyad_r.c: Likewise.
25723         * inet/getnetbynm.c: Likewise.
25724         * inet/getnetbynm_r.c: Likewise.
25725         * inet/getnetent.c: Likewise.
25726         * inet/getnetent_r.c: Likewise.
25727         * inet/getproto.c: Likewise.
25728         * inet/getproto_r.c: Likewise.
25729         * inet/getprtent.c: Likewise.
25730         * inet/getprtent_r.c: Likewise.
25731         * inet/getprtname.c: Likewise.
25732         * inet/getprtname_r.c: Likewise.
25733         * inet/getrpcbyname.c: Likewise.
25734         * inet/getrpcbyname_r.c: Likewise.
25735         * inet/getrpcbynumber.c: Likewise.
25736         * inet/getrpcbynumber_r.c: Likewise.
25737         * inet/getrpcent.c: Likewise.
25738         * inet/getrpcent_r.c: Likewise.
25739         * inet/getaliasent.c: Likewise.
25740         * inet/getaliasent_r.c: Likewise.
25741         * inet/getaliasname.c: Likewise.
25742         * inet/getaliasname_r.c: Likewise.
25743         * nscd/getgrgid_r.c: Likewise.
25744         * nscd/getgrnam_r.c: Likewise.
25745         * nscd/gethstbyad_r.c: Likewise.
25746         * nscd/gethstbynm3_r.c: Likewise.
25747         * nscd/getpwnam_r.c: Likewise.
25748         * nscd/getpwuid_r.c: Likewise.
25749         * nscd/getsrvbynm_r.c: Likewise.
25750         * nscd/getsrvbypt_r.c: Likewise.
25751         * nscd/gai.c: Likewise.
25753         * configure.in (build_nscd): New substituted variable, set
25754         by --disable-build-nscd and defaults to $use_nscd.
25755         * configure: Regenerated.
25756         * config.make.in (build-nscd): New substituted variable.
25757         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25758         Change conditional to require [$(build-nscd) = yes] as well.
25759         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25761         [BZ# 13696]
25762         * configure.in (use_nscd): New substituted variable, set by
25763         --disable-nscd.  If enabled, define USE_NSCD.
25764         * configure: Regenerated.
25765         * config.h.in: Add USE_NSCD.
25766         * config.make.in (use-nscd): New substituted variable.
25767         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25768         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25769         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25770         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25771         (CFLAGS-getgrnam_r.c): Likewise.
25772         (CFLAGS-initgroups.c): Likewise.
25773         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25774         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25775         Variables removed.
25776         * inet/getnetgrent_r.c
25777         (nscd_setnetgrent): New function, broken out of ...
25778         (setnetgrent): ... here.  Call it.
25779         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25780         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25781         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25782         * nscd/Makefile (routines, aux): Move definitions after include of
25783         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25784         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25785         Conditionalize on [USE_NSCD].
25786         (is_nscd, nscd_init_cb): Likewise.
25787         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25788         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25789         * nss/nss_db/db-init.c: Likewise.
25790         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25791         [USE_NSCD].
25792         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25793         (make_request): Use it.
25794         (cache_valid_p): New function.
25795         (__check_pf): Use it.
25796         * NEWS: Add item for --disable-nscd.
25798 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25800         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25801         to support sed >= 4.2.1-20-ga9bf076.
25802         * configure: Regenerated.
25804 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25806         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25807         Conditionalize whole body on [IREL].
25809 2012-08-22  Jeff Law <law@redhat.com>
25811         [BZ #14505]
25812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25813         if the family is PF_UNSPEC.
25815 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25817         * Makerules (lib-version): Rename from V.
25818         (install-lib-nosubdir): Change V to lib-version.
25820 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25822         [BZ #14252]
25823         * powerpc32/power6/wcschr.c: New file.
25824         * powerpc32/power6/wcscpy.c: New file.
25825         * powerpc32/power6/wcsrchr.c: New file.
25826         * powerpc64/power6/wcschr.c: New file.
25827         * powerpc64/power6/wcscpy.c: New file.
25828         * powerpc64/power6/wcsrchr.c: New file.
25830 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25832         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25833         (two_way_short_needle): Use it.
25834         * string/strstr.c (AVAILABLE1_USES_J): Define.
25835         * string/strcasestr.c: Likewise.
25837         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25838         array references.
25839         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25841         [BZ #11607]
25842         * NEWS: Add an entry.
25843         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25844         define their defaults.
25845         (two_way_short_needle): Detect end-of-string on-the-fly.
25846         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25847         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25848         * string/bug-strcasestr1.c: New test.
25849         * string/Makefile: Run it.
25851 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25853         [BZ #11607]
25854         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25855         the first character.
25857 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25859         * csu/elf-init.c (__libc_csu_irel): Function removed.
25860         * csu/libc-start.c (apply_irel): New function.
25861         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25863 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25865         * sysdeps/unix/sysv/linux/kernel-features.h
25866         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25867         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25868         <kernel-features.h>.
25869         [__NR_fadvise64_64]: Make code unconditional.
25870         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25871         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25872         !__NR_fadvise64_64)]: Likewise.
25873         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25874         !__NR_fadvise64_64))]: Likewise.
25875         [__NR_fadvise64]: Make code unconditional.
25876         [!__NR_fadvise64]: Remove conditional code.
25877         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25878         <kernel-features.h>.
25879         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25880         unconditional.
25881         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25882         conditional code.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25884         not include <kernel-features.h>.
25885         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25886         unconditional.
25887         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25888         conditional code.
25889         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25890         include <kernel-features.h>.
25891         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25892         unconditional.
25893         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25894         conditional code.
25896 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25899         slight instruction rearrangements per scrollpipe analysis.
25900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25902 2012-08-20  Roland McGrath  <roland@hack.frob.com>
25904         * manual/syslog.texi (syslog; vsyslog, closelog):
25905         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25906         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25908         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25909         DSOCAPS to match condition on defining it.
25911 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
25913         * sysdeps/unix/sysv/linux/kernel-features.h
25914         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25916         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25917         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25919         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25920         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25922         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25923         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25925         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25926         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25928         * sysdeps/unix/sysv/linux/kernel-features.h
25929         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25930         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25931         unconditional.
25932         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25933         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25934         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25935         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25936         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25937         Make code unconditional.
25938         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25939         (__mmap64) [!__NR_mmap2]: Likewise.
25940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25941         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25942         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25943         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25944         [__NR_mmap2]: Make code unconditional.
25945         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25946         (__mmap64) [!__NR_mmap2]: Likewise.
25948 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25950         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25952 2012-08-18  Andreas Jaeger  <aj@suse.de>
25954         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25956 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25958         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25959         * include/unistd.h (__have_sock_cloexec): Likewise.
25960         (__have_pipe2): Likewise.
25961         (__have_dup3): Likewise.
25963 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25965         [BZ #9685]
25966         * include/unistd.h (__have_pipe2): Change define into an extern int.
25967         (__have_dup3): Likewise.
25968         * socket/have_sock_cloexec.c: Include fcntl.h.
25969         (__have_pipe2): New variable.
25970         (__have_dup3): Likewise.
25972 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
25974         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25976 2012-08-17  Marek Polacek  <polacek@redhat.com>
25978         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25979         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25981 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25983         * configure.in: Add AC_SUBST for sysheaders.
25984         * configure: Regenerated.
25985         * config.make.in (sysheaders): New substituted variable.
25987         * sysdeps/unix/mkfifo.c: Moved ...
25988         * sysdeps/posix/mkfifo.c: ... here.
25989         * sysdeps/unix/mkfifoat.c: Moved ...
25990         * sysdeps/posix/mkfifoat.c: ... here.
25992         * sysdeps/unix/utime.c: Moved ...
25993         * sysdeps/posix/utime.c: ... here.
25995         * sysdeps/unix/time.c: Moved ...
25996         * sysdeps/posix/time.c: ... here.
25997         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25998         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26000         * sysdeps/unix/nice.c: Moved ...
26001         * sysdeps/posix/nice.c: ... here.
26003         * sysdeps/unix/alarm.c: Moved ...
26004         * sysdeps/posix/alarm.c: ... here.
26006         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26008 2012-08-17  Jeff Law <law@redhat.com>
26010         * intl/Makefile (codeset_mo): New variable.
26011         ($(codeset_mo)): New target.
26012         (tst-codeset.out): Depend on that.  Remove explicit rule.
26013         (tst-gettext3.out, tst-gettext5.out): Likewise.
26014         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26015         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26016         * intl/tst-codeset.sh: Remove.
26017         * intl/tst-gettext3.sh: Likewise.
26018         * intl/tst-gettext5.sh: Likewise.
26020 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26022         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26023         * sysdeps/unix/syscalls.list: ... here.
26025         * sysdeps/posix/getaddrinfo.c
26026         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26027         (gaiconf_init, gaiconf_reload): Use them.
26028         [!_STATBUF_ST_NSEC]
26029         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26030         Define using time_t rather than struct timespec.
26032         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26033         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26034         Macros removed.
26035         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26036         [!NO_THREADS].
26037         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26038         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26039         Likewise.
26041         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26042         __libc_cleanup_push argument.
26044         * bits/param.h: New file.
26045         * misc/sys/param.h: New file.
26046         * include/sys/param.h: New file.
26047         * misc/Makefile (headers): Add bits/param.h.
26048         * sysdeps/generic/sys/param.h: File removed.
26049         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26050         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26051         * sysdeps/mach/hurd/bits/param.h: New file.
26052         * sysdeps/mach/hurd/sys/param.h: File removed.
26054         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26055         last change.
26057         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26058         [_IO_MTSAFE_IO].
26059         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26060         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26061         New macros.
26063         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26064         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26065         rather than -D_IO_MTSAFE_IO conditionally.
26066         * stdio-common/Makefile (CPPFLAGS): Likewise.
26067         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26068         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26069         Use $(libio-mtsafe).
26070         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26071         of -D_IO_MTSAFE_IO.
26072         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26073         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26074         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26075         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26076         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26077         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26078         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26079         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26080         (CFLAGS-fread_u_chk.c): Likewise.
26081         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26082         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26083         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26084         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26085         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26086         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26087         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26088         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26089         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26091         * libio/Makefile: Test [$(libc-reentrant) = yes]
26092         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26094         * Makeconfig
26095         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26096         * sysdeps/pthread/configure: File removed.
26097         * sysdeps/pthread/Makeconfig: New file.
26098         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26099         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26101 2012-08-16  Gary Benson  <gbenson@redhat.com>
26103         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26104         unmapping the first object in a namespace.
26106 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26108         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26109         (__internal_setnetgrent): ... this.  Add internal_function to
26110         definition.  Add libc_hidden_def.
26111         (setnetgrent): Update caller.
26112         (internal_endnetgrent): Renamed to ...
26113         (__internal_endnetgrent): ... this.  Add internal_function to
26114         definition.  Add libc_hidden_def.
26115         (endnetgrent): Update caller.
26116         (internal_getnetgrent_r): Renamed to ...
26117         (__internal_getnetgrent_r): ... this.  Add internal_function to
26118         definition.  Add libc_hidden_def.
26119         (__getnetgrent_r): Update caller.
26120         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26122 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26124         * stdlib/longlong.h: Update from GCC.
26126 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26128         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26129         on _QL, which is set by umul_ppmm but never used.
26130         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26131         variables, which are set by GMP macros but never used.
26132         * stdio-common/_itowa.c (_itowa): Likewise.
26133         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26134         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26136 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26138         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26139         struct La_sh_regs is not constant.
26140         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26141         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26142         and struct La_sparc64_regs are not constant.
26144 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26146         * sysdeps/unix/sysv/linux/kernel-features.h
26147         (__ASSUME_POSIX_TIMERS): Remove.
26148         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26149         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26150         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26151         Make code unconditional.
26152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26153         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26154         Make code unconditional.
26155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26156         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26157         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26159         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26160         Make code unconditional.
26161         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26162         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26163         (__libc_missing_posix_timers): Remove.
26165 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26167         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26168         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26170         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26172         * elf/dl-sym.c: Include <stdlib.h>.
26174         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26175         constants, which avoids warnings in 32-bit builds.
26177         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26178         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26180         * misc/lseek.c: File moved to ...
26181         * io/lseek.c: ... here.
26183         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26185         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26186         shifting LEN more than 31 bits at once.
26188 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26190         [BZ #14195]
26191         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26192         segmentation fault for a case of two empty input strings.
26193         * string/test-strncasecmp.c (check1): Renamed to...
26194         (bz12205): ...this.
26195         (bz14195): Add new testcase for two empty input strings and N > 0.
26196         (test_main): Call new testcase, adapt for renamed function.
26198 2012-08-15  Andreas Jaeger  <aj@suse.de>
26200         [BZ #14090]
26201         * crypt/md5test2.c: New test, based on test supplied by Serge
26202         Belyshev <belyshev@depni.sinp.msu.ru>.
26203         * crypt/Makefile (xtests): Add md5test-giant..
26204         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26206 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26208         [BZ #14090]
26209         * crypt/md5.c (md5_process_block): Don't assume the buffer
26210         length is less than 2**32.
26211         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26212         length is less than 2**64.
26214 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26216         * string/str-two-way.h: Include <sys/param.h>.
26217         (MAX): Macro removed.
26219         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26220         Move #define and #undef of memmove to just before and after
26221         including <string.h>.
26223         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26224         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26225         and after including <string.h>.  Move declarations of
26226         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26227         to before #include "string/memmove.c".
26229         * include/dirent.h: Declare __getdirentries.
26231         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26232         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26234 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26236         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26237         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26238         * sysdeps/i386/configure: Regenerated.
26239         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26240         STABS_CURRENT_FILE, and STABS_FUN.
26241         (END): Remove call to STABS_FUN_END.
26242         (STABS_CURRENT_FILE1): Delete.
26243         (STABS_CURRENT_FILE): Likewise.
26244         (STABS_FUN): Likewise.
26245         (STABS_FUN_END): Likewise.
26246         (STABS_FUN2): Likewise.
26247         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26248         * sysdeps/x86_64/configure: Regenerated.
26250 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26252         * elf/dl-open.c: Include <atomic.h>.
26253         * elf/dl-lookup.c: Likewise.
26255 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26257         * sysdeps/unix/sysv/linux/kernel-features.h
26258         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26259         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26260         unconditionally.
26261         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26262         unconditionally.
26263         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26264         condition on __ASSUME_CLONE_THREAD_FLAGS.
26266 2012-08-14  Andreas Jaeger  <aj@suse.de>
26268         * sysdeps/i386/fpu/libm-test-ulps: Update.
26270 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26272         * include/atomic.h (atomic_exchange_and_add): Split into ...
26273         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26274         New atomic macros.
26276 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26280 2012-08-13  Jeff Law <law@redhat.com>
26282         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26283         null byte in the output string.
26285 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26287         * sysdeps/unix/sysv/linux/kernel-features.h
26288         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26289         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26290         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26291         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26292         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26293         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26294         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26296 2012-08-09  Jeff Law <law@redhat.com>
26298         [BZ #13939]
26299         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26300         When avoid_arena is set, don't retry in the that arena.  Pick the
26301         next one, whatever it might be.
26302         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26303         (arena_lock): Pass in new parameter to arena_get2.
26304         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26305         arena_get2.
26306         (__libc_malloc): Unify retrying after main arena failure with
26307         __libc_memalign version.
26308         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26310 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26312         [BZ #14166]
26313         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26314         to __redirect_strstr.
26315         (__strstr_sse42): Use typeof __redirect_strstr.
26316         (__strstr_ia32): Likewise.
26317         (__libc_strstr): New prototype.
26318         (strstr): Renamed to ...
26319         (__libc_strstr): This.
26320         (strstr): New strong alias of __libc_strstr.
26321         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26322         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26323         __redirect_time.
26324         Include <time.h>.
26325         (__libc_time): New prototype.
26326         (time_ifunc): Replace time with __libc_time.
26327         (time): New strong alias and hidden definition of __libc_time.
26328         (__GI_time): Remove strong alias.
26329         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26330         Include <stddef.h>.
26331         (memmove): Redefined to __redirect_memmove.
26332         (__memmove_sse2): Use typeof __redirect_memmove.
26333         (__memmove_ssse3): Likewise.
26334         (__memmove_ssse3_back): Likewise.
26335         (__libc_memmove): New prototype.
26336         (memmove): Renamed to ...
26337         (__libc_memmove): This.
26338         (memmove): New strong alias of __libc_memmove.
26340 2012-08-08  Mark Salter  <msalter@redhat.com>
26342         * elf/elf.h
26343         (R_MN10300_TLS_GD): Define.
26344         (R_MN10300_TLS_LD): Likewise.
26345         (R_MN10300_TLS_LDO): Likewise.
26346         (R_MN10300_TLS_GOTIE): Likewise.
26347         (R_MN10300_TLS_IE): Likewise.
26348         (R_MN10300_TLS_LE): Likewise.
26349         (R_MN10300_TLS_DTPMOD): Likewise.
26350         (R_MN10300_TLS_DTPOFF): Likewise.
26351         (R_MN10300_TLS_TPOFF): Likewise.
26352         (R_MN10300_SYM_DIFF): Likewise.
26353         (R_MN10300_ALIGN): Likewise.
26354         (R_MN10300_NUM): Update.
26356 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26358         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26359         Remove.
26361 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26363         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26365         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26366         sysdeps/unix -> sysdeps/posix move.
26367         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26369 2012-08-07      Allan McRae     <allan@archlinux.org>
26371         [BZ #14303]
26372         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26373         (SUNOS_CPP): Likewise.
26374         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26375         not found.
26376         (open_input): Call CPP using execvp.
26378 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26380         * sysdeps/unix/sysv/linux/kernel-features.h
26381         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26382         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26383         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26384         (__ASSUME_WAITID_SYSCALL): Likewise.
26385         * sysdeps/unix/sysv/linux/dl-execstack.c
26386         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26387         code unconditional.
26388         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26389         conditional code.
26390         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26391         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26392         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26393         code.
26394         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26395         unconditional.
26396         [__ASSUME_WAITID_SYSCALL]: Likewise.
26397         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26399 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26401         * sysdeps/unix/closedir.c: Renamed to ...
26402         * sysdeps/posix/closedir.c: ... here.
26403         * sysdeps/unix/dirfd.c: Renamed to ...
26404         * sysdeps/posix/dirfd.c: ... here.
26405         * sysdeps/unix/dirstream.h: Renamed to ...
26406         * sysdeps/posix/dirstream.h: ... here.
26407         * sysdeps/unix/fdopendir.c: Renamed to ...
26408         * sysdeps/posix/fdopendir.c: ... here.
26409         * sysdeps/unix/opendir.c: Renamed to ...
26410         * sysdeps/posix/opendir.c: ... here.
26411         * sysdeps/unix/readdir.c: Renamed to ...
26412         * sysdeps/posix/readdir.c: ... here.
26413         * sysdeps/unix/readdir_r.c: Renamed to ...
26414         * sysdeps/posix/readdir_r.c: ... here.
26415         * sysdeps/unix/rewinddir.c: Renamed to ...
26416         * sysdeps/posix/rewinddir.c: ... here.
26417         * sysdeps/unix/seekdir.c: Renamed to ...
26418         * sysdeps/posix/seekdir.c: ... here.
26419         * sysdeps/unix/telldir.c: Renamed to ...
26420         * sysdeps/posix/telldir.c: ... here.
26421         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26422         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26423         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26424         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26426         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26427         * bits/fcntl.h: ... here.
26429         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26430         not 0.
26431         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26432         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26433         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26434         (struct flock): Move l_start, l_len to the beginning.
26435         Use __pid_t for l_pid.
26436         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26437         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26438         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26439         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26440         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26441         [__USE_LARGEFILE64] (struct flock64): New type.
26442         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26444         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26445         * bits/dirent.h: ... here.
26447         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26448         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26450 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26453         Change from 2.6.0 to 2.6.16.
26454         * sysdeps/unix/sysv/linux/configure: Regenerated.
26455         * sysdeps/unix/sysv/linux/kernel-features.h
26456         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26457         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26458         version.
26459         (__ASSUME_UTIMES): Likewise.
26460         (__ASSUME_CLONE_STOPPED): Remove.
26461         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26462         architectures, not kernel version.
26463         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26464         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26465         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26466         (__ASSUME_WAITID_SYSCALL): Likewise.
26467         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26468         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26469         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26470         refer to older versions.
26472 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26474         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26475         Define alphasort64 as an alias.
26476         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26477         Define versionsort64 as an alias.
26478         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26479         Define scandir64 as an alias.
26480         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26481         Define scandirat64 as an alias.
26482         * dirent/alphasort64.c (alphasort64):
26483         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26484         * dirent/versionsort64.c: Likewise.
26485         * dirent/scandir64.c: Likewise.
26486         * dirent/scandirat64.c: Likewise.
26487         * sysdeps/wordsize-64/alphasort.c: File removed.
26488         * sysdeps/wordsize-64/alphasort64.c: File removed.
26489         * sysdeps/wordsize-64/scandir.c: File removed.
26490         * sysdeps/wordsize-64/scandir64.c: File removed.
26491         * sysdeps/wordsize-64/scandirat.c: File removed.
26492         * sysdeps/wordsize-64/scandirat64.c: File removed.
26493         * sysdeps/wordsize-64/versionsort.c: File removed.
26494         * sysdeps/wordsize-64/versionsort64.c: File removed.
26495         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26496         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26497         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26498         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26499         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26500         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26501         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26502         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26504         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26505         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26506         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26508         [defined __arch64__ || defined __sparcv9]
26509         (__INO_T_MATCHES_INO64_T): New macro.
26510         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26511         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26512         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26513         * sysdeps/unix/sysv/linux/bits/dirent.h
26514         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26515         (_DIRENT_MATCHES_DIRENT64): New macro.
26517         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26518         Define lockf64 as an alias.
26519         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26520         Define fseeko64 as an alias.
26521         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26522         Define ftello64 as an alias.
26523         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26524         Define _IO_fgetpos64 and fgetpos64 as aliases.
26525         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26526         Define _IO_fsetpos64 and fsetpos64 as aliases.
26527         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26528         Conditionalize body on this.
26529         * libio/fseeko64.c: Likewise.
26530         * libio/ftello64.c: Likewise.
26531         * libio/iofgetpos64.c: Likewise.
26532         * libio/iofsetpos64.c: Likewise.
26533         * sysdeps/wordsize-64/lockf.c: File removed.
26534         * sysdeps/wordsize-64/lockf64.c: File removed.
26535         * sysdeps/wordsize-64/fseeko.c: File removed.
26536         * sysdeps/wordsize-64/fseeko64.c: File removed.
26537         * sysdeps/wordsize-64/ftello.c: File removed.
26538         * sysdeps/wordsize-64/ftello64.c: File removed.
26539         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26540         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26541         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26542         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26543         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26544         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26546         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26548         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26549         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26550         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26551         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26552         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26554         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26556         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26557         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26558         [defined __arch64__ || defined __sparcv9]
26559         (__OFF_T_MATCHES_OFF64_T): New macro.
26560         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26561         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26563         (__OFF_T_MATCHES_OFF64_T): New macro.
26565 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26567         * stdlib/secure-getenv.c (__secure_getenv): Replace
26568         GLIBC_2_16 with GLIBC_2_17.
26570 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26572         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26573         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26575 2012-08-03  David S. Miller  <davem@davemloft.net>
26577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26579 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26582         Remove.
26583         (__ASSUME_CORRECT_SI_PID): Likewise.
26584         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26585         (__ASSUME_TMPFS_NAME): Likewise.
26586         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26587         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26588         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26589         (HAVE_AUX_SECURE): Make definition unconditional.
26590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26591         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26593 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26595         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26596         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26597         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26598         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26599         __eloop_threshold instead of SYMLOOP_MAX.
26601         * sysdeps/generic/eloop-threshold.h: New file.
26602         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26603         of MAXSYMLINKS.
26604         * elf/chroot_canon.c (chroot_canon): Likewise.
26606 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26608         [BZ #13717]
26609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26610         Change to 2.6.0 everywhere.
26611         * sysdeps/unix/sysv/linux/configure: Regenerated.
26612         * sysdeps/unix/sysv/linux/kernel-features.h
26613         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26614         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26615         kernel versions.
26616         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26617         (__ASSUME_FUTEX_REQUEUE): Remove.
26618         (__ASSUME_STATFS64): Define unconditionally.
26619         (__ASSUME_AT_SECURE): Likewise.
26620         (__ASSUME_CORRECT_SI_PID): Likewise.
26621         (__ASSUME_TGKILL): Define without depending on kernel version for
26622         i386.
26623         (__ASSUME_UTIMES): Likewise.
26624         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26625         kernel version.
26626         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26627         (__ASSUME_TMPFS_NAME): Likewise.
26628         * README: Update reference to Linux kernel versions.
26630 2012-08-02  Marek Polacek  <polacek@redhat.com>
26632         [BZ# 14150]
26633         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26634         libc_cv_asm_type_prefix with %.
26635         * configure: Regenerated.
26636         * include/libc-symbols.h: Remove comment about
26637         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26638         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26639         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26640         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26641         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26642         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26643         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26644         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26645         * elf/tst-unique2mod1.c: Likewise.
26646         * elf/tst-unique1mod2.c: Likewise.
26647         * elf/tst-unique1mod1.c: Likewise.
26648         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26649         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26650         Replace ASM_TYPE_DIRECTIVE with .type.
26651         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26652         * sysdeps/i386/sysdep.h: Likewise.
26653         * sysdeps/x86_64/sysdep.h: Likewise.
26654         * sysdeps/sh/sysdep.h: Likewise.
26655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26656         Do not define ASM_TYPE_DIRECTIVE.
26657         * sysdeps/powerpc/sysdep.h: Likewise.
26658         * sysdeps/powerpc/powerpc32/sysdep.h:
26659         Replace ASM_TYPE_DIRECTIVE with .type.
26660         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26661         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26662         * sysdeps/i386/fpu/e_powf.S: Likewise.
26663         * sysdeps/i386/fpu/e_expl.S: Likewise.
26664         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26665         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26666         * sysdeps/i386/fpu/e_pow.S: Likewise.
26667         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26668         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26669         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26670         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26671         * sysdeps/i386/fpu/e_log2.S: Likewise.
26672         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26673         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26674         * sysdeps/i386/fpu/e_powl.S: Likewise.
26675         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26676         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26677         * sysdeps/i386/fpu/e_logl.S: Likewise.
26678         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26679         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26680         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26681         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26682         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26683         * sysdeps/i386/fpu/e_log.S: Likewise.
26684         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26685         * sysdeps/i386/fpu/e_logf.S: Likewise.
26686         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26687         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26688         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26689         * sysdeps/i386/fpu/e_log10.S: Likewise.
26690         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26692         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26693         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26695         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26696         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26697         * sysdeps/i386/i686/strtok.S: Likewise.
26698         * sysdeps/i386/i386-mcount.S: Likewise.
26699         * sysdeps/i386/strtok.S: Likewise.
26700         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26701         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26702         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26704         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26705         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26706         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26707         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26708         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26709         * sysdeps/x86_64/_mcount.S: Likewise.
26710         * sysdeps/x86_64/strtok.S: Likewise.
26711         * sysdeps/sh/_mcount.S: Likewise.
26713 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26715         * libio/iofopen.c: Include <fcntl.h>.
26716         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26717         (_IO_fopen64, fopen64): Define as aliases.
26718         * libio/iofopen64.c: Include <fcntl.h>.
26719         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26720         Conditionalize body on this.
26721         * sysdeps/wordsize-64/iofopen.c: File removed.
26722         * sysdeps/wordsize-64/iofopen64.c: File removed.
26724 2012-08-01  Marek Polacek  <polacek@redhat.com>
26726         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26727         Use dlfcn directly instead of a variable.
26728         (binfmt-subdir): Do not define.
26729         (dlfcn): Likewise.
26731 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26734         Remove all definitions.
26735         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26736         <kernel-features.h>.
26737         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26738         (miss_F_GETOWN_EX): Remove all definitions.
26739         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26740         macro definition.
26741         [!__ASSUME_FCNTL64]: Remove conditional code.
26742         [__ASSUME_FCNTL64]: Make code unconditional.
26743         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26744         <kernel-features.h>.
26745         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26746         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26747         (lockf64) [__NR_fcntl64]: Make code unconditional.
26748         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26750         * sysdeps/unix/sysv/linux/kernel-features.h
26751         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26752         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26753         Make code unconditional.
26754         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26755         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26757         [__NR_vfork]: Make code unconditional.
26758         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26759         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26761         [__NR_vfork]: Make code unconditional.
26762         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26763         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26765 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26767         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26768         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26770         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26771         Define mkstemp64 as an alias.
26772         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26773         Define mkstemps64 as an alias.
26774         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26775         Define mkostemp64 as an alias.
26776         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26777         Define mkostemps64 as an alias.
26778         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26779         Conditionalize body on this.
26780         * misc/mkostemp64.c: Likewise.
26781         * misc/mkostemps64.c: Likewise.
26782         * misc/mkstemps64.c: Likewise.
26783         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26784         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26785         * sysdeps/wordsize-64/mkostemp.c: File removed.
26786         * sysdeps/wordsize-64/mkstemp.c: File removed.
26787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26788         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26792         [BZ #14138]
26793         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26794         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26795         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26796         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26798         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26799         compat_symbol macros from <shlib-compat.h> rather than the underlying
26800         default_symbol_version and symbol_version macros, so that DEFAULT
26801         lines in shlib-versions are respected.
26802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26804 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26806         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26807         Declare with warn_unused_result.
26808         (setgid, setregid, setegid, setresgid): Likewise.
26809         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26810         Likewise.
26811         * WUR-REPORT: Remove set*id functions.
26813 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26815         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26817 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26819         [BZ #10191]
26820         * include/sys/socket.h (__libc_accept, __libc_accept4):
26821         Add attribute_hidden.
26822         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26824         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26825         use of PTR_MANGLE.
26826         * inet/getnetgrent_r.c (setup): Likewise.
26828         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26830 2012-07-31  David S. Miller  <davem@davemloft.net>
26832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26834 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #13629]
26837         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26838         value between 1.0 and 2.0 and smaller part has absolute value less
26839         than 1.0.
26840         * math/s_clog10.c (__clog10): Likewise.
26841         * math/s_clog10f.c (__clog10f): Likewise.
26842         * math/s_clog10l.c (__clog10l): Likewise.
26843         * math/s_clogf.c (__clogf): Likewise.
26844         * math/s_clogl.c (__clogl): Likewise.
26845         * math/libm-test.inc (clog_test): Add more tests.
26846         (clog10_test): Likewise.
26847         * sysdeps/i386/fpu/libm-test-ulps: Update.
26848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26852         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26853         Exit with zero in case no suitable GID is found, and write a
26854         message to standard error.
26856 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26858         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26859         rather than to 1.
26860         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26861         (MAXPATHLEN): Removed.
26862         (NOGROUP, NODEV): New macros.
26863         (setbit, clrbit, isset, isclr): New macros.
26864         (howmany, roundup, powerof2): New macros.
26865         (DEV_BSIZE): New macro.
26867         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26868         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26870         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26871         definition on [!__NO_LONG_DOUBLE_MATH].
26873         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26874         PTR_MANGLE and PTR_DEMANGLE.
26876         * socket/accept4.c (accept4): Rename to __libc_accept4.
26877         Define accept4 as a weak alias.
26879         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26880         on [_DIRENT_HAVE_D_TYPE].
26881         * io/ftw.c (ftw_dir): Likewise.
26883         * io/xmknod.c (__xmknod): Don't check PATH for being null.
26885         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26887         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26888         Use the BSD numbers rather than the arbitrary ones we had.
26889         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26890         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26891         (SIGXCPU, SIGXFSZ): New macros.
26892         (_NSIG): Now 32.
26894         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26895         initializer on [_LIBC_REENTRANT].
26897         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26898         definitions inside [_POSIX_MAPPED_FILES].
26900         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26902         * dirent/opendir.c: Include <fcntl.h>.
26904         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26905         (__libc_getspecific): Likewise.
26906         (__libc_key_create): Likewise.
26908         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26909         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26910         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26911         (tmpfile64): Define as alias.
26912         * sysdeps/wordsize-64/tmpfile.c: File removed.
26913         * sysdeps/wordsize-64/tmpfile64.c: File removed.
26914         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26915         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26917         * stdio-common/vfscanf.c: Include <stdbool.h>.
26918         * nss/makedb.c: Likewise.
26919         * stdio-common/_i18n_number.h: Likewise.
26920         * argp/argp-help.c: Likewise.
26921         * posix/wordexp.c: Likewise.
26922         * sysdeps/posix/spawni.c: Likewise.
26923         * nss/nss_files/files-initgroups.c: Likewise.
26924         * stdio-common/reg-modifier.c: Include <stdlib.h>.
26925         * nss/nss_files/files-initgroups.c: Likewise.
26926         * nss/nss_db/db-netgrp.c: Likewise.
26927         * nss/nss_db/db-initgroups.c: Likewise.
26928         * io/fchmodat.c: Include <sys/stat.h>.
26930         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26931         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26933         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26934         [HAVE_MMAP].
26936         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26937         Add multiple inclusion protection.
26939 2012-07-27  David S. Miller  <davem@davemloft.net>
26941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26943 2012-07-27  Gary Benson  <gbenson@redhat.com>
26945         [BZ #14298]
26946         * elf/rtld.c: Include <stap-probe.h>.
26947         (dl_main): Added static probes "init_start" and "init_complete".
26948         * elf/dl-load.c: Include <stap-probe.h>.
26949         (lose): Take new parameter "nsid".
26950         Added static probe "map_failed".
26951         (_dl_map_object_from_fd): Pass namespace id to lose.
26952         Added static probe "map_start".
26953         (open_verify): Pass namespace id to lose.
26954         * elf/dl-open.c: Include <stap-probe.h>.
26955         (dl_open_worker) Added static probes "map_complete", "reloc_start"
26956         and "reloc_complete".
26957         * elf/dl-close.c: Include <stap-probe.h>.
26958         (_dl_close_worker): Added static probes "unmap_start" and
26959         "unmap_complete".
26960         * elf/rtld-debugger-interface.txt: New file documenting the above.
26962 2012-07-26  Roland McGrath  <roland@hack.frob.com>
26964         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26965         rather than a string variable.
26966         * sunrpc/rpc_main.c (h_output): Likewise.
26967         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26969 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
26971         * inet/check_native.c: New file.
26973 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
26975         [BZ #13629]
26976         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26977         if larger part has absolute value 1.0.
26978         * math/s_clog10.c (__clog10): Likewise.
26979         * math/s_clog10f.c (__clog10f): Likewise.
26980         * math/s_clog10l.c (__clog10l): Likewise.
26981         * math/s_clogf.c (__clogf): Likewise.
26982         * math/s_clogl.c (__clogl): Likewise.
26983         * math/libm-test.inc (clog_test): Add more tests.
26984         (clog10_test): Likewise.
26985         * sysdeps/i386/fpu/libm-test-ulps: Update.
26986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26988         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26989         (pltexit): Likewise.
26990         (La_regs): Likewise.
26991         (La_retval): Likewise.
26992         (int_retval): Likewise.
26993         Update #error for removed macros to refer only to definitions in
26994         tst-audit.h.
26995         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26996         macro.
26997         (pltexit): Likewise.
26998         (La_regs): Likewise.
26999         (La_retval): Likewise.
27000         (int_retval): Likewise.
27001         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27002         macro.
27003         (pltexit): Likewise.
27004         (La_regs): Likewise.
27005         (La_retval): Likewise.
27006         (int_retval): Likewise.
27007         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27008         macro.
27009         (pltexit): Likewise.
27010         (La_regs): Likewise.
27011         (La_retval): Likewise.
27012         (int_retval): Likewise.
27013         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27014         macro.
27015         (pltexit): Likewise.
27016         (La_regs): Likewise.
27017         (La_retval): Likewise.
27018         (int_retval): Likewise.
27019         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27020         macro.
27021         (pltexit): Likewise.
27022         (La_regs): Likewise.
27023         (La_retval): Likewise.
27024         (int_retval): Likewise.
27025         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27026         macro.
27027         (pltexit): Likewise.
27028         (La_regs): Likewise.
27029         (La_retval): Likewise.
27030         (int_retval): Likewise.
27031         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27032         macro definitions in tst-audit.h.
27033         * sysdeps/i386/tst-audit.h: New file.
27034         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27035         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27036         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27037         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27038         * sysdeps/sh/tst-audit.h: Likewise.
27039         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27040         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27041         * sysdeps/x86_64/tst-audit.h: Likewise.
27043 2012-07-26  Andreas Jaeger  <aj@suse.de>
27045         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27046         ptrace.
27048         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27049         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27050         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27051         PTRACE_O_MASK.
27052         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27053         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27054         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27056         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27057         value.
27059         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27060         _sigsys.
27061         (si_call_addr, si_syscall, si_arch): Define new macro.
27062         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27063         _sigsys.
27064         (si_call_addr, si_syscall, si_arch): Define new marcro.
27065         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27066         _sigsys.
27067         (si_call_addr, si_syscall, si_arch): Define new macro.
27068         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27069         _sigsys.
27070         (si_call_addr, si_syscall, si_arch): Define new macro.
27072 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27074         [BZ #13717]
27075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27076         Change to 2.4.21 where previously 2.4.1.
27077         * sysdeps/unix/sysv/linux/configure: Regenerated.
27078         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27079         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27080         Linux kernel version.
27081         (__ASSUME_STD_AUXV): Remove.
27082         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27083         kernel version.
27084         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27085         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27086         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27087         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27088         (__ASSUME_NETLINK_SUPPORT): Likewise.
27089         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27090         (__no_netlink_support): Remove conditional definition.
27091         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27092         Remove.
27093         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27094         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27095         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27096         (if_nameindex_ioctl): Remove.
27097         (if_nameindex_netlink): Do not handle __no_netlink_support.
27098         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27099         code.
27100         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27101         Remove conditional code.
27102         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27103         code.
27104         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27105         unconditional.
27106         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27107         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27108         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27109         Remove.
27110         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27111         [!__ASSUME_STD_AUXV]: Remove conditional code.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27113         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27114         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27116         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27117         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27118         code.
27119         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27121         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27122         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27123         conditional code.
27124         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27126         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27127         code.
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27129         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27130         conditional code.
27131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27132         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27133         code unconditional.
27134         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27135         conditional code.
27136         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27137         unconditional.
27138         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27139         conditional code.
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27141         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27142         unconditional.
27143         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27144         conditional code.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27146         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27147         code unconditional.
27148         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27149         conditional code.
27150         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27151         unconditional.
27152         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27153         conditional code.
27154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27155         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27156         code unconditional.
27157         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27158         conditional code.
27159         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27160         unconditional.
27161         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27162         conditional code.
27164 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27166         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27167         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27168         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27169         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27170         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27171         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27172         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27173         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27175         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27176         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27177         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27178         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27179         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27180         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27181         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27182         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27183         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27184         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27186         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27187         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27188         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27190 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27192         * Versions.def: Add GLIBC_2.17.
27193         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27194         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27195         Introduce __libc_secure_getenv.
27196         * stdlib/Versions (2.17): Add secure_getenv
27197         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27198         * stdlib/secure-getenv.c: Rename __secure_getenv to
27199         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27200         symbol __secure_getenv for GLIBC_2.0.
27201         * stdlib/tst-secure-getenv.c: New.
27202         * stdlib/Makefile (tests): Add testcase.
27203         * manual/startup.texi (Environment Access): Document
27204         secure_getenv.
27205         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27206         __libc_secure_getenv.
27207         * inet/ruserpass.c (ruserpass): Likewise.
27208         * malloc/mtrace.c (mtrace): Likewise.
27209         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27210         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27211         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27212         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27213         HAVE_SECURE_GETENV.
27214         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27215         __secure_getenv to __libc_secure_getenv.
27216         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27218         Likewise.
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27220         Likewise.
27221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27223         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27229 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27231         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27232         (struct La_i86_retval): Likewise.
27233         (struct La_x86_64_regs): Likewise.
27234         (struct La_x86_64_retval): Likewise.
27235         (struct La_x32_regs): Likewise.
27236         (struct La_x32_retval): Likewise.
27237         (struct La_ppc32_regs): Likewise.
27238         (struct La_ppc32_retval): Likewise.
27239         (struct La_ppc64_regs): Likewise.
27240         (struct La_ppc64_retval): Likewise.
27241         (struct La_sh_regs): Likewise.
27242         (struct La_sh_retval): Likewise.
27243         (struct La_s390_32_regs): Likewise.
27244         (struct La_s390_32_retval): Likewise.
27245         (struct La_s390_64_regs): Likewise.
27246         (struct La_s390_64_retval): Likewise.
27247         (struct La_sparc32_regs): Likewise.
27248         (struct La_sparc32_retval): Likewise.
27249         (struct La_sparc64_regs): Likewise.
27250         (struct La_sparc64_retval): Likewise.
27251         (struct audit_ifaces): Remove architecture-specific pltenter and
27252         pltexit members.
27253         * sysdeps/i386/ldsodefs.h: New file.
27254         * sysdeps/powerpc/ldsodefs.h: Likewise.
27255         * sysdeps/s390/ldsodefs.h: Likewise.
27256         * sysdeps/sh/ldsodefs.h: Likewise.
27257         * sysdeps/sparc/ldsodefs.h: Likewise.
27258         * sysdeps/x86_64/ldsodefs.h: Likewise.
27260 2012-07-25  Marek Polacek  <polacek@redhat.com>
27262         [BZ #6808]
27263         * math/libm-test.inc (yn_test): Add another test.
27264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27265         to ERANGE when the result is +-Inf.
27266         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27267         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27268         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27269         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27271 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27273         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27274         equal to 0.
27275         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27276         clock_t.
27277         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27279 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27281         * configure.in <sysdeps resolving>: Correct printing
27282         Implies_before.
27283         * configure: Regenerate.
27285 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27287         * math/w_ilogb.c: Include <limits.h>.
27288         * math/w_ilogbl.c: Likewise.
27290 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27292         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27293         va_copy.  Document allowing for unavailable va_copy only as
27294         pre-C99 compatibility.
27295         * manual/string.texi (Copying and Concatenation): Use va_copy
27296         instead of __va_copy in concat example.
27298 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27300         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27301         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27302         it if not null.
27304         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27305         with O_NOLINK passed to __file_name_lookup.
27307         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27308         with O_NOLINK passed to __file_name_lookup.
27310         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27311         negative N or less than NGIDS.
27313         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27314         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27315         enough.  Use memcpy instead of strncpy.
27317 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27319         * elf/Makefile (check-data): Remove.
27320         (localplt.data): New vpath directive.
27321         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27322         instead of $(check-data).
27323         * scripts/data/localplt-generic.data: Move to ...
27324         * sysdeps/generic/localplt.data: ... here.
27325         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27326         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27327         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27329         ... here.
27330         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27332         ... here.
27333         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27335         ... here.
27336         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27338         ... here.
27339         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27341         ... here.
27342         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27344         ... here.
27346 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27348         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27349         PPC32 and PPC64 files.
27350         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27351         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27353 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27355         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27356         __makecontext_ret to ...
27357         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27358         ... here and call exit if uc_link is NULL.  New file.
27359         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27360         __makecontext_ret.S.
27361         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27362         __makecontext_ret to ...
27363         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27364         ... here and call exit if uc_link is NULL.  New file.
27365         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27366         __makecontext_ret.S.
27368 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27370         * elf/elf.h (R_390_IRELATIVE): New definition.
27371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27372         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27373         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27374         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27375         (elf_machine_lazy_rel): Likewise.
27376         * sysdeps/s390/dl-irel.h: New file.
27377         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27378         * sysdeps/s390/s390-64/memset.S: New asm code.
27379         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27380         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27381         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27382         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27383         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27384         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27385         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27386         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27387         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27388         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27389         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27390         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27391         * sysdeps/s390/s390-32/memset.S: New asm code.
27392         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27394 2012-07-17  Marek Polacek  <polacek@redhat.com>
27396         [BZ #14349]
27397         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27398         * sysdeps/s390/s390-64/configure.in: Likewise.
27399         * sysdeps/sparc/configure.in: Likewise.
27400         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27401         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27402         * sysdeps/i386/configure.in: Likewise.
27403         * sysdeps/x86_64/configure.in: Likewise.
27404         * sysdeps/sh/configure.in: Likewise.
27405         * sysdeps/s390/s390-32/configure: Regenerated.
27406         * sysdeps/s390/s390-64/configure: Likewise.
27407         * sysdeps/x86_64/configure: Likewise.
27408         * sysdeps/sh/configure: Likewise.
27409         * sysdeps/powerpc/powerpc64/configure: Likewise.
27410         * sysdeps/powerpc/powerpc32/configure: Likewise.
27411         * sysdeps/sparc/configure: Likwise.
27412         * sysdeps/i386/configure: Likewise.
27414         * elf/dl-open.c: Comment fixes.
27416 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27418         * Makefile [CXX] (check-data): Remove.
27419         [CXX] (c++-types.data): New vpath directive.
27420         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27421         vpath.  Do not allow for C++ type data being missing.
27422         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27423         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27424         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27425         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27426         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27427         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27428         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27430         ... here.
27431         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27433         ... here.
27434         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27436         ... here.
27437         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27439         ... here.
27440         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27442         ... here.
27443         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27445         ... here.
27446         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27448         ... here.
27449         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27452         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27453         definitions to architecture-specific files.
27454         (TLS_IE): Likewise.
27455         (TLS_LD): Likewise.
27456         (TLS_GD): Likewise.
27457         * sysdeps/i386/tls-macros.h: New file.
27458         * sysdeps/powerpc/tls-macros.h: Likewise.
27459         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27460         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27461         * sysdeps/sh/tls-macros.h: Likewise.
27462         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27463         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27464         * sysdeps/x86_64/tls-macros.h: Likewise.
27466 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27468         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27469         zero value for regular exit case.
27471         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27472         (__start_context): Preserve zero value for regular exit case.
27474 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27475             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27477         * manual/setjmp.texi (setcontext): Clarify normal process
27478         termination when uc_link is the null pointer.
27479         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27480         exit call.
27482 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27484         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27485         preprocessor.  Test for each exception mask separately.
27487 2012-07-16  Andreas Jaeger  <aj@suse.de>
27489         * po/ru.po: Update from translation team.
27491 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27493         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27494         equal to 0.
27495         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27496         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27497         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27498         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27501 2012-07-13  Andreas Jaeger  <aj@suse.de>
27503         * po/fr.po: Update from translation team.
27505 2012-07-12  Marek Polacek  <polacek@redhat.com>
27507         [BZ #14173]
27508         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27509         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27510         loop condition.
27512 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27514         [BZ #13717]
27515         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27516         Change to 2.4.1 where previously 2.4.0.
27517         * sysdeps/unix/sysv/linux/configure: Regenerated.
27518         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27519         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27520         version.
27521         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27522         (__ASSUME_AT_CLKTCK): Remove.
27523         (__ASSUME_AT_PAGESIZE): Likewise.
27524         (__ASSUME_AT_XID): Likewise.
27525         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27526         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27527         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27528         unconditionally.
27529         (HAVE_AUX_PAGESIZE): Likewise.
27530         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27531         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27532         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27534 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27536         [BZ #14307]
27537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27538         the temporary buffer used to invoke __gethostbyname2_r,
27539         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27540         host_data / struct gaih_addrtuple.
27541         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27542         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27543         header file nss/nsswitch.h.
27544         * nss/nsswitch.h (global scope): Add definition of implementation
27545         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27546         resolv/nss_dns/dns-host.c).
27548 2012-07-11  Andreas Jaeger  <aj@suse.de>
27550         * po/fr.po: Update from translation team.
27552         * po/sv.po: Update from translation team
27553         * po/fr.po: Another update from translation team.
27555 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27557         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27558         for subnormals or multiply small sinh result by itself.
27559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27562 2012-07-11  David S. Miller  <davem@davemloft.net>
27564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27566 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27568         [BZ #14347]
27569         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27570         (INTERNAL_MARK): Shift it here.
27572 2012-07-10  Marek Polacek  <polacek@redhat.com>
27574         [BZ #14151]
27575         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27576         libc_cv_asm_global_directive with .globl.
27577         * configure: Regenerated.
27578         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27579         with .globl.
27580         * sysdeps/i386/configure: Regenerated.
27581         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27582         with .globl.
27583         * sysdeps/x86_64/configure: Regenerated.
27584         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27585         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27586         * elf/tst-unique2mod2.c: Likewise.
27587         * elf/tst-unique2mod1.c: Likewise.
27588         * elf/tst-unique1mod2.c: Likewise.
27589         * elf/tst-unique1mod1.c: Likewise.
27590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27591         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27593         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27594         * sysdeps/mach/sysdep.h: Likewise.
27595         * sysdeps/i386/sysdep.h: Likewise.
27596         * sysdeps/i386/i386-mcount.S: Likewise.
27597         * sysdeps/x86_64/_mcount.S: Likewise.
27598         * sysdeps/x86_64/sysdep.h: Likewise.
27599         * sysdeps/sh/_mcount.S: Likewise.
27600         * sysdeps/sh/sysdep.h: Likewise.
27601         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27602         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27603         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27604         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27605         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27606         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27607         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27608         * locale/localeinfo.h: Likewise.
27609         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27610         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27612 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27614         [BZ #14336]
27615         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27616         system".
27617         * manual/message.texi (The Uniforum approach): Likewise.
27618         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27619         (glibc iconv Implementation): Likewise.
27621 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #14337]
27624         * math/s_clog.c (__clog): Avoid scaling a value down where that
27625         could result in underflow.
27626         * math/s_clog10.c (__clog10): Likewise.
27627         * math/s_clog10f.c (__clog10f): Likewise.
27628         * math/s_clog10l.c (__clog10l): Likewise.
27629         * math/s_clogf.c (__clogf): Likewise.
27630         * math/s_clogl.c (__clogl): Likewise.
27631         * math/libm-test.inc (clog_test): Add more tests.
27632         (clog10_test): Likewise.
27633         * sysdeps/i386/fpu/libm-test-ulps: Update.
27634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27636 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27638         [BZ #14283]
27639         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27640         by 7 not 8 to examine high bit of fractional part.
27642         [BZ #14042]
27643         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27644         for call to __mcount_internal.
27645         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27646         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27647         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27649 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27651         [BZ #14154]
27652         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27653         approximation for values within 0x1p-13f of an odd multiple of
27654         pi/4.
27655         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27656         exception.  Add more tests.
27657         * sysdeps/i386/fpu/libm-test-ulps: Update.
27659         [BZ #6778]
27660         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27661         inputs and return -1 for them.  Do not check for +Inf in case not
27662         reachable for +Inf.
27663         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27664         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27665         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27666         and return -1 for them.  Do not check for +Inf in case not
27667         reachable for +Inf.
27668         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27669         define.
27670         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27671         and return -1 for them.  Do not check for +Inf in case not
27672         reachable for +Inf.
27673         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27674         spurious underflow.
27675         * sysdeps/i386/fpu/libm-test-ulps: Update.
27676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27678 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27680         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27682 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27684         [BZ #14157]
27685         [BZ #14331]
27686         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27687         could result in spurious underflow.  Scale down values above
27688         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27689         * math/s_csqrtf.c (__csqrtf): Likewise.
27690         * math/s_csqrtl.c (__csqrtl): Likewise.
27691         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27692         spurious underflow.
27693         * sysdeps/i386/fpu/libm-test-ulps: Update.
27694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27696 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27698         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27699         xopen-msg.sed.
27700         * catgets/xopen-msg.awk: New file.
27701         * catgets/xopen-msg.sed: Removed.
27703         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27704         po2text.sed.
27705         * intl/po2test.awk: New file.
27706         * intl/po2test.sed: Removed.
27708 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27710         [BZ #14328]
27711         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27712         or multiply small sinh result by itself.
27713         * math/s_ctanf.c (__ctanf): Likewise.
27714         * math/s_ctanh.c (__ctanh): Likewise.
27715         * math/s_ctanhf.c (__ctanhf): Likewise.
27716         * math/s_ctanhl.c (__ctanhl): Likewise.
27717         * math/s_ctanl.c (__ctanl): Likewise.
27718         * math/libm-test.inc (ctan_test_tonearest): New function.
27719         (ctan_test_towardzero): Likewise.
27720         (ctan_test_downward): Likewise.
27721         (ctan_test_upward): Likewise.
27722         (ctanh_test_tonearest): Likewise.
27723         (ctanh_test_towardzero): Likewise.
27724         (ctanh_test_downward): Likewise.
27725         (ctanh_test_upward): Likewise.
27726         (main): Call these new functions.
27727         * sysdeps/i386/fpu/libm-test-ulps: Update.
27728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27730 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27732         * .gitignore: Delete /ports entry.
27734 2012-07-03  Andreas Jaeger  <aj@suse.de>
27736         * po/bg.po: Update from translation team.
27737         * po/cs.po: Likewise.
27738         * po/de.po: Likewise.
27739         * po/hr.po: Likewise.
27740         * po/nl.pl: Likewise.
27741         * po/pl.po: Likewise.
27742         * po/vi.po: Likewise.
27744 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27746         * Makeconfig [!+link] (+link-before-libc): New variable.
27747         [!+link] (+link-after-libc): Likewise.
27748         [!+link] (+link-tests): Likewise.
27749         [!+link] (+link): Define in terms of $(+link-before-libc) and
27750         $(+link-after-libc).
27751         [!+link-static] (+link-static-before-libc): New variable.
27752         [!+link-static] (+link-static-after-libc): Likewise.
27753         [!+link-static] (+link-static-tests): Likewise.
27754         [!+link-static] (+link-static): Define in terms of
27755         $(+link-static-before-libc) and $(+link-static-after-libc).
27756         [build-shared] (link-libc-before-gnulib): New variable.
27757         [build-shared] (link-libc-tests): Likewise.
27758         [build-shared] (link-libc): Define in terms of
27759         $(link-libc-before-gnulib).
27760         [!build-shared] (link-libc-tests): New variable.
27761         (link-libc-static-tests): New variable.
27762         [!gnulib] (gnulib-arch): New variable.
27763         [!gnulib] (gnulib-tests): Likewise.
27764         [!gnulib] (static-gnulib-arch): Likewise.
27765         [!gnulib] (static-gnulib-tests): Likewise.
27766         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27767         Define with "=" instead of ":=".
27768         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27769         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27770         * Rules (binaries-all-notests): New variable.
27771         (binaries-all-tests): Likewise.
27772         (binaries-static-notests): Likewise.
27773         (binaries-static-tests): Likewise.
27774         (binaries-all): Define using $(binaries-all-notests) and
27775         $(binaries-all-tests).
27776         (binaries-static): Define using $(binaries-static-notests) and
27777         $(binaries-static-tests).
27778         (binaries-shared-tests): New variable.
27779         (binaries-shared-notests): Likewise.
27780         (binaries-shared): Remove variable.
27781         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27782         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27783         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27784         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27785         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27786         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27787         * elf/Makefile (sln-modules): New variable.
27788         (extra-objs): Add $(sln-modules:=.o).
27789         (ldconfig-modules): Add static-stubs.
27790         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27791         * elf/static-stubs.c: New file.
27793         [BZ #14283]
27794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27795         by 7 not 8 to examine high bit of fractional part.  Use volatile
27796         variables when splitting into final array of floats if
27797         __FLT_EVAL_METHOD__ != 0.
27798         * math/libm-test.inc (cos_test): Add another test.
27799         (sin_test): Likewise.
27800         * sysdeps/i386/fpu/libm-test-ulps: Update.
27802         [BZ #14273]
27803         * math/libm-test.inc (cosh_test): Add more tests.
27805         * version.h (RELEASE): Set to "development".
27806         (VERSION): Set to "2.16.90".
27808 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27810         * NEWS: Update copyright. Remove last-updated date.
27811         Mention math library bug fixes and timezone data changes.
27812         * README: Mention GNU/Hurd, x32, and HPPA support status.
27814 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27816         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27818 2012-06-27  Andreas Jaeger  <aj@suse.de>
27820         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27822 2012-06-25  Andreas Jaeger  <aj@suse.de>
27824         * sysdeps/s390/fpu/libm-test-ulps: Update.
27826 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27827             Thomas Schwinge  <thomas@codesourcery.com>
27829         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27830         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27832         fanotify_mark.
27834 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27836         * sysdeps/mach/start.c: Remove file.
27837         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27838         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27839         * sysdeps/sh/init-first.c: Likewise.
27841         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27842         registers for frame unwinding purposes, add CFI directives.
27843         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27844         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27845         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27846         Likewise.
27848         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27849         __fortify_fail returning.
27850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27852         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27853         sysdeps/sh/____longjmp_chk.S.
27854         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27855         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27856         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27857         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27859         * sysdeps/sh/abort-instr.h: New file.
27860         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27861         process in case exit returns.
27863         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27864         initialize the GOT register before use.
27866         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27867         calculation of ARGC > 4.
27869         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27870         meaningful names to some local labels.
27872 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27873             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27875         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27876         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27877         (__arch_compare_and_exchange_val_16_acq): Likewise.
27878         (__arch_compare_and_exchange_val_32_acq): Likewise.
27879         (atomic_exchange_and_add): Fix gUSA sequence.
27880         (atomic_add): Likewise.
27881         (atomic_add_negative): Likewise.
27882         (atomic_add_zero): Likewise.
27883         (atomic_bit_test_set): Likewise.
27885 2012-06-22  Andreas Schwab  <schwab@redhat.com>
27887         [BZ #13579]
27888         * include/link.h (struct link_map): Add l_free_initfini.
27889         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27890         l_initfini.
27891         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27892         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27893         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27894         set.
27896 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
27898         * configure.in: Use AC_LANG_SOURCE.
27899         * configure: Regenerate.
27901 2012-06-22  Roland McGrath  <roland@hack.frob.com>
27903         * configure.in (libc_cv_localstatedir): New substituted variable.
27904         * configure: Regenerated.
27905         * config.make.in (localstatedir): New variable, substituted from
27906         libc_cv_localstatedir.
27907         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27908         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27909         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27910         * sysdeps/gnu/configure: Regenerated.
27912 2012-06-21  Jeff Law  <law@redhat.com>
27914         [BZ #14277]
27915         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27916         free.  Simplify list management for _LIBC case.
27918 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
27920         [BZ #14273]
27921         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27922         Clear sign bit of 64-bit integer value before comparing against
27923         overflow value.
27925         * sysdeps/mach/configure: Regenerated.
27927 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
27929         [BZ #14278]
27930         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27932 2012-06-21  Jeff Law  <law@redhat.com>
27934         [BZ #13882]
27935         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
27936         uint16_t for elements in the "seen" array to avoid char overflows.
27937         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27938         * elf/dl-open.c (dl_open_worker): Likewise.
27940 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
27942         * scripts/list-sources.sh: Scan PORTS for translations.
27943         * po/libc.pot: Regenerated.
27945 2012-06-21  Andreas Jaeger  <aj@suse.de>
27947         [BZ #12194]
27948         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27949         warning.
27950         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27951         * bits/byteswap-16.h (__bswap_16): Likewise.
27952         * bits/byteswap.h (__bswap_constant_16): Likewise.
27954 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
27956         [BZ #14117]
27957         * sysdeps/i386/fpu_control.h: Removed.
27958         * sysdeps/x86_64/fpu_control.h: Moved to ...
27959         * sysdeps/x86/fpu_control.h: Here.
27961         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27962         (_FPU_SETCW): Likewise.
27964 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
27966         [BZ #14117]
27967         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27968         * sysdeps/x86/fpu/bits/mathinline.h: This.
27969         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27971         [BZ #14050]
27972         [BZ #14117]
27973         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27974         functions if __x86_64__ is defined.
27976 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
27978         * string/endian.h: Add !__ASSEMBLER__ condition for including
27979         conversion interfaces.
27981 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
27983         [BZ #14241]
27984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27985         of ABS(x) in calculating zero to negative powers other than odd
27986         integers.
27987         * math/libm-test.inc (pow_test): Add more tests.
27989 2012-06-15  Andreas Jaeger  <aj@suse.de>
27991         * manual/contrib.texi (Contributors): Update entry of Liubov
27992         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27993         Machado Filho.
27995 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
27997         * string/string.h: Add __wur to GNU version of strerror_r.
27999 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28001         [BZ #14229]
28002         * string/Makefile (tests): Add tst-strtok_r.
28003         * string/tst-strtok_r.c: New file.
28004         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28005         RAX_LP/RDX_LP on SAVE_PTR.
28007 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28009         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28011 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28013         * libm_test.inc (csqrt_test): Allow more spurious underflow
28014         exceptions.
28015         (j0_test): Likewise.
28016         (j1_test): Likewise.
28017         (y0_test): Likewise.
28018         (y1_test): Likewise.
28020 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28022         * po/Makefile (libc.pot): Use UTF-8 charset.
28024 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28026         [BZ #14210]
28027         Suppress sign-conversion warning from FD_SET.
28028         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28029         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28030         not unsigned long int.
28031         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28033 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28035         [BZ #14050]
28036         [BZ #14117]
28037         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28038         __extern_always_inline instead of __extern_inline.
28039         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28040         (__signbit): Likewise.
28041         (__signbitl): Support C++ namespace.
28042         (lrintf): New inline function.
28043         (lrint): Likewise.
28044         (llrintf): Likewise.
28045         (llrint): Likewise.
28046         (fmaxf): Likewise.
28047         (fmax): Likewise.
28048         (fminf): Likewise.
28049         (fmin): Likewise.
28050         (rint): Likewise.
28051         (rintf): Likewise.
28052         (ceil): Likewise.
28053         (ceilf): Likewise.
28054         (floor): Likewise.
28055         (floorf): Likewise.
28056         (nearbyint): Likewise.
28057         (nearbyintf): Likewise.
28059 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28061         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28062         non-default versions.
28064 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28066         [BZ #14218]
28067         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28069 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28071         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28072         (FE_UPWARD, FE_DOWNWARD): Don't define.
28073         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28074         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28076         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28077         reading it.
28078         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28079         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28081 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28083         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28084         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28085         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28086         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28088 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28090         [BZ #14117]
28091         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28092         * sysdeps/i386/fpu/Implies: New file.
28093         * sysdeps/x86_64/fpu/Implies: Likewise.
28094         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28095         * sysdeps/x86/fpu/bits/fenv.h: This.
28097         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28098         __SSE_MATH__.
28100 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28102         [BZ #14134]
28103         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28104         character 0xffff that matches the last element of the
28105         conversion table.
28107 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28110         fmodl commit.
28112 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28114         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28115         values higher than 25.6283.
28117 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28119         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28120         subnormal exponent extraction and add some __builtin_expect.
28121         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28122         Fix for subnormal mantissa calculation.
28124 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28126         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28127         cpu2 is -1 and errno is not ENOSYS.
28129 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28131         [BZ #14117]
28132         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28133         * sysdeps/x86/bits/string.h: This.
28134         * sysdeps/x86_64/bits/string.h: Removed.
28136         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28137         if not compiling for x86-64, but compiling for >= i486.
28139         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28140         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28142         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28143         New macro from Linux kernel 3.4.0.
28144         (FP_XSTATE_MAGIC2): Likewise.
28145         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28146         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28147         (struct _fpx_sw_bytes): New struct.
28148         (struct _xsave_hdr): Likewise.
28149         (struct _ymmh_state): Likewise.
28150         (struct _xstate): Likewise.
28152         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28153         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28154         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28155         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28156         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28157         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28159         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28161         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28162         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28163         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28164         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28166 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28168         [BZ #13743]
28169         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28170         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28171         (sysdep_headers): Include sys/platform/ppc.h.
28172         * sysdeps/powerpc/test-gettimebase.c: Test for
28173         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28174         * manual/Makefile (appendices): Include platform.texi.
28175         * manual/contrib.texi (Contributors): Update @node pointers.
28176         * manual/maint.texi (Maintenance): Likewise.
28177         (Platform): New node.
28178         * manual/platform.texi: New file.  Document the new features.
28180 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28181             Jakub Jelinek  <jakub@redhat.com>
28183         [BZ #14188]
28184         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28185         where __builtin_expect is unavailable.
28187 2012-06-03  David S. Miller  <davem@davemloft.net>
28189         * stdlib/longlong.h: Updated from GCC.
28191 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28193         [BZ #14042]
28194         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28195         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28196         __mcount_internal.
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28198         (GLIBC_2.16): Likewise.
28200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28202         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28204 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28207         (default-abi): New variable.
28208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28209         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28210         variable.
28211         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28212         Likewise.
28213         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28214         Likewise.
28215         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28216         Likewise.
28218         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28219         definition.  Document in comment.
28221 2012-06-01  David S. Miller  <davem@davemloft.net>
28223         * stdlib/longlong.h: Updated from GCC.
28225 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28227         [BZ #14117]
28228         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28229         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28230         sys/debugreg.h sys/io.h here.
28231         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28232         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28233         sys/io.h.
28234         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28235         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28236         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28237         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28238         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28239         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28241         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28242         Define only if __x86_64__ is defined.
28244 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28246         [BZ #14048]
28247         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28248         Use int64_t for variable i.
28249         * math/libm-test.inc (fmod_test): Add more tests.
28251         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28252         z computation is not scheduled after fetestexcept.
28253         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28254         Use math_force_eval instead of asm to ensure calculation scheduled
28255         before exception test.
28256         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28257         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28259 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28262         computation is not scheduled after fetestexcept.
28264 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28266         [BZ #14117]
28267         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28268         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28270 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28272         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28273         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28275 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28277         [BZ #14117]
28278         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28279         <bits/wordsize.h>.
28280         (__WCHAR_MIN): Support __WORDSIZE == 64.
28281         (__WCHAR_MAX): Likewise.
28283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28286         [BZ #14183]
28287         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28288         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28290         [BZ #14117]
28291         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28294         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28295         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28297         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28298         Defined to 1 if __x86_64__ isn't defined.
28299         (_STAT_VER_LINUX_OLD): New.
28300         (st_atime): Remove duplicate.
28301         (st_mtime): Likewise.
28302         (st_ctime): Likewise.
28304 2012-05-31  David S. Miller  <davem@davemloft.net>
28306         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28307         entries.
28309 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28311         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28312         gen-libm-test.pl.
28314         [BZ #14132]
28315         * elf/dl-reloc.c: Include <_itoa.h>.
28316         (_dl_reloc_bad_type): Remove use of INTUSE.
28317         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28318         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28319         * stdio-common/psiginfo.c (psiginfo): Likewise.
28320         * stdio-common/psignal.c (psignal): Likewise.
28321         * string/strsignal.c (strsignal): Likewise.
28322         * include/signal.h (_sys_siglist): Declare hidden proto.
28323         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28324         INTVARDEF with libc_hidden_data_def.
28325         * stdio-common/itoa-udigits.c: Likewise.
28326         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28327         (_itoa_lower_digits_internal): Remove declaration.
28328         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28329         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28330         (_sys_sigabbrev_internal): Remove aliases.
28331         (_sys_siglist): Define hidden alias.
28333 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28336         bits/sysctl.h.
28338 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28340         [BZ #14117]
28341         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28342         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28344         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28345         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28346         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28347         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28349         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28351         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28352         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28353         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28355         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28356         with __addr.
28357         (insw): Likewise.
28358         (insl): Likewise.
28359         (outsb): Likewise.
28360         (outsw): Likewise.
28361         (outsl): Likewise.
28363         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28364         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28365         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28367         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28368         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28369         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28370         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28371         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28372         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28374         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28375         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28377         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28378         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28382         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28384         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28385         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28386         to ...
28387         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28389         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28390         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28391         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28393         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28394         for x86-64.
28395         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28397 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28399         * math/math.h (M_El): Use two more decimal places.
28400         (M_LOG2El): Likewise.
28401         (M_LOG10El): Likewise.
28402         (M_LN2l): Likewise.
28403         (M_LN10l): Likewise.
28404         (M_PIl): Likewise.
28405         (M_PI_2l): Likewise.
28406         (M_PI_4l): Likewise.
28407         (M_1_PIl): Likewise.
28408         (M_2_PIl): Likewise.
28409         (M_2_SQRTPIl): Likewise.
28410         (M_SQRT2l): Likewise.
28411         (M_SQRT1_2l): Likewise.
28413 2012-05-31  David S. Miller  <davem@davemloft.net>
28415         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28416         values between float registers.
28417         * sysdeps/sparc/sparc64/memset.S: Likewise.
28418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28420 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28422         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28423         -D_FORTIFY_SOURCE=1.
28424         (CPPFLAGS-tst-longjmp_chk.c): Define.
28425         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28426         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28427         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28428         CFLAGS-tst-wchar-h.c.
28430 2012-05-31  Marek Polacek  <polacek@redhat.com>
28432         [BZ #14132]
28433         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28434         __endmntent_internal): Remove declaration.
28435         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28436         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28437         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28439 2012-05-30  David S. Miller  <davem@davemloft.net>
28441         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28442         (___Q_simulate_exceptions): Use real FP ops rather than writing
28443         into the %fsr.
28444         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28445         Likewise.
28447 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28449         [BZ #14117]
28450         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28451         * sysdeps/x86/bits/xtitypes.h: This.
28453         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28454         * sysdeps/x86/bits/wordsize.h: This.
28456         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28457         * sysdeps/x86/bits/huge_vall.h: This.
28459         * sysdeps/i386/bits/select.h: Removed.
28460         * sysdeps/x86_64/bits/select.h: Renamed to ...
28461         * sysdeps/x86/bits/select.h: This.
28463         * sysdeps/i386/bits/setjmp.h: Removed.
28464         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28465         * sysdeps/x86/bits/setjmp.h: This.
28467         * sysdeps/i386/bits/mathdef.h: Removed.
28468         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28469         * sysdeps/x86/bits/mathdef.h: This.
28471 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28473         [BZ #14132]
28474         * include/sys/socket.h (__connect_internal)
28475         (__libc_sa_len_internal): Remove declaration.
28476         (__connect, __libc_sa_len): Declare hidden_proto.
28477         (SA_LEN): Remove use of INTUSE.
28478         * socket/connect.c: Add libc_hidden_def.
28479         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28480         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28481         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28482         alias.
28483         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28485         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28486         of adding _internal alias.
28488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28490         [BZ #14117]
28491         * sysdeps/i386/bits/link.h: Removed.
28492         * sysdeps/i386/bits/linkmap.h: Likewise.
28493         * sysdeps/x86_64/bits/link.h: Renamed to ...
28494         * sysdeps/x86/bits/link.h: This.
28495         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28496         * sysdeps/x86/bits/linkmap.h: This.
28498         * sysdeps/i386/bits/endian.h: Removed.
28499         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28500         * sysdeps/x86/bits/endian.h: This.
28502         * sysdeps/i386/bits/byteswap.h: Removed.
28503         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28504         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28505         * sysdeps/x86/bits/byteswap.h: This.
28506         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28507         * sysdeps/x86/bits/byteswap-16.h: This.
28508         * sysdeps/i386/Implies: Add x86.
28509         * sysdeps/x86_64/Implies: Likewise.
28511 2012-05-30  David S. Miller  <davem@davemloft.net>
28513         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28514         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28515         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28516         (FP_TRAPPING_EXCEPTIONS): Define.
28517         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28518         (FP_TRAPPING_EXCEPTIONS): Define.
28519         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28520         subnormals only when inexact has been signalled or underflow
28521         exceptions are enabled.
28522         (_FP_PACK_CANONICAL): Likewise.
28524 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28526         [BZ #14183]
28527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28528         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28530 2012-05-30  Richard Henderson  <rth@twiddle.net>
28532         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28533         with #ifndef NOT_IN_libc.
28535         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28536         marked to avoid plt entry.
28538 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28540         [BZ #14112]
28541         * Makeconfig (default-abi): New macro.
28542         (abi-includes): Likewise.
28543         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28544         $(abi-$(default-abi)-lib-soname) for soname if defined.
28545         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28546         abi-variants.
28547         * Makefile (installed-stubs): Likewise.
28548         * include/stubs-biarch.h: Removed.
28549         * scripts/lib-names.awk: Only handle one library at a time.
28550         * scripts/soversions.awk: Remove WORDSIZE support.
28551         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28552         entries.
28553         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28554         Removed.
28555         (syscall-list-default-condition): Likewise.
28556         (syscall-list-default-condition): Likewise.
28557         (syscall-list-includes): Likewise.
28558         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28559         syscall-list-* with abi-*.  Handle undefined abi-variants.
28560         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28561         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28562         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28563         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28564         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28565         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28566         Removed.
28567         (syscall-list-32-options): Likewise.
28568         (syscall-list-32-condition): Likewise.
28569         (syscall-list-64-options): Likewise.
28570         (syscall-list-64-condition): Likewise.
28571         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28572         macro.
28573         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28574         Renamed to ...
28575         (abi-*): This.
28576         (abi-64-ld-soname): New macro.
28577         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28578         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28579         Renamed to ...
28580         (abi-*): This.
28581         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28582         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28584 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28586         * sysdeps/unix/sysv/linux/kernel-features.h
28587         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28588         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28589         include <kernel-features.h>.
28590         [!__NR_ftruncate64]: Remove conditional code.
28591         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28592         [__NR_ftruncate64]: Make code unconditional.
28593         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28594         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28595         include <kernel-features.h>.
28596         [!__NR_ftruncate64]: Remove conditional code.
28597         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28598         [__NR_ftruncate64]: Make code unconditional.
28599         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28601         include <kernel-features.h>.
28602         [!__NR_ftruncate64]: Remove conditional code.
28603         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28604         [__NR_ftruncate64]: Make code unconditional.
28605         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28607         include <kernel-features.h>.
28608         [!__NR_ftruncate64]: Remove conditional code.
28609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28610         [__NR_ftruncate64]: Make code unconditional.
28611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28613         * configure.in (libc_cv_fpie): Weaken to a compile test using
28614         LIBC_TRY_CC_OPTION.
28615         * configure: Regenerated.
28617 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28623         Refreshed.
28624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28630         Refreshed.
28632 2012-05-27  David S. Miller  <davem@davemloft.net>
28634         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28635         (___Q_zero): New.
28636         (__Q_simulate_exceptions): Return void.  Change to simulate
28637         exceptions by writing into the %fsr.
28638         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28639         (__Qp_handle_exceptions): Likewise.
28640         (numbers): Delete.
28641         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28642         __Qp_handle_exceptions.
28643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28644         __Qp_handle_exceptions.
28645         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28646         as unused and give dummy FP_RND_NEAREST initializer.
28647         (FP_INHIBIT_RESULTS): Define.
28648         (___Q_simulate_exceptions): Update declaration.
28649         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28650         formatting.
28651         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28652         as unused and give dummy FP_RND_NEAREST initializer.
28653         (__Qp_handle_exceptions): Update declaration.
28654         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28655         formatting.
28657 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28659         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28660         the temporary FPU control word.
28661         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28662         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28663         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28664         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28666         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28667         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28668         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28669         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28670         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28671         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28673 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28675         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28676         fields.
28678 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28680         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28681         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28682         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28683         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28684         Likewise.
28685         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28686         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28687         Likewise.
28689 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28691         * po/h.po: Update from translation team.
28693 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28695         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28697         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28698         handling of denormals.
28699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28700         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28701         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28702         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28706         Likewise.
28708 2012-05-26  Marek Polacek  <polacek@redhat.com>
28710         [BZ #14152]
28711         * math/libm-test.inc (fma_test): Don't always expect underflow
28712         exception.
28714 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28716         [BZ #12416]
28717         * elf/tst-execstack.c: Include stackinfo.h.
28718         (do_test): Adjust test case to ensure that pthread_getattr_np
28719         behaviour remains the same after marking stack executable.
28721 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28723         * sysdeps/unix/sysv/linux/kernel-features.h
28724         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28725         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28726         kernel-features.h.
28727         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28728         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28729         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28730         kernel-features.h.
28731         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28732         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28734 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28736         * configure.in: Define the default includes to being none.
28737         * configure: Regenerated.
28739 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28741         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28742         * sysdeps/x86_64/setjmp.S: Likewise.
28743         * sysdeps/i386/bsd-setjmp.S: Likewise.
28744         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28745         * sysdeps/i386/setjmp.S: Likewise.
28746         * sysdeps/i386/__longjmp.S: Likewise.
28747         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28748         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28750         * include/stap-probe.h: New file.
28751         * configure.in: Handle --enable-systemtap.
28752         * configure: Regenerated.
28753         * config.h.in (USE_STAP_PROBE): New #undef.
28754         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28755         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28756         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28758 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28760         [BZ #13717]
28761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28762         to 2.4.0 where earlier.
28763         * sysdeps/unix/sysv/linux/configure: Regenerated.
28764         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28765         <kernel-features.h>.
28766         [__ASSUME_32BITUIDS]: Make code unconditional.
28767         [!__ASSUME_32BITUIDS]: Remove conditional code.
28768         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28769         <kernel-features.h>.
28770         [__ASSUME_32BITUIDS]: Make code unconditional.
28771         [!__ASSUME_32BITUIDS]: Remove conditional code.
28772         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28773         [__ASSUME_32BITUIDS]: Make code unconditional.
28774         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28775         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28776         <kernel-features.h>.
28777         [__ASSUME_32BITUIDS]: Make code unconditional.
28778         [!__ASSUME_32BITUIDS]: Remove conditional code.
28779         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28780         <kernel-features.h>.
28781         [__ASSUME_32BITUIDS]: Make code unconditional.
28782         [!__ASSUME_32BITUIDS]: Remove conditional code.
28783         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28784         <kernel-features.h>.
28785         [__ASSUME_32BITUIDS]: Make code unconditional.
28786         [!__ASSUME_32BITUIDS]: Remove conditional code.
28787         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28788         <kernel-features.h>.
28789         [__ASSUME_32BITUIDS]: Make code unconditional.
28790         [!__ASSUME_32BITUIDS]: Remove conditional code.
28791         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28792         <kernel-features.h>.
28793         [__ASSUME_32BITUIDS]: Make code unconditional.
28794         [!__ASSUME_32BITUIDS]: Remove conditional code.
28795         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28796         <kernel-features.h>.
28797         [__ASSUME_32BITUIDS]: Make code unconditional.
28798         [!__ASSUME_32BITUIDS]: Remove conditional code.
28799         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28800         <kernel-features.h>.
28801         [__ASSUME_32BITUIDS]: Make code unconditional.
28802         [!__ASSUME_32BITUIDS]: Remove conditional code.
28803         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28804         <kernel-features.h>.
28805         [__ASSUME_32BITUIDS]: Make code unconditional.
28806         [!__ASSUME_32BITUIDS]: Remove conditional code.
28807         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28808         <kernel-features.h>.
28809         [__ASSUME_32BITUIDS]: Make code unconditional.
28810         [!__ASSUME_32BITUIDS]: Remove conditional code.
28811         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28812         <kernel-features.h>.
28813         [__ASSUME_32BITUIDS]: Make code unconditional.
28814         [!__ASSUME_32BITUIDS]: Remove conditional code.
28815         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28816         <kernel-features.h>.
28817         [__NR_setresgid] (__setresgid): Do not declare.
28818         [__ASSUME_32BITUIDS]: Make code unconditional.
28819         [!__ASSUME_32BITUIDS]: Remove conditional code.
28820         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28821         <kernel-features.h>.
28822         [__NR_setresuid] (__setresuid): Do not declare.
28823         [__ASSUME_32BITUIDS]: Make code unconditional.
28824         [!__ASSUME_32BITUIDS]: Remove conditional code.
28825         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28826         <kernel-features.h>.
28827         [__ASSUME_32BITUIDS]: Make code unconditional.
28828         [!__ASSUME_32BITUIDS]: Remove conditional code.
28829         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28830         <kernel-features.h>.
28831         [__ASSUME_32BITUIDS]: Make code unconditional.
28832         [!__ASSUME_32BITUIDS]: Remove conditional code.
28833         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28834         <kernel-features.h>.
28835         [__ASSUME_32BITUIDS]: Make code unconditional.
28836         [!__ASSUME_32BITUIDS]: Remove conditional code.
28837         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28838         <kernel-features.h>.
28839         [__ASSUME_32BITUIDS]: Make code unconditional.
28840         [!__ASSUME_32BITUIDS]: Remove conditional code.
28841         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28842         <kernel-features.h>.
28843         [__ASSUME_32BITUIDS]: Make code unconditional.
28844         [!__ASSUME_32BITUIDS]: Remove conditional code.
28845         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28846         <kernel-features.h>.
28847         [__ASSUME_32BITUIDS]: Make code unconditional.
28848         [!__ASSUME_32BITUIDS]: Remove conditional code.
28849         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28850         <kernel-features.h>.
28851         [__ASSUME_32BITUIDS]: Make code unconditional.
28852         [!__ASSUME_32BITUIDS]: Remove conditional code.
28853         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28854         <kernel-features.h>.
28855         [__ASSUME_32BITUIDS]: Make code unconditional.
28856         [!__ASSUME_32BITUIDS]: Remove conditional code.
28857         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28858         <kernel-features.h>.
28859         [__ASSUME_32BITUIDS]: Make code unconditional.
28860         [!__ASSUME_32BITUIDS]: Remove conditional code.
28861         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28862         <kernel-features.h>.
28863         [__ASSUME_32BITUIDS]: Make code unconditional.
28864         [!__ASSUME_32BITUIDS]: Remove conditional code.
28865         * sysdeps/unix/sysv/linux/kernel-features.h
28866         (__ASSUME_SETRESUID_SYSCALL): Remove.
28867         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28868         (__ASSUME_32BITUIDS): Likewise.
28869         (__ASSUME_LDT_WORKS): Likewise.
28870         (__ASSUME_O_DIRECTORY): Likewise.
28871         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28872         architecture but not kernel version.
28873         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28874         (__ASSUME_MMAP2_SYSCALL): Likewise.
28875         (__ASSUME_STAT64_SYSCALL): Likewise.
28876         (__ASSUME_IPC64): Likewise.
28877         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28878         <kernel-features.h>.
28879         [__ASSUME_32BITUIDS]: Make code unconditional.
28880         [!__ASSUME_32BITUIDS]: Remove conditional code.
28881         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28882         <kernel-features.h>.
28883         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28884         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28885         132096]: Remove conditional code.
28886         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28887         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28888         <kernel-features.h>.
28889         [__ASSUME_32BITUIDS]: Make code unconditional.
28890         [!__ASSUME_32BITUIDS]: Remove conditional code.
28891         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28892         <kernel-features.h>.
28893         [__ASSUME_32BITUIDS]: Make code unconditional.
28894         [!__ASSUME_32BITUIDS]: Remove conditional code.
28895         * sysdeps/unix/sysv/linux/setegid.c: Do not include
28896         <kernel-features.h>.
28897         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28898         unconditional.
28899         (__setresgid): Do not declare.
28900         [__ASSUME_32BITUIDS]: Make code unconditional.
28901         [!__ASSUME_32BITUIDS]: Remove conditional code.
28902         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28903         <kernel-features.h>.
28904         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28905         unconditional.
28906         (__setresuid): Do not declare.
28907         [__ASSUME_32BITUIDS]: Make code unconditional.
28908         [!__ASSUME_32BITUIDS]: Remove conditional code.
28909         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28910         <kernel-features.h>.
28911         [__ASSUME_32BITUIDS]: Make code unconditional.
28912         [!__ASSUME_32BITUIDS]: Remove conditional code.
28913         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28914         <kernel-features.h>.
28915         [__ASSUME_32BITUIDS]: Make code unconditional.
28916         [!__ASSUME_32BITUIDS]: Remove conditional code.
28918 2012-05-25  Richard Henderson  <rth@twiddle.net>
28920         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28921         dl_hwcap to ifunc resolver.
28922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28923         elf_ifunc_invoke.
28924         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28925         dl_hwcap to ifunc resolver.
28926         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28928 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28930         [BZ #14153]
28931         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28932         for |x| <= 2**-26, not 2**-57.
28933         * math/libm-test.inc (acos_test): Do not allow spurious underflow
28934         exception.
28936 2012-05-24  Jeff Law  <law@redhat.com>
28938         * stdio-common/Makefile (tests): Add bug25.
28939         * stdio-common/bug25.c: New test.
28941 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28943         [BZ #13576]
28944         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28945         multiple of MALLOC_ALIGNMENT in size.
28946         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28948 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28950         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28951         Require >= 256.
28952         (FILENAME_MAX): Use macro-int-constant.
28953         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
28954         (_IOFBF): Use macro-int-constant.
28955         (_IOLBF): Likewise.
28956         (_IONBF): Likewise.
28957         (SEEK_CUR): Likewise.
28958         (SEEK_END): Likewise.
28959         (SEEK_SET): Likewise.
28960         (TMP_MAX): Likewise.
28961         (EOF): Use macro-int-constant.  Require < 0.
28962         (NULL): Use macro-constant.  Require == 0.
28963         (stdin): Require type to be FILE *.
28964         (stdout): Likewise.
28965         (stderr): Likewise.
28966         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28967         macro-int-constant.
28968         (EXIT_SUCCESS): Likewise.
28969         (NULL): Use macro-constant.  Require == 0.
28970         (RAND_MAX): Use macro-int-constant.
28971         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28972         [C99-based standards] (strtof): Require function.
28973         [C99-based standards] (strtold): Likewise.
28974         [C99-based standards] (strtoll): Likewise.
28975         [C99-based standards] (strtoull): Likewise.
28976         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28977         [ISO || ISO99 || ISO11] (limits.h): Likewise.
28978         [ISO || ISO99 || ISO11] (math.h): Likewise.
28979         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28980         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28981         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28983 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
28985         [BZ #14132]
28986         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28987         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28988         * intl/dgettext.c (DCGETTEXT): Likewise.
28989         * intl/gettext.c (DCGETTEXT): Likewise.
28990         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28991         * posix/regex_internal.h (gettext): Likewise.
28992         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28993         Remove declaration.
28994         * include/argz.h (__argz_count_internal)
28995         (__argz_stringify_internal): Remove declaration.
28996         (__argz_count, __argz_stringify): Declare hidden proto.
28997         * intl/dcgettext.c: Remove use of INTDEF.
28998         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28999         * string/argz-stringify.c: Likewise.
29000         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29001         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29002         Declare hidden proto.
29003         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29004         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29005         Declare hidden proto.
29006         * include/stdio.h (__asprintf_internal): Don't declare.
29007         (__asprintf): Don't define as macro.  Declare hidden proto.
29008         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29009         (__fsetlocking): Declare hidden proto.
29010         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29011         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29012         hidden proto.
29013         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29014         (_IO_setlinebuf): Remove use of INTUSE.
29015         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29016         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29017         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29018         Remove declaration.
29019         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29020         (_IO_do_flush): Remove use of INTUSE.
29021         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29022         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29023         (_IO_adjust_column, _IO_least_wmarker)
29024         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29025         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29026         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29027         (_IO_default_doallocate, _IO_wdefault_doallocate)
29028         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29029         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29030         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29031         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29032         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29033         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29034         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29035         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29036         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29037         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29038         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29039         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29040         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29041         proto.
29042         (_IO_flush_all_internal, _IO_adjust_column_internal)
29043         (_IO_default_uflow_internal, _IO_default_finish_internal)
29044         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29045         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29046         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29047         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29048         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29049         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29050         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29051         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29052         (_IO_file_close_internal, _IO_file_close_it_internal)
29053         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29054         (_IO_file_init_internal, _IO_file_attach_internal)
29055         (_IO_file_fopen_internal, _IO_file_read_internal)
29056         (_IO_file_sync_internal, _IO_file_seek_internal)
29057         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29058         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29059         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29060         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29061         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29062         (_IO_list_all_internal, _IO_link_in_internal)
29063         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29064         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29065         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29066         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29067         (_IO_do_write_internal, _IO_padn_internal)
29068         (_IO_getline_info_internal, _IO_getline_internal)
29069         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29070         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29071         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29072         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29073         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29074         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29075         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29076         with libc_hidden_ver, remove use of INTUSE.
29077         * libio/genops.c: Likewise.
29078         * libio/freopen.c: Likewise.
29079         * libio/freopen64.c: Likewise.
29080         * libio/iofclose.c: Likewise.
29081         * libio/iofdopen.c: Likewise.
29082         * libio/iofflush.c: Likewise.
29083         * libio/iofflush_u.c: Likewise.
29084         * libio/iofgets.c: Likewise.
29085         * libio/iofgets_u.c: Likewise.
29086         * libio/iofopen.c: Likewise.
29087         * libio/iofopncook.c: Likewise.
29088         * libio/iofread.c: Likewise.
29089         * libio/iofread_u.c: Likewise.
29090         * libio/ioftell.c: Likewise.
29091         * libio/iofwrite.c: Likewise.
29092         * libio/iogetline.c: Likewise.
29093         * libio/iogets.c: Likewise.
29094         * libio/iogetwline.c: Likewise.
29095         * libio/iopadn.c: Likewise.
29096         * libio/iopopen.c: Likewise.
29097         * libio/ioseekoff.c: Likewise.
29098         * libio/ioseekpos.c: Likewise.
29099         * libio/iosetbuffer.c: Likewise.
29100         * libio/iosetvbuf.c: Likewise.
29101         * libio/ioungetc.c: Likewise.
29102         * libio/ioungetwc.c: Likewise.
29103         * libio/iovdprintf.c: Likewise.
29104         * libio/iovsprintf.c: Likewise.
29105         * libio/iovsscanf.c: Likewise.
29106         * libio/memstream.c: Likewise.
29107         * libio/obprintf.c: Likewise.
29108         * libio/oldfileops.c: Likewise.
29109         * libio/oldiofclose.c: Likewise.
29110         * libio/oldiofdopen.c: Likewise.
29111         * libio/oldiofopen.c: Likewise.
29112         * libio/oldiopopen.c: Likewise.
29113         * libio/oldstdfiles.c: Likewise.
29114         * libio/putc.c: Likewise.
29115         * libio/setbuf.c: Likewise.
29116         * libio/setlinebuf.c: Likewise.
29117         * libio/stdfiles.c: Likewise.
29118         * libio/strops.c: Likewise.
29119         * libio/vasprintf.c: Likewise.
29120         * libio/vscanf.c: Likewise.
29121         * libio/vsnprintf.c: Likewise.
29122         * libio/vswprintf.c: Likewise.
29123         * libio/wfiledoalloc.c: Likewise.
29124         * libio/wfileops.c: Likewise.
29125         * libio/wgenops.c: Likewise.
29126         * libio/wmemstream.c: Likewise.
29127         * libio/wstrops.c: Likewise.
29128         * libio/__fpurge.c: Likewise.
29129         * libio/__fsetlocking.c: Likewise.
29130         * assert/assert.c: Likewise.
29131         * debug/fgets_chk.c: Likewise.
29132         * debug/fgets_u_chk.c: Likewise.
29133         * debug/fread_chk.c: Likewise.
29134         * debug/fread_u_chk.c: Likewise.
29135         * debug/gets_chk.c: Likewise.
29136         * debug/obprintf_chk.c: Likewise.
29137         * debug/vasprintf_chk.c: Likewise.
29138         * debug/vdprintf_chk.c: Likewise.
29139         * debug/vsnprintf_chk.c: Likewise.
29140         * debug/vsprintf_chk.c: Likewise.
29141         * malloc/mtrace.c: Likewise.
29142         * misc/error.c: Likewise.
29143         * misc/syslog.c: Likewise.
29144         * stdio-common/asprintf.c: Likewise.
29145         * stdio-common/fxprintf.c: Likewise.
29146         * stdio-common/getw.c: Likewise.
29147         * stdio-common/isoc99_fscanf.c: Likewise.
29148         * stdio-common/isoc99_scanf.c: Likewise.
29149         * stdio-common/isoc99_vfscanf.c: Likewise.
29150         * stdio-common/isoc99_vscanf.c: Likewise.
29151         * stdio-common/isoc99_vsscanf.c: Likewise.
29152         * stdio-common/printf-prs.c: Likewise.
29153         * stdio-common/printf_fp.c: Likewise.
29154         * stdio-common/printf_fphex.c: Likewise.
29155         * stdio-common/printf_size.c: Likewise.
29156         * stdio-common/putw.c: Likewise.
29157         * stdio-common/scanf.c: Likewise.
29158         * stdio-common/sprintf.c: Likewise.
29159         * stdio-common/tmpfile.c: Likewise.
29160         * stdio-common/vfprintf.c: Likewise.
29161         * stdio-common/vfscanf.c: Likewise.
29162         * stdlib/strfmon_l.c: Likewise.
29163         * sunrpc/openchild.c: Likewise.
29164         * sunrpc/xdr_stdio.c: Likewise.
29165         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29166         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29168 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29170         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29172         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29173         in the third column, to generate for the shared library an IFUNC
29174         that uses _dl_vdso_vsym.
29175         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29176         * Makeconfig (object-suffixes-noshared): New variable.
29178         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29179         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29180         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29181         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29183         [BZ #14132]
29184         * include/sys/time.h (__gettimeofday): Remove macro.
29185         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29186         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29187         Remove INTDEF.
29188         (__gettimeofday): Add libc_hidden_def.
29189         (gettimeofday): Add libc_hidden_weak.
29190         * sysdeps/mach/gettimeofday.c: Likewise.
29191         * sysdeps/posix/gettimeofday.c: Likewise.
29192         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29193         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29195         (__gettimeofday_internal): Remove strong_alias.
29196         (__gettimeofday): Add libc_hidden_def.
29197         (gettimeofday): Add libc_hidden_weak.
29198         * sysdeps/unix/syscalls.list (gettimeofday):
29199         Remove __gettimeofday_internal alias.
29201 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29202             H.J. Lu  <hongjiu.lu@intel.com>
29204         [BZ #12495]
29205         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29206         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29207         (largebin_index_32_big): New.
29208         (largebin_index): Use it for 16-byte alignment.
29209         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29210         correction with front_misalign.
29212 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29216         Likewise.
29217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29218         Likewise.
29219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29220         Likewise.
29221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29222         Likewise.
29223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29224         Likewise.
29225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29226         Likewise.
29227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29228         Likewise.
29229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29230         Likewise.
29231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29232         Likewise.
29233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29234         Likewise.
29235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29236         Likewise.
29237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29238         Likewise.
29240         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29241         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29243 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29245         [BZ #10846]
29246         [BZ #14036]
29247         * math/libm-test.inc (exp_test): Add test from bug 14036.
29248         (pow_test): Add test from bug 10846.
29250         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29251         and other flags.
29252         (special_function): Do not include flags in test name.
29253         (parse_args): Likewise.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29256         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29257         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29260         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29261         exceptions.
29262         * math/libm-test.inc ("Philosophy"): Update comment about
29263         exception testing.
29264         (UNDERFLOW_EXCEPTION): New macro.
29265         (UNDERFLOW_EXCEPTION_OK): Likewise.
29266         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29267         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29268         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29269         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29270         (INVALID_EXCEPTION_OK): Update value.
29271         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29272         (OVERFLOW_EXCEPTION_OK): Likewise.
29273         (IGNORE_ZERO_INF_SIGN): Likewise.
29274         (test_exceptions): Handle underflow exceptions.
29275         (acos_test): Update for underflow exception expectations.
29276         (cexp_test): Likewise.
29277         (clog_test): Likewise.
29278         (clog10_test): Likewise.
29279         (csqrt_test): Likewise.
29280         (ctan_test): Likewise.
29281         (ctanh_test): Likewise.
29282         (exp_test): Likewise.
29283         (exp10_test): Likewise.
29284         (exp2_test): Likewise.
29285         (expm1_test): Likewise.
29286         (fma_test): Likewise.
29287         (j0_test): Likewise.
29288         (jn_test): Likewise.
29289         (nexttoward_test): Likewise.
29290         (pow_test): Likewise.
29291         (scalbn_test): Likewise.
29292         (scalbln_test): Likewise.
29293         (tan_test): Likewise.
29294         (y1_test): Likewise.
29295         * sysdeps/i386/fpu/libm-test-ulps: Update.
29296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298 2012-05-23  David S. Miller  <davem@davemloft.net>
29300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29301         (__libc_sigaction): Remove unused local variables.
29303 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29305         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29307 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29309         mktime: avoid signed integer overflow
29310         * time/mktime.c (__mktime_internal): Do not mishandle the case
29311         where diff == INT_MIN.
29313         mktime: simplify computation of average
29314         * time/mktime.c (ranged_convert): Use new time_t_avg function
29315         instead of rolling our own (probably-slower) code.
29317         mktime: do not assume signed right shift propagates sign bit
29318         * time/mktime.c (isdst_differ): New static function.
29319         (__mktime_internal): No need to normalize tm_isdst now.
29320         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29321         tm_isdst values.
29323         mktime: merge another wrapv change from gnulib
29324         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29325         from some compilers.
29327         mktime: remove incorrect attempt at unusual arithmetics
29328         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29329         The code didn't really work on such machines anyway.
29330         (TYPE_MINIMUM): Assume two's complement.
29331         (twos_complement_arithmetic): Verify that long_int and time_t
29332         are two's complement (or unsigned, in the latter case).
29334         mktime: check signed shifts on long_int and time_t, too
29335         * time/mktime.c (SHR): Check that shifts work as desired
29336         on the types long_int and time_t too, as SHR is used on
29337         such types.
29339         mktime: do not assume 'long' is wide enough
29340         * time/mktime.c (verify): Move decl up.
29341         (long_int): New type.
29342         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29343         to remove assumption in the code that 'long' is wide enough to
29344         store year values.  This assumption is not true on x32 and on
29345         some non-glibc platforms.
29347         mktime: merge wrapv change from gnulib
29348         * time/mktime.c (WRAPV): New macro.
29349         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29350         (guess_time_tm, __mktime_internal): Do not assume that signed
29351         integer overflow wraps around; modern compilers generate code
29352         where this assumption is no longer valid.
29354 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29356         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29357         Replace "jmp L(pseudo_end)" with "ret".
29358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29359         Likewise.
29361 2012-05-23  Andreas Jaeger  <aj@suse.de>
29363         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29364         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29366 2012-05-23  Andreas Jaeger  <aj@suse.de>
29367             Maximilian Attems  <max@stro.at>
29369         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29370         New macros.
29372 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29374         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29375         code so that pseudo_end is just ret and the stack pointer is
29376         correct also for static library in error case.
29378 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29380         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29381         move to syscalls.list.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29387         * manual/install.texi (Running make install): Do not mention Linux
29388         kernel version for which pt_chown is not needed.
29389         (Linux): Do not mention problems with nscd with 2.0 kernels.
29390         * INSTALL: Regenerated.
29392 2012-05-23  Andreas Jaeger  <aj@suse.de>
29394         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29395         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29396         macro.
29397         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29399         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29401         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29405         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29406         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29407         * sysdeps/unix/sysv/linux/bits/in.h
29408         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29410 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29412         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29413         (PREPARE_VERSION): Just use assert instead, it will be elided
29414         under [NDEBUG] anyway.
29416 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29418         * sysdeps/unix/sysv/linux/Makefile: Include
29419         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29420         (sysdep_routines): Remove sysctl.
29421         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29422         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29423         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29424         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29425         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29427 2012-05-22  Andreas Jaeger  <aj@suse.de>
29429         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29430         that pseudo_end is just ret and the stack pointer is correct also
29431         for static library in error case.
29433 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29435         [BZ #14122]
29436         * nss/nsswitch.c (defconfig_entries): New variable.
29437         (__nss_database_lookup): Don't leak defconfig entries.
29438         (nss_parse_service_list): Don't leak on error paths.
29439         (free_database_entries): New function.
29440         (free_defconfig): New function.
29441         (free_mem): Move common code to free_database_entries.
29443 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29445         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29446         Add arch_prctl.
29447         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29449         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29450         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29452         New macro.
29453         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29454         (INTERNAL_SYSCALL_TYPES): Likewise.
29455         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29456         (LOAD_REGS_TYPES_[1-6]): Likewise.
29457         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29458         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29460 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29462         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29463         copysignl for GLIBC_2_0.
29464         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29465         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29467         logbl for GLIBC_2_0.
29468         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29469         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29473         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29474         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29476         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29477         Use "neg %eax".
29479         * time/mktime.c: Update copyright years.
29481 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29483         mktime: merge comment-quoting-style change from gnulib
29484         * time/mktime.c: Quote 'like this' in comments.
29485         The GNU coding standards suggest that we no longer quote `like this',
29486         as "`" and "'" are typically rendered asymmetrically nowadays.
29487         The typical gnulib style is to quote 'like this' when quoting
29488         code, and "like this" when quoting English.
29490         * time/mktime.c (compile-command): Add "-I.".
29492         mktime: merge mktime-internal.h change from gnulib
29493         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29495         mktime: merge time_r change from gnulib
29496         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29498         mktime: merge DEBUG change from gnulib
29499         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29500         case system <time.h> has a #define.
29502         mktime: merge <sys/types.h> change from gnulib
29503         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29504         since <time.t> is now guaranteed to define time_t.
29506         mktime: merge HAVE_CONFIG_H change from gnulib
29507         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29509 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29512         Use "neg %eax".
29514         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29515         __rlim_t cast.
29516         (struct rusage): Use anonymous union to pad each field to
29517         __syscall_slong_t.
29519 2012-05-21  David S. Miller  <davem@davemloft.net>
29521         * Makefules (o-iterator): Remove .s cases.
29522         (compile-command.s): Delete.
29523         (COMPILE.s): Delete.
29524         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29526 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29528         * configure.in (libc_cv_predef_stack_protector): Only consider
29529         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29530         * configure: Regenerated.
29532 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29535         New macro.  Use R*LP on int and pointer.
29536         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29537         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29538         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29539         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29541         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29542         [__WORDSIZE_TIME64_COMPAT32] instead of
29543         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29544         (struct utmp): Likewise.
29545         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29546         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29547         Renamed to ...
29548         (__WORDSIZE_TIME64_COMPAT32): This.
29549         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29550         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29551         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29552         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29553         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29554         (__WORDSIZE_TIME64_COMPAT32): New macro.
29556 2012-05-21  Andreas Jaeger  <aj@suse.de>
29558         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29559         only if [SHARED]. Add prototype for __wcschr_ia32.
29561 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29563         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29564         of %rbp unmolested in the jmp_buf while mangling the low bits.
29565         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29566         unmolested high bits of %rbp while demangling the low bits.
29567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29569 2012-05-21  Andreas Jaeger  <aj@suse.de>
29571         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29572         * sunrpc/svc_simple.c: Use it for registerrpc.
29573         * sunrpc/xcrypt.c: Use it for passwd2des.
29575         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29577 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29579         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29580         Don't define if [__SYSCALL_WORDSIZE != 32].
29581         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29582         New macro.
29584 2012-05-21  Bruno Haible  <bruno@clisp.org>
29585             Andreas Jaeger  <aj@suse.de>
29587         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29588         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29589         inptr and inend for must_buffer_ch.
29590         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29591         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29592         * stdio-common/Makefile (tests): Remove bug15.
29593         (bug15-ENV): Remove macro.
29594         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29595         anymore.
29597 2012-05-19  Andreas Jaeger  <aj@suse.de>
29598             Roland McGrath  <roland@hack.frob.com>
29600         * manual/contrib.texi: Completely rewritten. It contains now an
29601         alphabetical list of contributors and their contributions.
29603 2012-05-21  Richard Henderson  <rth@twiddle.net>
29605         * misc/getauxval.c (__getauxval): Use unsigned long int.
29606         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29607         (getauxval): Use unsigned long int.
29609 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29611         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29613 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29615         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29616         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29617         __alignof__ (long double).
29619 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29623 2012-05-20  Richard Henderson  <rth@twiddle.net>
29625         * misc/getauxval.c: New file.
29626         * misc/sys/auxv.h: New file.
29627         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29628         (routines): Add getauxval.
29629         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29630         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29631         * elf/dl-sysdep.c (_dl_auxv): Remove.
29632         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29633         * elf/dl-support.c (_dl_auxv): New variable.
29634         (_dl_aux_init): Initialize it.
29635         * manual/startup.texi (Auxiliary Vector): New node.
29636         * sysdeps/generic/bits/hwcap.h: New file.
29637         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29638         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29639         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29640         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29641         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29642         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29644         Update.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29654 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29658 2012-05-19  David S. Miller  <davem@davemloft.net>
29660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29662 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29664         [BZ #14123]
29665         * math/s_ccosh.c: Include <float.h>
29666         (__ccosh): Avoid internal overflow calculating sinh and cosh
29667         values before multiplying by sin and cos values.
29668         * math/s_ccoshf.c: Likewise.
29669         * math/s_ccoshl.c: Likewise.
29670         * math/s_csin.c: Likewise.
29671         * math/s_csinf.c: Likewise.
29672         * math/s_csinl.c: Likewise.
29673         * math/s_csinh.c: Likewise.
29674         * math/s_csinhf.c: Likewise.
29675         * math/s_csinhl.c: Likewise.
29676         * math/libm-test.inc (ccos_test): Add more tests.
29677         (ccosh_test): Likewise.
29678         (csin_test): Likewise.
29679         (csinh_test): Likewise.
29680         * sysdeps/i386/fpu/libm-test-ulps: Update.
29681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29683 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29685         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29686         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29688         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29690 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29692         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29693         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29694         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29695         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29696         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29697         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29698         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29699         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29700         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29701         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29702         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29703         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29704         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29705         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29706         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29707         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29708         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29709         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29710         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29711         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29712         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29713         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29714         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29715         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29716         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29717         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29718         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29719         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29720         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29721         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29722         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29724 2012-05-18  Andreas Jaeger  <aj@suse.de>
29726         * csu/.gitignore: Delete.
29728 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29730         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29731         (timex): Use __syscall_slong_t.
29733 2012-05-18  Andreas Jaeger  <aj@suse.de>
29734             Carlos O'Donell  <carlos_odonell@mentor.com>
29736         * manual/install.texi (Configuring and compiling): Update
29737         description about files modified in the source directory.
29738         * INSTALL: Regenerated.
29740 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29742         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29743         value.  Use "or" to set return value to -1.
29744         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29745         negate return value.
29747 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29749         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29750         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29751         failure if the compiler has Graphite support disabled.
29752         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29753         Likewise.
29754         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29755         (CFLAGS-memmove.c): Likewise.
29756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29757         Likewise.
29759 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29761         * sysdeps/x86_64/x32/_itoa.h: New file.
29763         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29764         getdents system call only if kernel and user dirents have the
29765         same d_ino and d_off.
29767         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29768         LLONG_MAX != LONG_MAX.
29769         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29770         (_fitoa_word): Likewise.
29772         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29773         years.
29774         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29775         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29776         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29778         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29779         include <bits/wordsize.h>.  Check __x86_64__ instead of
29780         __WORDSIZE.
29781         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29782         if __x86_64__ is defined.  Use anonymous union on fpstate.
29784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29785         anonymous union.
29787 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29789         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29790         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29791         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29792         Refer to _rtld_local_ro instead of _rtld_global_ro.
29793         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29794         Likewise.
29795         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29796         Likewise.
29797         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29798         Likewise.
29799         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29800         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29801         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29803         * sysdeps/powerpc/powerpc32/dl-machine.c
29804         (__elf_machine_runtime_setup) [PROF]: Don't reference
29805         _dl_prof_resolve.
29807 2012-05-18  Andreas Jaeger  <aj@suse.de>
29809         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29810         function only available for GCCs before 3.4 since GCC 3.4
29811         introduced a builtin.
29812         (lrint): Likewise.
29813         (llrintf): Likewise.
29814         (llrint): Likewise.
29815         (fmaxf): Likewise.
29816         (fmax): Likewise.
29817         (fminf): Likewise.
29818         (fmin): Likewise.
29819         (rint): Likewise.
29820         (rintf): Likewise.
29821         (nearbyint): Likewise.
29822         (nearbyintf): Likewise.
29823         (ceil): Likewise.
29824         (ceilf): Likewise.
29825         (floor): Likewise.
29826         (floorf): Likewise.
29828 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29830         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29831         on both fields and cast pointer to __syscall_ulong_t.
29833         * bits/types.h (__fsword_t): New type.
29834         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29835         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29836         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29837         (__FSWORD_T_TYPE): Likewise.
29838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29839         (__FSWORD_T_TYPE): Likewise.
29840         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29841         (__FSWORD_T_TYPE): Likewise.
29842         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29843         (__FSWORD_T_TYPE): Likewise.
29844         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29845         __SWORD_TYPE with __fsword_t.
29846         (statfs64): Likewise.
29848 2012-05-17  David S. Miller  <davem@davemloft.net>
29850         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29852 2012-05-17  Andreas Jaeger  <aj@suse.de>
29854         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29855         warning.
29857 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29859         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29861 2012-05-17  Andreas Jaeger  <aj@suse.de>
29863         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29864         when it is used.
29866 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29868         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29870 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29872         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29873         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29875 2012-05-17  Andreas Jaeger  <aj@suse.de>
29876             Carlos O'Donell  <carlos_odonell@mentor.com>
29878         [BZ #14059]
29879         * sysdeps/x86_64/multiarch/init-arch.h
29880         (bit_YMM_Usable): Rename to...
29881         (bit_AVX_Usable): ... this.
29882         (bit_FMA4_Usable): New macro.
29883         (bit_XMM_state): New macro.
29884         (bit_YMM_state): New macro.
29885         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29886         [__ASSEMBLER__] (index_AVX_Usable): ... this.
29887         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29888         (CPUID_OSXSAVE): New macro.
29889         (CPUID_AVX): New macro.
29890         (CPUID_FMA4): New macro.
29891         (index_YMM_Usable): Rename to...
29892         (index_AVX_Usable): ... this.
29893         (HAS_AVX): Use HAS_ARCH_FEATURE.
29894         (HAS_FMA4): Likewise.
29895         (HAS_YMM_USABLE): Remove.
29896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29897         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29898         are present.
29899         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29900         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29901         * sysdeps/x86_64/multiarch/Makefile: Likewise.
29902         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29903         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29905 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29907         * math/libm-test.c: Support platforms without multiple rounding modes.
29908         * math/bug-nextafter.c: Support platforms without FP exceptions.
29909         * math/bug-nexttoward.c: Likewise.
29910         * math/test-fenv.c: Likewise.
29911         * math/test-misc.c: Likewise.
29912         * stdlib/bug-getcontext.c: Likewise.
29914 2012-05-17  Andreas Jaeger  <aj@suse.de>
29916         * manual/examples/search.c (critter_cmp): Change signature to
29917         avoid warnings.
29918         * manual/string.texi (Collation Functions): Likewise.
29920 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29922         * bits/types.h: Fold copyright years.
29923         * bits/typesizes.h: Likewise.
29924         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29927         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29928         * time/time.h: Likewise.
29930 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
29932         [BZ #208]
29933         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29934         in instead of returning them.  Return void.
29935         (__libc_mallinfo): Accumulate over all arenas.
29936         (__malloc_stats): Adjust for change in int_mallinfo interface.
29938 2012-05-16  Roland McGrath  <roland@hack.frob.com>
29940         [BZ #10375]
29941         * configure.in (NM): Add AC_CHECK_TOOL for it.
29942         (libc_extra_cflags): New substituted variable.
29943         Check for -fstack-protector being used implicitly.
29944         * configure: Regenerated.
29945         * config.make.in (config-extra-cflags): New variable,
29946         gets @libc_extra_cflags@.
29947         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29949         [BZ #10375]
29950         * configure.in: Check for _FORTIFY_SOURCE being predefined.
29951         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29952         * configure: Regenerated.
29953         * config.make.in (CPPUNDEFS): New substituted variable.
29954         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29955         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29956         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29960         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29961         (mq_attr): Use __syscall_slong_t.
29963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29965         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29966         Check __x86_64__ instead of __WORDSIZE.
29967         (_STAT_VER_LINUX): Likewise.
29968         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
29969         __syscall_ulong_t and __syscall_slong_t.
29970         (stat64): Likewise.
29972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29974         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29978         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29980 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29982         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29983         __syscall_ulong_t.
29985         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29986         include <bits/wordsize.h>.  Check __x86_64__ instead of
29987         __WORDSIZE.
29988         (greg_t): Use "__extension__ long long int" if __x86_64__ is
29989         defined.
29990         (mcontext_t): Replace "unsigned long" with "unsigned long long".
29992         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29993         include <bits/wordsize.h>.  Check __x86_64__ instead of
29994         __WORDSIZE.
29995         (user_regs_struct): Use "__extension__ unsigned long long"
29996         instead of "unsigned long" if __x86_64__ is defined.
29997         (user): Likewise.  Pad after pointer field if __ILP32__ is
29998         defined.
30000 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30002         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30003         versions 5 to 9.
30004         * configure: Regenerated.
30005         * manual/install.texi (texinfo): Increase version requirement to
30006         4.5 or later.
30007         * INSTALL: Regenerated.
30009         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30011 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30013         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30015         * sysdeps/x86_64/x32/ffs.c: New file.
30017         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30018         __syscall_ulong_t.
30019         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30020         defined.  Use __syscall_ulong_t.
30021         (shminfo): Use __syscall_ulong_t.
30022         (shm_info): Likewise.
30024         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30025         __syscall_ulong_t.
30027         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30028         <bits/wordsize.h>.
30029         (msgqnum_t): Use __syscall_ulong_t.
30030         (msglen_t): Likewise.
30031         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30032         __syscall_ulong_t.
30034         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30035         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30037         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30039         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30040         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30042         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30043         __syscall_slong_t.
30045         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30046         include <bits/wordsize.h>.  Check __x86_64__ instead of
30047         __WORDSIZE.
30049         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30050         "unsigned long long int" if __x86_64__ is defined.
30051         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30053         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30054         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30055         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30057         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30058         <stdint.h>.
30059         (GET_PC): Cast to uintptr_t first.
30060         (GET_FRAME): Likewise.
30061         (GET_STACK): Likewise.
30063         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30064         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30065         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30066         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30067         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30068         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30069         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30070         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30071         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30072         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30074         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30075         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30076         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30077         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30078         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30079         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30080         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30082         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30085         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30087         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30089         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30093 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30095         * Makerules (+depfiles): Also collect depfiles from .oS in
30096         $(extra-objs).
30097         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30098         .oS, $(libnldbl-routines)).
30100         * Makerules (native-compile-mkdep-flags): Define.
30101         * sunrpc/Makefile (extra-objs): Add $(addprefix
30102         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30103         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30104         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30105         calling $(make-target-directory).
30107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30109         * bits/types.h (__snseconds_t): Removed.
30110         * time/time.h (struct timespec): Replace __snseconds_t with
30111         __syscall_slong_t.
30112         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30113         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30114         Likewise.
30115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30116         (__SNSECONDS_T_TYPE): Likewise.
30117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30118         (__SNSECONDS_T_TYPE): Likewise.
30119         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30120         (__SNSECONDS_T_TYPE): Likewise.
30122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30124         * sysdeps/mach/hurd/bits/typesizes.h
30125         (__SYSCALL_SLONG_TYPE): New macro.
30126         (__SYSCALL_ULONG_TYPE): Likewise.
30128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30130         * bits/types.h (__syscall_slong_t): New type.
30131         (__syscall_ulong_t): Likewise.
30133         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30134         (__SYSCALL_ULONG_TYPE): Likewise.
30135         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30136         (__SYSCALL_SLONG_TYPE): Likewise.
30137         (__SYSCALL_ULONG_TYPE): Likewise.
30138         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30139         (__SYSCALL_SLONG_TYPE): Likewise.
30140         (__SYSCALL_ULONG_TYPE): Likewise.
30141         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30142         (__SYSCALL_SLONG_TYPE): Likewise.
30143         (__SYSCALL_ULONG_TYPE): Likewise.
30145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30147         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30148         Add sigaltstack-offsets.sym.
30149         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30150         <sigaltstack-offsets.h>.
30151         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30152         longjmp_msg pointer.
30153         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30154         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30155         signal stack.
30156         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30158 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30160         * elf/stackguard-macros.h: Remove file.
30161         * sysdeps/generic/stackguard-macros.h: New file.
30162         * sysdeps/i386/stackguard-macros.h: Likewise.
30163         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30164         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30165         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30166         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30167         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30168         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30169         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30170         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30171         <elf/stackguard-macros.h>.
30173         [BZ #14109]
30174         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30175         __aligned__ in attribute.
30176         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30177         (gregset_t): Likewise.
30179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30181         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30182         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30183         * sysdeps/x86_64/x32/Implies-after: New file.
30185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30187         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30188         and access return value for _dl_profile_fixup.  Use R10_LP to
30189         load frame size.
30191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30193         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30197         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30198         * sysdeps/x86_64/x32/sysdep.h: New file.
30200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30202         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30203         * sysdeps/x86_64/setjmp.S: Likewise.
30205 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30207         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30208         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30209         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30210         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30211         remove unused global constant.
30213 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30215         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30216         include of <not-cancel.h>.
30218 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30220         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30222 2012-05-15  Jeff Law  <law@redhat.com>
30223             Andreas Jaeger  <aj@suse.de>
30225         [BZ #13594]
30226         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30227         out from...
30228         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30229         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30230         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30231         code changing __hst_map_handle.map.
30233 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30235         * configure.in (sysnames): Look for Implies-before and Implies-after
30236         files.
30237         * configure: Regenerated.
30239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30241         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30242         8-byte data alignment with LP_SIZE alignment.
30244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30246         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30247         into R10_LP.
30249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30251         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30255         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30256         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30257         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30258         Likewise.
30259         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30263         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30264         (stackinfo_sub_sp): Likewise.
30266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30269         RAX_LP.
30271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30273         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30274         into R*_LP.
30276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30278         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30279         sizes into R*_LP.
30281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30283         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30287         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30288         into R11_LP and load __x86_64_shared_cache_size_half into
30289         R8_LP.
30291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30293         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30294         R8_LP.
30296 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30299         logb for POWER7.
30300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30301         logbf for POWER7.
30302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30303         logbl for POWER7.
30304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30305         powerpc32/power7/fpu/s_logb.c via #include.
30306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30307         powerpc32/power7/fpu/s_logbf.c via #include.
30308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30309         powerpc32/power7/fpu/s_logbl.c via #include.
30311 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30313         * README.libm: Remove file.
30315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30317         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30318         count for x32.  Use R*_LP and omit operand-size suffix.
30320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30322         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30323         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30324         * sysdeps/x86_64/x32/shlib-versions: New file.
30326 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30328         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30329         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30330         Use _dl_fatal_printf instead.
30332 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30334         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30335         set if not set by the user.  Do not allow for being unset.
30336         * sysdeps/unix/sysv/linux/configure: Regenerated.
30338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30340         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30341         the `q' suffix from lea and replace .quad with ASM_ADDR.
30343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30346         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30347         instead of $17.
30348         (PTR_DEMANGLE): Likewise.
30350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30352         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30353         (LP_OP): Likewise.
30354         (ASM_ADDR): Likewise.
30355         (RAX_LP): Likewise.
30356         (RBP_LP): Likewise.
30357         (RBX_LP): Likewise.
30358         (RCX_LP): Likewise.
30359         (RDI_LP): Likewise.
30360         (RSI_LP): Likewise.
30361         (RSP_LP): Likewise.
30362         (R8_LP): Likewise.
30363         (R9_LP): Likewise.
30364         (R10_LP): Likewise.
30365         (R10_LP): Likewise.
30366         (R11_LP): Likewise.
30367         (R12_LP): Likewise.
30368         (R13_LP): Likewise.
30369         (R14_LP): Likewise.
30370         (R15_LP): Likewise.
30372 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30374         * sysdeps/x86_64/x32/dl-machine.h: New file.
30376 2012-05-14  Andreas Jaeger  <aj@suse.de>
30378         * manual/Makefile (subdir): Remove export of subdir.
30379         (all): Remove target.
30380         (.PHONY): Remove all from list.
30381         (mkinstalldirs): Remove.
30382         (.PHONY): Remove installdirs from list.
30383         ($(inst_infodir)/libc.info): Use make-target-directory.
30384         (installdirs): Remove.
30385         (subdir_%): Remove.
30386         (glibc-targets): Remove.
30387         (lib): Remove.
30388         (stubs): Remove.
30389         ($(objpfx)stubs ../po/manual.pot): Remove.
30390         ($(objpfx)stamp%): Remove.
30391         (make-target-directory): Remove.
30392         (subdir_install): Remove.
30393         (routines): Remove.
30394         (aux): Remove.
30395         (sources): Remove.
30396         (objects): Remove.
30397         (headers): Remove.
30399         [BZ #13750]
30400         * manual/.gitignore: Remove, it's not needed anymore.
30401         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30402         all files in it.
30403         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30404         directory.
30405         (texis): Renamed to $(objpfx)texis.
30406         (texis-path): New, contains path to generated files.
30407         (chapters.%): Use texis-path for complete path, add extra argument
30408         libc-texinfo.sh.
30409         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30410         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30411         (summary,texi, stamp-summary): Use complete path of
30412         files. Generate files in build dir.
30413         (dir-add.texi): Build in build dir.
30414         (libm-err.texi,stamp-libm-err): Likewise.
30415         (version.texi, stamp-version): Likewise.
30416         (.%c.texi): Likewise.
30417         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30418         (mostlyclean): Remove target.
30419         (realclean): Remove target.
30420         (generated): Add new variable with contents from mostlyclean and
30421         realclean, remove entries duplicated in common-mostlyclean, add
30422         stamp-libm-err and stamp-version.
30423         (generated-dirs): Add libc directory.
30424         ($(inst_infodir)/libc.info): Install files from build dir.
30426         * manual/install.texi (Configuring and compiling): Adjust since
30427         the info files are not part of the tar ball anymore.
30429 2012-05-14  Andreas Jaeger  <aj@suse.de>
30431         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30432         variable.
30434 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30436         [BZ #13717]
30437         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30438         to 2.2.0 where earlier.
30439         * sysdeps/unix/sysv/linux/configure: Regenerated.
30440         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30441         Remove conditional code.
30442         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30443         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30444         Remove conditional code.
30445         [!__NR_lchown]: Likewise.
30446         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30447         [__NR_lchown]: Likewise.
30448         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30449         comment referencing __ASSUME_LCHOWN_SYSCALL.
30450         * sysdeps/unix/sysv/linux/i386/sigaction.c
30451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30453         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30454         Remove conditional code.
30455         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30456         (__protocol_available): Remove #if 0 code.
30457         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30458         conditional code.
30459         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30460         * sysdeps/unix/sysv/linux/kernel-features.h
30461         (__ASSUME_GETCWD_SYSCALL): Don't define.
30462         (__ASSUME_REALTIME_SIGNALS): Likewise.
30463         (__ASSUME_PREAD_SYSCALL): Likewise.
30464         (__ASSUME_PWRITE_SYSCALL): Likewise.
30465         (__ASSUME_POLL_SYSCALL): Likewise.
30466         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30467         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30468         non-SPARC.
30469         (__ASSUME_SIOCGIFNAME): Don't define.
30470         (__ASSUME_MSG_NOSIGNAL): Likewise.
30471         (__ASSUME_SENDFILE): Define unconditionally.
30472         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30473         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30474         conditional code.
30475         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30476         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30477         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30478         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30479         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30480         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30481         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30483         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30486         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30489         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30490         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30492         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30493         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30495         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30496         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30498         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30499         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30501         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30504         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30505         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30506         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30507         Remove conditional code.
30508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30509         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30510         Remove conditional code.
30511         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30512         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30513         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30514         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30515         Remove conditional code.
30516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30517         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30518         Remove conditional code.
30519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30520         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30521         Remove conditional code.
30522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30523         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30524         Remove conditional code.
30525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30526         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30527         Remove conditional code.
30528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30529         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30532         * sysdeps/unix/sysv/linux/sigaction.c
30533         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30534         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30535         * sysdeps/unix/sysv/linux/sigpending.c
30536         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30537         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30538         * sysdeps/unix/sysv/linux/sigprocmask.c
30539         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30540         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30541         * sysdeps/unix/sysv/linux/sigsuspend.c
30542         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30543         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30544         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30545         (__libc_missing_rt_sigs): Remove.
30546         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30547         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30548         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30549         Remove conditional code.
30550         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30551         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30552         return 1.
30553         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30554         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30555         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30556         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30558 2012-05-14  Andreas Jaeger  <aj@suse.de>
30560         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30561         it's not used in glibc.
30562         (__coshm1): Likewise.
30563         (__acosh1p): Likewise.
30564         (__sgn): Likewise.
30566         * manual/string.texi (Copying and Concatenation): Add missing
30567         variable in concat example.
30568         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30572         [BZ #14103]
30573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30574         __builtin_clzl with __builtin_clzll.
30576 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30578         [BZ #14104]
30579         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30580         libc_freeres_ptr.
30582 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30584         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30585         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30586         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30587         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30589 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30591         * NEWS: Update ia64 info.
30593 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30595         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30596         used as bcopy.
30598 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30600         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30601         * sysdeps/unix/syscalls.list (dup3): Likewise.
30602         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30603         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30605 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30607         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30608         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30610 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30612         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30613         thread pointer.
30614         (TLS_IE): Use mov/add instead of movq/addq to load thread
30615         pointer.
30616         (TLS_GD_PREFIX): New.
30617         (TLS_GD): Use it.
30619 2012-05-11  David S. Miller  <davem@davemloft.net>
30621         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30622         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30623         (_FPU_SETCW): Likewise.
30625 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30627         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30628         is 32-byte aligned.
30630 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30632         [BZ #11837]
30633         * iconvdata/gb18030.c: Update tables.
30634         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30635         characters specially.
30636         (BODY for TO_LOOP): Add encoding of missing ranges.
30638 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30640         [BZ #13673]
30641         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30642         * sysdeps/mach/hurd/dup3.c: Likewise.
30643         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30644         * sysdeps/powerpc/memmove.c:: Likewise.
30646 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30648         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30649         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30653         * elf/elf.h (R_X86_64_RELATIVE64): New.
30654         (R_X86_64_NUM): Updated.
30655         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30656         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30657         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30658         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30659         tst-quad1pie tst-quad2pie
30660         (modules-names): Add tst-quadmod1 tst-quadmod2.
30661         ($(objpfx)tst-quad1): New dependency.
30662         ($(objpfx)tst-quad2): Likewise.
30663         ($(objpfx)tst-quad1pie): Likewise.
30664         ($(objpfx)tst-quad2pie): Likewise.
30665         * sysdeps/x86_64/tst-quad1.c: New file.
30666         * sysdeps/x86_64/tst-quad1pie.c: New file.
30667         * sysdeps/x86_64/tst-quad2.c: Likewise.
30668         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30669         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30670         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30671         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30672         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30676         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30677         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30678         * streams/stropts.h (t_scalar_t): Define type.
30680         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30681         (_PATH_PRESERVE): Set to "/var/lib".
30682         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30684         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30685         instead of int.
30687         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30688         if __dir_mkfile succeeded.
30690         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30691         checking for _hurd_dtablesize.  Unlock it right after having
30692         finished _hurd_dtable allocation.
30694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30696         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30697         * sysdeps/mach/hurd/configure: Regenerated.
30698         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30699         special-casing to...
30700         * sysdeps/gnu/configure.in: ... this new file.
30701         * sysdeps/unix/sysv/linux/configure: Regenerated.
30702         * sysdeps/gnu/configure: New generated file.
30704         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30705         for Linux: use nsec instead of usec, as well as:
30706         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30707         members of type struct timespec.
30708         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30709         New macros.
30710         (struct stat64): Likewise.
30711         (_STATBUF_ST_NSEC): New macro.
30712         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30714         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30715         __strtoul_internal rather than strtoul.
30717 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30719         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30720         and reject them.
30722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30724         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30725         which preserves existing values.
30726         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30728 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30730         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30731         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30732         greater than FD_SETSIZE.
30734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30736         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30737         allocated, call __vm_protect to finish enabling the existing space, and
30738         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30739         allocate the remainder.
30741 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30743         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30744         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30748         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30749         sysdeps/mach/hurd/readlink.c.
30751         * posix/tst-sysconf.c (posix_options): Only use
30752         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30753         _POSIX_SYNCHRONIZED_IO when they are defined
30754         * sysdeps/mach/hurd/bits/posix_opt.h:
30755         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30756         (_XOPEN_REALTIME): Undefine macro.
30757         (_XOPEN_REALTIME_THREADS): Undefine macro.
30758         (_XOPEN_SHM): Undefine macro.
30759         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30760         macro to -1.
30761         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30762         macro to -1.
30763         (_POSIX_ASYNC_IO): Undefine macro.
30764         (_POSIX_PRIORITIZED_IO): Undefine macro.
30765         (_POSIX_SPIN_LOCKS): Define macro to -1.
30767         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30768         SA_NODEFER, SA_RESETHAND.
30769         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30770         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30771         F_DUPFD_CLOEXEC.
30773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30775         * elf/Makefile (pldd-modules): Define unconditionally.
30777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30779         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30783         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30784         Return ENOENT when name is empty.
30785         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30789         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30791         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30795         Fix mlock in all cases except non-readable pages.
30796         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30797         instead of VM_PROT_ALL as parameter to __vm_wire function.
30799         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30800         (__mkdir): When path is `/', just fail with EEXIST.
30801         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30805         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30806         <sys/uio.h> (for writev).
30807         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30808         and <sys/param.h> (for MIN).
30810 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30812         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30813         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30814         if interrupted.
30816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30818         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30819         Depend on against $(link-rpcuserlibs).
30821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30823         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30824         (__libc_stack_end): Do not use attribute_relro.
30825         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30826         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30827         to libthread-provided value.
30828         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30829         attribute_relro.
30831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30833         [BZ #3748]
30834         * bits/libc-lock.h (__libc_once_get): New macro.
30835         * sysdeps/mach/bits/libc-lock.h: Likewise.
30836         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30837         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30838         instead of using implementation details.
30840         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30841         * libio/freopen.c: Likewise.
30842         * libio/freopen64.c: Likewise.
30843         * misc/syslog.c: Likewise.
30844         * nscd/connections.c: Likewise.
30845         * nscd/netgroupcache.c: Likewise.
30846         * sysdeps/posix/getcwd.c: Likewise.
30848 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30850         * math/w_ilogbf.c: Add #include <limits.h>.
30852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30854         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30855         path instead of returning without unlocking.
30857         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30858         immediate-write ioctls.
30859         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30861 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30863         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30864         __builtin_frame_address instead of making assumptions about the
30865         location of the return address relative to DATA.  Force early load of
30866         the return address.
30867         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30868         __builtin_frame_address.
30870         dup3 for GNU Hurd.
30871         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30872         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30873         implement dup3 and do some further code clean-ups.
30874         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30875         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30877 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30879         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30881         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30882         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30883         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30884         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30885         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30886         d->port.lock.
30888         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30889         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
30890         when handler == SIG_ERR, not when handler != SIG_ERR.
30892 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30894         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30895         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30896         definitions.
30898         accept4 for GNU Hurd.
30899         * include/sys/socket.h (__libc_accept4): New prototype.
30900         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
30901         to implement __libc_accept4.
30902         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30903         __libc_accept4.
30904         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30906         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30907         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30908         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30909         signal-defines.sym.
30911 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30913         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30917         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30918         assertion on O_CLOEXEC flag.
30919         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30920         * hurd/intern-fd.c: Likewise.
30921         * hurd/port2fd.c: Likewise.
30923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30925         [BZ #3906]
30926         * bits/in.h (IPV6_PKTINFO): Define new macro.
30927         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30929 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30931         [BZ #13954]
30932         [BZ #13955]
30933         [BZ #13956]
30934         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30935         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30936         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30937         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30939         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30940         * math/libm-test.inc (logb_test) : Additional logb tests.
30942 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
30943             Andreas Jaeger  <aj@suse.de>
30945         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30946         * configure: Regenerated.
30947         * config.h.in (LINK_OBSOLETE_RPC): New macro.
30948         * config.make.in (link-obsolete-rpc): New substituted variable.
30949         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30950         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30951         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30952         (shared-only-routines): Don't set it under [link-obsolete-rpc],
30953         so that libc.a contains the symbols.
30954         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30955         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30956         * sunrpc/auth_none.c: Likewise.
30957         * sunrpc/auth_unix.c: Likewise.
30958         * sunrpc/authdes_prot.c: Likewise.
30959         * sunrpc/authuxprot.c: Likewise.
30960         * sunrpc/clnt_gen.c: Likewise.
30961         * sunrpc/clnt_perr.c: Likewise.
30962         * sunrpc/clnt_raw.c: Likewise.
30963         * sunrpc/clnt_simp.c: Likewise.
30964         * sunrpc/clnt_tcp.c: Likewise.
30965         * sunrpc/clnt_udp.c: Likewise.
30966         * sunrpc/clnt_unix.c: Likewise.
30967         * sunrpc/des_crypt.c: Likewise.
30968         * sunrpc/des_soft.c: Likewise.
30969         * sunrpc/get_myaddr.c: Likewise.
30970         * sunrpc/key_call.c: Likewise.
30971         * sunrpc/key_prot.c: Likewise.
30972         * sunrpc/netname.c: Likewise.
30973         * sunrpc/pm_getmaps.c: Likewise.
30974         * sunrpc/pm_getport.c: Likewise.
30975         * sunrpc/pmap_clnt.c: Likewise.
30976         * sunrpc/pmap_prot.c: Likewise.
30977         * sunrpc/pmap_prot2.c: Likewise.
30978         * sunrpc/pmap_rmt.c: Likewise.
30979         * sunrpc/publickey.c: Likewise.
30980         * sunrpc/rpc_cmsg.c: Likewise.
30981         * sunrpc/rpc_common.c: Likewise.
30982         * sunrpc/rpc_dtable.c: Likewise.
30983         * sunrpc/rpc_prot.c: Likewise.
30984         * sunrpc/rpc_thread.c: Likewise.
30985         * sunrpc/rtime.c: Likewise.
30986         * sunrpc/svc.c: Likewise.
30987         * sunrpc/svc_auth.c: Likewise.
30988         * sunrpc/svc_raw.c: Likewise.
30989         * sunrpc/svc_run.c: Likewise.
30990         * sunrpc/svc_tcp.c: Likewise.
30991         * sunrpc/svc_udp.c: Likewise.
30992         * sunrpc/svc_unix.c: Likewise.
30993         * sunrpc/svcauth_des.c: Likewise.
30994         * sunrpc/xcrypt.c: Likewise.
30995         * sunrpc/xdr.c: Likewise.
30996         * sunrpc/xdr_array.c: Likewise.
30997         * sunrpc/xdr_float.c: Likewise.
30998         * sunrpc/xdr_intXX_t.c: Likewise.
30999         * sunrpc/xdr_mem.c: Likewise.
31000         * sunrpc/xdr_rec.c: Likewise.
31001         * sunrpc/xdr_ref.c: Likewise.
31002         * sunrpc/xdr_sizeof.c: Likewise.
31003         * sunrpc/xdr_stdio.c: Likewise.
31005 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31008         change.  Update copyright years.
31010 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31012         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31014 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31015             Joseph Myers  <joseph@codesourcery.com>
31016             Paul Pluzhnikov  <ppluzhnikov@google.com>
31018         [BZ #14012]
31019         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31020         requiring rpcgen.
31021         [cross-compiling] (extra-libs): Likewise.
31022         [cross-compiling] (extra-libs-others): Likewise.
31023         [cross-compiling] (librpcsvc-routines): Likewise.
31024         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31025         [cross-compiling] (omit-deps): Likewise.
31026         (sunrpc-CPPFLAGS): New variable.
31027         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31028         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31029         (cross-rpcgen-objs): New variable.
31030         (extra-objs): Append $(cross-rpcgen-objs).
31031         ($(cross-rpcgen-objs)): New rule.
31032         ($(objpfx)cross-rpcgen): Likewise.
31033         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31034         comment.
31035         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31036         ($(objpfx)x%.stmp): Likewise.
31037         * sunrpc/proto.h [IS_IN_build] (_): Define.
31038         [IS_IN_build] (_libc_intl_domainname): Likewise.
31040 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31043         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31044         and R_X86_64_TPOFF64.
31046 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31048         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31049         sysdeps/unix/sysv/syscalls.list.
31050         (stime): Likewise.
31051         (utime): Likewise.
31052         * sysdeps/unix/sysv/syscalls.list: Remove file.
31054 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31056         [BZ #3440]
31057         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31058         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31059         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31060         (__LC_IDENTIFICATION): Make these macros useful in #if
31061         expressions, as required by C99.
31063 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31065         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31066         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31067         after this.
31069 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31071         * stdlib/longlong.h: Updated from GCC.
31073 2012-05-09  Andreas Jaeger  <aj@suse.de>
31075         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31076         default is first entry.
31077         (run_mode): Set type.
31078         (main): Remove informal message about syslog.
31079         (options): Fix typo.
31081         [BZ #14053]
31082         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31083         to asm.
31084         (lrint): Likewise.
31085         (llrintf): Likewise.
31086         (llrint): Likewise.
31087         (rint): Likewise.
31088         (rintf): Likewise.
31089         (nearbyint): Likewise.
31090         (nearbyintf): Likewise.
31092 2012-05-09  Andreas Jaeger  <aj@suse.de>
31093             Pedro Alves  <palves@redhat.com>
31095         * nscd/nscd.c (run_mode): Use enum.
31096         (main): Cleanup coding style issue.
31098 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31099             Andreas Jaeger  <aj@suse.de>
31101         * nscd/nscd.c (go_background): Replaced with...
31102         (run_mode): ... this.
31103         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31104         (options): Add -F --foreground.
31105         (main): Implement it.
31106         (parse_opt): Parse it.
31108 2012-05-09  Andreas Jaeger  <aj@suse.de>
31110         [BZ #14083]
31111         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31112         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31113         -Wconversion warning.
31114         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31115         Likewise.
31117 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31119         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31120         == 0.
31121         (LC_ALL): Use macro-int-constant.
31122         (LC_COLLATE): Likewise.
31123         (LC_CTYPE): Likewise.
31124         (LC_MESSAGES): Likewise.
31125         (LC_MONETARY): Likewise.
31126         (LC_NUMERIC): Likewise.
31127         (LC_TIME): Likewise.
31128         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31129         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31130         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31131         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31132         Specify type.
31133         [C99-based standards] (float_t): Expect type.
31134         [C99-based standards] (double_t): Expect type.
31135         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31136         type.
31137         [C99-based standards] (HUGE_VALL): Likewise.
31138         [C99-based standards] (INFINITY): Likewise.
31139         [C99-based standards] (NAN): Likewise.
31140         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31141         [C99-based standards] (FP_NAN): Likewise.
31142         [C99-based standards] (FP_NORMAL): Likewise.
31143         [C99-based standards] (FP_SUBNORMAL): Likewise.
31144         [C99-based standards] (FP_ZERO): Likewise.
31145         [C99-based standards] (FP_FAST_FMA): Use
31146         optional-macro-int-constant.  Specify type.  Require == 1.
31147         [C99-based standards] (FP_FAST_FMAF): Likewise.
31148         [C99-based standards] (FP_FAST_FMAL): Likewise.
31149         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31150         [C99-based standards] (FP_ILOGBNAN): Likewise.
31151         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31152         Specify type.
31153         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31154         [C99-based standards] (math_errhandling): Specify type.
31155         [ISO99 || ISO11] (signgam): Do not allow.
31156         [non-C99-based standards] (copysignf): Do not allow.
31157         [non-C99-based standards] (exp2f): Likewise.
31158         [non-C99-based standards] (log2f): Likewise.
31159         [non-C99-based standards] (modff): Allow.
31160         [non-C99-based standards] (erff): Do not allow.
31161         [non-C99-based standards] (erfcf): Likewise.
31162         [non-C99-based standards] (gammaf): Likewise.
31163         [non-C99-based standards] (hypotf): Likewise.
31164         [non-C99-based standards] (j0f): Likewise.
31165         [non-C99-based standards] (j1f): Likewise.
31166         [non-C99-based standards] (jnf): Likewise.
31167         [non-C99-based standards] (lgammaf): Likewise.
31168         [non-C99-based standards] (tgammaf): Likewise.
31169         [non-C99-based standards] (y0f): Likewise.
31170         [non-C99-based standards] (y1f): Likewise.
31171         [non-C99-based standards] (ynf): Likewise.
31172         [non-C99-based standards] (isnanf): Likewise.
31173         [non-C99-based standards] (acoshf): Likewise.
31174         [non-C99-based standards] (asinhf): Likewise.
31175         [non-C99-based standards] (atanhf): Likewise.
31176         [non-C99-based standards] (cbrtf): Likewise.
31177         [non-C99-based standards] (expm1f): Likewise.
31178         [non-C99-based standards] (ilogbf): Likewise.
31179         [non-C99-based standards] (log1pf): Likewise.
31180         [non-C99-based standards] (logbf): Likewise.
31181         [non-C99-based standards] (nextafterf): Likewise.
31182         [non-C99-based standards] (remainderf): Likewise.
31183         [non-C99-based standards] (rintf): Likewise.
31184         [non-C99-based standards] (scalbf): Likewise.
31185         [non-C99-based standards] (copysignl): Likewise.
31186         [non-C99-based standards] (exp2l): Likewise.
31187         [non-C99-based standards] (log2l): Likewise.
31188         [non-C99-based standards] (modfl): Allow.
31189         [non-C99-based standards] (erfl): Do not allow.
31190         [non-C99-based standards] (erfcl): Likewise.
31191         [non-C99-based standards] (gammal): Likewise.
31192         [non-C99-based standards] (hypotl): Likewise.
31193         [non-C99-based standards] (j0l): Likewise.
31194         [non-C99-based standards] (j1l): Likewise.
31195         [non-C99-based standards] (jnl): Likewise.
31196         [non-C99-based standards] (lgammal): Likewise.
31197         [non-C99-based standards] (tgammal): Likewise.
31198         [non-C99-based standards] (y0l): Likewise.
31199         [non-C99-based standards] (y1l): Likewise.
31200         [non-C99-based standards] (ynl): Likewise.
31201         [non-C99-based standards] (isnanl): Likewise.
31202         [non-C99-based standards] (acoshl): Likewise.
31203         [non-C99-based standards] (asinhl): Likewise.
31204         [non-C99-based standards] (atanhl): Likewise.
31205         [non-C99-based standards] (cbrtl): Likewise.
31206         [non-C99-based standards] (expm1l): Likewise.
31207         [non-C99-based standards] (ilogbl): Likewise.
31208         [non-C99-based standards] (log1pl): Likewise.
31209         [non-C99-based standards] (logbl): Likewise.
31210         [non-C99-based standards] (nextafterl): Likewise.
31211         [non-C99-based standards] (remainderl): Likewise.
31212         [non-C99-based standards] (rintl): Likewise.
31213         [non-C99-based standards] (scalbl): Likewise.
31214         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31215         [non-C99-based standards] (FP_*): Do not allow.
31216         [C99-based standards] (FP_*): Change to
31217         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31218         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31219         allow.
31220         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31221         (SIG_ERR): Likewise.
31222         [X/Open-based standards] (SIG_HOLD): Likewise.
31223         (SIG_IGN): Likewise.
31224         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31225         positive value.
31226         (SIGFPE): Likewise.
31227         (SIGILL): Likewise.
31228         (SIGINT): Likewise.
31229         (SIGSEGV): Likewise.
31230         (SIGTER): Likewise.
31231         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31232         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31233         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31234         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31235         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31236         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31237         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31238         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31239         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31240         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31241         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31242         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31243         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31244         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31245         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31246         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31247         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31248         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31249         [X/Open-based standards] (SIGTRAP): Likewise.
31250         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31251         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31252         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31253         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31254         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31255         allow.
31257 2012-05-08  Ian Wienand  <ianw@vmware.com>
31259         [BZ #14080]
31260         * time/tzset.c (__tzset_parse_tz): Update default rules for
31261         daylight time changes in the Energy Policy Act of 2005.
31263 2012-05-09  Andreas Jaeger  <aj@suse.de>
31265         [BZ #13983]
31266         * elf/ldconfig.c (parse_conf): Change string to make clear that
31267         ldconfig only issued a warning if ld.so.conf does not exist.
31269 2012-05-08  David S. Miller  <davem@davemloft.net>
31271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31272         movxtod instead of popping the value on the stack.
31274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31276 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31278         * config.h.in: Add HAVE_ARM_PCS_VFP.
31280 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31282         [BZ #13979]
31283         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31284         checking but the checks are disabled for any reason.
31286 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31288         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31289         and ELF64_R_TYPE with ELFW(R_TYPE).
31291 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31293         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31294         (ulimit): Likewise.
31296         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31297         (settimeofday): Likewise.
31299 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31301         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31302         a struct th_u2 inside the union, and move tu_block/tu_code into
31303         a new th_u3 union of tu_block/tu_code inside of that.  Move
31304         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31305         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31306         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31307         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31308         (th_stuff): Change to th_u1.tu_stuff.
31309         (th_data): Define.
31310         (th_msg): Change to th_u1.th_u2.tu_data.
31312 2012-05-07  David S. Miller  <davem@davemloft.net>
31314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31316         [BZ #14074]
31317         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31318         (SETUP_PIC_REG): Use it.
31319         (SETUP_PIC_REG_LEAF): Use it.
31321 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31323         [BZ #13885]
31324         [BZ #13923]
31325         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31326         USE_AS_EXPM1L.
31327         (EXPL_FINITE): Likewise.
31328         (FLDLOG): Likewise.
31329         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31330         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31331         e_expl.S.
31332         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31333         USE_AS_EXPM1L.
31334         (EXPL_FINITE): Likewise.
31335         (FLDLOG): Likewise.
31336         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31337         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31338         e_expl.S.
31339         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31340         test of -max_value argument for long double.
31341         * sysdeps/i386/fpu/libm-test-ulps: Update.
31342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31344 2012-05-06  David S. Miller  <davem@davemloft.net>
31346         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31347         quad soft-float symbols whose references which are compiler
31348         generated.
31349         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31351 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31353         [BZ #13884]
31354         [BZ #13914]
31355         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31356         USE_AS_EXP10L.
31357         (EXPL_FINITE): Likewise.
31358         (FLDLOG): Likewise.
31359         (c0): Likewise.
31360         (c1): Likewise.
31361         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31362         Adjust comments for base varying.
31363         (__expl_finite): Change alias to EXPL_FINITE.
31364         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31365         e_expl.S.
31366         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31367         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31368         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31369         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31371         USE_AS_EXP10L.
31372         (EXPL_FINITE): Likewise.
31373         (FLDLOG): Likewise.
31374         (c0): Likewise.
31375         (c1): Likewise.
31376         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31377         Adjust comments for base varying.
31378         (__expl_finite): Change alias to EXPL_FINITE.
31379         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31380         tests for bugs.
31381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31383         [BZ #14064]
31384         * math/libm-test.inc (check_float_internal): Correct ulp
31385         calculation for subnormal expected results.
31387 2012-05-06  Andreas Jaeger  <aj@suse.de>
31389         * Makeconfig (+math-flags): New, set to -frounding-math.
31390         (+cflags): Add +math-flags so that all of glibc gets compiled with
31391         it.
31393         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31395 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31397         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31398         Disable one test.
31400         [BZ #13787]
31401         [BZ #13922]
31402         [BZ #14036]
31403         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31404         (__ieee754_expl): Allow for and saturate large arguments.
31405         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31406         (u_threshold): Likewise.
31407         (__exp): Call __ieee754_exp before checking for overflow and
31408         underflow.
31409         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31410         (u_threshold): Likewise.
31411         (__expf): Call __ieee754_expf before checking for overflow and
31412         underflow.
31413         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31414         (u_threshold): Likewise.
31415         (__expl): Call __ieee754_expl before checking for overflow and
31416         underflow.
31417         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31418         (__ieee754_expl): Allow for and saturate large arguments.
31419         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31420         missing overflow exception on overflow.
31421         (expm1_test): Do not allow missing overflow exception on overflow.
31423         * sysdeps/i386/fpu/e_expl.c: Move to ...
31424         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31425         rather than using inline asm.
31426         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31427         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31428         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31430         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31431         (nice): Likewise.
31432         (poll): Likewise.
31433         (signal): Likewise.
31434         (time): Likewise.
31435         (times): Likewise.
31437 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31439         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31440         sysdeps/unix/common/syscalls.list.
31441         (fchmod): Likewise.
31442         (fchown): Likewise.
31443         (ftruncate): Likewise.
31444         (getrusage): Likewise.
31445         (gettimeofday): Likewise.
31446         (setpgid): Likewise.
31447         (setregid): Likewise.
31448         (setreuid): Likewise.
31449         (sigaction): Likewise.
31450         (truncate): Likewise.
31451         (vhangup): Likewise.
31452         * sysdeps/unix/common/syscalls.list: Remove file.
31453         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31454         * sysdeps/unix/sysv/linux/Implies: Likewise.
31456 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31458         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31460         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31461         Moved to ...
31462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31463         Here.
31464         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31465         to ...
31466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31467         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31468         to ...
31469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31470         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31471         to ...
31472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31473         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31474         to ...
31475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31476         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31477         to ...
31478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31479         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31480         to ...
31481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31482         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31483         to ...
31484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31485         Here.
31486         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31487         to ...
31488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31489         Here.
31490         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31491         to ...
31492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31493         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31494         Moved to ...
31495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31496         Here.
31497         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31498         to ...
31499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31501 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31503         * sysdeps/unix/common/bits/dirent.h: Remove file.
31504         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31506         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31507         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31508         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31509         * sysdeps/unix/bsd/isatty.c: Likewise.
31510         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31511         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31512         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31514 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31516         [BZ #13563]
31517         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31518         long double comparison inaccuracies.
31519         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31522 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31524         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31525         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31527 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #14049]
31530         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31531         nonzero digits before rounding a hex value.
31532         * stdlib/tst-strtod.c (tests): Add another test.
31534 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31536         * sysdeps/s390/fpu/libm-test-ulps: Update.
31538 2012-05-03  Andreas Jaeger  <aj@suse.de>
31540         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31541         does not get optimized out.
31542         (malloc_opt_barrier): New.
31544 2012-05-03  Andreas Jaeger  <aj@suse.de>
31545             Roland McGrath  <roland@hack.frob.com>
31547         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31548         intermediate file deletion.
31549         (generated): Add .symlist files.
31551 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31553         [BZ #13775]
31554         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31555         Redirect under this condition.
31556         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31557         [__USE_GNU] (__dprintf_chk): Not under this condition.
31558         [__USE_GNU] (__vdprintf_chk): Likewise.
31559         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31560         under this condition.
31561         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31562         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31563         [__USE_XOPEN2K8] (vdprintf): Likewise.
31564         [__USE_GNU] (__dprintf_chk): Not under this condition.
31565         [__USE_GNU] (__vdprintf_chk): Likewise.
31566         [__USE_GNU] (dprintf): Likewise.
31567         [__USE_GNU] (vdprintf): Likewise.
31569 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31571         * elf/Makefile (common-generated): Set this instead of generated for
31572         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31573         $(all-built-dso)-derived lists.
31575 2012-05-03  Andreas Jaeger  <aj@suse.de>
31577         * sysdeps/i386/fpu/libm-test-ulps: Update.
31579         * FAQ: Removed.
31580         * FAQ.in: Likewise.
31581         * scripts/gen-FAQ.pl: Likewise.
31582         * manual/install.texi (Installation): Point to online location of
31583         FAQ.
31584         * Makefile (files-for-dist): Remove FAQ.
31585         (FAQ): Remove.
31587 2012-05-02  Allan McRae  <allan@archlinux.org>
31589         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31590         (LDFLAGS-reldepmod5.so): Likewise.
31591         (LDFLAGS-reldep6mod1.so): Likewise.
31592         (LDFLAGS-reldep6mod4.so): Likewise.
31593         (LDFLAGS-reldep8mod3.so): Likewise.
31594         (LDFLAGS-unload4mod1.so): Likewise.
31595         (LDFLAGS-unload4mod2.so): Likewise.
31596         (LDFLAGS-tst-initorder): Likewise.
31597         (LDFLAGS-tst-initordera2.so): Likewise.
31598         (LDFLAGS-tst-initordera3.so): Likewise.
31599         (LDFLAGS-tst-initordera4.so): Likewise.
31600         (LDFLAGS-tst-initorderb2.so): Likewise.
31601         (LDFLAGS-noload): Likewise.
31602         (LDFLAGS-next): Likewise.
31603         (LDFLAGS-order2mod1.so): Likewise.
31604         (LDFLAGS-order2mod2.so): Likewise.
31605         (LDFLAGS-tst-initorder2): Likewise.
31606         (LDFLAGS-tst-initorder2a.so): Likewise.
31607         (LDFLAGS-tst-initorder2b.so): Likewise.
31608         (LDFLAGS-tst-initorder2c.so): Likewise.
31609         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31611 2012-05-02  David S. Miller  <davem@davemloft.net>
31613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31615 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31617         [BZ #14055]
31618         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31620 2012-05-02  Andreas Jaeger  <aj@suse.de>
31622         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31623         since we manipulate rounding mode.
31624         (CPPFLAGS-test-idouble.c): Likewise.
31625         (CPPFLAGS-test-ifloat.c): Likewise.
31626         (CFLAGS-test-ldouble.c): Likewise.
31627         (CFLAGS-test-double.c): Likewise.
31628         (CFLAGS-test-float.c): Likewise.
31629         (CFLAGS-test-misc.c): Likewise.
31630         (CFLAGS-test-test-fenv.c): Likewise.
31632 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31634         [BZ #2550]
31635         [BZ #2570]
31636         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31637         comparisons to determine direction to adjust input.
31639 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31641         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31642         output to the target.
31644         * scripts/localplt.awk: New file.
31645         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31646         (check-localplt-CFLAGS): Variable removed.
31647         ($(all-built-dso:=.jmprel)): New static pattern rule.
31648         (generated): Add those targets.
31649         (localplt-built-dso): New variable.
31650         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31652         * elf/check-localplt.c: File removed.
31654         * scripts/check-execstack.awk: New file.
31655         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31656         (check-execstack-CFLAGS): Variable removed.
31657         ($(objpfx)check-execstack.h): Target removed.
31658         ($(objpfx)execstack-default): New target.
31659         (generated): Add that instead of check-execstack.h.
31660         ($(all-built-dso:=.phdr)): New static pattern rule.
31661         (generated): Add those targets.
31662         * elf/check-execstack.c: File removed.
31664         * scripts/check-textrel.awk: New file.
31665         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31666         (check-textrel-CFLAGS): Variable removed.
31667         (all-built-dso): Use := to define.o
31668         ($(all-built-dso:=.dyn)): New static pattern rule.
31669         (generated): Add those targets.
31670         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31671         * config.make.in (READELF): New substituted variable.
31672         * elf/check-textrel.c: File removed.
31674 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31676         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31677         allow.
31678         * conform/data/ctype.h-data [C99-based standards] (isblank):
31679         Expect function.
31680         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31681         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31683         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31684         Specify type.  Require positive value.
31685         (EILSEQ): Likewise.
31686         (ERANGE): Likewise.
31687         [ISO || POSIX] (EILSEQ): Do not expect.
31688         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31689         Specify type.  Require positive value.
31690         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31691         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31692         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31693         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31694         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31695         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31696         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31697         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31698         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31699         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31700         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31701         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31702         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31703         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31704         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31705         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31706         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31707         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31708         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31709         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31710         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31711         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31712         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31713         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31714         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31715         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31716         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31717         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31718         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31719         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31720         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31721         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31722         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31723         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31724         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31725         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31726         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31727         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31728         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31729         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31730         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31731         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31732         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31733         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31734         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31735         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31736         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31737         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31738         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31739         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31740         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31741         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31742         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31743         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31744         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31745         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31746         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31747         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31748         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31749         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31750         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31751         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31752         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31753         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31754         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31755         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31756         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31757         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31758         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31759         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31760         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31761         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31762         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31763         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31764         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31765         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31766         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31767         Require >= 2.
31768         (FLT_ROUNDS): Expect as macro, not constant.
31769         (FLT_MANT_DIG): Use macro-int-constant.
31770         (DBL_MANT_DIG): Likewise.
31771         (LDBL_MANT_DIG): Likewise.
31772         (FLT_DIG): Likewise.
31773         (DBL_DIG): Likewise.
31774         (LDBL_DIG): Likewise.
31775         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31776         (DBL_MIN_EXP): Likewise.
31777         (LDBL_MIN_EXP): Likewise.
31778         (FLT_MAX_EXP): Use macro-int-constant.
31779         (DBL_MAX_EXP): Likewise.
31780         (LDBL_MAX_EXP): Likewise.
31781         (FLT_MAX_10_EXP): Likewise.
31782         (DBL_MAX_10_EXP): Likewise.
31783         (LDBL_MAX_10_EXP): Likewise.
31784         (FLT_MAX): Use macro-constant.
31785         (DBL_MAX): Likewise.
31786         (LDBL_MAX): Likewise.
31787         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31788         (DBL_EPSILON): Likewise.
31789         (LDBL_EPSILON): Likewise.
31790         (FLT_MIN): Likewise.
31791         (DBL_MIN): Likewise.
31792         (LDBL_MIN): Likewise.
31793         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31794         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31795         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31796         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31797         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31798         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31799         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31800         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31801         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31802         [ISO11] (FLT_TRUE_MIN): Likewise.
31803         [ISO11] (LDBL_TRUE_MIN): Likewise.
31804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31805         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31806         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31807         (SCHAR_MAX): Likewise.
31808         (UCHAR_MAX): Likewise.
31809         (CHAR_MIN): Likewise.
31810         (CHAR_MAX): Likewise.
31811         (MB_LEN_MAX): Use macro-int-constant.
31812         (SHRT_MIN): Use macro-int-constant.  Specify type.
31813         (SHRT_MAX): Likewise.
31814         (USHRT_MAX): Likewise.
31815         (INT_MAX): Likewise.
31816         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31817         bound negative.
31818         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31819         bound with "U".
31820         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31821         bound with "L".
31822         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31823         bound negative.  Suffix upper bound with "L".
31824         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31825         bound with "UL".
31826         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31827         Specify type.
31828         [C99-based standards] (LLONG_MAX): Likewise.
31829         [C99-based standards] (ULLONG_MAX): Likewise.
31830         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31831         == 0.
31832         [ISO11] (max_align_t): Require type.
31833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31835         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31836         from $CFLAGS, without defining away __attribute__ calls.
31837         (checknamespace): Use $CFLAGS_namespace.
31839         * conform/conformtest.pl (@keywords): Only include C99 keywords
31840         for standards based on C99 or C11.
31842         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31843         Disable tests.
31844         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31845         UNIX98]: Likewise.
31847         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31848         usability of symbols in #if.
31850         * conform/conformtest.pl: If macro or constant types start
31851         "promoted:", expect the symbol to be of the following type
31852         promoted by the integer promotions.
31854         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31855         in one place.  Also handle "macro-constant".
31857         * conform/conformtest.pl: Only accept expected macro values with
31858         "==".  Parse all "macro" lines in one place.
31859         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31861         * conform/conformtest.pl: Handle braced types on "constant" lines
31862         instead of handling "typed-constant".
31863         * conform/data/signal.h-data: Use "constant" instead of
31864         "typed-constant".
31866         * conform/conformtest.pl: Handle "optional-" at start of lines in
31867         one place rather than duplicating several cases.  Handle each
31868         format of "macro" line with initial "optional-".
31870         * conform/conformtest.pl: Only accept expected constant or
31871         optional-constant values with "==".  Parse all "constant" lines in
31872         one place.  Parse all "optional-constant" lines in one place.
31873         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31874         * conform/data/fmtmsg.h-data: Likewise.
31875         * conform/data/netinet/in.h-data: Likewise.
31876         * conform/data/tar.h-data: Likewise.
31877         * conform/data/limits.h-data: Use "==" form on "constant" and
31878         "optional-constant" lines.
31880         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31881         Use -std=c99 for XOPEN2K.
31882         (@knownproblems): Remove.
31883         (newtoken): Don't check %isknown.
31885         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31886         Do not expect macro.
31887         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31888         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31889         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31890         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31891         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31892         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31893         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31894         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31895         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31896         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31897         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31898         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31899         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31900         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31901         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31902         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31903         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31904         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31905         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31906         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31907         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31908         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31909         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31910         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31911         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31912         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31913         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31914         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31915         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31916         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31917         [XPG3] (acosh): Likewise.
31918         [XPG3] (asinh): Likewise.
31919         [XPG3] (atanh): Likewise.
31920         [XPG3] (cbrt): Likewise.
31921         [XPG3] (expm1): Likewise.
31922         [XPG3] (ilogb): Likewise.
31923         [XPG3] (log1p): Likewise.
31924         [XPG3] (logb): Likewise.
31925         [XPG3] (nextafter): Likewise.
31926         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31927         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31928         [XPG3] (remainder): Likewise.
31929         [XPG3] (rint): Likewise.
31930         [XPG3 || XPG4 || UNIX98] (round): Likewise.
31931         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31932         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31933         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31934         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31935         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31936         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31937         [UNIX98 || XOPEN2K] (scalb): Expect.
31938         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31939         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31940         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31941         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31942         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31943         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31944         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31945         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31946         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31947         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31948         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31949         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31950         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31951         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31952         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31953         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31954         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31955         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31956         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31957         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31958         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31959         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31960         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31961         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31962         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31963         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31964         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31965         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31966         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31967         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31968         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31969         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31970         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31971         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31972         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31973         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31974         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31975         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31976         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31977         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31978         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31979         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31980         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31981         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31982         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31983         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31984         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31985         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31986         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31987         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31988         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31989         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31990         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31991         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31992         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31993         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31994         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31995         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31996         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31997         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31998         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31999         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32000         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32001         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32002         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32003         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32004         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32005         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32006         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32007         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32008         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32009         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32010         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32011         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32012         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32013         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32014         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32015         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32016         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32017         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32018         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32019         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32020         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32021         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32022         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32023         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32024         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32025         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32026         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32027         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32028         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32029         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32030         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32031         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32032         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32033         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32034         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32035         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32036         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32037         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32038         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32039         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32040         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32041         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32042         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32043         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32044         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32045         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32046         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32047         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32048         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32049         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32050         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32051         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32052         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32053         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32054         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32055         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32056         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32057         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32058         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32059         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32060         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32061         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32062         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32063         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32064         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32065         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32066         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32067         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32068         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32069         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32070         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32071         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32072         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32073         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32074         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32076         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32077         _XOPEN_SOURCE_EXTENDED for XPG4.
32079         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32081         * Makeconfig (localtime): Remove variable.
32082         (inst_localtime-file): Likewise.
32084 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32087         Update.
32088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32089         Update.
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32091         Update.
32092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32093         Update.
32094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32095         Update.
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32097         Update.
32098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32099         Update.
32100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32101         Update.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32103         Update.
32105 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32107         [BZ #2550]
32108         [BZ #2570]
32109         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32110         comparisons to determine direction to adjust input.
32111         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32112         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32113         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32114         Likewise.
32115         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32116         Likewise.
32117         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32118         Likewise.
32119         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32120         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32121         Likewise.
32122         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32123         Likewise.
32124         * math/libm-test.inc (nexttoward_test): Add more tests.
32126 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32128         [BZ #14040]
32129         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32130         in version GLIBC_2.1, not GLIBC_2.0.
32131         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32132         Likewise.
32134 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32136         [BZ #13942]
32137         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32138         (1 - x) * (1 + x).
32139         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32140         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32141         * math/libm-test.inc (acos_test): Add more tests.
32142         (asin_test): Likewise.
32143         * sysdeps/i386/fpu/libm-test-ulps: Update.
32144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32146         [BZ #14034]
32147         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32148         of square root.
32149         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32150         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32151         * math/libm-test.inc (acos_test_tonearest): New function.
32152         (acos_test_towardzero): Likewise.
32153         (acos_test_downward): Likewise.
32154         (acos_test_upward): Likewise.
32155         (asin_test_tonearest): Likewise.
32156         (asin_test_towardzero): Likewise.
32157         (asin_test_downward): Likewise.
32158         (asin_test_upward): Likewise.
32159         (main): Call the new functions.
32160         * sysdeps/i386/fpu/libm-test-ulps: Update.
32161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32163         [BZ #13884]
32164         [BZ #13924]
32165         * math/e_exp10.c: Include <float.h>.
32166         (__ieee754_exp10): Handle underflow here rather than multiplying
32167         large negative argument by M_LN10.
32168         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32169         of __ieee754_expf.
32170         * math/e_exp10l.c: Include <float.h>.
32171         (__ieee754_exp10l): Handle underflow here rather than multiplying
32172         large negative argument by M_LN10l.
32173         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32174         spurious overflow exception on underflow.
32176 2012-04-29  Marek Polacek  <polacek@redhat.com>
32178         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32179         (__fortify_function): New macro.
32180         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32181         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32182         __extern_always_inline.
32183         * libio/bits/stdio2.h: Likewise.
32184         * libio/bits/stdio.h: Likewise.
32185         * string/string.h: Likewise.
32186         * string/bits/string3.h: Likewise.
32187         * include/stdio.h: Likewise.
32188         * stdlib/bits/stdlib.h: Likewise.
32189         * stdlib/stdlib.h: Likewise.
32190         * rt/bits/mqueue2.h: Likewise.
32191         * rt/mqueue.h: Likewise.
32192         * posix/bits/unistd.h: Likewise.
32193         * posix/unistd.h: Likewise.
32194         * io/bits/poll2.h: Likewise.
32195         * io/bits/fcntl2.h: Likewise.
32196         * io/fcntl.h: Likewise.
32197         * io/sys/poll.h: Likewise.
32198         * misc/bits/syslog.h: Likewise.
32199         * misc/bits/syslog-ldbl.h: Likewise.
32200         * misc/sys/syslog.h: Likewise.
32201         * socket/bits/socket2.h: Likewise.
32202         * socket/sys/socket.h: Likewise.
32203         * debug/tst-chk1.c: Likewise.
32204         * wcsmbs/bits/wchar2.h: Likewise.
32205         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32206         * wcsmbs/wchar.h: Likewise.
32208 2012-04-29  Andreas Jaeger  <aj@suse.de>
32210         * Makerules (tests): Remove enable-check-abi protection.
32211         (check-abi-warn): Remove.
32212         (check-abi-%): Remove check-abi-warn usage.
32214         * configure.in: Remove check-abi configure option.
32215         * configure: Regenerated.
32216         * config.make.in (enable-check-abi): Remove.
32218 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32220         [BZ #14033]
32221         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32222         double functions to double *_finite functions.
32224         [BZ #13941]
32225         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32226         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32227         LDBL_MIN_EXP.
32228         * stdio-common/Makefile (tests): Add tst-sprintf3.
32229         * stdio-common/tst-sprintf3.c: New file.
32231         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32232         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32234 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32236         * conform/conformtest.pl: Remove duplicate typed-constant
32237         handling.
32239 2012-04-28  David S. Miller  <davem@davemloft.net>
32241         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32242         (check-abi-%): Remove AWK script prerequisite and explicit
32243         abilist directory.
32244         (check-abi): Rewrite to just diff the symlist with the abilist.
32245         (config-tls, config-abi-config): Delete, no longer used.
32246         (update-abi-%): Remove AWK script and explicit abilist directory.
32247         (update-abi): Rewrite to simply compare and conditionally copy the
32248         symlist and the sysdep abilist file.  Remove update-abi-config
32249         checks.
32250         * abilist/ld.abilist: Remove.
32251         * abilist/libBrokenLocale.abilist: Remove.
32252         * abilist/libanl.abilist: Remove.
32253         * abilist/libcrypt.abilist: Remove.
32254         * abilist/libdl.abilist: Remove.
32255         * abilist/librt.abilist: Remove.
32256         * abilist/libthread_db.abilist: Remove.
32257         * abilist/libutil.abilist: Remove.
32258         * scripts/extract-abilist.awk: Remove.
32259         * scripts/merge-abilist.awk: Remove.
32260         * sysdeps/generic/libcidn.abilist: New file.
32261         * sysdeps/generic/libnss_compat.abilist: New file.
32262         * sysdeps/generic/libnss_db.abilist: New file.
32263         * sysdeps/generic/libnss_dns.abilist: New file.
32264         * sysdeps/generic/libnss_files.abilist: New file.
32265         * sysdeps/generic/libnss_hesiod.abilist: New file.
32266         * sysdeps/generic/libnss_nis.abilist: New file.
32267         * sysdeps/generic/libnss_nisplus.abilist: New file.
32268         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32269         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32270         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32271         file.
32272         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32273         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32274         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32275         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32276         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32277         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32278         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32279         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32280         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32281         file.
32282         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32283         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32284         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32285         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32286         file.
32287         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32288         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32289         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32290         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32291         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32292         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32293         file.
32294         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32295         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32296         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32297         file.
32298         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32300         New file.
32301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32302         New file.
32303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32304         New file.
32305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32306         New file.
32307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32308         New file.
32309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32310         New file.
32311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32312         New file.
32313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32314         New file.
32315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32316         New file.
32317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32318         New file.
32319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32320         New file.
32321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32322         New file.
32323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32324         New file.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32326         file.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32328         New file.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32330         New file.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32332         file.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32334         New file.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32336         New file.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32338         file.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32340         New file.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32342         New file.
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32344         New file.
32345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32346         New file.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32348         New file.
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32350         New file.
32351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32353         file.
32354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32355         New file.
32356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32357         file.
32358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32359         file.
32360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32361         file.
32362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32363         file.
32364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32365         file.
32366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32367         New file.
32368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32369         file.
32370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32371         file.
32372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32373         New file.
32374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32375         file.
32376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32378         file.
32379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32380         New file.
32381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32382         file.
32383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32384         file.
32385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32386         file.
32387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32388         file.
32389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32390         file.
32391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32392         New file.
32393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32394         file.
32395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32396         file.
32397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32398         New file.
32399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32400         file.
32401         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32402         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32403         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32404         file.
32405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32406         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32407         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32408         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32409         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32411         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32412         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32413         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32414         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32417         file.
32418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32419         New file.
32420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32421         file.
32422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32423         file.
32424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32425         file.
32426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32427         file.
32428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32429         file.
32430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32431         New file.
32432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32433         New file.
32434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32435         file.
32436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32437         New file.
32438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32439         file.
32440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32442         file.
32443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32444         New file.
32445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32446         file.
32447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32448         file.
32449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32450         file.
32451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32452         file.
32453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32454         file.
32455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32456         New file.
32457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32458         New file.
32459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32460         file.
32461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32462         New file.
32463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32464         file.
32466 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32468         * conform/conformtest.pl: Fix typo in handling typed-constant from
32469         allow-header.
32471 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32473         * README: Cut down references to pre-2.6 Linux kernels and
32474         Linuxthreads.  Update lists of configurations in libc and ports
32475         and sort alphabetically.  Say "or newer" with Linux kernel version
32476         requirements.
32478         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32480 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32482         [BZ #887]
32483         * math/libm-test.inc (logb_test_downward): New test to expose
32484         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32485         rounding mode.
32487 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32489         [BZ #14027]
32490         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32491         to be done.
32492         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32493         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32495 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32497         * sysdeps/unix/i386/brk.S: Remove file.
32498         * sysdeps/unix/i386/dl-brk.S: Likewise.
32499         * sysdeps/unix/i386/pipe.S: Likewise.
32500         * sysdeps/unix/i386/sigreturn.S: Likewise.
32501         * sysdeps/unix/i386/syscall.S: Likewise.
32502         * sysdeps/unix/i386/vfork.S: Likewise.
32503         * sysdeps/unix/i386/wait.S: Likewise.
32505         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32506         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32508         * configure.in (arm*-none*): Do not allow without
32509         --enable-hacker-mode.
32510         (netbsd*): Remove case setting base_os.
32511         (386bsd*): Likewise.
32512         (freebsd*): Likewise.
32513         (bsdi*): Likewise.
32514         (osf*): Likewise.
32515         (sunos*): Likewise.
32516         (ultrix*): Likewise.
32517         (newsos*): Likewise.
32518         (dynix*): Likewise.
32519         (*bsd*): Likewise.
32520         (sysv*): Likewise.
32521         (isc*): Likewise.
32522         (esix*): Likewise.
32523         (sco*): Likewise.
32524         (minix*): Likewise.
32525         (irix4*): Likewise.
32526         (irix6*): Likewise.
32527         (solaris[2-9]*): Likewise.
32528         (none): Likewise.
32529         * configure: Regenerated.
32531 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32533         [BZ #11521]
32534         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32535         overflow or cancellation in calculating denominator.
32536         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32537         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32538         down expression to avoid unexpected rounding in newer GCCs.
32539         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32541 2012-04-26  David S. Miller  <davem@davemloft.net>
32543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32544         long-double compat symbols.
32545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32559 2012-04-25  David S. Miller  <davem@davemloft.net>
32561         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32562         HWCAP_* values only after the memory barriers have been defined.
32563         (atomic_full_barrier): Define.
32564         (atomic_read_barrier): Define.
32565         (atomic_write_barrier): Define.
32567 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32569         * shlib-versions: Add libgcc_s version information.
32570         * sysdeps/generic/libgcc_s.h: Remove.
32571         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32572         libgcc_s.h.
32573         * sysdeps/gnu/unwind-resume.c: Likewise.
32574         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32576 2012-04-25  David S. Miller  <davem@davemloft.net>
32578         * sysdeps/unix/sparc/brk.S: Delete.
32579         * sysdeps/unix/sparc/dl-brk.S: Delete.
32580         * sysdeps/unix/sparc/pipe.S: Delete.
32581         * sysdeps/unix/sparc/sysdep.S: Delete.
32582         * sysdeps/unix/sparc/sysdep.h: Delete.
32583         * sysdeps/unix/sparc/vfork.S: Delete.
32584         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32585         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32587         (ret_ERRVAL, r0, r1, MOVE): Define.
32588         (JUMPTARGET): Remove.
32589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32590         sysdeps/unix/sparc/sysdep.h
32591         (ENTRY, END): Remove.
32592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32594 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32596         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32597         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32598         -DIS_IN_build.
32600         * timezone/README: Update upstream location and email address for
32601         tzcode and tzdata.
32602         * timezone/zdump.c: Update from tzcode 2012b.
32603         * timezone/zic.c: Likewise.
32605         * configure.in (libc_cv_as_needed): Remove test.
32606         * configure: Regenerated.
32607         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32608         conditional definition.
32609         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32610         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32611         * config.make.in (have-as-needed): Remove variable.
32613 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32614             Paul Pluzhnikov  <ppluzhnikov@google.com>
32616         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32617         strings correctly.
32619 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32621         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32622         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32623         * sysdeps/sh/strlen.S: Likewise.
32625 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32627         * sysdeps/unix/fork.S: Remove file.
32628         * sysdeps/unix/i386/fork.S: Likewise.
32629         * sysdeps/unix/sparc/fork.S: Likewise.
32631         * sysdeps/unix/system.c: Remove file.
32632         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32634         * sysdeps/unix/getegid.S: Remove file.
32635         * sysdeps/unix/geteuid.S: Likewise.
32637 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32639         * scripts/check-localplt.awk: New file.
32640         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32641         of diff.
32642         * scripts/data/localplt-generic.data: Add a comment.
32644         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32645         NODE when __dir_mkfile failed.
32646         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32647         Reported by Ludovic Courtès <ludo@gnu.org>.
32649 2012-04-24  Andreas Jaeger  <aj@suse.de>
32651         * Makerules (common-clean): Also remove gen-as-const-headers
32652         files.
32654 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32656         * Makerules (native-compile): Do not change working directory for
32657         build.  Use $(OUTPUT_OPTION) in command.
32658         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32660 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32662         [BZ #13886]
32663         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32664         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32665         * math/libm-test.inc (floor_test): Add more tests.
32666         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32668 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32670         * sysdeps/unix/getdents.c: Remove file.
32671         * sysdeps/unix/sysv/getdents.c: Likewise.
32672         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32674         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32675         sysdeps/unix/mman/syscalls.list.
32676         (mmap): Likewise.
32677         (mprotect): Likewise.
32678         (msync): Likewise.
32679         (munmap): Likewise.
32680         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32681         * sysdeps/unix/mman/syscalls.list: Remove.
32682         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32684         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32685         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32686         * configure: Regenerated.
32687         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32688         $(libgcc_s_suffix).
32689         * config.make.in (libgcc_s_suffix): Remove variable.
32691 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32693         * sysdeps/unix/sysv/gethostname.c: Move to ...
32694         * sysdeps/posix/gethostname.c: ... here.
32696         * sysdeps/unix/execve.S: Remove file.
32698         * sysdeps/unix/_exit.S: Remove file.
32700 2012-04-23  Andreas Jaeger  <aj@suse.de>
32702         [BZ #13739]
32703         * manual/Makefile: Remove make dist support, there's no
32704         need for a stand-alone documentation tar ball.
32705         (TEXI2DVI): Define always, it's not in Makeconfig.
32706         (dist): Removed.
32707         (tar-it): Removed.
32708         (edition): Removed.
32709         (glibc-doc-$(edition).tar): Removed
32710         (%.Z): Removed.
32711         (%.gz): Removed.
32712         (%.uu): Removed.
32713         (ETAGS): Remove, it's in Makeconfig.
32714         (move-if-change): Remove, it's in Makeconfig.
32716 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32718         [BZ #13970]
32719         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32720         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32721         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32722         (strtod_l, strtof_l, strtold_l): Remove __wur.
32723         It is not necessarily an error to ignore strtol's return value.
32724         One can reliably look at the stored endptr to decide whether
32725         the number had valid syntax.
32727 2012-04-21  Andreas Jaeger  <aj@suse.de>
32729         [BZ #13739]
32730         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32732 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32734         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32735         * sysdeps/unix/sysv/Versions: Remove file.
32737 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32739         [BZ #13927]
32740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32742 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32744         [BZ #7064]
32745         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32746         version from __vm86.
32748 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32750         * sysdeps/unix/common/lxstat.c: Remove file.
32751         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32753         * sysdeps/unix/sysv/Makefile: Remove file.
32755         * sysdeps/unix/sysv/direct.h: Remove file.
32757         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32758         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32759         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32760         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32761         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32762         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32763         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32765         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32767         * sysdeps/unix/xmknod.c: Remove file.
32768         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32770         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32772         * sysdeps/unix/sysv/i386/time.S: Remove file.
32774         * sysdeps/unix/fxstat.c: Remove file.
32775         * sysdeps/unix/xstat.c: Likewise.
32776         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32778         * sysdeps/unix/sysv/sigaction.c: Remove file.
32780         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32781         (sysdep_headers): Remove variable.
32782         [termio.h not in sysdep_headers] (generated): Likewise.
32783         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32784         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32785         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32786         * sysdeps/unix/sysv/tcflow.c: Likewise.
32787         * sysdeps/unix/sysv/tcflush.c: Likewise.
32788         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32789         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32790         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32791         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32792         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32794         * sysdeps/unix/siglist.c: Remove file.
32796         * sysdeps/unix/getppid.S: Remove file.
32798         * sysdeps/unix/mkdir.c: Remove file.
32799         * sysdeps/unix/rmdir.c: Likewise.
32801 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32803         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32804         ERR_MAX value.
32805         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32806         errlist-compat value.
32808 2012-04-18  David S. Miller  <davem@davemloft.net>
32810         * sysdeps/generic/memcopy.h (reg_char): Delete.
32811         * debug/strcat_chk.c: Use char, not reg_char.
32812         * debug/strcpy_chk.c: Likewise.
32813         * debug/strncat_chk.c: Likewise.
32814         * debug/strncpy_chk.c: Likewise.
32815         * string/memchr.c: Likewise.
32816         * string/memrchr.c: Likewise.
32817         * string/rawmemchr.c: Likewise.
32818         * string/strcat.c: Likewise.
32819         * string/strchr.c: Likewise.
32820         * string/strchrnul.c: Likewise.
32821         * string/strcmp.c: Likewise.
32822         * string/strcpy.c: Likewise.
32823         * string/strncat.c: Likewise.
32824         * string/strncmp.c: Likewise.
32825         * string/strncpy.c: Likewise.
32827 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32829         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32830         __builtin_memcopy is called when src and dest ranges are known to not
32831         overlap.
32833 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32835         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32836         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32837         fwd_align_merge macro call.
32838         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32839         bwd_align_merge macro call.
32840         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32842 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32844         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32845         bwd_align_merge macros.
32846         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32847         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32848         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32850 2012-04-18  David S. Miller  <davem@davemloft.net>
32852         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32854 2012-04-18  Andreas Jaeger  <aj@suse.de>
32856         [BZ# 6794]
32857         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32858         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32859         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32861         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32862         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32863         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32865         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32866         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32867         Adjust for changed ldbl-128 files.
32869         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32870         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32871         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32873 2012-04-17  David S. Miller  <davem@davemloft.net>
32875         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32877 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32879         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32880         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32881         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32882         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32883         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32884         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32886 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32888         [BZ #6794]
32889         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32890         * math/libm-test.inc: Add ilogb errno and exception tests.
32891         * math/w_ilogb.c: New file: ilogb wrapper.
32892         * math/w_ilogbf.c: New file: ilogbf wrapper.
32893         * math/w_ilogbl.c: New file: ilogbl wrapper.
32894         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32895         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32896         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32897         exception being thrown with 0.0 as argument.
32898         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32899         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32900         exception being thrown with 0.0 as argument.
32901         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32902         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32903         exception being thrown with 0.0 as argument.
32904         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32905         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32906         exception being thrown with 0.0 as argument.
32907         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32908         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32909         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32910         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32911         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32912         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32913         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32914         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32915         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32917 2012-04-17  Petr Baudis  <pasky@ucw.cz>
32919         * include/sys/uio.h: Change __vector to __iovec to avoid clash
32920         with altivec.
32922 2012-04-16  Marek Polacek  <polacek@redhat.com>
32924         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32926 2012-04-16  Marek Polacek  <polacek@redhat.com>
32928         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32929         operands of fdivp instruction.
32931 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32933         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32934         * elf/tst-auditmod3b.c: Likewise.
32935         * elf/tst-auditmod4b.c: Likewise.
32936         * elf/tst-auditmod5b.c: Likewise.
32937         * elf/tst-auditmod6b.c: Likewise.
32938         * elf/tst-auditmod6c.c: Likewise.
32939         * elf/tst-auditmod7b.c: Likewise.
32940         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32941         * sysdeps/x86_64/preconfigure.in: Likewise.
32942         * sysdeps/x86_64/preconfigure: Regenerated.
32944 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32946         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32947         __ILP32__.
32949 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
32951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32952         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32954 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
32956         [BZ #13973]
32957         * locale/iso-639.def: Fix gl language name. Spotted by
32958         Yaron Shahrabani.
32960 2012-04-12  Roland McGrath  <roland@hack.frob.com>
32962         [BZ #2074]
32963         * libio/libio.h (__io_write_fn): Update comment.
32965 2012-04-12  Petr Baudis  <pasky@ucw.cz>
32967         [BZ #2074]
32968         * stdio.texi (Hook Functions): The user provided writer function
32969         is not allowed to return -1.
32971 2012-04-11  David S. Miller  <davem@davemloft.net>
32973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32975 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
32977         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32978         Add a leading slash to rtkaio.
32980 2012-04-11  Jim Meyering  <meyering@redhat.com>
32982         [BZ #11959]
32983         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32984         It is not necessarily an error to ignore fwrite's return
32985         value.  One can reliably use ferror to test for errors after
32986         the fact.
32988 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32990         * bits/types.h (__snseconds_t): New type.
32991         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32993         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32994         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32995         (__SNSECONDS_T_TYPE): Likewise.
32996         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32997         (__SNSECONDS_T_TYPE): Likewise.
32998         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32999         (__SNSECONDS_T_TYPE): Likewise.
33001 2012-04-10  Andreas Jaeger  <aj@suse.de>
33003         [BZ #2636]
33004         * manual/time.texi (Processor Time): Return type of times is
33005         elapsed real time since an arbitrary point in the past.
33006         (CPU Time): Move CLK_TCK from here...
33007         (Processor Time): ...to here.  Correct description.
33008         * manual/conf.texi (Constants for Sysconf): Correct description of
33009         _SC_CLK_TCK.
33011 2012-04-10  David S. Miller  <davem@davemloft.net>
33013         [BZ #13967]
33014         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33015         where the is a gap between DT_REL(A) and DT_JMPREL.
33017 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33019         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33020         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33021         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33023 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33025         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33026         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33027         (dl_main): Handle --inhibit-cache.
33028         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33029         _dl_inhibit_cache.
33030         * elf/dl-load.c (_dl_map_object): Use it.
33031         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33033 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33035         [BZ #13872]
33036         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33037         (__ieee754_powl): Saturate large exponents rather than testing for
33038         overflow of y*log2(x).
33039         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33040         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33041         exceptions.
33043         [BZ #11521]
33044         * math/s_ctan.c: Include <float.h>.
33045         (__ctan): Avoid internal overflow or cancellation in calculating
33046         denominator.
33047         * math/s_ctanf.c: Likewise.
33048         * math/s_ctanl.c: Likewise.
33049         * math/s_ctanh.c: Likewise.
33050         * math/s_ctanhf.c: Likewise.
33051         * math/s_ctanhl.c: Likewise.
33052         * math/libm-test.inc (ctan_test): Add more tests.
33053         (ctanh_test): Likewise.
33054         * sysdeps/i386/fpu/libm-test-ulps: Update.
33055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33057 2012-04-09  Andreas Jaeger  <aj@suse.de>
33059         [BZ #6894]
33060         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33061         is an optional BSD extension.
33063         [BZ #10254]
33064         * manual/stdio.texi (Opening Streams): Document additional fopen
33065         parameters.
33067 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33069         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33070         %eax without telling the compiler.
33072 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33074         [BZ # 13963]
33075         * manual/install.texi: Use sourceware.org.
33077 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33079         [BZ #13873]
33080         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33081         (__ieee754_pow): Generate overflow and underflow using huge*huge
33082         and tiny*tiny rather than just returning constant infinity or zero
33083         for large exponents.
33084         * math/libm-test.inc (pow_test): Require overflow exceptions for
33085         applicable cases of large exponents.
33087         [BZ #706]
33088         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33089         (__ieee754_pow): Use iterative multiplication algorithm only for
33090         integer exponents with absolute value below 1024.  Check for odd
33091         integer exponents when using algorithm for real exponents.
33092         * math/libm-test.inc (pow_test): Add more tests.
33093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33095 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33097         [BZ #13705]
33098         * math/libm-test.inc (exp_test): Do not allow overflow exception
33099         on underflow test.
33101 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33103         [BZ #13705]
33104         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33105         instead of __kernel_standard_f.
33107 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33109         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33110         * sysdeps/x86_64/memset_chk.S: Likewise.
33112 2012-04-08  Andreas Jaeger  <aj@suse.de>
33114         [BZ #10153]
33115         * manual/startup.texi (Environment Access): Describe return value
33116         for putenv and setenv.
33118         [BZ #6895]
33119         * manual/filesys.texi (Directory Entries): Add description for
33120         DT_LNK.
33122         [BZ #6890]
33123         * manual/filesys.texi (Directory Entries): Clarify that it's file
33124         system not operating system in the description of DT_UNKNOWN.
33126         [BZ #6578]
33127         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33129 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33131         [BZ #6649]
33132         * manual/llio.texi (Opening and Closing Files): Add cross
33133         reference to explain mode argument.
33135 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33137         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33138         * sysdeps/x86_64/memset_chk.S: Likewise.
33140 2012-04-07  David S. Miller  <davem@davemloft.net>
33142         * elf/elf.h (R_SPARC_WDISP10): Define.
33143         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33144         R_SPARC_SIZE32.
33145         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33146         R_SPARC_SIZE64 and R_SPARC_H34.
33148 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33151         conditions and remove no longer applicable assertion.
33153 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33155         * bits/byteswap.h: Include <features.h>.
33156         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33157         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33159 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33161         * bits/byteswap.h (__bswap_16): Removed.
33162         Include <bits/byteswap-16.h> to get __bswap_16.
33163         * sysdeps/i386/bits/byteswap.h: Likewise.
33164         * sysdeps/s390/bits/byteswap.h: Likewise.
33165         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33166         * bits/byteswap-16.h: New file.
33167         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33168         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33169         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33170         * string/Makefile (headers): Add bits/byteswap-16.h.
33172 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33174         [BZ #13895]
33175         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33176         extra indirection.
33177         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33178         * nss/tst-nss-static.c: New.
33180 2012-04-06  Robert Millan  <rmh@gnu.org>
33182         [BZ #6486]
33183         * manual/llio.texi (File Position Primitive): lseek
33184         refers to WHENCE when it really means OFFSET.
33186 2012-04-06  Andreas Jaeger  <aj@suse.de>
33188         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33189         strncmp declarations.
33191         * abilist/libc.abilist: Add __poll and __ppoll.
33193 2012-04-05  David S. Miller  <davem@davemloft.net>
33195         * scripts/check-local-headers.sh: Accept a host triplet in the
33196         path matched by the exclude regexp.
33198         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33199         definition.
33200         * sysdeps/powerpc/powerpc32/dl-machine.h
33201         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33202         * sysdeps/s390/s390-32/dl-machine.h
33203         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33204         * sysdeps/sparc/sparc32/dl-machine.h
33205         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33206         * sysdeps/sparc/sparc64/dl-machine.h
33207         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33209         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33210         lazy binding.
33211         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33212         undefined symbol errors.
33214         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33215         DT_NEEDED entries.
33217 2012-04-05  Michael Matz  <matz@suse.de>
33219         [BZ #13592]
33220         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33222 2012-04-05  Andreas Jaeger  <aj@suse.de>
33224         [BZ #13908]
33225         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33226         comment.
33228 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33230         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33231         which ROUND is no valid rounding mode.
33233 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33235         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33236         read again.
33237         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33239 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33241         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33242         an exception using FPU order intentionally.
33244 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33246         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33247         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33248         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33249         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33251 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33253         [BZ #12340]
33254         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33255         EINVAL when BUFLEN is too smal.
33257 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33259         [BZ #13553]
33260         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33261         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33263 2012-04-03  Andreas Jaeger  <aj@suse.de>
33265         [BZ #13938]
33266         * manual/setjmp.texi (System V contexts): Fix sentence.
33268         [BZ #13926]
33269         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33270         New macro for this case.
33271         [!__GNUC__] (__bswap_64): New inline function for this case.
33272         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33273         * bits/byteswap.h: Likewise.
33274         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33275         ull, guard with __GLIBC_HAVE_LONG_LONG.
33277         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33278         __GLIBC_HAVE_LONG_LONG.
33280         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33281         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33283 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33285         [BZ #13691]
33286         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33287         inptr and inend, rather than using last_ch.
33289 2012-04-02  David S. Miller  <davem@davemloft.net>
33291         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33292         * stdio-common/printf-parse.h (read_int): Change return type to
33293         'int', return -1 on INT_MAX overflow.
33294         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33295         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33296         overflows INT_MAX.  Check for overflow of in-format-string precision
33297         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33298         SIZE_MAX not INT_MAX for integer overflow test.
33299         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33300         skip the construct in the format string but do not record anything.
33301         * stdio-common/bug22.c: Adjust to test both width/prevision
33302         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33303         explicitly for proper errno values.
33305 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33307         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33308         CHAR_MAX.
33309         * string/test-strcmp.c [! WIDE]: Likewise.
33310         * time/tst-mktime2.c: Likewise for INT_MAX.
33311         * string/test-string.h: #include <sys/param.h> for MIN.
33313         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33314         * sysdeps/i386/init-first.c (init): Likewise.
33315         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33316         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33317         * sysdeps/sh/init-first.c (init): Likewise.
33319 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33321         * po/ru.po: Update from translation team.
33322         * po/vi.po: Likewise.
33324 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * resolv/nss_dns/dns-host.c: Merge copyright years.
33328 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33331         Optimize memcpy with prefetch if
33332         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33333         src, dst pointers have unequal 16 byte alignments.
33335 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33337         [BZ #13928]
33338         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33339         from a CNAME entry and return the minimum ttl for the query.
33340         (gaih_getanswer_slice): Likewise.
33342 2012-03-30  Jeff Law  <law@redhat.com>
33344         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33345         due to long keys.
33346         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33347         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33349         * resolv/nss_dns/dns-host.c: Update copyright year.
33351 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33353         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33354         requests to save a system call.  Fix check that all bytes are sent.
33356         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33357         comments for sendmmsg.
33359 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33361         [BZ #13691]
33362         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33363         with only 1 character between 0x0041 and 0x01b0.
33364         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33365         * wcsmbs/tst-mbsnrtowcs.c: New file.
33367 2012-03-29  David S. Miller  <davem@davemloft.net>
33369         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33370         small copies by hand.
33372 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33374         [BZ #13761]
33375         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33376         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33377         group memberships.
33379 2012-03-28  David S. Miller  <davem@davemloft.net>
33381         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33382         that branches into memcpy.
33383         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33385         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33386         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33388         bits.
33389         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33390         implementation too.
33391         * sysdeps/sparc/mempcpy.S: New file.
33393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33394         the IFUNC routine in the libc case.
33395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33397         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33398         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33399         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33400         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33401         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33402         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33403         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33404         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33406         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33407         loop to 256 bytes instead of 64 bytes and fix test signedness.
33409         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33410         * sysdeps/sparc/sparc32/Makefile: rather than here...
33411         * sysdeps/sparc/sparc64/Makefile: and here.
33413 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33415         * malloc/mallocbug.c: Avoid warnings about unused variables.
33417 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33419         [BZ #13760]
33420         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33421         in the right place. Discard and retry query if response is
33422         larger than input buffer size.
33424 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33426         [BZ #369]
33427         [BZ #2678]
33428         [BZ #3866]
33429         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33430         x for large integer exponent.
33431         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33432         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33433         sign of result as needed afterwards.
33434         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33435         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33436         result for underflowing pow the same as for overflow.
33437         (__kernel_standard_l): Handle powl overflow and underflow here
33438         rather than calling __kernel_standard.
33439         * math/libm-test.inc (pow_test): Add more tests.
33441         [BZ #3868]
33442         [BZ #13879]
33443         [BZ #13910]
33444         [BZ #13911]
33445         [BZ #13912]
33446         [BZ #13913]
33447         [BZ #13915]
33448         [BZ #13916]
33449         [BZ #13917]
33450         [BZ #13918]
33451         [BZ #13919]
33452         [BZ #13920]
33453         [BZ #13921]
33454         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33455         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33456         (__kernel_standard_l): New function.
33457         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33458         __kernel_standard.
33459         * math/w_acosl.c (__acosl): Likewise.
33460         * math/w_asinl.c (__asinl): Likewise.
33461         * math/w_atan2l.c (__atan2l): Likewise.
33462         * math/w_atanhl.c (__atanhl): Likewise.
33463         * math/w_coshl.c (__coshl): Likewise.
33464         * math/w_exp10l.c (__exp10l): Likewise.
33465         * math/w_exp2l.c (__exp2l): Likewise.
33466         * math/w_fmodl.c (__fmodl): Likewise.
33467         * math/w_hypotl.c (__hypotl): Likewise.
33468         * math/w_j0l.c (__j0l, __y0l): Likewise.
33469         * math/w_j1l.c (__j1l, __y1l): Likewise.
33470         * math/w_jnl.c (__jnl, __ynl): Likewise.
33471         * math/w_lgammal.c (__lgammal): Likewise.
33472         * math/w_log10l.c (__log10l): Likewise.
33473         * math/w_log2l.c (__log2l): Likewise.
33474         * math/w_logl.c (__logl): Likewise.
33475         * math/w_powl.c (__powl): Likewise.
33476         * math/w_remainderl.c (__remainderl): Likewise.
33477         * math/w_scalbl.c (sysv_scalbl): Likewise.
33478         * math/w_sinhl.c (__sinhl): Likewise.
33479         * math/w_sqrtl.c (__sqrtl): Likewise.
33480         * math/w_tgammal.c (__tgammal): Likewise.
33481         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33482         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33483         * math/libm-test.inc (acos_test): Add more tests.
33484         (acosh_test): Likewise.
33485         (asin_test): Likewise.
33486         (atanh_test): Likewise.
33487         (exp_test): Likewise.
33488         (exp10_test): Likewise.
33489         (exp2_test): Likewise.
33490         (expm1_test): Likewise.
33491         (lgamma_test): Likewise.
33492         (log_test): Likewise.
33493         (log10_test): Likewise.
33494         (log1p_test): Likewise.
33495         (log2_test): Likewise.
33496         (pow_test): Do not allow some spurious overflow exceptions.
33497         (sqrt_test): Add more tests.
33498         (tgamma_test): Likewise.
33499         (y0_test): Likewise.
33500         (y1_test): Likewise.
33501         (yn_test): Likewise.
33503 2012-03-27  Anton Blanchard  <anton@samba.org>
33505         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33506         MAP_HUGETLB.
33507         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33508         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33509         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33511 2012-03-27  David S. Miller  <davem@davemloft.net>
33513         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33515         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33516         have-as-vis3 check.
33518 2012-03-27  Andreas Jaeger  <aj@suse.de>
33520         * sysdeps/x86_64/elf/configure.in: Moved to ...
33521         * sysdeps/x86_64/configure.in: ... here.
33522         * sysdeps/x86_64/elf/start.S: Moved to ...
33523         * sysdeps/x86_64/start.S: ... here.
33524         * sysdeps/x86_64/elf/configure: Delete.
33526         * sysdeps/x86_64/configure.in: Merge contents from
33527         sysdeps/i386/configure.in (without i686 check).
33529         * sysdeps/i386/elf/Versions: Merge into ...
33530         * sysdeps/i386/Versions: ... this.
33531         * sysdeps/i386/elf/Versions: Delete file.
33532         * sysdeps/i386/elf/start.S: Moved to ...
33533         * sysdeps/i386/start.S: ...here.
33534         * sysdeps/i386/elf/configure.in: Merge into...
33535         * sysdeps/i386/configure.in: ...here.
33536         * sysdeps/i386/elf/configure.in: Delete file.
33537         * sysdeps/i386/elf/configure: Delete file.
33539         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33540         * debug/backtracesyms.c: ... here.
33541         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33542         * debug/backtracesymsfd.c: ... here.
33543         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33544         * sysdeps/generic/ifunc-sel.h: ... here.
33546         * sysdeps/unix/i386/start.c: Delete file.
33547         * sysdeps/unix/sparc/start.c: Delete file.
33548         * sysdeps/unix/start.c: Delete file.
33550         * sysdeps/sh/elf/configure.in: Moved to ...
33551         * sysdeps/sh/configure.in: ... here.
33552         * sysdeps/sh/elf/start.S: Moved to ...
33553         * sysdeps/sh/start.S: ... here.
33554         * sysdeps/sh/elf/configure: Delete file.
33556         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33557         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33558         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33559         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33560         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33561         * sysdeps/powerpc/powerpc64/start.S: here.
33562         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33563         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33564         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33565         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33566         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33568         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33569         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33570         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33571         * sysdeps/powerpc/powerpc32/start.S: ... here.
33572         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33573         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33574         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33576         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33577         * sysdeps/powerpc/ifunc-sel.h: ... here.
33578         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33579         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33581         * sysdeps/sparc/elf/configure.in: Moved to ...
33582         * sysdeps/sparc/configure.in: ... here.
33583         * sysdeps/sparc/elf/configure: Delete file.
33584         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33585         * sysdeps/sparc/sparc32/start.S: ... here.
33586         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33587         * sysdeps/sparc/sparc64/start.S: ... here.
33588         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33589         * sysdeps/sparc/sparc32/Makefile: ... this.
33590         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33591         * sysdeps/sparc/sparc64/Makefile: ... this.
33593         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33594         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33595         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33596         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33597         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33598         * sysdeps/s390/s390-32/setjmp.S: ... here.
33599         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33600         * sysdeps/s390/s390-32/configure.in: ... here.
33601         * sysdeps/s390/s390-32/elf/configure: Delete file.
33602         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33603         * sysdeps/s390/s390-32/start.S: ... here.
33605         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33606         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33607         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33608         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33609         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33610         * sysdeps/s390/s390-64/setjmp.S: ... here.
33611         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33612         * sysdeps/s390/s390-64/configure.in: ... here
33613         * sysdeps/s390/s390-64/elf/configure: Delete file.
33614         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33615         * sysdeps/s390/s390-64/start.S: ... here.
33616         * sysdeps/s390/s390-64/elf/configure: Delete.
33618         * configure.in: Remove support for elf directories in sysdeps.
33620         * configure: Regenerated.
33621         * sysdeps/i386/configure: Regenerated.
33622         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33623         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33624         * sysdeps/s390/s390-32/configure: Regenerated.
33625         * sysdeps/s390/s390-64/configure: Regenerated.
33626         * sysdeps/sh/configure: Regenerated.
33627         * sysdeps/sparc/configure: Regenerated.
33628         * sysdeps/x86_64/configure: Regenerated.
33630 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33634         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33635         denormal result into account.
33637 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33639         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33640         Reported by Allan McRae <allan@archlinux.org>.
33642 2012-03-23  Jeff Law  <law@redhat.com>
33644         * nss/getnssent.c (__nss_getent): Fix typo.
33646 2012-03-23  David S. Miller  <davem@davemloft.net>
33648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33650 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33652         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33653         to pad to uint64_t for each field.
33654         (dl_tls_index): Replace unsigned long with uint64_t.
33656 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33657         Paul Pluzhnikov  <ppluzhnikov@google.com>
33659         [BZ #6528]
33660         * grp/Makefile (otherlibs): Don't set it.
33661         * inet/Makefile (otherlibs): Likewise.
33662         * login/Makefile (otherlibs): Likewise.
33663         * nscd/Makefile (otherlibs): Likewise.
33664         * posix/Makefile (otherlibs): Likewise.
33665         * pwd/Makefile (otherlibs): Likewise.
33666         * rt/Makefile (otherlibs): Likewise.
33667         * sunrpc/Makefile (otherlibs): Likewise.
33668         * nss/Makefile (otherlibs): Likewise.
33669         Add libnss_files to routines and static-only-routines.
33670         ($(objpfx)getent): Remove rule.
33671         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33672         static-only-routines.
33674 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33676         [BZ #13892]
33677         * math/s_cexp.c: Include <float.h>.
33678         (__cexp): Handle exp result overflowing not necessarily
33679         overflowing both real and imaginary parts of result.
33680         * math/s_cexpf.c: Likewise.
33681         * math/s_cexpl.c: Likewise.
33682         * math/libm-test.inc (cexp_test): Add more tests.
33683         * sysdeps/i386/fpu/libm-test-ulps: Update.
33684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33688         * include/link.h (ELFW): New macro.
33689         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33690         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33692 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33694         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33695         with uint64_t.
33697 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33699         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33700         declaration.
33701         (struct La_x32_retval): Likewise.
33703 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33705         * sysdeps/x86_64/preconfigure.in: New file.
33706         * sysdeps/x86_64/preconfigure: New generated file.
33708 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33710         [BZ #13824]
33711         * math/e_exp2l.c: Include <float.h>.
33712         (__ieee754_exp2l): Handle overflow and underflow cases
33713         separately.  Only pass fractional part of argument to
33714         __ieee754_expl.
33715         * math/libm-test.inc (exp2_test): Add more tests.
33717         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33718         negating x to take absolute value.
33719         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33720         Likewise.
33721         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33722         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33723         Likewise.
33724         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33725         computing low part if x was negated.
33726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33728 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33730         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33731         la_x32_gnu_pltexit.
33732         (pltexit): Cast int_retval to ptrdiff_t.
33733         * elf/tst-auditmod3b.c: Likewise.
33734         * elf/tst-auditmod4b.c: Likewise.
33735         * elf/tst-auditmod5b.c: Likewise.
33736         * elf/tst-auditmod6b.c: Likewise.
33737         * elf/tst-auditmod6c.c: Likewise.
33738         * elf/tst-auditmod7b.c: Likewise.
33740         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33741         and x32_gnu_pltexit.
33743         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33744         __ELF_NATIVE_CLASS.
33745         (La_x32_regs): New macro.
33746         (La_x32_retval): Likewise.
33747         (la_x32_gnu_pltenter): New function prototype.
33748         (la_x32_gnu_pltexit): Likewise.
33750 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33752         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33753         exponent.
33755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33757         * configure.in (libc_cv_cc_nofma): Check for option to disable
33758         generation of FMA instructions.
33759         * configure: Regenerate.
33760         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33761         * sysdeps/ieee754/dbl-64/Makefile: New file.
33762         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33763         Remove brandred-fma4.
33764         (CFLAGS-brandred-fma4.c): Remove.
33765         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33766         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33767         define.
33768         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33769         define.
33771 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33773         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33774         LLONG_MAX != LONG_MAX.
33775         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33776         (_fitoa_word): Likewise.
33777         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33778         LLONG_MAX != LONG_MAX.
33779         * stdio-common/_itowa.h: Include <_itoa.h>.
33780         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33781         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33782         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33783         only if not defined.
33784         (_ITOA_WORD_TYPE): Likewise.
33785         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33786         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33788 2012-03-21  David S. Miller  <davem@davemloft.net>
33790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33792 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33794         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33795         of x86_64 when setting libc_cv_slibdir, libdir and
33796         libc_cv_localedir.
33797         * sysdeps/unix/sysv/linux/configure: Regenerated.
33799 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33801         * manual/lang.texi (Old Varargs): Remove section.
33802         (How Variadic): Update menu.
33803         (va_start): Do not mention varargs.h.
33805 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33806             Joseph Myers  <joseph@codesourcery.com>
33808         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33809         link test.
33810         * configure: Regenerated.
33812 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33814         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33815         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33816         conformtest.pl
33818 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33820         * NOTES: Remove.
33821         * Makefile (files-for-dist): Remove NOTES.
33822         (NOTES): Remove rule.
33823         * README: Don't refer to NOTES.
33824         * manual/creature.texi: Don't include macros.texi.
33825         * manual/intro.texi (creature.texi): Remove comment referring to
33826         NOTES.
33828         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33829         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33830         * configure: Regenerated.
33831         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33832         LIBC_TRY_CC_OPTION.
33833         (libc_cv_as_i686): Likewise.
33834         (libc_cv_cc_avx): Likewise.
33835         (libc_cv_cc_sse2avx): Likewise.
33836         (libc_cv_cc_fma4): Likewise.
33837         (libc_cv_cc_novzeroupper): Likewise.
33838         * sysdeps/i386/configure: Regenerated.
33840         [BZ #13883]
33841         * sysdeps/i386/fpu/s_cexp.S: Remove.
33842         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33843         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33844         * math/libm-test.inc (cexp_test): Add more tests.
33845         * sysdeps/i386/fpu/libm-test-ulps: Update.
33846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33848 2012-03-21  Allan McRae  <allan@archlinux.org>
33850         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33852 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33854         [BZ #13871]
33855         * math/w_exp2.c: Do not include <float.h>.
33856         (o_threshold, u_threshold): Remove.
33857         (__exp2): Calculate result before checking finiteness and calling
33858         __kernel_standard.
33859         * math/w_exp2f.c: Likewise.
33860         * math/w_exp2l.c: Likewise.
33861         * math/libm-test.inc (exp2_test): Require overflow exception for
33862         1e6 input.
33864         [BZ #3866]
33865         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33866         range of signed 64-bit integers before using fistpll.  Remove
33867         checks for whether integers fit in mantissa bits.
33868         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33869         the range of signed 32-bit integers before using fistpl.  Remove
33870         checks for whether integers fit in mantissa bits.
33871         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33872         (__ieee754_powl): Test for y outside the range of signed 64-bit
33873         integers before using fistpll.  Reduce 64-bit values to 63-bit
33874         ones as needed.
33875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33876         divide-by-zero is raised for zero to large negative powers.
33877         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33878         (__ieee754_powl): Test for y outside the range of signed 64-bit
33879         integers before using fistpll.  Reduce 64-bit values to 63-bit
33880         ones as needed.
33881         * math/libm-test.inc (pow_test): Add more tests.
33883 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33885         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33886         <stdio-common/_itoa.h>.
33887         * debug/segfault.c: Likewise.
33888         * elf/dl-cache.c: Likewise.
33889         * elf/dl-minimal.c: Likewise.
33890         * elf/dl-misc.c: Likewise.
33891         * elf/dl-sysdep.c: Likewise.
33892         * elf/dl-version.c: Likewise.
33893         * elf/rtld.c: Likewise.
33894         * hurd/hurdsock.c: Likewise.
33895         * hurd/lookup-retry.c: Likewise.
33896         * malloc/malloc.c: Likewise.
33897         * malloc/mtrace.c: Likewise.
33898         * nscd/nscd_getgr_r.c: Likewise.
33899         * nscd/nscd_getpw_r.c: Likewise.
33900         * nscd/nscd_getserv_r.c: Likewise.
33901         * posix/getopt_init.c: Likewise.
33902         * posix/wordexp.c: Likewise.
33903         * stdio-common/_itoa.c: Likewise.
33904         * stdio-common/printf_fphex.c: Likewise.
33905         * stdio-common/vfprintf.c: Likewise.
33906         * string/_strerror.c: Likewise.
33907         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33908         * sysdeps/i386/i686/hp-timing.h: Likewise.
33909         * sysdeps/mach/_strerror.c: Likewise.
33910         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33911         * sysdeps/mach/hurd/sethostid.c: Likewise.
33912         * sysdeps/mach/hurd/xmknodat.c: Likewise.
33913         * sysdeps/mach/xpg-strerror.c: Likewise.
33914         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33915         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33916         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33917         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33918         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33919         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33920         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33921         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33922         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33923         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33924         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33925         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33926         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33927         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33928         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33929         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33930         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33931         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33932         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33933         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33934         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33936         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33938         * stdio-common/_itoa.h: Moved to ...
33939         * sysdeps/generic/_itoa.h: Here.
33941         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33943         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33944         instead of "_itoa.h" and "_itowa.h".
33945         * stdio-common/vfprintf.: Likewise.
33947 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33949         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33950         <bits/wordsize.h>.
33951         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33952         (__signbit): Likwise.
33953         (llrintf): Likwise.
33954         (llrint): Likwise.
33956 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33958         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33959         __WORDSIZE != 64.
33961 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
33963         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33964         OVERFLOW_EXCEPTION_OK.
33965         * math/libm-test.inc ("Philosophy"): Update comment about
33966         exception testing.
33967         (OVERFLOW_EXCEPTION): Define.
33968         (OVERFLOW_EXCEPTION_OK): Likewise.
33969         (INVALID_EXCEPTION_OK): Renumber.
33970         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33971         (IGNORE_ZERO_INF_SIGN): Likewise.
33972         (test_exceptions): Handle FE_OVERFLOW.
33973         (exp10_test): Expect overflow exceptions.
33974         (exp2_test): Likewise.
33975         (expm1_test): Likewise.
33976         (nextafter_test): Likewise.
33977         (pow_test): Likewise.
33978         (scalbn_test): Likewise.
33979         (scalbln_test): Likewise.
33981 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33983         * sysdeps/x86_64/bits/atomic.h
33984         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33985         64bit integer.
33986         (atomic_exchange_acq): Likewise.
33987         (__arch_exchange_and_add_body): Likewise.
33988         (__arch_add_body): Likewise.
33989         (atomic_add_negative): Likewise.
33990         (atomic_add_zero): Likewise.
33992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33994         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33995         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33999         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34000         Check __x86_64__ instead of __WORDSIZE.
34002 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34004         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34006 2012-03-19  David S. Miller  <davem@davemloft.net>
34008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34010         * sysdeps/sparc/fpu/fenv_private.h: New file.
34011         * sysdeps/sparc/fpu/math_private.h: Use it.
34012         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34013         Remove.
34014         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34015         (libc_feholdexcept_setroundl): Remove.
34016         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34017         Remove.
34018         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34019         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34023         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34024         int64_t instead of long int.
34025         (INSERT_WORDS64): Likwise.
34027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34029         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34030         _Unwind_GetCFA return to _Unwind_Ptr first.
34032 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34034         [BZ #13629]
34035         * math/s_clog.c: Include <float.h>.
34036         (__clog): Scale large or subnormal inputs.
34037         * math/s_clogf.c: Likewise.
34038         * math/s_clogl.c: Likewise.
34039         * math/s_clog10.c: Include <float.h>.
34040         (M_LOG10_2): Define.
34041         (__clog10): Scale large or subnormal inputs.
34042         * math/s_clog10f.c: Likewise.
34043         * math/s_clog10l.c: Likewise.
34044         * math/libm-test.inc (clog_test): Add more tests.
34045         (clog10_test): Likewise.
34046         * sysdeps/i386/fpu/libm-test-ulps: Update.
34047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34049         [BZ #11451]
34050         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34051         x and y.
34052         * math/libm-test.inc (atan2_test): Add another test.
34054         * Makerules (common-objdir-compile): Remove.
34055         * sysdeps/unix/Makefile (config-generated): Do not add
34056         $(unix-generated) to variable.
34057         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34058         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34059         Remove rule.
34060         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34061         Likewise.
34062         [generic bits/local_lim.h] (before-compile): Do not append to
34063         variable.
34064         [generic bits/local_lim.h] (common-generated): Likewise.
34065         [generic sys/param.h] (before-compile): Do not append to variable.
34066         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34067         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34068         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34069         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34070         include.
34071         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34072         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34073         [generic sys/param.h] ($(addprefix
34074         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34075         [generic sys/param.h] (common-generated): Do not append to
34076         variable.
34077         [generic sys/param.h] (sysdep_headers): Likewise.
34078         [generic bits/errno.h] (before-compile): Do not append to
34079         variable.
34080         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34081         rule.
34082         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34083         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34084         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34085         [generic bits/errno.h] (common-generated): Do not append to
34086         variable.
34087         [generic bits/ioctls.h] (before-compile): Do not append to
34088         variable.
34089         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34090         rule.
34091         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34092         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34093         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34094         rule.
34095         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34096         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34097         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34098         [generic bits/ioctls.h] (common-generated): Do not append to
34099         variable.
34100         [generic sys/syscall.h] (syscall.h): Remove variable.
34101         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34102         rule.
34103         [generic sys/syscall.h] (before-compile): Do not append to
34104         variable.
34105         [generic sys/syscall.h] (common-generated): Likewise.
34106         * sysdeps/unix/errnos-tmpl.c: Remove file.
34107         * sysdeps/unix/errnos.awk: Likewise.
34108         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34109         * sysdeps/unix/ioctls.awk: Likewise.
34110         * sysdeps/unix/mk-local_lim.c: Likewise.
34111         * sysdeps/unix/snarf-ioctls: Likewise.
34113 2012-03-19  Richard Henderson  <rth@twiddle.net>
34115         * sysdeps/i386/fpu/fenv_private.h: New file.
34116         * sysdeps/i386/fpu/math_private.h: Use it.
34117         (math_opt_barrier, math_force_eval): Remove.
34118         (libc_feholdexcept_setround_53bit): Remove.
34119         (libc_feupdateenv_53bit): Remove.
34120         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34121         (math_opt_barrier, math_force_eval): Remove.
34122         (libc_feholdexcept): Remove.
34123         (libc_feholdexcept_setround): Remove.
34124         (libc_fetestexcept, libc_fesetenv): Remove.
34125         (libc_feupdateenv_test): Remove.
34126         (libc_feupdateenv, libc_feholdsetround): Remove.
34127         (libc_feresetround): Remove.
34129         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34130         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34132         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34133         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34134         (libc_feupdateenv_testl): New.
34135         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34136         (libc_feupdateenv_testf): New.
34137         (libc_feupdateenv): Use libc_feupdateenv_test.
34138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34139         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34141         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34142         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34143         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34144         (libc_feresetround_noex): New.
34145         (libc_feresetround_noexf): New.
34146         (libc_feresetround_noexl): New.
34147         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34148         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34149         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34150         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34151         SET_RESTORE_ROUND.
34152         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34154         (__cos): Likewise.
34155         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34156         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34157         SET_RESTORE_ROUND_NOEX.
34158         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34159         SET_RESTORE_ROUND_NOEXF.
34160         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34161         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34162         (libc_feholdsetroundf): New.
34163         (libc_feresetround, libc_feresetroundf): New.
34165         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34166         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34167         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34169         * sysdeps/generic/math_private.h: Include <fenv.h>.
34170         (default_libc_feholdexcept): New.
34171         (default_libc_feholdexcept_setround): New.
34172         (default_libc_fesetenv, default_libc_feupdateenv): New.
34173         (libc_feholdexcept): Only define if undefined.
34174         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34175         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34176         (libc_feholdexcept_setroundl): Likewise.
34177         (libc_feholdexcept_setround_53bit): Likewise.
34178         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34179         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34180         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34181         (libc_feupdateenv_53bit): Likewise.
34182         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34183         (libc_feholdexcept): Convert from macro to inline function.
34184         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34185         (libc_fesetenv, libc_feupdateenv): Likewise.
34187         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34188         not previously defined.
34189         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34190         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34191         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34192         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34193         * sysdeps/ieee754/flt-32/math_private.h: New file.
34194         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34195         math_private.h below SET_FLOAT_WORD.
34196         (__isnan, __isinf_ns, __finite): Remove.
34197         (__isnanf, __isinf_nsf, __finitef): Remove.
34199 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34203 2012-03-17  David S. Miller  <davem@davemloft.net>
34205         [BZ #6471]
34206         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34207         for 2.16.
34209 2012-03-16  David S. Miller  <davem@davemloft.net>
34211         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34212         warnings.
34214         [BZ #6471]
34215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34216         properly.
34217         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34218         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34219         sysdep_routines when subdir is sysvipc.
34220         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34221         __getshmlba helper.
34223         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34227         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34228         [__LP64__].
34230 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34232         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34233         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34234         (__lround): Renamed to ...
34235         (__llround): This.  Replace long int with long long int.
34236         Define lround functions as aliases of llround functions.
34237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34239 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34241         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34242         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34243         adresses to uintptr_t.  Replace "long int" and "unsigned long
34244         int" with "greg_t" on va_arg.
34246 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34248         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34249         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34251         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34252         Move e_machine check before EI_CLASS check.  Handle x32
34253         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34254         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34255         SKIP_EM_IA_64 and include
34256         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34258         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34259         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34260         (add_system_dir): New macro.
34262         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34263         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34265 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34267         [BZ #2551]
34268         [BZ #2552]
34269         [BZ #2553]
34270         [BZ #2554]
34271         [BZ #2562]
34272         [BZ #2563]
34273         [BZ #2565]
34274         [BZ #2566]
34275         [BZ #2576]
34276         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34277         (y0): Likewise.
34278         * math/w_j0f.c (j0f): Likewise.
34279         (y0f): Likewise.
34280         * math/w_j0l.c (__j0l): Likewise.
34281         (__y0l): Likewise.
34282         * math/w_j1.c (j1): Likewise.
34283         (y1): Likewise.
34284         * math/w_j1f.c (j1f): Likewise.
34285         (y1f): Likewise.
34286         * math/w_j1l.c (__j1l): Likewise.
34287         (__y1l): Likewise.
34288         * math/w_jn.c (jn): Likewise.
34289         (yn): Likewise.
34290         * math/w_jnf.c (jnf): Likewise.
34291         (ynf): Likewise.
34292         * math/w_jnl.c (__jnl): Likewise.
34293         (__ynl): Likewise.
34294         * math/libm-test.inc (j0_test): Add more tests.
34295         (j1_test): Likewise.
34296         (jn_test): Likewise.  Add trailing semicolon to existing test.
34297         (y0_test): Likewise.
34298         (y1_test): Likewise.
34299         * sysdeps/i386/fpu/libm-test-ulps: Update.
34300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34302         [BZ #13851]
34303         [BZ #13854]
34304         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34305         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34306         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34307         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34308         (__tanl): Set errno for infinite argument.
34309         * sysdeps/i386/fpu/mptan.c: Remove.
34310         * sysdeps/i386/fpu/s_tan.S: Likewise.
34311         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34312         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34313         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34314         * math/libm-test.inc (tan_test): Add more tests and enable more
34315         tests for double and long double.
34316         * sysdeps/i386/fpu/libm-test-ulps: Update.
34317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34319 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34321         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34322         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34324 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34326         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34327         * configure.in: Use it for both main tree and add-ons.
34328         * configure: Regenerated.
34330 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34332         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34334 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34336         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34337         in comment.
34339         [BZ #13851]
34340         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34341         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34342         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34343         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34344         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34345         infinite argument.
34346         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34347         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34348         != 0 for prec == 2.
34349         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34350         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34351         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34352         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34353         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34354         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34355         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34356         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34357         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34358         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34359         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34360         * math/libm-test.inc (cos_test): Add more tests and enable more
34361         tests for long double.
34362         (sin_test): Likewise.
34363         (sincos_test): Likewise.
34364         * sysdeps/i386/fpu/libm-test-ulps: Update.
34365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34367 2012-03-16  David S. Miller  <davem@davemloft.net>
34369         * sysdeps/sparc/fpu/math_private.h: New file.
34371 2012-03-15  David S. Miller  <davem@davemloft.net>
34373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34374         file.
34375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34377         file.
34378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34383         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34384         sysdep routines.
34385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34387         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34388         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34390         * sysdeps/sparc/sparc-ifunc.h: New file.
34391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34392         sparc-ifunc.h
34393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34395         Likewise.
34396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34397         Likewise.
34398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34402         Likewise.
34403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34408         Likewise.
34409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34410         Likewise.
34411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34430         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34433         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34436 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34438         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34439         scaling.
34440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34442 2012-03-15  Andreas Jaeger  <aj@suse.de>
34444         [BZ #13852]
34445         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34446         ieee754/flt-32 implementation for sin, cos and sincos.
34447         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34448         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34449         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34450         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34451         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34452         ieee754/flt-32 implementation for tan.
34454         * math/libm-test.inc (cos_test): Enable some large input tests for
34455         float as well
34456         (sin_test): Likewise.
34457         (sincos_test): Likewise.
34458         (tan_test): Add tests for large input.
34460         * sysdeps/i386/fpu/libm-test-ulps: Update.
34462 2012-03-15  Andreas Jaeger  <aj@suse.de>
34464         [BZ #13658]
34465         * math/libm-test.inc (cos_test): Add more test cases.
34466         (sin_test): Likewise.
34467         (sincos_test): Likewise.
34469 2012-03-15  Andreas Jaeger  <aj@suse.de>
34471         [BZ #13837]
34472         * math/libm-test.inc (cos_test): Add a test case for large input
34473         value.
34474         (sin_test): Likewise.
34475         (sincos_test): Likewise.
34477 2012-03-15  Andreas Jaeger  <aj@suse.de>
34478             Joseph Myers  <joseph@codesourcery.com>
34480         [BZ #13658]
34481         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34482         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34483         * sysdeps/i386/fpu/branred.c: Likewise.
34484         * sysdeps/i386/fpu/dosincos.c: Likewise.
34485         * sysdeps/i386/fpu/mpa.c: Likewise.
34486         * sysdeps/i386/fpu/s_cos.S: Likewise.
34487         * sysdeps/i386/fpu/s_sin.S: Likewise.
34488         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34489         * sysdeps/i386/fpu/sincos32.c: Likewise.
34491         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34492         Define.
34493         (libc_feupdateenv_53bit): Define.
34494         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34495         Define.
34496         (libc_feupdateenv_53bit): Define.
34498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34499         53 bit (without extend i386 double precision).
34501         * math/libm-test.inc (sincos_test): Add tests for large input.
34502         (sin): Likewise.
34503         (cos): Likewise.
34505         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34507 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34511 2012-03-15  David S. Miller  <davem@davemloft.net>
34513         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34514         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34515         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34516         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34529         file.
34530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34532         file.
34533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34535         file.
34536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34538         file.
34539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34540         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34541         fmin/fmax sysdep routines.
34542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34544 2012-03-14  David S. Miller  <davem@davemloft.net>
34546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34573         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34574         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34575         routines.
34576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34577         file.
34578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34580         file.
34581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34583         file.
34584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34586         file.
34587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34589         file.
34590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34592         file.
34593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34594         file.
34595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34596         file.
34597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34598         file.
34599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34600         New file.
34601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34602         file.
34603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34604         file.
34605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34607         file.
34608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34610         file.
34611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34613         file.
34614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34616         VIS3 routines.
34618         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34619         New file.
34621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34623         * sysdeps/sparc/configure.in: New file.
34624         * sysdeps/sparc/configure: Generate.
34625         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34626         * configure: Regenerate.
34627         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34628         * config.make.in (have-as-vis3): New.
34629         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34630         available use -Av9d instead of -Av9a.
34631         * sysdeps/sparc/sparc64/Makefile: Likewise.
34632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34634         New file.
34635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34636         file.
34637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34638         New file.
34639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34640         file.
34641         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34645         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34647         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34648         fzeros/fnegs to load 0x80000000 into a float register instead of
34649         using the stack.
34650         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34652 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34655         bits/syscall.h.
34656         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34657         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34658         ($(inst_includedir)/bits/syscall.h): Remove rule.
34659         ($(objpfx)bits/syscall.d): Include instead of
34660         $(objpfx)syscall-list.d.
34661         (generated): Change syscall-list.h and syscall-list.d to
34662         bits/syscall.h and bits/syscall.d.
34664 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34666         [BZ #13846]
34667         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34669 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34671         [BZ #13841]
34672         * math/s_csqrt.c: Include <float.h>.
34673         (__csqrt): Scale large or subnormal inputs.
34674         * math/s_csqrtf.c: Likewise.
34675         * math/s_csqrtl.c: Likewise.
34676         * math/libm-test.inc (csqrt_test): Add more tests.
34677         * sysdeps/i386/fpu/libm-test-ulps: Update.
34678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34680         [BZ #13840]
34681         * math/libm-test.inc (hypot_test): Add more tests.
34683 2012-03-13  David S. Miller  <davem@davemloft.net>
34685         [BZ #13840]
34686         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34687         double-precision for the calculation instead of scaling.
34689 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34691         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34692         manipulate bits before adding and subtracting TWO52[sx].
34693         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34694         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34695         Likewise.
34696         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34698 2012-03-13  David S. Miller  <davem@davemloft.net>
34700         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34701         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34702         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34703         rtld-global-offsets.h
34704         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34706         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34707         large parameters.
34709         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34711         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34712         'err' in the ifdef scope in which it is actually used.
34714         * nss/nss_db/db-init.c: Include string.h
34716 2012-03-12  David S. Miller  <davem@davemloft.net>
34718         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34719         masking out of the most significant byte of random value used.
34720         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34721         Fix coding style in previous change.
34723         * sysdeps/unix/sysv/linux/kernel-features.h
34724         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34725         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34726         expression.
34727         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34728         later.
34730 2012-03-11  David S. Miller  <davem@davemloft.net>
34732         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34733         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34734         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34735         for 'resultvar' otherwise things get truncated on 64-bit.
34737         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34738         Fix masking out of the most significant byte of random value used.
34740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34742 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34746 2012-03-09  David S. Miller  <davem@davemloft.net>
34748         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34749         variables with appropriate CPP guards.
34750         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34751         from the frame pointer, not the stack pointer.  Correct layout
34752         comments.  Fix test on resulting framesize and the management of
34753         the outregs buffer for pltexit.  Preserve floating point return
34754         values across _dl_call_pltexit call.
34755         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34756         framesize and the management of the outregs buffer for pltexit.
34757         Preserve floating point return values across _dl_call_pltexit
34758         call.
34759         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34760         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34761         (la_sparc64_gnu_pltexit): New functions.
34762         (print_exit): Fix format string for return register value.
34764 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34766         * sunrpc/Makefile (others): Add rpcgen.
34767         ($(objpfx)rpcgen): Remove special build rule and dependency on
34768         libc.
34769         * sunrpc/rpcgen.c: New file.
34771 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34773         [BZ #13673]
34774         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34775         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34776         * sysdeps/i386/crti.S: Likewise.
34777         * sysdeps/i386/crtn.S: Likewise.
34778         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34779         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34780         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34781         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34782         * sysdeps/sh/crti.S: Likewise.
34783         * sysdeps/sh/crtn.S: Likewise.
34784         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34786         [BZ #13673]
34787         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34788         with URL.
34789         * locale/programs/locfile-kw.gperf: Likewise.
34790         * locale/programs/charmap-kw.h: Regenerated.
34791         * locale/programs/locfile-kw.h: Likewise.
34793         [BZ #13673]
34794         * intl/plural.y: Replace FSF snail mail address with URL.
34795         * intl/plural.c: Regenerated.
34797 2012-03-09  Richard Henderson  <rth@twiddle.net>
34799         * include/math_private.h: Remove file.
34800         * math/math_private.h: Move file ...
34801         * sysdeps/generic/math_private.h: ... here.
34803         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34804         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34805         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34807         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34808         and <math_private.h>.
34809         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34810         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34811         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34812         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34813         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34814         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34815         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34817         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34818         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34820         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34821         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34822         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34823         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34824         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34825         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34826         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34827         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34828         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34830         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34831         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34833         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34834         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34835         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34836         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34838         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34839         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34840         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34841         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34842         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34843         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34844         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34845         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34846         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34847         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34848         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34849         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34850         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34851         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34852         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34853         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34855         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34856         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34857         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34858         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34859         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34860         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34861         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34862         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34863         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34864         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34865         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34866         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34867         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34868         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34869         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34870         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34872         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34873         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34874         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34875         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34876         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34877         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34878         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34879         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34880         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34881         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34882         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34883         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34888         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34889         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34890         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34891         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34892         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34893         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34894         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34895         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34896         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34897         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34898         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34899         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34900         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34901         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34902         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34903         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34904         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34905         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34906         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34907         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34908         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34909         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34910         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34911         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34912         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34913         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34914         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34915         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34916         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34917         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34919         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34920         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34921         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34922         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34923         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34924         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34925         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34926         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34927         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34928         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34929         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34930         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34931         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34932         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34933         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34934         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34935         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34936         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34937         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34938         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34939         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34940         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34941         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34942         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34943         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34944         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34945         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34946         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34947         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34948         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34949         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34950         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34951         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34952         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34953         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34954         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34955         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34956         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34957         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34958         * sysdeps/ieee754/k_standard.c: Likewise.
34959         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34960         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34961         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34962         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34963         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34964         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34965         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34966         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34967         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34968         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34969         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34971         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34972         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34973         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34974         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34976         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34977         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34978         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34980         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34981         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34982         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34983         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34984         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34985         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34986         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34987         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34988         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34989         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34990         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34991         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34992         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34993         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34994         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34995         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34996         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34997         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34998         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34999         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35000         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35001         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35002         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35003         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35004         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35005         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35006         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35007         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35008         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35010         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35011         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35012         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35013         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35014         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35015         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35016         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35017         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35018         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35019         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35020         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35021         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35022         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35025         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35026         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35027         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35028         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35029         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35031         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35032         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35034         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35035         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35036         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35038         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35039         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35041         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35043         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35044         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35045         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35046         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35047         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35049         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35050         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35051         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35052         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35053         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35054         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35055         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35056         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35058         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35060         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35062         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35063         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35064         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35065         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35066         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35067         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35068         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35069         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35070         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35071         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35072         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35073         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35074         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35075         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35076         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35077         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35078         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35080         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35081         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35082         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35083         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35084         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35085         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35086         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35087         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35088         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35089         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35090         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35091         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35092         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35093         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35094         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35095         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35096         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35097         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35098         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35099         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35100         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35101         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35102         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35103         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35104         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35105         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35106         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35107         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35108         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35109         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35110         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35111         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35112         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35113         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35114         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35115         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35116         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35117         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35118         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35119         * sysdeps/ieee754/s_lib_version.c: Likewise.
35120         * sysdeps/ieee754/s_matherr.c: Likewise.
35121         * sysdeps/ieee754/s_signgam.c: Likewise.
35122         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35123         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35124         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35125         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35126         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35127         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35128         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35129         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35130         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35131         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35132         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35133         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35134         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35135         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35136         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35137         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35138         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35139         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35140         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35141         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35142         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35144 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35146         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35147         * sunrpc/rpc_main.c: Likewise.
35148         * sunrpc/rpc_svcout.c: Likewise.
35150 2012-03-09  David S. Miller  <davem@davemloft.net>
35152         * include/math_private.h: New file.
35154 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35156         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35157         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35158         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35159         from <bits/socket_type.h>.
35160         (enum __socket_type): Don't define here.
35161         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35163         bits/socket_type.h.
35165         [BZ #13566]
35166         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35167         checking __USE_GNU.
35169         * Makerules ($(inst_includedir)/%.h): New rule.
35170         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35171         (install-others): Remove variable setting.
35172         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35174 2012-03-08  Richard Henderson  <rth@twiddle.net>
35176         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35177         from macro to inline function; merge with the
35178         !__LIBC_INTERNAL_MATH_INLINES version.
35179         (__ieee754_sqrtf): Likewise.
35181         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35182         to inline function.
35183         (__rintf, __floor, __floorf): Likewise.
35185         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35186         macro to inline function.
35187         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35189         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35190         not <math/math_private.h>.
35192 2012-03-08  David S. Miller  <davem@davemloft.net>
35194         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35195         copyright year.
35196         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35198 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35200         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35201         normalization.
35202         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35203         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35205 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35207         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35208         be defined individually, they must be defined as a block.  Define
35209         S for printing a string instead of hidint the different by using a
35210         macro for adding the 'l'.
35211         * stdio-common/tst-fphex-wide.c: Adjust.
35213 2012-03-07  Marek Polacek  <polacek@redhat.com>
35215         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35217 2012-03-08  Marek Polacek  <polacek@redhat.com>
35219         [BZ #13806]
35220         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35221         * stdio-common/tst-fphex.c: Define a few macros to make the
35222         test reusable.  Use them.
35223         * stdio-common/tst-fphex-wide.c: New file.
35225 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35227         [BZ #6911]
35228         * manual/macros.texi (gnusystems): New macro.
35229         (nongnusystems): Likewise.
35230         (gnulinuxhurdsystems): Likewise.
35231         (gnuhurdsystems): Likewise..
35232         (gnulinuxsystems): Likewise.
35233         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35234         variants of the GNU system, not "GNU system".
35235         * manual/conf.texi: Likewise.
35236         * manual/errno.texi: Likewise.  Update example of errno macro
35237         expansion.
35238         * manual/filesys.texi: Likewise.
35239         (getumask): Document as specific to GNU/Hurd.
35240         * manual/install.texi: Likewise.  Reword some references to
35241         GNU/Linux.
35242         * manual/intro.texi: Likewise.
35243         * manual/io.texi: Likewise.
35244         (File Name Portability): Detail which constraints are inapplicable
35245         to all GNU systems and which are only inapplicable to GNU/Hurd.
35246         * manual/job.texi: Likewise.
35247         * manual/llio.texi: Likewise.
35248         (O_NOCTTY): Document as present on GNU/Linux.
35249         * manual/maint.texi: Likewise.
35250         * manual/memory.texi: Likewise.
35251         * manual/pattern.texi: Likewise.
35252         * manual/pipe.texi: Likewise.
35253         * manual/process.texi: Likewise.
35254         * manual/resource.texi: Likewise.
35255         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35256         child on GNU/Hurd.
35257         * manual/setjmp.texi: Likewise.
35258         * manual/signal.texi: Likewise.
35259         * manual/startup.texi: Likewise.
35260         * manual/stdio.texi: Likewise.
35261         * manual/terminal.texi: Likewise.
35262         (ONLCR): Document as POSIX.
35263         (OXTABS): Document availability on GNU/Linux as XTABS.
35264         (ONOEOT): Document availability separately from other bits.
35265         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35266         * manual/time.texi: Likewise.
35267         * manual/users.texi: Likewise.
35268         * INSTALL: Regenerated.
35269         * sysdeps/gnu/errlist.c: Regenerated.
35271         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35272         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35273         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35274         puts.
35275         * configure: Regenerated.
35277 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35279         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35280         default includes instead of AC_HEADER_CHECK.
35281         * sysdeps/i386/configure: Regenerated.
35283         [BZ #10716]
35284         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35285         * math/s_cacoshf.c (__cacoshf): Likewise.
35286         * math/s_cacoshl.c (__cacoshl): Likewise.
35287         * math/s_casinh.c (__casinh): Set signs of result from argument.
35288         * math/s_casinhf.c (__casinhf): Likewise.
35289         * math/s_casinhl.c (__casinhl): Likewise.
35290         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35291         (casinh_test): Add more tests.
35292         * sysdeps/i386/fpu/libm-test-ulps: Update.
35293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35295 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35297         * po/zh_TW.po: Update from translation team.
35299         * login/Makefile (distribute): Remove variable.
35300         * catgets/Makefile: Likewise.
35301         * mach/Makefile: Likewise.
35302         * malloc/Makefile: Likewise.
35303         * misc/Makefile: Likewise.
35304         * iconv/Makefile: Likewise.
35305         * nscd/Makefile: Likewise.
35306         * hurd/Makefile: Likewise.
35307         * manual/Makefile: Likewise.
35308         * locale/Makefile: Likewise.
35309         * intl/Makefile: Likewise.
35310         * conform/Makefile: Likewise.
35311         * nss/Makefile: Likewise.
35312         * time/Makefile: Likewise.
35313         * soft-fp/Makefile: Likewise.
35314         * dirent/Makefile: Likewise.
35315         * gmon/Makefile: Likewise.
35316         * po/Makefile: Likewise.
35317         * rt/Makefile: Likewise.
35318         * socket/Makefile: Likewise.
35319         * math/Makefile: Likewise.
35320         * signal/Makefile: Likewise.
35321         * debug/Makefile: Likewise.
35322         * elf/Makefile: Likewise.
35323         * timezone/Makefile: Likewise.
35324         * stdlib/Makefile: Likewise.
35325         * iconvdata/Makefile: Likewise.
35326         * sunrpc/Makefile: Likewise.
35327         * io/Makefile: Likewise.
35328         * argp/Makefile: Likewise.
35329         * inet/Makefile: Likewise.
35330         * hesiod/Makefile: Likewise.
35331         * grp/Makefile: Likewise.
35332         * csu/Makefile: Likewise.
35333         * wctype/Makefile: Likewise.
35334         * crypt/Makefile: Likewise.
35335         * libio/Makefile: Likewise.
35336         * string/Makefile: Likewise.
35337         * nis/Makefile: Likewise.
35338         * resolv/Makefile: Likewise.
35339         * stdio-common/Makefile: Likewise.
35340         * wcsmbs/Makefile: Likewise.
35341         * dlfcn/Makefile: Likewise.
35342         * posix/Makefile: Likewise.
35344         [BZ #6959]
35345         * timezone/Makefile: Don't install timezone files, just the programs
35346         and scripts.
35348 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35350         * nss/databases.def: Add missing gshadow entry.
35352         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35354 2012-03-06  Marek Polacek  <polacek@redhat.com>
35356         [BZ #13726]
35357         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35358         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35359         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35360         * stdio-common/tst-long-dbl-fphex.c: New file.
35362 2012-03-06  David S. Miller  <davem@davemloft.net>
35364         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35365         (set_obp_int): New function.
35366         (get_obp_int): New function.
35367         (__get_clockfreq_via_dev_openprom): Likewise.
35368         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35369         Avoid unused variable warnings on 'val' and use builtin_expect.
35370         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35371         __builtin_expect.
35372         (INLINE_CLONE_SYSCALL): Likewise.
35374 2012-03-05  David S. Miller  <davem@davemloft.net>
35376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35378 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35382         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35383         only for |x| >= 40.
35384         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35386 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35389         Replace gettimeofday with __vdso_gettimeofday.
35391         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35392         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35393         __vdso_clock_gettime and __vdso_getcpu.
35395         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35396         time with __vdso_time.
35398 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35400         * manual/lang.texi (size_t): Note types to which size_t may be
35401         equivalent with the GNU C Library, but do not describe when
35402         differences between them are significant.
35404 2012-03-05  Andreas Jaeger  <aj@suse.de>
35406         * sysdeps/i386/fpu/libm-test-ulps: Update.
35408 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35410         [BZ #3976]
35411         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35412         (__ieee754_pow): Save and restore rounding mode and use
35413         round-to-nearest for main computations.
35414         * math/libm-test.inc (pow_test_tonearest): New function.
35415         (pow_test_towardzero): Likewise.
35416         (pow_test_downward): Likewise.
35417         (pow_test_upward): Likewise.
35418         (main): Call the new functions.
35419         * sysdeps/i386/fpu/libm-test-ulps: Update.
35420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35422         [BZ #3976]
35423         * math/libm-test.inc (cosh_test_tonearest): New function.
35424         (cosh_test_towardzero): Likewise.
35425         (cosh_test_downward): Likewise.
35426         (cosh_test_upward): Likewise.
35427         (sinh_test_tonearest): Likewise.
35428         (sinh_test_towardzero): Likewise.
35429         (sinh_test_downward): Likewise.
35430         (sinh_test_upward): Likewise.
35431         (main): Call the new functions.
35432         * sysdeps/i386/fpu/libm-test-ulps: Update.
35433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35435 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35438         default stack guard is set in last bytes.
35439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35441 2012-03-05  Kees Cook  <keescook@chromium.org>
35443         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35445         [BZ #13656]
35446         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35447         possibly allocate from heap instead of stack.
35448         * stdio-common/bug-vfprintf-nargs.c: New file.
35449         * stdio-common/Makefile (tests): Add nargs overflow test.
35451 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35455 2012-03-03  Marek Polacek  <polacek@redhat.com>
35457         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35458         * math/math_private.h: Likewise.
35459         * stdlib/tst-strtod.c: Likewise.
35460         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35461         * sysdeps/x86_64/bits/atomic.h: Likewise.
35463 2012-03-02  David S. Miller  <davem@davemloft.net>
35465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35469         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35470         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35471         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35472         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35474 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35476         [BZ #13792]
35477         * manual/examples/README: New file, says the example source files
35478         can be used under GPL>=2.
35479         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35480         line containing just "*/".
35481         * manual/examples/add.c: Add copyright header (GPL>=2).
35482         * manual/examples/argp-ex1.c: Likewise.
35483         * manual/examples/argp-ex2.c: Likewise.
35484         * manual/examples/argp-ex3.c: Likewise.
35485         * manual/examples/argp-ex4.c: Likewise.
35486         * manual/examples/atexit.c: Likewise.
35487         * manual/examples/db.c: Likewise.
35488         * manual/examples/dir.c: Likewise.
35489         * manual/examples/dir2.c: Likewise.
35490         * manual/examples/execinfo.c: Likewise.
35491         * manual/examples/filecli.c: Likewise.
35492         * manual/examples/filesrv.c: Likewise.
35493         * manual/examples/fmtmsgexpl.c: Likewise.
35494         * manual/examples/genpass.c: Likewise.
35495         * manual/examples/inetcli.c: Likewise.
35496         * manual/examples/inetsrv.c: Likewise.
35497         * manual/examples/isockad.c: Likewise.
35498         * manual/examples/longopt.c: Likewise.
35499         * manual/examples/memopen.c: Likewise.
35500         * manual/examples/memstrm.c: Likewise.
35501         * manual/examples/mkfsock.c: Likewise.
35502         * manual/examples/mkisock.c: Likewise.
35503         * manual/examples/mygetpass.c: Likewise.
35504         * manual/examples/pipe.c: Likewise.
35505         * manual/examples/popen.c: Likewise.
35506         * manual/examples/rprintf.c: Likewise.
35507         * manual/examples/search.c: Likewise.
35508         * manual/examples/select.c: Likewise.
35509         * manual/examples/setjmp.c: Likewise.
35510         * manual/examples/sigh1.c: Likewise.
35511         * manual/examples/sigusr.c: Likewise.
35512         * manual/examples/stpcpy.c: Likewise.
35513         * manual/examples/strdupa.c: Likewise.
35514         * manual/examples/strftim.c: Likewise.
35515         * manual/examples/strncat.c: Likewise.
35516         * manual/examples/subopt.c: Likewise.
35517         * manual/examples/swapcontext.c: Likewise.
35518         * manual/examples/termios.c: Likewise.
35519         * manual/examples/testopt.c: Likewise.
35520         * manual/examples/testpass.c: Likewise.
35521         * manual/examples/timeval_subtract.c: Likewise.
35523         [BZ #13792]
35524         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35525         function to ...
35526         * manual/timeval_subtract.c.texi: ... here, new file.
35528 2012-03-02  David S. Miller  <davem@davemloft.net>
35530         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35532 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35534         [BZ #3976]
35535         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35536         (__sin): Save and restore rounding mode and use round-to-nearest
35537         for all computations.
35538         (__cos): Save and restore rounding mode and use round-to-nearest
35539         for all computations.
35540         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35541         <fenv.h>.
35542         (tan): Save and restore rounding mode and use round-to-nearest for
35543         all computations.
35544         * math/libm-test.inc (cos_test_tonearest): New function.
35545         (cos_test_towardzero): Likewise.
35546         (cos_test_downward): Likewise.
35547         (cos_test_upward): Likewise.
35548         (sin_test_tonearest): Likewise.
35549         (sin_test_towardzero): Likewise.
35550         (sin_test_downward): Likewise.
35551         (sin_test_upward): Likewise.
35552         (tan_test_tonearest): Likewise.
35553         (tan_test_towardzero): Likewise.
35554         (tan_test_downward): Likewise.
35555         (tan_test_upward): Likewise.
35556         (main): Call the new functions.
35557         * sysdeps/i386/fpu/libm-test-ulps: Update.
35558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35560         [BZ #10135]
35561         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35562         small n, then large n, before computing and testing k+n.
35563         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35565         Likewise.
35566         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35567         Likewise.
35568         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35569         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35572         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35573         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35574         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35575         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35576         * math/libm-test.inc (scalbn_test): Add more tests.
35577         (scalbln_test): Likewise.
35579         * manual/filesys.texi (mode_t): Describe constraints on size and
35580         signedness, not exact equivalence to a particular type.
35581         (ino_t): Likewise.
35582         (ino64_t): Likewise.
35583         (dev_t): Likewise.
35584         (nlink_t): Likewise.
35585         (blkcnt_t): Likewise.
35586         (blkcnt64_t): Likewise.
35587         * manual/llio.texi (off_t): Likewise.
35589         [BZ #3976]
35590         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35591         (__ieee754_exp): Save and restore rounding mode and use
35592         round-to-nearest for all computations.
35593         * math/libm-test.inc (exp_test_tonearest): New function.
35594         (exp_test_towardzero): Likewise.
35595         (exp_test_downward): Likewise.
35596         (exp_test_upward): Likewise.
35597         (main): Call the new functions.
35598         * sysdeps/i386/fpu/libm-test-ulps: Update.
35599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35601 2012-03-01  Chris Demetriou  <cgd@google.com>
35603         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35604         have predictable order.
35606 2012-03-01  David S. Miller  <davem@davemloft.net>
35608         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35610         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35611         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35612         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35613         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35615         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35616         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35617         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35619         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35620         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35621         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35622         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35623         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35627         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35628         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35629         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35631         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35632         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35633         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35634         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35635         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35638         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35639         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35640         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35641         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35642         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35644         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35645         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35647         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35648         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35649         * sysdeps/sparc/elf/configure: Regenerated.
35651 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35653         * configure.in (AS, LD): Require binutils 2.20 or later.
35654         * configure: Regenerated.
35655         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35656         as required minimum version.
35657         * INSTALL: Regenerated.
35659         [BZ #2541]
35660         [BZ #4108]
35661         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35662         before squaring exponent.
35663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35664         bottom long double and 27 bits of top long double before squaring
35665         exponent.
35666         * math/libm-test.inc (erfc_test): Add more tests.
35667         * sysdeps/i386/fpu/libm-test-ulps: Update.
35668         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35671 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35673         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35674         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35675         containing bit-fields.
35676         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35677         * soft-fp/single.h (_FP_UNION_S): Likewise.
35678         * soft-fp/double.h (_FP_UNION_D): Likewise.
35680 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35682         [BZ #13786]
35683         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35684         not include ../strcmp.S.
35685         [USE_AS_STRNCASECMP_L]: Likewise.
35686         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35687         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35688         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35689         (__strncasecmp_l_ia32): Define as alias to
35690         __strncasecmp_l_nonascii.
35692         [BZ #5794]
35693         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35694         * sysdeps/i386/fpu/libm-test-ulps: Update.
35695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35697         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35700 2012-02-29  Jeff Law  <law@redhat.com>
35702         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35703         out of bounds read.
35705 2012-02-29  Marek Polacek  <polacek@redhat.com>
35707         [BZ #13706]
35708         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35709         * elf/Makefile: Add rules to run tst-unused-dep.out.
35711 2012-02-28  David S. Miller  <davem@davemloft.net>
35713         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35714         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35715         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35716         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35717         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35718         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35720 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35722         * math/libm-test.inc (llround_test): Move one test from
35723         lround_test.  Use TEST_f_L in moved test.
35724         (lround_test): Move misplaced test to llround_test.  Add testcase
35725         from bug 2561.
35727 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35729         * sysdeps/x86_64/fpu/e_expf.S: New file.
35730         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35732 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35734         [BZ #13637]
35735         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35736         of remain_len that may cause incomplete multi-byte character and
35737         false match.
35738         * posix/bug-regex33.c: New file.
35739         * posix/Makefile (tests): Add bug-regex33.
35741 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35743         * manual/macros.texi: New file.
35744         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35745         * manual/libc.texinfo: Include macros.texi.
35746         * manual/creatute.texi: Likewise.
35747         * manual/install.texi: Likewise.
35748         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35749         @glibcadj{} in references to the GNU C Library.
35750         * manual/charset.texi: Likewise.
35751         * manual/conf.texi: Likewise.
35752         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35753         when not using those macros.
35754         * manual/creature.texi: Likewise.
35755         * manual/crypt.texi: Likewise.
35756         * manual/errno.texi: Likewise.
35757         * manual/filesys.texi: Likewise.
35758         * manual/header.texi: Likewise.
35759         * manual/install.texi: Likewise.
35760         * manual/intro.texi: Likewise.
35761         * manual/io.texi: Likewise.
35762         * manual/job.texi: Likewise.
35763         * manual/lang.texi: Likewise.
35764         * manual/libc.texiinfo: Likewise.
35765         * manual/llio.texi: Likewise.
35766         * manual/locale.texi: Likewise.
35767         * manual/maint.texi: Likewise.
35768         * manual/math.texi: Likewise.
35769         * manual/memory.texi: Likewise.
35770         * manual/message.texi: Likewise.
35771         * manual/nss.texi: Likewise.
35772         * manual/pattern.texi: Likewise.
35773         * manual/process.texi: Likewise.
35774         * manual/resource.texi: Likewise.
35775         * manual/search.texi: Likewise.
35776         * manual/setjmp.texi: Likewise.
35777         * manual/signal.texi: Likewise.
35778         * manual/socket.texi: Likewise.
35779         * manual/startup.texi: Likewise.
35780         * manual/stdio.texi: Likewise.
35781         * manual/string.texi: Likewise.
35782         * manual/sysinfo.texi: Likewise.
35783         * manual/syslog.texi: Likewise.
35784         * manual/terminal.texi: Likewise.
35785         * manual/time.texi: Likewise.
35786         * manual/users.texi: Likewise.
35787         * INSTALL: Regenerated.
35788         * NOTES: Regenerated.
35789         * sysdeps/gnu/errlist.c: Regenerated.
35791 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35793         * include/dirent.h: Include <dirstream.h> before
35794         <dirent/dirent.h>.
35796 2012-02-28  David S. Miller  <davem@davemloft.net>
35798         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35799         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35800         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35801         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35803 2012-02-27  David S. Miller  <davem@davemloft.net>
35805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35807         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35808         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35811         frame pointer instead of stack pointer relative arg slot.
35812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35813         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35814         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35816 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35818         [BZ #3992]
35819         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35821 2012-02-27  David S. Miller  <davem@davemloft.net>
35823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35827         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35828         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35829         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35830         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35832 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35834         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35835         later.  Allow versions 5-9.
35836         * configure: Regenerated.
35837         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35838         required minimum version and 4.6 as recommended version.  Do not
35839         mention bugs in GCC 2.7 and 2.8.
35840         * INSTALL: Regenerated.
35842 2012-02-27  David S. Miller  <davem@davemloft.net>
35844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35848         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35849         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35850         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35851         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35853         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35854         manipulate bits before adding and subtracting TWO112[sx].
35855         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35857 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35859         [BZ #13775]
35860         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35861         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35862         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35863         being in POSIX, because they are in 1003.1-2008.
35865         * rt/tst-aio.c: Include <fcntl.h>.
35866         * rt/tst-aio7.c: Likewise.
35867         * rt/tst-aio64.c: Likewise.
35869         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35871 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35873         * manual/install.texi (--with-headers): Describe headers as
35874         interface headers, not private headers.
35875         (Specific advice for GNU/Linux systems): Describe use of headers
35876         from "make headers_install", not private headers from older
35877         kernels.
35878         * INSTALL: Regenerated.
35879         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35880         Change to 2.6.19.
35881         * sysdeps/unix/sysv/linux/configure: Regenerated.
35883         * manual/llio.texi (fclean): Remove documentation.
35885         * manual/Makefile (libc-texi-generated): New variable.  Include
35886         version.texi.
35887         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35888         $(libc-texi-generated), not duplicated list of files.
35889         (version.texi, stamp-version): New rules.
35890         (realclean): Remove $(libc-texi-generated), not individual files
35891         from that list.  Do not remove dir-add.texinfo.
35892         * manual/libc.texinfo: Comment out uses of edition numbers and
35893         references to printed manual.  Remove last-updated dates.
35894         (EDITION): Comment out.
35895         (ISBN): Likewise.
35896         (VERSION, UPDATED): Remove.
35897         (version.texi): Include.
35899 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35901         * sysdeps/posix/spawni.c: Include <signal.h>.
35902         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35903         * sysdeps/pthread/aio_fsync.c: Likewise.
35905 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
35907         * conform/Makefile (tests): Run only when not cross-compiling and
35908         when fast-check is not defined.
35910         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35911         * conform/data/limits.h-data: Fixes for POSIX2008.
35912         * conform/run-conformtest.sh: Run all tests.
35913         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35914         headers.
35915         * include/bits/dlfcn.h: Likewise.
35916         * include/langinfo.h: Likewise.
35917         * include/monetary.h: Likewise.
35918         * include/sys/poll.h: Likewise.
35920         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35921         for __USE_GNU.
35922         * posix/spawn.h: Define __need_sigset_t.
35923         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35924         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35925         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
35926         to get sigevent_t only.
35927         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35928         only for __USE_GNU.
35929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35930         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35931         process_vm_writev only for __USE_GNU.
35932         * termios/termios.h: Declare tcgetsid also for POSIX2008.
35934         * conform/Makefile: For now ignore errors from run-conformtest.
35935         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
35936         POSIX to avoid namespace pollution.  Don't prepend headers.
35937         * conform/data/aio.h-data: Fixes for POSIX testing.
35938         * conform/data/fcntl.h-data: Likewise.
35939         * conform/data/glob.h-data: Likewise.
35940         * conform/data/grp.h-data: Likewise.
35941         * conform/data/pthread.h-data: Likewise.
35942         * conform/data/pwd.h-data: Likewise.
35943         * conform/data/signal.h-data: Likewise.
35944         * conform/data/spawn.h-data: Likewise.
35945         * conform/data/stdio.h-data: Likewise.
35946         * conform/data/stdlib.h-data: Likewise.
35947         * conform/data/stropts.h-data: Likewise.
35948         * conform/data/sys/mman.h-data: Likewise.
35949         * conform/data/sys/stat.h-data: Likewise.
35950         * conform/data/sys/types.h-data: Likewise.
35951         * conform/data/sys/wait.h-data: Likewise.
35952         * conform/data/time.h-data: Likewise.
35953         * conform/data/unistd.h-data: Likewise.
35954         * conform/data/utime.h-data: Likewise.
35956         * io/sys/stat.h: fchmod was always in POSIX.
35957         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35958         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35959         * rt/aio.h: Define __need_timespec before including <time.h>.
35960         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35961         struct.  Add forward declaration of pthread_attr_t and use it in
35962         sigevent.
35963         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35964         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35965         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35966         always remove CLK_TCK definition.
35968 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
35970         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35972 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
35974         * conform/run-conformtest.sh: New file.
35975         * conform/Makefile: Run run-conformtest for tests.
35976         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
35977         support.
35979         * conform/data/uchar.h-data: New file.
35980         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35981         * conform/data/arpa/inet.h-data: Likewise.
35982         * conform/data/assert.h-data: Likewise.
35983         * conform/data/complex.h-data: Likewise.
35984         * conform/data/cpio.h-data: Likewise.
35985         * conform/data/ctype.h-data: Likewise.
35986         * conform/data/dirent.h-data: Likewise.
35987         * conform/data/dlfcn.h-data: Likewise.
35988         * conform/data/errno.h-data: Likewise.
35989         * conform/data/fcntl.h-data: Likewise.
35990         * conform/data/float.h-data: Likewise.
35991         * conform/data/fmtmsg.h-data: Likewise.
35992         * conform/data/fnmatch.h-data: Likewise.
35993         * conform/data/ftw.h-data: Likewise.
35994         * conform/data/glob.h-data: Likewise.
35995         * conform/data/grp.h-data: Likewise.
35996         * conform/data/iconv.h-data: Likewise.
35997         * conform/data/inttypes.h-data: Likewise.
35998         * conform/data/langinfo.h-data: Likewise.
35999         * conform/data/libgen.h-data: Likewise.
36000         * conform/data/limits.h-data: Likewise.
36001         * conform/data/locale.h-data: Likewise.
36002         * conform/data/math.h-data: Likewise.
36003         * conform/data/monetary.h-data: Likewise.
36004         * conform/data/mqueue.h-data: Likewise.
36005         * conform/data/ndbm.h-data: Likewise.
36006         * conform/data/net/if.h-data: Likewise.
36007         * conform/data/netdb.h-data: Likewise.
36008         * conform/data/netinet/in.h-data: Likewise.
36009         * conform/data/nl_types.h-data: Likewise.
36010         * conform/data/poll.h-data: Likewise.
36011         * conform/data/pthread.h-data: Likewise.
36012         * conform/data/pwd.h-data: Likewise.
36013         * conform/data/regex.h-data: Likewise.
36014         * conform/data/sched.h-data: Likewise.
36015         * conform/data/search.h-data: Likewise.
36016         * conform/data/semaphore.h-data: Likewise.
36017         * conform/data/setjmp.h-data: Likewise.
36018         * conform/data/signal.h-data: Likewise.
36019         * conform/data/spawn.h-data: Likewise.
36020         * conform/data/stdarg.h-data: Likewise.
36021         * conform/data/stdio.h-data: Likewise.
36022         * conform/data/stdlib.h-data: Likewise.
36023         * conform/data/string.h-data: Likewise.
36024         * conform/data/strings.h-data: Likewise.
36025         * conform/data/stropts.h-data: Likewise.
36026         * conform/data/sys/ipc.h-data: Likewise.
36027         * conform/data/sys/mman.h-data: Likewise.
36028         * conform/data/sys/msg.h-data: Likewise.
36029         * conform/data/sys/resource.h-data: Likewise.
36030         * conform/data/sys/select.h-data: Likewise.
36031         * conform/data/sys/sem.h-data: Likewise.
36032         * conform/data/sys/shm.h-data: Likewise.
36033         * conform/data/sys/socket.h-data: Likewise.
36034         * conform/data/sys/stat.h-data: Likewise.
36035         * conform/data/sys/statvfs.h-data: Likewise.
36036         * conform/data/sys/time.h-data: Likewise.
36037         * conform/data/sys/timeb.h-data: Likewise.
36038         * conform/data/sys/times.h-data: Likewise.
36039         * conform/data/sys/types.h-data: Likewise.
36040         * conform/data/sys/uio.h-data: Likewise.
36041         * conform/data/sys/un.h-data: Likewise.
36042         * conform/data/sys/utsname.h-data: Likewise.
36043         * conform/data/sys/wait.h-data: Likewise.
36044         * conform/data/syslog.h-data: Likewise.
36045         * conform/data/tar.h-data: Likewise.
36046         * conform/data/termios.h-data: Likewise.
36047         * conform/data/utime.h-data: Likewise.
36048         * conform/data/utmpx.h-data: Likewise.
36049         * conform/data/varargs.h-data: Likewise.
36050         * conform/data/wchar.h-data: Likewise.
36051         * conform/data/wctype.h-data: Likewise.
36052         * conform/data/wordexp.h-data: Likewise.
36054         * include/stropts.h: New file.
36055         * include/uchar.h: New file.
36056         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36057         * include/assert.h: Likewise.
36058         * include/ctype.h: Likewise.
36059         * include/dirent.h: Likewise.
36060         * include/dlfcn.h: Likewise.
36061         * include/fcntl.h: Likewise.
36062         * include/fnmatch.h: Likewise.
36063         * include/glob.h: Likewise.
36064         * include/grp.h: Likewise.
36065         * include/libio.h: Likewise.
36066         * include/locale.h: Likewise.
36067         * include/math.h: Likewise.
36068         * include/net/if.h: Likewise.
36069         * include/netdb.h: Likewise.
36070         * include/netinet/in.h: Likewise.
36071         * include/pthread.h: Likewise.
36072         * include/pwd.h: Likewise.
36073         * include/regex.h: Likewise.
36074         * include/sched.h: Likewise.
36075         * include/search.h: Likewise.
36076         * include/setjmp.h: Likewise.
36077         * include/signal.h: Likewise.
36078         * include/stdio.h: Likewise.
36079         * include/stdlib.h: Likewise.
36080         * include/string.h: Likewise.
36081         * include/sys/cdefs.h: Likewise.
36082         * include/sys/mman.h: Likewise.
36083         * include/sys/msg.h: Likewise.
36084         * include/sys/resource.h: Likewise.
36085         * include/sys/select.h: Likewise.
36086         * include/sys/socket.h: Likewise.
36087         * include/sys/stat.h: Likewise.
36088         * include/sys/statvfs.h: Likewise.
36089         * include/sys/time.h: Likewise.
36090         * include/sys/times.h: Likewise.
36091         * include/sys/uio.h: Likewise.
36092         * include/sys/utsname.h: Likewise.
36093         * include/sys/wait.h: Likewise.
36094         * include/termios.h: Likewise.
36095         * include/time.h: Likewise.
36096         * include/ulimit.h: Likewise.
36097         * include/unistd.h: Likewise.
36098         * include/utime.h: Likewise.
36099         * include/wchar.h: Likewise.
36100         * include/wctype.h: Likewise.
36101         * include/wordexp.h: Likewise.
36103         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36105         * time/time.h: TIME_UTC must be a macro.
36106         Make timespec_get available for ISO C11 only as well.
36108 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36110         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36111         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36113 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36115         * configure.in: Use -o not -a in test for unsupported multi-arch.
36117 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36119         * manual/texinfo.tex: Update to version 2012-01-19.16.
36121 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36123         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36125 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36127         [BZ #13738]
36128         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36129         * manual/fdl-1.3.texi: New file.
36130         * manual/fdl-1.1.texi: File removed.
36132         [BZ #13738]
36133         * manual/libc.texinfo (FDL_VERSION): New @set.
36134         Use it for mention of FDL in cover text.
36135         (Documentation License): Use it in @include file name.
36137 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36138             Roland McGrath  <roland@hack.frob.com>
36140         [BZ #5461]
36141         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36142         (not LONG_LONG_MAX and LONG_LONG_MIN.
36143         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36144         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36145         name.
36146         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36148 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36150         [BZ #2547]
36151         [BZ #11365]
36152         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36153         manipulate bits before adding and subtracting TWO23[sx].
36154         * math/libm-test.inc (nearbyint_test): Add more tests.
36156 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36158         [BZ #2548]
36159         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36160         bits before adding and subtracting TWO23[sx].
36161         * math/libm-test.inc (rint_test): Add more tests.
36162         (rint_test_tonearest): Likewise.
36163         (rint_test_towardzero): Likewise.
36164         (rint_test_downward): Likewise.
36165         (rint_test_upward: Likewise.
36167 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36169         [BZ #10110]
36170         * include/stdc-predef.h: New file.  Extracted from features.h.
36171         * include/features.h: Include stdc-predef.h.
36172         * Makefile (headers): Add stdc-predef.h.
36173         * CONFORMANCE (Compiler limitations): Update.
36175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36177         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36179 2012-02-21  David S. Miller  <davem@davemloft.net>
36181         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36182         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36184 2012-02-20  David S. Miller  <davem@davemloft.net>
36186         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36187         using a normal save/restore sequence, rather than allocating a
36188         dummy stack frame just to store a frame pointer and restore.
36189         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36191 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36193         * manual/install.texi: Fix stray word in line-wrapped comment.
36195 2012-02-20  David S. Miller  <davem@davemloft.net>
36197         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36198         both binutils and gcc support GOTDATA.
36200         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36201         "rd %pc" in the PIC register setup sequences.
36203         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36204         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36205         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36206         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36207         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36209         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36210         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36212         (SYSCALL_ERROR_HANDLER): Likewise.
36213         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36214         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36216         (SYSCALL_ERROR_HANDLER): Likewise.
36218         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36219         (HAVE_GCC_GOTDATA): New.
36220         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36221         relocation support in both binutils and gcc.
36222         * sysdeps/sparc/elf/configure: Regenerate.
36224         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36225         * sysdeps/sparc/sparc32/elf/configure: Delete.
36226         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36227         * sysdeps/sparc/sparc64/elf/configure: Delete.
36228         * sysdeps/sparc/elf/configure.in: New file.
36229         * sysdeps/sparc/elf/configure: Generate.
36231         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36232         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36233         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36234         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36235         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36237 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36239         * manual/install.texi: Do not mention specific glibc version
36240         numbers.
36241         * manual/libc.texinfo (VERSION, UPDATED): Update.
36242         (@copying): Use @copyright{} and range of years.
36244 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36246         [BZ #13695]
36247         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36248         [crti.S not in sysdirs] (generated): Do not append.
36249         [crti.S not in sysdirs] (omit-deps): Likewise.
36250         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36251         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36252         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36253         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36254         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36255         Likewise.
36256         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36257         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36258         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36259         * csu/defs.awk: Remove file.
36260         * sysdeps/generic/initfini.c: Likewise.
36261         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36262         variable.
36263         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36264         Likewise.
36266 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36268         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36269         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36271         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36272         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36273         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36274         <bits/epoll.h>.
36275         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36276         (__EPOLL_PACKED): Define to empty if not defined by
36277         <bits/epoll.h>.
36278         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36280         bits/epoll.h.
36282 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36284         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36285         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36286         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36287         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36288         <bits/timerfd.h>.
36289         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36291         bits/timerfd.h.
36293 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36295         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36296         in C locale.
36297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36298         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36299         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36302 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36304         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36305         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36307 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36309         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36310         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36311         defined.
36312         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36313         Likewise.
36314         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36315         entry for 2.16.
36317 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36319         * math/w_acos.c: Use non-signaling floating-point comparisons.
36320         * math/w_acosf.c: Likewise.
36321         * math/w_acosh.c: Likewise.
36322         * math/w_acoshf.c: Likewise.
36323         * math/w_acoshl.c: Likewise.
36324         * math/w_acosl.c: Likewise.
36325         * math/w_asin.c: Likewise.
36326         * math/w_asinf.c: Likewise.
36327         * math/w_asinl.c: Likewise.
36328         * math/w_atanh.c: Likewise.
36329         * math/w_atanhf.c: Likewise.
36330         * math/w_atanhl.c: Likewise.
36331         * math/w_exp2.c: Likewise.
36332         * math/w_exp2f.c: Likewise.
36333         * math/w_exp2l.c: Likewise.
36334         * math/w_j0.c: Likewise.
36335         * math/w_j0f.c: Likewise.
36336         * math/w_j0l.c: Likewise.
36337         * math/w_j1.c: Likewise.
36338         * math/w_j1f.c: Likewise.
36339         * math/w_j1l.c: Likewise.
36340         * math/w_jn.c: Likewise.
36341         * math/w_jnf.c: Likewise.
36342         * math/w_log.c: Likewise.
36343         * math/w_log10.c: Likewise.
36344         * math/w_log10f.c: Likewise.
36345         * math/w_log10l.c: Likewise.
36346         * math/w_log2.c: Likewise.
36347         * math/w_log2f.c: Likewise.
36348         * math/w_log2l.c: Likewise.
36349         * math/w_logf.c: Likewise.
36350         * math/w_logl.c: Likewise.
36351         * math/w_sqrt.c: Likewise.
36352         * math/w_sqrtf.c: Likewise.
36353         * math/w_sqrtl.c: Likewise.
36354         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36355         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36356         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36357         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36358         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36360 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36362         [BZ #9739]
36363         * manual/string.texi (strnlen): Use correct parameter name in
36364         equivalent expression.
36366 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36368         [BZ #11174]
36369         * manual/users.texi (seteuid): Consistently use neweuid for
36370         argument name.
36372 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36374         [BZ #13704]
36375         * manual/nss.texi (Services in the NSS configuration): Correct
36376         list of services in example configuration file.
36378 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36380         [BZ #11322]
36381         * manual/arith.texi: Remove statements about negative zero
36382         behaving identically to zero.
36384 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36386         [BZ #5993]
36387         * manual/install.texi: Do not document upgrading from libc5.
36389 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36391         [BZ #4596]
36392         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36394 2012-02-18  David S. Miller  <davem@davemloft.net>
36396         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36397         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36398         %o7 across the call.
36399         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36400         instead.
36401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36402         SETUP_PIC_REG_LEAF.
36403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36404         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36405         * sysdeps/sparc/crtn.S: Likewise.
36407 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36409         * aout/Makefile: Remove.
36411 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36413         [BZ #13058]
36414         * manual/examples/argp-ex1.c (main): Format definition in GNU
36415         style.
36416         * manual/examples/argp-ex2.c (main): Likewise.
36417         * manual/examples/argp-ex3.c (main): Likewise.
36418         * manual/examples/argp-ex4.c (main): Likewise.
36419         * manual/examples/longopt.c (main): Use new-style prototype
36420         definition.
36421         * manual/examples/strncat.c (main): Specify return type and use
36422         (void) for arguments.
36423         * manual/examples/subopt.c (main): Use char **argv argument.
36425 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36427         [BZ #5077]
36428         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36429         rounding modes.
36431 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36433         [BZ #6907]
36434         * manual/string.texi (strchr): Change when strchrnul is
36435         recommended.
36437 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36439         [BZ #174]
36440         * manual/locale.texi (setlocale): Document LOCPATH.
36442 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36444         [BZ #10210]
36445         * manual/process.texi (execle): Move @dots{} before last argument.
36447 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36449         [BZ #12047]
36450         * manual/charset.texi (Generic Charset Conversion): Fix typo
36451         (LC_TYPE -> LC_CTYPE).
36453 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36455         [BZ #5805]
36456         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36457         (scalbnf): Likewise.
36458         (scalbnl): Likewise.
36459         (scalbln): Likewise.
36460         (scalblnf): Likewise.
36461         (scalblnl): Likewise.
36462         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36463         (vwarnx): Likewise.
36464         (verr): Likewise.
36465         (verrx): Likewise.
36466         * manual/filesys.texi (telldir): Use braces around return type.
36467         * manual/llio.texi (mmap): Add space after comma.
36468         (mmap64): Likewise.
36469         * manual/math.texi (jn): Use @var{} on parameter names.
36470         (jnf): Likewise.
36471         (jnl): Likewise.
36472         (yn): Likewise.
36473         (ynf): Likewise.
36474         (ynl): Likewise.
36475         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36476         line.
36477         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36478         "...".
36479         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36480         (sched_get_priority_max): Likewise.
36481         * manual/signal.texi (sigvec): Add space after comma.
36482         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36483         names.
36484         (if_indextoname): Likewise.
36485         (if_freenameindex): Likewise.
36486         (sendto): Use ',' instead of '.' in prototype.
36487         * manual/startup.texi (syscall): Use @dots{} instead of literal
36488         "...".
36489         * manual/stdio.texi (__fpending): Separate initial words of
36490         paragraph from @deftypefun line.
36491         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36492         "...".
36493         (vsyslog): Use @var{} on parameter names.
36494         * manual/terminal.texi (stty): Use @var{} on parameter names.
36495         * manual/users.texi (getutmp): Use @var{} on parameter names.
36496         (getutmpx): Likewise.
36498 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36500         [BZ #6884]
36501         * manual/stdio.texi (fopen): Fix typos in description of
36502         ",ccs=STRING".
36504 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36506         [BZ #4026]
36507         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36508         get clock_id definition.
36510 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36512         [BZ #4822]
36513         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36514         (madvise): Cast every argument to void on its own.
36516 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36518         [BZ #9902]
36519         * manual/startup.texi (Exit Status): Fix typo.
36521 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #10140]
36524         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36525         * manual/examples/argp-ex2.c: Likewise.
36526         * manual/examples/argp-ex3.c: Likewise.
36528 2012-02-16  Richard Henderson  <rth@redhat.com>
36530         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36531         * sysdeps/s390/s390-32/initfini.c: Remove.
36532         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36533         * sysdeps/s390/s390-64/initfini.c: Remove.
36535 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36537         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36538         compiler output for sysdeps/generic/initfini.c.
36539         * sysdeps/sh/elf/initfini.c: Remove file.
36541 2012-02-16  David S. Miller  <davem@davemloft.net>
36543         [BZ #11494]
36544         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36546         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36547         * sysdeps/sparc/crti.S: New file.
36548         * sysdeps/sparc/crtn.S: New file.
36549         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36550         * sysdeps/sparc/sparc64/Makefile: Likewise.
36552 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36554         [BZ #3335]
36555         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36557 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36559         [BZ #4822]
36560         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36562         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36563         (write, read, close): Likewise.
36564         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36566 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36568         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36569         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36570         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36571         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36572         <bits/signalfd.h>.
36573         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36575         bits/signalfd.h.
36577 2012-02-14  Marek Polacek  <polacek@redhat.com>
36579         * sysdeps/x86_64/crti.S: New file.
36580         * sysdeps/x86_64/crtn.S: New file.
36581         * sysdeps/x86_64/elf/initfini.c: Remove file.
36583 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36585         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36586         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36587         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36588         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36589         <bits/inotify.h>.
36590         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36592         bits/inotify.h.
36594 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36596         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36597         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36598         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36599         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36600         <bits/eventfd.h>.
36601         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36603         bits/eventfd.h.
36605 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36607         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36608         __feraiseexcept instead of feraiseexcept.
36610         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36611         nanosleep invocations.
36612         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36613         strings, and add error checking for a nanosleep invocations.
36615 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36617         Replace FSF snail mail address with URLs, as per GNU coding standards.
36618         Most of the snail mail addresses were wrong anyway, and omitting
36619         them makes the source code easier to maintain.  Almost all of the
36620         changes are to license notices and to locale LC_IDENTIFICATION
36621         addresses, except for this one:
36622         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36623         not its snail mail address.
36625 2012-02-09  Richard Henderson  <rth@twiddle.net>
36627         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36628         of kernel-features.h.
36630         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36632 2012-02-08  Marek Polacek  <polacek@redhat.com>
36634         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36635         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36636         * sysdeps/gnu/_G_config.h: Likewise.
36637         * sysdeps/generic/_G_config.h: Likewise.
36639 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36641         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36642         tests.
36643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36645         * sysdeps/powerpc/powerpc32/crti.S: New file.
36646         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36647         * sysdeps/powerpc/powerpc64/crti.S: New file.
36648         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36650         * Makeconfig (have-initfini): Don't set.
36651         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36652         * configure.in (nopic_initfini): Don't substitute.
36653         * config.h.in (HAVE_INITFINI): Don't #undef.
36654         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36655         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36657 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36659         Support crti.S and crtn.S provided directly by architectures.
36660         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36661         [crti.S in sysdirs] (omit-deps): Likewise.
36662         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36663         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36664         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36665         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36666         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36667         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36668         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36669         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36670         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36671         compiler output for sysdeps/generic/initfini.c.
36672         * sysdeps/i386/elf/Makefile: Remove file.
36673         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36675 2012-02-07  Marek Polacek  <polacek@redhat.com>
36677         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36678         * sysdeps/gnu/_G_config.h: Likewise.
36679         * sysdeps/mach/hurd/_G_config.h: Likewise.
36681 2012-02-07  Marek Polacek  <polacek@redhat.com>
36683         * math/Makefile (tests): Add tst-CMPLX2.
36684         * math/tst-CMPLX2.c: New file.
36686 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36688         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36690         * math/libm-test.inc (jn_test): Add missing L suffix.
36692 2012-02-06  Marek Polacek  <polacek@redhat.com>
36694         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36695         * sysdeps/i386/fpu/e_powf.S: Likewise.
36696         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36697         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36698         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36699         * sysdeps/i386/fpu/e_pow.S: Likewise.
36700         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36701         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36702         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36703         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36704         * sysdeps/i386/fpu/e_log2.S: Likewise.
36705         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36706         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36707         * sysdeps/i386/fpu/e_powl.S: Likewise.
36708         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36709         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36710         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36711         * sysdeps/i386/fpu/e_logl.S: Likewise.
36712         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36713         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36714         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36715         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36716         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36717         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36718         * sysdeps/i386/fpu/e_log.S: Likewise.
36719         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36720         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36721         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36722         * sysdeps/i386/fpu/e_logf.S: Likewise.
36723         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36724         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36725         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36726         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36727         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36728         * sysdeps/i386/fpu/e_log10.S: Likewise.
36729         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36730         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36731         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36732         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36733         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36734         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36735         * sysdeps/i386/asm-syntax.h: Likewise.
36736         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36737         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36738         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36739         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36740         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36741         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36742         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36743         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36744         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36745         * sysdeps/powerpc/sysdep.h: Likewise.
36746         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36747         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36749 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36751         [BZ #411]
36752         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36754 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36756         * sysdeps/i386/sysdep.h: Include <features.h>.
36757         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36758         version.
36760 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36762         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36763         Define.
36764         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36765         LOAD_PIC_REG_STR.
36767 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36769         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36770         (SETUP_PIC_REG): Use GET_PC_THUNK.
36771         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36772         macro.
36774 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36776         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36777         for non-PIC compilation.
36778         (SETUP_PIC_REG): Add .p2align directive.
36779         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36780         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36781         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36782         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36783         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36784         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36785         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36786         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36787         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36788         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36789         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36790         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36791         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36792         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36793         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36794         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36795         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36796         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36797         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36798         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36800         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36801         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36802         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36804         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36805         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36806         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36807         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36808         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36809         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36810         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36811         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36812         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36813         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36814         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36815         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36816         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36817         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36818         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36819         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36821 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36823         * math/tst-CMPLX.c: Include <stdio.h>.
36825 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36827         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36828         float.
36829         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36830         * sysdeps/sparc/bits/mathdef.h: Likewise.
36832 2012-01-31  Marek Polacek  <polacek@redhat.com>
36834         * libio/libio.h: Don't define _PARAMS.
36835         * locale/programs/config.h: Don't define PARAMS.
36836         * stdlib/strtol_l.c: Likewise.
36837         (__strtol_l): Remove PARAMS from the prototype.
36839 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36841         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36842         names.  Just use the correct names.  Remove unnecessary wrapper
36843         functions.
36844         * malloc/arena.c: Likewise.
36845         * malloc/hooks.c: Likewise.
36847         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36848         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36849         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36851 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36853         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36854         into tail calls.
36855         (update_get_addr): New function.
36856         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36857         GET_ADDR_MODULE parameter.
36859 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36861         * crypt/cert.c: Remove __STDC__ conditionals.
36862         * crypt/crypt-entry.c: Likewise.
36863         * crypt/crypt_util.c: Likewise.
36864         * libio/filedoalloc.c: Likewise.
36865         * libio/fileops.c: Likewise.
36866         * libio/genops.c: Likewise.
36867         * libio/iofclose.c: Likewise.
36868         * libio/iofdopen.c: Likewise.
36869         * libio/iofopen.c: Likewise.
36870         * libio/iofopen64.c: Likewise.
36871         * libio/iogetdelim.c: Likewise.
36872         * libio/iopopen.c: Likewise.
36873         * libio/obprintf.c: Likewise.
36874         * libio/oldfileops.c: Likewise.
36875         * libio/oldiofclose.c: Likewise.
36876         * libio/oldiofdopen.c: Likewise.
36877         * libio/oldiofopen.c: Likewise.
36878         * libio/oldiopopen.c: Likewise.
36879         * libio/wfiledoalloc.c: Likewise.
36880         * libio/wgenops.c: Likewise.
36881         * locale/programs/xmalloc.c: Likewise.
36882         * misc/syslog.c: Likewise.
36883         * stdio-common/xbug.c: Likewise.
36884         * string/memchr.c: Likewise.
36885         * string/memcmp.c: Likewise.
36886         * string/memrchr.c: Likewise.
36887         * string/rawmemchr.c: Likewise.
36888         * sysdeps/posix/getcwd.c: Likewise.
36889         * time/strftime_l.c: Likewise.
36891 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36893         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36894         * config.make.in (config-cflags-sse2avx): Define.
36895         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36896         Fix typo.
36898 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
36900         * scripts/config.guess: Update from upstream config git repository.
36901         * scripts/config.sub: Likewise.
36903 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
36905         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36906         (EM_NUM): Update.
36907         (R_TILEPRO_*, R_TILEGX_*): New macros.
36909         * scripts/firstversions.awk: Fix bug in version range handling.
36911         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36913         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36915         * include/sys/epoll.h: New file.
36916         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36917         libc_hidden_def.
36919 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
36921         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36922         Avoid unnecessary __WORDSIZE == 64 test.
36923         (fmaxf): Use VEX format if possible.
36924         (fmax): Likewise.
36925         (fminf): Likewise.
36926         (fmin): Likewise.
36928         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36929         * math/math_private.h: Remove libc_fegetround* and
36930         libc_fesetround*.
36931         * sysdeps/i386/configure.in: Check for -msse2avx.
36932         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36933         also if SSE2AVX is defined.
36934         Remove libc_fegetround* and libc_fesetround*.
36935         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36936         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
36937         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36938         of HAS_YMM_USABLE.
36939         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36940         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36941         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36945         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36947 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36949         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36950         size is not set.
36951         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36953 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
36955         [BZ #13618]
36956         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36957         relocation.
36958         * Makeconfig (libm): Define.
36959         * elf/Makefile: Add rules to build and run tst-relsort1.
36960         * elf/tst-relsort1.c: New file.
36961         * elf/tst-relsort1mod1.c: New file.
36962         * elf/tst-relsort1mod2.c: New file.
36964 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
36966         * math/s_ldexp.c: Remove __STDC__ conditionals.
36967         * math/s_ldexpf.c: Likewise.
36968         * math/s_ldexpl.c: Likewise.
36969         * math/s_nextafter.c: Likewise.
36970         * math/s_nexttowardf.c: Likewise.
36971         * math/s_significand.c: Likewise.
36972         * math/s_significandf.c: Likewise.
36973         * math/s_significandl.c: Likewise.
36974         * math/w_jnl.c: Likewise.
36975         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36976         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36977         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36978         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36979         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36980         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36981         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36982         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36983         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36984         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36985         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36986         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36988         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36989         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36990         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36991         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36992         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36993         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36994         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36995         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36996         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36997         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36998         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36999         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37000         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37001         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37002         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37003         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37004         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37005         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37006         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37007         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37008         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37009         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37010         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37011         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37012         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37013         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37014         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37015         * sysdeps/ieee754/k_standard.c: Likewise.
37016         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37017         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37018         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37019         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37020         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37022         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37023         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37024         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37025         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37026         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37027         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37028         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37029         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37030         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37031         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37032         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37034         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37035         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37036         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37037         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37038         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37039         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37040         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37041         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37045         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37047         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37048         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37049         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37051         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37052         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37053         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37054         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37055         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37056         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37057         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37058         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37059         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37060         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37061         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37064         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37065         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37066         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37067         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37068         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37070         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37071         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37072         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37073         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37074         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37075         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37076         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37077         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37078         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37079         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37080         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37081         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37082         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37083         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37084         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37085         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37086         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37087         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37088         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37089         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37090         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37091         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37092         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37093         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37094         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37095         * sysdeps/ieee754/s_matherr.c: Likewise.
37096         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37097         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37101 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37103         * crypt/md5.h: Remove __STDC__ conditionals.
37104         * libio/libioP.h: Likewise.
37105         * locale/programs/config.h: Likewise.
37106         * sysdeps/generic/sysdep.h: Likewise.
37107         * sysdeps/i386/asm-syntax.h: Likewise.
37108         * sysdeps/s390/asm-syntax.h: Likewise.
37109         * sysdeps/unix/sysdep.h: Likewise.
37110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37113 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37115         * libio/libio.h: Remove __STDC__ conditionals.
37116         * malloc/obstack.h: Likewise.
37117         * math/complex.h: Likewise.
37118         * math/math.h: Likewise.
37119         * sysdeps/generic/_G_config.h: Likewise.
37120         * sysdeps/gnu/_G_config.h: Likewise.
37121         * sysdeps/mach/hurd/_G_config.h: Likewise.
37122         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37123         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37124         * sysdeps/sparc/bits/mathdef.h: Likewise.
37126 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37128         [BZ #13583]
37129         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37130         Clean up HAS_* macros.
37131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37132         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37133         possible.
37134         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37135         HAS_AVX.
37136         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37137         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37138         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37139         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37140         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37142 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37144         * elf/tst-unique3.cc (gets): Remove declaration.
37145         * elf/tst-unique3lib.cc (gets): Likewise.
37146         * elf/tst-unique3lib2.cc (gets): Likewise.
37147         * elf/tst-unique4.cc (gets): Likewise.
37149 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37151         * include/stdio.h: Add C++ protection.  Add gets declarations and
37152         definitions.
37153         * debug/tst-chk1.c: Don't declare gets here.
37154         * stdio-common/tst-gets.c: Likewise.
37156 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37158         * posix/glob: Remove directory.
37160 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37162         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37164 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37166         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37167         of the non-standard EPFNOSUPPORT.
37169 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37171         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37172         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37173         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37175 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37177         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37179 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37181         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37182         transient errors.
37183         * nscd/grpcache.c (cache_addgr): Likewise.
37184         * nscd/hstcache.c (cache_addhst): Likewise.
37185         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37186         * nscd/pwdcache.c (cache_addpw): Likewise.
37187         * nscd/servicescache.c (cache_addserv): Likewise.
37189 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37191         * malloc/malloc.c: Various cleanups.
37192         * malloc/hooks.c: Likewise.
37194         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37195         * stdlib/bug-fmtmsg1.c: New file.
37197         * stdlib/fmtmsg.c (init): Add missing unlock.
37198         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37200 2012-01-12  Marek Polacek  <polacek@redhat.com>
37202         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37203         and _GNU_SOURCE.
37205 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37207         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37208         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37209         macro to ensure uniqueness of label name.
37210         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37211         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37213 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37215         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37217         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37218         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37219         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37222 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37224         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37226         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37227         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37228         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37230         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37232         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37233         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37234         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37237         * math/bits/math-finite.h: Add ldexp support.
37239 2012-01-10  Marek Polacek  <polacek@redhat.com>
37241         * locale/programs/localedef.h (show_archive_content): Add noreturn
37242         attribute.
37244 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37246         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37248 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37250         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37252         * io/Makefile (headers): Add bits/poll2.h.
37254 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37257         typo #include statement.
37259 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37261         * include/sys/cdefs.h: Define __attribute_alloc_size.
37262         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37263         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37264         * elf/pldd.c: Likewise.
37265         * iconv/iconv_charmap.c: Likewise.
37266         * iconv/iconvconfig.c: Likewise.
37267         * iconv/strtab.c: Likewise.
37268         * locale/programs/locale.c: Likewise.
37269         * locale/programs/localedef.h: Likewise.
37270         * locale/programs/simple-hash.c: Likewise.
37271         * nscd/nscd.h: Likewise.
37272         * nss/makedb.c: Likewise.
37273         * sysdeps/generic/ldconfig.h: Likewise.
37274         * locale/programs/localedef.c: Remove xmalloc prototype.
37275         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37277 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37279         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37280         appropriate.
37282 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37284         * math/Makefile (tests): Add tst-CMPLX.
37285         * math/tst-CMPLX.c: New file.
37287         * math/complex.h (CMPLXL): Fix typo.
37289         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37290         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37291         GLIBC_2.16.
37292         * debug/tst-chk1.c: Add poll and ppoll tests.
37293         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37294         * include/sys/poll.h: Add hidden proto for ppoll.
37295         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37296         * sysdeps/mach/hurd/ppoll.c: Likewise.
37297         * io/ppoll.c: Likewise.
37298         * debug/poll_chk.c: New file.
37299         * debug/ppoll_chk.c: New file.
37300         * include/bits/poll2.h: New file.
37301         * io/bits/poll2.h: New file.
37303         [BZ #1350]
37304         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37306         * configure.in: static is always set to yes.  Remove.
37307         * config.make.in: Don't set build-static.
37308         * Makeconfig: Remove use of build-static.
37309         * dlfcn/Makefile: Likewise.
37310         * elf/Makefile: Likewise.
37311         * math/Makefile: Likewise.
37312         * misc/Makefile: Likewise.
37313         * nptl/Makefile: Likewise.
37314         * sysdeps/mach/hurd/Makefile: Likewise.
37316         * configure.in: PWD_P is not used anymore.
37317         * config.make.in: Remove PWD_P entry.
37319         * configure.in: Remove last remnants of RANLIB.
37320         No need to check for signed size_t anymore.
37321         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37322         and IA-64.
37323         Remove __builtin_expect test because we require at least gcc 3.4.
37324         * aclocal.m4: Likewise.
37326         * wcsmbs/mbrtoc16.c: Implement using towc function.
37327         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37328         * wcsmbs/wcsmbsload.c: Likewise.
37329         * iconv/gconv_simple.c: Likewise.
37330         * iconv/gconv_int.h: Likewise.
37331         * iconv/gconv_builtin.h: Likewise.
37332         * iconv/iconv_prog.c: Remove CHAR16 handling.
37334         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37336         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37338         * configure.in: Remove --with-elf and --enable-bounded options.
37339         Dont set base_machine for ia64.  More non-ELF conditions removed.
37340         Remove testing and setting of leading underscore information.
37341         * config.make.in (build-bounded): Set to no.
37342         * config.h.in: Remove NO_UNDERSCORES entry.
37343         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37344         them.
37345         * csu/start.c: Remove !NO_UNDERSCORE code.
37346         * locale/localeinfo.h: Likewise.
37347         * sysdeps/generic/machine-gmon.h: Likewise.
37348         * sysdeps/generic/sysdep.h: Likewise.
37349         * sysdeps/i386/sysdep.h: Likewise.
37350         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37351         * sysdeps/mach/sysdep.h: Likewise.
37352         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37353         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37354         * sysdeps/sh/sysdep.h: Likewise.
37355         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37356         * sysdeps/unix/i386/sysdep.S: Likewise.
37357         * sysdeps/unix/sparc/start.c: Likewise.
37358         * sysdeps/unix/sparc/sysdep.S: Likewise.
37359         * sysdeps/unix/sparc/sysdep.h: Likewise.
37360         * sysdeps/unix/start.c: Likewise.
37361         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37362         * sysdeps/x86_64/sysdep.h: Likewise.
37364 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37366         [BZ #13553]
37367         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37368         for non-gcc.
37369         * argp/argp-fmtstream.h: Use const instead __const.
37370         * argp/argp.h: Likewise.
37371         * assert/assert.h: Likewise.
37372         * bits/fenv.h: Likewise.
37373         * bits/sched.h: Likewise.
37374         * bits/sigset.h: Likewise.
37375         * bits/sigthread.h: Likewise.
37376         * catgets/nl_types.h: Likewise.
37377         * conform/data/pthread.h-data: Likewise.
37378         * crypt/crypt-private.h: Likewise.
37379         * crypt/crypt.h: Likewise.
37380         * crypt/crypt_util.c: Likewise.
37381         * ctype/ctype.h: Likewise.
37382         * debug/execinfo.h: Likewise.
37383         * debug/mbsnrtowcs_chk.c: Likewise.
37384         * debug/mbsrtowcs_chk.c: Likewise.
37385         * debug/wcsnrtombs_chk.c: Likewise.
37386         * debug/wcsrtombs_chk.c: Likewise.
37387         * debug/wcstombs_chk.c: Likewise.
37388         * dirent/dirent.h: Likewise.
37389         * dlfcn/dlfcn.h: Likewise.
37390         * elf/neededtest4.c: Likewise.
37391         * grp/grp.h: Likewise.
37392         * gshadow/gshadow.h: Likewise.
37393         * iconv/gconv.h: Likewise.
37394         * iconv/gconv_int.h: Likewise.
37395         * iconv/gconv_simple.c: Likewise.
37396         * iconv/iconv.h: Likewise.
37397         * iconv/loop.c: Likewise.
37398         * iconv/skeleton.c: Likewise.
37399         * include/aio.h: Likewise.
37400         * include/aliases.h: Likewise.
37401         * include/argz.h: Likewise.
37402         * include/arpa/inet.h: Likewise.
37403         * include/assert.h: Likewise.
37404         * include/dirent.h: Likewise.
37405         * include/dlfcn.h: Likewise.
37406         * include/execinfo.h: Likewise.
37407         * include/fcntl.h: Likewise.
37408         * include/fenv.h: Likewise.
37409         * include/glob.h: Likewise.
37410         * include/grp.h: Likewise.
37411         * include/libintl.h: Likewise.
37412         * include/mntent.h: Likewise.
37413         * include/netdb.h: Likewise.
37414         * include/pwd.h: Likewise.
37415         * include/rpc/netdb.h: Likewise.
37416         * include/sched.h: Likewise.
37417         * include/search.h: Likewise.
37418         * include/shadow.h: Likewise.
37419         * include/signal.h: Likewise.
37420         * include/stdio.h: Likewise.
37421         * include/stdlib.h: Likewise.
37422         * include/string.h: Likewise.
37423         * include/sys/socket.h: Likewise.
37424         * include/sys/stat.h: Likewise.
37425         * include/sys/statfs.h: Likewise.
37426         * include/sys/statvfs.h: Likewise.
37427         * include/sys/syslog.h: Likewise.
37428         * include/sys/time.h: Likewise.
37429         * include/sys/uio.h: Likewise.
37430         * include/time.h: Likewise.
37431         * include/unistd.h: Likewise.
37432         * include/utmp.h: Likewise.
37433         * include/wchar.h: Likewise.
37434         * include/wctype.h: Likewise.
37435         * inet/aliases.h: Likewise.
37436         * inet/arpa/inet.h: Likewise.
37437         * inet/netinet/ether.h: Likewise.
37438         * inet/netinet/in.h: Likewise.
37439         * intl/libintl.h: Likewise.
37440         * io/bits/fcntl2.h: Likewise.
37441         * io/fcntl.h: Likewise.
37442         * io/ftw.h: Likewise.
37443         * io/sys/poll.h: Likewise.
37444         * io/sys/stat.h: Likewise.
37445         * io/sys/statfs.h: Likewise.
37446         * io/sys/statvfs.h: Likewise.
37447         * io/utime.h: Likewise.
37448         * libio/bits/stdio.h: Likewise.
37449         * libio/bits/stdio2.h: Likewise.
37450         * libio/libio.h: Likewise.
37451         * libio/libioP.h: Likewise.
37452         * libio/stdio.h: Likewise.
37453         * locale/lc-ctype.c: Likewise.
37454         * locale/locale.h: Likewise.
37455         * login/utmp.h: Likewise.
37456         * malloc/arena.c: Likewise.
37457         * malloc/malloc.c: Likewise.
37458         * malloc/malloc.h: Likewise.
37459         * malloc/mcheck.c: Likewise.
37460         * malloc/mtrace.c: Likewise.
37461         * math/bits/mathcalls.h: Likewise.
37462         * math/fenv.h: Likewise.
37463         * math/math_private.h: Likewise.
37464         * misc/bits/error.h: Likewise.
37465         * misc/bits/syslog.h: Likewise.
37466         * misc/err.h: Likewise.
37467         * misc/error.h: Likewise.
37468         * misc/fstab.h: Likewise.
37469         * misc/mntent.h: Likewise.
37470         * misc/regexp.h: Likewise.
37471         * misc/search.h: Likewise.
37472         * misc/sgtty.h: Likewise.
37473         * misc/sys/mman.h: Likewise.
37474         * misc/sys/syslog.h: Likewise.
37475         * misc/sys/uio.h: Likewise.
37476         * misc/sys/xattr.h: Likewise.
37477         * misc/ttyent.h: Likewise.
37478         * nis/rpcsvc/ypclnt.h: Likewise.
37479         * nss/nss.h: Likewise.
37480         * posix/bits/unistd.h: Likewise.
37481         * posix/fnmatch.h: Likewise.
37482         * posix/glob.h: Likewise.
37483         * posix/sched.h: Likewise.
37484         * posix/spawn.h: Likewise.
37485         * posix/sys/wait.h: Likewise.
37486         * posix/unistd.h: Likewise.
37487         * posix/wordexp.h: Likewise.
37488         * pwd/pwd.h: Likewise.
37489         * resolv/netdb.h: Likewise.
37490         * resource/sys/resource.h: Likewise.
37491         * rt/aio.h: Likewise.
37492         * rt/bits/mqueue2.h: Likewise.
37493         * rt/mqueue.h: Likewise.
37494         * shadow/shadow.h: Likewise.
37495         * signal/signal.h: Likewise.
37496         * socket/send.c: Likewise.
37497         * socket/sendto.c: Likewise.
37498         * socket/sys/socket.h: Likewise.
37499         * stdio-common/printf.h: Likewise.
37500         * stdlib/bits/stdlib.h: Likewise.
37501         * stdlib/fmtmsg.h: Likewise.
37502         * stdlib/monetary.h: Likewise.
37503         * stdlib/stdlib.h: Likewise.
37504         * stdlib/ucontext.h: Likewise.
37505         * streams/stropts.h: Likewise.
37506         * string/argz.h: Likewise.
37507         * string/bits/string2.h: Likewise.
37508         * string/string.h: Likewise.
37509         * string/strings.h: Likewise.
37510         * sunrpc/rpc/auth.h: Likewise.
37511         * sunrpc/rpc/auth_des.h: Likewise.
37512         * sunrpc/rpc/clnt.h: Likewise.
37513         * sunrpc/rpc/netdb.h: Likewise.
37514         * sunrpc/rpc/pmap_clnt.h: Likewise.
37515         * sunrpc/rpc/xdr.h: Likewise.
37516         * sysdeps/generic/inttypes.h: Likewise.
37517         * sysdeps/generic/net/if.h: Likewise.
37518         * sysdeps/generic/sys/swap.h: Likewise.
37519         * sysdeps/gnu/net/if.h: Likewise.
37520         * sysdeps/gnu/utmpx.h: Likewise.
37521         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37522         * sysdeps/i386/i486/bits/string.h: Likewise.
37523         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37524         * sysdeps/s390/bits/string.h: Likewise.
37525         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37526         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37527         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37528         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37529         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37530         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37531         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37532         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37533         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37534         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37535         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37536         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37537         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37538         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37539         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37540         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37541         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37542         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37543         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37544         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37545         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37546         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37547         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37548         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37549         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37550         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37551         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37552         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37553         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37554         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37555         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37556         * sysvipc/sys/ipc.h: Likewise.
37557         * sysvipc/sys/msg.h: Likewise.
37558         * sysvipc/sys/sem.h: Likewise.
37559         * sysvipc/sys/shm.h: Likewise.
37560         * termios/termios.h: Likewise.
37561         * time/sys/time.h: Likewise.
37562         * time/time.h: Likewise.
37563         * wcsmbs/bits/wchar2.h: Likewise.
37564         * wcsmbs/uchar.h: Likewise.
37565         * wcsmbs/wchar.h: Likewise.
37566         * wctype/wctype.h: Likewise.
37568         [BZ #13551]
37569         * Makeconfig: Remove all but ELF support including AIX support.
37570         * Makerules: Likewise.
37571         * config.h.in: Likewise.
37572         * config.make.in: Likewise.
37573         * configure: Likewise.
37574         * configure.in: Likewise.
37575         * csu/Makefile: Likewise.
37576         * csu/version.c: Likewise.
37577         * debug/Makefile: Likewise.
37578         * dlfcn/Makefile: Likewise.
37579         * elf/Makefile: Likewise.
37580         * extra-lib.mk: Likewise.
37581         * iconv/Makefile: Likewise.
37582         * include/libc-symbols.h: Likewise.
37583         * include/shlib-compat.h: Likewise.
37584         * resolv/Makefile: Likewise.
37585         * resolv/res_libc.c: Likewise.
37586         * rt/Makefile: Likewise.
37587         * sysdeps/i386/asm-syntax.h: Likewise.
37588         * sysdeps/i386/sysdep.h: Likewise.
37589         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37590         * sysdeps/mach/sysdep.h: Likewise.
37591         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37592         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37593         * sysdeps/s390/asm-syntax.h: Likewise.
37594         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37596         * sysdeps/sh/sysdep.h: Likewise.
37597         * sysdeps/unix/sparc/sysdep.h: Likewise.
37598         * sysdeps/wordsize-32/divdi3.c: Likewise.
37599         * sysdeps/x86_64/sysdep.h: Likewise.
37601         * argp/Versions: Remove _argp_unlock_xxx.
37603         [BZ #13559]
37604         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37605         * abilist/libBrokenLocale.abilist: Likewise.
37606         * abilist/libanl.abilist: Likewise.
37607         * abilist/libc.abilist: Likewise.
37608         * abilist/libcrypt.abilist: Likewise.
37609         * abilist/libdl.abilist: Likewise.
37610         * abilist/libm.abilist: Likewise.
37611         * abilist/libnsl.abilist: Likewise.
37612         * abilist/libpthread.abilist: Likewise.
37613         * abilist/libresolv.abilist: Likewise.
37614         * abilist/librt.abilist: Likewise.
37615         * abilist/libthread_db.abilist: Likewise.
37616         * abilist/libutil.abilist: Likewise.
37617         * abilist/libnss_db.abilist: New file.
37619         * scripts/abilist.awk: Add support for indirect functions.
37621         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37623         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37625         * shlib-versions: Remove entries for ports architectures.
37627         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37628         files in ports.
37629         * elf/stackguard-macros.h: Remove support for IA-64.
37630         * elf/tst-auditmod1.c: Likewise.
37631         * sysdeps/generic/ldsodefs.h: Likewise.
37633         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37634         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37635         configure files.
37637         [BZ #13552]
37638         * configure.in: Remove --enable-omitfp support.
37639         * FAQ.in: Adjust.
37640         * config.make.in: Likewise.
37641         * Makeconfig: Likewise.
37642         * manual/install.texi: Likewise.
37644         In case anyone cares, the IA-64 architecture could move to ports.
37645         * sysdeps/ia64/*: Removed.
37646         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37647         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37649         [BZ #13555]
37650         * configure.in: Remove entries for unsupported architectures.
37652         [BZ #13533]
37653         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37654         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37655         routines.
37656         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37657         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37658         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37659         fall back to using wcrtomb.
37660         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37661         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37662         renaming.
37663         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37664         * wcsmbs/tst-c16c32-1.c: New file.
37666         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37667         local variable.
37669         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37671         * elf/tst-unique3.cc: Add explicit declaration of gets.
37672         * elf/tst-unique3lib.cc: Likewise.
37673         * elf/tst-unique3lib2.cc: Likewise.
37674         * elf/tst-unique4.cc: Likewise.
37676         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37678 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37680         [BZ #13566]
37681         * assert/assert.h (static_assert): Don't define for C++.
37682         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37683         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37685 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37687         * iconv/loop.c (single loop): Fix assertion in storing of
37688         remaining bytes.
37690         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37692 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37694         * posix/getconf.c: Update copyright year.
37695         * nss/getent.c: Likewise.
37696         * nss/makedb.c: Likewise.
37697         * iconv/iconvconfig.c: Likewise.
37698         * iconv/iconv_prog.c: Likewise.
37699         * elf/ldconfig.c: Likewise.
37700         * elf/pldd.c: Likewise.
37701         * elf/sotruss.ksh: Likewise.
37702         * catgets/gencat.c: Likewise.
37703         * csu/version.c: Likewise.
37704         * elf/ldd.bash.in: Likewise.
37705         * elf/sprof.c (print_version): Likewise.
37706         * locale/programs/locale.c: Likewise.
37707         * locale/programs/localedef.c: Likewise.
37708         * login/programs/pt_chown.c: Likewise.
37709         * nscd/nscd.c (print_version): Likewise.
37710         * debug/xtrace.sh: Likewise.
37711         * malloc/memusage.sh: Likewise.
37712         * malloc/mtrace.pl: Likewise.
37713         * debug/catchsegv.sh: Likewise.
37715 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37717         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37718         pure attribute.
37720 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37722         [BZ #13533]
37723         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37724         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37725         transformations.
37726         * iconv/gconv_int.h: Likewise.
37727         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37728         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37729         from libc for GLIBC_2.16.
37730         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37731         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37732         * wcsmbs/uchar.h: Really define mbstate_t.
37733         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37734         * wcsmbs/c16rtomb.c: New file.
37735         * wcsmbs/mbrtoc16.c: New file.
37736         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37737         for C/POSIX locale.
37738         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37739         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37741         * wcsmbs/wchar.h: Add missing __restrict.
37743 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37745         [BZ #13532]
37746         * time/Makefile (routines): Add timespec_get.
37747         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37748         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37749         timespec for ISO C11.
37750         * time/timespec_get.c: New file.
37751         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37752         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37754         [BZ #13531]
37755         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37756         * stdlib/stdlib.h: Declare aligned_alloc.
37757         * Versions.def: Add GLIBC_2.16 for libc.
37758         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37760         [BZ 13527]
37761         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37762         ISO C11.
37764         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37765         code.
37767         [BZ #13528]
37768         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37770         [BZ #13529]
37771         * assert/assert.h (static_assert): Define.
37773         * version.h: Update for 2.16 development version.
37775         [BZ #13526]
37776         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37777         _ISOC11_SOURCE.
37779         * version.h (RELEASE): Bump for 2.15 release.
37780         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37782         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37783         Patch by Marek Polacek <mpolacek@redhat.com>.
37785         * bits/byteswap.h: Protect long long constants with __extension__.
37786         * sysdeps/i386/bits/byteswap.h: Likewise.
37787         * sysdeps/ia64/bits/byteswap.h: Likewise.
37788         * sysdeps/s390/bits/byteswap.h: Likewise.
37789         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37791 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37793         [BZ #13540]
37794         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37795         destination buffer.
37796         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37798 2011-12-23  Marek Polacek  <polacek@redhat.com>
37800         * elf/dl-addr.c (determine_info): Add inline keyword.
37801         * elf/tst-auditmod4b.c (check_avx): Likewise.
37802         * elf/tst-auditmod6b.c (check_avx): Likewise.
37803         * elf/tst-auditmod6c.c (check_avx): Likewise.
37804         * elf/tst-auditmod7b.c (check_avx): Likewise.
37806 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37808         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37809         !__SSE_MATH__.
37811 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37813         [BZ #13540]
37814         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37815         processing for last bytes.
37817 2011-08-06  Bruno Haible  <bruno@clisp.org>
37819         [BZ #13061]
37820         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37821         U+0385, not to U+1FEE.
37823         [BZ #13062]
37824         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37825         entry for U+00A5 U+0301.
37827 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37829         [BZ #13166]
37830         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37831         buffer for the output is too small.
37833         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37834         optimization.
37836         [BZ #13185]
37837         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37838         SSE flags if possible.
37840 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37842         [BZ #13540]
37843         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37844         processing for last bytes.
37846 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37848         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37849         (syscall-list-default-options, syscall-list-default-condition)
37850         (syscall-list-includes): Define.
37851         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37852         list of ABIs and options and #if conditions for each ABI.  Do not
37853         handle common syscalls between ABIs specially.
37854         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37855         Remove.
37856         (syscall-list-variants, syscall-list-32bit-options)
37857         (syscall-list-32bit-condition, syscall-list-64bit-options)
37858         (syscall-list-64bit-condition): Define.
37859         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37860         (syscall-list-variants, syscall-list-32bit-options)
37861         (syscall-list-32bit-condition, syscall-list-64bit-options)
37862         (syscall-list-64bit-condition): Define.
37863         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37864         Remove.
37865         (syscall-list-variants, syscall-list-32bit-options)
37866         (syscall-list-32bit-condition, syscall-list-64bit-options)
37867         (syscall-list-64bit-condition): Define.
37868         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37869         Remove.
37870         (syscall-list-variants, syscall-list-32bit-options)
37871         (syscall-list-32bit-condition, syscall-list-64bit-options)
37872         (syscall-list-64bit-condition): Define.
37874 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37876         * locale/iso-639.def: Add brx entry.
37878         [BZ #13328]
37879         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37880         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37882         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37883         __feraiseexcept_renamed.
37885 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37887         [BZ #13538]
37888         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37889         EPOLLET with unsigned values.
37890         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37891         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37893         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37894         to large cancellation.
37895         * math/s_cacoshf.c: Likewise.
37896         * math/s_cacoshl.c: Likewise.
37898 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
37900         [BZ #13305]
37901         [BZ #12786]
37902         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37903         * math/s_cacoshf.c: Likewise.
37904         * math/s_cacoshl.c: Likewise.
37906 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37908         [BZ #13439]
37909         * iconv/gconv.h: Define __GCONV_SWAP.
37910         * iconvdata/unicode.c: The swap bit must be stored in __flags.
37911         * iconvdata/utf-16.c: Likewise.
37912         * iconvdata/utf-32.c: Likewise.
37914 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37916         [BZ #13524]
37917         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37918         numerator after shifting it by one limb.
37920 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
37922         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37923         under [__USE_EXTERN_INLINES].
37925 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37927         [BZ #13446]
37928         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37930 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37932         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37933         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37934         optimized code.
37935         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37936         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37937         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37938         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37939         for strncasecmp/strncasecmp_l compilation.
37940         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37941         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37943 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
37945         [BZ #13484]
37946         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37947         of __asm__.
37949 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37951         [BZ #13506]
37952         * time/tzfile.c (__tzfile_read): Check values from file header.
37954 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37956         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37957         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37958         * powerpc/powerpc32/dl-start.S: Likewise.
37959         * powerpc/powerpc32/elf/start.S: Likewise.
37960         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37961         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37962         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37963         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37964         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37965         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37966         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37967         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37968         * powerpc/powerpc32/fpu/s_round.S: Likewise.
37969         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37970         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37971         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37972         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37973         * powerpc/powerpc32/memset.S: Likewise.
37974         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37975         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37976         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37977         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37978         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37979         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37980         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37981         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37982         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37983         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37984         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37985         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37986         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37988 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37990         * math/libm-test.inc: Added more nearbyint tests.
37991         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37992         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37994         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37996 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
37998         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37999         FD_CLOEXEC.
38001 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38003         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38004         Add wcscpy-ssse3 wcscpy-c.
38005         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38006         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38007         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38008         * sysdeps/x86_64/wcschr.S: New file.
38009         * sysdeps/x86_64/wcsrchr.S: New file.
38010         * string/test-strcmp.c: Remove checking of wcscmp function for
38011         wrong alignments.
38012         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38013         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38014         wcsrchr-sse2 wcsrchr-c.
38015         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38016         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38017         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38018         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38019         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38020         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38021         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38022         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38023         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38024         * wcsmbc/wcschr.c (WCSCHR): New macro.
38026 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38028         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38029         * wcsmbs/test-wcsrchr.c: New file.
38030         * string/test-strrchr.c: Add wcsrchr support.
38031         (WIDE): New macro.
38032         * wcsmbs/test-wcscpy.c: New file.
38033         * string/test-strcpy.c: Add wcscpy support.
38034         (WIDE): New macro.
38036 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38038         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38039         the inner loop.
38041 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38043         [BZ #13472]
38044         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38046 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38048         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38049         Minor optimizations.
38051         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38052         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38053         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38055 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38057         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38058         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38059         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38060         for gcc to avoid warnings.
38061         * inet/Makefile (tests): Add tst-checks.
38062         * inet/tst-checks.c: New file.
38064         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38065         warning.
38067         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38068         __wmemcmp_sse2.
38070         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38071         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38073         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38075 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38077         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38078         problem.
38080         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38082 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38084         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38085         conditional on GCC version.
38086         (__arch_compare_and_exchange_val_8_acq)
38087         (__arch_compare_and_exchange_val_16_acq)
38088         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38089         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38090         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38092 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38094         * sysdeps/sh/backtrace.c: New file.
38096 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38098         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38099         parenthesis.
38101 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38103         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38104         falling back to utime.
38106 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38108         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38109         expectations for float.
38111 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38113         * locale/weight.h (findidx): Add parameter len.
38114         * locale/weightwc.h (findidx): Likewise.
38115         * posix/fnmatch_loop.c (FCT): Adjust caller.
38116         * posix/regcomp.c (build_equiv_class): Likewise.
38117         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38118         * posix/regexec.c (check_node_accept_bytes): Likewise.
38119         * string/strcoll_l.c (STRCOLL): Likewise.
38120         * string/strxfrm_l.c (STRXFRM): Likewise.
38122 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38124         * Makefile.in: Remove CVSOPT handling.
38125         * configure.in: Remove use of AC_REVISION.
38126         * iconvdata/Makefile (distribute): No need to filter out CVS.
38127         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38128         handling.
38130 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38132         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38133         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38134         [USE_AS_STRNCASECMP_L]: Likewise.
38135         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38136         NO_TLS_DIRECT_SEG_REFS.
38137         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38138         Fix argument offsets for non-PIC.
38139         [USE_AS_STRNCASECMP_L]: Likewise.
38140         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38141         NO_TLS_DIRECT_SEG_REFS.
38143 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38145         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38146         O_CLOEXEC.
38147         * locale/loadlocale.c (_nl_load_locale): Likewise.
38149 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38151         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38152         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38154         (SYSCALL_GETTIME): Set errno on error.
38156         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38157         count references to noai6ai_cached.
38159 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38161         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38163         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38164         FD_CLOEXEC for /proc/self/maps.
38166         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38167         FD_CLOEXEC for /proc/meminfo.
38169         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38170         gai.conf.
38172         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38173         FD_CLOEXEC for given file.
38175         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38177         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38178         FD_CLOEXEC for /etc/hosts.
38179         (_gethtent): Likewise.
38181         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38183         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38184         cancellation and set FD_CLOEXEC for /etc/netgroup.
38186         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38187         reading /etc/publickey.
38189         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38190         allow cancellation when reading /etc/group.
38192         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38193         cancellation.
38194         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38196         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38197         when using data file.
38199         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38201         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38202         (write_nis_obj): Use "c" and "e" in fopen.
38204         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38206         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38208         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38210         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38212         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38213         locale.alias.
38215         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38217         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38219         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38221         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38222         file parsing and set FD_CLOEXEC.
38224 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38226         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38228 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38230         * malloc/arena.c (arena_get2): Don't call reused_arena when
38231         _int_new_arena failed.
38233 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38235         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38236         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38238         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38239         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38240         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38241         to compile strcasecmp and strncasecmp.
38242         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38243         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38247 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38249         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38250         locale-defines.sym to gen-as-const-headers.
38251         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38252         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38254         to compile strcasecmp and strncasecmp.
38255         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38256         strcasecmp_l and strncasecmp_l.
38257         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38258         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38259         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38260         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38261         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38262         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38263         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38264         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38265         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38266         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38267         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38269 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38271         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38272         result of SYSDEP_GETTIME_CPU to retval.
38273         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38274         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38276         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38277         variable.
38279         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38280         mantissa words.
38281         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38283         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38284         from unused variable.
38286         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38287         DWARF definitions.
38288         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38289         for assembling.
38291         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38292         over namespaces.
38294         * sunrpc/rpc_prot.c (rejected): Fix case value.
38296         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38297         unsigned long long int to avoid warnings in shift.
38299         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38300         of use of trans.
38301         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38302         variable tmp.
38304         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38305         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38306         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38308         * nis/nis_table.c (nis_list): Use variable of correct type for
38309         result of __follow_path call.
38311 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38313         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38314         of math functions ceil, trunc, floor, round, and sqrt, when
38315         avaliable on the platform.
38316         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38317         name clash.
38318         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38319         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38320         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38322 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38324         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38325         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38327 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38329         * include/unistd.h: Fix __readlink return type.
38330         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38332 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38334         * stdlib/ucontext.h: Undo last change for makecontext.
38336 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38338         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38340         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38341         * setjmp/setjmp.h: Mark functions as non-leaf.
38342         * setjmp/bits/setjmp2.h: Likewise.
38343         * stdlib/ucontext.h: Likewise.
38345 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38347         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38348         (reused_arena): Don't check arena limit.
38349         (arena_get2): Atomically check arena limit.
38351 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38353         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38354         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38357         instructions.
38359 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38361         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38362         handler when locking.
38364         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38365         Fix size of allocated buffer.
38367 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38369         [BZ #10103]
38370         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38371         declarations for long double functions.
38372         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38374         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38376 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38378         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38379         installed.
38381         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38382         is disabled.
38384 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38386         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38388 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38390         * include/alloca.h (stackinfo_alloca_round): Define.
38391         (extend_alloca): Use it.
38392         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38393         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38394         here.
38396         * scripts/check-local-headers.sh: Ignore libaudit.h.
38398         * nscd/Makefile (extra-objs): Make recursively expanded.
38400 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38402         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38403         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38405         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38406         * posix/tst-rfc3484-2.c: Likewise.
38407         * posix/tst-rfc3484-3.c: Likewise.
38409         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38410         process_vm_writev.
38411         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38412         process_vm_writev.
38413         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38414         process_vm_writev from libc using GLIBC_2.15 version.
38416         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38418 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38420         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38421         stack usage.
38423 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38425         [BZ #13367]
38426         * nss/getent.c (initgroups_keys): Show error message in case no group
38427         names are given.
38429         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38430         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38431         __bump_nl_timestamp.
38432         * nscd/connections (nscd_init): When host database is served open
38433         netlink socket and request notification about configuration changes.
38434         (main_loop_poll): Track netlink file descriptor and bump timestamp
38435         in case data becomes available.
38436         (main_loop_epoll): Likewise.
38437         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38438         (database_pers_head): Add extra_data fileds.
38439         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38440         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38441         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38442         Adjust caller.
38443         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38444         in6ai data, call __free_in6ai.
38445         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38446         Add -DHAVE_NETLINK.
38447         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38448         interface information.  Reuse previous data if netlink timestamp
38449         is not changed.
38450         (__bump_nl_timestamp): New function.
38451         (__free_in6ai): New function.
38453 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38455         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38456         close_not_cancel_no_status here.
38457         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38459 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38461         [BZ #13276]
38462         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38463         return value.
38465         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38466         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38467         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38469 2011-07-03  Andreas Jaeger  <aj@suse.de>
38471         [BZ #10709]
38472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38473         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38474         * math/libm-test.inc (sin_test): Add test case.
38476 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38478         [BZ #13337]
38479         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38480         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38482         * elf/chroot_canon.c (chroot_canon): Cleanups.
38484         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38486         [BZ #13335]
38487         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38488         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38490         * string/test-strchr.c: Make usable for strchrnul testing.
38491         * string/test-strchrnul.c: New file.
38492         * string/Makefile (strop-tests): Add strchrnul.
38494         * po/it.po: Update from translation team.
38495         * po/es.po: Likewise.
38497 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38499         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38500         the three constants needed as parameters.  Drop the others.
38501         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38502         __m128i_strloadu_tolower.
38503         Create and initialize variable zero and use it in all the places
38504         where _mm_setzero_si128 was used.
38506         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38507         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38508         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38509         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38510         anymore.
38511         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38512         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38513         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38514         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38515         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38516         __mpranred, __mptan.
38517         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38518         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38519         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38520         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38521         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38522         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38523         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38524         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38525         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38527 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38529         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38530         redefine if SHARED.
38531         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38534         wide char related routines to wcsmbs subdir.
38536 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38538         [BZ #13344]
38539         * misc/sys/cdefs.h (__THROWNL): Define.
38540         * posix/unistd.h: Use __THREADNL instead of __THREAD
38541         for memory synchronization functions.
38543 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38545         [BZ #13349]
38546         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38547         doesn't exist.
38548         * manual/stdio.texi (Obstack Streams): Node removed.
38550 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38552         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38553         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38554         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38556         * math/math_private.h (math_force_eval): Allow non-addressable
38557         arguments.
38558         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38560 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38562         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38563         file is not needed.
38565         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38566         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38567         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38568         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38569         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38570         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38571         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38572         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38573         Add AVX variants.
38574         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38575         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38576         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38577         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38578         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38579         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38580         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38581         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38582         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38583         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38584         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38585         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38586         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38587         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38588         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38589         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38590         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38591         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38592         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38594         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38595         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38597         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38598         place.  Use VEX encoding when compiling for AVX.
38600 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38602         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38603         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38605         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38607 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38609         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38610         useless if() expression.
38611         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38612         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38613         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38615         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38616         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38617         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38618         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38619         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38621         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38622         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38623         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38624         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38625         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38626         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38627         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38628         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38629         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38631         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38633 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38635         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38636         condition.
38637         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38639 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38641         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38642         .text section.  Avoid duplicate constants.
38643         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38644         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38645         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38647         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38649         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38650         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38651         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38652         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38653         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38654         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38655         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38656         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38657         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38658         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38659         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38660         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38661         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38662         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38663         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38664         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38665         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38666         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38667         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38668         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38669         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38670         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38671         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38672         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38673         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38674         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38675         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38676         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38677         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38678         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38679         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38680         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38681         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38682         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38683         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38684         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38685         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38686         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38687         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38689 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38691         * sysdeps/x86_64/dla.h: Move to ...
38692         * sysdeps/x86_64/fpu/dla.h: ...here.
38693         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38694         situations.  Use __builtin_fma only for gcc 4.6 and up.
38696         * config.make.in: Add have-mfma4 entry.
38697         * configure.in: Substitute libc_cv_cc_fma4.
38698         * math/Makefile (dbl-only-routines): Add sincostab.
38699         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38700         Use __sincostab not sincos.
38701         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38702         name is a macro.
38703         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38705         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38707         using __copysign.
38708         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38709         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38710         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38711         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38712         and __inv.
38713         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38714         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38715         __copysign.
38716         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38717         define aliases when function name is a macro.
38718         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38719         sysdeps/ieee754/dbl-64/sincos.tbl.
38720         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38721         fma4-enabled routines.
38722         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38723         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38724         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38725         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38726         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38727         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38728         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38729         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38730         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38731         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38732         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38733         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38734         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38735         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38736         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38737         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38738         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38739         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38740         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38742         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38743         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38744         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38745         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38746         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38747         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38748         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38749         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38750         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38751         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38753         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38754         rename.
38755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38764 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38766         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38768 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38770         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38772         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38773         prediction.
38774         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38776         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38777         Remove unused variable magic_bits.
38778         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38780         * string/strnlen.c: Define and use STRNLEN macro.
38781         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38782         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38783         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38784         * wcsmbs/wcslen.c: Define and use WCSLEN.
38785         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38786         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38787         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38788         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38789         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38790         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38791         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38793 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38796         strnlen-sse2-no-bsf.
38797         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38798         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38799         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38800         Add strnlen support.
38801         (USE_AS_STRNLEN): New macro.
38802         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38804         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38805         * sysdeps/x86_64/wcslen.S: New file.
38807 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38809         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38810         XMM-moves are used for copying on small sizes.
38812 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38814         * wcsmbs/Makefile (strop-tests): Add wcschr.
38815         * wcsmbs/test-wcschr.c: New file.
38816         * string/test-strchr.c: Update.
38817         Add wcschr support.
38818         (WIDE): New macro.
38820 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38822         * wcsmbs/Makefile (strop-tests): Add wcslen.
38823         * wcsmbs/test-wcslen.c: New file.
38824         * string/test-strlen.c: Update.
38825         Add wcslen support.
38826         (WIDE): New macro.
38828 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38830         * po/it.po: Update from translation team.
38832 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38834         * sysdeps/x86_64/wcscmp.S: Update.
38835         Fix wrong comparison semantics.
38836         wcscmp shall use signed comparison not unsigned.
38837         Don't use substraction to avoid overflow bug.
38838         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38839         * wcsmbc/wcscmp.c: Likewise.
38840         * string/test-strcmp.c: Likewise.
38841         Add new tests to check cases with negative values.
38843 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38845         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38846         * sysdeps/x86_64/dla.h: ...here.  New file.
38847         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38852         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38853         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38857 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38860         __ynl_finite aliases.
38862 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38866         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38867         define DLA_FMA.
38868         [DLA_FMA] (EMULV): Use DLA_FMA.
38869         [DLA_FMA] (MUL12): Use EMULV.
38870         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38871         that are not needed.
38872         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38880 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38882         * math/s_nan.c: Undef __nan.
38883         * math/s_nanf.c: Undef __nanf.
38884         * math/s_nanl.c: Undef __nanl.
38885         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38886         "math_private.h".
38888 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38890         * math/s_catan.c: Add branch predictions.
38891         * math/s_catanf.c: Likewise.
38892         * math/s_catanh.c: Likewise.
38893         * math/s_catanhf.c: Likewise.
38894         * math/s_catanhl.c: Likewise.
38895         * math/s_catanl.c: Likewise.
38896         * math/s_cexp.c: Likewise.
38897         * math/s_cexpf.c: Likewise.
38898         * math/s_cexpl.c: Likewise.
38899         * math/s_clog.c: Likewise.
38900         * math/s_clog10.c: Likewise.
38901         * math/s_clog10f.c: Likewise.
38902         * math/s_clog10l.c: Likewise.
38903         * math/s_clogf.c: Likewise.
38904         * math/s_clogl.c: Likewise.
38905         * math/s_csqrt.c: Likewise.
38906         * math/s_csqrtf.c: Likewise.
38907         * math/s_csqrtl.c: Likewise.
38908         * math/s_ctanf.c: Likewise.
38909         * math/s_ctanh.c: Likewise.
38910         * math/s_ctanhf.c: Likewise.
38911         * math/s_ctanhl.c: Likewise.
38912         * math/s_ctanl.c: Likewise.
38914         * math/math_private.h: Define __nan, __nanf, __nanl.
38915         * math/s_cacosh.c: Include <math_private.h>.
38916         * math/s_cacoshl.c: Likewise.
38917         * math/s_casinh.c: Likewise.
38918         * math/s_casinhf.c: Likewise.
38919         * math/s_casinhl.c: Likewise.
38920         * math/s_ccos.c: Rely entire on ccosh.
38921         * math/s_ccosf.c: Rely entire on ccoshf.
38922         * math/s_ccosl.c: Rely entirely on ccoshl.
38923         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
38924         Remove tests for FE_INVALID.
38925         * math/s_ccoshf.c: Likewise.
38926         * math/s_ccoshl.c: Likewise.
38927         * math/s_csin.c: Likewise.
38928         * math/s_csinf.c: Likewise.
38929         * math/s_csinh.c Likewise.
38930         * math/s_csinhf.c: Likewise.
38931         * math/s_csinhl.c: Likewise.
38932         * math/s_csinl.c: Likewise.
38933         * math/s_ctan.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38935         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38936         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38938 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
38940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38941         compilation problems.
38943         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38944         __builtin_expect.
38946 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
38948         * sysdeps/i386/configure.in: Test for -mfma4 option.
38949         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38950         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38951         COMMON_CPUID_INDEX_80000001.
38952         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38953         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38954         use it if FMA3 is not supported.
38955         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38957         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38958         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38960 2011-10-20  Andreas Schwab  <schwab@redhat.com>
38962         [BZ #12892]
38963         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38964         it would create a cycle with a link time dependency.
38966 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
38968         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38969         instruction.
38970         * string/Makefile (strop-tests): Add rawmemchr.
38971         * string/test-rawmemchr.c: New file.
38973         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38974         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
38975         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
38976         when compiling str{,n}casecmp and when AVX is available.  Hook up
38977         new optimized code in initializers.
38979 2011-10-19  Andreas Schwab  <schwab@redhat.com>
38981         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38982         __feraiseexcept instead of feraiseexcept.
38984 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
38986         * math/math_private.h: Define defaults for libc_fetestexcept and
38987         libc_feupdateenv.
38988         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38989         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38990         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38991         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38992         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38993         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38994         libc_fetestexcept and libc_feupdateenv.
38996         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38997         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38998         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38999         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39000         libc_feholdexcept_setround.
39002         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39003         Add s_nearbyint-c and s_nearbyintf-c.
39004         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39005         nearbyintf inlines.
39006         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39007         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39008         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39009         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39011         * math/math_private.h: Define defaults for libc_fegetround,
39012         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39013         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39014         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39015         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39016         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39017         standard functions.
39018         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39019         Remove comments and hacks for old compiler versions.
39020         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39021         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39022         libc_feholdexceptl.
39024 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39026         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39027         (__feraiseexcept_renamed): Add __NTH.
39028         (feraiseexcept): Add __NTH.  Rename local variables to fix
39029         namespace violations.
39031 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39033         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39035         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39037         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39038         recently added interfaces.
39039         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39041         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39042         about macro parameter expansion.
39044         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39045         __NO_MATH_INLINES is defined.  Cleanups.
39047         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39048         and __floorf is target has SSE4.1.
39049         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39050         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39051         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39052         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39054         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39055         name.
39056         (floorf): Likewise.
39058         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39060 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39062         * misc/sys/cdefs.h: Fix last change.
39064         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39065         database lookup.
39067 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39069         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39071         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39072         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39073         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39074         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39075         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39076         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39077         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39078         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39079         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39080         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39081         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39082         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39083         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39084         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39085         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39086         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39087         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39088         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39089         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39090         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39091         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39092         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39094         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39095         ceil, ceilf, floor, floorf.
39097         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39098         Perform IRELATIVE relocations last.
39100         * elf/do-rel.h: Add another parameter nrelative, replacing the
39101         local variable with the same name.  Change name of the function
39102         to end in Rel or Rela (uppercase).
39103         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39104         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39105         elf_dynamic_do_##reloc function.
39107 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39109         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39110         is sufficient, at least on modern CPUs.
39112         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39114         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39115         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39117         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39118         __expl_finite.
39119         * math/bits/math-finite.h: Add entries for exp.
39120         * math/e_expl.c: Add __*_finite alias.
39121         * sysdeps/i386/fpu/e_exp.S: Likewise.
39122         * sysdeps/i386/fpu/e_expf.S: Likewise.
39123         * sysdeps/i386/fpu/e_expl.c: Likewise.
39124         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39125         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39126         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39127         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39128         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39129         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39130         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39132         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39133         is sufficient, at least on modern CPUs.
39135         * ctype/ctype-info.c (__ctype_init): Define.
39136         * include/ctype.h (__ctype_init): Declare.
39137         (__ctype_b_loc): The variable is always initialized.
39138         (__ctype_toupper_loc): Likewise.
39139         (__ctype_tolower_loc): Likewise.
39140         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39141         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39143 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39145         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39147         * configure.in: Also look in $cxxmachine/include for C++ system
39148         headers.
39150 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39152         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39153         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39154         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39155         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39156         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39157         (USE_AS_WMEMCMP): New macro.
39158         Fixing indents.
39159         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39160         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39161         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39162         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39164         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39165         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39166         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39167         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39168         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39169         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39170         (USE_AS_WMEMCMP): New macro.
39171         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39172         * sysdeps/string/test-memcmp.c: Update.
39173         Fix simple_wmemcmp.
39174         Add new tests.
39175         * wcsmbs/wmemcmp.c: Update.
39176         (WMEMCMP): New macro.
39177         Fix overflow bug.
39179 2011-10-12  Andreas Jaeger  <aj@suse.de>
39181         [BZ #13268]
39182         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39184 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39186         * libio/iofwide.c (do_length): Avoid warning.
39188         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39190 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39192         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39194         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39195         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39196         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39197         * sysdeps/i386/i686/fpu/e_log.S: New file.
39198         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39199         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39201         * ctype/ctype.h: Add support for inlined isXXX functions when
39202         compiling C++ code.
39204 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39206         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39208         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39210 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39212         [BZ #13291]
39213         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39215 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39217         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39218         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39219         feraiseexcept.
39221         * sysdeps/x86_64/memrchr.S: Check for zero size.
39223         * string/stratcliff.c: Add memrchr tests.
39225 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39228         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39229         rawmemchr-sse2 rawmemchr-sse2-bsf.
39230         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39231         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39232         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39233         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39234         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39235         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39236         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39237         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39238         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39239         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39240         * string/memrchr.c (MEMRCHR): New macro.
39242 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39244         Add integration with gcc's -ffinite-math-only and optimize wrapper
39245         functions in libm.
39246         * Versions.def: Define GLIBC_2.15 version for libm.
39247         * math/Makefile (headers): Add bits/math-finite.h.
39248         * math/bits/math-finite.h: New file.
39249         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39250         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39251         * math/e_acoshl.c: Add __*_finite alias.
39252         * math/e_acosl.c: Likewise.
39253         * math/e_asinl.c: Likewise.
39254         * math/e_atan2l.c: Likewise.
39255         * math/e_atanhl.c: Likewise.
39256         * math/e_coshl.c: Likewise.
39257         * math/e_exp10.c: Likewise.
39258         * math/e_exp10f.c: Likewise.
39259         * math/e_exp10l.c: Likewise.
39260         * math/e_exp2l.c: Likewise.
39261         * math/e_fmodl.c: Likewise.
39262         * math/e_gammal_r.c: Likewise.
39263         * math/e_hypotl.c: Likewise.
39264         * math/e_j0l.c: Likewise.
39265         * math/e_j1l.c: Likewise.
39266         * math/e_jnl.c: Likewise.
39267         * math/e_lgammal_r.c: Likewise.
39268         * math/e_log10l.c: Likewise.
39269         * math/e_log2l.c: Likewise.
39270         * math/e_logl.c: Likewise.
39271         * math/e_powl.c: Likewise.
39272         * math/e_sinhl.c: Likewise.
39273         * math/e_sqrtl.c: Likewise.
39274         * math/e_scalb.c: Completely rewritten and optimized.
39275         * math/e_scalbf.c: Likewise.
39276         * math/e_scalbl.c: Likewise.
39277         * math/w_acos.c: Likewise.
39278         * math/w_acosf.c: Likewise.
39279         * math/w_acosl.c: Likewise.
39280         * math/w_acosh.c: Likewise.
39281         * math/w_acoshf.c: Likewise.
39282         * math/w_acoshl.c: Likewise.
39283         * math/w_asin.c: Likewise.
39284         * math/w_asinf.c: Likewise.
39285         * math/w_asinl.c: Likewise.
39286         * math/w_atan2.c: Likewise.
39287         * math/w_atan2f.c: Likewise.
39288         * math/w_atan2l.c: Likewise.
39289         * math/w_atanh.c: Likewise.
39290         * math/w_atanhf.c: Likewise.
39291         * math/w_atanhl.c: Likewise.
39292         * math/w_exp10.c: Likewise.
39293         * math/w_exp10f.c: Likewise.
39294         * math/w_exp10l.c: Likewise.
39295         * math/w_fmod.c: Likewise.
39296         * math/w_fmodf.c: Likewise.
39297         * math/w_fmodl.c: Likewise.
39298         * math/w_j0.c: Likewise.
39299         * math/w_j0f.c: Likewise.
39300         * math/w_j0l.c: Likewise.
39301         * math/w_j1.c: Likewise.
39302         * math/w_j1f.c: Likewise.
39303         * math/w_j1l.c: Likewise.
39304         * math/w_jn.c: Likewise.
39305         * math/w_jnf.c: Likewise.
39306         * math/w_log.c: Likewise.
39307         * math/w_logf.c: Likewise.
39308         * math/w_logl.c: Likewise.
39309         * math/w_log10.c: Likewise.
39310         * math/w_log10f.c: Likewise.
39311         * math/w_log10l.c: Likewise.
39312         * math/w_log2.c: Likewise.
39313         * math/w_log2f.c: Likewise.
39314         * math/w_log2l.c: Likewise.
39315         * math/w_pow.c: Likewise.
39316         * math/w_powf.c: Likewise.
39317         * math/w_powl.c: Likewise.
39318         * math/w_remainder.c: Likewise.
39319         * math/w_remainderf.c: Likewise.
39320         * math/w_remainderl.c: Likewise.
39321         * math/w_scalb.c: Likewise.
39322         * math/w_scalbf.c: Likewise.
39323         * math/w_scalbl.c: Likewise.
39324         * math/w_sqrt.c: Likewise.
39325         * math/w_sqrtf.c: Likewise.
39326         * math/w_sqrtl.c: Likewise.
39327         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39328         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39329         used.
39330         * math/math_private.h: Declare __kernel_standard_f.
39331         * math/w_cosh.c: Remove cruft and optimize a bit.
39332         * math/w_coshf.c: Likewise.
39333         * math/w_coshl.c: Likewise.
39334         * math/w_exp2.c: Likewise.
39335         * math/w_exp2f.c: Likewise.
39336         * math/w_exp2l.c: Likewise.
39337         * math/w_hypot.c: Likewise.
39338         * math/w_hypotf.c: Likewise.
39339         * math/w_hypotl.c: Likewise.
39340         * math/w_lgamma.c: Likewise.
39341         * math/w_lgamma_r.c: Likewise.
39342         * math/w_lgammaf.c: Likewise.
39343         * math/w_lgammaf_r.c: Likewise.
39344         * math/w_lgammal.c: Likewise.
39345         * math/w_lgammal_r.c: Likewise.
39346         * math/w_sinh.c: Likewise.
39347         * math/w_sinhf.c: Likewise.
39348         * math/w_sinhl.c: Likewise.
39349         * math/w_tgamma.c: Likewise.
39350         * math/w_tgammaf.c: Likewise.
39351         * math/w_tgammal.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39353         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39354         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39355         Minor optimizations.  Pretty printing.  Remove cruft.
39356         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39357         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39358         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39359         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39360         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39361         * sysdeps/i386/fpu/e_asin.S: Likewise.
39362         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39363         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39364         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39365         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39366         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39367         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39368         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39369         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39370         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39371         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39372         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39373         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39374         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39375         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39376         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39377         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39378         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39379         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39380         * sysdeps/i386/fpu/e_log.S: Likewise.
39381         * sysdeps/i386/fpu/e_log10.S: Likewise.
39382         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39383         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39384         * sysdeps/i386/fpu/e_log2.S: Likewise.
39385         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39386         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39387         * sysdeps/i386/fpu/e_logf.S: Likewise.
39388         * sysdeps/i386/fpu/e_logl.S: Likewise.
39389         * sysdeps/i386/fpu/e_pow.S: Likewise.
39390         * sysdeps/i386/fpu/e_powf.S: Likewise.
39391         * sysdeps/i386/fpu/e_powl.S: Likewise.
39392         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39393         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39394         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39395         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39396         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39397         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39398         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39399         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39400         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39401         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39402         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39404         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39405         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39406         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39407         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39408         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39409         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39410         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39411         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39412         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39413         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39414         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39415         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39416         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39417         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39418         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39419         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39420         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39421         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39422         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39423         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39424         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39425         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39426         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39427         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39428         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39429         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39430         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39431         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39432         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39433         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39434         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39435         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39436         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39437         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39438         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39439         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39440         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39441         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39442         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39443         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39444         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39445         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39446         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39448         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39449         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39450         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39451         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39452         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39453         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39454         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39455         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39456         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39457         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39458         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39459         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39460         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39461         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39463         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39464         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39465         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39469         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39470         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39471         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39472         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39474         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39475         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39476         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39477         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39478         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39479         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39480         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39481         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39482         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39484         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39485         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39486         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39487         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39488         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39489         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39490         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39491         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39492         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39493         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39494         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39495         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39496         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39497         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39498         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39499         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39500         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39501         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39502         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39503         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39504         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39505         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39506         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39507         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39508         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39509         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39510         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39511         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39512         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39513         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39514         (__isnanf): Likewise.
39515         (__isinf_ns): Likewise.
39516         (__isinf_nsf): Likewise.
39517         (__finite): Likewise.
39518         (__finitef): Likewise.
39519         (__ieee754_sqrt): Define as macro.
39520         (__ieee754_sqrtf): Define as macro.
39521         (__ieee754_sqrtl): Define as macro.
39522         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39523         inlined copy.
39524         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39525         __FINITE_MATH_ONLY__ consistent.
39526         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39528 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39530         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39531         of rawmemchr.
39533         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39535 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39537         * po/ja.po: Update from translation team.
39539 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39541         * locale/programs/locarchive.c (prepare_address_space): New function.
39542         (create_archive, enlarge_archive, open_archive): Use it.
39544         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39545         inside [SHARED], where it is used.
39547         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39549         * nss/getent.c (netgroup_keys): Remove unused variable.
39550         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39552 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39554         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39555         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39556         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39557         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39558         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39559         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39560         * math/Makefile (libm-calls): Add s_isinf_ns.
39561         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39562         * math/multc3.c: Likewise.
39563         * math/s_casin.c: Likewise.
39564         * math/s_casinf.c: Likewise.
39565         * math/s_casinl.c: Likewise.
39566         * math/s_ccos.c: Likewise.
39567         * math/s_ccosf.c: Likewise.
39568         * math/s_ccosl.c: Likewise.
39569         * math/s_ctan.c: Likewise.
39570         * math/s_ctanf.c: Likewise.
39571         * math/s_ctanh.c: Likewise.
39572         * math/s_ctanhf.c: Likewise.
39573         * math/s_ctanhl.c: Likewise.
39574         * math/s_ctanl.c: Likewise.
39575         * math/w_fmod.c: Likewise.
39576         * math/w_fmodf.c: Likewise.
39577         * math/w_fmodl.c: Likewise.
39578         * math/w_remainder.c: Likewise.
39579         * math/w_remainderf.c: Likewise.
39580         * math/w_remainderl.c: Likewise.
39581         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39582         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39583         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39585         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39586         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39587         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39588         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39590         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39591         of the number.
39592         * stdio-common/printf_fphex.c: Likewise.
39593         * stdio-common/printf_size.c: Likewise.
39595         * math/e_exp10.c: Include math_private.h using <...> not "...".
39596         * math/e_exp10f.c: Likewise.
39597         * math/e_exp10l.c: Likewise.
39598         * math/e_exp2l.c: Likewise.
39599         * math/e_j0l.c: Likewise.
39600         * math/e_j1l.c: Likewise.
39601         * math/e_jnl.c: Likewise.
39602         * math/e_lgammal_r.c: Likewise.
39603         * math/e_rem_pio2l.c: Likewise.
39604         * math/e_scalb.c: Likewise.
39605         * math/e_scalbf.c: Likewise.
39606         * math/e_scalbl.c: Likewise.
39607         * math/k_cosl.c: Likewise.
39608         * math/k_sinl.c: Likewise.
39609         * math/k_tanl.c: Likewise.
39610         * math/s_cacoshf.c: Likewise.
39611         * math/s_catan.c: Likewise.
39612         * math/s_catanf.c: Likewise.
39613         * math/s_catanh.c: Likewise.
39614         * math/s_catanhf.c: Likewise.
39615         * math/s_catanhl.c: Likewise.
39616         * math/s_catanl.c: Likewise.
39617         * math/s_ccosh.c: Likewise.
39618         * math/s_ccoshf.c: Likewise.
39619         * math/s_ccoshl.c: Likewise.
39620         * math/s_cexp.c: Likewise.
39621         * math/s_cexpf.c: Likewise.
39622         * math/s_cexpl.c: Likewise.
39623         * math/s_clog.c: Likewise.
39624         * math/s_clog10.c: Likewise.
39625         * math/s_clog10f.c: Likewise.
39626         * math/s_clog10l.c: Likewise.
39627         * math/s_clogf.c: Likewise.
39628         * math/s_clogl.c: Likewise.
39629         * math/s_csin.c: Likewise.
39630         * math/s_csinf.c: Likewise.
39631         * math/s_csinh.c: Likewise.
39632         * math/s_csinhf.c: Likewise.
39633         * math/s_csinhl.c: Likewise.
39634         * math/s_csinl.c: Likewise.
39635         * math/s_csqrt.c: Likewise.
39636         * math/s_csqrtf.c: Likewise.
39637         * math/s_csqrtl.c: Likewise.
39638         * math/s_ctan.c: Likewise.
39639         * math/s_ctanf.c: Likewise.
39640         * math/s_ctanh.c: Likewise.
39641         * math/s_ctanhf.c: Likewise.
39642         * math/s_ctanhl.c: Likewise.
39643         * math/s_ctanl.c: Likewise.
39644         * math/s_ldexp.c: Likewise.
39645         * math/s_ldexpf.c: Likewise.
39646         * math/s_ldexpl.c: Likewise.
39647         * math/s_significand.c: Likewise.
39648         * math/s_significandf.c: Likewise.
39649         * math/s_significandl.c: Likewise.
39650         * math/w_acos.c: Likewise.
39651         * math/w_acosf.c: Likewise.
39652         * math/w_acosh.c: Likewise.
39653         * math/w_acoshf.c: Likewise.
39654         * math/w_acoshl.c: Likewise.
39655         * math/w_acosl.c: Likewise.
39656         * math/w_asin.c: Likewise.
39657         * math/w_asinf.c: Likewise.
39658         * math/w_asinl.c: Likewise.
39659         * math/w_atan2.c: Likewise.
39660         * math/w_atan2f.c: Likewise.
39661         * math/w_atan2l.c: Likewise.
39662         * math/w_atanh.c: Likewise.
39663         * math/w_atanhf.c: Likewise.
39664         * math/w_atanhl.c: Likewise.
39665         * math/w_cosh.c: Likewise.
39666         * math/w_coshf.c: Likewise.
39667         * math/w_coshl.c: Likewise.
39668         * math/w_dremf.c: Likewise.
39669         * math/w_exp10.c: Likewise.
39670         * math/w_exp10f.c: Likewise.
39671         * math/w_exp10l.c: Likewise.
39672         * math/w_exp2.c: Likewise.
39673         * math/w_exp2f.c: Likewise.
39674         * math/w_fmod.c: Likewise.
39675         * math/w_fmodf.c: Likewise.
39676         * math/w_fmodl.c: Likewise.
39677         * math/w_hypot.c: Likewise.
39678         * math/w_hypotf.c: Likewise.
39679         * math/w_hypotl.c: Likewise.
39680         * math/w_j0.c: Likewise.
39681         * math/w_j0f.c: Likewise.
39682         * math/w_j0l.c: Likewise.
39683         * math/w_j1.c: Likewise.
39684         * math/w_j1f.c: Likewise.
39685         * math/w_j1l.c: Likewise.
39686         * math/w_jn.c: Likewise.
39687         * math/w_jnf.c: Likewise.
39688         * math/w_jnl.c: Likewise.
39689         * math/w_lgamma.c: Likewise.
39690         * math/w_lgamma_r.c: Likewise.
39691         * math/w_lgammaf.c: Likewise.
39692         * math/w_lgammaf_r.c: Likewise.
39693         * math/w_lgammal.c: Likewise.
39694         * math/w_lgammal_r.c: Likewise.
39695         * math/w_log.c: Likewise.
39696         * math/w_log10.c: Likewise.
39697         * math/w_log10f.c: Likewise.
39698         * math/w_log10l.c: Likewise.
39699         * math/w_log2.c: Likewise.
39700         * math/w_log2f.c: Likewise.
39701         * math/w_log2l.c: Likewise.
39702         * math/w_logf.c: Likewise.
39703         * math/w_logl.c: Likewise.
39704         * math/w_pow.c: Likewise.
39705         * math/w_powf.c: Likewise.
39706         * math/w_powl.c: Likewise.
39707         * math/w_remainder.c: Likewise.
39708         * math/w_remainderf.c: Likewise.
39709         * math/w_remainderl.c: Likewise.
39710         * math/w_scalb.c: Likewise.
39711         * math/w_scalbf.c: Likewise.
39712         * math/w_scalbl.c: Likewise.
39713         * math/w_sinh.c: Likewise.
39714         * math/w_sinhf.c: Likewise.
39715         * math/w_sinhl.c: Likewise.
39716         * math/w_sqrt.c: Likewise.
39717         * math/w_sqrtf.c: Likewise.
39718         * math/w_sqrtl.c: Likewise.
39719         * math/w_tgamma.c: Likewise.
39720         * math/w_tgammaf.c: Likewise.
39721         * math/w_tgammal.c: Likewise.
39723         * po/ja.po: Update from translation team.
39725 2011-09-29  Andreas Jaeger  <aj@suse.de>
39727         [BZ #13179]
39728         * sunrpc/netname.c (netname2host): Fix logic.
39730         [BZ #6779]
39731         [BZ #6783]
39732         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39733         correctly.
39734         * math/w_remainder.c (__remainder): Likewise.
39735         * math/w_remainderf.c (__remainderf): Likewise.
39736         * math/libm-test.inc (remainder_test): Add test cases.
39738 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39740         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39741         sdiv_qrnnd.
39743 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39745         * string/test-memcmp.c: Avoid unncessary #defines.
39746         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39748 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39750         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39751         Use new sse2 version for core i3 - i7 as it's faster
39752         than sse42 version.
39753         (bit_Prefer_PMINUB_for_stringop): New.
39754         * sysdeps/x86_64/rawmemchr.S: Update.
39755         Replace with faster SSE2 version.
39756         * sysdeps/x86_64/memrchr.S: New file.
39757         * sysdeps/x86_64/memchr.S: Update.
39758         Replace with faster SSE2 version.
39760 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39762         * elf/dl-load.c (lose): Add cast to avoid warning.
39764 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39766         * po/ca.po: Update from translation team.
39768         * inet/getnetgrent_r.c: Hook up nscd.
39769         * nscd/Makefile (routines): Add nscd_netgroup.
39770         (nscd-modules): Add netgroupcache.
39771         (CFLAGS-netgroupcache.c): Define.
39772         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39773         (cache_search): Add const to second parameter.
39774         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39775         INNETGR.
39776         (dbs): Add netgrdb entry.
39777         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39778         (verify_persistent_db): Handle netgrdb.
39779         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39780         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39781         GETFDNETGR.
39782         (netgroup_response_header): Define.
39783         (innetgroup_response_header): Define.
39784         (datahead): Add netgroup_response_header and innetgroup_response_header
39785         elements.
39786         * nscd/nscd.conf: Add entries for netgroup cache.
39787         * nscd/nscd.h (dbtype): Add netgrdb.
39788         (_PATH_NSCD_NETGROUP_DB): Define.
39789         (netgroup_iov_disabled): Declare.
39790         (xmalloc, xcalloc, xrealloc): Move declarations here.
39791         (cache_search): Adjust prototype.
39792         Add netgroup-related prototypes.
39793         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39794         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39795         (__nscd_innetgr): Declare.
39796         * nscd/selinux.c (perms): Use access_vector_t as element type and
39797         add netgroup-related initializers.
39798         * nscd/netgroupcache.c: New file.
39799         * nscd/nscd_netgroup.c: New file.
39800         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39801         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39802         For four parameters use innetgr.
39803         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39804         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39805         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39806         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39808         * nscd/connections.c (register_traced_file): Don't register file
39809         for disabled databases.
39811 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39813         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39815         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39816         from tree and freeing node.
39818 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39820         * nss/nsswitch.c (__nss_database_lookup): Handle
39821         nss_parse_service_list out of memory case.
39823 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39825         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39826         out of memory case.
39828 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39830         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39831         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39832         pass it down.
39833         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39834         elf_machine_rela, elf_machine_lazy_rel.
39835         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39836         (ELF_DYNAMIC_DO_REL): Likewise.
39837         (ELF_DYNAMIC_DO_RELA): Likewise.
39838         (ELF_DYNAMIC_RELOCATE): Likewise.
39839         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39840         to ELF_DYNAMIC_DO_REL.
39841         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39842         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39843         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39844         elf_machine_rela.
39845         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39846         skip_ifunc, don't call ifunc function if non-zero.
39847         (elf_machine_rela): Likewise.
39848         (elf_machine_lazy_rel): Likewise.
39849         (elf_machine_lazy_rela): Likewise.
39850         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39851         (elf_machine_lazy_rel): Likewise.
39852         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39853         Likewise.
39854         (elf_machine_lazy_rel): Likewise.
39855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39856         Likewise.
39857         (elf_machine_lazy_rel): Likewise.
39858         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39859         (elf_machine_lazy_rel): Likewise.
39860         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39861         (elf_machine_lazy_rel): Likewise.
39862         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39863         (elf_machine_lazy_rel): Likewise.
39864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39865         (elf_machine_lazy_rel): Likewise.
39866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39867         (elf_machine_lazy_rel): Likewise.
39868         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39869         (elf_machine_lazy_rel): Likewise.
39871 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39873         * nss/nss_files/files-init.c (_nss_files_init): Use static
39874         initialization for all the *_traced_file variables.
39876 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39878         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39880 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39882         [BZ #13226]
39883         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39885 2011-09-27  Andreas Schwab  <schwab@redhat.com>
39887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39888         Reread the line before reparsing it.
39890 2011-09-26  Andreas Schwab  <schwab@redhat.com>
39892         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39894 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
39895             Maxim Kuvyrkov  <maxim@codesourcery.com>
39896             Joseph Myers  <joseph@codesourcery.com>
39898         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39899         if needed for __stack_chk_guard.
39901 2011-09-19  Roland McGrath  <roland@hack.frob.com>
39903         * sysdeps/posix/spawni.c (script_execute): Always define it.
39904         It will be optimized away if unused.
39905         (maybe_script_execute): New function.
39906         (__spawni): Call it.
39908         * Makerules: Don't include tls.make.
39909         (config-tls): Always set to thread.
39910         * tls.make.c: File removed.
39912 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
39914         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39915         * config.make.in (CPPFLAGS-config): New substituted variable.
39917 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39921         [BZ #13192]
39922         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39923         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39925 2011-09-15  Roland McGrath  <roland@hack.frob.com>
39927         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39928         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39929         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39930         (CALL_FAIL): Likewise.
39931         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39932         (CALL_FAIL): Macro removed.
39933         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39935 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39937         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39938         for __FINITE_MATH_ONLY__ == 1.
39940 2011-09-15  Andreas Schwab  <schwab@redhat.com>
39942         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39943         __ieee754_sqrt instead of sqrt.
39944         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39945         __ieee754_sqrtf instead of sqrtf.
39946         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39947         __floorf instead of floorf.
39948         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39949         __floorf, __truncf instead of floorf, truncf.
39951 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
39953         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39955         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39956         __extern_always_inline.
39957         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39958         32-bit.
39960 2011-09-14  Andreas Schwab  <schwab@redhat.com>
39962         * elf/rtld.c (dl_main): Also relocate in dependency order when
39963         doing symbol dependency testing.
39965 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39967         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39968         Always define `refsym'.
39970 2011-09-13  Andreas Schwab  <schwab@redhat.com>
39972         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39973         (__FD_ELT): Renamed from __FDELT.
39974         * misc/bits/select2.h (__FD_ELT): Likewise.
39975         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39976         __FD_MASK instead of __FDELT, __FDMASK.
39977         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39978         Likewise.
39979         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39980         Likewise.
39982         * elf/Makefile (gen-ldd): Fix pattern.
39984         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39985         (init_tls): Likewise.
39987 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
39989         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39991 2011-09-12  Andreas Schwab  <schwab@redhat.com>
39993         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39994         `struct cmsghdr *' instead of `void *'.
39995         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39996         Likewise.
39998 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40000         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40001         if non-absolute.
40002         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40003         ldd_rewrite_script.
40005 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40007         * configure.in: Remove --with-tls option.
40008         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40009         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40010         out in case it is missing.
40011         * sysdeps/ia64/elf/configure.in: Likewise.
40012         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40013         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40014         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40015         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40016         * sysdeps/sh/elf/configure.in: Likewise.
40017         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40018         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40019         * sysdeps/x86_64/elf/configure.in: Likewise.
40020         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40021         * sysdeps/mach/hurd/tls.h: Likewise.
40023         [BZ #13067]
40024         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40026         [BZ #13090]
40027         * configure.in: Fix use of AC_INIT.
40029         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40031 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40033         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40034         __set_errno.
40035         * malloc/hooks.c: Likewise.
40037         [BZ #11929]
40038         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40039         variables statically.
40040         (narenas): Initialize.
40041         (list_lock): Initialize.
40042         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40043         initializtion of main_arena and list_lock.  Small cleanups.
40044         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40045         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40046         Add initializers to main_arena and mp_.
40047         (malloc_state): Remove pagesize member.  Change all users to use
40048         GLRO(dl_pagesize).
40050         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40051         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40052         is always initialized.
40054         * malloc/malloc.c: Removed unused configurations and dead code.
40055         * malloc/arena.c: Likewise.
40056         * malloc/hooks.c: Likewise.
40057         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40059         * include/tls.h: Removed.  USE___THREAD must always be defined.
40060         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40061         * elf/dl-libc.c: Likewise.
40062         * elf/dl-tsd.c: Likewise.
40063         * include/errno.h: Likewise.
40064         * include/netdb.h: Likewise.
40065         * include/resolv.h: Likewise.
40066         * inet/herrno-loc.c: Likewise.
40067         * inet/herrno.c: Likewise.
40068         * malloc/arena.c: Likewise.
40069         * malloc/hooks.c: Likewise.
40070         * malloc/malloc.c: Likewise.
40071         * resolv/res-state.c: Likewise.
40072         * resolv/res_libc.c: Likewise.
40073         * sysdeps/i386/dl-machine.h: Likewise.
40074         * sysdeps/ia64/dl-machine.h: Likewise.
40075         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40076         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40077         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40078         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40079         * sysdeps/sh/dl-machine.h: Likewise.
40080         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40081         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40082         * sysdeps/unix/i386/sysdep.S: Likewise.
40083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40084         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40089         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40093         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40094         * sysdeps/x86_64/dl-machine.h: Likewise.
40095         * tls.make.c: Likewise.
40097         * configure.in: Remove --with-__thread option.  Make tests for
40098         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40099         tls_model attribute fail if no support is available.  Remove
40100         USE_IN_LIBIO.
40101         * Makeconfig: Adjust for dropped configure option.  All features are
40102         now mandatory.
40103         * Makerules: Likewise.
40104         * Versions.def: Likewise.
40105         * argp/argp-fmtstream.c: Likewise.
40106         * argp/argp-fmtstream.h: Likewise.
40107         * argp/argp-help.c: Likewise.
40108         * assert/assert.c: Likewise.
40109         * config.h.in: Likewise.
40110         * config.make.in: Likewise.
40111         * configure: Likewise.
40112         * configure.in: Likewise.
40113         * csu/Versions: Likewise.
40114         * csu/init.c: Likewise.
40115         * elf/tst-audit2.c: Likewise.
40116         * elf/tst-tls10.c: Likewise.
40117         * elf/tst-tls10.h: Likewise.
40118         * elf/tst-tls11.c: Likewise.
40119         * elf/tst-tls12.c: Likewise.
40120         * elf/tst-tls14.c: Likewise.
40121         * elf/tst-tlsmod11.c: Likewise.
40122         * elf/tst-tlsmod12.c: Likewise.
40123         * elf/tst-tlsmod13.c: Likewise.
40124         * elf/tst-tlsmod13a.c: Likewise.
40125         * elf/tst-tlsmod14a.c: Likewise.
40126         * elf/tst-tlsmod15b.c: Likewise.
40127         * elf/tst-tlsmod16a.c: Likewise.
40128         * elf/tst-tlsmod16b.c: Likewise.
40129         * elf/tst-tlsmod7.c: Likewise.
40130         * elf/tst-tlsmod8.c: Likewise.
40131         * elf/tst-tlsmod9.c: Likewise.
40132         * gmon/gmon.c: Likewise.
40133         * grp/fgetgrent_r.c: Likewise.
40134         * grp/putgrent.c: Likewise.
40135         * hurd/fopenport.c: Likewise.
40136         * include/libc-symbols.h: Likewise.
40137         * include/tls.h: Likewise.
40138         * intl/gettextP.h: Likewise.
40139         * intl/loadinfo.h: Likewise.
40140         * locale/global-locale.c: Likewise.
40141         * locale/localeinfo.h: Likewise.
40142         * mach/devstream.c: Likewise.
40143         * malloc/arena.c: Likewise.
40144         * malloc/set-freeres.c: Likewise.
40145         * misc/err.c: Likewise.
40146         * misc/getttyent.c: Likewise.
40147         * misc/mntent_r.c: Likewise.
40148         * posix/getopt.c: Likewise.
40149         * posix/wordexp.c: Likewise.
40150         * pwd/fgetpwent_r.c: Likewise.
40151         * resolv/Versions: Likewise.
40152         * resolv/res_hconf.c: Likewise.
40153         * shadow/fgetspent_r.c: Likewise.
40154         * shadow/putspent.c: Likewise.
40155         * stdio-common/printf_fphex.c: Likewise.
40156         * stdio-common/tmpfile.c: Likewise.
40157         * stdlib/abort.c: Likewise.
40158         * stdlib/fmtmsg.c: Likewise.
40159         * sunrpc/auth_unix.c: Likewise.
40160         * sunrpc/clnt_perr.c: Likewise.
40161         * sunrpc/clnt_tcp.c: Likewise.
40162         * sunrpc/clnt_udp.c: Likewise.
40163         * sunrpc/clnt_unix.c: Likewise.
40164         * sunrpc/openchild.c: Likewise.
40165         * sunrpc/svc_simple.c: Likewise.
40166         * sunrpc/svc_tcp.c: Likewise.
40167         * sunrpc/svc_udp.c: Likewise.
40168         * sunrpc/svc_unix.c: Likewise.
40169         * sunrpc/xdr.c: Likewise.
40170         * sunrpc/xdr_array.c: Likewise.
40171         * sunrpc/xdr_rec.c: Likewise.
40172         * sunrpc/xdr_ref.c: Likewise.
40173         * sunrpc/xdr_stdio.c: Likewise.
40175 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40177         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40179 2011-07-03  Andreas Jaeger  <aj@suse.de>
40181         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40182         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40183         regenerate with gen-libm-tests.pl.
40185 2010-05-12  Petr Baudis  <pasky@suse.cz>
40187         [BZ #11589]
40188         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40189         around j0() zero points by switching to j1().
40190         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40191         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40192         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40193         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40195 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40197         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40198         instead of 0.
40199         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40200         instead of 0.
40201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40202         Patch in part by Pavel Roskin <proski@gnu.org>.
40204         [BZ #13138]
40205         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40206         realloc.
40207         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40208         Free memory block if necessary.
40210         [BZ #12847]
40211         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40212         be NULL.  Don't lock in this case.
40214 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40216         * elf/elf.h (ELFOSABI_GNU): New macro.
40217         (ELFOSABI_LINUX): Define to that.
40219 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40221         * string/strncat.c (strncat): Undef the symbol in case it has been
40222         defined in bits/string.h.
40224 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40226         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40228         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40229         link map.
40231 2011-08-17  Andreas Jaeger  <aj@suse.de>
40233         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40235 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40236             Ian Lance Taylor  <iant@google.com>
40238         * math/libm-test.inc (lround_test): New testcase.
40239         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40241 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40243         * Makefile: Remove support for automatic cvs check-ins.
40244         * Makerules: Likewise.
40245         * config.make.in: Likewise.
40246         * configure.in: Likewise.
40247         * intl/Makefile: Likewise.
40248         * locale/Makefile: Likewise.
40249         * po/Makefile: Likewise.
40250         * posix/Makefile: Likewise.
40251         * sysdeps/gnu/Makefile: Likewise.
40252         * sysdeps/mach/hurd/Makefile: Likewise.
40253         * sysdeps/sparc/sparc32/Makefile: Likewise.
40255         [BZ #13118]
40256         * posix/Makefile (bug-regex32-ENV): Define.
40257         Patch by John Stanley <jpsinthemix@verizon.net>.
40259         * misc/Makefile (headers): Add bits/select2.h.
40260         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40261         * misc/bits/select2.h: New file.
40262         * include/bits/select2.h: New file.
40263         * debug/Makefile (routines): Add fdelt_chk.
40264         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40265         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40266         FD_ISSET.
40267         * debug/fdelt_chk.c: New file.
40269         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40270         * wcsmbs/test-wmemcmp.c: Likewise.
40271         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40272         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40274 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40276         * string/Makefile (strop-tests): Add memcmp.
40277         * string/test-wmemcmp.c: New file.
40278         * string/test-memcmp.c: Add wmemcmp support.
40280 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40282         [BZ #13153]
40283         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40284         2011-07-19 change.
40286         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40287         garbage value in a __mach_port_mod_refs call in the cases of the
40288         task-self and thread-self ports.
40290 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40292         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40294 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40296         * elf/dl-load.c (lose): Check for non-null L.
40298 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40300         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40302         * elf/dl-libc.c (dlerror_run): Pass back error code from
40303         dl_catch_error.
40305         [BZ #13123]
40306         * elf/dl-load.c (lose): Free l_origin if it is valid.
40308         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40309         names.
40310         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40311         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40313         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40314         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40315         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40317 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40319         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40320         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40321         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40322         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40323         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40324         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40325         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40326         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40327         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40328         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40330 2011-08-15  Alan Modra  <amodra@gmail.com>
40332         [BZ #13092]
40333         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40334         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40335         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40336         ppc_mcount to static-only-routines.
40337         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40338         __mcount_internal.
40339         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40340         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40342 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40344         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40345         for finite and infinity parameters.
40347 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40349         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40350         and add nop instructions for throughput optimization.
40351         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40353 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40355         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40356         aligned copy for power7 with vector-scalar instructions.
40357         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40359 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40361         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40362         AVX check.
40364 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40366         [BZ #13144]
40367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40368         last change.
40370 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40372         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40373         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40374         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40376         clock_gettime.
40378 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40380         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40381         Forgot to demangle the pointer.
40383         * sysdeps/i386/sysdep.h: Define atom_text_section.
40384         * sysdeps/x86_64/sysdep.h: Likewise.
40385         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40386         section with atom_text_section.
40387         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40388         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40389         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40391         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40393         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40394         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40395         already be defined.  Change to take two parameters and don't assign
40396         result to variable.  Adjust all users.
40397         Define INTERNAL_GETTIME if not already defined.
40398         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40399         call.
40400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40401         HAVE_CLOCK_GETTIME_VSYSCALL.
40402         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40404         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40405         gettimeofday vsyscall, just use time.
40407 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40410         <errno.h>.
40412 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40414         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40415         syscall on x86-64.
40416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40417         syscall.
40418         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40420         syscall if possible.
40422 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40424         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40425         e_ident.  Don't pass to find_mapsXX.
40426         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40428 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40431         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40432         * sysdeps/x86_64/multiarch/strchr.S: Update.
40433         Check bit_slow_BSF bit.
40434         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40435         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40436         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40438 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40440         [BZ #13134]
40441         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40442         before glibc 2.15.
40443         (tryshell): Define.
40444         (__spawni): Change last parameter to be flag.  Test
40445         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40446         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40447         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40448         * posix/spawni.c: Likewise.
40449         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40450         * posix/spawnp.c: Likewise.  Change normal version to use
40451         SPAWN_XFLAGS_USE_PATH.
40452         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40453         SPAWN_XFLAGS_TRY_SHELL.
40455         [BZ #13150]
40456         * posix/glob.h: Remove gcc 1.x support.
40458         [BZ #13068]
40459         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40461 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40464         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40465         strrchr-sse2-bsf
40466         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40467         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40468         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40469         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40470         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40471         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40473 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40475         * sysdeps/x86_64/wcscmp.S: New file.
40477         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40478         wcscmp-c wcscmp-sse2
40479         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40480         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40481         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40482         * wcsmbs/wcscmp.c: Allow renaming.
40484 2011-09-05  David S. Miller  <davem@davemloft.net>
40486         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40487         stack slot, rather than the struct return pointer slot.
40488         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40489         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40491         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40493 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40495         * po/ja.po: Update from translation team.
40497         [BZ #13144]
40498         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40499         kernel in 64-bit binaries.
40501 2011-09-01  David S. Miller  <davem@davemloft.net>
40503         * elf/elf.h (HWCAP_SPARC_*): Move to..
40504         * sysdeps/sparc/sysdep.h: this new file and add new values.
40505         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40506         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40507         _DL_HWCAP_COUNT to 24.
40508         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40509         entries.
40510         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40511         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40512         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40514         instead of magic constants.
40515         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40517 2011-08-31  David S. Miller  <davem@davemloft.net>
40519         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40521         Reimplement to do errno handling inline.
40522         (SYSCALL_ERROR_HANDLER): New macro.
40523         (__SYSCALL_STRING): Do not do errno handling in asm.
40524         (__CLONE_SYSCALL_STRING): Delete.
40525         (__INTERNAL_SYSCALL_STRING): Delete.
40526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40527         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40528         (PSEUDO): Reimplement to do errno handling inline.
40529         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40530         (SYSCALL_ERROR_HANDLER): New macro.
40531         (__SYSCALL_STRING): Do not do errno handling in asm.
40532         (__CLONE_SYSCALL_STRING): Delete.
40533         (__INTERNAL_SYSCALL_STRING): Delete.
40534         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40535         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40536         i386.
40537         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40538         (inline_syscall*): Add 'err' argument.
40539         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40540         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40541         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40542         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40544         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40545         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40547 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40549         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40551 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40553         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40554         directive.
40556 2011-08-24  David S. Miller  <davem@davemloft.net>
40558         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40560 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40562         * elf/Makefile: Add rules to build and run unload8 test.
40563         * elf/unload8.c: New file.
40564         * elf/unload8mod1.c: New file.
40565         * elf/unload8mod1x.c: New file.
40566         * elf/unload8mod2.c: New file.
40567         * elf/unload8mod3.c: New file.
40569         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40570         it wasn't used.
40572 2011-08-23  David S. Miller  <davem@davemloft.net>
40574         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40575         subtract stack bias.
40576         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40577         %sp not %fp in calculations.
40578         (_JMPBUF_UNWINDS_ADJ): Likewise.
40580         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40581         (aio_suspend): Call it to force an exception region around the
40582         AIO_MISC_WAIT() invocation.
40584 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40586         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40587         backslash.
40589 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40591         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40592         protection macro.
40593         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40594         and <dl-machine.h>.
40595         (Elf64_FuncDesc): Remove.
40597 2011-08-22  David S. Miller  <davem@davemloft.net>
40599         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40600         sigaltstack check, add missing cfi directives.
40601         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40602         missing cfi directives, and sigaltstack handling.
40604 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40606         [BZ #11724]
40607         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40608         object is seen twice.
40609         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40611         * elf/Makefile (distribute): Add tst-initorder2.c.
40612         (tests): Add tst-initorder2.
40613         (modules-names): Add tst-initorder2a tst-initorder2b
40614         tst-initorder2c tst-initorder2d.  Add rules to build them.
40615         ($(objpfx)tst-initorder2.out): New rule.
40616         * elf/tst-initorder2.c: New file.
40617         * elf/tst-initorder2.exp: New file.
40619 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40621         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40623         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40624         dependencies back to end of function.
40626         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40627         $(elfobjdir)/ld.so.
40629 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40632         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40634         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40635         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40636         of __vdso_gettimeofday.
40637         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40638         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40639         attribute_hidden.
40640         (_libc_vdso_platform_setup): Remove initialization of
40641         __vdso_gettimeofday and __vdso_time.
40643 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40645         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40646         and fgetc_unlocked.
40647         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40648         getc_unlocked.
40650         * elf/dl-open.c (add_to_global): Report additions to the global scope
40651         for LD_DEBUG=scopes.
40652         (dl_open_worker): Also print scope of newly loaded dependencies.
40653         (_dl_show_scope): Indicate if there is no scope.
40655         [BZ #13114]
40656         * stdio-common/Makefile (tests): Add bug24.
40657         * stdio-common/bug24.c: New file.
40659 2011-08-19  Andreas Jaeger  <aj@suse.de>
40661         [BZ #13114]
40662         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40663         non-existant file when using close-on-exec mode.
40665 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40667         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40668         the very first instruction.
40670         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40671         the CFI state in the end.
40672         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40673         inclusion of dl-trampoline.h.
40674         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40676 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40678         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40679         expectations for long double.
40681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40682         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40684 2011-08-14  David S. Miller  <davem@davemloft.net>
40686         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40687         artificual limit depends upon the system page size.
40689 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40691         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40692         * resolv/Makefile: Define CFLAGS-libresolv.
40694 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40696         * nss/makedb.c (compute_tables): Make variables used in nested
40697         function static.
40699 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40701         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40702         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40703         if buffer was too small.
40705         * elf/pldd.c (main): Attach to all threads in the process.
40706         Rewrite /proc handling to use *at functions.
40708 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40710         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40711         specifies first scope to show.
40712         (dl_open_worker): Update callers.  Move printing scope of new
40713         object to before the relocation.
40714         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40715         * sysdeps/generic/ldsodefs.h: Update declaration.
40717         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40718         string for the scope number.
40720 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40722         * nscd/servicescache.c (cache_addserv): Make sure written is always
40723         initialized.
40725 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40727         * sysdeps/i386/i486/bits/atomic.h
40728         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40729         statement expression, so as to suppress "set but not used" warning.
40730         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40732         * string/strncat.c (STRNCAT): Use prototype definition.
40734         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40735         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40736         -Iprograms here.
40737         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40738         (localedef-modules): Add localedef.
40739         (locale-modules): Add locale.
40741         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40742         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40743         to avoid a warning.
40745 2011-08-14  David S. Miller  <davem@davemloft.net>
40747         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40748         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40750 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40752         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40753         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40754         * elf/rtld.c (dl_main): Set l_name of vDSO.
40755         Call _dl_show_scope when DL_DEBUG_SCOPES.
40756         (process_dl_debug): Recognize scopes flag and also set it for all.
40757         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40758         Declare _dl_show_scope.
40760         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40761         (do_dlopen): Pass caller_dlopen to dl_open.
40762         (__libc_dlopen_mode): Initialize caller_dlopen.
40764         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40765         of libc.  Make tolower call locale-independent.  Optimize a bit by
40766         using isdigit instead of isalnum.
40767         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40769 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40771         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40772         was a dependency or dynamically loaded.
40774 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40776         * intl/l10nflist.c: Allow architecture-specific pop function.
40777         * sysdeps/x86_64/l10nflist.c: New file.
40779         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40780         classification.
40782 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40784         * include/dirent.h: Add libc_hidden_proto for scandirat and
40785         scandirat64.  Don't declare __scandirat64.
40786         * dirent/scandirat.c: Add libc_hidden_def.
40787         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40788         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40790 2011-08-10  David S. Miller  <davem@davemloft.net>
40792         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40793         enum.
40794         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40795         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40796         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40798 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40800         * Versions.def [libc]: Add GLIBC_2.15.
40801         * dirent/Makefile (routines): Add scandirat and scandirat64.
40802         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40803         GLIBC_2.15.
40804         * dirent/dirent.h: Declare scandirat and scandirat64.
40805         * dirent/scandirat.c: New file.
40806         * dirent/scandirat64.c: New file.
40807         * sysdeps/wordsize-64/scandirat.c: New file.
40808         * sysdeps/wordsize-64/scandirat64.c: New file.
40809         * dirent/opendir.c: Define opendirat.
40810         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40811         using scandirat.
40812         * dirent/scandir64.c: Adjust for scandir.c change.
40813         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40814         __scandirat64, and __scandir_cancel_handler.
40815         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40816         additional parameter and use openat instead of open (outside of ld.so).
40817         Add new __opendir as wrapper around __opendirat.
40818         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40819         here without requiring old scandirat implementation.
40821 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40823         * dirent/scandir.c (cancel_handler): Renamed to
40824         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40825         defined.  Adjust users.
40826         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40827         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40829 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40831         * string/test-string.h (IMPL): Use __STRING to expand name and then
40832         stringify it.
40834         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40835         of cleanups.
40837 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40839         * string/Makefile: Update.
40840         (strop-tests): Append strncat.
40841         * string/test-wcscmp.c: New file.
40842         New comprehensive test for wcscmp.
40843         * string/test-strcmp.c: Update.
40844         (WIDE): New define.
40846 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40848         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40849         line.
40851 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40854         encoding to ACE if AI_IDN.
40856 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40858         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40859         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40861 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40863         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40864         Fix overflow bug in strncat.
40865         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40867         * string/test-strncat.c: Update.
40868         Add new tests for checking overflow bugs.
40870 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40873         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40874         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40875         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40876         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40877         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40878         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40879         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40880         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40882         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40883         (USE_AS_STRCAT): Define.
40884         Add strcat and strncat support.
40885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40887 2011-07-25  Andreas Schwab  <schwab@redhat.com>
40889         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40890         __n bigger than INT_MAX+1.
40891         (__strncmp_g): Likewise.
40893 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
40895         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40896         * libio/stido.h: Likewise.
40898         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40899         (AF_NFC): Define.
40900         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40901         (AF_NFC): Define.
40903         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40904         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40905         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40906         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40907         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40909         [BZ #13021]
40910         * scripts/test-installation.pl: Don't expect libnss_test1 to be
40911         installed.
40913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40914         typo.
40915         (_dl_x86_64_save_sse): Likewise.
40917 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
40919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40920         OSXSAVE.
40921         (_dl_x86_64_save_sse): Likewise.
40923         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40925         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40927 2011-07-21  Andreas Schwab  <schwab@redhat.com>
40929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40930         change.
40931         (_dl_x86_64_save_sse): Use correct AVX check.
40933 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40935         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40936         bug in strncpy/strncat.
40937         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40939 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
40941         * string/tester.c (test_strcat): Add tests for different alignments
40942         of source and destination.
40943         (test_strncat): Likewise.
40945 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40947         [BZ #12852]
40948         * posix/glob.c (glob): Check passed in values before using them in
40949         expressions to avoid some overflows.
40950         (glob_in_dir): Likewise.
40952         [BZ #13007]
40953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40954         check for AVX enablement so that we don't crash with old kernels and
40955         new hardware.
40956         * elf/tst-audit4.c: Add same checks here.
40957         * elf/tst-audit6.c: Likewise.
40959         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40961 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
40963         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40965 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40967         * po/cs.po: Update from translation team.
40968         * po/bg.po: Likewise.
40970 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
40972         * misc/sys/cdefs.h: Add support for const attribute.
40973         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40974         to gnu_dev_{major,minor,makedev} functions.
40976 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
40978         * intl/dcigettext.c (get_output_charset): Add missing bracket.
40980 2011-07-20  Andreas Schwab  <schwab@redhat.com>
40982         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40983         strlen results.
40985 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40988         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40989         register in order to avoid conflicts with the soft frame pointer
40990         being held in r11 when necessary.
40991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40992         (INTERNAL_VSYSCALL_NCS): Likewise.
40994 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
40996         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40997         * elf/dl-fini.c (_dl_fini): Adjust caller.
40998         * elf/dl-close.c (_dl_close_worker): Likewise.
40999         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41001 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41003         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41004         "aux_cache->nlibs < 0".
41006         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41007         in the reload-count case.
41009 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41012         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41013         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41014         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41015         * sysdeps/x86_64/multiarch/strcat.S: New file.
41016         * sysdeps/x86_64/multiarch/strncat.S: New file.
41017         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41018         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41019         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41020         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41021         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41022         (USE_AS_STRCAT): Define.
41023         Add strcat and strncat support.
41024         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41025         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41026         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41027         * string/strncat.c: Update.
41028         (USE_AS_STRNCAT): Define.
41029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41030         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41031         and i7.
41032         * sysdeps/x86_64/multiarch/init-arch.h
41033         (bit_Prefer_PMINUB_for_stringop): New.
41034         (index_Prefer_PMINUB_for_stringop): Likewise.
41035         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41036         bit_Prefer_PMINUB_for_stringop.
41038 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41040         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41041         buffer64.
41042         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41043         of casting of buffer.
41044         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41045         buffer32 and buffer64.
41046         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41047         writes instead of casting of buffer.
41048         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41049         buffer32.
41050         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41051         casting of buffer.
41053 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41055         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41057 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41059         * nscd/nscd.c (termination_handler): Don't do anything for a database
41060         if it has not yet been initialized.
41062 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41064         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41066 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41068         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41070 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41072         * po/nl.po: Update from translation team.
41073         * po/sv.po: Likewise.
41075 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41077         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41078         now disallowed by GCC.
41080         * configure.in (use-default-link): Default to yes if a test -shared
41081         link meets our qualifications.
41082         * configure: Regenerated.
41084         * config.make.in (output-format): New variable.
41085         * configure.in: Check for ld --print-output-format support.
41086         * configure: Regenerated.
41087         * Makerules ($(common-objpfx)format.lds)
41088         [$(output-format) != unknown]: Just use $(output-format),
41089         instead of the linker-script munging.
41091 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41093         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41094         of $(common-objpfx)shlib.lds.
41095         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41097         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41098         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41100         * configure.in (-z relro check): Adjust test code to add a large
41101         writable data section after it.
41102         * configure: Regenerated.
41104 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41106         * configure.in (-z relro check): Fix test code to make the variable
41107         truly const.
41108         * configure: Regenerated.
41110 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41112         * nscd/nscd.h (struct traced_file): Define.
41113         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41114         elements.  Add traced_files.
41115         (inotify_fd): Declare.
41116         (register_traced_file): Declare.
41117         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41118         (inotify_fd): Export.
41119         (resolv_conf_descr): Remove.
41120         (nscd_init): Move inotify descriptor creation to main.
41121         Don't register files for notification here.
41122         (register_traced_file): New function.
41123         (invalidate_cache): Don't use reset_res to determine whether to call
41124         res_init, go through the list of registered files.
41125         (main_loop_poll): The inotify descriptors are now stored in the
41126         structures for the traced files.
41127         (main_loop_epoll): Likewise
41128         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41129         to __nss_disable_nscd.
41130         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41131         for a database anymore.  Check the records for all the registered
41132         files instead.
41133         * nss/Makefile (libnss_files-routines): Add files-init.
41134         (libnss_db-routines): Add db-init.
41135         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41136         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41137         * nss/nss_db/db-init.c: New file.
41138         * nss/nss_files/files-init.c: New file.
41139         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41140         __nss_lookup_function.
41141         (__nss_lookup_function): Call nss_load_library.
41142         (nss_load_all_libraries): New function.
41143         (__nss_disable_nscd): Take parameter with callback function for files
41144         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41145         used for the cached services.
41146         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41147         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41148         options for features to all the files in nscd.
41150         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41152 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41154         * csu/elf-init.c (__libc_csu_init): Comment typo.
41156 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41158         * po/pl.po: Update from translation team.
41159         * po/ja.po: Likewise.
41160         * po/ru.po: Likewise.
41161         * po/ko.po: Likewise.
41162         * po/fr.po: Likewise.
41164 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41166         * configure.in (.ctors/.dtors header and trailer check):
41167         Use an empirical test on a built program.
41168         * configure: Regenerated.
41170         * configure.in (-z relro check): Use an empirical test on a built DSO.
41171         Detect, but do not require, on ia64.
41172         * configure: Regenerated.
41174         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41175         Update tests that use readelf to use $READELF instead.
41176         * configure: Regenerated.
41178 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41180         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41181         if the result is not used.
41183 2011-07-05  Andreas Jaeger  <aj@suse.de>
41185         [BZ#9696]
41186         * stdlib/tst-strtod.c: Add testcase.
41188 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41190         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41191         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41192         The latter has a higher limit.  Take additional parameter to pass to
41193         the new function.
41194         (__pathconf): Pass file to __statfs_link_max.
41195         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41196         __statfs_link_max.
41197         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41198         __statfs_link_max.
41200         [BZ #12868]
41201         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41202         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41203         Handle Lustre.
41204         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41205         (__statfs_filesize_max): Likewise.
41206         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41208 2011-07-05  Andreas Jaeger  <aj@suse.de>
41210         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41212 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41214         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41215         `status' variable.
41216         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41217         Likewise.
41219 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41221         * Makefile (strop-tests): Add strncat.
41222         * string/test-strncat.c: New file.
41224 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41226         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41228 2011-06-21  Andreas Jaeger  <aj@suse.de>
41230         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41231         Copy rule from iconvdata/Makefile.
41233 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41235         [BZ #12922]
41236         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41237         but no long options are defined, just return 'W'.
41239 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41241         [BZ #9696]
41242         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41244 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41246         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41247         netgroups to read.
41248         (innetgr): Likewise.
41250 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41252         * config.make.in (install_root): Default to $(DESTDIR).
41254 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41256         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41258 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41260         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41262         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41263         containing directory rather than embedding absolute directory names.
41265         * scripts/check-local-headers.sh: Rewritten using awk.
41266         Match by word, not by line.  Print error messages for matches.
41267         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41269         * Makerules [shlib-lds-flags empty]:
41270         ($(common-objpfx)libc_pic.opts): New target.
41271         ($(common-objpfx)libc_pic.os.clean): New target.
41272         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41274         * config.make.in (OBJCOPY): New variable.
41275         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41276         * configure: Regenerated.
41278         * config.make.in (use-default-link): New variable.
41279         * configure.in (use_default_link): Grok --with-default-link to set it.
41280         * configure: Regenerated.
41281         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41282         (shlib-lds, shlib-lds-flags): Define to empty.
41284         * Makerules (shlib-lds): New variable.
41285         (shlib-lds-flags): New variable.
41286         (build-shlib, build-moduile, build-module-asneeded): Use it.
41287         ($(common-objpfx)libc.so): Use $(shlib-lds).
41288         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41289         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41291         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41292         DT_FLAGS/DT_FLAGS_1 with zero flags.
41294         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41295         linker script munging.
41297 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41299         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41300         as 128-bit value.
41301         * crypt/sha512.c (sha512_process_block): Perform total addition using
41302         128-bit if possible.
41303         (__sha512_finish_ctx): Likewise.
41304         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41305         as 64-bit value.
41306         * crypt/sha256.c (SWAP64): Define.
41307         (sha256_process_block): Perform total addition using 64-bit if
41308         possible.
41309         (__sha256_finish_ctx): Likewise.
41311 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41313         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41314         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41315         * nscd/hstcache.c (cache_addhst): Likewise.
41316         * nscd/grpcache.c (cache_addgr): Likewise.
41317         * nscd/aicache.c (addhstaiX): Likewise
41318         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41320 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41322         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41323         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41324         * nscd/hstcache.c (cache_addhst): Likewise.
41325         * nscd/grpcache.c (cache_addgr): Likewise.
41326         * nscd/aicache.c (addhstaiX): Likewise
41328 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41330         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41331         domain only when needed.
41333 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41336         is always restored.
41338 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41340         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41341         are re-adding the entry.
41342         * nscd/servicescache.c (cache_addserv): Likewise.
41344 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41346         * sysdeps/generic/dl-irel.h: fix protection against multiple
41347         inclusions.
41348         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41350 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41352         [BZ #12935]
41353         * malloc/memusage.sh: Fix quoting in message.
41354         * debug/xtrace.sh: Likewise.
41356         * configure.in: Remove support for --experimental-malloc option, make
41357         it the default.
41358         * config.make.in: Likewise.
41359         * malloc/Makefile: Likewise.
41361 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41363         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41364         two-byte characters.
41366 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41368         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41369         AC_CACHE_CHECK invocation.
41370         * configure: Regenerated.
41372         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41374 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41376         [BZ #12350]
41377         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41378         bit from old_res_options.
41380         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41382         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41383         value type for setfct.
41385 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41388         __gettimeofday instead of gettimeofday.
41390 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41392         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41394 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41398         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41399         info.
41401 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41404         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41405         strcpy-sse2-unaligned strncpy-sse2-unaligned
41406         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41407         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41408         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41409         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41410         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41411         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41412         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41413         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41414         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41415         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41416         (STRCPY): Support SSE2 and SSSE3 versions.
41418 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41420         [BZ #12874]
41421         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41422         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41423         kernels which artificially limit size of requests.
41425 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41428         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41429         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41430         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41431         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41432         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41433         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41434         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41435         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41437         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41438         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41439         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41440         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41441         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41443         Enable unaligned load optimization for Intel Core i3, i5 and i7
41444         processors.
41445         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41446         Define.
41447         (index_Fast_Unaligned_Load): Define.
41448         (HAS_FAST_UNALIGNED_LOAD): Define.
41450 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41452         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41454 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41456         [BZ #12907]
41457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41458         until it is clear that the information is realy needed.
41459         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41461 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41465 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41468         /sys/devices/system/cpu/online if it is usable.
41470         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41471         reading the information from the /proc filesystem to once a second.
41473 2011-06-21  Andreas Jaeger  <aj@suse.de>
41475         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41476         NULL after inclusion of kernel headers.
41478 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41480         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41481         calls to internal_setent.
41483         [BZ #12885]
41484         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41485         addresses using gethostbyname4_r ignore IPv4 addresses.
41487         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41488         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41490         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41492 2011-06-20  David S. Miller  <davem@davemloft.net>
41494         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41495         inclusions.
41496         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41498         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41499         (elf_irel): Use it.
41500         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41501         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41502         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41503         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41504         * sysdeps/x86_64/dl-irel.h: Likewise.
41506         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41507         * elf/dl-sym.c: Likewise.
41509 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41511         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41512         need to dereference resplen2.
41514 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41516         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41518 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41520         * Makeconfig: Define vardbdir and inst_vardbdir.
41521         * nss/Makefile: Add rules to install db-Makefile.
41523         * nss/nss_db/db-XXX.c: Cleanup.
41525         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41526         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41527         GLIBC_PRIVATE.
41528         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41529         * nss/makedb.c: Implement -g option to specify that value strings
41530         are generated and should not be added to table iterated over for
41531         get*ent calls.
41532         * nss/nss_db/db-initgroups.c: New file.
41534         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41535         interface.
41537         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41538         (internal_getgrouplist): Adjust to name change.
41539         Update use_initgroups_entry if this is not the first call.
41540         * nss/databases.def: Add initgroups entry.
41542         * nss/makedb.c (compute_tables): Check result of multiple hash table
41543         sizes to minimize maximum chain length.
41545 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41547         * Versions.def: Add entry for libnss_db.
41548         * shlib-versions: Likewise.
41549         * nss/Makefile: Add rules to build libnss_db.
41550         * nss/Versions: Add libnss_db information.  Organize libnss_files
41551         entries better.
41552         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41553         makedb progra.  Some minor improvements to generate smaller files.
41554         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41555         here from...
41556         * nss/makedb.c: ...here.
41557         Improve database format to be smaller and require less memory at
41558         runtime.
41559         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41560         db anymore.
41561         * nss/nss_db/db-netgrp.c: Likewise.
41562         * nss/nss_db/db-open.c: Likewise.
41563         * nss/nss_files/flies-XXX.x: Adjust comments.
41564         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41565         * nss/nss_files/files-grp.c: Likewise.
41566         * nss/nss_files/files-hosts.c: Likewise.
41567         * nss/nss_files/files-network.c: Likewise.
41568         * nss/nss_files/files-proto.c: Likewise.
41569         * nss/nss_files/files-pwd.c: Likewise.
41570         * nss/nss_files/files-rpc.c: Likewise.
41571         * nss/nss_files/files-service.c: Likewise.
41572         * nss/nss_files/files-sgrp.c: Likewise.
41573         * nss/nss_files/files-spwd.c: Likewise.
41574         * nss/nss_db/db-alias.c: Removed.
41575         * nss/nss_db/dummy-db.h: Removed.
41577 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41579         * nss/makedb.c: Rewritten to not use database library.
41580         * nss/Makefile: Update to build new makedb program.
41582 2011-06-14  Andreas Jaeger  <aj@suse.de>
41584         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41585         memset declaration.
41587 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41590         tmpbuf.
41592 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41594         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41595         * elf/Makefile ($(objpfx)ld.so): Likewise.
41597         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41598         Don't list ld.so twice in dependencies.
41600         * posix/bug-regex31.c: Include <stdlib.h>.
41602         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41604         * nis/nss_compat/compat-spwd.c
41605         (getspent_next_nss_netgr): Remove unused variable.
41606         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41608         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41609         nonmembers" output to use the right array.
41611         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41613         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41615         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41616         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41617         * catgets/gencat.c (read_input_file): Likewise.
41618         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41620         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41621         variable definition inside #if's controlling its use.
41623         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41625         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41627         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41629         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41630         unreachable code.
41632         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41634         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41635         * configure: Regenerated.
41637         * Makerules: Revert last change.
41638         * elf/Makefile: Likewise.
41640 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41642         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41643         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41644         (reloc-link): Likewise.
41646 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41648         * elf/Makefile: Add rules to build pldd.
41649         * elf/pldd.c: New file.
41650         * elf/pldd-xx.c: New file.
41652 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41654         * version.h: Update for 2.15 development version.
41656 2011-06-07  David S. Miller  <davem@davemloft.net>
41658         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41659         ifuncs.
41660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41661         elf_machine_lazy_rel): Likewise.
41662         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41663         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41664         elf_machine_lazy_rel): Likewise.
41665         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41666         dl_hwcap via passed in argument.
41667         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41668         Likewise.
41670 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41672         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41674 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41676         [BZ #12849]
41677         * manual/fdl-1.1.texi: New file, verbatim from:
41678         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41679         * manual/lgpl-2.1.texi: New file, verbatim from:
41680         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41681         * manual/Makefile (licenses): New variable, list those new file names.
41682         (texis): Use it.
41683         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41685         * manual/fdl.texi: File removed.
41686         * manual/lesser.texi: File removed.
41687         * manual/libc.texinfo (Copying, Documentation License):
41688         Use new @include file names, put @appendix directive before @include.
41690 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41692         [BZ #12841]
41693         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41694         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41695         (mq_open): Add __NTH.
41697 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41700         Assume Intel Core i3/i5/i7 processor if AVX is available.
41702 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41704         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41705         typo.
41707 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41709         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41710         memory.  Use alloca_account.  Fix memory leak when retrying.
41712 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41714         * version.h (RELEASE): Bump for 2.14 release.
41715         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41717         * config.make.in (RANLIB): Remove entry.
41719 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41721         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41722         (libc.pot): Work around missing support for .ksh extension in xgettext.
41724         [BZ #12684]
41725         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41726         if both request failed.
41727         (send_dg): In case of server errors clear resplen or *resplen2.
41729         [BZ #12454]
41730         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41731         when there are multiple maps.
41732         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41733         (_dl_fini): Remove test here.
41735         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41737 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41739         [BZ #12350]
41740         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41741         bit from old_res_options.
41742         (gaih_inet): Likewise.
41744         [BZ #11099]
41745         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41746         as signed.
41748         * resolv/res_init.c (res_setoptions): Make the code more compact.
41750         [BZ #11558]
41751         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41752         set RES_USEVC.
41754         [BZ #11634]
41755         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41757         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41759         [BZ #11781]
41760         * malloc/malloc.h: Declare malloc hook variables as volatile.
41762         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41763         in last patch.
41765         [BZ #11799]
41766         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41767         raise in the comment.
41768         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41769         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41770         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41772 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41774         [BZ #12811]
41775         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41776         grow the buffers more if it already has to be sufficient.
41777         (build_wcs_upper_buffer): Likewise.
41778         * posix/regexec.c (check_matching): Likewise.
41779         (clean_state_log_if_needed): Likewise.
41780         (extend_buffers): Don't enlarge buffers beyond size of the input
41781         buffer.
41782         Patches mostly by Emil Wojak <emil@wojak.eu>.
41783         * posix/bug-regex32.c: New file.
41784         * posix/Makefile (tests): Add bug-regex32.
41786         * locale/findlocale.c (_nl_find_locale): Return right away if
41787         _nl_explode_name failed.
41788         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41790         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41792         * debug/xtrace.sh: Unify messages.
41793         * malloc/memusage.sh: Likewise.
41795         [BZ #12813]
41796         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41797         time symbol from vDSO.  Substitute with vsyscall if not available.
41798         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41799         __vdso_time.
41801         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41802         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41803         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41804         Add sendmmsg and internal_sendmmsg.
41805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41806         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41807         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41809         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41810         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41811         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41813 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41815         [BZ #12813]
41816         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41817         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41818         available.
41819         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41820         __vdso_getcpu.
41822         [BZ #12814]
41823         * iconvdata/Makefile (tests): Add bug-iconv9.
41824         * iconvdata/bug-iconv9.c: New file.
41826 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41828         [BZ #12814]
41829         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41831 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41833         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41834         (struct user_regs_struct): Change intcs field back to cs.
41836 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41838         * po/ja.po: Update from translation team.
41840 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41842         [BZ #12795]
41843         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41844         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41846 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41848         * stdlib/longlong.h: Update from GCC.
41850 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41852         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41853         parameter name.
41854         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41855         Add parameter name.
41856         (__sysconf): Pass it down.
41858 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41860         [BZ #12671]
41861         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41862         some situations.
41863         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41864         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41865         add in in __libc_use_alloca calls.  Adjust callers.
41866         (glob): Use malloc in some situations.
41868         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41869         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41870         pltexit.
41872 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41874         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41875         and CLOCK_BOOTTIME_ALARM.
41877         [BZ #12782]
41878         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41879         is returned.
41881         * string/_strerror.c (__strerror_r): Print negative errors as signed
41882         numbers.
41884         [BZ #12777]
41885         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41886         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41887         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41889         * configure.in: Fix typo in redirection and correct removal of test
41890         files in two cases.
41892         [BZ #12788]
41893         * locale/setlocale.c (new_composite_name): Fix test to check for
41894         identical name of all categories.
41896         [BZ #12792]
41897         * libio/filedoalloc.c (local_isatty): New function.
41898         (_IO_file_doallocate): Use local_isatty.
41899         * stdio-common/perror.c (perror): In case a new stream is used
41900         forward the stream error.
41901         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41902         error flag.
41904 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
41906         [BZ #11869]
41907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41908         alloca.
41909         * include/alloca.h (extend_alloca_account): Define.
41911         [BZ #11857]
41912         * posix/regex.h: Fix comments with documentation of user-accessible
41913         fields after compilation and describe correct free'ing of pattern
41914         after re_compile_pattern.
41915         Patch by Reuben Thomas <rrt@sc3d.org>.
41917 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
41919         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41920         and -mno-altivec to prevent the compiler from using Altivec and/or
41921         VSX instructions when the corresponding registers are not available.
41923 2011-05-19  Andreas Schwab  <schwab@redhat.com>
41925         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41927 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
41929         * libio/freopen.c (freopen): Use __dup2, not dup2.
41930         * libio/freopen64.c (freopen64): Likewise.
41932 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41934         [BZ #12775]
41935         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41936         * math/Makefile (tests): Add test-powl.
41937         (CFLAGS-test-powl.c): Define.
41938         * math/test-powl.c: New file.
41940 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41942         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41944 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
41946         [BZ #11837]
41947         * iconvdata/gb18030.c: Update to GB18020-2005.
41949 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
41951         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41952         RE_SYNTAX_POSIX_AWK): Update to match recent development.
41953         Patch by Aharon Robbins <arnold@skeeve.com>.
41955         [BZ #11892]
41956         * stdlib/putenv.c (putenv): Don't always create copy of the variable
41957         on the stack.
41959         [BZ #11895]
41960         * misc/pselect.c (__pselect): Handle timeout value errors hidden
41961         through underflows.
41963         [BZ #12766]
41964         * misc/error.c (error_at_line): Ensure file_name and old_file_name
41965         point to strings before performing equality test for error_one_per_line
41966         mode.
41968         [BZ #11697]
41969         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41971         [BZ #11820]
41972         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41973         (struct user_fpregs_struct): Avoid __uint*_t types.
41975         [BZ #6420]
41976         * malloc/mtrace.c (tr_where): Add additional parameter to point to
41977         symbol info.  Use it instead of calling _dl_addr locally.
41978         (lock_and_info): New function.
41979         (tr_freehook): Call lock_and_info and pass symbol info as additional
41980         parameter to tr_where.
41981         (tr_mallochook): Likewise.
41982         (tr_reallochook): Likewise.
41983         (tr_memalignhook): Likewise.
41985         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
41986         used and couldn't be at all thread-safe.
41988 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
41990         * libio/freopen.c (freopen): Don't close old file descriptor
41991         before the new one is opened.  Instead dup the new file descriptor
41992         to the old one after the new stream is created.
41993         * libio/freopen64.c (freopen64): Likewise.
41994         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41995         * libio/fileops.c (_IO_new_file_close_it): Handle new
41996         _IO_FLAGS2_NOCLOSE flag.
41997         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41998         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41999         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42000         _IO_FLAGS2_NOCLOSE flag.
42001         * include/unistd.h: Add hidden_proto for dup3.
42002         Define __have_dup3.
42003         * io/dup3.c: Define hidden symbol.
42004         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42006         [BZ #7101]
42007         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42008         when an incomplete long option is used.
42009         * posix/tst-getopt_long1.c: New file.
42010         * posix/Makefile (tests): Add tst-getopt_long1.
42012         [BZ #10138]
42013         * scripts/config.guess: Update from autoconf-2.68.
42014         * scripts/config.sub: Likewise.
42016         [BZ #10157]
42017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42018         tests into ...
42019         (has_cpuclock): ...this.  New function.
42020         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42021         macro here based on has_cpuclock code.
42023         [BZ #10149]
42024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42025         First byte (not low byte) is now always NUL.
42026         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42028         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42029         Use non-cancelable interfaces.
42031         [BZ #9809]
42032         * locale/iso-639.def: Add entry for Sorani.
42034         [BZ #11901]
42035         * include/stdlib.h: Move include protection to the right place.
42036         Define abort_msg_s.  Declare __abort_msg with it.
42037         * stdlib/abort.c (__abort_msg): Adjust type.
42038         * assert/assert.c (__assert_fail_base): New function.  Majority
42039         of code from __assert_fail.  Allocate memory for __abort_msg with
42040         mmap.
42041         (__assert_fail): Now call __assert_fail_base.
42042         * assert/assert-perr.c: Remove bulk of implementation.  Use
42043         __assert_fail_base.
42044         * include/assert.hL Declare __assert_fail_base.
42045         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42046         mmap.
42047         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42049 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42051         [BZ #11952]
42052         [BZ #12453]
42053         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42054         until all modules are registered in the DTV.
42055         * elf/Makefile: Add rules to build and run tst-tls19.
42056         * elf/tst-tls19.c: New file.
42057         * elf/tst-tls19mod1.c: New file.
42058         * elf/tst-tls19mod2.c: New file.
42059         * elf/tst-tls19mod3.c: New file.
42060         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42062         [BZ #12083]
42063         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42064         correctly.
42066         [BZ #12601]
42067         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42068         two-byte sequence errors.
42069         * iconvdata/Makefile (tests): Add bug-iconv8.
42070         * iconvdata/bug-iconv8.c: New file.
42072         [BZ #12626]
42073         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42074         buf2 definition.
42076         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42078         [BZ #12432]
42079         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42080         (dummy_getcfa): New function.
42081         (init): Get _Unwind_GetCFA address, use dummy if not found.
42082         (backtrace_helper): In recursion check, also check whether CFA changes.
42083         (__backtrace): Completely initialize arg.
42085         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42086         storing incomplete byte sequence in state object.  Avoid testing for
42087         guaranteed too small input if we know there is enough data available.
42089 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42091         * Makeconfig (+link-pie): Indent.
42092         * Rules (binaries-pie): Define if $(have-fpie) and
42093         $(build-shared).
42094         (binaries-shared): Also filter out $(binaries-pie).
42095         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42096         * nscd/Makefile (others-pie): Add nscd.
42097         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42098         ($(objpfx)nscd): Remove command override.
42099         * login/Makefile (others-pie): Add pt_chown.
42100         ($(objpfx)pt_chown): Remove command override.
42101         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42102         remove command overrides.
42104 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42106         * libio/tst_putwc.c: Fix error messages.
42108         [BZ #12724]
42109         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42110         currently writing and seek to current position when not.
42111         * libio/Makefile (tests): Add bug-fclose1.
42112         * libio/bug-fclose1.c: New file.
42114 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42116         [BZ #12511]
42117         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42118         don't set DF_1_NODELETE here.
42119         (do_lookup_x): When entering new entry test for copy relocation
42120         and if necessary set DF_1_NODELETE flag.
42121         * elf/tst-unique4.cc: New file.
42122         * elf/tst-unique4.h: New file.
42123         * elf/tst-unique4lib.cc: New file.
42124         * elf/Makefile: Add rules to build and run tst-unique4.
42125         Patch by Piotr Bury <pbury@goahead.com>.
42127 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42129         [BZ #12052]
42130         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42132         [BZ #12625]
42133         * misc/mntent_r.c (addmntent): Flush the stream after the output
42135         [BZ #12393]
42136         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42137         (is_trusted_path_normalize): Skip initial colon.  Append slash
42138         to empty buffer.  Duplicate is_trusted_path code but allow
42139         constructed patch to be prefix.
42140         (is_dst): Allow $ORIGIN followed by /.
42141         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42142         Correct testing of result of is_trusted_path_normalize
42143         (decompose_rpath): Fix warning.
42145 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42147         [BZ #11257]
42148         * grp/initgroups.c (internal_getgrouplist): When we found the service
42149         list through the initgroups entry in nsswitch.conf do not always
42150         continue on a successful lookup.  Don't always use the
42151         __nss_group_database value if it is set.
42152         * nss/nsswitch.conf (initgroups): Change action for successful db
42153         lookup to continue for compatibility.
42155 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42157         [BZ #11532]
42158         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42159         and CP774 modules.
42160         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42161         and CP774 modules.
42162         * iconvdata/tst-tables.sh: Likewise.
42163         * iconvdata/cp770.c: New file.
42164         * iconvdata/cp771.c: New file.
42165         * iconvdata/cp772.c: New file.
42166         * iconvdata/cp773.c: New file.
42167         * iconvdata/cp774.c: New file.
42168         * iconvdata/testdata/CP770: New file.
42169         * iconvdata/testdata/CP770..UTF8: New file.
42170         * iconvdata/testdata/CP771: New file.
42171         * iconvdata/testdata/CP771..UTF8: New file.
42172         * iconvdata/testdata/CP772: New file.
42173         * iconvdata/testdata/CP772..UTF8: New file.
42174         * iconvdata/testdata/CP773: New file.
42175         * iconvdata/testdata/CP773..UTF8: New file.
42176         * iconvdata/testdata/CP774: New file.
42177         * iconvdata/testdata/CP774..UTF8: New file.
42179         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42180         END CHARMAP line.
42181         * iconvdata/gen-8bit-gap.sh: Likewise.
42182         * iconvdata/gen-8bit.sh: Likewise.
42184         * locale/iso-639.def: Add ary entry.
42186         [BZ #11258]
42187         * locale/C-translit.h.in: Add U20A1 transliteration.
42189         [BZ #12178]
42190         * locale/iso-639.def: Add wae entry.
42191         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42193         [BZ #12545]
42194         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42195         for n.
42197         [BZ #12711]
42198         * locale/C-translit.h.in: Add entry for U20B9.
42199         Patch by pravin.d.s@gmail.com.
42201 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42203         [BZ #12713]
42204         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42205         ENAMETOOLONG use generic getcwd.
42206         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42207         in rtld.  Use *stat64.
42208         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42209         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42210         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42211         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42212         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42213         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42214         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42215         __fstatat64 macros.
42216         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42217         * dirent/rewinddir.c: Add libc_hidden_def.
42218         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42219         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42221         * include/dirent.h (__alloc_dir): Add flags parameter.
42222         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42223         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42224         __alloc_dir.
42225         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42226         from fdopendir if O_CLOEXEC is already set.
42228 2011-03-15  Alan Modra  <amodra@gmail.com>
42230         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42231         l_tls_firstbyte_offset non-zero.  Save padding offset in
42232         l_tls_firstbyte_offset for later use.
42233         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42234         freeing static tls block.
42236 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42238         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42239         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42240         being defined by the kernel headers.
42242 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42244         [BZ #12734]
42245         * resolv/resolv.h: Define RES_NOTLDQUERY.
42246         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42247         no-tld-query and set RES_NOTLDQUERY.
42248         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42249         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42250         modern BIND to search name as TLD unless forbidden.
42252 2011-05-07  Petr Baudis  <pasky@suse.cz>
42253             Ulrich Drepper  <drepper@gmail.com>
42255         [BZ #12393]
42256         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42257         (is_trusted_path): ...to here.
42258         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42259         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42260         using is_trusted_path_normalize() in setuid scripts.
42262 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42264         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42265         __BEGIN/__END_DECLS.
42267 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42269         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42270         NSS_STATUS_NOTFOUND if no record was found.
42272 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42274         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42275         (headers-not-in-tirpc): Remove rpc/netdb.h
42276         * resolv/netdb.h: Revert last change.
42278 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42280         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42281         circular dependency between libgcc.a and libc.a.
42283 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42285         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42286         * nis/Makefile: Don't install rpcsvc/*.
42287         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42288         instead of <rpc/types.h>.
42289         (MAXHOSTNAMELEN): Define.
42291 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42293         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42295 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42297         [BZ #12714]
42298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42299         gethostbyname4_r when IPv6 results are possible.
42301 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42303         [BZ #12723]
42304         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42305         _PC_PIPE_BUF handling.
42307 2011-04-30  Bruno Haible  <bruno@clisp.org>
42309         [BZ #12717]
42310         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42311         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42312         to 'int'.
42313         * inet/getnameinfo.c (getnameinfo): Likewise.
42315 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42317         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42318         to groups setting in database lookup.
42319         * nss/nsswitch.conf: Add initgroups entry.
42321 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42323         [BZ #12685]
42324         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42325         mode string.
42326         Patch by Eric Blake <eblake@redhat.com>.
42328 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42330         * sunrpc/Makefile (need-export-routines): Add svc_run.
42331         (routines): Remove svc_run.
42332         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42333         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42334         * sunrpc/svc_run.c (svc_run): Likewise.
42335         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42337 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42340         problem in reallocation in last patch.
42342 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42344         * sunrpc/Makefile: Move inclusion of Rules.
42346 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42348         * nss/nss_files/files-initgroups.c: New file.
42349         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42350         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42351         _nss_files_initgroups_dyn.
42353 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42355         * elf/elf.h (R_ARM_IRELATIVE): Define.
42357 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42359         * po/ru.po: Update from translation team.
42361 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42363         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42364         dependencies.
42366 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42368         [BZ #12653]
42369         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42370         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42371         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42372         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42373         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42375 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42377         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42378         differing bytes.
42379         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42380         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42383 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42385         [BZ #12420]
42386         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42387         storing it.
42388         * stdlib/bug-getcontext.c: New file.
42389         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42391 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42393         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42394         instructions into .machine "z9-109".
42395         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42396         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42398 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42400         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42401         between environment variables and auxiliary vector.
42403 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42405         * Makefile: Add rules to build linkobj/libc.so.
42406         * include/libc-symbols.h: Define libc_hidden_nolink.
42407         * include/rpc/auth.h: Mark functions which are to be hidden.
42408         * include/rpc/auth_des.h: Likewise.
42409         * include/rpc/auth_unix.h: Likewise.
42410         * include/rpc/clnt.h: Likewise.
42411         * include/rpc/des_crypt.h: Likewise.
42412         * include/rpc/key_prot.h: Likewise.
42413         * include/rpc/pmap_clnt.h: Likewise.
42414         * include/rpc/pmap_prot.h: Likewise.
42415         * include/rpc/pmap_rmt.h: Likewise.
42416         * include/rpc/rpc_msg.h: Likewise.
42417         * include/rpc/svc.h: Likewise.
42418         * include/rpc/svc_auth.h: Likewise.
42419         * include/rpc/xdr.h: Likewise.
42420         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42421         * nss/Makefile: Likewise.
42422         * sunrpc/Makefile: Don't install headers.  Build library with normal
42423         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42424         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42425         for the compat linking library.  Remove use of INTDEF/INTUSE.
42426         * sunrpc/auth_none.c: Likewise.
42427         * sunrpc/auth_unix.c: Likewise.
42428         * sunrpc/authdes_prot.c: Likewise.
42429         * sunrpc/authuxprot.c: Likewise.
42430         * sunrpc/clnt_gen.c: Likewise.
42431         * sunrpc/clnt_perr.c: Likewise.
42432         * sunrpc/clnt_raw.c: Likewise.
42433         * sunrpc/clnt_simp.c: Likewise.
42434         * sunrpc/clnt_tcp.c: Likewise.
42435         * sunrpc/clnt_udp.c: Likewise.
42436         * sunrpc/clnt_unix.c: Likewise.
42437         * sunrpc/des_crypt.c: Likewise.
42438         * sunrpc/des_soft.c: Likewise.
42439         * sunrpc/get_myaddr.c: Likewise.
42440         * sunrpc/key_call.c: Likewise.
42441         * sunrpc/key_prot.c: Likewise.
42442         * sunrpc/netname.c: Likewise.
42443         * sunrpc/pm_getmaps.c: Likewise.
42444         * sunrpc/pm_getport.c: Likewise.
42445         * sunrpc/pmap_clnt.c: Likewise.
42446         * sunrpc/pmap_prot.c: Likewise.
42447         * sunrpc/pmap_prot2.c: Likewise.
42448         * sunrpc/pmap_rmt.c: Likewise.
42449         * sunrpc/publickey.c: Likewise.
42450         * sunrpc/rpc_cmsg.c: Likewise.
42451         * sunrpc/rpc_common.c: Likewise.
42452         * sunrpc/rpc_dtable.c: Likewise.
42453         * sunrpc/rpc_prot.c: Likewise.
42454         * sunrpc/rpc_thread.c: Likewise.
42455         * sunrpc/rtime.c: Likewise.
42456         * sunrpc/svc.c: Likewise.
42457         * sunrpc/svc_auth.c: Likewise.
42458         * sunrpc/svc_authux.c: Likewise.
42459         * sunrpc/svc_raw.c: Likewise.
42460         * sunrpc/svc_run.c: Likewise.
42461         * sunrpc/svc_simple.c: Likewise.
42462         * sunrpc/svc_tcp.c: Likewise.
42463         * sunrpc/svc_udp.c: Likewise.
42464         * sunrpc/svc_unix.c: Likewise.
42465         * sunrpc/svcauth_des.c: Likewise.
42466         * sunrpc/xcrypt.c: Likewise.
42467         * sunrpc/xdr.c: Likewise.
42468         * sunrpc/xdr_array.c: Likewise.
42469         * sunrpc/xdr_float.c: Likewise.
42470         * sunrpc/xdr_intXX_t.c: Likewise.
42471         * sunrpc/xdr_mem.c: Likewise.
42472         * sunrpc/xdr_rec.c: Likewise.
42473         * sunrpc/xdr_ref.c: Likewise.
42474         * sunrpc/xdr_sizeof.c: Likewise.
42475         * sunrpc/xdr_stdio.c: Likewise.
42477 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42479         [BZ #12650]
42480         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42481         * sysdeps/ia64/dl-tls.h: Likewise.
42482         * sysdeps/powerpc/dl-tls.h: Likewise.
42483         * sysdeps/s390/dl-tls.h: Likewise.
42484         * sysdeps/sh/dl-tls.h: Likewise.
42485         * sysdeps/sparc/dl-tls.h: Likewise.
42486         * sysdeps/x86_64/dl-tls.h: Likewise.
42487         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42489 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42491         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42492         rpath element also skip the following colon.
42493         (expand_dynamic_string_token): Add is_path parameter and pass
42494         down to DL_DST_REQUIRED and _dl_dst_substitute.
42495         (decompose_rpath): Call expand_dynamic_string_token with
42496         non-zero is_path.  Ignore empty rpaths.
42497         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42498         with zero is_path.
42500 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42503         Make cancelable.
42505 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42507         [BZ #12655]
42508         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42509         Patch by Filipe David Manana <fdmanana@apache.org>.
42511 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42514         Maintain aligned stack.
42515         (CHECK_RSP): Remove unused macro.
42517 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42519         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42520         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42522 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42524         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42526         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42528 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42530         [BZ #12518]
42531         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42532         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42533         * sysdeps/x86_64/memmove.c: New file.
42534         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42535         (memcpy): Renamed to ...
42536         (__new_memcpy): This.
42537         (memcpy): Provide GLIBC_2_14 memcpy.
42538         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42539         (memcpy): Provide GLIBC_2_2_5 memcpy.
42541 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42543         [BZ #12631]
42544         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42546 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42548         * misc/syncfs.c: New file.
42549         * misc/Makefile (routines): Add syncfs.
42550         * posix/unistd.h: Declare syncfs.
42551         * sysdeps/unix/syscalls.list: Add syncfs.
42553 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42555         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42556         open_by_handle_at.
42557         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42558         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42560         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42562         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42563         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42565 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42568         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42569         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42570         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42571         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42572         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42573         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42575         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42576         sync_file_range.c with -fexceptions.
42577         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42578         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42579         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42580         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42581         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42582         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42583         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42584         sync_file_range as cancellation point
42585         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42586         now a wrapper around __call_sync_file_range with cancellation handling.
42587         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42588         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42589         function name to __call_sync_file_range.
42590         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42591         Add call_sync_file_range.
42593 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42596         bits/timex.h.
42598 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42600         * iconv/iconv.h: Fix typo in comment.
42601         * io/fcntl.h: Likewise.
42602         * libio/stdio.h: Likewise.
42603         * posix/spawn.h: Likewise.
42604         * posix/unistd.h: Likewise.
42605         * stdlib/stdlib.h: Likewise.
42606         * time/time.h: Likewise.
42607         * wcsmbs/wchar.h: Likewise.
42609         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42610         open_by_handle): Add.
42611         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42612         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42613         Augment a few comments.
42614         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42616         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42618         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42619         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42620         open_by_handle.
42622         * io/fcntl.h (AT_EMPTY_PATH): Define.
42624 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42626         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42627         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42628         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42629         to...
42630         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42631         * Versions.def: Add GLIBC_2.14.
42632         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42633         Export.
42635 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42637         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42638         round counter.
42639         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42641 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42643         [BZ #12597]
42644         * string/test-strncmp.c (do_page_test): New function.
42645         (check2): Likewise.
42646         (test_main): Call check2.
42647         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42649 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42651         [BZ #12587]
42652         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42653         Handle cache information in CPU leaf 4.
42654         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42656 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42658         [BZ #12583]
42659         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42660         character representation.
42661         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42663 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42665         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42666         END(__isnan) to END(__isnanf) to match function entry point/label
42667         EALIGN(__isnanf,...).
42669 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42671         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42673 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42675         [BZ #12510]
42676         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42677         copy from the symbol referenced in the relocation to initialize the
42678         used variable.
42679         Patch by Piotr Bury <pbury@goahead.com>.
42680         * elf/Makefile: Add rules to build and tst-unique3.
42681         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42682         * elf/tst-unique3.cc: New file.
42683         * elf/tst-unique3.h: New file.
42684         * elf/tst-unique3lib.cc: New file.
42685         * elf/tst-unique3lib2.cc: New file.
42687         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42689 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42691         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42692         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42693         to _start.
42695 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42697         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42698         to-be-loaded object along a path to loader is ld.so.
42700 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42701             Ulrich Drepper  <drepper@gmail.com>
42703         * sysdeps/x86_64/memset.S: After aligning destination, code
42704         branches to different locations depending on the value of
42705         misalignment, when multiarch is enabled. Fix this.
42707 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42709         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42710         Set _x86_64_preferred_memory_instruction for AMD processsors.
42711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42712         Set bit_Prefer_SSE_for_memop for AMD processors.
42714 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42716         * libio/fmemopen.c (fmemopen): Optimize a bit.
42718 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42720         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42722 2011-03-03  Roland McGrath  <roland@redhat.com>
42724         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42726 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42728         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42729         __bzero_ultra1 instead of __memset_ultra1.
42731 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42732             Ulrich Drepper  <drepper@gmail.com>
42734         [BZ #12509]
42735         * include/link.h (struct link_map): Add l_orig_initfini.
42736         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42737         returning unsuccessfully.
42738         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42739         close of a file loaded at startup, restore the original l_initfini
42740         list.
42741         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42742         list, store the pointer.
42743         * elf/Makefile ($(objpfx)noload-mem): New rule.
42744         (noload-ENV): Define.
42745         (tests): Add $(objpfx)noload-mem.
42746         * elf/noload.c: Include <memcheck.h>.
42747         (main): Call mtrace.  Close all opened handles.
42749 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42751         [BZ #12454]
42752         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42753         dependencies are missing.
42755 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42757         Fix __if_freereq crash: Unlike the generic version which uses free,
42758         Hurd needs munmap.
42759         * sysdeps/mach/hurd/ifreq.h: New file.
42761 2011-01-27  Petr Baudis  <pasky@suse.cz>
42762             Ulrich Drepper  <drepper@gmail.com>
42764         [BZ 12445]#
42765         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42766         to extend_alloca().
42767         * stdio-common/bug23.c: New file.
42768         * stdio-common/Makefile (tests): Add bug23.
42770 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42771             Ulrich Drepper  <drepper@gmail.com>
42773         [BZ #12489]
42774         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42775         before performing relro protection.  At old place add assertion
42776         to make sure nothing changed.
42778 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42779             Glauber de Oliveira Costa  <glommer@gmail.com>
42781         * elf/elf.h: Add new ARM TLS relocs.
42783 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42786         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42787         cast from r3.
42788         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42789         'tests' variable.
42790         * sysdeps/wordsize-64/tst-writev.c: New file.
42792 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42794         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42795         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42796         insns in _dl_start to prevent a TOC reference before relocs are
42797         resolved.
42799 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42801         [BZ #12469]
42802         * Makeconfig: Remove RANLIB definition.
42803         * Makerules: Don't use RANLIB.
42804         * aclocal.m4: Remove ranlib test.
42805         * configure.in: No need to check for ranlib.
42806         * elf/rtld-Rules: Don't use RANLIB.
42808 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42810         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42811         protection macro.
42812         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42813         inclusion protection macro.
42815         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42816         SIGRTMIN and SIGRTMAX and print information in that case only when
42817         SIGRTMIN is defined.
42819 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42821         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42822         arginfo fn returning -1.
42824         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42825         and thousands string is zero terminated.
42827 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42829         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42830         sysdeps/unix/sysv/linux/bits/socket.h.
42832 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42834         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42835         (__CPU_COUNT): Remove old macros.
42836         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42837         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42838         (__CPU_ALLOC, __CPU_FREE): Add macros.
42839         (__sched_cpualloc, __sched_cpufree): Add declarations.
42841 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42843         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42844         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42845         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42846         (readdhstai): Return value of addhstaiX call.
42847         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42848         (addgrbyX): Return value returned by cache_addgr.
42849         (readdgrbyname): Return value returned by addgrbyX.
42850         (readdgrbygid): Likewise.
42851         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42852         (addpwbyX): Return value returned by cache_addpw.
42853         (readdpwbyname): Return value returned by addhstbyX.
42854         (readdpwbyuid): Likewise.
42855         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42856         (addservbyX): Return value returned by cache_addserv.
42857         (readdservbyname): Return value returned by addservbyX:
42858         (readdservbyport): Likewise.
42859         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42860         (addhstbyX): Return value returned by cache_addhst.
42861         (readdhstbyname): Return value returned by addhstbyX.
42862         (readdhstbyaddr): Likewise.
42863         (readdhstbynamev6): Likewise.
42864         (readdhstbyaddrv6): Likewise.
42865         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42866         (readdinitgroups): Return value returned by addinitgroupsX.
42867         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42868         (prune_cache): Keep track of timeout value of re-added entries.
42869         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42870         * nscd/nscd.h: Adjust prototypes of readd* functions.
42872 2011-02-04  Roland McGrath  <roland@redhat.com>
42874         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42875         (nis_stats): Likewise.
42876         * nis/nis_modify.c (nis_modify): Likewise.
42877         * nis/nis_remove.c (nis_remove): Likewise.
42878         * nis/nis_add.c (nis_add): Likewise.
42880         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42882         * posix/fnmatch_loop.c: Add some consts.
42884         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42886 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
42888         [BZ #12460]
42889         * config.make.in (config-cflags-novzeroupper): Define.
42890         * configure.in: Substitute libc_cv_cc_novzeroupper.
42891         * elf/Makefile (AVX-CFLAGS): Define.
42892         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42893         (CFLAGS-tst-auditmod4a.c): Likewise.
42894         (CFLAGS-tst-auditmod4b.c): Likewise.
42895         (CFLAGS-tst-auditmod6b.c): Likewise.
42896         (CFLAGS-tst-auditmod6c.c): Likewise.
42897         (CFLAGS-tst-auditmod7b.c): Likewise.
42898         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42900 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
42902         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42903         function to the callback.
42904         Patch partly by Jiri Olsa <jolsa@redhat.com>.
42906 2011-02-02  Andreas Schwab  <schwab@redhat.com>
42908         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42909         of errno.
42911 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
42913         [BZ #11724]
42914         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42915         of constructors.
42916         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42917         of destructors.
42918         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42920         [BZ #11724]
42921         * elf/Makefile: Add rules to build and run new test.
42922         * elf/tst-initorder.c: New file.
42923         * elf/tst-initorder.exp: New file.
42924         * elf/tst-initordera1.c: New file.
42925         * elf/tst-initordera2.c: New file.
42926         * elf/tst-initordera3.c: New file.
42927         * elf/tst-initordera4.c: New file.
42928         * elf/tst-initorderb1.c: New file.
42929         * elf/tst-initorderb2.c: New file.
42930         * elf/tst-order-a1.c: New file.
42931         * elf/tst-order-a2.c: New file.
42932         * elf/tst-order-a3.c: New file.
42933         * elf/tst-order-a4.c: New file.
42934         * elf/tst-order-b1.c: New file.
42935         * elf/tst-order-b2.c: New file.
42936         * elf/tst-order-main.c: New file.
42937         New test case by George Gensure <werkt0@gmail.com>.
42939 2010-10-01  Andreas Schwab  <schwab@redhat.com>
42941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42942         decoding ACE if AI_CANONIDN.
42944 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
42946         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42948 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
42950         * version.h (RELEASE): Bump for 2.13 release.
42951         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42953         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42956         MADV_NOHUGEPAGE.
42957         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42958         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42959         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42960         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42961         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42964         * posix/getconf.c: Update copyright year.
42965         * catgets/gencat.c: Likewise.
42966         * csu/version.c: Likewise.
42967         * debug/catchsegv.sh: Likewise.
42968         * debug/xtrace.sh: Likewise.
42969         * elf/ldconfig.c: Likewise.
42970         * elf/ldd.bash.in: Likewise.
42971         * elf/sprof.c (print_version): Likewise.
42972         * iconv/iconv_prog.c: Likewise.
42973         * iconv/iconvconfig.c: Likewise.
42974         * locale/programs/locale.c: Likewise.
42975         * locale/programs/localedef.c: Likewise.
42976         * malloc/memusage.sh: Likewise.
42977         * malloc/mtrace.pl: Likewise.
42978         * nscd/nscd.c (print_version): Likewise.
42979         * nss/getent.c: Likewise.
42981         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42982         PF_CAIF, and PF_ALG.
42983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42985 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
42987         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42988         (modules-names): Use them.
42989         (ifunc-test-modules, ifunc-pie-tests): Define.
42990         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42991         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42992         (test-extras): Likewise.
42993         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42994         $(compile-command.c).
42995         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42996         (all-built-dso): Define.
42997         (check-textrel.out, check-execstack.out): Depend on it.
42999         * configure.in: Don't override --enable-multi-arch.
43001 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43003         [BZ #6812]
43004         * nscd/hstcache.c (tryagain): Define.
43005         (cache_addhst): Return tryagain not notfound for temporary errors.
43006         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43007         failed.
43009 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43011         [BZ #10563]
43012         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43013         to make the syscall.
43014         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43016         [BZ #12378]
43017         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43018         and fall back to matching as normal character if the string ends before
43019         the matching ']' is found.  This is what POSIX requires.
43020         * posix/testfnm.c: Adjust test result.
43021         * posix/globtest.sh: Adjust test result.  Add new test.
43022         * posix/tst-fnmatch.input: Likewise.
43023         * posix/tst-fnmatch2.c: Add new test.
43025 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43027         * elf/Makefile (check-execstack): Revert last change.  Depend on
43028         check-execstack.h.
43029         (check-execstack.h): New target.
43030         (generated): Add check-execstack.h.
43031         * elf/check-execstack.c: Include "check-execstack.h".
43032         (main): Revert last change.
43033         (handle_file): Return zero if GNU_STACK is absent and
43034         DEFAULT_STACK_PERMS doesn't include PF_X.
43036 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43038         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43039         in child fails because the descriptor is already closed.
43040         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43041         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43042         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43044         [BZ #12397]
43045         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43046         syscall.
43048         [BZ #10484]
43049         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43050         temporary buffer used to handle multi lookups locally.
43051         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43053 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43055         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43056         loader is ld.so.
43058 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43060         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43061         alignment for SSE2.
43063 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43065         [BZ #12394]
43066         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43067         characters.  When rounding increased number of integer digits recompute
43068         number of groups.
43069         * stdio-common/tst-grouping.c: New file.
43070         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43072 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43074         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43075         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43077         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43078         void.
43079         * bits/select.h: Likewise.
43081 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43083         * po/ja.po: Update from translation team.
43085 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43087         [BZ #11155]
43088         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43089         implementation just like for lxstat, fxstatat, et al.
43091 2010-12-27  Jim Meyering  <meyering@redhat.com>
43093         [BZ #12348]
43094         * posix/regexec.c (build_trtable): Return failure indication upon
43095         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43097 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43099         [BZ #12201]
43100         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43101         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43102         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43103         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43105         [BZ #12207]
43106         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43108         [BZ #12204]
43109         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43110         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43112 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43114         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43115         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43116         script has SORT_BY_INIT_PRIORITY.
43117         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43118         NO_CTORS_DTORS_SECTIONS is defined.
43119         * elf/soinit.c: Likewise.
43120         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43121         NO_CTORS_DTORS_SECTIONS is defined.
43122         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43123         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43124         * sysdeps/sh/init-first.c: Likewise.
43125         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43127 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43129         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43130         always use the slow path.
43132 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43134         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43135         similar rule which adds the sysdep directories to the header search in
43136         order to pick up the correct platform stackinfo.h.
43137         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43138         perform test if it is, otherwise return successfully without testing.
43139         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43140         DEFAULT_STACK_PERMS define in stackinfo.h.
43141         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43142         defined in stackinfo.h.
43143         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43144         DEFAULT_STACK_PERMS defined in stackinfo.h.
43145         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43146         * sysdeps/ia64/stackinfo.h: Likewise.
43147         * sysdeps/s390/stackinfo.h: Likewise.
43148         * sysdeps/sh/stackinfo.h: Likewise.
43149         * sysdeps/sparc/stackinfo.h: Likewise.
43150         * sysdeps/x86_64/stackinfo.h: Likewise.
43151         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43152         PF_X for powerpc64.  Retain PF_X for powerpc32.
43154 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43156         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43157         accurately.
43158         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43159         GETDENTS_64BIT_ALIGNED.
43161 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43163         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43165 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43167         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43168         _GNU_SOURCE.
43170         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43171         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43172         Remove __restrict.
43173         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43174         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43176 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43178         [BZ #11655]
43179         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43180         are initialized.
43182 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43184         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43186 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43188         * po/it.po: Update from translation team.
43190 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43192         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43193         unused codes.
43195 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43197         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43199 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43201         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43202         specially.
43203         (gaih_getanswer_slice): Likewise.
43205 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43209 2010-05-31  Petr Baudis  <pasky@suse.cz>
43211         [BZ #11149]
43212         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43213         silently even in the chroot mode.
43215 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43217         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43218         last patch a bit.  Pretty printing
43220 2010-05-31  Petr Baudis <pasky@suse.cz>
43222         [BZ #10085]
43223         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43224         initialization of skip_initgroups_dyn.
43226 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43228         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43229         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43231 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43233         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43235 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43237         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43238         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43239         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43240         ($(objpfx)tst-fnmatch-mem): New rule.
43241         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43242         * posix/tst-fnmatch.c (main): Call mtrace.
43244 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43247         Support Intel processor model 6 and model 0x2c.
43249 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43251         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43252           signed comparison.
43254 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43256         [BZ #12205]
43257         * string/test-strncasecmp.c (check_result): New function.
43258         (do_one_test): Use it.
43259         (check1): New function.
43260         (test_main): Use it.
43261         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43262         Support strcasecmp and strncasecmp.
43264 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43266         [BZ #12194]
43267         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43268         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43270 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43272         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43273         IFUNC support.
43274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43275         memset-x86-64.
43276         * sysdeps/x86_64/multiarch/bzero.S: New file.
43277         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43278         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43279         * sysdeps/x86_64/multiarch/memset.S: New file.
43280         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43282         Set bit_Prefer_SSE_for_memop for Intel processors.
43283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43284         Define.
43285         (index_Prefer_SSE_for_memop): Define.
43286         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43288 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43290         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43291         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43293 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43295         [BZ #12191]
43296         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43297         (__x86_64_raw_data_cache_size_half): Likewise.
43298         (__x86_64_raw_shared_cache_size): Likewise.
43299         (__x86_64_raw_shared_cache_size_half): Likewise.
43301         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43302         (__x86_64_raw_data_cache_size_half): Likewise.
43303         (__x86_64_raw_shared_cache_size): Likewise.
43304         (__x86_64_raw_shared_cache_size_half): Likewise.
43305         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43306         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43307         and __x86_64_raw_shared_cache_size_half.  Round
43308         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43309         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43310         to multiple of 256 bytes.
43312 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43314         [BZ #12167]
43315         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43316         of inacessible symlinks.  Verify result of symlink before returning it.
43317         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43318         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43320 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43322         * math/math.h (isinf): Fix typo in comment.
43324 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43326         * po/da.po: Update from translation team.
43328 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43330         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43331         is added to the list.
43333 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43334             Ulrich Drepper  <drepper@gmail.com>
43336         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43337         the global list here.  Move code to...
43338         (_dl_add_to_namespace_list): ...here.  New function.
43339         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43340         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43341         * elf/dl-load.c (lose): Don't remove the element from the list.
43342         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43343         (_dl_map_object): Likewise.
43345 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43347         [BZ #12159]
43348         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43349         into all bytes of SSE register.
43350         Patch by Richard Li <richardpku@gmail.com>.
43352 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43354         [BZ #12140]
43355         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43356         perturbing.
43358 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43360         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43361         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43362         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43363         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43365         submachine.
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43368 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43370         * include/dlfcn.h (__RTLD_SECURE): Define.
43371         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43372         mode & __RTLD_SECURE instead.
43373         (open_path): Rename preloaded parameter to secure.
43374         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43375         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43376         * elf/dl-deps.c (openaux): Likewise.
43377         * elf/rtld.c (struct map_args): Remove is_preloaded.
43378         (map_doit): Don't use it.
43379         (dl_main): Likewise.
43380         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43381         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43383 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43385         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43386         (sysd-rules-targets): Remove duplicates.
43387         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43388         rtld-%.$o dependency.
43390 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43392         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43393         _dl_map_object do it.
43395 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43397         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43398         fast fma builtins, define the macros in the C99 standard.
43399         (FP_FAST_FMAF): Likewise.
43400         (FP_FAST_FMAL): Likewise.
43401         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43403         * bits/mathdef.h: Update copyright year.
43404         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43406 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43408         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43409         builtins, define the macros in the C99 standard.
43410         (FP_FAST_FMAF): Likewise.
43411         (FP_FAST_FMAL): Likewise.
43412         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43413         multiply/add.
43414         (FP_FAST_FMAF): Likewise.
43416 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43418         [BZ #3268]
43419         * math/libm-test.inc (fma_test): Some new testcases.
43420         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43422         y and infinite z.  Do multiplication by C already in long double.
43423         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43425         y and infinite z.  Do bitwise or of inexact bit into u.d.
43426         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43427         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43428         * sysdeps/i386/fpu/s_fma.S: Removed.
43429         * sysdeps/i386/fpu/s_fmal.S: Removed.
43431 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43433         [BZ #3268]
43434         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43436         computation is not scheduled after fetestexcept.  Fix value
43437         of minimum denormal long double.
43439 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43441         [BZ #3268]
43442         * math/libm-test.inc (fma_test): Add some more tests.
43443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43444         correctly.
43446 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43448         * scripts/data/localplt-s390-linux-gnu.data: New file.
43449         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43451 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43453         [BZ #3268]
43454         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43455         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43456         instead of dbl-64.
43457         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43458         inlines.
43459         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43461         if one of x and y is very large and the other is subnormal.
43462         * sysdeps/s390/fpu/s_fmaf.c: New file.
43463         * sysdeps/s390/fpu/s_fma.c: New file.
43464         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43465         * sysdeps/powerpc/fpu/s_fma.S: New file.
43466         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43467         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43468         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43470 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43472         [BZ #3268]
43473         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43474         fma tests.
43475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43476         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43477         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43478         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43479         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43480         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43481         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43483 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43485         [BZ #12078]
43486         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43487         * posix/bug-regex31.input: Add test case.
43489 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43491         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43492         * posix/bug-regex31.input: New file.
43494         [BZ #12078]
43495         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43496         (parse_sub_exp): Fix last change, use postorder.
43498         * posix/bug-regex31.c: New file.
43499         * posix/Makefile: Add rules to build and run bug-regex31.
43501         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43503         [BZ #12078]
43504         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43506         [BZ #12108]
43507         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43508         to have entries in sys_siglist.
43510         [BZ #12093]
43511         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43512         be NULL.
43514 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43516         [BZ #3268]
43517         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43518         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43519         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43520         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43521         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43522         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43523         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43524         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43525         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43526         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43527         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43528         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43529         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43530         * math/ftestexcept.c (fetestexcept): Likewise.
43531         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43532         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43533         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43534         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43535         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43536         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43537         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43539 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43541         [BZ #12107]
43542         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43543         newline.
43545 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43547         * string/bug-strstr1.c: New file.
43548         * string/Makefile: Add rules to build and run bug-strstr1.
43550 2010-10-05  Eric Blake  <eblake@redhat.com>
43552         [BZ #12092]
43553         * string/str-two-way.h (two_way_long_needle): Always clear memory
43554         when skipping input due to the shift table.
43556 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43558         [BZ #12005]
43559         * malloc/mcheck.c: Handle large requests.
43561         [BZ #12077]
43562         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43563         for strncmp and strncasecmp.
43564         * string/stratcliff.c: Add tests for strcmp and strncmp.
43565         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43567 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43569         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43570         __set_fpscr.
43572 2010-09-30  Andreas Jaeger  <aj@suse.de>
43574         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43575         (CGROUP_SUPER_MAGIC): Define.
43576         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43577         Handle btrfs and cgroup file systems.
43578         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43579         Likewise.
43581 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43583         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43584         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43586 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43588         [BZ #12067]
43589         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43590         trying to locate the ELF header.
43592 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43594         [BZ #11611]
43595         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43596         Mask out sign-bit copies when constructing f_fsid.
43598 2010-09-24  Petr Baudis <pasky@suse.cz>
43600         * debug/stack_chk_fail_local.c: Add missing licence exception.
43601         * debug/warning-nop.c: Likewise.
43603 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43605         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43606         implementing getdents64 using getdents syscall, set d_type if
43607         __ASSUME_GETDENTS32_D_TYPE.
43609 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43611         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43612         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43614 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43616         [BZ #12037]
43617         * posix/unistd.h: Undo change of feature selection for ftruncate from
43618         2010-01-11.
43620 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43622         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43623         detection.
43625 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43627         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43628         fanotify_mark.
43629         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43631 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43633         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43634         variables after CHECK_SP call.
43635         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43637 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43638             Ulrich Drepper  <drepper@redhat.com>
43640         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43641         re-relocationg ld.so.
43642         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43643         _dl_init_paths call.
43644         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43645         here anymore.
43647 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43649         * resolv/res_init.c (__res_vinit): Count the default server we added.
43651 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43652             Ulrich Drepper  <drepper@redhat.com>
43654         [BZ #11968]
43655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43656         (____longjmp_chk): Use %ebx for saving value across system call.
43657         Add unwind info.
43659 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43661         * manual/Makefile: Don't mix pattern rules with normal rules.
43663 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43665         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43666         operation.
43667         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43668         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43669         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43670         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43672         Likewise.
43674 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43676         [BZ #11979]
43677         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43678         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43680 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43682         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43683         * sysdeps/x86_64/addmul_1.S: Likewise.
43684         * sysdeps/x86_64/lshift.S: Likewise.
43685         * sysdeps/x86_64/mul_1.S: Likewise.
43686         * sysdeps/x86_64/rshift.S: Likewise.
43687         * sysdeps/x86_64/sub_n.S: Likewise.
43688         * sysdeps/x86_64/submul_1.S: Likewise.
43690 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43692         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43693         Define __sched_param instead of SCHED_* and sched_param when
43694         <bits/sched.h> is included with __need_schedparam defined.
43695         * bits/sched.h [__need_schedparam]
43696         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43697         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43698         (__defined_schedparam): Define to 1.
43699         (__sched_param): New structure, identical to sched_param.
43700         (__need_schedparam): Undefine.
43702 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43704         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43705         (epoll_create1): Declare.
43707         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43709 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43711         [BZ #7066]
43712         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43713         shifting retval into place.
43715 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43717         * nis/rpcsvc/nis.h: Update copyright notice.
43718         * nis/rpcsvc/nis.x: Likewise.
43719         * nis/rpcsvc/nis_callback.h: Likewise.
43720         * nis/rpcsvc/nis_callback.x: Likewise.
43721         * nis/rpcsvc/nis_object.x: Likewise.
43722         * nis/rpcsvc/nis_tags.h: Likewise.
43723         * nis/rpcsvc/yp.h: Likewise.
43724         * nis/rpcsvc/yp.x: Likewise.
43725         * nis/rpcsvc/ypupd.h: Likewise.
43726         * nis/yp_xdr.c: Likewise.
43727         * nis/ypupdate_xdr.c: Likewise.
43729         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43730         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43731         (pmap_getport): Use __libc_rpc_getport.
43732         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43733         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43734         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43736 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43739         fanotify_mark.
43741 2010-08-27  Roland McGrath  <roland@redhat.com>
43743         * sysdeps/i386/i686/multiarch/Makefile
43744         (CFLAGS-varshift.c): New variable.
43746 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43748         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43749         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43753         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43755 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43757         * sysdeps/x86_64/strlen.S: Unroll the loop.
43758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43759         strlen-sse2 strlen-sse2-bsf.
43760         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43761         __strlen_no_bsf if bit_Slow_BSF is set.
43762         (__strlen_sse42): Removed.
43763         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43764         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43766 2010-08-25  Roland McGrath  <roland@redhat.com>
43768         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43769         * sysdeps/x86_64/multiarch/varshift.c: New file.
43770         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43771         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43772         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43773         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43775 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43778         strlen-sse2 strlen-sse2-bsf.
43779         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43780         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43781         (__strlen_sse2): Removed.
43782         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43783         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43785         bit_Slow_BSF for Atom.
43786         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43787         (index_Slow_BSF): Define.
43788         (HAS_SLOW_BSF): Define.
43790 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43792         [BZ #10851]
43793         * resolv/res_init.c (__res_vinit): When no server address at all
43794         is given default to loopback.
43796 2010-08-24  Roland McGrath  <roland@redhat.com>
43798         * configure.in: Remove config-name.h generation.
43799         * configure: Regenerated.
43800         * config-name.in: File removed.
43801         * scripts/config-uname.sh: New file.
43802         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43803         ($(objdir)config-name.h): New target.
43805         * sunrpc/rpc_parse.h: Avoid nested comment.
43807 2010-08-24  Richard Henderson  <rth@redhat.com>
43808             Ulrich Drepper  <drepper@redhat.com>
43809             H.J. Lu  <hongjiu.lu@intel.com>
43811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43813         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43814         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43815         _mm_alignr_epi8 with _mm_loadu_si128.
43816         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43817         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43818         (__m128i_shift_right): Removed.
43819         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43820         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43821         * sysdeps/x86_64/multiarch/varshift.h: New file.
43822         * sysdeps/x86_64/multiarch/varshift.S: New file.
43824 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43826         * configure.in: Move assembler checks to before sysdep dir checking.
43828 2010-08-20  Petr Baudis  <pasky@suse.cz>
43830         * LICENSES: Sync the sunrpc license.
43832 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43834         * sunrpc/auth_des.c: Update copyright notice once again.
43835         * sunrpc/auth_none.c: Likewise.
43836         * sunrpc/auth_unix.c: Likewise.
43837         * sunrpc/authdes_prot.c: Likewise.
43838         * sunrpc/authuxprot.c: Likewise.
43839         * sunrpc/bindrsvprt.c: Likewise.
43840         * sunrpc/clnt_gen.c: Likewise.
43841         * sunrpc/clnt_perr.c: Likewise.
43842         * sunrpc/clnt_raw.c: Likewise.
43843         * sunrpc/clnt_simp.c: Likewise.
43844         * sunrpc/clnt_tcp.c: Likewise.
43845         * sunrpc/clnt_udp.c: Likewise.
43846         * sunrpc/clnt_unix.c: Likewise.
43847         * sunrpc/des_crypt.c: Likewise.
43848         * sunrpc/des_soft.c: Likewise.
43849         * sunrpc/get_myaddr.c: Likewise.
43850         * sunrpc/getrpcport.c: Likewise.
43851         * sunrpc/key_call.c: Likewise.
43852         * sunrpc/key_prot.c: Likewise.
43853         * sunrpc/openchild.c: Likewise.
43854         * sunrpc/pm_getmaps.c: Likewise.
43855         * sunrpc/pm_getport.c: Likewise.
43856         * sunrpc/pmap_clnt.c: Likewise.
43857         * sunrpc/pmap_prot.c: Likewise.
43858         * sunrpc/pmap_prot2.c: Likewise.
43859         * sunrpc/pmap_rmt.c: Likewise.
43860         * sunrpc/rpc/auth.h: Likewise.
43861         * sunrpc/rpc/auth_unix.h: Likewise.
43862         * sunrpc/rpc/clnt.h: Likewise.
43863         * sunrpc/rpc/des_crypt.h: Likewise.
43864         * sunrpc/rpc/key_prot.h: Likewise.
43865         * sunrpc/rpc/netdb.h: Likewise.
43866         * sunrpc/rpc/pmap_clnt.h: Likewise.
43867         * sunrpc/rpc/pmap_prot.h: Likewise.
43868         * sunrpc/rpc/pmap_rmt.h: Likewise.
43869         * sunrpc/rpc/rpc.h: Likewise.
43870         * sunrpc/rpc/rpc_des.h: Likewise.
43871         * sunrpc/rpc/rpc_msg.h: Likewise.
43872         * sunrpc/rpc/svc.h: Likewise.
43873         * sunrpc/rpc/svc_auth.h: Likewise.
43874         * sunrpc/rpc/types.h: Likewise.
43875         * sunrpc/rpc/xdr.h: Likewise.
43876         * sunrpc/rpc_clntout.c: Likewise.
43877         * sunrpc/rpc_cmsg.c: Likewise.
43878         * sunrpc/rpc_common.c: Likewise.
43879         * sunrpc/rpc_cout.c: Likewise.
43880         * sunrpc/rpc_dtable.c: Likewise.
43881         * sunrpc/rpc_hout.c: Likewise.
43882         * sunrpc/rpc_main.c: Likewise.
43883         * sunrpc/rpc_parse.c: Likewise.
43884         * sunrpc/rpc_parse.h: Likewise.
43885         * sunrpc/rpc_prot.c: Likewise.
43886         * sunrpc/rpc_sample.c: Likewise.
43887         * sunrpc/rpc_scan.c: Likewise.
43888         * sunrpc/rpc_scan.h: Likewise.
43889         * sunrpc/rpc_svcout.c: Likewise.
43890         * sunrpc/rpc_tblout.c: Likewise.
43891         * sunrpc/rpc_util.c: Likewise.
43892         * sunrpc/rpc_util.h: Likewise.
43893         * sunrpc/rpcinfo.c: Likewise.
43894         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43895         * sunrpc/rpcsvc/key_prot.x: Likewise.
43896         * sunrpc/rpcsvc/klm_prot.x: Likewise.
43897         * sunrpc/rpcsvc/mount.x: Likewise.
43898         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43899         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43900         * sunrpc/rpcsvc/rex.x: Likewise.
43901         * sunrpc/rpcsvc/rstat.x: Likewise.
43902         * sunrpc/rpcsvc/rusers.x: Likewise.
43903         * sunrpc/rpcsvc/sm_inter.x: Likewise.
43904         * sunrpc/rpcsvc/spray.x: Likewise.
43905         * sunrpc/rpcsvc/yppasswd.x: Likewise.
43906         * sunrpc/rtime.c: Likewise.
43907         * sunrpc/svc.c: Likewise.
43908         * sunrpc/svc_auth.c: Likewise.
43909         * sunrpc/svc_authux.c: Likewise.
43910         * sunrpc/svc_raw.c: Likewise.
43911         * sunrpc/svc_run.c: Likewise.
43912         * sunrpc/svc_simple.c: Likewise.
43913         * sunrpc/svc_tcp.c: Likewise.
43914         * sunrpc/svc_udp.c: Likewise.
43915         * sunrpc/svc_unix.c: Likewise.
43916         * sunrpc/svcauth_des.c: Likewise.
43917         * sunrpc/xcrypt.c: Likewise.
43918         * sunrpc/xdr.c: Likewise.
43919         * sunrpc/xdr_array.c: Likewise.
43920         * sunrpc/xdr_float.c: Likewise.
43921         * sunrpc/xdr_mem.c: Likewise.
43922         * sunrpc/xdr_rec.c: Likewise.
43923         * sunrpc/xdr_ref.c: Likewise.
43924         * sunrpc/xdr_sizeof.c: Likewise.
43925         * sunrpc/xdr_stdio.c: Likewise.
43927         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43928         handling.
43930 2010-08-19  Andreas Schwab  <schwab@redhat.com>
43932         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43934 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
43936         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43937         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43938         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43939         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43940         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43941         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43942         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43943         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43944         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43945         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43946         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43947         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43948         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43949         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43951 2010-07-26  Anton Blanchard  <anton@samba.org>
43953         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43954         * malloc/arena.c (heap_trim): Likewise.
43956 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
43958         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43959         here.  Not...
43960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43961         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43963 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43965         * sysdeps/i386/elf/Makefile: New file.
43967 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43969         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43970         from fanotify_init.
43971         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43974 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
43976         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43977         of strncasecmp_l.
43978         * sysdeps/multiarch/strcmp.S: Likewise.
43980 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
43982         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43983         strncase_l-nonascii.
43984         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43985         Add strncase_l-ssse3.
43986         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43987         * sysdeps/x86_64/strcmp.S: Likewise.
43988         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43989         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43990         * sysdeps/x86_64/strncase.S: New file.
43991         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43992         * sysdeps/x86_64/strncase_l.S: New file.
43993         * string/Makefile (strop-tests): Add strncasecmp.
43994         * string/test-strncasecmp.c: New file.
43996         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43997         warning.
43999         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44000         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44002 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44004         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44006 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44008         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44009         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44010         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44012 2010-05-01  Alan Modra  <amodra@gmail.com>
44014         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44015         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44016         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44017         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44018         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44019         tidying.  Don't tail-call __sigjmp_save for static lib.
44020         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44021         save location.
44022         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44023         (CALL_MCOUNT): Add eh info, and nop after bl.
44024         (TAIL_CALL_SYSCALL_ERROR): New macro.
44025         (PSEUDO_RET): Use it.
44026         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44027         Correct save location of integer regs and cr.
44028         (_dl_profile_resolve): Correct cr save location.  Delete nops
44029         after bl when SHARED.  Reduce cfi size a little by better
44030         placement of cfi directives.
44031         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44032         make a stack frame.  Instead use parm save area as a temp.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44034         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44036         Don't make a stack frame for parent, use parm save area.
44037         Increase child stack frame to 112 bytes.  Don't save unused reg,
44038         and adjust reg usage.  Set up cfi on error recovery and
44039         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44041         (__makecontext): Add dummy nop after jump to exit.
44042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44043         Use correct parm save area and cr save, reduce stack frame.
44044         Correct cfi for possible PSEUDO_RET frame setup.
44045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44046         Branch to local label emitted by PSEUDO_RET rather than
44047         __syscall_error.
44049 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44051         [BZ #11904]
44052         * locale/programs/locale.c (print_assignment): New function.
44053         (show_locale_vars): Use it.
44055 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44057         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44058         field.
44059         (struct statfs64): Likewise.
44060         (_STATFS_F_FLAGS): Define.
44061         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44063         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44064         (ST_VALID): Define locally.
44065         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44066         __statvfs_getflags, use the provided value.
44067         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44068         __ASSUME_STATFS_F_FLAGS.
44070         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44072         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44073         Add sys/fanotify.h.
44074         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44075         fanotify_mask for GLIBC_2.13.
44076         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44077         fanotify_init and fanotify_mark.
44078         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44079         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44081         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44082         Add prlimit.
44083         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44084         prlimit64 for GLIBC_2.13.
44085         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44086         prlimit64.
44087         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44088         syscall.
44089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44090         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44091         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44092         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44094         add prlimit alias.
44095         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44097         [BZ #11903]
44098         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44099         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44101         * nss/Makefile: Add rules to build and run tst-nss-test1.
44102         * shlib-versions: Add entry for libnss_test1.
44103         * nss/nss_test1.c: New file.
44104         * nss/tst-nss-test1.c: New file.
44106         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44107         (__nss_configure_lookup): Set appropriate entry in
44108         __nss_configure_lookup to true.
44109         * nss/nsswitch.h: Define enum with indeces of databases in
44110         databases and __nss_database_custom arrays.  Declare
44111         __nss_database_custom.
44112         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44113         to avoid using nscd when custom rules are installed.
44114         * nss/getXXbyYY_r.c: Likewise.
44115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44117         * nss/nss_files/files-parse.c: Whitespace fixes.
44119 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44121         [BZ #11883]
44122         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44123         * posix/fnmatch_loop.c: Likewise.
44125 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44127         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44128         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44129         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44130         * Versions.def [GLIBC_2.13]: Add.
44132 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44134         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44135         Also fail if tpwd after pwuid call is NULL.
44137 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44139         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44140         when converting to ms.
44142 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44144         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44145         EOPNOTSUPP errors with ENOTTY.
44146         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44147         EOPNOTSUPP errors with ENOTTY.
44149 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44151         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44152         Add strcasecmp_l-ssse3.
44153         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44154         strcasecmp.
44155         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44156         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44157         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44159 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44161         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44163         * string/Makefile (strop-tests): Add strcasecmp.
44164         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44165         strcasecmp_l-nonascii.
44166         (gen-as-const-headers): Add locale-defines.sym.
44167         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44168         * sysdeps/x86_64/strcasecmp.S: New file.
44169         * sysdeps/x86_64/strcasecmp_l.S: New file.
44170         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44171         * sysdeps/x86_64/locale-defines.sym: New file.
44172         * string/test-strcasecmp.c: New file.
44174         * string/test-strcasestr.c: Test both ends of the range of characters.
44175         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44177 2010-07-29  Roland McGrath  <roland@redhat.com>
44179         [BZ #11856]
44180         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44182 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44184         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44185         for ld.so.
44187 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44189         * manual/memory.texi (Malloc Tunable Parameters): Document
44190         M_PERTURB.
44192 2010-07-26  Roland McGrath  <roland@redhat.com>
44194         [BZ #11840]
44195         * configure.in (-fgnu89-inline check): Set and substitute
44196         gnu89_inline, not libc_cv_gnu89_inline.
44197         * configure: Regenerated.
44198         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44200 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44202         * string/test-strnlen.c: New file.
44203         * string/Makefile (strop-tests): Add strnlen.
44204         * string/tester.c (test_strnlen): Add a few more test cases.
44205         * string/tst-strlen.c: Better error reporting.
44207         * sysdeps/x86_64/strnlen.S: New file.
44209 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44211         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44212         lower-latency instructions.
44214 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44216         * string/test-strcasestr.c: New file.
44217         * string/test-strstr.c: New file.
44218         * string/Makefile (strop-tests): Add strstr and strcasestr.
44219         * string/str-two-way.h: Don't undefine MAX.
44220         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44222 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44225         strcasestr-nonascii.
44226         (CFLAGS-strcasestr-nonascii.c): Define.
44227         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44228         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44229         Remove unused attribute.
44231 2010-07-20  Roland McGrath  <roland@redhat.com>
44233         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44234         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44235         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44236         like LD_HWCAP_MASK can disable hwcaps.
44238 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44240         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44242 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44244         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44245         call in strcasestr.
44246         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44247         __strcasestr_sse42_nonascii.
44248         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44249         strcasestr-nonascii.c.
44250         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44252 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44254         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44255         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44257         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44259 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44261         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44262         fcntl.
44264 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44266         [BZ #11577]
44267         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44268         dl_signal_cerror.
44270 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44272         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44273         _PC_PIPE_BUF using F_GETPIPE_SZ.
44275 2010-07-05  Roland McGrath  <roland@redhat.com>
44277         * manual/arith.texi (Rounding Functions): Fix rint description
44278         implicit in round description.
44280 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44282         * elf/Makefile: Fix linking for a few tests to make recent linker
44283         happy.
44285 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44287         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44288         $(common-objpfx)libc_nonshared.a.
44290 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44292         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44293         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44294         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44295         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44296         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44297         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44298         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44299         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44314         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44315         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44316         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44317         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44318         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44319         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44320         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44321         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44322         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44323         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44324         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44325         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44341 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44343         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44344         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44345         * string/memmove.c (memmove): Renamed to ...
44346         (MEMMOVE): ...this.  Default to memmove.
44347         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44348         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44349         (END_CHK): Define.
44350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44351         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44352         mempcpy-ssse3-back memmove-ssse3-back.
44353         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44354         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44355         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44356         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44357         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44358         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44359         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44360         * sysdeps/x86_64/multiarch/memmove.c: New file.
44361         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44362         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44363         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44364         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44365         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44366         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44367         Define.
44368         (index_Fast_Copy_Backward): Define.
44369         (HAS_ARCH_FEATURE): Define.
44370         (HAS_FAST_REP_STRING): Define.
44371         (HAS_FAST_COPY_BACKWARD): Define.
44373 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44375         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44376         Restore proper fallback handling.
44378 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44380         [BZ #11701]
44381         * posix/group_member.c (__group_member): Correct checking loop.
44383         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44384         OOM in getpwuid_r correctly.  Return error number when the caller
44385         should return, otherwise -1.
44386         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44387         call returning > 0 value.
44388         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44390 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44392         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44393         libc_nonshared.a from targets in modules-names.
44395 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44397         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44398         requires it.
44400 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44402         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44403         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44404         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44407 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44409         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44411 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44413         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44414         and F_GETPIPE_SZ.
44415         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44419         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44420         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44422 2010-06-14  Roland McGrath  <roland@redhat.com>
44424         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44426 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44428         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44429         __REDIRECT followed by __THROW.
44430         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44431         * posix/getopt.h (getopt): Likewise.
44433 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44435         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44436         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44437         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44438         in AT_FLAGS.
44439         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44440         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44442 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44444         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44446 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44448         [BZ #11640]
44449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44450         Properly check family and model.
44452 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44454         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44456 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44458         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44460 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44462         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44463         symbol reference.
44465 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44467         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44468         symbol reference.
44470 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44472         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44473         and internal_recvmmsg.
44474         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44475         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44476         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44477         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44479         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44480         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44481         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44483 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44485         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44487 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44489         POWER7 optimizations.
44490         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44491         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44493 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44495         * version.h: Update for 2.13 development version.
44497 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44499         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44500         exceptions.  Return 0.
44502 2010-05-07  Roland McGrath  <roland@redhat.com>
44504         * elf/ldconfig.c (main): Add a const.
44506 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44508         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44509         (args_options): Add no-idn option.
44510         (ahosts_keys_int): Add idn_flags to ai_flags.
44511         (parse_option): Handle 'i' option to clear idn_flags.
44513         * malloc/malloc.c (_int_free): Possible race in the most recently
44514         added check.  Only act on the data if no current modification
44515         happened.
44517 See ChangeLog.17 for earlier changes.